/* =====================================================================
   ORKYVA — ACCUEIL V3.2 · « Notre terre a du relief » (HOME-V3 du
   2026-10-21, finition V3.1 du même jour : hiérarchie typographique
   resserrée, couleurs et dégradés historiques d'Orkyva réintroduits ;
   corrections V3.2 : titre et SUNCODE ramenés à l'échelle des pages
   SUNCODE / Univers, carte recentrée, présentation historique des
   réseaux restaurée, courbes RELIEF qui prennent vie)
   ---------------------------------------------------------------------
   Chargée par orkyva-home.html SEULE. /assets/ sert le CSS « immutable »
   pendant 1 an et le serveur ignore ?v= : toute modification exige un
   NOUVEAU NOM DE FICHIER.

   Portée :
   - #contenu (le <main class="ok3">) pour tout le contenu de la page ;
   - body[data-page="orkyva-home"] pour les ajustements du header et du
     footer GLOBAUX : règles reprises À L'IDENTIQUE de orkyva-accueil.css
     §8-9 (HOME-01, validées le 09/10/2026), que l'accueil ne charge plus.
   Aucune feuille globale n'est modifiée. Fuites globales neutralisées par
   la portée #contenu (body.dark-mode h1..h6 !important, body.dark-mode
   p / span / a, a { color: inherit }, img/svg { max-width:100%; height:auto },
   section { position: relative; z-index: 1 }).

   Direction : éditorial streetwear × topographie de l'île. Une carte du
   relief CALCULÉE (courbes tous les 200 m), la ligne de crête comme
   transition, des coupes empilées pour RELIEF. Scènes sombres dans les
   deux thèmes : ouverture, RELIEF, communauté. SUNCODE et l'univers
   suivent le thème du site.
   ===================================================================== */

/* ---------------------------------------------------------------------
   0 · POLICE D'AFFICHAGE — Space Grotesk (variable 300-700, fichier déjà
   servi par le site : c'est la police du logotype du header)
   --------------------------------------------------------------------- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk/space-grotesk-400-latin.woff2') format('woff2');
}

/* ---------------------------------------------------------------------
   1 · JETONS
   --------------------------------------------------------------------- */
