/* ============================================================
   SEO.CSS — Casino Evenements
   Pages SEO locales : styles specifiques au template.
   Les pages SEO reutilisent largement les composants existants :
   - hero--accueil (base.css / accueil.css)
   - service-split (services.css / tables.css)
   - devis-section (accueil.css)
   - faq-accordion (components.css)
   - realisations-preview (components.css)
   ============================================================ */

/* ============================================================
   PAGE SEO — Body & header (mirror du pattern accueil/tables/services)
   ============================================================ */

body.page-seo {
  background-color: var(--black);
}

body.page-seo .header {
  background: transparent;
  border-bottom-color: transparent;
  transition: background var(--duration-normal) var(--ease-out),
              border-bottom-color var(--duration-normal) var(--ease-out);
}

body.page-seo .header.header--scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border-subtle);
}

body.page-seo #main-content {
  padding-top: 0;
}

/* ============================================================
   HERO SEO — Micro-ajustements sur hero--accueil
   ============================================================ */

.hero--seo-local .breadcrumb {
  position: relative;
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
  color: var(--white-muted);
}

.hero--seo-local .breadcrumb a {
  color: var(--white-muted);
  text-decoration: none;
  transition: color 200ms var(--ease-out);
}

.hero--seo-local .breadcrumb a:hover,
.hero--seo-local .breadcrumb a:focus {
  color: var(--gold);
}

.hero--seo-local .breadcrumb span {
  color: var(--white-soft);
}

/* ============================================================
   INTRO PILIERS — Section 2 (3 cartes, pattern prestations-grid accueil)
   ============================================================ */

.seo-intro-piliers {
  padding: var(--section-gap) 0;
  text-align: center;
}

/* Cartes — top left (decoratif) */
.seo-intro-piliers.section-card-bg::before {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background: url('../img/cartes.webp') no-repeat center / contain;
  width: 280px;
  height: 280px;
  top: -40px;
  left: -40px;
  transform: rotate(-10deg);
  display: none;
}

/* Pile-de-as — top right (decoratif, override de section-card-bg::after) */
.seo-intro-piliers.section-card-bg::after {
  background-image: url('../img/pile-de-as.webp');
  width: 260px;
  height: 380px;
  top: -50px;
  right: -30px;
  bottom: auto;
  left: auto;
  transform: rotate(10deg);
}

/* Jetons — bottom left (element HTML) */
.seo-intro-jetons {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: url('../img/jetons.webp') no-repeat center / contain;
  width: 260px;
  height: 180px;
  bottom: -10px;
  left: 40px;
  transform: rotate(-5deg);
  opacity: 0;
  display: none;
}

@media (min-width: 768px) {
  .seo-intro-piliers.section-card-bg::before {
    display: block;
    opacity: 0.5;
  }

  .seo-intro-jetons {
    display: block;
    opacity: 0.5;
  }
}

.seo-intro-piliers-title {
  margin: var(--space-md) auto var(--space-md);
  max-width: 720px;
}

.seo-intro-piliers-accroche {
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
  color: var(--white-soft);
  font-size: clamp(1rem, 0.95rem + 0.15vw, 1.125rem);
  line-height: 1.75;
}

.seo-intro-piliers-origine {
  max-width: 720px;
  margin: calc(-1 * var(--space-2xl)) auto var(--space-3xl);
  color: var(--white-muted);
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.65;
  text-align: center;
}

/* Densifier les descriptions des cartes "presta-card" reutilisees sur les pages SEO
   (override scope au body.page-seo pour ne pas toucher l'accueil) */
body.page-seo .presta-card p {
  color: var(--white-soft);
}

.seo-intro-piliers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  text-align: left;
}

@media (min-width: 768px) {
  .seo-intro-piliers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

.seo-intro-piliers-grid > .presta-card {
  height: 100%;
}

/* ============================================================
   SEO LIEUX — Section 2 editoriale numerotee
   (inspirée de tables-choisir mais adaptée a du texte long)
   ============================================================ */

.seo-lieux {
  padding: clamp(3rem, 2.5rem + 2vw, 5rem) 0;
  border-top: 1px solid var(--border-subtle);
}

/* Background photo (same pattern as accueil .prestations) */
.seo-lieux.section-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/hero/soirée-casino.webp');
  background-size: 120%;
  background-position: center;
  background-repeat: no-repeat;
  transform: none;
  opacity: 0.2;
  filter: blur(3px);
  display: block;
  pointer-events: none;
  z-index: 0;
}

