/*
 * Vitrine Tevori (tevori.fr) : transcription du Design System Tevori V1.0.1 (31/10/2026).
 * Jetons --tv-*, base et composants. Polices auto-hebergees (la CSP impose font-src 'self'),
 * Literata et DM Sans sous licence SIL OFL 1.1, jeux latin et latin etendu seulement.
 */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(polices/dm-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(polices/dm-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Literata'; font-style: italic; font-weight: 400; font-display: swap; src: url(polices/literata-italique-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Literata'; font-style: italic; font-weight: 400; font-display: swap; src: url(polices/literata-italique-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Literata'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(polices/literata-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Literata'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(polices/literata-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* encre et vert */
  --tv-ink-900: #10231F; --tv-ink-700: #3C4A44; --tv-ink-500: #5F6D66; --tv-ink-400: #6E7D75;
  --tv-green-700: #00524C; --tv-green-600: #2E6B64;
  /* sauge */
  --tv-sage-700: #43705F; --tv-sage-600: #4B7A71; --tv-sage-400: #9DBDB3; --tv-sage-200: #C9D8CF;
  --tv-sage-100: #DDE8E1; --tv-sage-50: #E2ECE7;
  /* terracotta */
  --tv-terra-600: #B0583B; --tv-terra-700: #974A2F; --tv-terra-800: #8E4129; --tv-terra-50: #F6ECE6; --tv-terra-100: #ECD6CA;
  /* jaune : jamais de texte jaune sur fond clair, deux touches par ecran au plus */
  --tv-yellow-500: #F2B00D; --tv-yellow-600: #D89A00; --tv-yellow-50: #FCF1D3; --tv-yellow-ink: #7A5300;
  /* fonds et bordures */
  --tv-bg-page: #F2F3EF; --tv-bg-surface: #FCFCFA; --tv-bg-card: #F7F8F4;
  --tv-border: #D6DBD2; --tv-border-strong: #C3CABF; --tv-border-field: #7F8B84;
  /* etats */
  --tv-success: #2E7D54; --tv-success-bg: #E9F4EE; --tv-success-border: #BFDDCC;
  --tv-warning: #B27414; --tv-warning-bg: #FAF3E3; --tv-warning-border: #EBD9B4;
  --tv-error: #9B1C1C; --tv-error-bg: #FDECEC; --tv-error-border: #F0B4B4;
  /* typographie */
  --tv-font-serif: 'Literata', Georgia, serif;
  --tv-font-sans: 'DM Sans', system-ui, sans-serif;
  /* rayons */
  --tv-radius-sm: 8px; --tv-radius-field: 10px; --tv-radius-button: 12px; --tv-radius-card: 18px; --tv-radius-pill: 999px;
  /* espacements (base 4) */
  --tv-space-1: 4px; --tv-space-2: 8px; --tv-space-3: 12px; --tv-space-4: 16px; --tv-space-5: 20px; --tv-space-6: 24px;
  --tv-space-8: 32px; --tv-space-10: 40px; --tv-space-12: 48px; --tv-space-14: 56px; --tv-space-16: 64px;
  --tv-space-20: 80px; --tv-space-24: 96px; --tv-space-32: 128px;
  /* grille : 20 px sous 560, 32 px jusqu'a 999, 48-56 au-dela */
  --tv-gutter: 20px; --tv-container: 1280px;
  /* ombres et mouvement */
  --tv-shadow-raised: 0 28px 56px -36px rgba(16, 35, 31, .5);
  --tv-shadow-overlay: 0 24px 60px rgba(16, 35, 31, .20);
  --tv-duration-fast: 150ms; --tv-duration-base: 250ms; --tv-duration-slow: 400ms;
  --tv-ease: cubic-bezier(.2, .7, .2, 1);
  /* accent d'offre (data-offer) : le CFA n'a pas d'attribut et reste vert */
  --tv-offer: var(--tv-green-700);
  color-scheme: light;
}
[data-offer="impact"] { --tv-offer: #00524C; }
[data-offer="connect"] { --tv-offer: #B0583B; }
[data-offer="integral"] { --tv-offer: #10231F; }
@media (min-width: 560px) { :root { --tv-gutter: 32px; } }
@media (min-width: 1000px) { :root { --tv-gutter: clamp(48px, 4vw, 56px); } }
@media (prefers-reduced-motion: reduce) {
  :root { --tv-duration-fast: 0ms; --tv-duration-base: 0ms; --tv-duration-slow: 0ms; }
  html { scroll-behavior: auto !important; }
}

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--tv-bg-page); color: var(--tv-ink-700);
  font: 400 15px/1.6 var(--tv-font-sans); -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
h1, h2, h3, h4 { margin: 0; color: var(--tv-ink-900); font-family: var(--tv-font-serif); font-weight: 400; }
p { margin: 0; }
a { color: var(--tv-green-700); }
a:hover { color: var(--tv-ink-900); }
:focus-visible { outline: 2px solid var(--tv-green-700); outline-offset: 2px; }
img, svg { max-width: 100%; }
.tv-conteneur { width: 100%; max-width: var(--tv-container); margin: 0 auto; padding: 0 var(--tv-gutter); }
.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* typographie */
.tv-display { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; }
.tv-h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; text-wrap: balance; }
.tv-h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; }
.tv-h4 { font-size: 20px; font-weight: 500; line-height: 1.3; }
/* accroche : sauge 700 sur le fond de page (#F2F3EF), 600 sur une surface (design system) */
.tv-accroche { font-family: var(--tv-font-serif); font-style: italic; font-size: clamp(19px, 1.7vw, 23px); color: var(--tv-sage-700); }
.tv-lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; max-width: 40em; text-wrap: pretty; }
.tv-body-sm { font-size: 14px; line-height: 1.5; }
.tv-caption { font-size: 13px; line-height: 1.5; color: var(--tv-ink-500); }
.tv-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tv-sage-700); }
.tv-micro { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
/* surlignage jaune clair (une touche de jaune) : le texte reste a l'encre */
.tv-surligne { background: linear-gradient(transparent 58%, var(--tv-yellow-50) 58%, var(--tv-yellow-50) 92%, transparent 92%); padding: 0 .08em; }

/* logo : symbole + mot, jamais recolore, jamais sur fond vert ou encre */
.tv-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.tv-logo svg { flex: none; width: 30px; height: 30px; }
.tv-logo__mots { display: flex; flex-direction: column; gap: 4px; }
.tv-logo__nom { font-family: var(--tv-font-serif); font-size: 26px; font-weight: 500; line-height: 1; letter-spacing: -.01em; color: var(--tv-green-700); }
.tv-logo__editeur { font-size: 12px; line-height: 1; letter-spacing: .03em; color: var(--tv-ink-400); }
.tv-logo--pied svg { width: 34px; height: 34px; }

/* boutons */
.tv-bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px;
  border: 1px solid var(--tv-green-700); border-radius: var(--tv-radius-button);
  font: 500 15px/1.2 var(--tv-font-sans); text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color var(--tv-duration-fast) var(--tv-ease), color var(--tv-duration-fast) var(--tv-ease), border-color var(--tv-duration-fast) var(--tv-ease);
}
.tv-bouton--primaire { background: var(--tv-green-700); color: var(--tv-bg-surface); }
.tv-bouton--primaire:hover { background: var(--tv-ink-900); border-color: var(--tv-ink-900); color: var(--tv-bg-surface); }
.tv-bouton--secondaire { background: transparent; color: var(--tv-green-700); }
.tv-bouton--secondaire:hover { background: var(--tv-green-700); color: var(--tv-bg-surface); }
.tv-bouton--compact { min-height: 44px; }
.tv-bouton[disabled], .tv-bouton[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
/* tertiaire : en ligne dans une phrase (cible exemptee, WCAG 2.5.8) ; seul, ajouter .tv-lien-tertiaire--seul */
.tv-lien-tertiaire {
  color: var(--tv-green-700); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--tv-sage-600); padding-bottom: 1px;
}
.tv-lien-tertiaire--seul { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 0; text-decoration: underline; text-decoration-color: var(--tv-sage-600); text-underline-offset: 5px; }
.tv-lien-tertiaire:hover { color: var(--tv-ink-900); border-bottom-color: var(--tv-ink-900); }
.tv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
@media (max-width: 559px) {
  .tv-actions { flex-direction: column; align-items: stretch; }
  .tv-actions .tv-bouton { width: 100%; }
}