#contenu {
  --ok3-night: #0A0E0C;
  --ok3-basalt: #121916;
  --ok3-ecru: #F1EBDD;
  --ok3-on-night: #F1EBDD;
  --ok3-on-night-soft: #CDD3CC;
  --ok3-on-night-muted: #9DAAA3;
  --ok3-night-line: rgba(241, 235, 221, 0.16);
  --ok3-green: #58E091;
  --ok3-lagoon: #44E3B8;
  --ok3-apricot: #FFB776;
  --ok3-grad: linear-gradient(100deg, #58E091 0%, #44E3B8 42%, #FFB776 100%);
  /* Couleurs HISTORIQUES d'Orkyva, relevées dans les feuilles de production :
     --primary-color #2ECC71 et --secondary-color #D4A82E (style.css) ;
     --s-grad-accent et --s-grad-title (/suncode/, /univers/). */
  --ok3-signature: #2ECC71;
  --ok3-sand: #D4A82E;
  --ok3-grad-accent: linear-gradient(135deg, #3DDC84 0%, #2ECC71 50%, #FF9F5A 100%);
  --ok3-grad-night: linear-gradient(100deg, #58E091 0%, #44E3B8 42%, #FFB776 100%);
  /* RELIEF : variante minérale (vert profond, vert clair, sable, cuivre) */
  --ok3-grad-relief: linear-gradient(100deg, #2E9E62 0%, #7AD9A2 38%, #E3C08D 72%, #C98A52 100%);

  --ok3-ff-display: 'Space Grotesk', 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ok3-ff-text: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ok3-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ok3-wrap: 1280px;
  --ok3-gutter: clamp(16px, 5vw, 64px);
  --ok3-sky: clamp(46px, 8.5vw, 150px);

  /* Thème CLAIR (défaut) */
  --ok3-zone-a: #F1EBDD;          /* SUNCODE : la couleur même de la toile écrue */
  --ok3-zone-b: #F8F5EF;          /* l'univers */
  --ok3-paper: #FBF8F2;
  --ok3-fg: #17201B;
  --ok3-fg-soft: #36433C;
  --ok3-muted: #55615A;
  --ok3-line: rgba(23, 32, 27, 0.16);
  --ok3-accent: #17703F;
  --ok3-focus: #17703F;
  --ok3-btn-bg: #0A0E0C;
  --ok3-btn-fg: #F1EBDD;
  --ok3-btn-hover: #24332B;
  --ok3-ghost-line: rgba(23, 32, 27, 0.55);
  --ok3-ghost-fg: #17201B;
  --ok3-ghost-hover: rgba(23, 32, 27, 0.07);
  --ok3-crop: rgba(23, 32, 27, 0.55);
  --ok3-img-wait: #E2DACA;
  --ok3-stitch: rgba(23, 112, 63, 0.42);
  /* titres d'accent : dégradé historique clair = --tu-accent-text-hover -> --tu-accent-text (AA sur surface claire) */
  --ok3-grad-t: linear-gradient(100deg, #145F36 0%, #1E8449 100%);
  --ok3-grad-t-solid: #1E8449;
  --ok3-grad-line: linear-gradient(90deg, #145F36 0%, #1E8449 55%, #D4A82E 100%);
  --ok3-worlds-end: #B98A1E;
  /* bouton principal en thème clair : vert profond, texte blanc (4,72:1 au pire) */
  --ok3-cta-bg: linear-gradient(135deg, #145F36 0%, #1E8449 100%);
  --ok3-cta-fg: #FFFFFF;
  --ok3-cta-shadow: rgba(20, 95, 54, 0.32);

  display: block;
  background: var(--ok3-zone-a);
  color: var(--ok3-fg);
  font-family: var(--ok3-ff-text);
  font-size: 1rem;
  line-height: 1.6;
  scroll-margin-top: 72px;
}

/* Thème SOMBRE — mêmes noms, autres valeurs (posé avant le 1er rendu par
   tu-csp-04b-theme-boot.js / tu-body-theme-sync.js, suivi par main.js). */
body.dark-mode #contenu,
html.dark #contenu,
html[data-tu-theme="dark"] #contenu {
  --ok3-zone-a: #131A16;
  --ok3-zone-b: #0E1311;
  --ok3-paper: #18201C;
  --ok3-fg: #F1EBDD;
  --ok3-fg-soft: #CDD3CC;
  --ok3-muted: #9DAAA3;
  --ok3-line: rgba(241, 235, 221, 0.14);
  --ok3-accent: #58E091;
  --ok3-focus: #58E091;
  --ok3-btn-bg: #F1EBDD;
  --ok3-btn-fg: #0A0E0C;
  --ok3-btn-hover: #FFFFFF;
  --ok3-ghost-line: rgba(241, 235, 221, 0.55);
  --ok3-ghost-fg: #F1EBDD;
  --ok3-ghost-hover: rgba(241, 235, 221, 0.08);
  --ok3-crop: rgba(241, 235, 221, 0.5);
  --ok3-img-wait: #1D2621;
  --ok3-stitch: rgba(88, 224, 145, 0.38);
  --ok3-grad-t: linear-gradient(100deg, #58E091 0%, #44E3B8 42%, #FFB776 100%);
  --ok3-grad-t-solid: #58E091;
  --ok3-grad-line: linear-gradient(90deg, #58E091 0%, #44E3B8 50%, #FFB776 100%);
  --ok3-worlds-end: #FFB776;
  /* bouton principal en thème sombre : dégradé de marque historique, texte nuit (≥ 9:1) */
  --ok3-cta-bg: linear-gradient(135deg, #3DDC84 0%, #2ECC71 50%, #FF9F5A 100%);
  --ok3-cta-fg: #0A0E0C;
  --ok3-cta-shadow: rgba(61, 220, 132, 0.28);
}

/* Scènes sombres dans les deux thèmes */
#contenu .ok3-hero,
#contenu .ok3-relief,
#contenu .ok3-band {
  --ok3-fg: var(--ok3-on-night);
  --ok3-fg-soft: var(--ok3-on-night-soft);
  --ok3-muted: var(--ok3-on-night-muted);
  --ok3-line: var(--ok3-night-line);
  --ok3-accent: #58E091;
  --ok3-focus: #58E091;
  --ok3-btn-bg: #F1EBDD;
  --ok3-btn-fg: #0A0E0C;
  --ok3-btn-hover: #FFFFFF;
  --ok3-ghost-line: rgba(241, 235, 221, 0.55);
  --ok3-ghost-fg: #F1EBDD;
  --ok3-ghost-hover: rgba(241, 235, 221, 0.08);
  --ok3-crop: rgba(241, 235, 221, 0.55);
  --ok3-img-wait: #1A211D;
  --ok3-grad-t: linear-gradient(100deg, #58E091 0%, #44E3B8 42%, #FFB776 100%);
  --ok3-grad-t-solid: #58E091;
  --ok3-grad-line: linear-gradient(90deg, #58E091 0%, #44E3B8 50%, #FFB776 100%);
  --ok3-cta-bg: linear-gradient(135deg, #3DDC84 0%, #2ECC71 50%, #FF9F5A 100%);
  --ok3-cta-fg: #0A0E0C;
  --ok3-cta-shadow: rgba(61, 220, 132, 0.28);
  color: var(--ok3-fg);
}

/* ---------------------------------------------------------------------
   1 bis · ACCENTS (V3.1) — dégradés de texte SÉLECTIFS, chacun avec un
   repli plein : « relief. » (ouverture), « deux mondes » (univers) et le
   nom RELIEF (variante minérale). Repli : couleur pleine si
   background-clip: text n'existe pas ; couleurs système en contraste forcé.
   --------------------------------------------------------------------- */
#contenu .ok3-grad { color: var(--ok3-grad-t-solid); }
#contenu .ok3-grad--hero { color: #58E091; }
#contenu .ok3-relief__name { color: #7AD9A2; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  #contenu .ok3-grad,
  #contenu .ok3-relief__name {
    background-image: var(--ok3-grad-t);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  #contenu .ok3-grad { padding-bottom: 0.06em; }
  #contenu .ok3-grad--hero { background-image: var(--ok3-grad-night); }
  #contenu .ok3-relief__name { background-image: var(--ok3-grad-relief); }
}
@media (forced-colors: active) {
  #contenu .ok3-grad,
  #contenu .ok3-relief__name { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; }
}
/* touche complémentaire : l'accent chaud historique (#FFB776), solide */
#contenu .ok3-warm { color: #FFB776; }

/* ---------------------------------------------------------------------
   2 · SOCLE (neutralise les fuites globales dans le contenu)
   --------------------------------------------------------------------- */
#contenu:focus { outline: none; }
#contenu p,
#contenu li,
#contenu dt,
#contenu dd,
#contenu span,
#contenu figcaption { color: inherit; }
#contenu figure { margin: 0; }
#contenu img { display: block; max-width: 100%; height: auto; }
#contenu section { z-index: auto; }
#contenu [hidden] { display: none !important; }
#contenu a:focus-visible,
#contenu button:focus-visible {
  outline: 2px solid var(--ok3-focus);
  outline-offset: 3px;
  border-radius: 4px;
}
#contenu :where(#suncode, #relief, #univers, #reseaux, #contact) { scroll-margin-top: 88px; }
#contenu .ok3-nowrap { white-space: nowrap; }

#contenu .ok3-wrap {
  width: 100%;
  max-width: var(--ok3-wrap);
  margin: 0 auto;
  padding: 0 var(--ok3-gutter);
}
#contenu .ok3-text {
  margin: 0;
  max-width: 58ch;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ok3-fg-soft);
  text-wrap: pretty;
}
#contenu a.ok3-link,
#contenu a.ohp-link {
  color: var(--ok3-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration-thickness 0.2s ease;
}
#contenu a.ok3-link:hover,
#contenu a.ohp-link:hover { color: var(--ok3-fg); text-decoration-thickness: 2px; }

/* Texte réservé aux lecteurs d'écran (header, contenu, footer) */
body[data-page="orkyva-home"] .ohp-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Lien d'évitement (visible au clavier seulement) */
body[data-page="orkyva-home"] .ohp-skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 6000;
  padding: 12px 18px;
  border-radius: 6px;
  background: #0A0E0C;
  color: #F1EBDD;
  font: 600 0.9375rem/1.2 'Poppins', system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
body[data-page="orkyva-home"] .ohp-skip:focus,
body[data-page="orkyva-home"] .ohp-skip:focus-visible {
  top: 12px;
  outline: 2px solid #58E091;
  outline-offset: 2px;
}

/* ---------------------------------------------------------------------
   3 · BOUTONS (liens d'action)
   --------------------------------------------------------------------- */
#contenu .ok3-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
#contenu a.ok3-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--ok3-ff-text);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.005em;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s var(--ok3-ease), box-shadow 0.2s var(--ok3-ease);
}
/* bouton principal : dégradé de marque (forme et dégradé repris des boutons de /suncode/) */
#contenu a.ok3-btn--primary {
  background: var(--ok3-cta-bg);
  background-origin: border-box;
  color: var(--ok3-cta-fg);
}
#contenu a.ok3-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -12px var(--ok3-cta-shadow);
  color: var(--ok3-cta-fg);
}
#contenu a.ok3-btn--ghost {
  background: transparent;
  border-color: var(--ok3-ghost-line);
  color: var(--ok3-ghost-fg);
}
#contenu a.ok3-btn--ghost:hover {
  background: var(--ok3-ghost-hover);
  border-color: var(--ok3-ghost-fg);
  color: var(--ok3-ghost-fg);
}
@media (min-width: 560px) {
  #contenu .ok3-actions { flex-direction: row; flex-wrap: wrap; }
}

