/* ============================================================
   GLASSUP AUTO — Feuille de style principale
   Design 2026 : moderne, épuré, professionnel
   ============================================================ */

:root {
    --navy-900: #0a1e42;
    --navy-800: #0f2a5a;
    --navy-700: #14346e;
    --blue-600: #1d72d2;
    --blue-500: #2e8fe8;
    --blue-400: #4aa6ff;
    --blue-100: #dcecfb;
    --blue-50:  #f2f8fe;
    --orange-500: #ff6b35;
    --orange-600: #f2571f;
    --green-wa: #25d366;
    --green-wa-dark: #1db558;
    --ink: #152238;
    --muted: #5a6b84;
    --line: #e3eaf4;
    --bg-soft: #f6f9fd;
    --radius: 20px;
    --radius-sm: 12px;
    --shadow-soft: 0 8px 30px rgba(15, 42, 90, 0.08);
    --shadow-hover: 0 18px 45px rgba(15, 42, 90, 0.14);
    --grad-navy: linear-gradient(135deg, #0f2a5a 0%, #1d72d2 100%);
    --grad-blue: linear-gradient(135deg, #1d72d2 0%, #4aa6ff 100%);
    --grad-orange: linear-gradient(135deg, #ff6b35 0%, #ff8b55 100%);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.65;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, p, li, a { overflow-wrap: break-word; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--blue-400);
    outline-offset: 2px;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 1.5rem);
}

section { padding: clamp(3.4rem, 7vw, 5.5rem) 0; }

/* ---------- Icônes en ligne (remplacent les emojis) ---------- */

.ico-inline {
    display: inline-block;
    vertical-align: -0.16em;
    width: 1.05em;
    height: 1.05em;
    margin-right: 0.38em;
    color: var(--blue-600);
    flex-shrink: 0;
}

.highlight .ico-inline,
.cta-box .ico-inline,
.cta-section .ico-inline,
.cta-button .ico-inline,
.page-hero .ico-inline { color: currentColor; }

.info-box .ico-inline { color: var(--blue-600); }
.warning-box .ico-inline { color: #dd9a0c; }
.success-box .ico-inline { color: #2f9e44; }
.danger-box .ico-inline { color: #e03131; }
.checklist .ico-inline { color: #2f9e44; }

.num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65em;
    height: 1.65em;
    border-radius: 0.5em;
    background: var(--grad-blue);
    color: #fff;
    font-size: 0.82em;
    font-weight: 800;
    margin-right: 0.5em;
    vertical-align: -0.3em;
}

.check-ul {
    list-style: none;
    margin-left: 0 !important;
}

.check-ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.check-ul li svg {
    color: #2f9e44;
    flex-shrink: 0;
    margin-top: 0.3em;
}

/* ---------- Typographie de section ---------- */

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--blue-600);
    margin-bottom: 0.9rem;
}

.section-eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: var(--grad-blue);
}

.section-title {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    font-weight: 800;
    color: var(--navy-800);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-lead {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 720px;
}

.section-head { margin-bottom: 3rem; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin: 0 auto; }
.section-head.center .section-eyebrow::before { display: none; }

/* ---------- Boutons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.9rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
    white-space: nowrap;
}

.btn svg { flex-shrink: 0; }

.btn-primary {
    background: var(--grad-orange);
    color: #fff;
    box-shadow: 0 8px 22px rgba(255, 107, 53, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 107, 53, 0.45);
}

.btn-outline {
    background: #fff;
    color: var(--navy-800);
    box-shadow: inset 0 0 0 2px var(--line);
}

.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 0 0 2px var(--blue-400), 0 10px 24px rgba(15, 42, 90, 0.1);
}

.btn-whatsapp {
    background: var(--green-wa);
    color: #fff;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.32);
}

.btn-whatsapp:hover {
    background: var(--green-wa-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.42);
}

.btn-navy {
    background: var(--grad-navy);
    color: #fff;
    box-shadow: 0 8px 22px rgba(15, 42, 90, 0.3);
}

.btn-navy:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 42, 90, 0.4);
}

.btn-white {
    background: #fff;
    color: var(--navy-800);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.btn-white:hover { transform: translateY(-2px); }

/* ---------- Header / Navigation ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s;
}

.site-header.scrolled { box-shadow: 0 6px 24px rgba(15, 42, 90, 0.08); }

.nav {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0.65rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav-logo img { height: 58px; width: auto; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.7rem;
    list-style: none;
}

.nav-links a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--blue-600); }

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--grad-orange);
    color: #fff !important;
    font-weight: 800;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.32);
    transition: transform 0.25s, box-shadow 0.25s;
}

.nav-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 107, 53, 0.42);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: var(--navy-800);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Héro ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 5rem;
    background:
        radial-gradient(700px 400px at 85% -10%, rgba(74, 166, 255, 0.16), transparent 65%),
        radial-gradient(600px 380px at -10% 100%, rgba(29, 114, 210, 0.1), transparent 60%),
        linear-gradient(180deg, #f3f8fe 0%, #ffffff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: #fff;
    border: 1px solid var(--blue-100);
    color: var(--navy-800);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.4rem;
}

.hero-badge svg { color: var(--blue-500); }

.hero h1 {
    font-size: clamp(2.5rem, 5.2vw, 3.7rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--navy-900);
    margin-bottom: 0.6rem;
}

.hero-tagline {
    display: block;
    margin-top: 0.35rem;
    background: var(--grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(1.35rem, 2.6vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.01em;
}

.hero-sub {
    color: var(--muted);
    font-size: 1.15rem;
    max-width: 540px;
    margin: 1.1rem 0 1.6rem;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--navy-800);
    box-shadow: 0 3px 12px rgba(15, 42, 90, 0.05);
}

.chip svg { color: var(--blue-500); }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
}

.hero-media {
    position: relative;
}

.hero-media img {
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(10, 30, 66, 0.28);
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 0.8rem 1.1rem;
    box-shadow: 0 14px 35px rgba(10, 30, 66, 0.18);
    font-size: 0.9rem;
    animation: floaty 5s ease-in-out infinite;
}

.float-card strong { display: block; color: var(--navy-800); font-size: 0.98rem; }
.float-card span { color: var(--muted); font-size: 0.82rem; }

.float-card .fc-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.float-top { top: -18px; right: 22px; }
.float-bottom { bottom: -20px; left: 18px; animation-delay: 2.5s; }

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ---------- Bandeau statistiques ---------- */

.stats-band {
    background: var(--grad-navy);
    padding: 2.6rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-num {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.stat-label {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 0.3rem;
}

/* ---------- Cartes offres ---------- */

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    align-items: stretch;
}

.promo-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.4rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.promo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.promo-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--blue-50);
    color: var(--blue-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
}

.promo-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy-800);
    margin-bottom: 0.6rem;
}

.promo-card p { color: var(--muted); font-size: 1rem; }

.promo-card .price {
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--navy-800);
    margin: 0.2rem 0;
}

