:root {
    --blue: #1e6fa8;
    --green: #7dbf3b;
    --blue-light: #e8f3fb;
    --green-light: #f0f8e8;
    --text: #1a2332;
    --muted: #64748b;
    --border: #dde4ed;
}

* { 
    box-sizing: border-box; 
}

body { 
    font-family: 'Lato', sans-serif; 
    color: var(--text); 
    background: #fff; 
    overflow-x: hidden; 
}

h1, h2, h3, h4, .font-display { 
    font-family: 'Nunito', sans-serif; 
}

/* NAV */
.nav-glass {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #eef1f6;
}

/* BUTTONS */
.btn-primary {
    background: var(--blue);
    color: white;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background: #185d8f;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(30,111,168,0.25);
}

.btn-secondary {
    border: 2px solid var(--blue);
    color: var(--blue);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 0.95rem;
    transition: all 0.2s;
    display: inline-block;
    text-decoration: none;
    background: transparent;
}

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

/* SECTION DIVIDER */
.divider {
    width: 48px;
    height: 3px;
    background: var(--green);
    border-radius: 2px;
    margin: 16px 0 24px 0;
}

.divider-center {
    margin: 16px auto 24px auto;
}

/* CARDS */
.card {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.card:hover {
    border-color: var(--blue);
    box-shadow: 0 12px 32px rgba(30,111,168,0.10);
    transform: translateY(-4px);
}

/* PRICING */
.pricing-featured {
    background: var(--blue);
    color: white;
    border-radius: 12px;
}

/* FORM */
.form-label {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text);
    margin-bottom: 8px;
}

.form-input {
    display: block;
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: #fafbfc;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-input:focus {
    border-color: var(--blue);
    background: white;
    box-shadow: 0 0 0 3px rgba(30,111,168,0.08);
}

.form-input::placeholder { 
    color: #aab4c0; 
}

/* STATS */
.stat-val {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
}

/* CITY TAGS */
.city-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
}

/* FAQ */
details summary { 
    cursor: pointer; 
    list-style: none; 
}

details summary::-webkit-details-marker { 
    display: none; 
}

details[open] .faq-icon { 
    transform: rotate(45deg); 
}

.faq-icon { 
    transition: transform 0.2s; 
}

/* ACCENT LINE */
.accent-bar {
    display: inline-block;
    width: 4px;
    height: 100%;
    background: var(--green);
    border-radius: 2px;
    margin-right: 14px;
    flex-shrink: 0;
}

/* H1 Tailwind */
h1 {
    @apply text-[6rem] font-bold;
}


  /* ---- BURGER BUTTON ---- */
        .burger-btn {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 5px;
            width: 44px;
            height: 44px;
            background: none;
            border: none;
            cursor: pointer;
            border-radius: 8px;
            flex-shrink: 0;
        }
        .burger-btn:hover { background: var(--blue-light); }
        .burger-btn span {
            display: block;
            width: 22px;
            height: 2px;
            background: var(--text);
            border-radius: 2px;
            transition: transform 0.3s ease, opacity 0.2s ease;
            transform-origin: center;
        }
        .burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .burger-btn.open span:nth-child(2) { opacity: 0; }
        .burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        /* ---- MOBILE MENU PANEL ---- */
        .mobile-menu {
            position: fixed;
            top: 80px;
            left: 0;
            right: 0;
            z-index: 49;
            background: white;
            border-bottom: 1px solid var(--border);
            box-shadow: 0 8px 24px rgba(0,0,0,0.10);
            padding: 16px 24px 24px;
            flex-direction: column;
            gap: 4px;
            display: none;
        }
        .mobile-menu.is-open { display: flex; }
        .mobile-menu a {
            font-family: 'Nunito', sans-serif;
            font-weight: 700;
            font-size: 1rem;
            color: var(--text);
            text-decoration: none;
            padding: 12px 16px;
            border-radius: 8px;
            transition: background 0.15s, color 0.15s;
        }
        .mobile-menu a:hover { background: var(--blue-light); color: var(--blue); }
        .mobile-menu .mobile-cta {
            margin-top: 8px;
            background: var(--blue);
            color: white !important;
            text-align: center;
        }
        .mobile-menu .mobile-cta:hover { background: #185d8f !important; }

        /* ---- MASQUER NAV DESKTOP / AFFICHER BURGER < 1024px ---- */
        @media (max-width: 1023px) {
            .nav-desktop { display: none !important; }
            .burger-btn  { display: flex !important; }
        }

        /* ---- MOBILE < 768px ---- */
        @media (max-width: 767px) {

            section { padding-left: 20px !important; padding-right: 20px !important; }

            /* Hero */
            .hero-section { padding: 0 20px !important; min-height: auto !important; }
            .hero-grid {
                grid-template-columns: 1fr !important;
                gap: 40px !important;
                padding-top: 100px !important;
                padding-bottom: 60px !important;
            }
            .hero-cta { flex-direction: column !important; }
            .hero-cta a { text-align: center; }

            /* Grilles multi-colonnes → 1 colonne */
            .why-grid,
            .services-grid,
            .pricing-grid,
            .contact-grid,
            .footer-grid,
            .compare-grid,
            .form-name-grid { grid-template-columns: 1fr !important; }

            .contact-grid { gap: 40px !important; }
            .footer-grid  { gap: 32px !important; }

            /* Réduire padding des cards */
            .card-pad-large  { padding: 24px !important; }
            .card-pad-xlarge { padding: 24px !important; }
        }

        /* ---- TABLETTE 768px – 1023px ---- */
        @media (min-width: 768px) and (max-width: 1023px) {

            .hero-section { padding: 0 32px !important; }
            .hero-grid { padding-top: 100px !important; gap: 40px !important; }

            /* Services 3 col → 2 col */
            .services-grid { grid-template-columns: repeat(2, 1fr) !important; }

            /* Contact 1+1.6 → 1 col */
            .contact-grid { grid-template-columns: 1fr !important; gap: 40px !important; }

            /* Footer 3 col → 2 col */
            .footer-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 32px !important; }
        }