/* page d'attente (racine de la vitrine, en attendant le contenu de l'accueil) */
.tv-attente { min-height: 100vh; display: flex; flex-direction: column; }
.tv-attente__entete { padding: var(--tv-space-6) 0; }
.tv-attente__corps { flex: 1; display: flex; align-items: center; padding: var(--tv-space-12) 0 var(--tv-space-16); }
.tv-attente__corps .tv-display { margin-top: var(--tv-space-4); max-width: 14em; }
.tv-attente__corps .tv-lead { margin-top: var(--tv-space-6); max-width: 34em; }
.tv-attente__corps .tv-actions { margin-top: var(--tv-space-10); }
.tv-attente__client { margin-top: var(--tv-space-8); font-size: 14px; color: var(--tv-ink-500); }
.tv-pied-simple { border-top: 1px solid var(--tv-border); padding: var(--tv-space-6) 0; font-size: 13px; color: var(--tv-ink-500); }

/* ------------------------------------------------------------------------------------------------
 * Pages d'atterrissage CFA et OF (maquettes du 2026-10-31, transcrites en classes). Ecarts voulus :
 * textes de 10-11 px portes a 12 px (minimum de l'audit responsive), gris #6E7D75 remplace par
 * --tv-ink-500 (texte secondaire, contraste AA), menu replie sous 1000 px (la barre deborde a 768).
 * ------------------------------------------------------------------------------------------------ */
[hidden] { display: none !important; }
.tv-vert { color: var(--tv-green-700); }
.tv-evitement {
  position: absolute; left: 16px; top: -120px; z-index: 100; display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 16px; border-radius: var(--tv-radius-button); background: var(--tv-ink-900); color: var(--tv-bg-surface); font-weight: 500;
}
.tv-evitement:focus { top: 12px; color: var(--tv-bg-surface); outline-color: var(--tv-yellow-500); }

