* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1e4294;
    --primary-light: #2d5ac4;
    --text: #0f172a;
    --text-light: #64748b;
    --bg: #ffffff;
    --surface: #f8fafc;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lexend', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 66, 148, 0.1);
    padding: 24px 0;
    opacity: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    height: 40px;
    width: auto;
}

.cta-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Lexend', sans-serif;
    box-shadow: 0 4px 12px rgba(30, 66, 148, 0.15);
    text-decoration: none !important;
    display: inline-block;
}

.cta-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 66, 148, 0.25);
    text-decoration: none !important;
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--text);
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(30, 66, 148, 0.06);
    text-decoration: none !important;
}

.nav-link.active {
    color: var(--primary);
    background: rgba(30, 66, 148, 0.1);
    font-weight: 600;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(var(--primary) 1px, transparent 1px),
        linear-gradient(90deg, var(--primary) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-label {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(30, 66, 148, 0.08);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 32px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 80px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    opacity: 0;
}

.hero h1 .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero p {
    font-size: 22px;
    color: var(--text-light);
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.7;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Lexend', sans-serif;
    box-shadow: 0 8px 24px rgba(30, 66, 148, 0.2);
    text-decoration: none !important;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(30, 66, 148, 0.3);
    text-decoration: none !important;
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 14px 38px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Lexend', sans-serif;
    text-decoration: none !important;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    text-decoration: none !important;
}

/* Floating Elements */
.floating-shape {
    position: absolute;
    opacity: 0;
    background: linear-gradient(135deg, rgba(30, 66, 148, 0.12), rgba(30, 66, 148, 0.04));
}

.shape-1 {
    width: 350px;
    height: 350px;
    top: 15%;
    right: 8%;
}

.shape-2 {
    width: 280px;
    height: 280px;
    bottom: 15%;
    left: -3%;
}

/* Formes géométriques */
.shape-circle {
    border-radius: 50%;
}

.shape-square {
    border-radius: 12px;
}

.shape-triangle {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-pentagon {
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.shape-hexagon {
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}

.shape-octagon {
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

.shape-diamond {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* Stats Section */
.stats {
    padding: 120px 0;
    background: var(--surface);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 64px;
    text-align: center;
}

.stat-item {
    opacity: 0;
    transform: translateY(40px);
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1;
}

.stat-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-subtitle {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 140px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
}

.section-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 20px;
    color: var(--text-light);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background: white;
    padding: 48px 40px;
    border-radius: 24px;
    border: 2px solid rgba(30, 66, 148, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(30, 66, 148, 0.2);
    box-shadow: 0 24px 48px rgba(30, 66, 148, 0.12);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: rgba(30, 66, 148, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
}

/* Localisation Section */
.location {
    padding: 100px 0;
    background: white;
}

.location-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.location-info {
    opacity: 0;
}

.location-description {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.location-description strong {
    color: var(--primary);
    font-weight: 600;
}

.location-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(30, 66, 148, 0.08);
    border-radius: 50px;
    margin-top: 32px;
    color: var(--primary);
    font-weight: 600;
}

.location-badge svg {
    flex-shrink: 0;
}

/* Contact Section */
.contact {
    padding: 140px 0;
    background: var(--surface);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 64px;
    border-radius: 32px;
    box-shadow: 0 24px 64px rgba(30, 66, 148, 0.08);
    opacity: 0;
}

.form-group {
    margin-bottom: 32px;
}

label {
    display: block;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    font-size: 15px;
}

input,
textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(30, 66, 148, 0.1);
    border-radius: 12px;
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    transition: all 0.3s;
    background: var(--bg);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 66, 148, 0.08);
}

textarea {
    resize: vertical;
    min-height: 140px;
}

.submit-btn {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 18px 32px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Lexend', sans-serif;
    box-shadow: 0 8px 24px rgba(30, 66, 148, 0.2);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(30, 66, 148, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    margin-top: 24px;
    padding: 20px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    display: none;
    text-align: center;
    animation: slideIn 0.4s ease-out;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-color: #059669;
    display: block;
}

.form-message.success::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f00c ';
    font-size: 20px;
    margin-right: 8px;
}

.form-message.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-color: #dc2626;
    display: block;
}

.form-message.error::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f00d ';
    font-size: 20px;
    margin-right: 8px;
}

/* Toast Notification Pop-up */
.toast-notification {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: white;
    padding: 20px 32px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-width: 320px;
    max-width: 500px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: top 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-notification.show {
    top: 100px;
}

.toast-notification.success {
    border-left: 6px solid #10b981;
}

.toast-notification.error {
    border-left: 6px solid #ef4444;
}

.toast-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.toast-notification.success .toast-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.toast-notification.error .toast-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text);
}

.toast-message {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.toast-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-light);
    transition: all 0.2s;
    flex-shrink: 0;
}

.toast-close:hover {
    background: var(--surface);
    color: var(--text);
}

/* Footer */
footer {
    padding: 64px 0;
    background: var(--primary);
    text-align: center;
}

.footer-logo {
    height: 48px;
    margin-bottom: 24px;
    opacity: 1;
    filter: brightness(0) invert(1);
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-links .separator {
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   BURGER MENU & MOBILE NAV
   ============================================ */

/* Burger button — hidden on desktop */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    position: relative;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile nav slide-in panel */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: white;
    z-index: 1050;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.mobile-nav.open {
    transform: translateX(0);
}

.mobile-nav-brand {
    padding-bottom: 16px;
    margin-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none !important;
    transition: all 0.2s;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: 'Lexend', sans-serif;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(30, 66, 148, 0.06);
    color: var(--primary);
}

.mobile-nav-link.active {
    font-weight: 600;
}

/* CTA button in mobile nav */
.mobile-nav-cta {
    background: var(--primary) !important;
    color: white !important;
    border-radius: 10px !important;
    justify-content: center;
    margin-top: 8px;
    font-weight: 600 !important;
}

.mobile-nav-cta:hover {
    background: var(--primary-light) !important;
}

/* Cart link in mobile nav */
.mobile-nav .cart-link {
    padding: 14px 16px;
    font-size: 15px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero h1 {
        font-size: 64px;
    }

    .section-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    header {
        padding: 14px 0;
    }

    /* Hide desktop nav, show burger */
    .header-nav,
    .header-content > nav {
        display: none !important;
    }

    .burger-btn {
        display: flex;
    }

    .header-content {
        position: relative;
    }

    .logo {
        height: 32px;
    }

    /* Hero */
    .hero {
        min-height: 70vh;
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 17px;
        margin-bottom: 32px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        text-align: center;
        justify-content: center;
    }

    /* Floating shapes — smaller */
    .floating-shape {
        display: none;
    }

    .section-title {
        font-size: 32px;
    }

    .section-description {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .stats {
        padding: 60px 0;
    }

    .stats-grid {
        gap: 32px;
    }

    .stat-number,
    .stat-title {
        font-size: 42px;
    }

    .stat-subtitle,
    .stat-label {
        font-size: 14px;
    }

    .contact-card {
        padding: 36px 24px;
    }

    .contact-form {
        gap: 12px;
    }

    footer {
        padding: 40px 0 24px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .hero-label {
        font-size: 11px;
        padding: 6px 14px;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 12px 28px;
        font-size: 14px;
        width: 100%;
    }

    .section-title {
        font-size: 24px;
    }

    .section-description {
        font-size: 14px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .stat-number,
    .stat-title {
        font-size: 32px;
    }

    .contact-card {
        padding: 28px 20px;
    }

    .contact-card h2 {
        font-size: 20px;
    }

    .contact-card p {
        font-size: 13px;
    }

    .cart-link svg {
        width: 18px;
        height: 18px;
    }

    .cart-count {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
        top: -6px;
        right: -8px;
    }
}

/* ============================================
   Cart Link (shared across pages)
   ============================================ */
.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.cart-count:empty {
    display: none;
}

/* ============================================
   Account Link (shared across pages)
   ============================================ */
.account-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.account-link:hover,
.account-link.active {
    opacity: 1;
}
