/* =====================================================================
   entete.css : en-tête clair du site FR
   Bureau (≥ 1024 px) : menu complet visible avec méga-menus au survol / clic / clavier.
   Mobile : bouton menu → panneau plein écran avec accordéons.
   Hauteur : 64 px bureau, 56 px mobile (variable --et-h lue par les pages).
   ===================================================================== */
:root { --et-h: 64px; }
@media (max-width: 1023px) { :root { --et-h: 56px; } }

.et { position: fixed; top: 0; left: 0; right: 0; z-index: 99999; font-family: "Satoshi", "Segoe UI", Roboto, Arial, sans-serif; color: #0F172A; }
.et *, .et *::before, .et *::after { box-sizing: border-box; }
.et-barre { height: var(--et-h); background: #fff; border-bottom: 1px solid #CBD5E1; transition: box-shadow .2s; }
.et.et-ombre .et-barre { box-shadow: 0 8px 24px -16px rgba(15,23,42,.35); }
.et-int { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 100%; display: flex; align-items: center; gap: 22px; }
.et-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.et-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #0F172A; font-family: "Archivo", "Satoshi", sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -0.02em; flex: none; }
.et-logo img { width: 34px; height: 34px; border-radius: 8px; display: block; }
.et-logo b { font-weight: 500; color: #44546A; }

/* ---------- menu bureau ---------- */
.et-nav { flex: 1 1 auto; min-width: 0; }
.et-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.et-item { position: static; }
.et-lien { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 12px; border: 0; background: none; border-radius: 6px; font: 600 15px/1 inherit; font-family: inherit; color: #0F172A; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.et-lien svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.et-lien:hover, .et-lien:focus-visible, .et-lien[aria-expanded="true"] { background: #EEF2F6; color: #0B3D91; }
.et-lien[aria-expanded="true"] svg { transform: rotate(180deg); }
.et-lien.et-actif { box-shadow: inset 0 -3px 0 #F28C28; border-radius: 6px 6px 0 0; }
.et :focus-visible { outline: 3px solid #F28C28; outline-offset: 2px; }

/* méga-menu : panneau pleine largeur sous la barre */
.et-mega { position: absolute; left: 0; right: 0; top: var(--et-h); background: #fff; border-bottom: 1px solid #CBD5E1; box-shadow: 0 30px 50px -30px rgba(15,23,42,.45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s; }
.et-item.et-ouvert > .et-mega { opacity: 1; visibility: visible; transform: none; transition: opacity .16s ease, transform .16s ease; }
@media (hover: hover) and (min-width: 1024px) {
    .et-item.et-a-sous:hover > .et-mega, .et-item.et-a-sous:focus-within > .et-mega { opacity: 1; visibility: visible; transform: none; transition: opacity .16s ease, transform .16s ease; }
    .et-item.et-a-sous:hover > .et-lien { background: #EEF2F6; color: #0B3D91; }
}
.et-mega-int { max-width: 1200px; margin: 0 auto; padding: 28px 20px 30px; display: grid; gap: 32px; }
.et-mega-4 { grid-template-columns: 1.15fr 1fr 1fr 1fr; }
.et-mega-3 { grid-template-columns: repeat(3, 1fr); }
.et-mega-2 { grid-template-columns: 1fr 1fr; max-width: 820px; margin-left: 0; }
.et-col h3 { margin: 0 0 10px; font-family: "Archivo", "Satoshi", sans-serif; font-weight: 800; font-size: 15px; letter-spacing: -0.01em; color: #0F172A; }
.et-col h3.et-h3-suite { margin-top: 20px; }
.et-col p { margin: 0 0 12px; font-size: 14px; line-height: 1.5; color: #44546A; text-align: left; }
.et-liste { list-style: none; margin: 0; padding: 0; }
.et-liste li a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14.5px; color: #0F172A; text-decoration: none; border-radius: 4px; }
.et-liste li a small { font-size: 12px; color: #44546A; white-space: nowrap; font-variant-numeric: tabular-nums; }
.et-liste li a:hover { color: #0B3D91; text-decoration: underline; text-underline-offset: 3px; }
.et-regions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.et-regions li a { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 13.5px; color: #0F172A; text-decoration: none; }
.et-regions li a i { width: 10px; height: 10px; border-radius: 2px; background: var(--rc, #DCE3EE); border: 1px solid rgba(15,23,42,.12); flex: none; }
.et-regions li a:hover { color: #0B3D91; text-decoration: underline; text-underline-offset: 3px; }
.et-cta { display: inline-block; margin: 2px 0 6px; padding: 10px 14px; border-radius: 5px; background: #0B3D91; color: #fff; font-family: "Archivo", "Satoshi", sans-serif; font-weight: 700; font-size: 13.5px; text-decoration: none; transition: background .15s; }
.et-cta:hover { background: #082C6B; color: #fff; }
.et-cta-orange { background: #F28C28; }
.et-cta-orange:hover { background: #C86A0E; }
.et-plus { display: inline-block; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: #0B3D91; text-decoration: none; border-bottom: 1px solid #DCE3EE; }
.et-plus:hover { border-bottom-color: #0B3D91; }
.et-col-mesure { background: #EEF2F6; border-radius: 8px; padding: 18px; }
.et-col-mesure .et-plus { display: block; margin-top: 12px; }

/* recherche et contact */
.et-recherche { display: flex; align-items: center; height: 40px; width: 230px; flex: none; background: #EEF2F6; border-radius: 6px; padding: 0 4px 0 12px; }
.et-recherche input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent; font: 400 14px/1 inherit; font-family: inherit; color: #0F172A; }
.et-recherche input::placeholder { color: #6B7A90; }
.et-recherche input:focus { outline: none; }
.et-recherche:focus-within { box-shadow: 0 0 0 3px #F28C28; }
.et-recherche button { width: 32px; height: 32px; border: 0; border-radius: 4px; background: transparent; color: #0B3D91; cursor: pointer; display: grid; place-items: center; }
.et-recherche button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.et-recherche button:hover { background: #fff; }
.et-contact { flex: none; display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 6px; background: #F28C28; color: #fff; font-family: "Archivo", "Satoshi", sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .01em; text-decoration: none; transition: background .15s; }
.et-contact:hover { background: #C86A0E; color: #fff; }

/* bouton menu (mobile) */
.et-burger { display: none; flex: none; width: 44px; height: 44px; margin-left: auto; border: 0; background: transparent; border-radius: 6px; cursor: pointer; position: relative; }
.et-burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #0F172A; border-radius: 2px; transition: transform .2s, opacity .2s, top .2s; }
.et-burger span:nth-child(1) { top: 14px; }
.et-burger span:nth-child(2) { top: 21px; }
.et-burger span:nth-child(3) { top: 28px; }
.et-burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.et-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.et-burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- panneau mobile plein écran ---------- */
.et-panneau { position: fixed; top: var(--et-h); left: 0; right: 0; bottom: 0; background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.et-panneau[hidden] { display: none; }
.et-panneau-int { padding: 16px 20px 40px; max-width: 640px; margin: 0 auto; }
.et-recherche-mobile { width: 100%; height: 48px; margin-bottom: 8px; }
.et-acc { border-bottom: 1px solid #CBD5E1; }
.et-acc summary { display: flex; align-items: center; justify-content: space-between; list-style: none; padding: 16px 0; font-family: "Archivo", "Satoshi", sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; cursor: pointer; }
.et-acc summary::-webkit-details-marker { display: none; }
.et-acc summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.et-acc[open] summary svg { transform: rotate(180deg); }
.et-acc-corps { padding: 0 0 16px; }
.et-acc-corps h4 { margin: 18px 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #44546A; }
.et-acc-lien { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 0; font-size: 16px; color: #0F172A; text-decoration: none; }
.et-acc-lien small { font-size: 13px; color: #44546A; }
.et-acc-fort { font-weight: 700; }
.et-acc-seul { border-bottom: 1px solid #CBD5E1; padding: 16px 0; font-family: "Archivo", "Satoshi", sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.et-panneau .et-liste li a { padding: 8px 0; font-size: 15px; }
.et-panneau .et-regions { grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.et-panneau .et-regions li a { padding: 6px 0; font-size: 14.5px; }
.et-contact-mobile { display: flex; justify-content: center; height: 52px; margin-top: 24px; font-size: 16px; }
.et-pays { display: block; margin-top: 18px; text-align: center; font-size: 13.5px; color: #44546A; }
body.et-ouvert { overflow: hidden; }

/* ---------- réactif ---------- */
@media (max-width: 1279px) {
    .et-recherche { width: 190px; }
    .et-lien { padding: 0 9px; font-size: 14.5px; }
    .et-int { gap: 14px; }
}
@media (max-width: 1023px) {
    .et-nav, .et-recherche:not(.et-recherche-mobile), .et-contact:not(.et-contact-mobile) { display: none; }
    .et-burger { display: block; }
    .et-logo { font-size: 20px; }
    .et-logo img { width: 30px; height: 30px; }
}

/* ---------- raccords avec les pages ---------- */
/* Le catalogue et le reste du site réservaient 55 px sous l'ancien bandeau noir. */
.cq { padding-top: var(--et-h); }
.cq-reglette { top: var(--et-h); }
.sticky-search-bar { top: var(--et-h); }
.home-hero { padding-top: calc(var(--et-h) + 6px) !important; }
