/* ═══════════════════════════════════════════════════════════
   Sylvain OGB — style.css (globals)
   Tokens + reset + primitives partagés entre tous les écrans.
   Les blocs spécifiques à chaque écran sont ajoutés ensuite.
   ═══════════════════════════════════════════════════════════ */

/* === A11Y — visually hidden (lecteurs d'écran uniquement) === */
.visually-hidden {
  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 — visible uniquement au focus clavier */
.sog-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--ink);
  color: #fafaf9;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.15s ease;
}
.sog-skip-link:focus { top: 1rem; }

/* Focus visible global — anneau accent sur tous les interactifs */
.sog a:focus-visible,
.sog button:focus-visible,
.sog [role="button"]:focus-visible,
.sog [role="checkbox"]:focus-visible,
.sog [role="radio"]:focus-visible,
.sog input:focus-visible,
.sog textarea:focus-visible,
.sog select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Bouton lien (sémantique action sans style bouton) */
.sog-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* === TOKENS === */
:root {
  --bg:        #fafaf9;
  --surface:   #f0efed;
  --hover:     #e8e4e0;
  --ink:       #1c1c1c;
  --ink-2:     #555555;
  --ink-3:     #6b6b6b;
  --accent:    #a0522d;
  --danger:    #c0392b;
  --line-soft: rgba(28,28,28,0.07);
  --line-med:  rgba(28,28,28,0.18);
  --line-form: rgba(28,28,28,0.20);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", system-ui, sans-serif;
  --mono:  "Courier New", Courier, monospace;
}

/* === RESET (component-scoped via .sog) === */
.sog {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* container query host pour les bascules desktop */
  container-type: inline-size;
  container-name: sog;
}
.sog *, .sog *::before, .sog *::after { box-sizing: border-box; }
.sog h1, .sog h2, .sog h3, .sog h4,
.sog p, .sog ul, .sog li, .sog figure { margin: 0; padding: 0; }
.sog ul { list-style: none; }
.sog button {
  font: inherit; color: inherit; background: none;
  border: 0; padding: 0; cursor: pointer;
}
.sog a { color: inherit; text-decoration: none; }
.sog img, .sog svg { display: block; max-width: 100%; }

/* === WORDMARK === */
.sog-wordmark {
  font-family: var(--serif);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  line-height: 1;
}
.sog-wordmark .accent { color: var(--accent); }
.sog-wordmark-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  transition: opacity 0.15s ease;
}
.sog-wordmark-link:hover { opacity: 0.7; }
.sog-wordmark-sub {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 8px;
}

/* === BUTTONS === */
.sog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  padding: 13px 26px;
  border-radius: 8px;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.sog-btn-primary { background: var(--ink); color: var(--bg); }
.sog-btn-primary:hover { background: #2c2c2c; }
/* surclasse .sog a { color: inherit } et .sog button { background: none } */
.sog a.sog-btn-primary,
.sog button.sog-btn-primary { background: var(--ink); color: var(--bg); }
.sog a.sog-btn-ghost,
.sog button.sog-btn-ghost { background: transparent; color: var(--ink); }
.sog a.sog-btn-secondary,
.sog button.sog-btn-secondary { background: var(--surface); color: var(--ink); }
.sog-btn-primary.is-disabled {
  background: rgba(28,28,28,0.20);
  color: rgba(250,250,249,0.50);
  cursor: not-allowed;
  pointer-events: none;
}
.sog-btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 0.5px solid rgba(28,28,28,0.28);
  font-weight: 300;
}
.sog-btn-ghost:hover { background: var(--surface); }
.sog-btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 0.5px solid rgba(28,28,28,0.12);
  font-weight: 400;
}
.sog-btn-secondary:hover { background: var(--hover); }

/* === LINKS (texte accent) === */
.sog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--accent);
  transition: opacity 0.15s ease;
}
.sog-link:hover { opacity: 0.7; }

/* === SECTION (espacement vertical commun) === */
.sog-section { padding: 64px 24px; }
.sog-section.alt { background: var(--surface); }
.sog-section-eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  margin-bottom: 16px;
}
.sog-section-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  text-align: center;
  margin-bottom: 8px;
}
.sog-section-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  text-align: center;
  margin: 0 auto 40px;
  max-width: 560px;
  padding: 0 8px;
}