.promo-card.featured {
    background: var(--grad-navy);
    border: none;
    box-shadow: 0 22px 55px rgba(15, 42, 90, 0.35);
}

.promo-card.featured h3,
.promo-card.featured .price { color: #fff; }
.promo-card.featured p { color: rgba(255, 255, 255, 0.8); }

.promo-card.featured .promo-icon {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.insurance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--grad-blue);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 0.88rem;
    text-transform: uppercase;
    padding: 0.7rem 1.5rem;
    border-radius: 999px;
    box-shadow: 0 10px 26px rgba(29, 114, 210, 0.3);
}

/* ---------- Étapes ---------- */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    counter-reset: step;
}

.step-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.6rem 1.9rem 2.2rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.step-num {
    position: absolute;
    top: -26px;
    left: 1.9rem;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--grad-orange);
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(255, 107, 53, 0.35);
}

.step-card h3 {
    color: var(--navy-800);
    font-size: 1.22rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.step-card p { color: var(--muted); }

.step-card ul {
    list-style: none;
    margin-top: 0.9rem;
}

.step-card ul li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.32rem 0;
    color: var(--ink);
    font-weight: 600;
    font-size: 0.96rem;
}

.step-card ul li svg { color: var(--blue-500); flex-shrink: 0; }

/* ---------- Services ---------- */

.services-section { background: var(--bg-soft); }

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.service-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.3rem 1.9rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--grad-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    box-shadow: 0 10px 24px rgba(29, 114, 210, 0.28);
}