/* ---------------------------------------------------------------------
   4 · REPÈRES DE COUPE (motif d'impression SUNCODE, repris de HOME-01)
   --------------------------------------------------------------------- */
#contenu .ok3-crop { position: relative; }
#contenu .ok3-crop__img {
  width: 100%;
  border-radius: 3px;
  background-color: var(--ok3-img-wait);
}
#contenu .ok3-crop__c {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
#contenu .ok3-crop::before,
#contenu .ok3-crop::after,
#contenu .ok3-crop__c::before,
#contenu .ok3-crop__c::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 18px;
  height: 18px;
  border: 0 solid var(--ok3-crop);
  pointer-events: none;
}
#contenu .ok3-crop::before { top: -11px; left: -11px; border-top-width: 1.5px; border-left-width: 1.5px; }
#contenu .ok3-crop::after { top: -11px; right: -11px; border-top-width: 1.5px; border-right-width: 1.5px; }
#contenu .ok3-crop__c::before { bottom: -11px; left: -11px; border-bottom-width: 1.5px; border-left-width: 1.5px; }
#contenu .ok3-crop__c::after { bottom: -11px; right: -11px; border-bottom-width: 1.5px; border-right-width: 1.5px; }

/* ---------------------------------------------------------------------
   5 · A — OUVERTURE
   --------------------------------------------------------------------- */
#contenu .ok3-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(32px, 7vw, 56px) 0 calc(var(--ok3-sky) + 36px);
  background:
    radial-gradient(ellipse 70% 50% at 92% 18%, rgba(68, 227, 184, 0.09), transparent 70%),
    radial-gradient(ellipse 60% 40% at 70% 100%, rgba(255, 183, 118, 0.07), transparent 70%),
    linear-gradient(180deg, #0A0E0C 0%, #0B100E 100%);
}

/* La carte : relief calculé, traits fins à épaisseur constante */
/* V3.2 (< 600 px) : carte plus petite et rejetée à droite : la côte ouest de l'île longe le titre au lieu de
   passer sous ses lettres (0 % du contour sous les lettres de 360 à 430 px, contre 12 à 14 % en V3.1) */
#contenu svg.ok3-map {
  position: absolute;
  z-index: 0;
  top: 0;
  right: -56%;
  width: 100%;
  max-width: none;
  height: auto;
  opacity: 0.72;
  pointer-events: none;
  overflow: visible;
}
#contenu .ok3-map__lines {
  stroke: #F1EBDD;
  stroke-opacity: 0.2;
  stroke-width: 0.75;
  stroke-linejoin: round;
  stroke-linecap: round;
}
#contenu .ok3-map__lines .ok3-map__m { stroke-opacity: 0.46; stroke-width: 1.1; }
#contenu .ok3-map__coast {
  stroke: url(#ok3-coast-g);
  stroke-width: 1.4;
  stroke-opacity: 0.8;
  stroke-linejoin: round;
}
#contenu .ok3-map__labels {
  display: none;
  font-family: var(--ok3-ff-display);
  font-size: 68px;
  font-weight: 500;
  fill: #E3DDD0;
}
#contenu .ok3-map__labels .ok3-map__alt { font-size: 56px; font-weight: 400; fill: #9DAAA3; font-variant-numeric: tabular-nums; }
#contenu .ok3-map__labels .ok3-map__area { font-size: 52px; font-weight: 500; letter-spacing: 0.3em; fill: #9DAAA3; }
#contenu .ok3-map__peak path { fill: #FFB776; }
#contenu .ok3-map__here { stroke: #FFB776; stroke-width: 6; }
#contenu .ok3-map__here text { stroke: none; fill: #E3DDD0; font-size: 56px; font-weight: 400; font-variant-numeric: tabular-nums; }

#contenu .ok3-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--ok3-wrap);
  margin: 0 auto;
  padding: 0 var(--ok3-gutter);
}
#contenu .ok3-hero__copy { min-width: 0; }

/* Titre : la marque, puis la phrase en paliers (les lignes se décalent
   comme des courbes de niveau). Hauteur de ligne fixe : aucune ligne ne
   change à l'arrivée de la police (pas de décalage de mise en page). */