/* === TOPBAR (écrans 2→4) === */
.sog-topbar {
  background: var(--bg);
  border-bottom: 0.5px solid var(--line-soft);
  padding: 16px 20px;
}
.sog-topbar-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}
.sog-topbar-left { min-width: 0; flex-shrink: 1; }
.sog-topbar .sog-wordmark {
  white-space: nowrap;
  font-size: 14px;
  letter-spacing: 0.14em;
}
.sog-back {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: color 0.15s;
}
.sog-back:hover { color: var(--ink); }

/* === PROGRESS (segments dans la topbar) === */
.sog-progress {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.sog-progress-label {
  white-space: nowrap;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sog-progress-segs { display: flex; gap: 6px; }
.sog-progress-seg {
  width: 28px;
  height: 2px;
  border-radius: 1px;
  background: rgba(28,28,28,0.10);
}
.sog-progress-seg.done,
.sog-progress-seg.active { background: var(--ink); }

/* === PHOTO PLACEHOLDERS (gradients chauds + grain) === */
.sog-photo {
  position: relative;
  background: linear-gradient(135deg, #d8d3cd 0%, #bdb6ad 100%);
  overflow: hidden;
}
.sog-photo::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(28,28,28,0.18) 0%, transparent 60%);
  mix-blend-mode: soft-light;
}
.sog-photo::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  opacity: 0.45;
  mix-blend-mode: multiply;
}
.sog-photo.tone-warm { background: linear-gradient(135deg, #d4c8b8 0%, #b09c84 100%); }
.sog-photo.tone-cool { background: linear-gradient(135deg, #c9c8c2 0%, #a09e96 100%); }
.sog-photo.tone-dark { background: linear-gradient(135deg, #6e6863 0%, #3f3a36 100%); }
.sog-photo.tone-sand { background: linear-gradient(135deg, #ddd2c2 0%, #c4b8a4 100%); }

/* Avatar (cercle, témoignages) */
.sog-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-image: linear-gradient(135deg, #c4bcb1 0%, #918a80 100%);
  flex-shrink: 0;
}

/* === FOOTER === */
.sog-footer {
  background: var(--ink);
  color: rgba(250,250,249,0.4);
  padding: 48px 24px 32px;
}
.sog-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.sog-footer-mark {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(250,250,249,0.85);
}
.sog-footer-mark .accent { color: var(--accent); }
.sog-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sog-footer-links a {
  color: rgba(250,250,249,0.55);
  transition: color 0.15s;
}
.sog-footer-links a:hover { color: rgba(250,250,249,0.95); }
.sog-footer-copy {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(250,250,249,0.35);
  border-top: 0.5px solid rgba(250,250,249,0.12);
  padding-top: 24px;
}

/* === ANIMATION partagée === */
@keyframes sog-fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════
   ÉCRAN 1 — Landing
   ═══════════════════════════════════════════════════════════ */

/* === HERO === */
.sog-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  background: var(--bg);
  overflow: hidden;
}
.sog-hero-grid { position: absolute; inset: 0; }
.sog-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 25%, rgba(250,250,249,0.92) 100%);
  pointer-events: none;
}
.sog-hero-wordmark {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
}
.sog-hero-content {
  position: absolute;
  bottom: 48px;
  left: 24px;
  right: 24px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.sog-hero-h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-bottom: 16px;
  text-wrap: pretty;
}
.sog-hero-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: rgba(28,28,28,0.55);
  margin-bottom: 0;
  letter-spacing: 0.01em;
}

/* === HERO LAYOUTS (mosaic / grid / band) === */
.sog-mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1.1fr 0.9fr 1fr;
  gap: 6px;
  height: 100%;
  padding: 6px;
}
.sog-mosaic > :nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.sog-mosaic > :nth-child(2) { grid-column: 2; grid-row: 1; }
.sog-mosaic > :nth-child(3) { grid-column: 2; grid-row: 2 / span 2; }
.sog-mosaic > :nth-child(4) { grid-column: 1; grid-row: 3; }

.sog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  height: 100%;
  padding: 6px;
}

.sog-band {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, 1fr);
  gap: 6px;
  height: 100%;
  padding: 6px;
}

/* === OFFRES — cards (landing) === */
.sog-offre-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
}
.sog-offre-card-link:hover .sog-offre { background: var(--hover); }
.sog-offres-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 360px;
  margin: 0 auto;
}
.sog-offre {
  background: var(--surface);
  border: 0.5px solid var(--line-soft);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.sog-offre-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}
