/* ==========================================================================
   escortbergamo.it — stylesheet
   ========================================================================== */

:root {
  --bg:            #0d0c11;
  --bg-2:          #141219;
  --surface:       #1a1822;
  --surface-2:     #221f2c;
  --line:          #2c2937;
  --line-soft:     #232030;

  --text:          #ece9f2;
  --text-2:        #a9a4b8;
  --text-3:        #736e84;

  --accent:        #ff2e63;
  --accent-hi:     #ff5480;
  --accent-dim:    rgba(255, 46, 99, .12);
  --wa:            #25d366;
  --gold:          #ffb62e;

  --radius:        14px;
  --radius-sm:     9px;
  --radius-lg:     22px;

  --shadow:        0 18px 40px -18px rgba(0,0,0,.85);
  --shadow-lg:     0 40px 80px -30px rgba(0,0,0,.9);

  --header-h:      68px;
  --maxw:          1240px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Le menu mobile est un panneau fixed pleine largeur pousse hors ecran par
     translateX(100%) : il portait la largeur du document au double du viewport
     (mesure : VW=504, scrollWidth=1008). Tout se remettait alors en page sur
     1008 px et debordait a droite. `clip` coupe ce depassement SANS casser
     position:sticky, contrairement a `hidden`. */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* scroll lock while the age gate is open */
body.is-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3.1rem); }
h2 { font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2.1rem); }
h3 { font-size: 1.12rem; }

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .18s ease;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--accent-hi);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font: inherit; font-weight: 600; font-size: .93rem;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .14s ease, background .18s ease,
              border-color .18s ease, box-shadow .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--accent), #e0154b);
  color: #fff;
  box-shadow: 0 10px 26px -12px rgba(255,46,99,.9);
}
.btn--primary:hover { box-shadow: 0 14px 32px -12px rgba(255,46,99,1); }

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-hi); }

.btn--block { width: 100%; }
.btn--sm { padding: 9px 14px; font-size: .86rem; }

.btn--tel {
  background: var(--surface-2);
  border-color: var(--line);
  color: var(--text);
}
.btn--tel:hover { border-color: var(--accent); color: var(--accent-hi); }

.btn--wa {
  background: rgba(37,211,102,.12);
  border-color: rgba(37,211,102,.35);
  color: #57e58c;
}
.btn--wa:hover { background: rgba(37,211,102,.2); border-color: var(--wa); }

/* Dimension par défaut : sans elle, un <svg class="ico"> hors bouton prend la
   taille intrinsèque du SVG et s'affiche énorme (cas du lien « Vedi tutti »). */
.ico { width: 17px; height: 17px; flex: none; }
.btn .ico { width: 17px; height: 17px; flex: none; }

/* ---------------------------------------------------------------- header */