.service-card h3 {
    color: var(--navy-800);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.service-card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- À propos ---------- */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.about-media { position: relative; }

.about-media img {
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(10, 30, 66, 0.22);
    aspect-ratio: 3 / 2.1;
    object-fit: cover;
    width: 100%;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background: #fff;
    border-radius: 16px;
    padding: 0.9rem 1.3rem;
    box-shadow: 0 14px 35px rgba(10, 30, 66, 0.18);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-weight: 800;
    color: var(--navy-800);
    font-size: 0.95rem;
}

.about-badge svg { color: var(--green-wa); }

.check-list {
    list-style: none;
    margin-top: 1.6rem;
    display: grid;
    gap: 0.75rem;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--ink);
}

.check-list .check-ico {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--blue-50);
    color: var(--blue-600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ---------- Formulaire devis ---------- */

.devis-section {
    background:
        radial-gradient(600px 380px at 100% 0%, rgba(74, 166, 255, 0.12), transparent 60%),
        var(--bg-soft);
}

.form-card {
    max-width: 880px;
    margin: 0 auto;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15, 42, 90, 0.12);
    padding: 3rem;
    border: 1px solid var(--line);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.3rem 1.5rem;
}

.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--navy-800);
    margin-bottom: 0.45rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.1rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: inherit;
    color: var(--ink);
    background: #fbfcfe;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-400);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(74, 166, 255, 0.15);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-hint { color: var(--muted); font-size: 0.83rem; margin-top: 0.4rem; }

.form-footer {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
    text-align: center;
}

.form-footer .btn { width: 100%; font-size: 1.08rem; padding: 1.1rem; }

.form-note {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.field-error-message {
    color: #e03131;
    font-size: 0.85rem;
    margin-top: 0.45rem;
    animation: slideIn 0.3s;
}

.success-message {
    background: #2f9e44;
    color: white;
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.2rem;
    display: none;
}

/* ---------- Cartes blog / conseils ---------- */

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.post-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.2rem 1.9rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.post-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--blue-50);
    color: var(--blue-600);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.post-card h3 {
    color: var(--navy-800);
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.post-card p { color: var(--muted); font-size: 0.96rem; flex: 1; }

.post-link {
    margin-top: 1.4rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--blue-600);
    font-weight: 800;
    text-decoration: none;
    transition: gap 0.25s;
}

.post-link:hover { gap: 0.75rem; }

/* ---------- Bandeau CTA ---------- */

.cta-band {
    background: var(--grad-navy);
    border-radius: 28px;
    padding: 3.2rem 2.5rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(500px 260px at 85% 0%, rgba(74, 166, 255, 0.35), transparent 60%);
    pointer-events: none;
}

.cta-band h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 0.8rem;
    position: relative;
}

.cta-band p { color: rgba(255, 255, 255, 0.85); font-size: 1.1rem; position: relative; }

.cta-band .cta-actions {
    margin-top: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: center;
    position: relative;
}

/* ---------- Pied de page ---------- */

.site-footer {
    background: linear-gradient(180deg, var(--navy-900) 0%, #071834 100%);
    color: rgba(255, 255, 255, 0.82);
    padding: 4rem 0 0;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand img { height: 62px; width: auto; margin-bottom: 1.1rem; }

.footer-brand p { font-size: 0.97rem; color: rgba(255, 255, 255, 0.72); max-width: 320px; }

.site-footer h4 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1.1rem;
}

.footer-list { list-style: none; display: grid; gap: 0.65rem; }

.footer-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.97rem;
}

.footer-list svg { color: var(--blue-400); flex-shrink: 0; }

.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.4rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- Bouton WhatsApp flottant ---------- */

.wa-fab {
    position: fixed;
    bottom: calc(1.6rem + env(safe-area-inset-bottom, 0px));
    right: calc(1.6rem + env(safe-area-inset-right, 0px));
    z-index: 950;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--green-wa);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s, box-shadow 0.25s;
}

.wa-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 38px rgba(37, 211, 102, 0.55);
}