.sog-offre-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
}
.sog-offre-badge {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(160,82,45,0.10);
  border: 0.5px solid rgba(160,82,45,0.25);
  border-radius: 8px;
  padding: 4px 8px;
}
.sog-offre-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.sog-offre-price {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 32px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.sog-offre-acompte {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.sog-offre ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}
.sog-offre li {
  display: flex;
  justify-content: space-between;
  border-bottom: 0.5px solid var(--line-soft);
  padding: 6px 0;
}
.sog-offre li span:first-child { color: var(--ink-3); }
.sog-offre li span:last-child  { color: var(--ink); }
.sog-offre-cta { margin-top: auto; }

/* Variante Signature (carte du milieu mise en avant) */
.sog-offre.signature-inverted {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.sog-offre.signature-inverted .sog-offre-name,
.sog-offre.signature-inverted .sog-offre-price { color: var(--bg); }
.sog-offre.signature-inverted .sog-offre-acompte { color: rgba(250,250,249,0.45); }
.sog-offre.signature-inverted ul { color: rgba(250,250,249,0.6); }
.sog-offre.signature-inverted li { border-bottom-color: rgba(250,250,249,0.10); }
.sog-offre.signature-inverted li span:first-child { color: rgba(250,250,249,0.45); }
.sog-offre.signature-inverted li span:last-child  { color: var(--bg); }

/* === STATS / PREUVES === */
.sog-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
  margin: 0 auto 48px;
  max-width: 720px;
  padding-top: 16px;
}
.sog-stat-num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.sog-stat-num.italic { font-style: italic; }
.sog-stat-label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 12px;
}
.sog-stat-divider {
  height: 0.5px;
  background: var(--line-med);
  width: 32px;
  margin: 0 auto;
}

/* === TÉMOIGNAGES === */
.sog-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 8px;
}
.sog-testimonial {
  background: var(--bg);
  border: 0.5px solid var(--line-soft);
  border-radius: 8px;
  padding: 28px 24px;
}
.sog-testimonial p {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 16px;
  text-wrap: pretty;
}
.sog-testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sog-testimonial-name {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* === FAQ (accordéon, ouvert via .open ajouté en JS) === */
.sog-faq {
  max-width: 640px;
  margin: 0 auto;
}
.sog-faq-item {
  border-bottom: 0.5px solid rgba(28,28,28,0.08);
}
.sog-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 28px 0;
  text-align: left;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
}
.sog-faq-icon {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  color: var(--ink-3);
  margin-left: 16px;
  transition: transform 0.2s ease;
  line-height: 1;
}
.sog-faq-a {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
}
.sog-faq-item.open .sog-faq-a { max-height: 240px; padding: 0 32px 24px 0; }
.sog-faq-item.open .sog-faq-icon { transform: rotate(45deg); }

/* ═══════════════════════════════════════════════════════════
   ÉCRAN 2 — Offres (choix + upsells + total)
   ═══════════════════════════════════════════════════════════ */

/* === TITLE BLOCK === */
.sog-title-block {
  padding: 48px 24px 16px;
  text-align: center;
}
.sog-title-block h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 12px;
}
.sog-title-block p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 440px;
  margin: 0 auto;
}

/* === CARDS interactives (écran 2) === */
.sog-offre.is-clickable {
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.sog-offre.is-clickable:hover { border-color: rgba(28,28,28,0.22); }
.sog-offre.is-selected {
  border: 1.5px solid var(--ink);
}
.sog-offre.signature-inverted.is-selected {
  border: 1.5px solid var(--accent);
}

/* === UPSELLS === */
.sog-upsells {
  padding: 48px 24px;
  background: var(--surface);
}
.sog-upsells-inner {
  max-width: 640px;
  margin: 0 auto;
}
.sog-upsells-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.sog-upsell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--line-soft);
  cursor: pointer;
  user-select: none;
}
.sog-upsell:last-child { border-bottom: none; }
.sog-upsell-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}
.sog-checkbox {
  width: 16px;
  height: 16px;
  border: 0.5px solid var(--line-med);
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
  position: relative;
}
.sog-checkbox::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 1.5px solid var(--bg);
  border-bottom: 1.5px solid var(--bg);
  transform: rotate(-45deg) translate(1px, -1px);
  opacity: 0;
}
.sog-upsell.checked .sog-checkbox,
.sog-upsell input:checked ~ .sog-upsell-left .sog-checkbox {
  background: var(--ink);
  border-color: var(--ink);
}
.sog-upsell.checked .sog-checkbox::after,
.sog-upsell input:checked ~ .sog-upsell-left .sog-checkbox::after { opacity: 1; }
.sog-upsell input[type="checkbox"].visually-hidden { position:absolute; opacity:0; width:1px; height:1px; }
.sog-upsell-label {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink);
}
.sog-upsell-price {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-2);
}