/* en-tete */
/* fond opaque (maquette : 94 % + flou) : au-dessus de la section verte, le gris des liens passait sous 4,5:1 */
.tv-entete { position: sticky; top: 0; z-index: 20; background: var(--tv-bg-page); border-bottom: 1px solid var(--tv-border); }
.tv-entete__barre { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.tv-entete__logo { flex: none; text-decoration: none; }
.tv-entete__publics, .tv-entete__sections { display: none; gap: 16px; margin-left: 14px; padding-left: 14px; border-left: 1px solid var(--tv-border); }
.tv-entete__sections { margin-right: auto; }
.tv-entete__publics a, .tv-entete__sections a { position: relative; white-space: nowrap; font-size: 13px; padding: 6px 0; text-decoration: none; }
.tv-entete__publics a { min-width: 24px; text-align: center; }
.tv-entete__publics a { color: var(--tv-ink-500); }
.tv-entete__publics a[aria-current="page"] { color: var(--tv-ink-900); font-weight: 600; }
.tv-entete__publics a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--tv-yellow-500); }
.tv-entete__sections a { color: var(--tv-ink-700); border-bottom: 1px solid transparent; }
.tv-entete__publics a:hover, .tv-entete__sections a:hover { color: var(--tv-green-700); border-bottom-color: var(--tv-green-700); }
.tv-entete__cta { display: none; flex: none; white-space: nowrap; font-size: 13px; padding: 0 14px; }
.tv-long { display: none; }
.tv-entete__menu {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  background: none; border: 1px solid var(--tv-border-strong); border-radius: var(--tv-radius-button); color: var(--tv-ink-900); font: 400 14px/1 var(--tv-font-sans); cursor: pointer;
}
/* les deux traits se croisent en douceur a l'ouverture du menu */
.tv-entete__burger { display: flex; flex-direction: column; gap: 5px; }
.tv-entete__burger span { width: 16px; height: 1px; background: var(--tv-ink-900); transition: transform var(--tv-duration-slow) var(--tv-ease); }
.tv-entete__menu[aria-expanded="true"] .tv-entete__burger span:first-child { transform: translateY(3px) rotate(45deg); }
.tv-entete__menu[aria-expanded="true"] .tv-entete__burger span:last-child { transform: translateY(-3px) rotate(-45deg); }
.tv-menu-mobile { border-top: 1px solid var(--tv-border); background: var(--tv-bg-surface); padding: 8px var(--tv-gutter) 24px; }
.tv-menu-mobile nav { display: flex; flex-direction: column; }
.tv-menu-mobile__publics { display: flex; flex-wrap: wrap; gap: 0 24px; padding: 6px 0; border-bottom: 1px solid var(--tv-border); }
.tv-menu-mobile__publics a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--tv-ink-500); text-decoration: none; }
.tv-menu-mobile__publics a[aria-current="page"] { color: var(--tv-ink-900); font-weight: 600; text-decoration: underline; text-decoration-color: var(--tv-yellow-500); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.tv-menu-mobile__section { padding: 14px 0; border-bottom: 1px solid var(--tv-border); color: var(--tv-ink-900); text-decoration: none; font-family: var(--tv-font-serif); font-size: 20px; }
.tv-menu-mobile .tv-bouton { margin-top: 20px; }
@media (min-width: 1000px) {
  .tv-entete__publics, .tv-entete__sections { display: flex; }
  .tv-entete__cta { display: inline-flex; }
  .tv-entete__menu, .tv-menu-mobile { display: none !important; }
}
@media (min-width: 1080px) { .tv-long { display: inline; } .tv-court { display: none; } }
@media (min-width: 1220px) {
  .tv-entete__publics, .tv-entete__sections { gap: 22px; margin-left: 20px; padding-left: 20px; }
  .tv-entete__publics a, .tv-entete__sections a, .tv-entete__cta { font-size: 14px; }
  .tv-entete__cta { padding: 0 18px; }
}

/* heros */
.tv-heros { padding: clamp(32px, 5vw, 72px) 0 clamp(56px, 6vw, 88px); }
.tv-heros__grille { --gap-heros: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr)); gap: var(--gap-heros); align-items: start; }
.tv-accroche--trait { display: flex; align-items: center; gap: 14px; }
.tv-accroche--trait::before { content: ""; flex: none; width: 28px; height: 1px; background: var(--tv-yellow-500); }
.tv-heros__titre { margin-top: 18px; }
.tv-heros__titre em { color: var(--tv-green-600); }
.tv-heros__sous-titre { margin-top: 24px; max-width: 32em; }
.tv-heros__actions { margin-top: 32px; }

/* Cycle Tevori : convoyeur en escalier, adapte de l'exemple Swiper fourni par Kevin (2026-11-01).
   Dans la colonne de droite du heros (Kevin : le carrousel reste a droite) : l'active au centre, la
   precedente plus bas a gauche, la suivante plus haut a droite, toutes deux reduites (0,86) derriere
   elle facon coverflow ; les inactives s'estompent vers les bords (masque en degrade). A chaque etape la rangee
   glisse d'un cran vers la gauche : la precedente sort en fondu (double temporaire), elle revient en
   fondu a droite. data-rang : 0 active, 1 suivante, 2 precedente, sortie / entree hors champ.
   Unites cqw : relatives a la largeur du cycle (container-type). */
.tv-cycle {
  --l-carte: min(340px, 82cqw); --pas-y: 96px; --h-carte: 360px;
  --pas-x: min(calc(var(--l-carte) + 16px), calc((100cqw - var(--l-carte)) / 2));
  --duree-cycle: calc(var(--tv-duration-slow) * 1.625); --courbe-cycle: cubic-bezier(.33, 1, .68, 1);
  container-type: inline-size; position: relative; width: 100%;
  height: calc(var(--h-carte) + 2 * var(--pas-y) + 2px);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 calc(50% - var(--l-carte) / 2), #000 calc(50% + var(--l-carte) / 2), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 calc(50% - var(--l-carte) / 2), #000 calc(50% + var(--l-carte) / 2), transparent 100%);
}
.tv-cycle--of { --h-carte: 396px; }
/* deux colonnes (a partir d'environ 1200 px) : la zone du cycle deborde dans la gouttiere a gauche et
   jusqu'au bord du conteneur a droite, pour que les cartes inactives respirent ; le degrade du masque
   tombe a transparent sur ces bords */