.seo-lieux-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
}

.seo-lieux-header h2 {
  margin-bottom: var(--space-md);
}

.seo-lieux-intro {
  color: var(--white-soft);
  font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem);
  line-height: 1.7;
  margin: 0;
}

.seo-lieux-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

@media (min-width: 900px) {
  .seo-lieux-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }

  .seo-lieux-grid--two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
    margin: 0 auto;
  }
}

.seo-lieux-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-2xl) var(--space-xl);
  transition:
    background var(--duration-normal) var(--ease-out),
    border-color var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out);
}

.seo-lieux-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

/* Gold top accent line (mirror presta-card) */
.seo-lieux-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold);
  opacity: 0.5;
  transition: width var(--duration-normal) var(--ease-out),
              opacity var(--duration-normal) var(--ease-out);
}

.seo-lieux-item:hover::before {
  width: 60px;
  opacity: 1;
}

.seo-lieux-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 2rem + 1.5vw, 3.25rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
}

.seo-lieux-rule {
  display: none;
}

.seo-lieux-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  margin-bottom: var(--space-sm);
}

.seo-lieux-title {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  line-height: 1.25;
  margin-bottom: var(--space-md);
}

.seo-lieux-desc {
  color: var(--white-soft);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   SEO TABLES / SERVICES HEADERS
   (petit bloc centre d'intro avant les table-feature/service-feature)
   ============================================================ */

.seo-tables-header,
.seo-services-header {
  padding: var(--space-3xl) 0 var(--space-lg);
  text-align: center;
  border-top: 1px solid var(--border-subtle);
}

/* Quand un wrapper tables-collection / services-collection suit immediatement
   un seo-*-header, on reduit son padding-top pour eviter le double-spacing
   (le wrapper apporte son halo radial et ses separateurs sans empiler le vide) */
body.page-seo .seo-tables-header + .tables-collection,
body.page-seo .seo-services-header + .services-collection {
  padding-top: clamp(1rem, 0.5rem + 1vw, 2rem);
}

.seo-tables-header > .container,
.seo-services-header > .container {
  max-width: 720px;
}

.seo-tables-header-title,
.seo-services-header-title {
  margin-bottom: var(--space-md);
}

.seo-tables-header-intro,
.seo-services-header-intro {
  color: var(--white-soft);
  font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   SEO TABLES GRID — Cartes compactes (tables secondaires apres phares)
   ============================================================ */

.seo-tables-grid-section {
  padding: var(--space-3xl) 0;
  background: var(--black);
}

.seo-tables-grid-title {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin: 0 auto var(--space-2xl);
  opacity: 0.9;
}

.seo-tables-grid-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: var(--space-sm) auto 0;
  opacity: 0.5;
}

.seo-tables-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .seo-tables-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .seo-tables-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.seo-tables-card {
  display: flex;
  flex-direction: column;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition:
    border-color var(--duration-normal) var(--ease-out),
    transform var(--duration-normal) var(--ease-out);
}

.seo-tables-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.seo-tables-card-media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.seo-tables-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}

.seo-tables-card:hover .seo-tables-card-media img {
  transform: scale(1.04);
}

.seo-tables-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(212, 175, 55, 0.3);
  font-size: 2.5rem;
  letter-spacing: 0.2em;
}

.seo-tables-card-num {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  background: rgba(10, 10, 10, 0.85);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.seo-tables-card-body {
  padding: var(--space-lg) var(--space-lg) var(--space-xl);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.seo-tables-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1rem + 0.3vw, 1.25rem);
  font-weight: 600;
  color: var(--white);
  margin: 0 0 var(--space-sm);
  line-height: 1.3;
}

.seo-tables-card-capacity {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white-muted);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.seo-tables-card-capacity svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.seo-tables-card-desc {
  color: var(--white-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0 0 var(--space-md);
}

.seo-tables-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.seo-tables-card-list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--white-soft);
  font-size: 0.875rem;
  line-height: 1.55;
}