/* === TOTAL === */
.sog-total-section {
  padding: 48px 24px 32px;
  background: var(--bg);
}
.sog-total-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg);
  border: 0.5px solid rgba(28,28,28,0.10);
  border-radius: 8px;
  padding: 20px 24px;
}
.sog-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
}
.sog-total-row.divider {
  border-top: 0.5px solid var(--line-soft);
  margin-top: 8px;
  padding-top: 16px;
}
.sog-total-row .label {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  text-transform: uppercase;
}
.sog-total-row .value {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--ink-2);
}
.sog-total-row.acompte .label {
  font-weight: 500;
  color: var(--ink);
}
.sog-total-row.acompte .value {
  font-weight: 500;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: -0.01em;
  transition: opacity 0.15s ease;
}

/* === CTA FINAL (bottom of écran 2) === */
.sog-cta-final {
  padding: 16px 24px 64px;
  background: var(--bg);
  text-align: center;
}
.sog-cta-final .sog-btn {
  width: 100%;
  max-width: 480px;
  font-size: 16px;
  padding: 18px 32px;
  letter-spacing: 0.02em;
}
.sog-cta-note {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 16px;
}

/* === DESKTOP (≥768px) === */
@container sog (min-width: 768px) {
  .sog-section { padding: 96px 48px; }
  .sog-section-h2 { font-size: 36px; margin-bottom: 12px; }
  .sog-topbar .sog-wordmark { font-size: 16px; letter-spacing: 0.18em; }
  .sog-title-block { padding: 80px 48px 24px; }
  .sog-title-block h2 { font-size: 36px; }
  .sog-upsells { padding: 64px 48px; }
  .sog-total-section { padding: 64px 48px 32px; }
  .sog-cta-final { padding: 16px 48px 96px; }

  .sog-hero-wordmark { top: 40px; left: 48px; }
  .sog-hero-content { left: 48px; right: 48px; bottom: 64px; }
  .sog-hero-h1 { font-size: 64px; }
  .sog-hero-sub { font-size: 15px; }

  .sog-offres-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1080px;
    gap: 20px;
    align-items: stretch;
  }

  .sog-stats {
    grid-template-columns: 1fr 0.4fr 1fr 0.4fr 1fr;
    align-items: center;
  }
  .sog-stat-divider { width: 0.5px; height: 48px; margin: 0 auto; }

  .sog-testimonials { grid-template-columns: repeat(3, 1fr); }

  .sog-band {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
  }
  .sog-mosaic {
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .sog-mosaic > :nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
  .sog-mosaic > :nth-child(2) { grid-column: 2; grid-row: 1; }
  .sog-mosaic > :nth-child(3) { grid-column: 3; grid-row: 1 / span 2; }
  .sog-mosaic > :nth-child(4) { grid-column: 2; grid-row: 2; }
  .sog-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  .sog-slots-grid { grid-template-columns: repeat(4, 1fr); }
  .sog-lieu-options { grid-template-columns: 1fr 1fr; }
  .sog-cal-cell { font-size: 15px; }
}

/* ═══════════════════════════════════════════════════════════
   ÉCRAN 3 — Créneau & lieu
   ═══════════════════════════════════════════════════════════ */

/* === RECAP BAR === */
.sog-recap-bar {
  margin: 16px;
  padding: 14px 20px;
  background: var(--surface);
  border-radius: 8px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-2);
  text-align: center;
}
.sog-recap-bar .sep { color: var(--ink-3); margin: 0 8px; }

