/* Groupe Verateam : charte du site public (16/10/2026), dans la continuité de l'espace membre.
   Mise en page : bleu nuit et laiton, titres Playfair, bandes claires couleur ivoire ; les épinglettes comme repère visuel du parcours. */
:root {
  --bg: #f6f4ef; --surface: #ffffff; --ink: #17233f; --muted: #5a6275; --line: #e2dccf; --tint: #efe9dd;
  --nuit: #17233f; --nuit2: #22335c; --or: #b08a46; --or-clair: #d8b878; --or-ink: #8c6a2c; --sur-nuit: #f4f1ea;
  --titre: "Playfair Display", Georgia, "Times New Roman", serif;
  --texte: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 14px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0f1626; --surface: #17213a; --ink: #eef0f5; --muted: #a9b0c2; --line: #2a3554; --tint: #1b2643; --or-ink: #d8b878; color-scheme: dark } }
:root[data-theme="dark"] { --bg: #0f1626; --surface: #17213a; --ink: #eef0f5; --muted: #a9b0c2; --line: #2a3554; --tint: #1b2643; --or-ink: #d8b878; color-scheme: dark }

*, *::before, *::after { box-sizing: border-box }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--texte) }
img { max-width: 100%; height: auto; display: block }
a { color: var(--or-ink) }
h1, h2, h3, h4 { font-family: var(--titre); font-weight: 700; line-height: 1.12; margin: 0; text-wrap: balance }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem) } h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem) } h3 { font-size: 1.35rem }
h1 em, h2 em { font-style: italic; color: var(--or) }
p, ul, ol { margin: 0 }
:focus-visible { outline: 3px solid var(--or); outline-offset: 2px }
.skip { position: absolute; left: -999px } .skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 50 }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
.etroit { max-width: 780px }
.section { padding-block: 72px }
.stack { display: grid; gap: 18px } .stack-sm { display: grid; gap: 10px }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--or-ink) }
.lead { font-size: 1.22rem; color: var(--muted); max-width: 44ch }
.small { font-size: .85rem; color: var(--muted) }
.btns { display: flex; flex-wrap: wrap; gap: 12px }
.btn { display: inline-flex; align-items: center; justify-content: center; font: 800 .95rem/1 var(--texte); padding: 1em 1.5em; border-radius: 999px; text-decoration: none; border: 2px solid var(--or); cursor: pointer }
.btn.or { background: var(--or); color: #fff } .btn.or:hover { background: var(--or-ink); border-color: var(--or-ink) }
.btn.ligne { background: transparent; color: var(--ink) }
.lien { font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--or); width: max-content; padding-bottom: 2px }
.lien::after { content: " →" }

/* En-tête : toujours bleu nuit, comme l'espace membre */
.top { background: var(--nuit); color: var(--sur-nuit); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; border-bottom: 3px solid var(--or) }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--nuit) }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px }
.logo { text-decoration: none; color: inherit }
.marque { font: 700 1.45rem/1 var(--titre); white-space: nowrap } .marque b { color: var(--or-clair) }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 700; font-size: .95rem }
.nav a { color: var(--sur-nuit); text-decoration: none; border-bottom: 2px solid transparent; padding-block: 3px }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--or-clair) }
.nav .membre { background: var(--or); color: #fff; padding: .6em 1.1em; border-radius: 999px; border: 0 }
.burger { display: none; background: none; border: 0; color: var(--sur-nuit); padding: 8px; cursor: pointer } .burger svg { width: 28px; height: 28px }
@media (max-width: 860px) {
  .burger { display: block }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--nuit); flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 18px max(16px, env(safe-area-inset-left, 0px)) }
  .nav.open { display: flex } .nav a { padding: 13px 4px; border-bottom: 1px solid rgb(255 255 255 / .12) } .nav .membre { margin-top: 12px; text-align: center; padding: 1em }
}

