/* =================================================================
   HYROX FRANCE — Feuille de style principale
   Thème : athlétique, sombre, accent jaune volt
   Fonts : Anton (titres) + Manrope (corps)
   ================================================================= */

:root {
  /* Couleurs — identité indépendante, distincte du noir/jaune officiel */
  --bg:        #0c111c;   /* encre bleu nuit (pas noir) */
  --bg-2:      #0f1626;
  --surface:   #141c2d;
  --surface-2: #1c2640;
  --line:      #2a3650;
  --line-soft: #1a2336;

  --volt:      #ff5a36;   /* accent principal — corail/orange énergie */
  --volt-deep: #e8431f;
  --amber:     #2dd4bf;   /* accent secondaire — turquoise électrique */

  --text:      #f3f5f9;
  --muted:     #9aa4b8;
  --muted-2:   #69748c;

  /* Typo */
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --body: 'Manrope', system-ui, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Transitions */
  --ease: cubic-bezier(.16,.84,.44,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: .1px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* Texture de fond subtile */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.025) 1px, transparent 0);
  background-size: 38px 38px;
  pointer-events: none;
  z-index: 0;
}

/* ---------- Typographie ---------- */
h1,h2,h3 { font-family: var(--display); font-weight: 400; line-height: .96; letter-spacing: .5px; text-transform: uppercase; }
h1 { font-size: clamp(2.8rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.eyebrow {
  font-family: var(--body);
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--volt);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--volt); display: inline-block; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }

.volt { color: var(--volt); }
.amber { color: var(--amber); }

/* ---------- Layout helpers ---------- */
.wrap { width: min(var(--maxw), 92%); margin-inline: auto; position: relative; z-index: 1; }
section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { margin: 18px 0 20px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,11,13,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.28rem; letter-spacing: .4px; white-space: nowrap; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--volt); color: #000;
  display: grid; place-items: center;
  font-family: var(--display); font-size: 1.25rem;
  transform: skewX(-7deg);
  box-shadow: 0 0 0 0 rgba(255,90,54,.5);
  transition: box-shadow .4s var(--ease);
}
.brand:hover .mark { box-shadow: 0 0 22px 0 rgba(255,90,54,.5); }
.brand .fr { color: var(--volt); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-weight: 700; font-size: .94rem; padding: 9px 15px; border-radius: 9px;
  color: var(--muted); transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--volt); }

.nav-cta { margin-left: 8px; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--text); transition: .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: .95rem; letter-spacing: .02em;
  padding: 14px 26px; border-radius: 11px; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, box-shadow .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--volt); color: #0c111c; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(255,90,54,.5); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--volt); color: var(--volt); transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: #1a0c00; }
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(255,122,24,.5); }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(60px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { margin: 22px 0; }
.hero h1 .stroke {
  -webkit-text-stroke: 2px var(--volt); color: transparent;
}
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 38px; margin-top: 46px; flex-wrap: wrap; }
.stat .num { font-family: var(--display); font-size: 2.6rem; color: var(--volt); line-height: 1; }
.stat .lbl { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-top: 6px; }