@media (min-width: 1200px) {
  .tv-cycle { width: calc(100% + var(--gap-heros) + var(--tv-gutter)); margin-left: calc(-1 * var(--gap-heros)); }
}
@media (min-width: 1000px) {
  .tv-cycle { --pas-y: 110px; --h-carte: 324px; }
  .tv-cycle--of { --h-carte: 372px; }
}
.tv-cycle__carte {
  --rel: 0; position: absolute; top: var(--pas-y); left: calc(50cqw - var(--l-carte) / 2);
  width: var(--l-carte); height: var(--h-carte); display: flex; flex-direction: column; padding: clamp(18px, 2vw, 22px);
  background: var(--tv-bg-surface); border: 1px solid var(--tv-border-field); border-radius: var(--tv-radius-button); cursor: pointer;
  --echelle: 1;
  transform: translate3d(calc(var(--rel) * var(--pas-x)), calc(-1 * var(--rel) * var(--pas-y)), 0) scale(var(--echelle));
  will-change: transform, opacity;
  transition: transform var(--duree-cycle) var(--courbe-cycle), opacity var(--duree-cycle) var(--courbe-cycle), box-shadow var(--duree-cycle) var(--courbe-cycle);
}
.tv-cycle__carte[data-rang="0"] { --rel: 0; z-index: 3; box-shadow: var(--tv-shadow-raised); }
.tv-cycle__carte[data-rang="1"] { --rel: 1; --echelle: .86; z-index: 2; }
.tv-cycle__carte[data-rang="2"] { --rel: -1; --echelle: .86; z-index: 2; }
.tv-cycle__carte[data-rang="entree"] { --rel: 2; --echelle: .76; z-index: 1; opacity: 0; }
.tv-cycle__carte[data-rang="sortie"] { --rel: -2; --echelle: .76; z-index: 1; opacity: 0; pointer-events: none; }
.tv-cycle__etiquette { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tv-sage-700); }
/* trait de 3 px a l'ecran sur toutes les cartes : la hauteur compense la reduction des inactives */
.tv-cycle__trait { display: block; width: 24px; height: calc(3px / var(--echelle, 1)); margin-top: 8px; border-radius: var(--tv-radius-pill); background: var(--accent); }
.tv-cycle__titre { margin-top: 6px; font-family: var(--tv-font-serif); font-size: clamp(18px, 1.6vw, 20px); line-height: 1.15; color: var(--tv-ink-900); }
/* contenu visible sur toutes les cartes (croquis de Kevin) : celles de derriere le montrent dans ce qui
   depasse a droite et en bas ; ne pas les vider */
/* rien n'est comprime dans une carte de hauteur fixe (le trait tombait a 1,28 puis 0 px quand le
   contenu etait juste trop haut, mesure du 2026-11-01) : le contenu doit tenir, verifie par e2e */
.tv-cycle__carte > *, .tv-cycle__corps > * { flex-shrink: 0; }
.tv-cycle__corps { flex: 1 0 auto; display: flex; flex-direction: column; }
.tv-cycle__sous-titre { margin-top: 8px; font-size: 12px; line-height: 1.5; text-wrap: pretty; }
.tv-cycle__encadre { margin-top: 14px; padding: 2px 12px; border: 1px solid var(--tv-border); border-radius: var(--tv-radius-field); background: var(--tv-bg-card); }
.tv-cycle__ligne { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 12px; line-height: 1.35; color: var(--tv-ink-900); }
.tv-cycle__ligne + .tv-cycle__ligne { border-top: 1px solid var(--tv-border); }
.tv-cycle__puce { flex: none; width: 20px; height: 20px; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: var(--accent-fond); color: var(--accent-encre); font-size: 12px; font-weight: 600; }
.tv-cycle__puce:not(.tv-cycle__puce--numero)::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.tv-cycle__puce--fort { background: var(--tv-yellow-500); color: var(--tv-ink-900); }
.tv-cycle__cle { flex: 1; min-width: 0; }
.tv-cycle__valeur { flex: none; max-width: 48%; text-align: right; font-weight: 600; color: var(--tv-ink-700); }
.tv-cycle__progression { margin: 0 0 12px 30px; height: 6px; border-radius: var(--tv-radius-pill); background: #E4E7E0; }
.tv-cycle__progression span { display: block; width: 62%; height: 100%; border-radius: var(--tv-radius-pill); background: var(--tv-green-700); }
.tv-cycle__legende { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 9px 0 4px; font-size: 12px; }
.tv-cycle__legende > span { display: flex; align-items: center; gap: 6px; }
.tv-cycle__point { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--tv-green-700); }
.tv-cycle__point--creux { background: var(--tv-bg-surface); border: 2px solid var(--tv-sage-600); }
.tv-cycle__comparaison { padding: 6px 0; border-top: 1px solid var(--tv-border); }
.tv-cycle__comparaison-tete { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--tv-ink-900); }
.tv-cycle__ecart { flex: none; font-weight: 600; color: var(--tv-yellow-ink); }
.tv-cycle__convergence { flex: none; font-weight: 600; color: var(--tv-ink-500); }
.tv-cycle__reglette { position: relative; height: 10px; margin: 5px 8px 0 0; }
.tv-cycle__reglette::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 2px; background: var(--tv-border); }
.tv-cycle__reglette-ecart { position: absolute; top: 4px; height: 2px; background: var(--tv-yellow-500); }
.tv-cycle__reglette .tv-cycle__point { position: absolute; top: 1px; }
.tv-cycle__pied { margin-top: auto; padding-top: 10px; font-size: 12px; line-height: 1.45; color: var(--tv-ink-500); }