/* === CALENDRIER === */
.sog-cal { max-width: 480px; margin: 24px auto 0; }
.sog-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px 16px;
}
.sog-cal-month {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--ink);
  text-transform: capitalize;
  letter-spacing: 0.02em;
}
.sog-cal-nav {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 20px;
  color: var(--ink-3);
  width: 32px; height: 32px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.sog-cal-nav:hover { background: var(--surface); color: var(--ink); }
.sog-cal-dows {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}
.sog-cal-dow {
  text-align: center;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 8px 0;
}
.sog-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.sog-cal-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0;
  border-radius: 8px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  user-select: none;
}
button.sog-cal-cell:focus-visible,
button.sog-slot:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.sog-cal-cell:hover { background: var(--hover); }
.sog-cal-cell.selected { background: var(--ink); color: var(--bg); }
.sog-cal-cell.selected:hover { background: var(--ink); }
.sog-cal-cell.disabled {
  background: transparent;
  color: var(--ink-3);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-thickness: 0.5px;
  text-decoration-color: rgba(28,28,28,0.25);
}
.sog-cal-cell.disabled:hover { background: transparent; }
.sog-cal-cell.outside {
  background: transparent;
  color: rgba(28,28,28,0.20);
  cursor: default;
  pointer-events: none;
}
.sog-cal-note {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
  margin-top: 16px;
}

/* === SLOTS === */
.sog-slots { max-width: 480px; margin: 0 auto; animation: sog-fade-in 0.2s ease; }
.sog-slots h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 16px;
  text-align: center;
}
.sog-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.sog-slot {
  background: var(--surface);
  border: 0.5px solid var(--line-soft);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.sog-slot:hover { background: var(--hover); }
.sog-slot.selected { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.sog-slot.unavailable {
  background: var(--bg);
  color: var(--ink-3);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-thickness: 0.5px;
}

/* === LIEU OPTIONS === */
.sog-lieu-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}
.sog-lieu {
  background: var(--bg);
  border: 0.5px solid var(--line-soft);
  border-radius: 8px;
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.sog-lieu:hover { border-color: rgba(28,28,28,0.18); }
.sog-lieu.selected { border: 1.5px solid var(--ink); }
.sog-lieu-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.sog-radio {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 0.5px solid var(--line-med);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--bg);
  transition: background 0.15s, border-color 0.15s;
  position: relative;
}
.sog-radio::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bg);
  opacity: 0;
}
.sog-lieu.selected .sog-radio { background: var(--ink); border-color: var(--ink); }
.sog-lieu.selected .sog-radio::after { opacity: 1; }
.sog-lieu-label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}
.sog-lieu-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
}
.sog-lieu-extra {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 0.5px solid var(--line-soft);
  animation: sog-fade-in 0.2s ease;
}
.sog-lieu-extra-text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-2);
}

/* === INPUT (souligné) === */
.sog-input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 0.5px solid rgba(28,28,28,0.20);
  padding: 8px 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.sog-input:focus { border-bottom-color: var(--ink); }
.sog-input::placeholder { color: rgba(28,28,28,0.30); }
.sog-input-note {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 8px;
  line-height: 1.5;
}

