/* ===== Navbar commune (toutes les pages publiques) =====
   Pilule en verre sombre qui flotte au-dessus de la page : marque à gauche, liens au centre, « Recherche » à droite.
   - Autres pages : fixée en haut, sans bandeau ; le contenu défile dessous, flouté par le verre.
   - Accueil (ordinateur et tablette) : en haut pendant les 3 étapes, effacée par la ligne rouge avec la 3e image,
     Accueil : posée en bas de l'écran sur ordinateur (≥ 1024 px ; classe body.nav-en-bas, écrite dans index.html).
   - Mobile (< 900 px) : liens dans un menu déroulant ; sur l'accueil, elle reste toujours en haut. */
.nav-entete {
    --nav-rouge: #E20814; --nav-rouge-fonce: #C00711;
    --nav-hauteur: 64px; --nav-marge: 14px;
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: var(--nav-marge) 14px 0;
    pointer-events: none; /* seule la pilule est cliquable : le reste de la bande laisse passer les clics */
}
/* Espace réservé sous la navbar sur les autres pages (le fond reprend celui de la première section) */
body:not(.page-accueil) { padding-top: calc(var(--nav-espace, 92px)); }
/* À propos : les 3 étapes (plein écran) passent sous la navbar, comme sur l'accueil */
body.page-apropos { padding-top: 0; }
:root { --nav-espace: 92px; }
.page-apropos { background: #f4f4f4; }
.page-voitures { background: #f4f5f7; }
.page-contact { background: #fff; }

.nav {
    position: relative; pointer-events: auto;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 20px;
    width: 100%; max-width: 980px; min-height: var(--nav-hauteur); margin: 0 auto; padding: 9px 9px 9px 26px;
    border-radius: 22px; isolation: isolate; overflow: visible;
    font-family: var(--police-texte); color: #fff;
    /* verre : fond sombre translucide, flou et saturation de ce qui passe dessous, liseré de lumière en haut */
    background: linear-gradient(135deg, rgba(34, 34, 38, .72), rgba(12, 12, 14, .62));
    -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 18px 40px -18px rgba(0, 0, 0, .65);
    transition: background-color .3s ease, box-shadow .3s ease;
}
/* reflet qui suit la souris (verre « vivant ») : position mise à jour par navbar.js */
.nav::before {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
    background: radial-gradient(240px circle at var(--nav-x, 50%) var(--nav-y, -40%), rgba(255, 255, 255, .13), transparent 70%);
    opacity: 0; transition: opacity .3s ease;
}
.nav:hover::before { opacity: 1; }
/* quand la page a défilé, le verre devient un peu plus dense pour rester lisible sur le contenu */
.nav-entete.defile .nav {
    background: linear-gradient(135deg, rgba(28, 28, 32, .84), rgba(10, 10, 12, .78));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 22px 44px -16px rgba(0, 0, 0, .7);
}

.nav-marque {
    justify-self: start; color: #fff; text-decoration: none; white-space: nowrap;
    font: 800 26px/1 'Big Shoulders Display', 'Arial Narrow', sans-serif; letter-spacing: .01em; text-transform: uppercase;
}
/* Sous la marque : « Canada → Sénégal », petit et discret (la flèche rouge reprend la couleur du logo) */
.nav-marque { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.nav-marque-route {
    display: inline-flex; align-items: center; gap: 5px;
    font: 600 9.5px/1 var(--police-texte, 'Inter', sans-serif); letter-spacing: .16em; text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}
.nav-marque-route svg { width: 11px; height: 11px; flex: none; color: var(--nav-rouge); }
.nav-liens { justify-self: center; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-liens a {
    display: block; padding: 11px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap;
    color: rgba(255, 255, 255, .74); font-size: 15.5px; font-weight: 500;
    transition: color .2s ease, background-color .2s ease;
}
.nav-liens a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
/* page en cours : pastille claire, on sait toujours où l'on est */
.nav-liens a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }

.nav-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.nav-recherche {
    display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
    height: 40px; padding: 0 16px 0 13px; border-radius: 999px; background: var(--nav-rouge); color: #fff;
    font-size: 14px; font-weight: 600; text-decoration: none;
    box-shadow: 0 8px 20px -8px rgba(226, 8, 20, .7);
    transition: background-color .2s ease, transform .15s ease, box-shadow .2s ease;
}
.nav-recherche svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav-recherche:hover { background: var(--nav-rouge-fonce); }
.nav-recherche:active { transform: scale(.97); }
.nav a:focus-visible, .nav button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Bouton « Favoris » : rond en verre clair avec un cœur, badge rouge du nombre de favoris */
.nav-favoris {
    position: relative; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    width: 40px; height: 40px; border-radius: 999px; color: #fff; text-decoration: none;
    background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
    transition: background-color .2s ease, transform .15s ease, color .2s ease;
}
.nav-favoris svg { width: 18px; height: 18px; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), fill .2s ease; }
.nav-favoris:hover { background: rgba(255, 255, 255, .18); }
.nav-favoris:hover svg { transform: scale(1.12); }
.nav-favoris:active { transform: scale(.94); }
.nav-favoris[aria-current="page"] { background: rgba(255, 255, 255, .18); }
.nav-favoris[aria-current="page"] svg { fill: currentColor; }
.nav-favoris-nombre {
    position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
    background: var(--nav-rouge); color: #fff; font: 700 11px/19px var(--police-texte, sans-serif); text-align: center;
    box-shadow: 0 0 0 2px #151517;
}
.nav-favoris-nombre[hidden] { display: none; }
/* un favori vient d'être ajouté ou retiré : le cœur bat une fois */
.nav-favoris.rebond svg { animation: nav-coeur .6s cubic-bezier(.34, 1.56, .64, 1); }
.nav-favoris.rebond .nav-favoris-nombre { animation: nav-badge .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes nav-coeur { 30% { transform: scale(1.35); color: var(--nav-rouge); } 60% { transform: scale(.92); } }
@keyframes nav-badge { 0% { transform: scale(.4); } 100% { transform: none; } }

/* Bouton du menu (mobile) : deux traits qui forment une croix à l'ouverture */
.nav-burger {
    display: none; position: relative; width: 40px; height: 40px; flex-shrink: 0;
    border: 0; border-radius: 14px; background: rgba(255, 255, 255, .1); cursor: pointer;
}
.nav-burger span {
    position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff;
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), top .3s cubic-bezier(.2, .7, .2, 1);
}
.nav-burger span:first-child { top: 15px; }
.nav-burger span:last-child { top: 23px; }
.nav.ouvert .nav-burger span:first-child { top: 19px; transform: rotate(45deg); }
.nav.ouvert .nav-burger span:last-child { top: 19px; transform: rotate(-45deg); }

/* ===== Accueil, ordinateur et tablette : la navbar remonte du bas de l'écran,
   à la place de l'ancienne pilule « Marque, Modèle… », une fois l'accueil d'origine revenu ===== */
@media (min-width: 1024px) { /* ordinateur seulement : sur tablette et mobile, la navbar de l'accueil reste en haut */
    .page-accueil.nav-en-bas .nav-entete {
        top: auto; bottom: 14px; padding-top: 0;
        animation: nav-monte .8s cubic-bezier(.16, 1, .3, 1) .05s both;
    }
}
@keyframes nav-monte {
    from { transform: translateY(calc(100% + 40px)); opacity: 0; }
    to { transform: none; opacity: 1; }
}

/* ===== Mobile et petite tablette : menu déroulant ===== */
@media (max-width: 899px) {
    .nav-entete { --nav-hauteur: 60px; --nav-marge: 10px; padding-left: 10px; padding-right: 10px; }
    :root { --nav-espace: 80px; }
    .nav { grid-template-columns: 1fr auto; column-gap: 8px; max-width: 680px; padding: 7px 7px 7px 18px; border-radius: 20px; }
    .nav-marque { font-size: 22px; }
    .nav-marque-route { font-size: 8.5px; letter-spacing: .14em; gap: 4px; }
    .nav-marque-route svg { width: 10px; height: 10px; }
    .nav-recherche { height: 40px; padding: 0 14px 0 12px; font-size: 14px; }
    .nav-burger { display: block; }
    .nav-liens {
        position: absolute; left: 0; right: 0; top: calc(100% + 8px);
        flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
        background: rgba(14, 14, 16, .94); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px;
        -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
        box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .7);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .3s;
    }
    .nav.ouvert .nav-liens { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
    .nav-liens a {
        padding: 13px 14px; border-radius: 14px; color: rgba(255, 255, 255, .82);
        font: 800 30px/1.05 'Big Shoulders Display', 'Arial Narrow', sans-serif; text-transform: uppercase; letter-spacing: .01em;
    }
    .nav-liens a[aria-current="page"] { color: #fff; background: rgba(226, 8, 20, .9); box-shadow: none; }
    /* les liens arrivent l'un après l'autre */
    .nav-liens li { opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .35s cubic-bezier(.2, .7, .2, 1); }
    .nav.ouvert .nav-liens li { opacity: 1; transform: none; }
    .nav.ouvert .nav-liens li:nth-child(2) { transition-delay: .04s; }
    .nav.ouvert .nav-liens li:nth-child(3) { transition-delay: .08s; }
    .nav.ouvert .nav-liens li:nth-child(4) { transition-delay: .12s; }
    .nav.ouvert .nav-liens li:nth-child(5) { transition-delay: .16s; }
}
@media (max-width: 380px) {
    .nav { padding-left: 14px; }
    .nav-marque { font-size: 19px; }
    .nav-marque-route { font-size: 7.5px; letter-spacing: .1em; }
    .nav-recherche { padding: 0 13px 0 12px; gap: 7px; }
    .nav-favoris { width: 40px; height: 40px; }
}
@media (max-width: 359px) { .nav-recherche { font-size: 0; gap: 0; padding: 0 14px; } } /* très petit écran : la loupe seule */
@media (prefers-reduced-motion: reduce) { .nav-favoris.rebond svg, .nav-favoris.rebond .nav-favoris-nombre { animation: none; } }
@media (prefers-reduced-motion: reduce) {
    .nav-liens, .nav-liens li, .nav-burger span, .nav::before { transition: none; }
    .page-accueil.nav-en-bas .nav-entete { animation: none; }
}

/* Page Voitures : quand « Recherche » fait défiler jusqu'aux filtres, ils ne passent pas sous la navbar */
#filtres-panneau { scroll-margin-top: calc(var(--nav-espace) + 8px); }
/* Marque : zone de toucher plus haute (même apparence) */
.nav-marque { padding: 10px 0; margin: -10px 0; }

/* ===== Bouton WhatsApp fixe (toutes les pages publiques, ajouté par navbar.js) =====
   Rond plein au vert officiel de WhatsApp, logo blanc : bien visible sur un fond blanc, reconnu au premier coup d'œil.
   60 px (cible tactile confortable), ombre neutre et nette, sans effet lumineux. */
.wa-flottant {
    position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + var(--wa-decalage, 0px)); z-index: 900;
    display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 999px;
    background: #25D366; color: #fff; border: 0;
    box-shadow: 0 4px 12px rgba(17, 19, 23, .22), 0 1px 3px rgba(17, 19, 23, .18);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
    animation: wa-entree .4s ease .6s both;
}
.wa-flottant svg { width: 32px; height: 32px; fill: currentColor; }
.wa-flottant:hover { background: #1ebe5b; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(17, 19, 23, .25), 0 2px 4px rgba(17, 19, 23, .18); }
.wa-flottant:active { transform: scale(.95); }
.wa-flottant:focus-visible { outline: 3px solid #111317; outline-offset: 3px; }
@keyframes wa-entree { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } } /* « translate » : le survol (transform) reste actif */
/* Accueil (tablette, petit ordinateur) : la navbar est posée en bas, le bouton passe au-dessus */
@media (min-width: 1024px) and (max-width: 1139px) { .page-accueil.nav-en-bas { --wa-decalage: 76px; } }
/* Fiche d'une voiture (mobile, tablette) : au-dessus de la barre du prix fixée en bas */
@media (max-width: 1023px) { .page-annonce { --wa-decalage: 132px; } }
@media (max-width: 767px) { .page-accueil { --wa-decalage: 112px; } } /* accueil mobile : au-dessus des 2 boutons du bas */
@media (max-width: 599px) { .wa-flottant { width: 56px; height: 56px; } .wa-flottant svg { width: 30px; height: 30px; } }
@media (prefers-reduced-motion: reduce) { .wa-flottant { animation: none; transition: none; } }
@media print { .wa-flottant { display: none; } }

/* ===== Pied de page commun (sauf accueil, fiche voiture et questions) =====
   Fond noir, 4 colonnes sur ordinateur, empilées sur mobile ; liens gris clair qui passent au blanc au survol. */
.pied { background: #0b0c0e; color: #a7abb3; font-family: var(--police-texte); font-size: .92rem; }
.pied-haut {
    max-width: 1200px; margin: 0 auto; padding: 3.5rem 1.5rem 2.5rem;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem;
}
.pied-nom { margin: 0 0 .75rem; color: #fff; font: 800 1.6rem/1 'Big Shoulders Display', 'Arial Narrow', sans-serif; letter-spacing: .01em; text-transform: uppercase; }
.pied-texte { margin: 0; max-width: 28ch; line-height: 1.6; }
.pied-titre { margin: 0 0 1rem; color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.pied-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.pied a { color: #a7abb3; text-decoration: none; transition: color .15s ease; }
.pied a:hover, .pied a:focus-visible { color: #fff; }
.pied-bas {
    max-width: 1200px; margin: 0 auto; padding: 1.25rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .82rem; color: #7d828c;
}
.pied-bas p { margin: 0; }
@media (max-width: 899px) { .pied-haut { grid-template-columns: 1fr 1fr; } .pied-marque { grid-column: 1 / -1; } }
@media (max-width: 479px) { .pied-haut { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.5rem; } }
/* place pour le bouton WhatsApp fixe (bas à droite) : la dernière ligne n'est jamais cachée */
.pied-bas { padding-right: 96px; }
@media (max-width: 599px) { .pied-bas { flex-direction: column; padding-right: 1.5rem; padding-bottom: calc(92px + env(safe-area-inset-bottom)); } }

/* ===== Fenêtre de recherche (bouton « Recherche » de la navbar, navbar.js) =====
   Ordinateur : panneau blanc centré sous le haut de l'écran ; mobile : plein écran. Fond de page assombri, sans effet lumineux. */
.rch {
    width: min(720px, calc(100% - 32px)); max-width: none; max-height: min(78vh, 720px); margin: 10vh auto auto; padding: 0;
    border: 0; border-radius: 20px; background: #fff; color: #111317; overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(17, 19, 23, .45); font-family: var(--police-texte);
}
.rch[open] { display: flex; animation: rch-entree .2s ease both; }
.rch::backdrop { background: rgba(17, 19, 23, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
@keyframes rch-entree { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }
.rch-boite { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.rch-form { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 20px; border-bottom: 1px solid #eceef1; }
.rch-loupe { width: 22px; height: 22px; flex: none; fill: none; stroke: #6b7080; stroke-width: 2.2; stroke-linecap: round; }
.rch-champ {
    flex: 1; min-width: 0; height: 44px; border: 0; outline: none; background: transparent;
    font: 500 1.1rem var(--police-texte); color: #111317;
}
.rch-champ::placeholder { color: #9a9ea8; font-weight: 400; }
.rch-champ::-webkit-search-cancel-button { display: none; }
.rch-effacer, .rch-fermer {
    flex: none; display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; font-family: inherit;
}
.rch-effacer { width: 34px; height: 34px; border-radius: 999px; background: #f1f2f4; color: #4b505b; }
.rch-effacer svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.rch-effacer[hidden] { display: none; }
.rch-fermer { height: 36px; padding: 0 12px; border-radius: 10px; background: transparent; color: #4b505b; font-size: .85rem; font-weight: 600; border: 1px solid #e2e4e8; }
.rch-fermer:hover, .rch-effacer:hover { background: #e9ebee; }
/* barre de chargement fine sous le champ */
.rch-form::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: #E20814; opacity: 0; }
.rch-boite.charge .rch-form::after { opacity: 1; animation: rch-charge .9s ease-in-out infinite; }
@keyframes rch-charge { 0% { left: 0; width: 0; } 50% { left: 20%; width: 50%; } 100% { left: 100%; width: 0; } }
.rch-corps { overflow-y: auto; padding: 8px 12px 16px; overscroll-behavior: contain; }
.rch-titre { margin: 14px 8px 8px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8a8f99; }
.rch-puces { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 8px; }
.rch-puce {
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid #e2e4e8;
    color: #111317; font-size: .9rem; font-weight: 500; text-decoration: none; transition: border-color .15s ease, background-color .15s ease;
}
.rch-puce:hover { border-color: #111317; }
/* Types de voitures (SUV, Berline…) : fond rouge du logo, texte blanc, mêmes coins que le bouton « Fermer » */
.rch-puce.rch-type { border-radius: 10px; border-color: #E20814; background: #E20814; color: #fff; font-weight: 600; }
.rch-puce.rch-type:hover { background: #C00711; border-color: #C00711; }
.rch-puce svg { width: 15px; height: 15px; fill: none; stroke: #8a8f99; stroke-width: 2; stroke-linecap: round; }
.rch-astuce { margin: 18px 8px 0; font-size: .82rem; line-height: 1.5; color: #8a8f99; }
.rch-compris { margin: 10px 8px 2px; font-size: .78rem; color: #8a8f99; }
.rch-info { margin: 12px 8px 6px; font-size: .92rem; line-height: 1.5; color: #4b505b; }
.rch-liste { display: grid; gap: 2px; margin-top: 6px; }
.rch-item {
    display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 14px;
    padding: 8px; border-radius: 12px; color: inherit; text-decoration: none; transition: background-color .12s ease;
}
.rch-item:hover, .rch-item.actif { background: #f3f4f6; }
.rch-item img { width: 72px; height: 54px; border-radius: 8px; object-fit: cover; background: #eceef1; }
.rch-item.vendu img { filter: grayscale(1); opacity: .8; }
.rch-item-texte { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rch-item-nom { font-weight: 600; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rch-item-meta { font-size: .8rem; color: #8a8f99; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rch-item-prix.en-baisse { color: #E20814; }
.rch-item-prix { font-weight: 700; font-size: .95rem; white-space: nowrap; font-family: var(--police-titre); letter-spacing: -.01em; }
.rch-tout {
    display: flex; align-items: center; justify-content: center; margin: 12px 8px 0; height: 46px; border-radius: 12px;
    background: #111317; color: #fff; font-weight: 600; font-size: .92rem; text-decoration: none; transition: background-color .15s ease;
}
.rch-tout:hover, .rch-tout.actif { background: #E20814; }
.rch-statut { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 599px) {
    .rch { width: 100%; max-height: none; height: 100%; height: 100dvh; margin: 0; border-radius: 0; }
    .rch-form { padding: max(10px, env(safe-area-inset-top)) 10px 10px 16px; }
    .rch-champ { font-size: 1rem; } /* 16 px : pas de zoom automatique sur iPhone */
    .rch-item { grid-template-columns: 60px minmax(0, 1fr); }
    .rch-item img { width: 60px; height: 45px; grid-row: span 2; }
    .rch-item-prix { grid-column: 2; font-size: .88rem; margin-top: -4px; }
}
@media (prefers-reduced-motion: reduce) { .rch[open] { animation: none; } .rch-boite.charge .rch-form::after { animation: none; width: 100%; opacity: .5; } }

/* ===== Accueil (mobile, tablette) : flèche + cercle dessinés à la main vers le menu (navbar.js) =====
   La flèche se trace, puis le cercle entoure le bouton, et tout s'efface. Blanc, avec une ombre douce pour rester
   lisible sur la photo. Le bouton du menu grossit un instant quand le cercle se referme. */
.nav-indice { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1001; pointer-events: none; overflow: visible;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .45)); animation: nav-indice-sortie .45s ease 2.85s forwards; }
.nav-indice path { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
    stroke-dasharray: 1; stroke-dashoffset: 1; }
.nav-indice-fleche { animation: nav-indice-trace .65s cubic-bezier(.45, 0, .2, 1) .05s forwards; }
.nav-indice-pointe { animation: nav-indice-trace .16s ease-out .68s forwards; }
.nav-indice-cercle { animation: nav-indice-trace .62s cubic-bezier(.45, 0, .25, 1) .78s forwards; }
.nav-burger.indice { animation: nav-indice-bouton .5s cubic-bezier(.34, 1.56, .64, 1) 1.3s; }
@keyframes nav-indice-trace { to { stroke-dashoffset: 0; } }
/* Mobile : l'accueil est sur fond blanc, la flèche et le cercle passent en noir */
@media (max-width: 767px) {
    .nav-indice { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .15)); }
    .nav-indice path { stroke: #111317; }
}
@keyframes nav-indice-sortie { to { opacity: 0; } }
@keyframes nav-indice-bouton { 40% { transform: scale(1.12); background: rgba(255, 255, 255, .22); } }
@media (prefers-reduced-motion: reduce) {
    .nav-indice path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
    .nav-burger.indice { animation: none; }
}