/* sections */
.tv-section { padding: clamp(72px, 9vw, 128px) 0; }
.tv-section--bordure { border-top: 1px solid var(--tv-border); }
.tv-section--surface { background: var(--tv-bg-surface); border-top: 1px solid var(--tv-border); border-bottom: 1px solid var(--tv-border); }
.tv-section--surface .tv-label { color: var(--tv-sage-600); }
.tv-section--page { border-bottom: 1px solid var(--tv-border); }
.tv-section__titre { margin-top: 16px; max-width: 20em; }
.tv-section__titre--etroit { max-width: 18em; }
.tv-section__intro { margin-top: 20px; }
.tv-h2--grand { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -.015em; }
.tv-note { margin-top: 24px; font-size: 13px; line-height: 1.6; color: var(--tv-ink-500); }
.tv-note--filet { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--tv-border); max-width: 46em; }
.tv-note--centre { max-width: 62em; margin-left: auto; margin-right: auto; text-align: center; text-wrap: balance; }
.tv-constat { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.tv-constat__label { flex: 1 1 200px; padding-top: 14px; }
.tv-constat__texte { flex: 3 1 560px; max-width: 860px; min-width: 0; }
.tv-constat__texte .tv-lead { margin-top: 32px; max-width: 36em; }
.tv-colonnes { display: flex; flex-wrap: wrap; gap: 32px 48px; }
.tv-colonnes__titre { flex: 1 1 260px; }
.tv-colonnes__contenu { flex: 2 1 520px; min-width: 0; margin: 0; padding: 0; border-top: 1px solid var(--tv-ink-900); }

/* boucle d'amelioration */
.tv-boucle { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 32px; }
@media (min-width: 560px) { .tv-boucle { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tv-boucle { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tv-boucle__etape { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--tv-border); }
.tv-boucle__etape > div { min-width: 0; }
.tv-boucle__numero { flex: none; width: 36px; height: 36px; border-radius: var(--tv-radius-button); display: flex; align-items: center; justify-content: center; background: var(--tv-green-700); color: var(--tv-bg-surface); font-family: var(--tv-font-serif); font-size: 17px; }
.tv-boucle__numero--jaune { background: var(--tv-yellow-500); color: var(--tv-ink-900); }
.tv-boucle__qui { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tv-sage-700); }
.tv-boucle__titre { margin-top: 4px; font-size: 21px; font-weight: 500; }
.tv-boucle__etape p:last-child { margin-top: 6px; }
.tv-boucle__note { padding-top: 16px; border-top: 1px solid var(--tv-border); font-size: 13px; line-height: 1.6; color: var(--tv-ink-500); }

/* demarche en cinq etapes */
.tv-etapes { list-style: none; }
.tv-etapes__etape { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 24px 0; border-bottom: 1px solid var(--tv-border); }
.tv-etapes__numero { flex: 0 0 56px; font-family: var(--tv-font-serif); font-weight: 300; font-size: 40px; line-height: 1; color: var(--tv-sage-600); }
.tv-etapes__texte { flex: 1 1 300px; min-width: 0; }
.tv-etapes__tete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.tv-etapes__tete h3 { font-size: 22px; }
.tv-etapes__qui { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tv-green-700); }
.tv-etapes__qui--client { color: var(--tv-ink-900); }
.tv-etapes__texte p { margin-top: 8px; }

/* listes de definitions (restitution, indicateurs) */
/* pleine largeur du conteneur, comme les autres rubriques (Kevin, 2026-11-01 : 860 px laissaient la
   rubrique decentree) */
.tv-definitions { margin: clamp(40px, 5vw, 64px) 0 0; border-top: 1px solid var(--tv-ink-900); }
.tv-colonnes__contenu .tv-definitions { margin-top: 0; border-top: 0; }
.tv-definitions > div { display: flex; gap: 6px 20px; padding: 18px 0; border-bottom: 1px solid var(--tv-border); }
.tv-definitions dt { flex: 0 0 160px; font-family: var(--tv-font-serif); font-size: 18px; color: var(--tv-ink-900); }
.tv-definitions--indicateurs dt { flex-basis: 120px; }
.tv-definitions dd { margin: 0; line-height: 1.55; }
.tv-definitions__fort { border-bottom-color: var(--tv-ink-900) !important; }
.tv-definitions__fort dt { color: var(--tv-green-700); }
.tv-definitions__fort dd { color: var(--tv-ink-900); }
@media (max-width: 559px) { .tv-definitions > div { flex-direction: column; } .tv-definitions dt { flex-basis: auto; } }
.tv-qualite__appui { margin-top: 20px; color: var(--tv-ink-900); line-height: 1.55; }
.tv-qualite__appui + .tv-note { margin-top: 12px; }

/* comparatif en interne / avec Tevori */
.tv-comparatif { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--tv-ink-900); }
.tv-comparatif > span { padding: 16px 12px; border-top: 1px solid var(--tv-border); line-height: 1.5; }
.tv-comparatif__vide, .tv-comparatif__colonne { border-top: 0 !important; padding-top: 14px !important; padding-bottom: 14px !important; }
.tv-comparatif__colonne { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tv-ink-500); }
.tv-comparatif__colonne--tevori { display: flex; flex-direction: column; gap: 6px; color: var(--tv-green-700); }
.tv-comparatif__colonne--tevori::after { content: ""; width: 24px; height: 2px; border-radius: var(--tv-radius-pill); background: var(--tv-yellow-500); }
.tv-comparatif__critere { padding-left: 0 !important; font-family: var(--tv-font-serif); font-size: clamp(16px, 1.5vw, 19px); color: var(--tv-ink-900); }
.tv-comparatif__tevori { color: var(--tv-ink-900); padding-right: 0 !important; }
.tv-comparatif__vide, .tv-comparatif__critere { padding-left: 0 !important; }
.tv-comparatif--dernier { border-bottom: 1px solid var(--tv-ink-900); }
@media (max-width: 559px) {
  .tv-comparatif { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tv-comparatif__vide { display: none; }
  .tv-comparatif__colonne:not(.tv-comparatif__colonne--tevori) { padding-left: 0 !important; }
  .tv-comparatif__critere { grid-column: 1 / -1; padding-bottom: 4px !important; }
  .tv-comparatif__critere.tv-comparatif--dernier { border-bottom: 0; }
  .tv-comparatif__interne, .tv-comparatif__tevori { border-top: 0 !important; padding-top: 4px !important; font-size: 14px; }
  .tv-comparatif__interne { padding-left: 0 !important; }
}

/* offres CFA (paliers) */
.tv-tarifs__tete { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 48px; }
.tv-tarifs__tete > div { flex: 1 1 420px; min-width: 0; }
.tv-tarifs__intro { flex: 1 1 380px; max-width: 30em; font-size: 17px; line-height: 1.6; }
.tv-tarifs__intro strong { display: block; font-weight: 600; color: var(--tv-ink-900); }
.tv-paliers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; margin-top: clamp(40px, 5vw, 64px); }
.tv-palier { display: flex; flex-direction: column; padding: clamp(24px, 2.6vw, 32px); background: var(--fond); border: 1px solid var(--tv-border); border-top: 2px solid var(--haut); border-radius: var(--tv-radius-button); }
.tv-palier__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; min-height: 20px; }
.tv-palier__etape { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tv-ink-500); }
.tv-palier__drapeau { font-size: 12px; font-weight: 600; color: var(--tv-green-700); }
.tv-palier__nom { margin-top: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--tv-border); font-size: 24px; }
.tv-palier__elements { flex: 1; list-style: none; margin: 0; padding: 0; }
.tv-palier__elements li { padding: 11px 0; border-bottom: 1px solid var(--tv-border); font-size: 14px; }
.tv-palier__remesure { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; font-size: 13px; }
.tv-palier__remesure span:first-child { color: var(--tv-ink-500); }
.tv-palier__remesure span:last-child { color: var(--tv-ink-900); font-weight: 500; }
.tv-palier .tv-bouton { margin-top: 12px; font-size: 14px; }

