/* =========================================================
   AZORLEARN — EN-TÊTE PRINCIPAL (v4)
   Composant indépendant : ses styles ne dépendent pas des
   pages (et ne les modifient pas).
   Police : Sora (police commune du site, voir assets/css/police.css)
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap");

.az-header,
.az-drawer,
.az-drawer-overlay,
.az-skip {
    --hz-navy: #0a1a3a;
    --hz-ink: #13234a;
    --hz-text: #3b4a6b;
    --hz-muted: #6a7a98;
    --hz-blue: #0b5fe0;
    --hz-blue-2: #2f86f5;
    --hz-sky: #43b9f2;
    --hz-amber: #f5a524;
    --hz-line: #e4ebf6;
    --hz-soft: #f3f7fe;
    --hz-font: "Sora", "Segoe UI", system-ui, Arial, sans-serif;
    --hz-top: 42px;
    --hz-bar: 88px;
}

/* ---------- Isolation (police, box-sizing, listes) ---------- */

.az-header, .az-header *, .az-header *::before, .az-header *::after,
.az-drawer, .az-drawer *, .az-drawer *::before, .az-drawer *::after {
    box-sizing: border-box;
    font-family: var(--hz-font) !important;
}

.az-header ul, .az-drawer ul { list-style: none; margin: 0; padding: 0; }
.az-header a, .az-drawer a { text-decoration: none !important; color: inherit; }
.az-header button, .az-drawer button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
.az-header img, .az-drawer img { display: block; max-width: 100%; }

.az-h-ico {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.az-h-wrap {
    width: min(1400px, calc(100% - 40px));
    margin-inline: auto;
}

/* ---------- Lien d'évitement (accessibilité) ---------- */

.az-skip {
    position: fixed;
    top: -60px;
    left: 16px;
    z-index: 100600;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--hz-blue);
    color: #fff;
    font: 600 14px var(--hz-font);
    text-decoration: none;
    transition: top .2s;
}
.az-skip:focus { top: 12px; }

/* =========================================================
   CONTENEUR COLLANT
   La barre d'infos défile, la barre principale reste visible.
   ========================================================= */

.az-header {
    position: sticky;
    top: calc(-1 * var(--hz-top));
    z-index: 10000;
    width: 100%;
}

/* ---------- Barre d'informations ---------- */

.az-topbar {
    height: var(--hz-top);
    background: linear-gradient(90deg, #071633 0%, #0b2a63 60%, #0b3f93 100%);
    color: #cfdcf5;
    font-size: 13px;
}

.az-topbar__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.az-topbar__info { display: flex; align-items: center; gap: 26px; }
.az-topbar__info li,
.az-topbar__info a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.az-topbar__info a:hover { color: #fff; }
.az-topbar__info .az-h-ico { width: 15px; height: 15px; color: var(--hz-sky); }

.az-topbar__right { display: flex; align-items: center; gap: 18px; }

.az-topbar__promo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.az-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, .6);
    animation: az-ping 2s infinite;
}

@keyframes az-ping {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); }
    80%, 100% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
}

.az-topbar__social { display: flex; gap: 4px; padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .16); }

/* ---------- Réseaux sociaux ---------- */