.header {
  position: sticky; top: 0; z-index: 90;
  height: var(--header-h);
  background: rgba(13,12,17,.9);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header__inner {
  height: 100%;
  display: flex; align-items: center; gap: 20px;
}

.logo {
  display: flex; align-items: baseline; gap: 2px;
  font-weight: 800; font-size: 1.24rem; letter-spacing: -.03em;
  flex: none;
}
.logo b { color: var(--accent); font-weight: 800; }
.logo span { color: var(--text); }
.logo i {
  font-style: normal; font-size: .62rem; font-weight: 600;
  color: var(--text-3); letter-spacing: .16em; text-transform: uppercase;
  margin-left: 6px;
}

/* ------------------------------------------------------------ navigation */

.nav { margin-left: auto; }
.nav__list {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav__item { position: static; }

.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  font: inherit; font-size: .93rem; font-weight: 600;
  color: var(--text-2);
  background: none; border: 0;
  padding: 9px 14px; border-radius: 999px;
  cursor: pointer;
  transition: color .16s ease, background .16s ease;
}
.nav__link:hover,
.nav__link[aria-expanded="true"] { color: var(--text); background: var(--surface); }
.nav__link .chev {
  width: 11px; height: 11px;
  transition: transform .2s ease;
  opacity: .7;
}
.nav__link[aria-expanded="true"] .chev { transform: rotate(180deg); }

/* mega panel */
.mega {
  position: absolute;
  left: 0; right: 0; top: var(--header-h);
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.mega__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 30px 20px 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 26px 30px;
}
.mega__col { min-width: 0; }
.mega__title {
  display: block;
  font-size: .82rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 9px; margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.mega__title:hover { color: var(--accent-hi); }
.mega__links { list-style: none; margin: 0; padding: 0; }
.mega__links li + li { margin-top: 1px; }
.mega__links a {
  display: block;
  font-size: .875rem; color: var(--text-2);
  padding: 4px 8px; margin-left: -8px;
  border-radius: 6px;
  transition: color .14s ease, background .14s ease;
}
.mega__links a:hover { color: var(--text); background: var(--surface); }

.mega__foot {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
  font-size: .85rem; color: var(--text-3);
}
.mega__foot a { color: var(--accent); font-weight: 600; }

/* mobile toggle */
.burger {
  display: none;
  width: 42px; height: 42px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--text);
  margin-left: auto;
}
.burger svg { width: 20px; height: 20px; }

.header__cta { flex: none; }

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  /* volontairement court : les premieres annonces doivent depasser sous la ligne
     de flottaison, sinon le visiteur ne voit que du texte en arrivant. */
  padding: clamp(30px, 3.4vw, 48px) 0 clamp(30px, 3.4vw, 44px);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.hero::before {
  content: "";
  position: absolute; inset: -40% -10% auto -10%; height: 460px;
  background:
    radial-gradient(50% 60% at 22% 40%, rgba(255,46,99,.22), transparent 70%),
    radial-gradient(45% 55% at 78% 30%, rgba(120,60,220,.18), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}
/* Deux colonnes sur desktop : le texte laissait tout le cote droit vide et
   aucune annonce n'etait visible avant de scroller. */
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  gap: 54px;
  align-items: center;
}
/* Sans ceci, un enfant de grille garde min-width:auto et refuse de retrecir
   sous la largeur de son contenu : la rangee de vignettes (818 px) elargissait
   toute la page et poussait le burger hors de l'ecran sur mobile. */
.hero__grid > * { min-width: 0; }
.hero__inner { position: relative; max-width: 640px; }

/* --- fiche mise en avant, a droite du titre --- */
.hero__feature { min-width: 0; display: flex; justify-content: center; }
.hero__feature .card { width: 100%; max-width: 320px; }

.hero__feature-tag {
  display: block;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
  margin-bottom: 10px;
}

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 26px; }
  .hero__inner { max-width: 100%; }
}
/* Le masquage de .hero__stats sous 1080 px est dans la section RESPONSIVE en
   bas du fichier : la regle de base `.hero__stats { display:flex }` est definie
   APRES ce bloc et, a specificite egale, l'ordre source gagne sur la media
   query. Mesure a l'appui : display valait `flex` a 390 px. */

.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent-hi);
  background: var(--accent-dim);
  border: 1px solid rgba(255,46,99,.25);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.hero .eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255,46,99,.7);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(255,46,99,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,46,99,0); }
}

.hero__lead {
  font-size: clamp(1rem, .95rem + .3vw, 1.15rem);
  color: var(--text-2);
  max-width: 62ch;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 30px;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.hero__stat b {
  display: block;
  font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em;
  color: var(--text);
}
.hero__stat span { font-size: .82rem; color: var(--text-3); }

/* ------------------------------------------------------------ zone chips */

.chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 26px;
  list-style: none; padding: 0;
}
.chips a {
  display: inline-block;
  font-size: .85rem; font-weight: 500;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 7px 15px; border-radius: 999px;
  transition: all .16s ease;
}
.chips a:hover {
  color: #fff; background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------- section */

.section { padding: clamp(44px, 5.5vw, 76px) 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line-soft); }

.section__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  margin-bottom: 30px;
}
.section__head p { margin: 0; color: var(--text-2); max-width: 60ch; }
.section__head h2 { margin-bottom: .25em; }
.section__link {
  font-size: .9rem; font-weight: 600; color: var(--accent);
  display: inline-flex; align-items: center; gap: 6px;
  flex: none;
}
.section__link:hover { color: var(--accent-hi); gap: 10px; }

/* ----------------------------------------------------------------- cards */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(264px, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--surface-2);
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}
.card:hover .card__media img { transform: scale(1.045); }

/* Censor bar — drawn over the eye line of whatever image you drop in.
   Tune per photo with  style="--bar-top:26%"  on .card__media.          */
.card__media--censored::after {
  content: "";
  position: absolute;
  left: var(--bar-left, 14%);
  right: var(--bar-right, 14%);
  top: var(--bar-top, 22%);
  height: var(--bar-h, 8.5%);
  background: #000;
  border-radius: 2px;
  pointer-events: none;
}