/* Accueil */
.hero { background: var(--nuit); color: var(--sur-nuit); background-image: radial-gradient(ellipse at 85% 20%, rgb(216 184 120 / .18), transparent 55%) }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; padding-block: 72px }
.hero h1 { color: #fff } .hero h1 em { color: var(--or-clair) } .hero .eyebrow { color: var(--or-clair) } .hero .lead { color: #cfd4e0 }
.hero .btn.ligne { color: #fff; border-color: var(--or-clair) }
.hero-photo { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/5; border: 3px solid var(--or) }
.hero-photo img { width: 100%; height: 100%; object-fit: cover }
.hero-photo figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgb(23 35 63 / .88); color: #fff; padding: 10px 14px; border-radius: 10px; font-size: .9rem }
.hero-photo figcaption b { color: var(--or-clair) }
.trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px }
.carte { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--or); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start }
.carte p { color: var(--muted) }
.num { font: 700 1.6rem/1 var(--titre); color: var(--or) }
.bande { background: var(--tint) }
.deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center }
.pins { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px }
.pins li { display: grid; justify-items: center; gap: 8px; text-align: center; font-weight: 700; font-size: .9rem }
.pins img { width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 4px 6px rgb(0 0 0 / .25)) }
.photo-carree { margin: 0; border-radius: var(--r); overflow: hidden; border: 3px solid var(--or) }
.photo-carree img { width: 100%; aspect-ratio: 1/1; object-fit: cover }
.appel { background: var(--nuit); color: var(--sur-nuit); border-radius: var(--r); padding: clamp(24px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center }
.appel h2 { color: #fff } .appel p { color: #cfd4e0 }

/* Pages intérieures */
.tete { background: var(--nuit); color: var(--sur-nuit); padding-block: 56px; border-bottom: 3px solid var(--or) }
.tete h1 { color: #fff } .tete .eyebrow { color: var(--or-clair) } .tete .lead { color: #cfd4e0 }
.frise { list-style: none; padding: 0; display: grid; gap: 0; border-left: 3px solid var(--or); margin-left: 8px }
.frise li { display: grid; gap: 4px; padding: 0 0 26px 24px; position: relative }
.frise li::before { content: ""; position: absolute; left: -10px; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--nuit); border: 3px solid var(--or) }
.frise b { font: 700 1.2rem/1.2 var(--titre) } .frise span { color: var(--muted) }
.etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: e }
.etapes > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 8px; align-content: start }
.etapes p { color: var(--muted) }
.coches { list-style: none; padding: 0; display: grid; gap: 12px }
.coches li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px } .coches li::before { content: "✓"; color: var(--or); font-weight: 800 }
.mention { font-size: .88rem; color: var(--muted); background: var(--tint); border-left: 4px solid var(--or); padding: 14px 16px; border-radius: 0 10px 10px 0 }
.boite { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--or); border-radius: var(--r); padding: clamp(22px, 4vw, 36px); display: grid; gap: 14px }
.form { display: grid; gap: 12px }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem }
.form input, .form textarea { font: inherit; padding: .85em 1em; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100% }
.form input:focus, .form textarea:focus { border-color: var(--or); outline: none }
.ok { background: var(--tint); padding: 12px 14px; border-radius: 10px; font-weight: 700 }
.texte { display: grid; gap: 14px }

/* Pied de page */
.foot { background: var(--nuit); color: #cfd4e0; border-top: 3px solid var(--or); margin-top: 0 }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 28px; padding-block: 48px 28px; font-size: .92rem }
.foot .marque { color: #fff } .foot a { color: #fff; text-decoration: none } .foot a:hover { color: var(--or-clair) }
.foot .small, .foot p { color: #aeb5c6 }
.foot h4 { font: 800 .75rem/1 var(--texte); letter-spacing: .18em; text-transform: uppercase; color: var(--or-clair); margin-bottom: 12px }
.foot ul { list-style: none; padding: 0; display: grid; gap: 8px }
.legal { border-top: 1px solid rgb(255 255 255 / .12) } .foot .legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 16px 32px; font-size: .8rem; color: #9aa2b6 }

@media (max-width: 900px) {
  .hero .wrap, .deux, .foot .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px }
  .trois { grid-template-columns: minmax(0, 1fr) } .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .hero-photo { max-width: 380px } .section { padding-block: 52px }
}
@media (max-width: 520px) { .etapes { grid-template-columns: minmax(0, 1fr) } .pins { grid-template-columns: repeat(2, 1fr) } }

/* Accueil : épinglettes à la place d'une photo */
.hero-pins { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; justify-items: center; max-width: 360px; justify-self: center }
.hero-pins img { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 8px 14px rgb(0 0 0 / .45)) }
.hero-pins li:nth-child(odd) { transform: translateY(18px) }
.entete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px }
/* Cartes des leaders */
.leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px }
.leader { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; justify-items: center; text-align: center; gap: 6px; position: relative }
.portrait { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; border: 3px solid var(--or) }
.portrait.vide { display: grid; place-items: center; background: var(--tint); color: var(--muted); font-size: .8rem; font-weight: 700; border-style: dashed }
.lpin { width: 46px; height: 46px; object-fit: contain; margin-top: -30px; margin-left: 96px; filter: drop-shadow(0 3px 4px rgb(0 0 0 / .3)) }
.lniv { font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--or-ink) }
.lphrase { color: var(--muted); font-size: .95rem; font-style: italic }

/* Reconnaissances et témoignages */
.recos { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px }
.reco { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--or); border-radius: var(--r); padding: 14px 16px }
.reco .rpin { width: 60px; height: 60px; object-fit: contain; filter: drop-shadow(0 3px 5px rgb(0 0 0 / .3)) }
.reco .rphoto { display: none }
.reco div { display: grid; gap: 2px } .reco b { font: 700 1.15rem/1.2 var(--titre) }
.reco span { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--or-ink) } .reco small { color: var(--muted) }
.temoins { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px }
.temoin { margin: 0; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--or); border-radius: var(--r); padding: 24px; display: grid; gap: 16px; grid-template-rows: 1fr auto }
.temoin p { font: italic 600 1.15rem/1.45 var(--titre) } .temoin.a-venir p { font: 400 .95rem/1.5 var(--texte); color: var(--muted); font-style: normal }
.temoin footer { display: flex; gap: 12px; align-items: center; font-size: .9rem; color: var(--muted) } .temoin footer b { color: var(--ink) }
.temoin footer img, .tvide { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--or) }
.tvide { background: var(--tint); border-style: dashed }

/* Logo rond officiel (16/10/2026) */
.logo-rond { display: block; width: 52px; height: 52px }
.foot .logo-rond { width: 84px; height: 84px }
.hero-logo { width: min(340px, 72vw); height: auto; justify-self: center; filter: drop-shadow(0 18px 36px rgb(0 0 0 / .45)) }