.az-social {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #cfdcf5;
    transition: background .25s, color .25s, transform .25s;
}
.az-social svg { width: 15px; height: 15px; fill: currentColor; }
.az-social:hover { transform: translateY(-2px); color: #fff; }
.az-social--fb:hover { background: #1877f2; }
.az-social--in:hover { background: #0a66c2; }
.az-social--yt:hover { background: #ff0000; }
.az-social--ig:hover { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }

/* =========================================================
   BARRE PRINCIPALE
   ========================================================= */

.az-bar {
    position: relative;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(170%) blur(14px);
            backdrop-filter: saturate(170%) blur(14px);
    border-bottom: 1px solid var(--hz-line);
    transition: box-shadow .3s, background .3s;
}

.az-header.is-scrolled .az-bar {
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 10px 30px rgba(10, 26, 58, .08);
}

.az-bar__inner {
    height: var(--hz-bar);
    display: flex;
    align-items: center;
    gap: 26px;
    transition: height .3s;
}

.az-header.is-scrolled .az-bar__inner { height: 76px; }

/* ---------- Logo ---------- */

.az-brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }

.az-brand__logo {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(11, 95, 224, .16), inset 0 0 0 1px var(--hz-line);
    transition: transform .35s;
}
.az-brand__logo img { width: 46px; height: 46px; object-fit: contain; }
.az-brand:hover .az-brand__logo { transform: rotate(-6deg) scale(1.04); }

.az-brand__text { position: relative; display: flex; flex-direction: column; justify-content: center; padding-left: 14px; line-height: 1.1; }
/* Barre verticale entre l'icône et le texte */
.az-brand__text::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 46px;
    border-radius: 3px;
    background: linear-gradient(180deg, #0b5fe0, #43b9f2);
    transform: translateY(-50%);
}

.az-brand__name {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
    white-space: nowrap;
}
.az-azor { color: #1255a6; }
.az-learn { color: var(--hz-sky); }

.az-brand__tag {
    margin-top: 5px;
    color: var(--hz-ink);
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

/* ---------- Navigation PC ---------- */

.az-nav { margin-inline: auto; }   /* menu centré : séparé du logo et des boutons */
.az-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border-radius: 999px;
    background: var(--hz-soft);
    border: 1px solid var(--hz-line);
    box-shadow: inset 0 1px 2px rgba(10, 26, 58, .04);
}
.az-nav__item { position: relative; }

.az-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    color: var(--hz-ink) !important;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.01em;
    white-space: nowrap;
    transition: color .25s, background .25s;
}

.az-nav__link .az-h-ico { width: 15px; height: 15px; transition: transform .3s; }

.az-nav__link::after {
    display: none;
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 5px;
    height: 2.5px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--hz-blue), var(--hz-sky));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}

.az-nav__link:hover,
.az-nav__item:focus-within > .az-nav__link { color: var(--hz-blue) !important; background: #fff; }

.az-nav__link.is-active {
    color: #fff !important;
    background: linear-gradient(135deg, var(--hz-blue), var(--hz-blue-2)) !important;
    box-shadow: 0 8px 18px rgba(11, 95, 224, .3);
}
.az-nav__link.is-active::after { transform: scaleX(1); }

/* ---------- Menus déroulants ---------- */

.az-drop {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    z-index: 5;
    background: #fff;
    border: 1px solid var(--hz-line);
    border-radius: 18px;
    box-shadow: 0 30px 70px rgba(10, 26, 58, .16), 0 6px 18px rgba(10, 26, 58, .06);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity .25s, transform .25s, visibility 0s linear .25s;
}

/* Pont invisible : le menu ne se ferme pas entre le lien et le panneau */
.az-drop::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -16px;
    height: 16px;
}

/* Petite flèche */
.az-drop::after {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 13px;
    height: 13px;
    background: #fff;
    border-left: 1px solid var(--hz-line);
    border-top: 1px solid var(--hz-line);
    transform: translateX(-50%) rotate(45deg);
}

@media (min-width: 1241px) {
    .az-has-drop:hover > .az-drop,
    .az-has-drop:focus-within > .az-drop,
    .az-has-drop.is-open > .az-drop {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
        transition: opacity .25s, transform .25s, visibility 0s;
    }

    .az-has-drop:hover > .az-nav__link .az-h-ico,
    .az-has-drop:focus-within > .az-nav__link .az-h-ico { transform: rotate(180deg); }
}

.az-drop--list { width: 330px; padding: 10px; }

.az-drop__link {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 10px 12px;
    border-radius: 12px;
    transition: background .2s;
}
.az-drop__link:hover { background: var(--hz-soft); }

.az-drop__link strong {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--hz-ink);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
}
.az-drop__link strong .az-h-ico { width: 13px; height: 13px; color: var(--hz-muted); }
.az-drop__link small { display: block; color: var(--hz-muted); font-size: 12.5px; line-height: 1.4; }

.az-drop__icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #e8f1ff;
    color: var(--hz-blue);
    transition: background .25s, color .25s, transform .25s;
}
.az-drop__link:hover .az-drop__icon { background: var(--hz-blue); color: #fff; transform: scale(1.06); }

/* ---------- Mega-menu Formations ---------- */

/* Le mega-menu se centre sur la barre (et non sur le lien) */
.az-bar__inner { position: relative; }
.az-has-mega { position: static !important; }
.az-mega { top: calc(100% - 2px); }
.az-mega::before { top: -24px; height: 24px; }
.az-mega::after { display: none; }

.az-mega {
    width: min(960px, calc(100vw - 48px));
    display: grid;
    grid-template-columns: 1fr 270px;
    gap: 10px;
    padding: 12px;
}

.az-mega__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 6px;
}