/* engagements, a savoir */
.tv-engagements { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px 48px; margin-top: clamp(40px, 5vw, 64px); }
.tv-engagement { position: relative; padding-top: 24px; border-top: 1px solid var(--tv-border-strong); }
.tv-engagement::before { content: ""; position: absolute; top: -2px; left: 0; width: 40px; height: 3px; border-radius: var(--tv-radius-pill); background: var(--tv-yellow-500); }
.tv-engagement h3 { font-size: 22px; }
.tv-engagement p { margin-top: 10px; }
.tv-a-savoir { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 12px 40px; padding: clamp(24px, 3vw, 36px); background: var(--tv-bg-surface); border: 1px solid var(--tv-ink-900); border-radius: var(--tv-radius-button); }
.tv-a-savoir__label { flex: none; display: flex; align-items: center; gap: 8px; height: fit-content; padding-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tv-ink-900); }
.tv-a-savoir__label span { width: 8px; height: 8px; border-radius: 50%; background: var(--tv-yellow-500); }
.tv-a-savoir__texte { flex: 1 1 420px; min-width: 0; font-family: var(--tv-font-serif); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--tv-ink-900); text-wrap: pretty; }

/* FAQ */
.tv-faq__question { border-bottom: 1px solid var(--tv-border); }
.tv-faq__question summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 44px; padding: 22px 0;
  list-style: none; cursor: pointer; font-family: var(--tv-font-serif); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.35; color: var(--tv-ink-900);
}
.tv-faq__question summary::-webkit-details-marker { display: none; }
/* signe +/- : le trait vertical tourne et s'efface a l'ouverture (demande de Kevin : ouverture fluide) */
.tv-faq__signe { position: relative; flex: none; width: 28px; height: 28px; border: 1px solid var(--tv-border-strong); border-radius: var(--tv-radius-button); transition: border-color var(--tv-duration-base) var(--tv-ease); }
.tv-faq__signe::before, .tv-faq__signe::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.5px; margin: -.75px 0 0 -5.5px; border-radius: 1px; background: var(--tv-green-700); transition: transform var(--tv-duration-slow) var(--tv-ease), opacity var(--tv-duration-slow) var(--tv-ease); }
.tv-faq__signe::after { transform: rotate(90deg); }
.tv-faq__question[open] .tv-faq__signe::after { transform: rotate(180deg); opacity: 0; }
.tv-faq__question summary:hover .tv-faq__signe { border-color: var(--tv-green-700); }
.tv-faq__reponse { overflow: hidden; }
.tv-faq__question p { padding: 0 56px 24px 0; max-width: 44em; line-height: 1.65; text-wrap: pretty; }
@media (max-width: 559px) { .tv-faq__question p { padding-right: 0; } }

/* benefices OF */
.tv-benefices { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 48px; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 560px) { .tv-benefices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tv-benefices { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; } }
.tv-benefice { padding-top: 24px; border-top: 1px solid var(--tv-border-strong); }
.tv-benefice__numero { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--tv-ink-900); }
.tv-benefice__numero span { width: 7px; height: 7px; border-radius: 50%; background: var(--tv-yellow-500); }
.tv-benefice h3 { margin-top: 10px; font-size: 22px; }
.tv-benefice p:last-child { margin-top: 10px; text-wrap: pretty; }