.wa-fab svg { color: #fff; }

/* ---------- Animations d'apparition ---------- */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .float-card { animation: none; }
    html { scroll-behavior: auto; }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   PAGES INTÉRIEURES (glassup.html + articles de blog)
   ============================================================ */

.page-hero {
    background:
        radial-gradient(700px 380px at 90% -20%, rgba(74, 166, 255, 0.35), transparent 60%),
        var(--grad-navy);
    color: #fff;
    padding: 4.5rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4.2vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin: 0 auto 1rem;
}

.page-hero .subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.page-hero .meta {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 600;
}

.page-hero .meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.page-hero .meta svg { opacity: 0.85; flex-shrink: 0; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.55rem 1.2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    transition: box-shadow 0.25s, transform 0.25s;
}

.back-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

.content-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 4.5rem;
}

.content-section {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 2.8rem;
    margin-bottom: 2rem;
}

.content-section h2 {
    color: var(--navy-800);
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 1.2rem;
    padding-left: 1rem;
    border-left: 4px solid;
    border-image: var(--grad-blue) 1;
    line-height: 1.25;
}

.content-section h3 {
    color: var(--navy-700);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 1.8rem 0 0.8rem;
}

.content-section p { margin-bottom: 1.1rem; color: #33415c; }
.content-section p:last-child { margin-bottom: 0; }

.content-section ul,
.content-section ol {
    margin: 0.8rem 0 1.3rem 1.4rem;
    color: #33415c;
}

.content-section li { margin-bottom: 0.55rem; }

.content-section strong { color: var(--navy-800); }

/* Boîtes colorées des articles */

.info-box, .warning-box, .success-box, .danger-box, .highlight {
    padding: 1.5rem 1.7rem;
    border-radius: 14px;
    margin: 1.8rem 0;
    border: 1px solid transparent;
}

.info-box {
    background: var(--blue-50);
    border-color: var(--blue-100);
}

.info-box h3 { margin-top: 0; color: var(--navy-800); }

.warning-box { background: #fff8e6; border-color: #ffe1a0; }
.success-box { background: #ebfbf0; border-color: #b8ebc6; }
.danger-box  { background: #fdeeee; border-color: #f5c2c7; }

.highlight {
    background: var(--grad-navy);
    color: #fff;
}

.highlight h3 { color: #fff; margin-top: 0; }
.highlight p { color: rgba(255, 255, 255, 0.88); margin-bottom: 0; }
.highlight strong { color: #fff; }

/* Grille de features (page glassup) */

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    margin: 1.8rem 0;
}

.feature-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 1.8rem 1.5rem;
    border-radius: 16px;
    text-align: center;
}

.feature-card .f-icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    background: var(--grad-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.feature-card h3 { margin: 0 0 0.5rem; font-size: 1.1rem; }
.feature-card p { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* Liste des zones (page glassup) */

.zone-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.6rem 0;
}

.zone-item {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue-500);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--muted);
}

.zone-item strong { color: var(--navy-800); display: block; margin-bottom: 0.15rem; }

/* Sections CTA des pages intérieures */

.cta-section, .cta-box {
    background: var(--grad-navy);
    color: #fff;
    padding: 2.8rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before, .cta-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(420px 220px at 85% 0%, rgba(74, 166, 255, 0.35), transparent 60%);
    pointer-events: none;
}

.cta-section > *, .cta-box > * { position: relative; }

.cta-section h2 {
    color: #fff;
    border: none;
    padding: 0;
    margin-bottom: 0.6rem;
}

.cta-box h3 { color: #fff; margin-top: 0; font-size: 1.45rem; }
.cta-section p, .cta-box p { color: rgba(255, 255, 255, 0.87); }

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--grad-orange);
    color: #fff;
    padding: 0.95rem 2.1rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0.6rem 0.4rem 0;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 10px 26px rgba(255, 107, 53, 0.4);
}

.cta-button:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255, 107, 53, 0.5); }

/* Tableaux + checklist articles */

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.8rem 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.price-table th {
    background: var(--navy-800);
    color: white;
    padding: 1rem 1.2rem;
    text-align: left;
    font-weight: 700;
}

.price-table td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); background: #fff; }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--blue-50); }

.checklist {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 1.8rem;
    border-radius: 16px;
    margin: 1.8rem 0;
}