/* Hero visual */
.hero-visual {
  position: relative; aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(255,90,54,.12), transparent 55%),
    linear-gradient(0deg, rgba(0,0,0,.6), transparent 60%),
    var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero-visual .big-num {
  position: absolute; top: -4%; right: -2%;
  font-family: var(--display); font-size: 22rem; line-height: 1;
  color: rgba(255,255,255,.03); pointer-events: none; user-select: none;
}
.hero-visual .hv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-visual .floor {
  position: relative; z-index: 2; padding: 28px; width: 100%;
}
.hero-visual .hv-card {
  width: 100%; background: rgba(12,17,28,.62); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; backdrop-filter: blur(8px);
}
.hero-visual .hv-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--volt); font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.hero-visual .hv-label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 8px var(--volt); }
.hero-visual .hv-race { display: flex; align-items: center; gap: 16px; margin: 16px 0 18px; }
.hero-visual .hv-date { flex: none; width: 66px; text-align: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 9px 0; }
.hero-visual .hv-date .d { display: block; font-family: var(--display); font-size: 2rem; color: var(--volt); line-height: 1; }
.hero-visual .hv-date .m { display: block; font-size: .64rem; letter-spacing: .1em; color: var(--muted); font-weight: 800; margin-top: 4px; }
.hero-visual .hv-meta h3 { font-size: 1.08rem; line-height: 1.15; margin: 0 0 5px; }
.hero-visual .hv-meta p { font-size: .85rem; color: var(--muted); margin: 0; }
.hero-visual .hv-link { color: var(--volt); font-weight: 800; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.hero-visual .hv-link:hover { gap: 10px; }
.hero-visual .tagchip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(12,17,28,.7); border: 1px solid var(--line);
  padding: 9px 14px; border-radius: 100px; font-weight: 700; font-size: .82rem;
  backdrop-filter: blur(6px); margin-bottom: 12px;
}
.hero-visual .tagchip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 10px var(--volt); }
.diag-lines {
  position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 22px, rgba(255,90,54,.05) 22px, rgba(255,90,54,.05) 24px);
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line-soft); background: var(--bg-2); padding: 18px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 48px; white-space: nowrap; width: max-content; animation: scroll-x 28s linear infinite; }
.marquee span { font-family: var(--display); font-size: 1.3rem; letter-spacing: 1px; color: var(--muted-2); display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "●"; color: var(--volt); font-size: .7rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Cards generic ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .35s var(--ease), border-color .35s, background .35s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); border-color: rgba(255,90,54,.4); }
.card .icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 18px;
  color: var(--volt);
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }

/* Numbered station cards */
.stations { counter-reset: st; }
.station {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); transition: border-color .3s, transform .3s var(--ease);
}
.station:hover { border-color: rgba(255,90,54,.4); transform: translateX(4px); }
.station .n {
  font-family: var(--display); font-size: 2rem; color: var(--volt);
  width: 58px; height: 58px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line);
}
.station h3 { font-size: 1.2rem; margin-bottom: 4px; }
.station p { color: var(--muted); font-size: .92rem; }
.station .meta { color: var(--volt-deep); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 8px; }

/* ---------- Product card (boutique) ---------- */
.product {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s;
}
.product:hover { transform: translateY(-6px); border-color: rgba(255,90,54,.4); }
.product .ph {
  aspect-ratio: 16/11; background: linear-gradient(135deg, var(--surface-2), var(--bg-2));
  display: grid; place-items: center; position: relative; border-bottom: 1px solid var(--line);
}
.product .ph .glyph { font-family: var(--display); font-size: 3.4rem; color: rgba(255,90,54,.18); }
.product .badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--volt); color: #0c111c; font-weight: 800; font-size: .72rem;
  padding: 5px 11px; border-radius: 7px; text-transform: uppercase; letter-spacing: .05em;
}
.product .badge.editor { background: var(--amber); color:#1a0c00; }
.product .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product .cat { font-size: .76rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.product h3 { font-size: 1.18rem; margin: 8px 0 6px; }
.product .rating { color: var(--volt); font-size: .9rem; letter-spacing: 2px; margin-bottom: 10px; }
.product .rating small { color: var(--muted); letter-spacing: normal; margin-left: 6px; }
.product p { color: var(--muted); font-size: .92rem; flex: 1; }
.product .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; gap: 12px; }
.product .price { font-family: var(--display); font-size: 1.4rem; }
.product .price small { font-family: var(--body); font-size: .72rem; color: var(--muted); font-weight: 700; display: block; }

/* ---------- Pricing / formations ---------- */
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; display: flex; flex-direction: column; position: relative;
  transition: transform .35s var(--ease), border-color .35s;
}
.plan:hover { transform: translateY(-6px); }
.plan.featured { border-color: var(--volt); background: linear-gradient(180deg, rgba(255,90,54,.06), var(--surface)); }
.plan .tag {
  position: absolute; top: -13px; left: 34px;
  background: var(--volt); color: #0c111c; font-weight: 800; font-size: .72rem;
  padding: 5px 14px; border-radius: 7px; text-transform: uppercase; letter-spacing: .08em;
}
.plan h3 { font-size: 1.5rem; }
.plan .desc { color: var(--muted); font-size: .94rem; margin: 8px 0 22px; min-height: 44px; }
.plan .amount { font-family: var(--display); font-size: 3.2rem; line-height: 1; }
.plan .amount small { font-family: var(--body); font-size: .9rem; color: var(--muted); font-weight: 700; }
.plan ul { margin: 24px 0; display: flex; flex-direction: column; gap: 13px; }
.plan li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: var(--text); }
.plan li svg { width: 19px; height: 19px; color: var(--volt); flex-shrink: 0; margin-top: 2px; }
.plan .btn { margin-top: auto; }

