/* =============================================================
   NAVIGATION AWL (refonte octobre 2026)
   Barre fixe, méga-menus pleine largeur, menu mobile.
   Couleurs de la charte : jaune volt, noir, gris zinc.
   ============================================================= */
:root {
    --awl-volt: #facc15;
    --awl-volt-50: #fefce8;
    --awl-volt-600: #ca8a04;
    --awl-dark: #09090b;
    --awl-zinc-50: #fafafa;
    --awl-zinc-100: #f4f4f5;
    --awl-zinc-200: #e4e4e7;
    --awl-zinc-500: #71717a;
    --awl-zinc-600: #52525b;
    --awl-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --awl-header-h: 80px;
}

.awl-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.awl-header.is-solid {
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom-color: var(--awl-zinc-200);
    box-shadow: 0 1px 2px rgba(9, 9, 11, .04);
}
.awl-bar {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 24px;
    height: var(--awl-header-h);
    display: flex;
    align-items: center;
    gap: 24px;
    transition: height .25s ease;
}
.awl-header.is-scrolled { --awl-header-h: 68px; }

.awl-logo { display: inline-flex; align-items: center; flex-shrink: 0; border-radius: 8px; }
.awl-logo img { height: 44px; width: auto; display: block; }
.awl-header.is-scrolled .awl-logo img { height: 40px; }

/* ---------- Menu desktop ---------- */
.awl-menu { display: none; flex: 1; }
.awl-menu > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.awl-top {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--awl-dark);
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.awl-top:hover, .awl-top[aria-expanded="true"] { background: var(--awl-zinc-100); }
.awl-top svg { width: 14px; height: 14px; transition: transform .25s var(--awl-ease); }
.awl-top[aria-expanded="true"] svg { transform: rotate(180deg); }
/* Page courante : texte jaune de la charte souligné en jaune (onglet, lien du panneau, titre de groupe, menu mobile) */
.awl-top.is-current, .awl-acc-btn.is-current,
.awl-link[aria-current="page"] strong,
.awl-col-title a[aria-current="page"], .awl-sub a[aria-current="page"] {
    color: var(--awl-volt-600);
    text-decoration: underline;
    text-decoration-color: var(--awl-volt);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

/* Panneau pleine largeur */
.awl-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--awl-zinc-200);
    border-bottom: 1px solid var(--awl-zinc-200);
    box-shadow: 0 24px 48px -16px rgba(9, 9, 11, .14), 0 8px 16px -8px rgba(9, 9, 11, .06);
    max-height: calc(100vh - var(--awl-header-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s ease-out, transform .22s var(--awl-ease), visibility 0s linear .22s;
}
.awl-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .18s ease-out, transform .22s var(--awl-ease), visibility 0s;
}
.awl-panel-inner {
    max-width: 80rem;
    margin: 0 auto;
    padding: 20px 24px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
    align-items: start;
}
.awl-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; align-content: start; }
.awl-cols.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.awl-col-title {
    grid-column: 1 / -1;
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--awl-zinc-500);
}
.awl-group { display: flex; flex-direction: column; gap: 0; }
.awl-group .awl-col-title { margin: 0 0 4px 12px; }
.awl-group .awl-col-title a { color: var(--awl-dark); text-decoration: none; }
.awl-group .awl-col-title a:hover { color: var(--awl-volt-600); }

.awl-link {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--awl-dark);
    transition: background-color .2s ease;
}
.awl-link:hover { background: var(--awl-zinc-50); }
.awl-link strong { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; }
.awl-link span { display: block; margin-top: 1px; font-size: 13px; line-height: 1.4; color: var(--awl-zinc-600); font-weight: 500; }
.awl-link.is-small { padding: 6px 12px; }
.awl-link.is-small strong { font-size: 14.5px; }