.card__media::before {
  content: "";
  position: absolute; inset: 40% 0 0;
  background: linear-gradient(to top, rgba(13,12,17,.92) 8%, transparent);
  pointer-events: none;
}

.card__badges {
  position: absolute; top: 10px; left: 10px;
  display: flex; flex-wrap: wrap; gap: 6px;
  z-index: 2;
}
.badge {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.badge--verified { background: rgba(37,211,102,.2); color: #6ff0a0; border: 1px solid rgba(37,211,102,.4); }
.badge--new      { background: rgba(255,46,99,.22); color: #ff8aa8; border: 1px solid rgba(255,46,99,.42); }
.badge--top      { background: rgba(255,182,46,.18); color: var(--gold); border: 1px solid rgba(255,182,46,.4); }

.card__online {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .7rem; font-weight: 600;
  color: #d8ffe6;
  background: rgba(10,10,14,.6);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.09);
  padding: 4px 10px; border-radius: 999px;
}
.card__online i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--wa); animation: pulse 2s infinite;
}

.card__caption {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2;
}
.card__name {
  display: flex; align-items: baseline; gap: 7px;
  font-size: 1.14rem; font-weight: 700; letter-spacing: -.02em;
  margin: 0;
}
.card__name em {
  font-style: normal; font-size: .88rem; font-weight: 500;
  color: var(--text-2);
}
.card__place {
  display: flex; align-items: center; gap: 5px;
  font-size: .82rem; color: var(--text-2);
  margin-top: 2px;
}
.card__place svg { width: 13px; height: 13px; opacity: .8; flex: none; }

.card__body { padding: 14px; display: flex; flex-direction: column; flex: 1; }

.rating { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.stars { display: inline-flex; gap: 1px; }
.stars svg { width: 14px; height: 14px; }
.stars .on  { fill: var(--gold); }
.stars .off { fill: #3a3646; }
.rating span { font-size: .78rem; color: var(--text-3); }

.card__text {
  font-size: .875rem; line-height: 1.55;
  color: var(--text-2);
  margin: 0 0 12px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__tags {
  display: flex; flex-wrap: wrap; gap: 5px;
  list-style: none; margin: 0 0 14px; padding: 0;
}
.card__tags li {
  font-size: .71rem; color: var(--text-3);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  padding: 3px 8px; border-radius: 5px;
}

.card__actions {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-top: auto;
}

/* --------------------------------------------------------------- zone map */

.zones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.zone {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
}
.zone h3 {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 6px;
}
.zone h3 svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.zone > p { font-size: .875rem; color: var(--text-3); margin-bottom: 14px; }
.zone ul {
  list-style: none; margin: 0 0 16px; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.zone ul a {
  font-size: .82rem; color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  padding: 5px 11px; border-radius: 999px;
  display: inline-block;
  transition: all .15s ease;
}
.zone ul a:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.zone__more { font-size: .85rem; font-weight: 600; color: var(--accent); }

/* --------------------------------------------------------------- how-to */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; top: -15px; left: 22px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  font-size: .9rem; font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #e0154b);
  border: 3px solid var(--bg-2);
  border-radius: 50%;
}
.step h3 { font-size: 1rem; margin-bottom: .35em; }
.step p { font-size: .875rem; color: var(--text-2); margin: 0; }

/* ------------------------------------------------------------- seo block */

.prose { max-width: 78ch; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; font-size: 1.05rem; color: var(--text); }
.prose p, .prose li { color: var(--text-2); font-size: .95rem; }
.prose ul { padding-left: 1.15em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }

/* --------------------------------------------------------------- cta band */

.cta-band {
  position: relative;
  background:
    radial-gradient(70% 130% at 50% 0%, rgba(255,46,99,.2), transparent 68%),
    var(--surface);
  border: 1px solid rgba(255,46,99,.22);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4.5vw, 54px);
  text-align: center;
}
.cta-band h2 { margin-bottom: .35em; }
.cta-band p { color: var(--text-2); max-width: 58ch; margin-inline: auto; }
.cta-band .btn { margin-top: 18px; }
.cta-band small { display: block; margin-top: 14px; font-size: .78rem; color: var(--text-3); }

/* ---------------------------------------------------------------- footer */

.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line-soft);
  padding: 52px 0 26px;
  font-size: .875rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-soft);
}
.footer__about p { color: var(--text-3); font-size: .85rem; max-width: 38ch; margin-top: 12px; }
.footer h4 {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li + li { margin-top: 7px; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--accent-hi); }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  padding-top: 22px;
  font-size: .8rem; color: var(--text-3);
}
.footer__bottom p { margin: 0; }