#contenu .ok3-hero__title {
  --ok3-step: 0.36em;
  margin: 0;
  font-family: var(--ok3-ff-display);
  font-weight: 700;
  color: var(--ok3-fg) !important;
}
#contenu .ok3-hero__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(18px, 3vw, 28px);
  font-size: clamp(0.9375rem, 0.88rem + 0.3vw, 1.0625rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ok3-fg-soft);
}
#contenu .ok3-hero__brand::before {
  content: "";
  flex: 0 0 auto;
  width: 28px;
  height: 2px;
  background: var(--ok3-grad);
}
/* V3.2 : échelle réduite et toujours continue (≈ 33 px à 360, 34 à 390, 35 à 430, 44 à 768, 51 à 1024,
   62 à 1440, 68 au-delà) ; interlignage et interlettrage rouverts pour cette taille plus modeste */
#contenu .ok3-hero__claim {
  display: block;
  font-size: clamp(2rem, 1.475rem + 2.667vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.022em;
  text-transform: uppercase;
  color: var(--ok3-fg);
}
#contenu .ok3-l { display: block; white-space: nowrap; }
#contenu .ok3-l--2 { padding-left: var(--ok3-step); }
#contenu .ok3-l--4 { padding-left: calc(var(--ok3-step) * 2); }

#contenu .ok3-hero__lead {
  margin: clamp(18px, 2.4vw, 28px) 0 clamp(24px, 3vw, 32px);
  max-width: 31em;
  font-family: var(--ok3-ff-text);
  font-weight: 400;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.6;
  color: var(--ok3-fg-soft);
  text-wrap: pretty;
}

/* Rangée d'action : les deux liens, puis le cartouche (dessous en mobile, à côté en grand écran) */
#contenu .ok3-hero__row {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 6vw, 40px);
}
/* Cartouche : l'édition en cours, comme le cartouche d'une carte */
#contenu a.ok3-cartouche {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  max-width: 440px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--ok3-line);
  color: var(--ok3-fg);
  text-decoration: none;
}
#contenu .ok3-cartouche__img img {
  width: 76px;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  background-color: var(--ok3-img-wait);
}
#contenu .ok3-cartouche__text { display: block; }
#contenu .ok3-cartouche__name {
  display: block;
  margin-bottom: 2px;
  font-family: var(--ok3-ff-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
}
#contenu .ok3-cartouche__desc {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ok3-fg-soft);
}
#contenu a.ok3-cartouche:hover .ok3-cartouche__name { text-decoration: underline; text-underline-offset: 0.2em; }

/* La ligne de crête : profil de l'île (vue du sud), couleur de la section suivante */
#contenu svg.ok3-sky {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: -1px;
  width: 100%;
  max-width: none;
  height: var(--ok3-sky);
  color: var(--ok3-zone-a);
  pointer-events: none;
}

@media (min-width: 600px) {
  #contenu .ok3-hero__title { --ok3-step: 0.5em; }
  #contenu svg.ok3-map { right: -46%; width: 104%; top: -5%; opacity: 0.5; }
}

@media (min-width: 900px) {
  #contenu .ok3-hero {
    display: flex;
    align-items: center;
    min-height: 640px;
    min-height: min(900px, calc(100vh - 72px));
    min-height: min(900px, calc(100svh - 72px));
    padding: 48px 0 calc(var(--ok3-sky) + 40px);
  }
  #contenu .ok3-hero__inner { width: 100%; }
  /* V3.2 : colonne de texte resserrée sur le titre réduit ; la carte quitte le bord droit (≈ 40 px à 900,
     ≈ 65 px à 1440, ≈ 77 px à 1920 vers la gauche) sans changer de taille */
  #contenu .ok3-hero__copy { max-width: 46%; }
  #contenu .ok3-hero__title { --ok3-step: 0.62em; }
  #contenu svg.ok3-map {
    top: 50%;
    right: 0.5%;
    width: min(58vw, 1000px);
    transform: translateY(-52%);
    opacity: 1;
  }
}
@media (min-width: 1100px) {
  #contenu .ok3-map__labels { display: inline; }
  /* le cartouche se pose sur la carte, à droite des deux liens */
  #contenu .ok3-hero__row {
    flex-direction: row;
    align-items: center;
    width: max-content;
    max-width: calc(100vw - 2 * var(--ok3-gutter));
    gap: 36px;
  }
  #contenu .ok3-hero__row .ok3-actions { flex-wrap: nowrap; }
  #contenu a.ok3-cartouche {
    grid-template-columns: 64px minmax(0, 1fr);
    width: 330px;
    padding: 10px 16px 10px 10px;
    border: 1px solid var(--ok3-line);
    border-radius: 4px;
    background: rgba(10, 14, 12, 0.78);
  }
  #contenu .ok3-cartouche__img img { width: 64px; }
  #contenu .ok3-cartouche__name { font-size: 1rem; }
  #contenu .ok3-cartouche__desc { font-size: 0.875rem; line-height: 1.4; }
}
@media (min-width: 1500px) {
  #contenu svg.ok3-map { right: 1%; width: min(50vw, 960px); }
}

/* Le seul mouvement au chargement : la carte se pose (opacité, translation).
   Le titre n'est jamais retenu (LCP intact). */
@media (prefers-reduced-motion: no-preference) {
  #contenu svg.ok3-map { animation: ok3-map-in 1.6s 0.1s var(--ok3-ease) both; }
  #contenu .ok3-map__lines { animation: ok3-lines-in 2.2s 0.1s var(--ok3-ease) both; }
}
@keyframes ok3-map-in { from { opacity: 0; } }
@keyframes ok3-lines-in { from { transform: translateY(70px); } to { transform: none; } }

/* ---------------------------------------------------------------------
   6 · B — SUNCODE, L'ÉDITION FONDATRICE
   --------------------------------------------------------------------- */
#contenu .ok3-suncode {
  background: var(--ok3-zone-a);
  padding: clamp(28px, 5vw, 72px) 0 clamp(72px, 9vw, 128px);
}
#contenu .ok3-suncode__title {
  margin: 0 0 clamp(24px, 3.6vw, 44px);
  font-family: var(--ok3-ff-display);
  color: var(--ok3-fg) !important;
}
/* V3.2 : nom de produit ramené à l'échelle des titres des pages SUNCODE et Univers (≈ 40 px à 360, 41 à 390,
   54 à 768, 62 à 1024, 76 à 1440, 80 au-delà) : la planche photo redevient le sujet de la section */