.az-mega__col {
    padding: 12px;
    border-radius: 14px;
    transition: background .25s;
}
.az-mega__col:hover { background: color-mix(in srgb, var(--c) 6%, #fff); }

.az-mega__cat {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--hz-ink);
    font-size: 15px;
}
.az-mega__cat strong { font-weight: 800; }
.az-mega__cat:hover strong { color: var(--c); }

.az-mega__icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: color-mix(in srgb, var(--c) 13%, #fff);
    color: var(--c);
}

.az-mega__col li a {
    position: relative;
    display: block;
    padding: 6px 0 6px 18px;
    color: var(--hz-text);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.4;
    transition: color .2s, transform .2s;
}
.az-mega__col li a::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c);
    opacity: .45;
    transform: translateY(-50%);
}
.az-mega__col li a:hover { color: var(--c); transform: translateX(3px); }

.az-mega__promo {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px;
    border-radius: 14px;
    background:
        radial-gradient(circle at 110% -10%, rgba(67, 185, 242, .55), transparent 55%),
        linear-gradient(150deg, #0b2a63, #0a1a3a);
    color: #c9d8f3;
}

.az-mega__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(245, 165, 36, .18);
    color: #ffc461;
    font-size: 12px;
    font-weight: 700;
}
.az-mega__badge .az-h-ico { width: 14px; height: 14px; }

.az-mega__promo strong { color: #fff; font-size: 18px; font-weight: 800; line-height: 1.3; }
.az-mega__promo p { margin: 0; font-size: 13px; line-height: 1.55; }

.az-mega__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding: 11px 16px;
    border-radius: 11px;
    background: var(--hz-amber);
    color: #1a1300 !important;
    font-size: 14px;
    font-weight: 800;
    transition: transform .25s, filter .25s;
}
.az-mega__cta:hover { transform: translateY(-2px); filter: brightness(1.06); }

.az-mega__all { text-align: center; color: #fff !important; font-size: 13px; font-weight: 600; text-decoration: underline !important; text-underline-offset: 3px; }

/* ---------- Boutons d'action ---------- */

.az-bar__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.az-btn-main,
.az-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 15.5px;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
}

.az-btn-main {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--hz-blue) 0%, var(--hz-blue-2) 100%);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(11, 95, 224, .32);
}
.az-btn-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    animation: az-shine 4.5s infinite;
}
@keyframes az-shine { 0%, 70% { left: -80%; } 100% { left: 130%; } }

.az-btn-main .az-h-ico { transition: transform .25s; }
.az-btn-main:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(11, 95, 224, .4); }
.az-btn-main:hover .az-h-ico { transform: translateX(3px); }

.az-btn-ghost {
    border: 1.5px solid #cfe0fa;
    background: #fff;
    color: var(--hz-blue) !important;
}
.az-btn-ghost:hover { border-color: var(--hz-blue); background: var(--hz-soft); }

.az-btn-block { width: 100%; height: 54px; font-size: 16px; }

/* ---------- Barre de progression de lecture ---------- */

.az-progress {
    position: absolute;
    left: 0;
    bottom: -1px;
    z-index: 2;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, var(--hz-blue), var(--hz-sky), var(--hz-amber));
    transform: scaleX(0);
    transform-origin: left;
}

/* =========================================================
   OFFRE SPÉCIALE (petit bouton vers la page promotion)
   ========================================================= */