.seo-tables-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.7;
}

/* ============================================================
   SEO FEATURE DUO — Composant duo arche editorial
   Reprend la signature service-feature/table-feature en 2 colonnes
   cote a cote. Utilise pour :
   - les 2 tables phares (Blackjack + Roulette)
   - les 2 services (Photobooth + Decoration)
   ============================================================ */

.seo-feature-duo-section {
  position: relative;
  padding: clamp(4rem, 3rem + 4vw, 7rem) 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
    var(--black);
  border-top: 1px solid var(--border-subtle);
}

.seo-feature-duo-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
}

.seo-feature-duo-header h2 {
  margin: var(--space-sm) 0 var(--space-md);
}

.seo-feature-duo-intro {
  color: var(--white-soft);
  font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem);
  line-height: 1.7;
  margin: 0;
}

.seo-feature-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(3rem, 2rem + 3vw, 5rem);
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .seo-feature-duo {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(2.5rem, 1.5rem + 2.5vw, 4.5rem);
  }
}

/* --- Carte duo (chaque cellule) --------------------------- */

.seo-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) 0;
  overflow: hidden;
}

/* Watermark glyph (suit pour tables, ornament pour services) */
.seo-feature-card-glyph {
  position: absolute;
  top: 55%;
  right: -2vw;
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-size: clamp(12rem, 22vw, 20rem);
  font-weight: 400;
  line-height: 0.85;
  color: var(--gold);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transform: translateY(-50%);
  filter: blur(0.5px);
  transition: opacity var(--duration-slow) var(--ease-out);
}

.seo-feature-card:nth-child(odd) .seo-feature-card-glyph {
  right: auto;
  left: -2vw;
}

/* Subtle hue per suit (heart / diamond — kept faint) */
.seo-feature-card-glyph--heart,
.seo-feature-card-glyph--diamond {
  color: #c8504c;
  opacity: 0.045;
}

/* --- Visual : frame en arche (reprend service-feature-frame) -- */

.seo-feature-card-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 var(--space-xl);
  z-index: 1;
}

.seo-feature-card-frame {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  isolation: isolate;
}

.seo-feature-card-frame-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px 999px 14px 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #1f1a13 0%, #0c0a06 100%);
  box-shadow:
    0 30px 50px -20px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(212, 175, 55, 0.10),
    inset 0 1px 0 rgba(212, 175, 55, 0.18),
    inset 0 -30px 60px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Vignette chaude + fade noir bas */
.seo-feature-card-frame-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.18) 0%, transparent 45%),
    linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Anneau exterieur doré (offset gold ring) */
.seo-feature-card-frame::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 999px 999px 22px 22px;
  border: 1px solid rgba(212, 175, 55, 0.10);
  pointer-events: none;
  z-index: 0;
  transition: inset var(--duration-slow) var(--ease-out),
              border-color var(--duration-slow) var(--ease-out);
}

.seo-feature-card:hover .seo-feature-card-frame::after,
.seo-feature-card:focus-within .seo-feature-card-frame::after {
  inset: -14px;
  border-color: rgba(212, 175, 55, 0.18);
}

.seo-feature-card-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 1.2s var(--ease-out);
  display: block;
}

.seo-feature-card:hover .seo-feature-card-frame img {
  transform: scale(1.04);
}

/* Placeholder photo a venir (reuse table-feature-placeholder) */
.seo-feature-card-placeholder {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  text-align: center;
  padding: var(--space-xl);
}

.seo-feature-card-placeholder-icon {
  font-size: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  color: var(--gold);
  opacity: 0.6;
  letter-spacing: 0.1em;
  line-height: 1;
}

.seo-feature-card-placeholder-text {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-muted);
}

/* Coins ticks dorés */
.seo-feature-card-frame-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 3;
  pointer-events: none;
}