#contenu .ok3-suncode__name {
  display: block;
  font-weight: 700;
  font-size: clamp(2.375rem, 1.75rem + 3.333vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-left: -0.02em;
}
#contenu .ok3-suncode__sub {
  display: block;
  margin-top: clamp(10px, 1.6vw, 18px);
  font-weight: 500;
  font-size: clamp(1.125rem, 1rem + 0.7vw, 1.625rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ok3-accent);
}
#contenu .ok3-suncode__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: clamp(40px, 6vw, 64px);
}
#contenu .ok3-suncode__buy,
#contenu .ok3-suncode__facts { min-width: 0; }

/* Planche contact : face (repères de coupe), dos, plié */
#contenu .ok3-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(16px, 3vw, 28px);
  row-gap: 26px;
  padding: 11px 11px 0;
}
#contenu .ok3-shot { min-width: 0; }
#contenu .ok3-shot--front { grid-column: 1 / -1; }
#contenu .ok3-shot--fold { margin-top: 38%; }
#contenu .ok3-shot img {
  width: 100%;
  border-radius: 3px;
  background-color: var(--ok3-img-wait);
}
#contenu .ok3-shot figcaption {
  margin-top: 14px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ok3-muted);
}
#contenu .ok3-shot--front figcaption { margin-top: 20px; }
#contenu .ok3-shot__k {
  display: block;
  margin-bottom: 2px;
  font-family: var(--ok3-ff-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ok3-accent);
}

#contenu .ok3-suncode__type {
  margin: 0 0 20px;
  max-width: 34ch;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--ok3-fg-soft);
}
#contenu .ok3-price {
  margin: 0;
  font-family: var(--ok3-ff-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 1.9rem + 1.6vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ok3-fg);
}
#contenu .ok3-ship {
  margin: 14px 0 26px;
  max-width: 44ch;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ok3-fg-soft);
}

/* Étiquette cousue : la fiche produit se lit comme l'étiquette du vêtement */
#contenu .ok3-label {
  position: relative;
  margin: 0;
  padding: 18px 20px 8px;
  background: var(--ok3-paper);
  border-radius: 3px;
  outline: 1px dashed var(--ok3-stitch);
  outline-offset: -7px;
}
#contenu .ok3-label > div {
  display: grid;
  grid-template-columns: minmax(6rem, 34%) minmax(0, 1fr);
  column-gap: 14px;
  padding: 10px 6px;
  border-bottom: 1px solid var(--ok3-line);
}
#contenu .ok3-label > div:last-child { border-bottom: 0; }
#contenu .ok3-label dt {
  margin: 0;
  font-family: var(--ok3-ff-display);
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ok3-muted);
}
#contenu .ok3-label dd {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ok3-fg);
}
#contenu .ok3-note { margin-top: 26px; }
#contenu .ok3-note p {
  margin: 0 0 10px;
  max-width: 62ch;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ok3-fg-soft);
}
#contenu .ok3-note p:last-child { margin-bottom: 0; }

/* >= 900 px : planche en paliers (face, dos, plié : trois hauteurs, alignées en pied), puis achat | étiquette */
@media (min-width: 900px) {
  #contenu .ok3-suncode__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "sheet sheet" "buy facts";
    column-gap: clamp(48px, 6vw, 112px);
    row-gap: clamp(48px, 5vw, 72px);
    align-items: start;
  }
  /* V3.2 : planche sur toute la largeur de la colonne (photos ≈ 11 % plus grandes) ; nom et sous-titre sur une
     ligne, au-dessus d'elle : le titre ne tient plus la tête de section, le produit si */
  #contenu .ok3-sheet {
    grid-area: sheet;
    grid-template-columns: minmax(0, 400fr) minmax(0, 300fr) minmax(0, 230fr);
    max-width: none;
    column-gap: clamp(28px, 3.4vw, 52px);
    align-items: end;
  }
  #contenu .ok3-suncode__title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 22px;
    row-gap: 6px;
  }
  #contenu .ok3-suncode__sub { margin-top: 0; }
  #contenu .ok3-shot--front { grid-column: auto; }
  #contenu .ok3-shot--fold { margin-top: 0; }
  #contenu .ok3-suncode__buy { grid-area: buy; }
  #contenu .ok3-suncode__facts { grid-area: facts; }
}

/* ---------------------------------------------------------------------
   7 · C — RELIEF, LE PROCHAIN CHAPITRE (une seule révélation orchestrée)
   --------------------------------------------------------------------- */
#contenu .ok3-relief {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 88px) 0 clamp(64px, 8vw, 112px);
  background: #0A0E0C;
}
#contenu .ok3-relief__art {
  position: relative;
  overflow: hidden;
  width: 176%;
  margin-left: -38%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
}
/* V3.1 : le haut du dessin (ciel vide au-dessus des crêtes) est recadré par une marge négative.
   V3.2 : la marge passe à la plaque qui porte l'image ET le calque des courbes animées (même boîte, même viewBox). */
#contenu .ok3-relief__plate {
  position: relative;
  margin-top: -9%;
}
#contenu img.ok3-relief__lines {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}
/* V3.2 — les courbes de niveau prennent vie. Six profils du dessin, réduits à leurs parties VISIBLES
   (tools/gen_relief_accents.cjs) : tracés de gauche à droite juste après le balayage, puis une lueur lente
   parcourt une courbe à la fois (grand écran, mouvement autorisé, section à l'écran seulement).
   Sans script, en mouvement réduit ou à l'impression : les courbes sont posées, immobiles. */