.age-mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px;
  font-size: .72rem; font-weight: 800;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 50%;
  flex: none;
}

.disclaimer {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: .78rem; line-height: 1.6;
  color: var(--text-3);
}

/* =============================================================== STICKYBAR */

/* Barre d'appel permanente. z-index sous le gate (1000) : quand la modale
   s'ouvre, la barre doit disparaitre, pas rester par-dessus. */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: rgba(18, 16, 24, .93);
  backdrop-filter: saturate(150%) blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -14px 34px -20px rgba(0,0,0,.9);
  transform: translateY(115%);
  transition: transform .32s cubic-bezier(.2,.8,.3,1);
}
.stickybar.is-visible { transform: translateY(0); }
body.is-locked .stickybar { transform: translateY(115%); }

.stickybar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding-block: 11px;
}
.stickybar__text { min-width: 0; }
.stickybar__text strong {
  display: flex; align-items: center; gap: 8px;
  font-size: .95rem; line-height: 1.3;
}
.stickybar__text strong::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--wa); flex: none;
  animation: pulse 2s infinite;
}
.stickybar__text span {
  display: block;
  font-size: .78rem; color: var(--text-3);
  margin-top: 2px;
}
.stickybar .btn { flex: none; }

/* la barre ne doit jamais masquer la fin du contenu */
body { padding-bottom: 74px; }

@media (max-width: 620px) {
  .stickybar__inner { gap: 12px; padding-block: 9px; }
  .stickybar__text strong { font-size: .85rem; }
  .stickybar__text span { display: none; }
  .stickybar .btn { padding: 10px 16px; font-size: .85rem; }
  body { padding-bottom: 66px; }
}

/* ================================================================ AGE GATE */

.gate {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  padding: 20px;
  background: rgba(6,5,9,.82);
  backdrop-filter: blur(9px) saturate(120%);
  opacity: 0; visibility: hidden;
  transition: opacity .28s ease, visibility .28s;
}
.gate.is-open { opacity: 1; visibility: visible; }

.gate__box {
  width: 100%; max-width: 460px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(26px, 4vw, 36px);
  text-align: center;
  transform: translateY(14px) scale(.97);
  transition: transform .3s cubic-bezier(.2,.8,.3,1);
}
.gate.is-open .gate__box { transform: translateY(0) scale(1); }

.gate__mark {
  display: inline-grid; place-items: center;
  width: 62px; height: 62px;
  margin-bottom: 16px;
  font-size: 1.1rem; font-weight: 800;
  color: var(--accent);
  border: 3px solid var(--accent);
  border-radius: 50%;
  background: var(--accent-dim);
}
.gate__box h2 { font-size: 1.42rem; margin-bottom: .4em; }
.gate__box > p { font-size: .9rem; color: var(--text-2); margin-bottom: 20px; }

.gate__form { text-align: left; }

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: .8rem; font-weight: 600;
  color: var(--text-2);
  margin-bottom: 6px;
}
.field input[type="email"],
.field input[type="text"],
.field select,
.field textarea {
  width: 100%;
  font: inherit; font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a9a4b8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 15px;
  padding-right: 40px;
  cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-3); }
.field input[type="email"]:focus,
.field input[type="text"]:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: #ff5a5a; }

.field__hint { font-size: .76rem; color: var(--text-3); margin: 6px 0 0; }

/* honeypot anti-spam : invisible pour l'humain, rempli par les bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .82rem; line-height: 1.5;
  color: var(--text-2);
  cursor: pointer;
  margin-bottom: 8px;
}
.check input {
  flex: none;
  width: 18px; height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.gate__error {
  display: none;
  font-size: .82rem; font-weight: 600;
  color: #ff7a7a;
  background: rgba(255,90,90,.09);
  border: 1px solid rgba(255,90,90,.25);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  margin-bottom: 12px;
}
.gate__error.is-visible { display: block; }

.gate__submit { margin-top: 6px; }

.gate__exit {
  display: block;
  margin-top: 16px;
  font-size: .8rem; color: var(--text-3);
  text-align: center;
  text-decoration: underline; text-underline-offset: 3px;
}
.gate__exit:hover { color: var(--text-2); }

.gate__legal {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: .72rem; line-height: 1.55; color: var(--text-3);
  text-align: center;
}
.gate__legal a { color: var(--text-2); text-decoration: underline; }

/* ============================================================== CONTATTI */