.seo-feature-card-frame-corner--tl {
  top: -7px;
  left: -7px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.seo-feature-card-frame-corner--tr {
  top: -7px;
  right: -7px;
  border-top: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

.seo-feature-card-frame-corner--bl {
  bottom: -7px;
  left: -7px;
  border-bottom: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.seo-feature-card-frame-corner--br {
  bottom: -7px;
  right: -7px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

/* --- Contenu : overline + titre + lead + liste filets + CTA --- */

.seo-feature-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 clamp(0.25rem, 0.5vw, 1rem);
}

/* Overline avec numéro + filet */
.seo-feature-card-overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.seo-feature-card-overline-num {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.seo-feature-card-overline-rule {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.seo-feature-card-overline-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Titre editorial moyen (plus petit que service-feature plein ecran) */
.seo-feature-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.625rem, 1.3rem + 1.5vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.12em 0.22em;
  color: var(--white);
}

.seo-feature-card-title .accent {
  font-size: 1.05em;
  line-height: 0.9;
  letter-spacing: -0.005em;
  display: inline-block;
  transform: translateY(0.04em);
}

/* Capacite badge (tables only) */
.seo-feature-card-capacity {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.5em 1em;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  margin-bottom: var(--space-lg);
  background: rgba(212, 175, 55, 0.04);
}

.seo-feature-card-capacity svg {
  color: var(--gold);
  flex-shrink: 0;
  opacity: 0.85;
}

/* Lead */
.seo-feature-card-lead {
  color: var(--white-soft);
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  margin: 0 0 var(--space-lg);
  font-weight: 300;
}

/* Liste avec filets dores (16px horizontal — signature site) */
.seo-feature-card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.seo-feature-card-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--white-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.seo-feature-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 16px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

/* CTA souligné gold (signature service-feature-cta) */
.seo-feature-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--gold);
  text-decoration: none;
  align-self: flex-start;
  transition:
    color var(--duration-fast) var(--ease-out),
    gap var(--duration-normal) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.seo-feature-card-cta:hover,
.seo-feature-card-cta:focus-visible {
  color: var(--gold);
  gap: calc(var(--space-md) + 6px);
  border-bottom-color: var(--gold-light);
  outline: none;
}

.seo-feature-card-cta svg {
  transition: transform var(--duration-normal) var(--ease-out);
  color: var(--gold);
}

.seo-feature-card-cta:hover svg,
.seo-feature-card-cta:focus-visible svg {
  transform: translateX(4px);
}

/* Mobile : reduire le frame, watermark plus discret */
@media (max-width: 899px) {
  .seo-feature-card-frame {
    max-width: 320px;
  }

  .seo-feature-card-glyph {
    font-size: clamp(10rem, 60vw, 16rem);
    opacity: 0.03;
    top: 30%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
  }

  .seo-feature-card:nth-child(odd) .seo-feature-card-glyph {
    left: 50%;
  }

  .seo-feature-card-frame-corner {
    width: 18px;
    height: 18px;
  }
}

/* ============================================================
   SEO SERVICES SPLIT — composant editorial alterné
   Layout magazine : image d'un côté, contenu de l'autre,
   inversé entre les deux services pour créer un rythme.
   Utilisé pour : Photobooth + Décoration sur les pages SEO.
   ============================================================ */

.seo-services-split-section {
  position: relative;
  padding: clamp(4rem, 3rem + 4vw, 7rem) 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
    var(--black);
  border-top: 1px solid var(--border-subtle);
}

.seo-services-split-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
}

.seo-services-split-header h2 {
  margin: var(--space-sm) 0 var(--space-md);
}

.seo-services-split-intro {
  color: var(--white-soft);
  font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem);
  line-height: 1.7;
  margin: 0;
}

.seo-services-split {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 2rem + 4vw, 6rem);
  max-width: 1180px;
  margin: 0 auto;
}

/* --- Carte split (chaque service) --- */

.seo-service-split {
  position: relative;
  isolation: isolate;
  padding: clamp(1rem, 0.5rem + 1vw, 2rem) 0;
  overflow: hidden;
}