#contenu svg.ok3-relief__acc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
  pointer-events: none;
}
/* intensité de REPOS discrète (0,5) : les courbes soulignent le relief sans le dominer */
#contenu .ok3-acc__l {
  fill: none;
  stroke-width: 4.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-opacity: 0.5;
  stroke-dasharray: var(--L) var(--L);
  stroke-dashoffset: 0;
}
#contenu .ok3-acc__l--a { stroke: #58E091; }
#contenu .ok3-acc__l--b { stroke: #7AD9A2; }
#contenu .ok3-acc__l--c { stroke: #44E3B8; }
#contenu .ok3-acc__g {
  display: none;
  fill: none;
  stroke: #EAFFF3;
  stroke-opacity: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* épaisseur en unités du dessin, par palier de largeur : ≈ 1,4 à 2 px à l'écran partout */
@media (min-width: 600px) { #contenu .ok3-acc__l { stroke-width: 2.4; } }
@media (min-width: 900px) { #contenu .ok3-acc__l { stroke-width: 3; } }
@media (min-width: 1200px) { #contenu .ok3-acc__l { stroke-width: 2.2; } }
@media (min-width: 1600px) { #contenu .ok3-acc__l { stroke-width: 1.9; } }
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  #contenu .ok3-acc__g {
    display: inline;
    stroke-width: 3.8;
    stroke-dasharray: var(--gl) var(--L);
    stroke-dashoffset: var(--gl);
    animation: ok3-glint 33s linear var(--gd) infinite both;
    animation-play-state: paused;
  }
  #contenu .ok3-relief.is-live .ok3-acc__g { animation-play-state: running; }
}
@media (min-width: 1200px) and (prefers-reduced-motion: no-preference) { #contenu .ok3-acc__g { stroke-width: 2.9; } }
@media (min-width: 1600px) and (prefers-reduced-motion: no-preference) { #contenu .ok3-acc__g { stroke-width: 2.4; } }
/* une lueur parcourt la courbe en ≈ 9 s, puis s'éteint ; les trois lueurs se relaient (décalage 11 s) */
@keyframes ok3-glint {
  0% { stroke-dashoffset: var(--gl); stroke-opacity: 0; }
  3% { stroke-opacity: 0.8; }
  24% { stroke-opacity: 0.8; }
  27% { stroke-dashoffset: calc(0px - var(--L)); stroke-opacity: 0; }
  100% { stroke-dashoffset: calc(0px - var(--L)); stroke-opacity: 0; }
}
/* Balayage : un cache couleur nuit descend et révèle les coupes, ligne de balayage en tête */
#contenu .ok3-relief__scan {
  display: none;
  position: absolute;
  inset: 0;
  background: #0A0E0C;
  pointer-events: none;
}
#contenu .ok3-relief__scan::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: var(--ok3-grad);
  box-shadow: 0 0 18px 2px rgba(68, 227, 184, 0.35);
}
#contenu .ok3-relief__text {
  position: relative;
  z-index: 1;
  margin-top: clamp(-96px, -9vw, -24px);
}
/* le texte posé sur les coupes garde son contraste : halo couleur nuit */
#contenu .ok3-relief__kicker,
#contenu .ok3-relief__status,
#contenu .ok3-relief__body { text-shadow: 0 0 14px #0A0E0C, 0 0 4px #0A0E0C; }
#contenu .ok3-relief__title {
  margin: 0;
  font-family: var(--ok3-ff-display);
  color: var(--ok3-fg) !important;
}
#contenu .ok3-relief__kicker {
  display: block;
  margin-bottom: clamp(6px, 1.2vw, 14px);
  font-weight: 500;
  font-size: clamp(1.0625rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ok3-fg-soft);
}
/* V3.1 : les coupes dominent ; le nom (≈ 63 px à 390, 147 à 1440) porte le dégradé minéral.
   inline-block : le dégradé couvre le MOT, pas toute la largeur du bloc. */
#contenu .ok3-relief__name {
  display: inline-block;
  font-weight: 700;
  font-size: clamp(3.75rem, 2rem + 8vw, 10rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  margin-left: -0.04em;
  padding-bottom: 0.04em;
}
#contenu .ok3-relief__status {
  margin: clamp(18px, 3vw, 30px) 0 10px;
  font-family: var(--ok3-ff-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.15;
  color: var(--ok3-apricot);
}
#contenu .ok3-relief__body {
  margin: 0;
  max-width: 40ch;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ok3-fg-soft);
}
#contenu .ok3-relief__follow { margin: 24px 0 0; font-size: 1.0625rem; }

/* Compte à rebours (dormant : n'apparaît qu'avec une date ET un événement nommés) */
#contenu .ok3-countdown { margin: 26px 0 0; }
#contenu .ok3-countdown__event { margin: 0 0 8px; font-weight: 600; color: var(--ok3-fg); }
#contenu .ok3-countdown__time {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  font-family: var(--ok3-ff-display);
  font-size: 1rem;
  color: var(--ok3-fg-soft);
}
#contenu .ok3-cd b {
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ok3-fg);
}
#contenu .ok3-countdown__date { margin: 10px 0 0; font-size: 0.9375rem; color: var(--ok3-muted); }

@media (min-width: 900px) {
  #contenu .ok3-relief__art { width: 100%; margin-left: 0; max-width: 1760px; margin-inline: auto; }
  #contenu .ok3-relief__text { margin-top: clamp(-180px, -10vw, -80px); }
}

/* États posés par orkyva-home-v3.js SEULEMENT si la section est hors écran au chargement,
   le mouvement autorisé et IntersectionObserver disponible. Sans script : tout est visible. */
#contenu .ok3-relief.is-armed .ok3-relief__scan { display: block; transform: translateY(0); }
#contenu .ok3-relief.is-armed .ok3-relief__name { opacity: 0; transform: translateY(0.14em); }
#contenu .ok3-relief.is-armed.is-revealed .ok3-relief__scan {
  transform: translateY(101%);
  transition: transform 2s var(--ok3-ease);
}
#contenu .ok3-relief.is-armed.is-revealed .ok3-relief__name {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s 1.3s ease, transform 1.1s 1.3s var(--ok3-ease);
}
/* V3.2 : courbes en attente tant que la section armée n'est pas révélée, puis tracées l'une après l'autre,
   lumineuses (0,95), avant de se poser à leur intensité de repos (0,5) */