/* ---------- Blog cards ---------- */
.post {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), border-color .35s;
}
.post:hover { transform: translateY(-5px); border-color: rgba(255,90,54,.4); }
.post .thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--surface-2), var(--bg-2)); position: relative; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.post .thumb .glyph { font-family: var(--display); font-size: 2.4rem; color: rgba(255,255,255,.06); }
.post .thumb .emoji { font-size: 3.6rem; line-height: 1; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.post .cat { position: absolute; top: 14px; left: 14px; background: rgba(10,11,13,.8); border: 1px solid var(--line); color: var(--volt); font-weight: 800; font-size: .72rem; padding: 5px 11px; border-radius: 7px; text-transform: uppercase; letter-spacing: .06em; }
.post .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post .date { font-size: .8rem; color: var(--muted-2); font-weight: 700; }
.post h3 { font-size: 1.22rem; margin: 8px 0 10px; line-height: 1.05; }
.post p { color: var(--muted); font-size: .92rem; flex: 1; }
.post .more { color: var(--volt); font-weight: 800; font-size: .88rem; margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Newsletter ---------- */
.newsletter {
  background:
    radial-gradient(circle at 80% 20%, rgba(255,90,54,.10), transparent 50%),
    var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 70px); text-align: center; position: relative; overflow: hidden;
}
.newsletter .diag-lines { opacity: .35; }
.newsletter > * { position: relative; z-index: 2; }
.newsletter h2 { margin: 16px auto 14px; max-width: 16ch; }
.newsletter .lead { margin-inline: auto; margin-bottom: 30px; }
.nl-form { display: flex; gap: 12px; max-width: 520px; margin-inline: auto; }
.nl-form input {
  flex: 1; background: var(--surface); border: 1px solid var(--line); color: var(--text);
  padding: 15px 18px; border-radius: 11px; font-family: inherit; font-size: 1rem;
  transition: border-color .25s;
}
.nl-form input:focus { outline: none; border-color: var(--volt); }
.nl-form input::placeholder { color: var(--muted-2); }
.nl-note { font-size: .82rem; color: var(--muted-2); margin-top: 16px; }
.nl-success {
  display: none; align-items: center; justify-content: center; gap: 10px;
  color: var(--volt); font-weight: 800; font-size: 1.1rem; padding: 14px;
}
.nl-success svg { width: 24px; height: 24px; }
.nl-form.done { display: none; }
.nl-success.show { display: flex; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 8vw, 100px) 0 clamp(40px, 6vw, 70px); border-bottom: 1px solid var(--line-soft); position: relative; }
.page-hero h1 { margin: 18px 0 20px; max-width: 18ch; }
.breadcrumb { font-size: .85rem; color: var(--muted-2); font-weight: 700; display: flex; gap: 8px; }
.breadcrumb a:hover { color: var(--volt); }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; background: var(--surface); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; color: var(--text); padding: 22px 24px; font-size: 1.08rem; font-weight: 800; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .pm { font-family: var(--display); font-size: 1.6rem; color: var(--volt); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 24px 24px; color: var(--muted); }