/* Séparateur ornemental entre les deux cartes */
.seo-service-split + .seo-service-split::before {
  content: '';
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: clamp(2.5rem, 2rem + 1.5vw, 4rem);
  background: linear-gradient(180deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.35;
}

/* Watermark glyph (sparkle / diamond) */
.seo-service-split-glyph {
  position: absolute;
  top: 50%;
  font-family: 'Arial', 'Helvetica', sans-serif;
  font-size: clamp(14rem, 28vw, 26rem);
  font-weight: 400;
  line-height: 0.85;
  color: var(--gold);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transform: translateY(-50%);
  filter: blur(0.5px);
  transition: opacity var(--duration-slow) var(--ease-out);
}

.seo-service-split-glyph--sparkle {
  right: -3vw;
}

.seo-service-split--reversed .seo-service-split-glyph--diamond {
  right: auto;
  left: -3vw;
}

/* Grille interne : 2 colonnes alternées */
.seo-service-split-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 1.5rem + 2vw, 4rem);
  align-items: center;
}

/* Mobile : visuel en premier (image-top, content-bottom) */
.seo-service-split--reversed .seo-service-split-visual {
  order: 1;
}

.seo-service-split--reversed .seo-service-split-content {
  order: 2;
}

@media (min-width: 900px) {
  .seo-service-split-grid {
    grid-template-columns: 5fr 6fr;
    gap: clamp(2.5rem, 1.5rem + 3vw, 5rem);
  }

  .seo-service-split--reversed .seo-service-split-grid {
    grid-template-columns: 6fr 5fr;
  }

  /* Desktop : reversed = contenu à gauche, image à droite */
  .seo-service-split--reversed .seo-service-split-visual {
    order: 2;
  }

  .seo-service-split--reversed .seo-service-split-content {
    order: 1;
  }
}

/* --- Visual : frame paysage (16/12) avec coins dorés --- */

.seo-service-split-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md) 0;
}

.seo-service-split-frame {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 4 / 3;
  isolation: isolate;
}

.seo-service-split-frame-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(180deg, #1f1a13 0%, #0c0a06 100%);
  box-shadow:
    0 40px 70px -25px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(212, 175, 55, 0.12),
    inset 0 1px 0 rgba(212, 175, 55, 0.18),
    inset 0 -40px 80px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Vignette chaude + fade bas */
.seo-service-split-frame-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.14) 0%, transparent 50%),
    linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.30) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Anneau externe doré offset */
.seo-service-split-frame::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.10);
  pointer-events: none;
  z-index: 0;
  transition: inset var(--duration-slow) var(--ease-out),
              border-color var(--duration-slow) var(--ease-out);
}

.seo-service-split:hover .seo-service-split-frame::after,
.seo-service-split:focus-within .seo-service-split-frame::after {
  inset: -16px;
  border-color: rgba(212, 175, 55, 0.20);
}

.seo-service-split-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 1.4s var(--ease-out);
  display: block;
}

.seo-service-split:hover .seo-service-split-frame img {
  transform: scale(1.04);
}

/* Placeholder photo à venir */
.seo-service-split-placeholder {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  text-align: center;
  padding: var(--space-xl);
}

.seo-service-split-placeholder-icon {
  font-size: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  color: var(--gold);
  opacity: 0.6;
  letter-spacing: 0.1em;
  line-height: 1;
}

.seo-service-split-placeholder-text {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-muted);
}

/* Coins ticks dorés (2 coins en diagonale pour effet plus aéré) */
.seo-service-split-frame-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  z-index: 3;
  pointer-events: none;
}

.seo-service-split-frame-corner--tl {
  top: -8px;
  left: -8px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
}

.seo-service-split-frame-corner--br {
  bottom: -8px;
  right: -8px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
}

/* Badge numéroté flottant sur l'image */
.seo-service-split-badge {
  position: absolute;
  z-index: 4;
  top: -14px;
  right: -14px;
  width: clamp(48px, 4vw, 56px);
  height: clamp(48px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: clamp(0.9375rem, 0.8rem + 0.4vw, 1.125rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(212, 175, 55, 0.3);
  transition: transform var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out);
}

.seo-service-split--reversed .seo-service-split-badge {
  right: auto;
  left: -14px;
}

.seo-service-split:hover .seo-service-split-badge {
  transform: scale(1.08) rotate(-4deg);
  border-color: var(--gold-light);
}

/* --- Contenu --- */

.seo-service-split-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
  padding: 0 clamp(0.25rem, 0.5vw, 1rem);
}

