/* ========================================
   Be-Dev - Styles principaux
   ======================================== */

:root {
    --primary: #0055a5;
    --primary-dark: #003d7a;
    --primary-light: #e8f4fd;
    --accent: #ff6b35;
    --accent-light: #fff4f0;
    --dark: #1a1a2e;
    --gray: #6b7280;
    --light-gray: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background: var(--light-gray);
    overflow-x: hidden;
}

/* ========================================
   Navigation
   ======================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

nav.scrolled {
    padding: 0.75rem 2rem;
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-logo img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 2rem 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 50%, var(--accent-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 85, 165, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
    filter: drop-shadow(0 10px 30px rgba(0, 85, 165, 0.3));
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.badge {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.badge:hover {
    transform: translateY(-3px) scale(1.05);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.8s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 85, 165, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 85, 165, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ========================================
   Sections communes
   ======================================== */
section {
    padding: 100px 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--light-gray);
    padding: 80px 2rem;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.about-intro .lead {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--gray);
}

.about-intro .lead strong {
    color: var(--primary);
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.highlight-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid var(--primary);
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.highlight-item p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.about-countries {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1rem;
}

.about-countries img {
    width: 40px;
    height: auto;
    object-fit: contain;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: default;
}

.about-countries img:hover {
    transform: scale(1.2);
}

/* ========================================
   WhatsApp Section
   ======================================== */
.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 80px 2rem;
}

.whatsapp .section-header h2,
.whatsapp .section-header p {
    color: white;
}

.whatsapp-content {
    max-width: 700px;
    margin: 0 auto;
}

.whatsapp-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.whatsapp-intro p {
    margin-bottom: 1rem;
}

.whatsapp-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Accordion Styles */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.accordion {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion:hover {
    background: rgba(255, 255, 255, 0.15);
}

.accordion-header {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: inherit;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.accordion.active .accordion-content {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.accordion-intro {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

.accordion-note {
    margin-top: 1rem;
    font-style: italic;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Pricing Mini */
.pricing-mini {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.price-item {
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.price-item.featured {
    border: 2px solid #25D366;
    background: white;
}

.price-icon {
    font-size: 1.5rem;
}

.price-item strong {
    color: var(--dark);
    display: block;
}

.price-item small {
    color: var(--gray);
    font-size: 0.85rem;
}

.popular-tag {
    position: absolute;
    right: 1rem;
    background: #25D366;
    color: white;
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Rules List */
.rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.rules-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.9rem;
}

.rules-list li span {
    background: white;
    color: #128C7E;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* WhatsApp CTA */
.whatsapp-cta {
    text-align: center;
}

.btn-whatsapp {
    background: white;
    color: #128C7E;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: var(--accent);
    color: white;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    background: var(--white);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ========================================
   Meeting Section
   ======================================== */
.meeting {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.meeting::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.meeting .container {
    position: relative;
    z-index: 1;
}

.meeting h2 {
    color: white;
}

.meeting-date {
    font-size: 3rem;
    font-weight: 800;
    margin: 2rem 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.meeting > .container > p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.meeting .btn-primary {
    background: white;
    color: var(--primary);
}

.meeting .btn-primary:hover {
    background: var(--accent);
    color: white;
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: var(--white);
}

.contact-card {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 3rem;
    border-radius: var(--radius);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 85, 165, 0.1);
}

.contact-card h3 {
    font-size: 1.75rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    color: var(--primary);
    text-decoration: none;
    padding: 1rem 2rem;
    background: var(--primary-light);
    border-radius: 50px;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.contact-email:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.contact-info {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Site Info & RGPD */
.site-info,
.rgpd-notice2 {
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--radius);
    text-align: left;
}

.site-info h3,
.rgpd-notice2 h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.site-info p,
.rgpd-notice2 p {
    color: var(--gray);
    margin-bottom: 0.75rem;
}

.site-info ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.site-info ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.site-info ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.rgpd-notice2 {
    background: var(--accent-light);
    border-left: 4px solid var(--accent);
}

.rgpd-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.rgpd-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ========================================
   Page Header (pages internes)
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 140px 2rem 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========================================
   Legal Content (RGPD, CGU, etc.)
   ======================================== */
.legal-content {
    background: var(--white);
    padding: 60px 2rem;
}

.legal-content .container {
    max-width: 800px;
}

.legal-intro {
    background: var(--primary-light);
    padding: 2rem;
    border-radius: var(--radius);
    margin-bottom: 3rem;
    border-left: 4px solid var(--primary);
}

.legal-intro .date-update {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-section p {
    color: var(--gray);
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.legal-section ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--gray);
}

.legal-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.info-box {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
    line-height: 1.8;
}

.info-box a {
    color: var(--primary);
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.right-item {
    background: var(--light-gray);
    padding: 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.right-icon {
    font-size: 1.5rem;
}

.right-item strong {
    color: var(--dark);
    display: block;
    margin-bottom: 0.25rem;
}

.right-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--gray);
}

.contact-box {
    text-align: center;
    margin: 2rem 0;
}

.small-text {
    font-size: 0.9rem;
    color: var(--gray);
}

.small-text a {
    color: var(--primary);
}

.back-link {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

/* ========================================
   Footer
   ======================================== */
footer {
    background: var(--dark);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

footer p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

footer a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    text-decoration: underline;
    color: white;
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    font-size: 1.25rem;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ========================================
   Animations pour les éléments au scroll
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        padding: 100px 1.5rem 60px;
    }

    .hero-logo {
        width: 120px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .meeting-date {
        font-size: 2rem;
    }

    section {
        padding: 60px 1.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .about-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-countries {
        font-size: 2rem;
        gap: 1rem;
    }

    .rules-list {
        grid-template-columns: 1fr;
    }

    .rights-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 120px 1.5rem 40px;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .contact-email {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-badges {
        gap: 0.5rem;
    }

    .badge {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .about-countries {
        font-size: 1.75rem;
        gap: 0.75rem;
    }
}

/* ========================================
   Lightbox - Modal de contact
   ======================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-container {
    background: var(--white);
    border-radius: var(--radius);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-container {
    transform: scale(1) translateY(0);
}

.lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: var(--radius) var(--radius) 0 0;
}

.lightbox-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lightbox-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.lightbox-body {
    padding: 1.5rem;
}

/* ========================================
   Formulaire de contact
   ======================================== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.9rem;
}

.form-group label .required {
    color: #e53e3e;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 85, 165, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group .error-message {
    color: #e53e3e;
    font-size: 0.8rem;
    display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #e53e3e;
}

.form-group.has-error .error-message {
    display: block;
}

.char-counter {
    font-size: 0.75rem;
    color: var(--gray);
    text-align: right;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.btn-cancel {
    background: #e2e8f0;
    color: var(--dark);
}

.btn-cancel:hover {
    background: #cbd5e1;
}

.btn-submit {
    min-width: 140px;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-status {
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 0.5rem;
}

.form-status.success {
    background: #c6f6d5;
    color: #22543d;
}

.form-status.error {
    background: #fed7d7;
    color: #c53030;
}

/* ========================================
   Lightbox Responsive
   ======================================== */
@media (max-width: 600px) {
    .lightbox-overlay {
        padding: 0;
        align-items: flex-end;
    }

    .lightbox-container {
        max-width: 100%;
        max-height: 95vh;
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .lightbox-header {
        border-radius: var(--radius) var(--radius) 0 0;
    }

    .lightbox-header h2 {
        font-size: 1.1rem;
    }

    .form-actions {
        flex-direction: column-reverse;
    }

    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .lightbox-body {
        padding: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
}