/* Lien dans la barre d'informations (PC) */
a.az-topbar__promo { transition: color .2s; }
a.az-topbar__promo b { display: inline-flex; align-items: center; gap: 4px; margin-left: 6px; color: #ffc461; font-weight: 700; }
a.az-topbar__promo b .az-h-ico { width: 13px; height: 13px; transition: transform .2s; }
a.az-topbar__promo:hover b .az-h-ico { transform: translateX(3px); }

/* Bouton dans la barre principale */
.az-offer {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 50px;
    padding: 0 16px 0 6px;
    border-radius: 999px;
    background: #fff7e6;
    border: 1.5px solid #ffd98a;
    color: #7a4a00 !important;
    white-space: nowrap;
    transition: transform .25s, box-shadow .25s, background .25s;
}
.az-offer:hover { transform: translateY(-2px); background: #fff0d1; box-shadow: 0 10px 22px rgba(245, 165, 36, .25); }

.az-offer__icon {
    position: relative;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5a524, #f0892b);
    color: #fff;
}
.az-offer__icon .az-h-ico { width: 19px; height: 19px; stroke-width: 2; animation: az-gift 2.8s ease-in-out infinite; }
@keyframes az-gift { 0%, 70%, 100% { transform: none; } 78% { transform: rotate(-12deg); } 86% { transform: rotate(10deg); } 94% { transform: rotate(-6deg); } }

.az-offer__dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #e5484d;
}

.az-offer__text { display: grid; font-size: 14px; font-weight: 700; line-height: 1.15; }
.az-offer__text small { color: #b06a00; font-size: 11px; font-weight: 600; letter-spacing: .02em; }

/* Carte « Offre spéciale » dans le tiroir mobile */
.az-m-promo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0 8px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff7e6;
    border: 1.5px solid #ffd98a;
    color: #7a4a00 !important;
}
.az-m-promo > span:first-child {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5a524, #f0892b);
    color: #fff;
}
.az-m-promo > span:nth-child(2) { flex: 1; display: grid; line-height: 1.3; }
.az-m-promo b { font-size: 15px; font-weight: 700; }
.az-m-promo small { color: #9a6200; font-size: 12.5px; }
.az-m-promo > .az-h-ico { color: #f0892b; }

/* ---------- Bouton burger ---------- */

.az-burger {
    display: none;
    width: 50px;
    height: 50px;
    padding: 0 14px;
    border-radius: 50% !important;
    background: var(--hz-soft) !important;
    box-shadow: inset 0 0 0 1px var(--hz-line);
}
.az-burger span {
    display: block;
    height: 2.4px;
    margin: 5px 0;
    border-radius: 3px;
    background: var(--hz-blue);
    transition: transform .3s, opacity .3s, width .3s;
}
.az-burger span:nth-child(2) { width: 70%; margin-left: auto; }
.az-burger:hover span:nth-child(2) { width: 100%; }

/* =========================================================
   TIROIR MOBILE
   ========================================================= */

.az-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 100400;
    background: rgba(7, 18, 42, .55);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .3s;
}
.az-drawer-overlay.is-open { opacity: 1; }

.az-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100500;
    width: min(420px, 100%);
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: -20px 0 60px rgba(7, 18, 42, .25);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .4s;
}
.az-drawer.is-open {
    transform: none;
    visibility: visible;
    transition: transform .4s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}

.az-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--hz-line);
}
.az-brand--small .az-brand__logo { width: 40px; height: 40px; }
.az-brand--small .az-brand__logo img { width: 30px; height: 30px; }
.az-brand--small .az-brand__name { font-size: 22px; }