#contenu .ok3-relief.is-armed .ok3-acc__l { stroke-dashoffset: var(--L); stroke-opacity: 0.95; }
#contenu .ok3-relief.is-armed.is-revealed .ok3-acc__l {
  stroke-dashoffset: 0;
  stroke-opacity: 0.5;
  transition: stroke-dashoffset 2.6s var(--ok3-ease) var(--d), stroke-opacity 1.8s ease var(--d2);
}
@media print {
  #contenu .ok3-relief .ok3-relief__scan { display: none !important; }
  #contenu .ok3-relief .ok3-relief__name { opacity: 1 !important; transform: none !important; }
  #contenu .ok3-relief .ok3-acc__l { stroke-dashoffset: 0 !important; transition: none !important; }
  #contenu .ok3-relief .ok3-acc__g { display: none !important; }
}

/* ---------------------------------------------------------------------
   8 · D — L'UNIVERS
   --------------------------------------------------------------------- */
#contenu .ok3-univers {
  background: var(--ok3-zone-b);
  padding: clamp(72px, 9vw, 128px) 0;
}
/* V3.1 : titre éditorial (≈ 34 px à 390, 60 à 1440) ; « deux mondes » au dégradé historique */
#contenu .ok3-univers__title {
  margin: 0;
  max-width: 14ch;
  font-family: var(--ok3-ff-display);
  font-weight: 600;
  font-size: clamp(2.125rem, 1.45rem + 2.6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ok3-fg) !important;
  text-wrap: balance;
}
/* Deux mondes : la trame de la ville se défait en courbes de niveau */
#contenu .ok3-worlds { margin: clamp(32px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); }
#contenu svg.ok3-worlds__art {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  color: var(--ok3-fg);
  overflow: visible;
}
#contenu .ok3-worlds__grid { stroke: currentColor; stroke-opacity: 0.18; stroke-width: 1; }
/* V3.1 : la trame (ville) reste neutre ; les courbes (île) passent au vert signature puis au sable */
#contenu .ok3-worlds__lines { stroke: url(#ok3-worlds-g); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
#contenu .ok3-worlds__s0 { stop-color: currentColor; stop-opacity: 0.42; }
#contenu .ok3-worlds__s1 { stop-color: var(--ok3-grad-t-solid); stop-opacity: 0.95; }
#contenu .ok3-worlds__s2 { stop-color: var(--ok3-worlds-end); stop-opacity: 0.9; }
#contenu .ok3-worlds__mark { stroke: var(--ok3-accent); stroke-width: 2; }
#contenu .ok3-worlds__legend {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0 0;
  font-family: var(--ok3-ff-display);
  font-weight: 500;
  font-size: clamp(0.9375rem, 0.88rem + 0.3vw, 1.0625rem);
  color: var(--ok3-fg-soft);
}
#contenu .ok3-univers__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(44px, 6vw, 72px);
  margin-bottom: clamp(56px, 7vw, 96px);
}
#contenu .ok3-statement {
  margin: 0 0 20px;
  max-width: 24ch;
  font-family: var(--ok3-ff-display);
  font-weight: 400;
  font-size: clamp(1.375rem, 1.05rem + 1.3vw, 2.125rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ok3-fg);
  text-wrap: balance;
}
#contenu .ok3-more { margin: 24px 0 0; font-size: 1.0625rem; }
#contenu .ok3-motif {
  width: 100%;
  max-width: min(380px, calc(100% - 24px));
  margin: 11px auto 0;
}
#contenu .ok3-motif figcaption {
  margin-top: 18px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ok3-muted);
}
#contenu .ok3-pillars {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ok3-line);
}
#contenu .ok3-pillar {
  margin: 0;
  padding: 22px 0 26px;
  border-bottom: 1px solid var(--ok3-line);
}
/* V3.1 : filet de marque au-dessus de chaque pilier (même geste que le filet de la marque dans l'ouverture) */
#contenu .ok3-pillar h3::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--ok3-grad-line);
}
#contenu .ok3-pillar h3 {
  margin: 0 0 8px;
  font-family: var(--ok3-ff-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.12rem + 0.5vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ok3-fg) !important;
}
#contenu .ok3-pillar p {
  margin: 0;
  max-width: 30ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ok3-fg-soft);
}
@media (min-width: 640px) {
  #contenu .ok3-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #contenu .ok3-pillar:nth-child(odd) { padding-right: 24px; }
  #contenu .ok3-pillar:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--ok3-line); }
}
@media (min-width: 900px) {
  #contenu .ok3-univers__grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    align-items: center;
  }
  #contenu .ok3-motif { margin: 11px 11px 0 auto; }
}
@media (min-width: 1100px) {
  #contenu .ok3-pillars { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #contenu .ok3-pillar,
  #contenu .ok3-pillar:nth-child(odd),
  #contenu .ok3-pillar:nth-child(even) { padding: 28px 26px 32px; border-left: 1px solid var(--ok3-line); }
  #contenu .ok3-pillar:first-child { padding-left: 0; border-left: 0; }
  #contenu .ok3-pillar:last-child { padding-right: 0; }
}

/* ---------------------------------------------------------------------
   9 · E — COMMUNAUTÉ ET CONTACT (bandeau sombre)
   V3.2 : présentation des réseaux RESTAURÉE d'après l'accueil historique
   (orkyva-accueil.css §7, HOME-02 / FIN-01D B, en ligne jusqu'au
   21/10/2026) : titre à accent de marque, phrase, trois cartes côte à côte
   (icône officielle, nom, @orkyva_off), filets, survol et focus d'origine.
   Jetons --ohp-* = ceux du bandeau sombre historique ; le titre « Contact »
   reprend le même style de titre, comme dans le bandeau d'origine.
   --------------------------------------------------------------------- */
