:root {
    /* Palette */
    --bg-primary: #032E3A;
    --bg-secondary: #05313D;
    --text-primary: #FFFFFF;
    --text-secondary: #E5ECEF;
    --accent-blue: #3A7AFE;
    --accent-violet: #7A5CFF;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.9rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-secondary {
    background-color: var(--bg-secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-violet));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(58, 122, 254, 0.4);
}

.btn-outline {
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent-blue);
    color: white;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(3, 46, 58, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hero générique, utilisé sur toutes les pages */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
}

.hero .container {
    max-width: var(--container-width);
}

.hero-content {
    position: relative;
    max-width: 640px;
}

.hero-tag {
    display: block;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-blue);
}

.hero h1 {
    margin-bottom: 16px;
}

.hero p {
    max-width: 720px;
}

/* Logo */
.logo-img {
    height: 52px;
    width: auto;
}

/* Nav */
.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-blue);
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: white;
}



/* Section headers */
.section-header {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}



/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-violet);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 900;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.floating-btn:hover {
    transform: scale(1.05);
    background: var(--accent-blue);
}

.floating-btn .btn-icon {
    display: none;
}

/* WhatsApp Floating Button */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: rgba(30, 30, 30, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 900;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    cursor: pointer;
    text-decoration: none;
    color: #25D366;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    background: rgba(37, 211, 102, 0.15);
    border-color: #25D366;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.2);
}

.whatsapp-float-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* Tooltip */
.whatsapp-float-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 65px;
    background: rgba(10, 10, 10, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float-btn:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Footer */
.footer {
    background-color: #021217;
    /* Very dark, premium background */
    padding: 80px 0 40px;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    /* Identity col slightly larger */
    gap: 80px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 48px;
    /* Slightly smaller, more elegant */
    width: auto;
    margin-bottom: 24px;
    opacity: 0.9;
}

.footer-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 320px;
    opacity: 0.8;
}

.footer-nav .footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    opacity: 0.8;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
    opacity: 1;
}

.footer-contact-list {
    list-style: none;
    margin-bottom: 20px;
}

.footer-links-contact li {
    margin-bottom: 12px;
    color: white;
    font-weight: 500;
}

.footer-links-contact a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-contact a:hover {
    color: var(--accent-blue);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.6;
    border-left: 2px solid var(--accent-blue);
    padding-left: 16px;
}

/* Bottom Footer */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}


/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }


}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        gap: 0;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 16px;
    }

    .nav-item {
        margin: 16px 0;
    }

    .nav-menu.active {
        left: 0;
    }



    .floating-btn {
        bottom: 20px;
        right: 20px;
        padding: 0;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        justify-content: center;
    }

    .floating-btn .btn-text {
        display: none;
    }

    .floating-btn .btn-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .whatsapp-float-btn {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
    }

    .whatsapp-float-btn::after {
        display: none;
    }

    .section {
        padding: 60px 0;
    }
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 6px 16px;
    margin-left: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-switcher:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.lang-opt {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    text-decoration: none !important;
    position: relative;
    user-select: none;
}

.lang-opt:hover {
    color: white;
}

.lang-opt.active {
    color: white;
    text-shadow: 0 0 10px rgba(58, 122, 254, 0.8);
}

.lang-divider {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
    font-weight: 300;
}

/* --- Global Modal Reassurance Icon Fix --- */
.form-reassurance-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: 24px;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.form-reassurance-text svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    /* Prevent shrinking */
}


/* --- Global Contact Form Layout & Responsiveness --- */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

#contactForm input,
#contactForm select,
#contactForm textarea {
    width: 100%;
    max-width: 100%;
    /* Prevent overflow */
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}