/* offres OF : cartes, accents par data-offer */
[data-offer="impact"] { --tv-offer-texte: #00524C; --tv-offer-teinte: #E2ECE7; --tv-offer-filet: #E2ECE7; --tv-offer-survol: #10231F; --tv-offer-perimetre-label: #00524C; --tv-offer-perimetre-texte: #10231F; }
[data-offer="connect"] { --tv-offer-texte: #974A2F; --tv-offer-teinte: #F6ECE6; --tv-offer-filet: #ECD6CA; --tv-offer-survol: #8E4129; --tv-offer-perimetre-label: #974A2F; --tv-offer-perimetre-texte: #10231F; }
[data-offer="integral"] { --tv-offer-texte: #10231F; --tv-offer-teinte: #10231F; --tv-offer-filet: #10231F; --tv-offer-survol: #3C4A44; --tv-offer-perimetre-label: #C9D8CF; --tv-offer-perimetre-texte: #FCFCFA; }
.tv-premiere { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; max-width: fit-content; margin-top: clamp(36px, 4vw, 48px); padding: 14px 18px; background: var(--tv-bg-page); border: 1px solid var(--tv-border); border-radius: 14px; font-size: 14px; }
.tv-premiere__titre { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--tv-ink-900); }
.tv-premiere__titre span { width: 8px; height: 8px; border-radius: 50%; background: var(--tv-yellow-500); }
.tv-premiere .tv-lien-tertiaire { min-height: 44px; }
.tv-offres { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 2.4vw, 32px); margin-top: clamp(36px, 4vw, 48px); align-items: stretch; }
@media (min-width: 1100px) { .tv-offres { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tv-offre__titre { min-height: 3.6em; } }
.tv-offre { display: flex; flex-direction: column; gap: 22px; padding: 28px; background: var(--tv-bg-card); border: 1px solid var(--tv-border); border-radius: var(--tv-radius-card); }
.tv-offre__nom { display: flex; flex-direction: column; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tv-offer-texte); }
.tv-offre__nom::after { content: ""; width: 32px; height: 3px; border-radius: var(--tv-radius-pill); background: var(--tv-yellow-500); }
.tv-offre__titre { font-size: clamp(22px, 1.9vw, 26px); line-height: 1.2; text-wrap: balance; }
.tv-offre__perimetre { padding: 12px 14px; border-radius: var(--tv-radius-button); background: var(--tv-offer-teinte); border: 1px solid var(--tv-offer-filet); }
.tv-offre__perimetre p:last-child { margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--tv-offer-perimetre-texte); }
.tv-offre__perimetre-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tv-offer-perimetre-label); }
.tv-bouton--offre { margin-top: auto; width: 100%; background: transparent; border-color: var(--tv-offer); color: var(--tv-offer); }
.tv-bouton--offre:hover { background: var(--tv-offer); color: var(--tv-bg-surface); }
.tv-bouton--offre-plein { width: 100%; background: var(--tv-offer); border-color: var(--tv-offer); color: var(--tv-bg-surface); }
.tv-bouton--offre-plein:hover { background: var(--tv-offer-survol); border-color: var(--tv-offer-survol); color: var(--tv-bg-surface); }
.tv-offre-detail { width: calc(100% - 32px); max-width: 560px; max-height: calc(100vh - 48px); overflow: auto; padding: 28px; color: var(--tv-ink-700); background: var(--tv-bg-card); border: 1px solid var(--tv-border); border-radius: var(--tv-radius-card); box-shadow: var(--tv-shadow-overlay); }
.tv-offre-detail[open] { display: flex; flex-direction: column; gap: 22px; }
.tv-offre-detail::backdrop { background: rgba(16, 35, 31, .42); }
.tv-offre-detail__tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tv-offre-detail__fermer { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--tv-border-strong); background: var(--tv-bg-surface); color: var(--tv-ink-900); font-size: 20px; line-height: 1; cursor: pointer; }
.tv-offre-detail__titre { font-size: 26px; line-height: 1.2; text-wrap: balance; }
.tv-offre-detail__liste { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tv-ink-500); }
.tv-offre-detail__elements { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tv-offre-detail__elements li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--tv-ink-900); }
.tv-offre-detail__elements li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--tv-offer); }
.tv-offre-detail__ideal { font-size: 14px; line-height: 1.55; font-weight: 600; color: var(--tv-ink-900); text-wrap: pretty; }
.tv-offre-detail__reserver { align-self: center; margin-top: -8px; }
.tv-offres__commun { margin-top: 28px; text-align: center; color: var(--tv-ink-900); }

/* appel final et contact */
.tv-cta { padding: clamp(72px, 9vw, 128px) 0 clamp(40px, 4vw, 56px); background: var(--tv-green-700); color: var(--tv-sage-100); }
.tv-cta :focus-visible { outline-color: var(--tv-yellow-500); }
.tv-cta__trait { display: block; width: 40px; height: 2px; background: var(--tv-yellow-500); }
.tv-cta__titre { margin-top: 28px; max-width: 18em; font-size: clamp(32px, 4vw, 54px); line-height: 1.1; letter-spacing: -.015em; color: var(--tv-bg-surface); text-wrap: balance; }
.tv-cta__texte { margin-top: 20px; max-width: 34em; font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.tv-cta__appui { margin-top: 12px; font-size: 17px; line-height: 1.6; font-weight: 500; color: var(--tv-bg-surface); }
.tv-contact { margin-top: 40px; max-width: 880px; padding: clamp(24px, 3vw, 40px); background: var(--tv-bg-surface); border-radius: var(--tv-radius-card); color: var(--tv-ink-700); scroll-margin-top: 96px; }
.tv-contact:focus { outline: none; }
.tv-contact :focus-visible { outline-color: var(--tv-green-700); }
.tv-contact__choix, .tv-contact__formulaire { display: flex; flex-direction: column; gap: 20px; }
.tv-contact__intro { margin-top: 8px; max-width: 40em; text-wrap: pretty; }
.tv-contact__boutons { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.tv-contact__boutons .tv-bouton { flex: 1 1 240px; }
.tv-contact__note { font-size: 13px; line-height: 1.55; color: var(--tv-ink-500); }
.tv-contact__champs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px 20px; align-items: start; }
.tv-contact__rgpd { font-size: 12px; line-height: 1.6; color: var(--tv-ink-500); text-wrap: pretty; }
.tv-contact__merci { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.tv-contact__trait { display: block; width: 40px; height: 3px; border-radius: var(--tv-radius-pill); background: var(--tv-yellow-500); }
.tv-champ { display: flex; flex-direction: column; gap: 6px; }
.tv-champ label { font-size: 13px; font-weight: 600; color: var(--tv-ink-900); }
.tv-champ input, .tv-champ select {
  width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--tv-border-field); border-radius: var(--tv-radius-field);
  background: var(--tv-bg-surface); color: var(--tv-ink-900); font: 400 15px/1.3 var(--tv-font-sans);
}
.tv-champ select { padding: 0 10px; }
.tv-champ--erreur input, .tv-champ--erreur select { border-color: var(--tv-error); }
.tv-champ__erreur { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 1.45; color: var(--tv-error); }
.tv-champ__erreur svg, .tv-alerte svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
@media (max-width: 559px) { .tv-champ input, .tv-champ select { font-size: 16px; } }
.tv-alerte { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--tv-radius-field); font-size: 14px; line-height: 1.5; }
.tv-alerte--erreur { background: var(--tv-error-bg); border: 1px solid var(--tv-error-border); color: var(--tv-error); }
.tv-cta__autre { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: clamp(56px, 6vw, 80px); padding-top: 20px; border-top: 1px solid var(--tv-green-600); font-size: 14px; }
.tv-cta__autre a { padding: 2px 0; color: var(--tv-bg-surface); text-decoration: none; border-bottom: 1px solid var(--tv-sage-400); }
.tv-cta__autre a:hover { color: var(--tv-bg-surface); border-bottom-color: var(--tv-bg-surface); }