/* === SUMMARY === */
.sog-summary {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg);
  border: 0.5px solid rgba(28,28,28,0.10);
  border-radius: 8px;
  padding: 16px 20px;
  animation: sog-fade-in 0.2s ease;
}
.sog-summary-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.sog-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 0.5px solid var(--line-soft);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink);
  gap: 16px;
}
.sog-summary-row:last-child { border-bottom: none; }
.sog-summary-row .key {
  color: var(--ink-3);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════
   ÉCRAN 4 — Coordonnées & Paiement
   ═══════════════════════════════════════════════════════════ */

/* === RECAP FULL (top) === */
.sog-recap-full {
  margin: 16px;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.sog-recap-full-lines {
  display: flex; flex-direction: column; gap: 4px; flex: 1;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.sog-recap-full-lines .sep { color: var(--ink-3); margin: 0 6px; }
.sog-recap-full-lines .strong { font-weight: 500; color: var(--ink); }
.sog-recap-edit {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

/* === FIELDS === */
.sog-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  padding: 6px 0 4px;
}
.sog-field-label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.sog-field-input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 0.5px solid rgba(28,28,28,0.20);
  padding: 8px 24px 10px 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.sog-field-input:focus { border-bottom-color: var(--ink); }
textarea.sog-field-input {
  resize: vertical;
  min-height: 120px;
  border: 0.5px solid rgba(28,28,28,0.20);
  border-radius: 8px;
  padding: 12px 14px;
  line-height: 1.55;
}
textarea.sog-field-input:focus { border-color: var(--ink); }
select.sog-field-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%231c1c1c' fill='none' stroke-width='1'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}
.sog-field-input::placeholder { color: rgba(28,28,28,0.30); }
.sog-field.has-error .sog-field-input { border-bottom-color: var(--danger); }
.sog-field.is-valid .sog-field-input { border-bottom-color: rgba(28,28,28,0.40); }
.sog-field-error {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  color: var(--danger);
  margin-top: 2px;
}
.sog-field-check {
  position: absolute;
  right: 0;
  bottom: 12px;
  font-size: 14px;
  color: rgba(28,28,28,0.4);
}
/* === PAIEMENT 2-COLUMN LAYOUT === */
.sog-pay-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.sog-pay-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
}
.sog-pay-col-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--ink-1);
  margin: 0 0 4px;
  text-align: left;
}
.sog-pay-col-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink-2);
  margin: 0 0 16px;
  text-align: left;
}
.sog-pay-bottom {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 48px;
}
@media (min-width: 768px) {
  .sog-pay-layout {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.sog-fields-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: none;
  margin: 0;
}
.sog-fields-note {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--ink-3);
  text-align: left;
  margin: 24px 0 0;
  max-width: none;
}

/* === STRIPE BLOCK === */
.sog-stripe {
  max-width: none;
  margin: 24px 0 0;
  background: var(--bg);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sog .sog-wallet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 0;
}
.sog .sog-wallet-btn.gpay {
  background: var(--bg);
  color: var(--ink);
  border: 0.5px solid var(--line-med);
}
.sog-or {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.sog-or::before, .sog-or::after {
  content: "";
  flex: 1;
  height: 0.5px;
  background: var(--line-soft);
}
.sog-card-fields { display: flex; flex-direction: column; gap: 12px; }
.sog-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.sog-card-input {
  width: 100%;
  background: var(--bg);
  border: 0.5px solid var(--line-soft);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.sog-card-input:focus { border-color: var(--ink); }
.sog-card-input::placeholder { color: rgba(28,28,28,0.30); }

/* === SECURE BADGE === */
.sog-secure {
  max-width: 640px;
  margin: 16px auto 0;
  text-align: center;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--ink-3);
}
.sog-secure-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.sog-secure-icon { color: var(--accent); }
.sog-paylogos {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
  opacity: 0.55;
  flex-wrap: wrap;
}
.sog-paylogo {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  border: 0.5px solid var(--line-med);
  border-radius: 4px;
  padding: 4px 8px;
}

/* === CGV === */
.sog-cgv {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
  padding: 16px 0;
  cursor: pointer;
  user-select: none;
}
.sog-cgv-text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.sog-cgv-text a {
  font-weight: 400;
  color: var(--accent);
}
.sog-cgv .sog-checkbox::after {
  width: 8px;
  height: 4px;
  border-left: 1.5px solid var(--bg);
  border-bottom: 1.5px solid var(--bg);
  transform: rotate(-45deg) translate(1px,-1px);
}
.sog-cgv.checked .sog-checkbox,
.sog-cgv input:checked ~ .sog-cgv-text ~ .sog-checkbox,
.sog-cgv input:checked + .sog-checkbox {
  background: var(--ink);
  border-color: var(--ink);
}
.sog-cgv.checked .sog-checkbox::after,
.sog-cgv input:checked + .sog-checkbox::after { opacity: 1; }
.sog-cgv input[type="checkbox"].visually-hidden { position:absolute; opacity:0; width:1px; height:1px; }

/* === FINAL RECAP === */
.sog-final-recap {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg);
  border: 0.5px solid rgba(28,28,28,0.10);
  border-radius: 8px;
  padding: 16px 20px;
}
.sog-final-recap-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.sog-final-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 0.5px solid var(--line-soft);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-2);
  gap: 16px;
}
.sog-final-row:last-child { border-bottom: none; }
.sog-final-row.acompte { padding-top: 12px; padding-bottom: 12px; }
.sog-final-row.acompte .label { font-weight: 500; color: var(--ink); font-size: 13px; }
.sog-final-row.acompte .value { font-weight: 500; color: var(--ink); font-size: 16px; }