.contact {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact__form {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}

.form__note {
  font-size: .78rem; line-height: 1.6;
  color: var(--text-3);
  margin: 14px 0 0;
}
.form__note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* messages de retour */
.form__msg {
  display: none;
  font-size: .87rem; line-height: 1.6;
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  margin-bottom: 16px;
}
.form__msg.is-visible { display: block; }
.form__msg--ok {
  color: #7bf0a8;
  background: rgba(37,211,102,.1);
  border: 1px solid rgba(37,211,102,.3);
}
.form__msg--err {
  color: #ff8f8f;
  background: rgba(255,90,90,.09);
  border: 1px solid rgba(255,90,90,.28);
}

/* état d'envoi */
.btn[aria-busy="true"] { opacity: .65; pointer-events: none; }
.btn[aria-busy="true"] .btn__spin { display: inline-block; }
.btn__spin {
  display: none;
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* colonne latérale */
.contact__aside { display: flex; flex-direction: column; gap: 16px; }

.info-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px;
}
.info-card h3 {
  display: flex; align-items: center; gap: 9px;
  font-size: 1rem; margin-bottom: .5em;
}
.info-card h3 svg { width: 17px; height: 17px; color: var(--accent); flex: none; }
.info-card p  { font-size: .87rem; color: var(--text-2); margin: 0 0 .8em; }
.info-card p:last-child { margin-bottom: 0; }
.info-card ul { margin: 0; padding-left: 1.1em; font-size: .87rem; color: var(--text-2); }
.info-card li { margin-bottom: .35em; }
.info-card a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.info-card--urgent { border-color: rgba(255,46,99,.3); border-left: 3px solid var(--accent); }

@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 520px) {
  .form__row { grid-template-columns: 1fr; }
}

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

@media (max-width: 1080px) {
  /* la fiche en evidence doit rester visible tot : on coupe le remplissage
     au-dessus. Doit vivre ICI, apres la regle de base .hero__stats. */
  .hero__stats { display: none; }
}

@media (max-width: 980px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .burger { display: inline-flex; }
  .header__cta { display: none; }

  .nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    bottom: 0;
    background: var(--bg-2);
    border-top: 1px solid var(--line-soft);
    overflow-y: auto;
    padding: 14px 20px 40px;
    margin: 0;
    /* PAS de translateX(100%) pour le fermer : un panneau fixed pleine largeur
       pousse hors ecran doublait la largeur du document (mesure : VW=504,
       scrollWidth=1008) et faisait deborder toute la page a droite.
       `overflow-x` sur html ne le rattrape pas — un element fixed a le viewport
       pour bloc conteneur et echappe au clipping des ancetres.
       display:none est la seule fermeture qui ne laisse aucune trace. */
    display: none;
    z-index: 89;
  }
  .nav.is-open {
    display: block;
    animation: navIn .24s cubic-bezier(.3,.8,.3,1);
  }
  @keyframes navIn {
    from { transform: translateX(14%); opacity: 0; }
    to   { transform: none; opacity: 1; }
  }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line-soft); }
  .nav__link {
    width: 100%;
    justify-content: space-between;
    font-size: 1rem;
    padding: 15px 4px;
    border-radius: 0;
    color: var(--text);
  }
  .nav__link[aria-expanded="true"] { background: none; color: var(--accent); }

  .mega {
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    box-shadow: none; border: 0;
    background: transparent;
    display: none;
  }
  .mega.is-open { display: block; }
  .mega__inner {
    display: block;
    padding: 0 0 16px;
  }
  .mega__col + .mega__col { margin-top: 18px; }
  .mega__links { display: flex; flex-wrap: wrap; gap: 5px; }
  .mega__links li + li { margin-top: 0; }
  .mega__links a {
    margin: 0;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: .8rem;
  }
  .mega__foot { padding-top: 14px; margin-top: 14px; }

  .nav__mobile-cta { display: block; margin-top: 22px; }
}

@media (min-width: 861px) {
  .nav__mobile-cta { display: none; }
}

@media (max-width: 620px) {
  .grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
  .hero__stats { gap: 22px; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .card__actions { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