/* appel final centre horizontalement : ecart a la maquette (alignee a gauche) arbitre par Kevin le
   2026-11-01. Les champs du formulaire gardent leurs libelles a gauche (lisibilite). */
.tv-cta .tv-conteneur { text-align: center; }
.tv-cta__trait { margin: 0 auto; }
.tv-cta__titre, .tv-cta__texte { margin-left: auto; margin-right: auto; }
.tv-contact { margin-left: auto; margin-right: auto; }
.tv-contact__choix, .tv-contact__merci { align-items: center; text-align: center; }
.tv-contact__intro { margin-left: auto; margin-right: auto; }
.tv-contact__boutons { justify-content: center; width: 100%; }
.tv-contact__formulaire { text-align: left; }
.tv-contact__formulaire > div:first-of-type, .tv-contact__formulaire .tv-actions { text-align: center; justify-content: center; }
.tv-cta__autre { justify-content: center; }

/* Devoilement lie au defilement, facon pages produit Apple (demandes de Kevin, 2026-11-01) :
   vitrine.js regle l'opacite (0,1 -> 1) et la montee (40 px -> 0) de chaque element selon sa position
   dans l'ecran, image par image. Aucune regle ici : sans JS ou en mouvement reduit, tout est affiche. */

/* pied de page */
.tv-pied { padding: clamp(48px, 5vw, 72px) 0 28px; background: var(--tv-bg-page); border-top: 1px solid var(--tv-border); }
.tv-pied__grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 48px; align-items: start; }
@media (min-width: 520px) { .tv-pied__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tv-pied__grille { grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); } }
.tv-pied__marque { display: flex; flex-direction: column; gap: 16px; font-size: 14px; }
.tv-pied__marque > p { max-width: 24em; line-height: 1.6; text-wrap: pretty; }
.tv-pied__contacts { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.tv-pied__contacts a, .tv-pied__colonne a { display: inline-flex; align-items: center; min-height: 24px; width: fit-content; color: var(--tv-ink-700); text-decoration: none; }
.tv-pied__contacts a:hover, .tv-pied__colonne a:hover { color: var(--tv-green-700); text-decoration: underline; }
.tv-pied__contacts .tv-pied__email { color: var(--tv-green-700); font-weight: 600; }
.tv-pied__colonne { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.4; }
.tv-pied__titre { display: flex; flex-direction: column; gap: 8px; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1; color: var(--tv-ink-500); }
.tv-pied__titre::after { content: ""; width: 20px; height: 2px; border-radius: var(--tv-radius-pill); background: var(--tv-yellow-500); }
.tv-pied__bas { display: flex; flex-direction: column; gap: 10px; margin-top: clamp(40px, 4vw, 56px); padding-top: 20px; border-top: 1px solid var(--tv-border); font-size: 12px; line-height: 1.6; color: var(--tv-ink-500); }
.tv-pied__bas p:first-child { max-width: 62em; }
.tv-pied__bas a { color: var(--tv-ink-700); }

/* pages juridiques (pack de Muriel) : article lisible, imprimable */
.tv-entete__barre--simple { justify-content: space-between; flex-wrap: wrap; row-gap: 0; }
.tv-entete__retour { display: flex; flex-wrap: wrap; gap: 0 20px; }
.tv-entete__retour a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--tv-ink-700); text-decoration: none; }
.tv-entete__retour a:hover { color: var(--tv-green-700); text-decoration: underline; }
.tv-juridique { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.tv-juridique__article { max-width: 46em; }
.tv-juridique__titre { margin-top: 16px; }
.tv-juridique__date { margin-top: 12px; font-size: 14px; color: var(--tv-ink-500); }
.tv-alerte--brouillon { margin-top: 24px; background: var(--tv-warning-bg); border: 1px solid var(--tv-warning-border); color: var(--tv-ink-900); }
.tv-juridique__article h2 { margin-top: 40px; font-size: clamp(22px, 2vw, 26px); line-height: 1.25; }
.tv-juridique__article h2 + p { margin-top: 12px; }
.tv-juridique__article p { line-height: 1.7; text-wrap: pretty; }
.tv-juridique__article code { font-size: .92em; }
@media print {
  .tv-entete, .tv-evitement, .tv-pied { display: none !important; }
  body { background: #fff; color: #000; }
  .tv-juridique { padding: 0; }
  .tv-juridique__article { max-width: none; }
  .tv-juridique__article a::after { content: " (" attr(href) ")"; font-size: 90%; }
}