.sog-cta-link {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  color: var(--accent);
}

@container sog (min-width: 768px) {
  .sog-fields-grid { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   ÉCRAN 5 — Confirmation
   ═══════════════════════════════════════════════════════════ */

.sog-confirm-hero {
  background: var(--bg);
  padding: 64px 24px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sog-confirm-icon-wrap {
  margin-bottom: 32px;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.sog-confirm-icon-wrap.is-in {
  transform: scale(1);
  opacity: 1;
}
.sog-success-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(160, 82, 45, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sog-confirm-h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 44px;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-bottom: 16px;
  text-wrap: pretty;
}
.sog-confirm-sub {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 360px;
  margin: 0 auto;
  text-wrap: pretty;
}

.sog-recap-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 8px;
  padding: 20px 24px;
}
.sog-recap-card-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.sog-recap-card-rows {
  display: flex;
  flex-direction: column;
}
.sog-recap-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--line-soft);
}
.sog-recap-row:first-child { padding-top: 4px; }
.sog-recap-row:last-child { border-bottom: none; padding-bottom: 4px; }
.sog-recap-key {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  flex-shrink: 0;
}
.sog-recap-val {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink);
  text-align: right;
  line-height: 1.4;
  word-break: break-word;
}
.sog-recap-val.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.sog-confirm-actions {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sog-confirm-actions .sog-btn { width: 100%; }

.sog-steps-list {
  max-width: 560px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.sog-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 0.5px solid var(--line-soft);
}
.sog-step:last-child { border-bottom: none; }
.sog-step:first-child { padding-top: 8px; }
.sog-step-num {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-3);
  flex-shrink: 0;
  letter-spacing: 0.04em;
  min-width: 24px;
  padding-top: 1px;
}
.sog-step-text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  text-wrap: pretty;
}

.sog-confirm-footer { padding: 48px 24px 32px; }
.sog-confirm-footer .sog-footer-inner { gap: 24px; }
.sog-confirm-ig {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  color: rgba(250,250,249,0.4);
  letter-spacing: 0.02em;
  transition: color 0.15s;
  align-self: flex-start;
}
.sog-confirm-ig:hover { color: rgba(250,250,249,0.85); }

@container sog (min-width: 768px) {
  .sog-confirm-hero { padding: 96px 48px 64px; }
  .sog-confirm-h1 { font-size: 64px; }
  .sog-confirm-sub { font-size: 15px; max-width: 440px; }
  .sog-recap-card { max-width: 560px; padding: 28px 32px; }
  .sog-confirm-actions { max-width: 560px; }
  .sog-steps-list { max-width: 640px; }
  .sog-step-num { min-width: 32px; }
  .sog-step-text { font-size: 15px; }
  .sog-confirm-footer { padding: 64px 48px 40px; }
}

/* ═══════════════════════════════════════════════════════════
   PAGES LÉGALES — CGV / Mentions / Droit à l'image
   ═══════════════════════════════════════════════════════════ */

.sog-legal-header {
  background: var(--bg);
  border-bottom: 0.5px solid var(--line-soft);
  padding: 16px 24px;
}
.sog-legal-header-inner { max-width: 680px; margin: 0 auto; }
.sog-legal-header .sog-wordmark { font-size: 14px; letter-spacing: 0.14em; }
@container sog (min-width: 768px) {
  .sog-legal-header .sog-wordmark { font-size: 16px; letter-spacing: 0.18em; }
}
.sog-legal-main {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.sog-legal-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
  text-wrap: pretty;
}
.sog-legal-date {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.sog-legal-intro {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 40px;
  max-width: 560px;
}
.sog-legal-toc {
  background: var(--surface);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 40px;
}
.sog-legal-toc-title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.sog-legal-toc ol {
  list-style: none;
  margin: 0; padding: 0;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sog-legal-toc li {
  counter-increment: toc;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-2);
}
.sog-legal-toc li::before {
  content: counter(toc, decimal-leading-zero) " ";
  color: var(--ink-3);
  margin-right: 8px;
  font-weight: 400;
}
.sog-legal-toc a { color: var(--ink-2); transition: color 0.15s; }
.sog-legal-toc a:hover { color: var(--accent); }

.sog-legal-section { padding: 28px 0; border-top: 0.5px solid var(--line-soft); }
.sog-legal-section:first-of-type { border-top: 0; padding-top: 8px; }
.sog-legal-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.sog-legal-section h2 .num {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.sog-legal-section p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.sog-legal-section a { color: var(--accent); transition: opacity 0.15s; }
.sog-legal-section a:hover { opacity: 0.7; }

.sog-legal-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sog-legal-list > li {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
}
.sog-legal-list > li::before {
  content: "·";
  color: var(--ink-3);
  position: absolute;
  left: 4px;
  top: 0;
  font-size: 18px;
  line-height: 1.2;
}
.sog-legal-list strong { font-weight: 500; color: var(--ink); }
.sog-legal-sublist {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sog-legal-sublist li {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-3);
  position: relative;
  padding-left: 14px;
}
.sog-legal-sublist li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--ink-3);
}