.az-drawer__close {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px !important;
    background: var(--hz-soft) !important;
    color: var(--hz-ink) !important;
    transition: transform .3s, background .3s;
}
.az-drawer__close:hover { transform: rotate(90deg); background: #e4edfb !important; }
.az-drawer__close .az-h-ico { width: 22px; height: 22px; }

.az-drawer__body { flex: 1; overflow-y: auto; padding: 10px 18px 26px; overscroll-behavior: contain; }
.az-drawer__cta .az-btn-main,
.az-drawer__cta .az-btn-ghost { display: flex !important; width: 100%; height: 52px; padding: 0 20px; font-size: 15.5px; }
.az-drawer__cta .az-btn-ghost { border-color: #cfe0fa; background: var(--hz-soft); }
.az-drawer__cta .az-h-ico { width: 18px; height: 18px; }

.az-m-list > li { border-bottom: 1px solid #eef2f9; }

.az-m-link {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 16px 4px !important;
    color: var(--hz-ink) !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    text-align: left;
}
.az-m-link .az-h-ico { width: 18px; height: 18px; transition: transform .3s; color: var(--hz-muted); }
.az-m-acc.is-open > .az-m-link { color: var(--hz-blue) !important; }
.az-m-acc.is-open > .az-m-link .az-h-ico { transform: rotate(180deg); color: var(--hz-blue); }

.az-m-panel {
    display: grid;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s;
}
.az-m-acc.is-open > .az-m-panel { padding-bottom: 14px; }

.az-m-panel > a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 8px;
    border-radius: 12px;
    color: var(--hz-text);
    font-size: 15px;
    font-weight: 600;
}
.az-m-panel > a:hover { background: var(--hz-soft); color: var(--hz-blue); }
.az-m-panel .az-drop__icon { width: 34px; height: 34px; flex-basis: 34px; }

.az-m-all {
    justify-content: space-between;
    background: var(--hz-soft);
    color: var(--hz-blue) !important;
}

.az-m-cat { padding: 6px 8px; }
.az-m-cat__title { display: flex; align-items: center; gap: 10px; color: var(--hz-ink); font-size: 15px; font-weight: 800; }
.az-m-cat .az-mega__icon { width: 32px; height: 32px; flex-basis: 32px; }
.az-m-sub {
    display: block;
    margin: 6px 0 0 42px;
    padding-left: 12px;
    border-left: 2px solid color-mix(in srgb, var(--c) 35%, #fff);
    color: var(--hz-text);
    font-size: 14px;
    line-height: 1.45;
}
.az-m-sub:hover { color: var(--c); }

.az-m-offer {
    justify-content: center;
    margin-top: 6px;
    background: linear-gradient(135deg, #0b2a63, #0a1a3a);
    color: #fff !important;
}

.az-drawer__cta { display: grid; gap: 10px; margin-top: 22px; }

.az-drawer__contact {
    display: grid;
    gap: 10px;
    margin-top: 22px;
    padding: 16px;
    border-radius: 16px;
    background: var(--hz-soft);
}
.az-drawer__contact a { display: flex; align-items: center; gap: 10px; color: var(--hz-ink); font-size: 14.5px; font-weight: 600; }
.az-drawer__contact .az-h-ico { color: var(--hz-blue); }

.az-drawer__social { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.az-drawer__social .az-social { width: 42px; height: 42px; background: var(--hz-soft); color: var(--hz-ink); }
.az-drawer__social .az-social svg { width: 18px; height: 18px; }
.az-drawer__social .az-social:hover { color: #fff; }

body.az-menu-open { overflow: hidden; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Espace étudiant : bouton rond (icône) dans l'en-tête, libellé en info-bulle */
.az-bar__actions .az-btn-ghost { position: relative; width: 50px; padding: 0; }
.az-bar__actions .az-btn-ghost span {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--hz-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -4px);
    transition: opacity .2s, transform .2s, visibility .2s;
    pointer-events: none;
}
.az-bar__actions .az-btn-ghost:hover span,
.az-bar__actions .az-btn-ghost:focus-visible span { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* La navigation ne peut jamais pousser les boutons hors de l'écran */
.az-bar__inner { min-width: 0; }
.az-nav { min-width: 0; }
.az-bar__actions { margin-left: 0; }

@media (max-width: 1500px) {
    /* Moins de place : le bouton devient une simple icône (texte en info-bulle) */
    .az-offer { width: 50px; padding: 0; justify-content: center; }
    .az-offer__text { display: none; }
}

@media (max-width: 1400px) {
    .az-nav__link { padding: 0 14px; font-size: 15.5px; }
    /* Logo un peu plus compact pour garder la description visible */
    .az-brand { gap: 10px; }
    .az-brand__logo { width: 52px; height: 52px; border-radius: 16px; }
    .az-brand__logo img { width: 41px; height: 41px; }
    .az-brand__text { padding-left: 12px; }
    .az-brand__name { font-size: 26px; }
    .az-brand__tag { font-size: 10.5px; }
}

@media (max-width: 1240px) {
    .az-header { --hz-top: 0px; }
    .az-topbar, .az-nav, .az-bar__actions .az-btn-ghost { display: none; }
    .az-brand__tag { display: block; }
    .az-burger { display: block; }
    .az-bar__inner { justify-content: space-between; height: 76px; }
    .az-header.is-scrolled .az-bar__inner { height: 70px; }
    /* Tablette / mobile : pas de bouton S'inscrire dans l'en-tête
       (il reste disponible dans le menu mobile) */
    .az-bar__actions .az-btn-main { display: none; }
}

@media (max-width: 560px) {
    .az-offer { width: 46px; height: 46px; }
    .az-h-wrap { width: calc(100% - 28px); }
    .az-bar__inner { gap: 10px; height: 70px; }
    .az-header.is-scrolled .az-bar__inner { height: 66px; }
    .az-brand { gap: 10px; }
    .az-brand__logo { width: 50px; height: 50px; border-radius: 15px; }
    .az-brand__logo img { width: 39px; height: 39px; }
    .az-brand__name { font-size: 25px; }
    .az-brand__tag { font-size: 9.5px; margin-top: 4px; }
    .az-brand__text { padding-left: 11px; }
    .az-brand__text::before { height: 40px; }
    .az-burger { width: 46px; height: 46px; padding: 0 12px; }
}

@media (max-width: 370px) {
    .az-brand { gap: 8px; }
    .az-brand__logo { width: 44px; height: 44px; border-radius: 13px; }
    .az-brand__logo img { width: 34px; height: 34px; }
    .az-brand__text { padding-left: 9px; }
    .az-brand__text::before { height: 36px; width: 2.5px; }
    .az-brand__name { font-size: 21px; }
    .az-brand__tag { font-size: 8.5px; }
}

@media (prefers-reduced-motion: reduce) {
    .az-header *, .az-drawer, .az-drawer * { animation: none !important; transition: none !important; }
}