.seo-service-split-overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.seo-service-split-overline-rule {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.seo-service-split-overline-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.seo-service-split-title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 1.3rem + 2vw, 2.875rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.12em 0.24em;
  color: var(--white);
}

.seo-service-split-title .accent {
  font-size: 1.05em;
  line-height: 0.9;
  letter-spacing: -0.005em;
  display: inline-block;
  transform: translateY(0.04em);
}

.seo-service-split-lead {
  color: var(--white-soft);
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  margin: 0 0 var(--space-lg);
  font-weight: 300;
}

.seo-service-split-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.seo-service-split-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--white-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.seo-service-split-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 16px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

.seo-service-split-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--gold);
  text-decoration: none;
  align-self: flex-start;
  transition:
    color var(--duration-fast) var(--ease-out),
    gap var(--duration-normal) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.seo-service-split-cta:hover,
.seo-service-split-cta:focus-visible {
  color: var(--gold);
  gap: calc(var(--space-md) + 6px);
  border-bottom-color: var(--gold-light);
  outline: none;
}

.seo-service-split-cta svg {
  transition: transform var(--duration-normal) var(--ease-out);
  color: var(--gold);
}

.seo-service-split-cta:hover svg,
.seo-service-split-cta:focus-visible svg {
  transform: translateX(4px);
}

/* Mobile : watermark plus discret, frame plus compact */
@media (max-width: 899px) {
  .seo-service-split-frame {
    max-width: 480px;
  }

  .seo-service-split-glyph {
    font-size: clamp(12rem, 70vw, 20rem);
    opacity: 0.03;
    top: 20%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
  }

  .seo-service-split--reversed .seo-service-split-glyph--diamond {
    left: 50%;
  }

  .seo-service-split-badge {
    width: 44px;
    height: 44px;
    font-size: 0.9375rem;
    top: -10px;
    right: -10px;
  }

  .seo-service-split--reversed .seo-service-split-badge {
    left: -10px;
  }

  .seo-service-split-frame-corner {
    width: 20px;
    height: 20px;
  }
}

/* ============================================================
   SEO REALISATIONS INTRO
   ============================================================ */

.seo-realisations-intro {
  padding: var(--space-3xl) 0 0;
  text-align: center;
}

.seo-realisations-intro > .container {
  max-width: 720px;
}

.seo-realisations-intro p {
  color: var(--white-soft);
  font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   SEO PAGES LIÉES — maillage cross-linking IDF
   ============================================================ */

.seo-pages-liees {
  padding: clamp(3rem, 2.5rem + 2vw, 5rem) 0;
  border-top: 1px solid var(--border-subtle);
}

.seo-pages-liees-title {
  text-align: center;
  margin: 0 auto var(--space-md);
}

.seo-pages-liees-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  color: var(--white-soft);
  font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1.0625rem);
  line-height: 1.7;
}

.seo-pages-liees-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .seo-pages-liees-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.seo-pages-liees-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-xl);
  text-decoration: none;
  color: inherit;
  transition: background var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal) var(--ease-out),
              transform var(--duration-normal) var(--ease-out);
}

.seo-pages-liees-card:hover,
.seo-pages-liees-card:focus-visible {
  background: rgba(212, 175, 55, 0.06);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.seo-pages-liees-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.seo-pages-liees-card-title {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  margin: 0 0 var(--space-sm);
  color: var(--white);
  line-height: 1.3;
}

.seo-pages-liees-card-text {
  color: var(--white-soft);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0 0 var(--space-md);
  flex-grow: 1;
}

.seo-pages-liees-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9375rem;
  margin-top: auto;
}

.seo-pages-liees-card:hover .seo-pages-liees-cta svg,
.seo-pages-liees-card:focus-visible .seo-pages-liees-cta svg {
  transform: translateX(3px);
}

.seo-pages-liees-cta svg {
  transition: transform var(--duration-normal) var(--ease-out);
}

/* ============================================================
   SEO FAQ — wrapper local
   ============================================================ */

.seo-faq {
  padding: var(--section-gap) 0;
  background: var(--dark-card);
}

.seo-faq > .container {
  max-width: 800px;
}