.checklist h3 { margin-top: 0; color: var(--navy-800); }

.checklist-item {
    padding: 1.1rem 1.3rem;
    margin: 0.9rem 0;
    background: white;
    border: 1px solid var(--line);
    border-left: 4px solid var(--green-wa);
    border-radius: 12px;
}

.checklist-item h4 { color: #1a9b50; margin-bottom: 0.35rem; font-size: 1.02rem; }
.checklist-item p { margin: 0; }

.faq-item { margin: 1.6rem 0; }
.faq-item h3 { margin-top: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
    .hero-grid { gap: 2.5rem; }
    .service-grid, .post-grid, .steps-grid, .promo-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
    .about-grid { gap: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-media { max-width: 560px; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }

    .nav-toggle { display: block; }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0.6rem 1.5rem calc(1.3rem + env(safe-area-inset-bottom, 0px));
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 35px rgba(15, 42, 90, 0.12);
        display: none;
        max-height: calc(100dvh - 76px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.open { display: flex; }

    .nav-links li { width: 100%; }

    .nav-links a:not(.nav-phone) {
        display: block;
        padding: 0.9rem 0;
        border-bottom: 1px solid var(--line);
        width: 100%;
    }

    .nav-links li:last-child a { border-bottom: none; }

    .nav-links .nav-phone {
        margin-top: 0.8rem;
        justify-content: center;
        width: 100%;
        min-height: 48px;
    }
}

@media (max-width: 640px) {
    .nav-logo img { height: 46px; }
    .service-grid, .post-grid, .steps-grid, .promo-grid, .features-grid, .zone-list { grid-template-columns: 1fr; }
    .steps-grid { gap: 2.4rem; }
    .form-grid { grid-template-columns: 1fr; }
    .form-card { padding: 2rem 1.4rem; border-radius: 18px; }
    .content-section { padding: 1.8rem 1.4rem; }
    .content-section h2 { font-size: 1.45rem; }
    .content-section h3 { font-size: 1.15rem; }
    .hero { padding: 3rem 0 3.6rem; }
    .hero-actions .btn { width: 100%; }
    .float-card { padding: 0.55rem 0.8rem; gap: 0.55rem; max-width: calc(100% - 16px); }
    .float-card strong { font-size: 0.88rem; }
    .float-card span { font-size: 0.76rem; }
    .float-card .fc-icon { width: 34px; height: 34px; border-radius: 10px; }
    .float-card .fc-icon svg { width: 18px; height: 18px; }
    .float-top { top: -14px; right: 8px; }
    .float-bottom { bottom: -16px; left: 8px; }
    .cta-band { padding: 2.4rem 1.5rem; border-radius: 22px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .wa-fab {
        width: 54px;
        height: 54px;
        bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px));
        right: calc(1.2rem + env(safe-area-inset-right, 0px));
    }
    .insurance-badge { white-space: normal; text-align: center; line-height: 1.4; }
    .btn { min-height: 48px; }
    .page-hero { padding: 3.2rem 0; }
    .highlight, .info-box, .warning-box, .success-box, .danger-box { padding: 1.2rem 1.3rem; }
    .checklist { padding: 1.3rem 1.1rem; }
    .cta-section, .cta-box { padding: 2.2rem 1.4rem; }
    .cta-button { display: flex; margin: 0.6rem 0 0; }
}

@media (max-width: 400px) {
    .nav-logo img { height: 40px; }
    .hero h1 { font-size: 2.15rem; }
    .hero-badge { font-size: 0.8rem; padding: 0.45rem 0.9rem; }
    .chip { font-size: 0.85rem; padding: 0.4rem 0.85rem; }
    .stat-num { font-size: 1.7rem; }
    .stat-label { font-size: 0.85rem; }
    .promo-card .price { font-size: 2.6rem; }
    .section-eyebrow { letter-spacing: 0.09em; }
    .form-card { padding: 1.6rem 1.1rem; }
    .content-wrap { padding-left: 1rem; padding-right: 1rem; }
}

/* Tactile : neutralise les effets de survol sur écrans tactiles */
@media (hover: none) {
    .service-card:hover, .promo-card:hover, .step-card:hover,
    .post-card:hover { transform: none; box-shadow: var(--shadow-soft); }
}