/* Encart à droite du panneau */
.awl-feature {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 18px;
    background: var(--awl-dark);
    color: #fff;
}
.awl-feature p { margin: 0; }
.awl-feature .awl-kicker { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--awl-volt); }
.awl-feature .awl-feature-title { margin-top: 4px; font-size: 16px; line-height: 1.3; font-weight: 800; }
.awl-feature .awl-feature-text { margin-top: 4px; font-size: 13px; line-height: 1.45; color: #a1a1aa; }
.awl-feature-links { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.awl-feature-links .awl-btn { padding: 10px 16px; font-size: 14px; }
.awl-feature-link { font-size: 13.5px; font-weight: 700; color: #fff; text-decoration: underline; text-decoration-color: var(--awl-volt); text-underline-offset: 3px; }
.awl-feature-link:hover { color: var(--awl-volt); }

/* ---------- Boutons et actions à droite ---------- */
.awl-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.awl-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    color: var(--awl-dark);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease;
}
.awl-phone:hover { background: var(--awl-zinc-100); }
.awl-phone svg { width: 18px; height: 18px; }
.awl-phone-num { display: none; }

.awl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s var(--awl-ease), background-color .2s ease, box-shadow .2s ease;
}
.awl-btn-dark { background: var(--awl-dark); color: var(--awl-volt); box-shadow: 0 4px 14px rgba(9, 9, 11, .18); }
.awl-btn-dark:hover { background: #27272a; transform: translateY(-1px); }
.awl-btn-volt { background: var(--awl-volt); color: var(--awl-dark); }
.awl-btn-volt:hover { background: #eab308; transform: translateY(-1px); }
.awl-btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .16); }
.awl-btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.awl-btn-block { width: 100%; }
.awl-actions .awl-btn { display: none; }

.awl-burger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--awl-zinc-200);
    border-radius: 999px;
    background: #fff;
    color: var(--awl-dark);
    cursor: pointer;
}
.awl-burger svg { width: 22px; height: 22px; }

.awl-burger-close { display: none; }
.awl-burger[aria-expanded="true"] .awl-burger-open { display: none; }
.awl-burger[aria-expanded="true"] .awl-burger-close { display: block; }

/* ---------- Menu mobile ----------
   Panneau sombre qui s'ouvre sous la barre (la barre reste visible, le burger devient une croix).
   Rubriques : lien + bouton rond qui déplie une carte de sous-liens. */
.awl-mobile {
    position: fixed;
    top: var(--awl-mobile-top, 80px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 49; /* sous la barre (50) */
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background:
        radial-gradient(120% 55% at 0% 100%, rgba(250, 204, 21, .16), transparent 62%),
        radial-gradient(90% 40% at 100% 0%, rgba(250, 204, 21, .06), transparent 60%),
        linear-gradient(165deg, #18181b 0%, var(--awl-dark) 70%);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s ease-out, transform .3s var(--awl-ease), visibility 0s linear .3s;
}
.awl-mobile.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .22s ease-out, transform .3s var(--awl-ease), visibility 0s; }
.awl-mobile-body { display: flex; flex-direction: column; min-height: 100%; padding: 24px 16px calc(24px + env(safe-area-inset-bottom)); }

/* Grand bouton blanc en tête */
.awl-m-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 999px;
    background: #fff;
    color: var(--awl-dark);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .2s ease;
}
.awl-m-pill svg { width: 20px; height: 20px; transition: transform .2s var(--awl-ease); }
.awl-m-pill:hover { background: var(--awl-volt); }
.awl-m-pill:hover svg { transform: translateX(3px); }

/* Accroche */
.awl-m-intro { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.awl-m-kicker { margin: 0; font-size: 11.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--awl-volt); }
.awl-m-title { margin: 6px 0 0; max-width: 14rem; font-size: 24px; font-weight: 900; line-height: 1.02; letter-spacing: -.03em; text-transform: uppercase; color: #fff; }
.awl-m-badge { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--awl-volt); }
.awl-m-badge svg { width: 22px; height: 22px; }