.seo-faq h2 {
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* ============================================================
   DEVIS — mention rassurance sous le bouton submit
   ============================================================ */

.devis-mention {
  margin-top: var(--space-md);
  font-size: 0.8125rem;
  color: var(--white-muted);
  line-height: 1.6;
  text-align: center;
}

/* ============================================================
   EN BREF — TL;DR en tete de page SEO (gain GEO Perplexity)
   ============================================================ */

.seo-en-bref {
  padding: var(--space-2xl) 0 var(--space-lg);
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.15) 100%);
}

.seo-en-bref-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--dark-card);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  position: relative;
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.06) inset;
}

.seo-en-bref-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}

.seo-en-bref-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 var(--space-md);
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  letter-spacing: 0.005em;
}

.seo-en-bref-label {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  background: var(--gold);
  color: var(--black);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.seo-en-bref-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.seo-en-bref-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--white-soft);
  line-height: 1.55;
  font-size: 0.96rem;
}

.seo-en-bref-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

/* ----- En bref PILIER uniquement : fiche clé/valeur en 2 colonnes -----
   Classe dédiée (seo-en-bref-fiche) : n'affecte pas .seo-en-bref-list
   utilisé par les pages SEO villes. */
.seo-en-bref-fiche {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 2.25rem;
  margin: 0;
  padding: 0;
}

.seo-en-bref-item {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
}

.seo-en-bref-item--full {
  grid-column: 1 / -1;
}