#contenu .ok3-band {
  --ohp-fg: #F1F5F2;
  --ohp-fg-soft: #CBD4CE;
  --ohp-muted: #9DAAA3;
  --ohp-line: rgba(241, 245, 242, 0.16);
  --ohp-accent-text: #58E091;
  --ohp-ecru: #F1EBDD;
  --ohp-warm: #FFB776;
  /* titres : Poppins 600, comme à l'origine. Texte : Poppins, police de texte DÉJÀ chargée par l'accueil, au lieu
     d'Inter (l'accueil historique en dépendait) : Inter coûterait un téléchargement de 47 Ko de plus et retarderait
     le premier affichage mobile (Lighthouse local : LCP + 650 ms). */
  --ohp-ff-display: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ohp-ff-text: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  padding: clamp(64px, 8vw, 112px) 0;
  background:
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(46, 204, 113, 0.10), transparent 70%),
    linear-gradient(180deg, #10161A 0%, #0D1210 100%);
  font-family: var(--ohp-ff-text);
}
#contenu .ok3-band__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(48px, 6vw, 72px);
}
#contenu .ok3-band .ohp-h2 {
  margin: 0 0 14px;
  font-family: var(--ohp-ff-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.15rem + 2.4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ohp-fg) !important;
  text-wrap: balance;
}
/* accent de marque historique : le DERNIER mot du titre, en couleur pleine (comme /suncode/ et /univers/) */
#contenu .ok3-band .ohp-h2 .ohp-h2__accent { color: var(--ohp-accent-text); }
#contenu .ok3-band .ohp-text {
  margin: 0;
  max-width: 60ch;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ohp-fg-soft);
  text-wrap: pretty;
}
#contenu .ohp-networks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--ohp-line);
  border-radius: 10px;
  overflow: hidden;
}
#contenu .ohp-networks li { margin: 0; }
#contenu .ohp-networks li + li { border-top: 1px solid var(--ohp-line); }
#contenu a.ohp-network {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 16px;
  align-items: center;
  min-height: 76px;
  padding: 16px 20px;
  color: var(--ohp-fg);
  text-decoration: none;
  transition: background-color 0.2s ease;
}
#contenu a.ohp-network .ohp-ico {
  grid-row: 1 / span 2;
  justify-self: center;
  display: block;
  width: 22px;
  height: 25px;
  max-width: none;
  color: var(--ohp-ecru);
  transition: color 0.2s ease;
}
#contenu a.ohp-network .ohp-ico--wide { width: 28px; }
#contenu .ohp-network__name {
  font-family: var(--ohp-ff-display);
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.25;
  color: var(--ohp-fg);
}
#contenu .ohp-network__handle {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--ohp-muted);
}
#contenu a.ohp-network:hover { background-color: rgba(241, 245, 242, 0.05); }
#contenu a.ohp-network:hover .ohp-ico { color: var(--ohp-warm); }
#contenu a.ohp-network:focus-visible { outline-offset: -4px; border-radius: 10px; }
@media (min-width: 600px) {
  #contenu .ohp-networks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #contenu .ohp-networks li + li { border-top: 0; border-left: 1px solid var(--ohp-line); }
  #contenu a.ohp-network {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2px;
    align-content: start;
    min-height: 140px;
    padding: 22px 22px 24px;
  }
  #contenu a.ohp-network .ohp-ico { grid-row: auto; justify-self: start; margin-bottom: 18px; }
}

#contenu .ok3-contact__list { margin: 22px 0 0; }
#contenu .ok3-contact__list > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--ok3-line);
}
#contenu .ok3-contact__list > div:first-child { border-top: 1px solid var(--ok3-line); }
#contenu .ok3-contact__list dt {
  margin: 0 0 4px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ok3-muted);
}
#contenu .ok3-contact__list dd {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
@media (min-width: 1024px) {
  #contenu .ok3-band__grid {
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    column-gap: clamp(56px, 6vw, 96px);
    align-items: start;
  }
}

/* ---------------------------------------------------------------------
   10 · MOUVEMENT RÉDUIT
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  #contenu *,
  #contenu *::before,
  #contenu *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------------------------------------------------------------------
   11 · HEADER GLOBAL — ajustements propres à l'accueil
   (repris À L'IDENTIQUE de orkyva-accueil.css §8, HOME-01)
   --------------------------------------------------------------------- */
/* <= 1024 px : les feuilles globales sortent .nav-links de l'écran
   (panneau latéral) sans bouton pour l'ouvrir sur une page sans global.js.
   Le menu burger porte la navigation ; on retire donc ces liens invisibles
   de l'ordre de tabulation (et du débordement horizontal). */
@media (max-width: 1024px) {
  body[data-page="orkyva-home"] header .nav-links { display: none !important; }
}
/* <= 768 px : header-premium.css masque la bascule de thème « pour gagner de
   la place » (header à 5 icônes). L'accueil n'en garde que 2 (thème + menu) :
   la place existe, la bascule reste donc disponible sur mobile. */
@media (max-width: 768px) {
  body[data-page="orkyva-home"] header #dark-mode-toggle,
  body[data-page="orkyva-home"] header .dark-mode-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}
/* Contraste AA en thème clair : lien actif (« Accueil », #2ECC71 = 2,05:1 sur
   l'en-tête clair), titres du menu et anneau de focus. Le soulignement actif
   (dégradé) est conservé. */
body[data-page="orkyva-home"]:not(.dark-mode) header .nav-links a.active { color: #17703F !important; }
body[data-page="orkyva-home"]:not(.dark-mode) header .dropdown-section h4 { color: #17703F !important; }
body[data-page="orkyva-home"]:not(.dark-mode) header a:focus-visible,
body[data-page="orkyva-home"]:not(.dark-mode) header button:focus-visible { outline-color: #17703F; }

/* ---------------------------------------------------------------------
   12 · FOOTER GLOBAL — trois réseaux, en liste
   (repris À L'IDENTIQUE de orkyva-accueil.css §9, HOME-01)
   --------------------------------------------------------------------- */
body[data-page="orkyva-home"] .footer.tu-footer-v2 .tu-footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
body[data-page="orkyva-home"] .footer.tu-footer-v2 .tu-footer-social .ohp-ico {
  flex: 0 0 auto;
  width: 16px;
  height: 18px;
}
body[data-page="orkyva-home"] .footer.tu-footer-v2 .tu-footer-social .ohp-ico--wide { width: 20px; }

/* Sprite d'icônes : présent dans le DOM, jamais affiché */
body[data-page="orkyva-home"] .ohp-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