.sog-legal-kv {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sog-legal-kv li {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}
.sog-legal-kv .key {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 12px;
}
.sog-legal-kv .placeholder {
  color: var(--ink-3);
  font-style: italic;
}

.sog-legal-callout {
  background: var(--surface);
  border-left: 2px solid var(--accent);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin-top: 12px;
}
.sog-legal-callout p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}
.sog-legal-callout-soft {
  background: var(--surface);
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 12px;
}
.sog-legal-callout-soft p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

.sog-legal-table-wrap {
  overflow-x: auto;
  border: 0.5px solid var(--line-soft);
  border-radius: 8px;
  margin-top: 8px;
}
.sog-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 13px;
}
.sog-legal-table th, .sog-legal-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 0.5px solid var(--line-soft);
  font-weight: 300;
  color: var(--ink-2);
}
.sog-legal-table th {
  font-weight: 500;
  color: var(--ink-3);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--surface);
}
.sog-legal-table tr:last-child td { border-bottom: 0; }
.sog-legal-table-note {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  color: var(--ink-3);
  margin-top: 8px;
  font-style: italic;
}

.sog-legal-back-wrap {
  border-top: 0.5px solid var(--line-soft);
  margin-top: 32px;
  padding-top: 32px;
  text-align: center;
}
.sog-legal-back {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.sog-legal-back:hover { color: var(--ink); }

@container sog (min-width: 768px) {
  .sog-legal-header { padding: 20px 48px; }
  .sog-legal-main   { padding: 80px 48px 96px; }
  .sog-legal-title  { font-size: 44px; margin-bottom: 20px; }
  .sog-legal-intro  { font-size: 15px; margin-bottom: 56px; }
  .sog-legal-section h2 { font-size: 26px; }
  .sog-legal-section p,
  .sog-legal-list > li,
  .sog-legal-kv li { font-size: 15px; }
}

/* === CONSENT BANNER === */
/* Les composants de consentement vivent hors `.sog` pour rester affichés
   sur toutes les pages, y compris les pages légales. */
.sog-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  padding: 16px;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}
.sog-consent-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 8px;
}
.sog-consent-text {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--ink-2);
}
.sog-consent-text a {
  color: var(--accent);
  text-decoration: underline;
}
.sog-consent-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sog-consent-btn {
  display: inline-block;
  width: 100%;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid var(--line-med);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
}
.sog-consent-btn:hover { background: var(--hover); }
.sog-consent-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Panneau de personnalisation */
.sog-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(28, 28, 28, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.sog-consent-panel-box {
  width: 100%;
  max-width: 640px;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  border-radius: 8px 8px 0 0;
  padding: 24px 16px;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  max-height: 90vh;
  overflow-y: auto;
}
.sog-consent-row {
  border-top: 1px solid var(--line-soft);
  padding: 16px 0;
}
.sog-consent-row-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.sog-consent-row-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.sog-consent-row-name {
  font-weight: 400;
  font-size: 15px;
}
.sog-consent-row-desc {
  margin: 4px 0 0 26px;
  font-size: 13px;
  color: var(--ink-2);
}

@media (min-width: 768px) {
  .sog-consent-banner {
    padding: 24px 48px;
  }
  .sog-consent-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
  .sog-consent-btn { width: auto; }
  .sog-consent-overlay { align-items: center; padding: 24px; }
  .sog-consent-panel-box {
    border-radius: 8px;
    padding: 32px;
  }
}