/* Rubriques */
.awl-m-list { margin: 8px 0 0; padding: 0; list-style: none; }
.awl-acc { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.awl-acc-head { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.awl-acc-link {
    flex: 1;
    display: flex;
    align-items: center;
    min-height: 56px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
}
.awl-acc.is-current .awl-acc-link, .awl-acc-link[aria-current="page"] { color: var(--awl-volt); }
.awl-acc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    background: rgba(255, 255, 255, .05);
    color: #fff;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}
.awl-acc-btn:hover, .awl-acc-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); }
.awl-acc-btn svg { width: 20px; height: 20px; transition: transform .25s var(--awl-ease); }
.awl-acc-btn[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Carte des sous-liens */
.awl-acc-panel {
    margin: 0 0 16px;
    padding: 8px 16px 10px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: rgba(255, 255, 255, .07);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .6);
    animation: awl-m-in .28s var(--awl-ease);
}
.awl-acc-panel[hidden] { display: none; }
@keyframes awl-m-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.awl-m-group { margin: 16px 0 2px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--awl-volt); }
.awl-m-group:first-child { margin-top: 10px; }
.awl-m-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
    color: rgba(255, 255, 255, .9);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
}
.awl-m-link:hover { color: #fff; }
.awl-m-link[aria-current="page"] { color: var(--awl-volt); font-weight: 700; }

/* Raccourcis */
.awl-m-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.awl-m-quick a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease;
}
.awl-m-quick a:hover { background: rgba(255, 255, 255, .14); }

/* Boutons d'action et réseaux, calés en bas */
.awl-m-foot { margin-top: auto; padding-top: 40px; }
.awl-m-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.awl-m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 54px;
    padding: 0 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, transform .2s var(--awl-ease);
}
.awl-m-btn svg { width: 18px; height: 18px; }
.awl-m-btn:hover { transform: translateY(-1px); }
.awl-m-btn-volt { background: var(--awl-volt); color: var(--awl-dark); }
.awl-m-btn-volt:hover { background: #eab308; }
.awl-mobile .awl-m-btn-ghost { border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .1); color: #fff !important; } /* tailwind.min.css force les liens tel: en jaune avec !important */
.awl-mobile .awl-m-btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.awl-m-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.awl-m-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    color: #fff;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.awl-m-social a:hover { background: var(--awl-volt); border-color: var(--awl-volt); color: var(--awl-dark); }
.awl-m-social svg { width: 20px; height: 20px; }
html.awl-locked { overflow: hidden; }

/* Focus clavier visible partout */
.awl-header a:focus-visible, .awl-header button:focus-visible {
    outline: 2px solid var(--awl-dark);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--awl-volt);
}
.awl-mobile a:focus-visible, .awl-mobile button:focus-visible { outline: 3px solid var(--awl-volt); outline-offset: 2px; }

/* ---------- Points de rupture ---------- */
@media (min-width: 640px) {
    .awl-phone-num { display: inline; }
}
@media (min-width: 1024px) {
    .awl-menu { display: block; }
    .awl-burger { display: none; }
    .awl-actions .awl-btn { display: inline-flex; }
    .awl-mobile { display: none; }
}
@media (min-width: 1280px) {
    .awl-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
    .awl-bar { gap: 8px; padding: 0 16px; }
    .awl-logo img, .awl-header.is-scrolled .awl-logo img { height: 38px; }
    .awl-phone-num { display: none; }
    .awl-menu > ul { gap: 0; }
    .awl-top { padding: 10px 8px; font-size: 14px; }
    .awl-actions { gap: 4px; }
    .awl-actions .awl-btn { padding: 10px 16px; font-size: 14px; }
    .awl-panel-inner { grid-template-columns: minmax(0, 1fr) 260px; }
}

@media (prefers-reduced-motion: reduce) {
    .awl-header, .awl-bar, .awl-panel, .awl-panel.is-open, .awl-mobile, .awl-mobile.is-open,
    .awl-top svg, .awl-acc-btn svg, .awl-btn, .awl-m-pill svg, .awl-m-btn { transition: none; }
    .awl-panel, .awl-mobile, .awl-btn:hover, .awl-m-pill:hover svg, .awl-m-btn:hover { transform: none; }
    .awl-acc-panel { animation: none; }
}