/* ---------- Disclosure box ---------- */
.disclosure {
  background: var(--surface-2); border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 20px 24px; font-size: .9rem; color: var(--muted); display: flex; gap: 14px; align-items: flex-start;
}
.disclosure svg { width: 22px; height: 22px; color: var(--volt); flex-shrink: 0; margin-top: 2px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--volt); color: #0c111c; border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; position: relative; overflow: hidden;
}
.cta-band h2 { color: #0c111c; max-width: 16ch; }
.cta-band .btn-primary { background: #0c111c; color: var(--volt); }
.cta-band .btn-primary:hover { box-shadow: 0 10px 30px -8px rgba(0,0,0,.5); }
.cta-band .ghost-num { position: absolute; right: -10px; bottom: -40px; font-family: var(--display); font-size: 13rem; color: rgba(0,0,0,.07); line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); background: var(--bg-2); padding: 70px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-family: var(--body); font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 11px; }
.footer-grid a { color: var(--muted); font-size: .94rem; transition: color .2s; }
.footer-grid a:hover { color: var(--volt); }
.footer-about p { color: var(--muted); font-size: .94rem; margin: 16px 0; max-width: 38ch; }
.footer-bottom { border-top: 1px solid var(--line-soft); margin-top: 50px; padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: .85rem; color: var(--muted-2); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Hero load stagger */
.hero .anim { opacity: 0; transform: translateY(20px); animation: rise .8s var(--ease) forwards; }
.hero .anim:nth-child(1){animation-delay:.05s} .hero .anim:nth-child(2){animation-delay:.15s}
.hero .anim:nth-child(3){animation-delay:.25s} .hero .anim:nth-child(4){animation-delay:.35s}
.hero .anim:nth-child(5){animation-delay:.45s}
.hero-visual { opacity: 0; animation: rise .9s .3s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-inline: auto; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { height: 64px; }
  .nav-links {
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 14px 16px calc(20px + env(safe-area-inset-bottom));
    gap: 4px; max-height: calc(100dvh - 64px); overflow-y: auto;
    box-shadow: 0 24px 44px -22px rgba(0,0,0,.7);
  }
  .nav-links.show { display: flex; animation: navDrop .24s var(--ease); }
  .nav-links a { font-size: 1.04rem; padding: 14px 16px; border-radius: 10px; color: var(--text); }
  .nav-links a.active { color: var(--volt); }
  .nav-links a:active { background: var(--surface); }
  .nav-links .nav-cta { margin: 10px 0 0; justify-content: center; padding: 15px; }
  .burger { display: flex; }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@keyframes navDrop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (max-width: 720px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-stats { gap: 26px; }
  .cta-band { text-align: center; justify-content: center; }
}

/* =================================================================
   AJOUTS — sous-pages, calendrier, glossaire, témoignages, tables
   ================================================================= */

/* Grille de liens / hub */
.hub-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.hub-card {
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:22px 20px; transition:transform .3s var(--ease), border-color .3s, background .3s;
  position:relative; overflow:hidden;
}
.hub-card:hover { transform:translateY(-4px); border-color:var(--volt); background:var(--surface-2); }
.hub-card .num {
  font-family:var(--display); font-size:34px; color:var(--volt); line-height:1; display:block; margin-bottom:10px;
}
.hub-card h3 { font-size:18px; margin-bottom:6px; }
.hub-card p { color:var(--muted); font-size:14.5px; }
.hub-card .go { color:var(--volt); font-weight:800; font-size:13px; margin-top:12px; display:inline-block; letter-spacing:.4px; }

/* Bloc prose long-format (sous-pages) */
.prose { max-width:820px; }
.prose h2 { font-family:var(--display); font-size:clamp(26px,4vw,38px); margin:42px 0 14px; letter-spacing:.5px; }
.prose h3 { font-size:21px; margin:28px 0 10px; }
.prose p { color:#d7dade; margin-bottom:16px; }
.prose ul.bullets { margin:0 0 18px; padding:0; }
.prose ul.bullets li { position:relative; padding-left:26px; margin-bottom:10px; color:#d7dade; }
.prose ul.bullets li::before { content:"▶"; position:absolute; left:0; top:1px; color:var(--volt); font-size:11px; }
.prose strong { color:var(--text); }

/* Encadré info / conseil / attention */
.callout { border-radius:var(--radius); padding:18px 20px; margin:22px 0; border:1px solid var(--line); background:var(--surface); display:flex; gap:14px; }
.callout .ico { font-size:22px; line-height:1.2; }
.callout.tip { border-left:4px solid var(--volt); }
.callout.warn { border-left:4px solid var(--amber); }
.callout h4 { font-size:15px; margin-bottom:4px; letter-spacing:.3px; }
.callout p { color:var(--muted); font-size:14.5px; margin:0; }

/* Tableau de charges / specs */
.spec-table { width:100%; border-collapse:collapse; margin:18px 0 26px; font-size:15px; }
.spec-table th, .spec-table td { text-align:left; padding:12px 14px; border-bottom:1px solid var(--line); }
.spec-table thead th { background:var(--surface-2); color:var(--volt); font-family:var(--display); letter-spacing:.5px; font-weight:400; }
.spec-table tbody tr:hover { background:var(--surface); }

/* Calendrier / événements */
.event-row {
  display:grid; grid-template-columns:90px 1fr auto; gap:18px; align-items:center;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:16px 20px; margin-bottom:12px; transition:border-color .3s, transform .3s var(--ease);
}
.event-row:hover { border-color:var(--volt); transform:translateX(4px); }
.event-date { text-align:center; background:var(--bg-2); border-radius:10px; padding:8px 0; }
.event-date .d { font-family:var(--display); font-size:26px; color:var(--volt); line-height:1; }
.event-date .m { font-size:12px; text-transform:uppercase; letter-spacing:1px; color:var(--muted); }
.event-info h3 { font-size:18px; margin-bottom:3px; }
.event-info p { color:var(--muted); font-size:14px; margin:0; }
.event-tag { font-size:12px; font-weight:800; letter-spacing:.5px; color:var(--bg); background:var(--volt); padding:5px 10px; border-radius:999px; white-space:nowrap; }

/* Témoignages */
.quote-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:24px; }
.quote-card p { font-size:16px; color:#d7dade; font-style:italic; margin-bottom:16px; }
.quote-card .who { display:flex; align-items:center; gap:12px; }
.quote-card .av { width:42px; height:42px; border-radius:50%; background:linear-gradient(135deg,var(--volt),var(--amber)); display:grid; place-items:center; font-family:var(--display); color:var(--bg); font-size:18px; }
.quote-card .who b { display:block; font-size:14px; }
.quote-card .who span { font-size:13px; color:var(--muted); }
.stars { color:var(--volt); font-size:14px; letter-spacing:2px; margin-bottom:10px; }

/* Glossaire */
.gloss { display:grid; gap:12px; }
.gloss-item { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:16px 20px; }
.gloss-item dt { font-family:var(--display); font-size:19px; color:var(--volt); letter-spacing:.5px; margin-bottom:4px; }
.gloss-item dd { color:var(--muted); font-size:15px; }

/* Liens connexes (maillage interne) */
.related { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.related a { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:16px 18px; transition:border-color .3s, transform .3s var(--ease); display:block; }
.related a:hover { border-color:var(--volt); transform:translateY(-3px); }
.related a .k { font-size:12px; color:var(--volt); font-weight:800; letter-spacing:.5px; }
.related a .t { display:block; font-weight:700; margin-top:4px; }

/* Contact */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.field { margin-bottom:14px; }
.field label { display:block; font-size:13px; font-weight:700; margin-bottom:6px; color:var(--muted); letter-spacing:.3px; }
.field input, .field textarea {
  width:100%; background:var(--bg-2); border:1px solid var(--line); border-radius:10px;
  padding:12px 14px; color:var(--text); font-family:inherit; font-size:15px;
}
.field input:focus, .field textarea:focus { outline:none; border-color:var(--volt); }

/* Mini-stats inline */
.kpi-row { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:20px 0; }
.kpi { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:18px; text-align:center; }
.kpi b { font-family:var(--display); font-size:30px; color:var(--volt); display:block; line-height:1; }
.kpi span { font-size:13px; color:var(--muted); }

@media (max-width:960px){
  .hub-grid { grid-template-columns:repeat(2,1fr); }
  .related, .kpi-row { grid-template-columns:1fr; }
  .contact-grid { grid-template-columns:1fr; }
}
@media (max-width:720px){
  .hub-grid { grid-template-columns:1fr; }
  .event-row { grid-template-columns:64px 1fr; }
  .event-tag { grid-column:2; justify-self:start; }
}

/* =================================================================
   POLISH MOBILE — UX tactile, lisibilité, confort
   ================================================================= */

/* Pas de surlignage bleu au tap + curseur pointer sur tappables */
a, button, .faq-q, .burger, .hub-card, .event-row, .post, .card { -webkit-tap-highlight-color: transparent; }

/* Cibles tactiles confortables (>=44px) */
@media (max-width: 900px) {
  .burger { padding: 12px; margin-right: -8px; }
  .burger span { width: 26px; height: 2.5px; }
  .nav-links a, .nav-links .nav-cta { min-height: 48px; display: flex; align-items: center; }
}

@media (max-width: 720px) {
  /* Inputs à 16px pour empêcher le zoom auto iOS au focus */
  .nl-form input, .field input, .field textarea { font-size: 16px; }

  /* Boutons pleine largeur + zone de tap généreuse */
  .btn { padding: 15px 22px; }
  .btn-lg { padding: 16px 24px; width: 100%; justify-content: center; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .nl-form button { width: 100%; padding: 16px; }

  /* Rythme vertical resserré */
  section { padding: clamp(48px, 12vw, 72px) 0; }
  .section-head { margin-bottom: 34px; }
  .wrap { width: 90%; }

  /* Hero plus compact et centré pour la lecture pouce */
  .hero h1 { margin: 16px 0; }
  .hero-stats { gap: 22px 30px; justify-content: space-between; }
  .stat .num { font-size: 2.1rem; }
  .hero-visual { max-width: 100%; }

  /* Cartes : un peu moins de padding pour gagner en densité */
  .card, .quote-card, .hub-card { padding: 20px; }
  .prose h2 { margin-top: 32px; }

  /* Événements : date + infos lisibles, tag sous le titre */
  .event-row { padding: 14px 16px; gap: 14px; }
  .event-date { width: 56px; }
  .event-info h3 { font-size: 16px; }

  /* Témoignages / KPI en pleine largeur déjà via grid-3 -> 1fr */
  .kpi b { font-size: 26px; }

  /* CTA band : padding interne réduit */
  .cta-band { padding: 40px 22px; }

  /* Article : lecture confortable */
  .article-body p { font-size: 1.04rem; }
  .article-meta { font-size: .82rem; gap: 8px; }

  /* Fil d'ariane qui ne déborde pas */
  .breadcrumb { font-size: .8rem; flex-wrap: wrap; }
}

/* Tableaux de specs scrollables horizontalement sur petit écran */
@media (max-width: 560px) {
  .spec-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); }
}

/* Respecte la préférence "réduire les animations" */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Verrou de défilement quand le menu mobile est ouvert */
body.nav-open { overflow: hidden; }
