/* Pages SEO statiques (villes, Founders Dinner, comparatifs) — tools/seo_pages.py.
   Charte oct. 2026 : Geist partout, EB Garamond italique pour la chute seule,
   citron réservé aux boutons d'action. Aucun JavaScript. */

html[data-page="guide"] { background: #F0EAE0; -webkit-text-size-adjust: 100%; }
html[data-page="guide"] body {
  margin: 0; background: #F0EAE0; color: #17150F;
  font-family: 'Geist', system-ui, -apple-system, sans-serif;
  font-size: 17px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
html[data-page="guide"] *, html[data-page="guide"] *::before, html[data-page="guide"] *::after { box-sizing: border-box; }

.g-large { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* Liens de lecture */
.g-page a:not(.g-cta) { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgba(11,10,9,.35); transition: text-decoration-color .15s ease; }
.g-page a:not(.g-cta):hover { text-decoration-color: currentColor; }
.g-page a:focus-visible, .g-page summary:focus-visible { outline: 2px solid #0B0A09; outline-offset: 3px; border-radius: 2px; }

/* En-tête */
.g-tete { position: sticky; top: 0; z-index: 10; background: #F0EAE0; border-bottom: 1px solid rgba(11,10,9,.12); }
.g-tete-in { max-width: 1180px; height: 68px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.g-logo { display: block; flex: none; }
.g-logo img { display: block; height: 26px; width: auto; }
.g-tete-d { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.g-page .g-langue { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-decoration: none; color: rgba(11,10,9,.62); }
.g-page .g-langue:hover { color: #0B0A09; }
.g-cta { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 20px; border-radius: 12px; background: #C6E84E; color: #0B0A09; font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .15s ease; }
.g-cta:hover { background: #D5EE7B; }
.g-cta--grand { height: 52px; padding: 0 28px; font-size: 15px; }
.g-cta--second { background: transparent; color: #0B0A09; box-shadow: inset 0 0 0 1px rgba(11,10,9,.28); }
.g-cta--second:hover { background: rgba(11,10,9,.05); }
.g-fin .g-cta--second { color: #F0EAE0; box-shadow: inset 0 0 0 1px rgba(240,234,224,.32); }
.g-fin .g-cta--second:hover { background: rgba(240,234,224,.08); }

/* Typographie */
.g-h1, .g-h2 { margin: 0; font-family: 'Geist', system-ui, -apple-system, sans-serif; font-weight: 700; color: #0B0A09; letter-spacing: -0.045em; line-height: 1.02; text-wrap: balance; }
.g-h1 { font-size: clamp(38px, 5.4vw, 72px); }
.g-h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.04em; }
.g-chute { font-family: 'EB Garamond', Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.1em; line-height: .98; letter-spacing: -0.012em; }
.g-micro { margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(11,10,9,.62); }

/* Haut de page */
.g-hero { padding: clamp(40px, 7vh, 76px) 0 clamp(40px, 7vh, 72px); }
.g-hero-grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.g-hero--photo .g-hero-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
.g-fil { display: flex; flex-wrap: wrap; gap: 0 .6em; margin: 0 0 clamp(24px, 4vh, 36px); padding: 0; list-style: none; }
.g-fil li + li::before { content: '/'; margin-right: .6em; opacity: .5; }
.g-page .g-fil a { text-decoration: none; }
.g-page .g-fil a:hover { color: #0B0A09; }
.g-chapo { margin: clamp(20px, 3vh, 28px) 0 0; max-width: 40em; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.5; color: #17150F; }
.g-note { margin: 18px 0 0; max-width: 46em; font-size: 14px; line-height: 1.55; color: rgba(11,10,9,.62); }
.g-action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: clamp(24px, 4vh, 34px); }
.g-action-micro { margin: 0; font-size: 13.5px; color: rgba(11,10,9,.62); }
.g-photo { margin: 0; }
.g-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; background: #0B0A09; }

/* Chiffres */
.g-faits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(11,10,9,.22); }
.g-fait { padding: 18px clamp(14px, 2vw, 26px) 4px 0; }
.g-fait + .g-fait { padding-left: clamp(14px, 2vw, 26px); border-left: 1px solid rgba(11,10,9,.12); }
.g-fait dt { font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: #0B0A09; }
.g-fait dd { margin: 8px 0 0; font-size: 14px; line-height: 1.4; color: rgba(11,10,9,.62); }

/* Sections */
.g-bloc { border-top: 1px solid rgba(11,10,9,.12); padding: clamp(52px, 9vh, 96px) 0; }
.g-hero + .g-bloc, .g-sans-trait { border-top: 0; padding-top: 0; }
.g-grille { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.g-titre { position: sticky; top: 108px; }
.g-sans-titre { max-width: 760px; margin-left: auto; }
.g-corps > :first-child { margin-top: 0; }
.g-corps p { margin: 0 0 1em; max-width: 38em; }
.g-corps p:last-child { margin-bottom: 0; }
.g-corps strong { font-weight: 500; color: #0B0A09; }
.g-corps .g-suite { margin-top: 1.5em; font-weight: 500; }
.g-suite a::after { content: ' \2192'; }
.g-note-bas { margin-top: 20px; font-size: 14px; color: rgba(11,10,9,.62); }

/* En bref */
.g-enbref { background: #0B0A09; color: #F0EAE0; border-radius: 6px; padding: clamp(24px, 3.4vw, 44px); }
.g-enbref .g-micro { color: rgba(240,234,224,.62); }
.g-enbref p:last-child { margin: 14px 0 0; max-width: 44em; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; letter-spacing: -0.012em; }

/* Paroles */
.g-paroles { display: block; }
.g-parole { margin: 0; padding: clamp(22px, 3vh, 32px) 0; border-top: 1px solid rgba(11,10,9,.12); }
.g-parole:first-child { border-top: 0; padding-top: 0; }
.g-parole blockquote { margin: 0; font-size: clamp(20px, 1.9vw, 25px); line-height: 1.34; letter-spacing: -0.015em; color: #0B0A09; }
.g-parole figcaption { margin-top: 12px; font-size: 14px; color: rgba(11,10,9,.62); }
.g-parole figcaption b { font-weight: 500; color: #0B0A09; }

/* Tableaux */
.g-tete-bloc { margin-bottom: clamp(24px, 4vh, 40px); }
.g-tete-bloc .g-note { max-width: 56em; }
.g-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.42; }
.g-table thead th { padding: 0 16px 12px 0; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-align: left; vertical-align: bottom; color: rgba(11,10,9,.62); border-bottom: 1px solid rgba(11,10,9,.22); }
.g-table tbody th, .g-table tbody td { padding: 16px 16px 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(11,10,9,.12); font-weight: 400; }
.g-table tbody th { font-weight: 500; color: #0B0A09; }
.g-table tr.g-nous th, .g-table tr.g-nous td { background: rgba(11,10,9,.05); }
.g-table tr.g-nous th { padding-left: 14px; }
.g-apres { margin-top: clamp(24px, 4vh, 36px); }
.g-apres p { margin: 0 0 1em; max-width: 44em; }
.g-apres p:last-child { margin-bottom: 0; }
.g-apres .g-suite { font-weight: 500; }

/* Listes */
.g-etapes, .g-liste, .g-liens { margin: 0; padding: 0; list-style: none; }
.g-etapes { counter-reset: e; }
.g-etape { counter-increment: e; display: grid; grid-template-columns: 42px minmax(0, 1fr); padding: 20px 0; border-top: 1px solid rgba(11,10,9,.12); }
.g-etape:first-child { border-top: 0; padding-top: 0; }
.g-etape::before { content: counter(e, decimal-leading-zero); font-size: 13px; font-weight: 500; line-height: 1.9; color: rgba(11,10,9,.62); }
.g-etape h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; color: #0B0A09; }
.g-etape p { margin: 6px 0 0; }
.g-liste li { padding: 16px 0; border-top: 1px solid rgba(11,10,9,.12); }
.g-liste li:first-child { border-top: 0; padding-top: 0; }
.g-liste strong { font-weight: 500; color: #0B0A09; }
.g-besoins { margin: 0; }
.g-besoin { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 6px 28px; padding: 18px 0; border-top: 1px solid rgba(11,10,9,.12); }
.g-besoin:first-child { border-top: 0; padding-top: 0; }
.g-besoin dt { font-weight: 500; color: #0B0A09; line-height: 1.4; }
.g-besoin dd { margin: 0; line-height: 1.5; }
.g-liens li { border-top: 1px solid rgba(11,10,9,.12); }
.g-liens li:first-child { border-top: 0; }
.g-page .g-liens a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; font-weight: 500; text-decoration: none; }
.g-liens a::after { content: '\2192'; }
.g-page .g-liens a:hover { color: #0B0A09; text-decoration: underline; text-underline-offset: 3px; }

/* Questions */
.g-q { border-top: 1px solid rgba(11,10,9,.12); }
.g-q:first-child { border-top: 0; }
.g-q summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 18px 0; font-size: 18px; font-weight: 500; line-height: 1.35; color: #0B0A09; cursor: pointer; list-style: none; }
.g-q:first-child summary { padding-top: 0; }
.g-q summary::-webkit-details-marker { display: none; }
.g-q summary::after { content: '+'; flex: none; font-size: 22px; font-weight: 400; line-height: 1.1; transition: transform .18s ease; }
.g-q[open] summary::after { transform: rotate(45deg); }
.g-corps .g-q p { margin: 0 0 20px; max-width: 38em; }

/* Sources */
.g-sources { padding: 0 0 clamp(52px, 9vh, 88px); }
.g-sources ul { margin: 14px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 40px; font-size: 14px; line-height: 1.5; color: rgba(11,10,9,.62); }
.g-sources li { padding: 3px 0; break-inside: avoid; }

/* Fin de page */
.g-fin { background: #0B0A09; color: #F0EAE0; padding: clamp(64px, 12vh, 128px) 0; }
.g-fin .g-h2 { color: #F0EAE0; font-size: clamp(36px, 5vw, 68px); line-height: 1.02; }
.g-fin-texte { margin: 20px 0 0; font-size: 18px; color: rgba(240,234,224,.72); }
.g-fin .g-action { margin-top: 30px; }

/* Pied de page */
.g-pied { padding: clamp(40px, 7vh, 64px) 0 32px; }
.g-pied-logo img { display: block; height: 44px; width: auto; }
.g-pied-texte { margin: 14px 0 0; font-size: 15px; color: rgba(11,10,9,.62); }
.g-pied-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(11,10,9,.10); font-size: 12.5px; color: rgba(11,10,9,.62); }
.g-pied-legal div { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.g-page .g-pied a { text-decoration: none; }
.g-page .g-pied a:hover { color: #0B0A09; text-decoration: underline; }

@media (max-width: 900px) {
  .g-grille { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .g-titre { position: static; }
  .g-sans-titre { max-width: none; }
  .g-hero--photo .g-hero-grille { grid-template-columns: minmax(0, 1fr); }
  .g-photo img { aspect-ratio: 3 / 2; }
}

@media (max-width: 760px) {
  .g-faits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-fait, .g-fait + .g-fait { padding: 16px 12px 16px 0; border-left: 0; border-top: 1px solid rgba(11,10,9,.12); }
  .g-fait:nth-child(-n+2) { border-top: 0; }
  .g-fait:nth-child(even) { padding-left: 14px; border-left: 1px solid rgba(11,10,9,.12); }
  .g-table, .g-table tbody, .g-table tr, .g-table th, .g-table td { display: block; width: 100%; }
  .g-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .g-table tr { padding: 18px 0; border-top: 1px solid rgba(11,10,9,.22); }
  .g-table tbody th, .g-table tbody td { padding: 0; border: 0; }
  .g-table tbody th { font-size: 18px; margin-bottom: 8px; }
  .g-table tbody td { margin-top: 10px; }
  .g-table tbody td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(11,10,9,.62); }
  .g-table tr.g-nous { padding: 18px 14px; background: rgba(11,10,9,.05); border-top: 0; border-radius: 6px; }
  .g-table tr.g-nous th, .g-table tr.g-nous td { background: none; padding-left: 0; }
  .g-besoin { grid-template-columns: minmax(0, 1fr); }
  .g-sources ul { columns: 1; }
}

@media (max-width: 420px) {
  .g-tete-in { height: 60px; }
  .g-cta { padding: 0 14px; font-size: 13px; }
  .g-action .g-cta--grand { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .g-q summary::after, .g-cta, .g-page a { transition: none !important; }
}