.seo-en-bref-key {
  margin: 0 0 0.3rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.seo-en-bref-val {
  margin: 0;
  color: var(--white-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .seo-en-bref-fiche {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

/* ============================================
   CTA de rappel sous la FAQ
   (le formulaire devis est remonté sous les avis,
   on garde une action en fin de FAQ)
   ============================================ */

.seo-faq-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.seo-faq-cta p {
  color: var(--white-soft);
  margin-bottom: 1.25rem;
}

/* ============================================================
   PILIER B2B — /animation-casino-entreprise (layout 'pilier')
   Sections propres : fil d'Ariane, pourquoi, familles (H3 par format),
   tableau de correspondance, cadrage, encart auteur.
   ============================================================ */

/* ----- Hero pilier — lockup deux lignes (ligne 1 titre / ligne 2 script doré) ----- */
.hero--pilier h1 {
  max-width: 36ch;
  font-size: clamp(1.7rem, 1.15rem + 1.9vw, 2.7rem);
  line-height: 1.12;
}

/* La 2e ligne est une phrase entière en script doré : sur desktop elle
   tient sur une seule ligne ; sur mobile on la laisse revenir à la ligne
   proprement. */
.hero--pilier h1 .hero-h1-line {
  display: block;
  white-space: normal;
  margin-top: 0.14em;
  text-wrap: balance;
}

.hero--pilier h1 .hero-h1-line .accent {
  font-size: 1em;
  line-height: 1.15;
}

@media (max-width: 600px) {
  .hero--pilier h1 {
    max-width: 100%;
  }
}

/* ----- Fil d'Ariane visible ----- */
.seo-breadcrumb {
  padding: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--white-muted);
}

.seo-breadcrumb a {
  color: var(--white-muted);
  text-decoration: none;
  transition: color 200ms var(--ease-out);
}

.seo-breadcrumb a:hover,
.seo-breadcrumb a:focus {
  color: var(--gold);
}

.seo-breadcrumb-sep {
  margin: 0 0.5rem;
  color: var(--white-muted);
}

.seo-breadcrumb-current {
  color: var(--white-soft);
}

/* ----- Titres de section pilier ----- */
.seo-pilier-h2 {
  margin: var(--space-md) auto;
  max-width: 760px;
  text-align: center;
}

/* ----- Section « Pourquoi » (prose centrée) ----- */
.seo-pilier-pourquoi {
  padding: var(--section-gap) 0;
  text-align: center;
}

.seo-pilier-prose {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.seo-pilier-prose p {
  color: var(--white-soft);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.seo-pilier-prose p:last-child {
  margin-bottom: 0;
}

/* ----- Pourquoi : intro + 3 ressorts numérotés + encart auteur ----- */
.seo-pourquoi-intro {
  max-width: 680px;
  margin: 0 auto var(--space-2xl);
  color: var(--white-soft);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.seo-pourquoi-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1040px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}

.seo-pourquoi-item {
  position: relative;
  background: var(--dark-card);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 2rem 1.6rem 1.6rem;
}

.seo-pourquoi-num {
  display: block;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.seo-pourquoi-item-titre {
  font-size: 1.0625rem;
  margin: 0 0 0.6rem;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--white);
}

.seo-pourquoi-item-texte {
  margin: 0;
  color: var(--white-soft);
  font-size: 0.94rem;
  line-height: 1.65;
}

.seo-pourquoi-terrain {
  max-width: 860px;
  margin: var(--space-2xl) auto 0;
  padding: 1.6rem 1.75rem;
  background: rgba(212, 175, 55, 0.05);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  text-align: left;
}

.seo-pourquoi-terrain-label {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.seo-pourquoi-terrain-texte {
  margin: 0;
  color: var(--white-soft);
  font-size: 1rem;
  line-height: 1.75;
}

@media (max-width: 860px) {
  .seo-pourquoi-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}

/* ----- Familles d'occasions (H2 + H3 par format) ----- */
.seo-famille {
  padding: var(--section-gap) 0;
}

.seo-famille-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.seo-famille-intro {
  color: var(--white-muted);
  line-height: 1.7;
  margin-top: var(--space-md);
}

.seo-formats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.seo-format {
  position: relative;
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.75rem 1.75rem 1.75rem 2.5rem;
  transition: border-color 240ms var(--ease-out), transform 240ms var(--ease-out);
}

.seo-format:hover {
  border-color: var(--gold-dark);
  transform: translateY(-3px);
}

.seo-format-marker {
  position: absolute;
  top: 1.9rem;
  left: 1.4rem;
  color: var(--gold);
  font-size: 0.7rem;
  line-height: 1;
}

.seo-format-titre {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.seo-format-accroche {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.seo-format-texte {
  color: var(--white-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.seo-format-texte a,
.seo-cadrage-texte a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 200ms var(--ease-out);
}

.seo-format-texte a:hover,
.seo-format-texte a:focus,
.seo-cadrage-texte a:hover,
.seo-cadrage-texte a:focus {
  color: var(--gold-light);
}

/* ----- Tableau de correspondance ----- */
.seo-correspondance {
  padding: var(--section-gap) 0;
}

.seo-correspondance-wrap {
  max-width: 960px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
}

.seo-correspondance-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.95rem;
}

.seo-correspondance-table th,
.seo-correspondance-table td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  vertical-align: top;
}

.seo-correspondance-table thead th {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--border-subtle);
}

.seo-correspondance-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
}

.seo-correspondance-table tbody tr:last-child {
  border-bottom: none;
}

.seo-correspondance-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.seo-correspondance-table tbody th[scope="row"] {
  color: var(--white);
  font-weight: 600;
}

.seo-correspondance-table tbody td {
  color: var(--white-soft);
}

/* ----- Dimensionner et cadrer ----- */
.seo-cadrage {
  padding: var(--section-gap) 0;
}

.seo-cadrage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.seo-cadrage-bloc {
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.6rem 1.75rem;
}

.seo-cadrage-titre {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}

.seo-cadrage-texte {
  color: var(--white-soft);
  line-height: 1.75;
}

/* ----- Encart auteur (E-E-A-T) ----- */
.seo-auteur {
  padding: var(--section-gap) 0;
}

.seo-auteur-card {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--dark-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  padding: 1.75rem 2rem;
}

.seo-auteur-photo {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
}

.seo-auteur-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seo-auteur-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold);
  font-family: var(--font-display, serif);
  font-size: 1.9rem;
  font-weight: 700;
}

.seo-auteur-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.seo-auteur-bio {
  color: var(--white-soft);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.seo-auteur-nom {
  color: var(--white);
  font-weight: 600;
}

.seo-auteur-role {
  color: var(--white-muted);
  font-weight: 400;
}

@media (min-width: 768px) {
  .seo-formats {
    grid-template-columns: repeat(2, 1fr);
  }

  .seo-cadrage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .seo-auteur-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
