/*
 * L’accueil (24.10.2026). Les jetons de colab.css (couleurs, spectre, polices),
 * et des classes à préfixe « v- » pour ne rien emprunter par erreur aux autres pages.
 * Deux couleurs de côté, à poids égal : la marque en bleu nuit, le créateur en violet.
 */
body[data-page="accueil"] { --marques: #2b3674; --createurs: #4318ff; }
body[data-page="accueil"] main section { padding: 72px 0; }
body[data-page="accueil"] main h2 { font: 700 clamp(28px, 4vw, 44px)/1.1 'Poppins', sans-serif; letter-spacing: -0.02em; margin: 10px 0 18px; text-wrap: balance; }

/* ── 1. Ouverture ─────────────────────────────────────────────────────── */
.v-ouverture { padding-top: 56px !important; text-align: center; }
.v-ouverture .enveloppe { display: grid; justify-items: center; gap: 22px; }
.v-titre { font: 700 clamp(30px, 4.6vw, 56px)/1.08 'Poppins', sans-serif; letter-spacing: -0.025em; margin: 0; max-width: 20ch; text-wrap: balance; }
.v-titre em { font-style: normal; background: var(--spectre); -webkit-background-clip: text; background-clip: text; color: transparent; }

.v-compteur { width: min(100%, 720px); display: grid; gap: 14px; }
/* La tuile du compteur (25.10.2026) : carte sombre, phrase, cadran de balance, chiffres qui tombent
   et se posent dans la lueur. Les objets sont placés par assets/accueil.js. */
.v-tuile { position: relative; width: 100%; aspect-ratio: 1 / 0.68; border-radius: 9% / 11%; overflow: hidden; isolation: isolate; }
.v-tuile::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 6; }
.v-tuile.sombre { background: radial-gradient(90% 52% at 50% 112%, #b8f7ff 0%, #04befe 14%, #4318ff 40%, rgb(67 24 255 / 0.35) 62%, transparent 80%), linear-gradient(180deg, #1b1b30 0%, #0b0b16 55%, #07070d 100%); box-shadow: 0 50px 90px -40px rgb(67 24 255 / 0.75); }
.v-tuile.sombre::after { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.10), inset 0 1.5px 0 rgb(255 255 255 / 0.2); }
.v-tuile.claire { background: radial-gradient(85% 42% at 50% 116%, rgb(4 190 254 / 0.30) 0%, rgb(117 81 255 / 0.18) 45%, transparent 75%), linear-gradient(180deg, #ffffff 0%, #f6f6fb 100%); box-shadow: 0 40px 80px -40px rgb(43 54 116 / 0.35), 0 1px 3px rgb(43 54 116 / 0.08); }
.v-tuile.claire::after { box-shadow: inset 0 0 0 1px rgb(43 54 116 / 0.06); }
.v-tuile-phrase { position: absolute; top: 9%; left: 8%; right: 8%; margin: 0; text-align: center; font-weight: 300; line-height: 1.22; letter-spacing: -0.01em; z-index: 2; text-wrap: balance; }
.v-tuile-phrase b { font-weight: 600; }
.sombre .v-tuile-phrase { color: rgb(255 255 255 / 0.58); } .sombre .v-tuile-phrase b { color: #fff; }
.claire .v-tuile-phrase { color: rgb(43 54 116 / 0.5); } .claire .v-tuile-phrase b { color: var(--texte); }
.v-cadran { position: absolute; left: 0; right: 0; top: 31%; height: 26%; z-index: 1; -webkit-mask: radial-gradient(78% 150% at 50% 0%, #000 70%, transparent 100%); mask: radial-gradient(78% 150% at 50% 0%, #000 70%, transparent 100%); }
.v-cadran svg { width: 100%; height: 100%; overflow: visible; }
.sombre .v-cadran line { stroke: rgb(255 255 255 / 0.3); } .sombre .v-cadran line.longue { stroke: rgb(255 255 255 / 0.6); } .sombre .v-cadran line.passee { stroke: #7cf3ff; }
.claire .v-cadran line { stroke: rgb(43 54 116 / 0.2); } .claire .v-cadran line.longue { stroke: rgb(43 54 116 / 0.42); } .claire .v-cadran line.passee { stroke: var(--violet); }
.sombre .v-aiguille-corps { fill: #fff; } .sombre .v-aiguille-pointe { fill: #7cf3ff; } .sombre .v-aiguille { filter: drop-shadow(0 0 7px rgb(124 243 255 / 0.95)); }
.claire .v-aiguille-corps { fill: var(--action); } .claire .v-aiguille-pointe { fill: var(--cyan); } .claire .v-aiguille { filter: drop-shadow(0 0 5px rgb(67 24 255 / 0.45)); }
.v-scene { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.v-objet { position: absolute; left: 0; top: 0; font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; will-change: transform, filter; -webkit-background-clip: text; background-clip: text; color: transparent; background-repeat: no-repeat; white-space: nowrap; }
.sombre .v-objet { background-image: linear-gradient(180deg, #ffffff 0%, #ffffff 76%, #e8fcff 84%, #a8ecff 91%, #8f9dff 96%, #7b5cff 100%); }
.claire .v-objet { background-image: linear-gradient(180deg, #2b3674 0%, #2b3674 74%, #4318ff 90%, #04befe 100%); }
.v-objet.signe { transition: opacity .4s; background-image: none !important; -webkit-background-clip: border-box; background-clip: border-box; }
.sombre .v-objet.signe { color: #9fe9ff; } .claire .v-objet.signe { color: var(--cyan); }
/* Le chiffre, pour les lecteurs d'écran (les objets qui tombent sont décoratifs). */
.v-lu { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; margin: 0; }
.v-detail { margin: 8px auto 0; max-width: 52ch; color: var(--discret); font-size: 15px; line-height: 1.5; }
.v-reseaux { display: flex; gap: 3px; height: 12px; margin: 22px 0 12px; border-radius: 999px; overflow: hidden; }
.v-reseaux span { flex-basis: 0; min-width: 6px; }
.v-reseaux-legende { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; font-size: 14px; }
.v-reseaux-legende li { display: inline-flex; align-items: center; gap: 7px; }
.v-reseaux-legende i { width: 10px; height: 10px; border-radius: 3px; }
.v-reseaux-legende b { font-variant-numeric: tabular-nums; }
.v-reseaux[hidden], .v-reseaux-legende[hidden] { display: none; }

.v-intro { max-width: 60ch; margin: 6px 0 0; font-size: 18px; line-height: 1.6; color: var(--texte); text-wrap: pretty; }

.v-portes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: min(100%, 860px); margin-top: 8px; }
.v-porte { display: grid; gap: 10px; align-content: start; text-align: left; padding: 24px 24px 22px; border-radius: 24px; text-decoration: none; color: #fff; position: relative; overflow: hidden; transition: transform .18s, box-shadow .18s; }
.v-porte.marques { background: linear-gradient(150deg, #2b3674, #1b2150); box-shadow: 0 24px 50px -26px rgb(43 54 116 / 0.8); }
.v-porte.createurs { background: linear-gradient(150deg, #4318ff, #7551ff 70%, #04befe); box-shadow: 0 24px 50px -26px rgb(67 24 255 / 0.8); }
.v-porte:hover { transform: translateY(-3px); }
.v-porte:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.v-porte-qui { font: 600 12px var(--mono); letter-spacing: 1.5px; text-transform: uppercase; opacity: 0.8; }
.v-porte b { font: 600 19px/1.35 'Poppins', sans-serif; }
.v-porte-action { font-weight: 700; margin-top: 4px; }
.v-porte-action::after { content: ' →'; transition: margin .18s; }
.v-porte:hover .v-porte-action::after { margin-left: 4px; }

/* ── 2. La boucle ─────────────────────────────────────────────────────── */
.v-boucle { text-align: center; }
.v-cycle { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; counter-reset: none; }
.v-cycle::before { content: ''; position: absolute; left: 12%; right: 12%; top: 27px; height: 2px; background: var(--spectre); opacity: 0.45; }
.v-cycle li { position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; padding: 0 6px; }
.v-num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font: 700 15px var(--mono); color: #fff; background: var(--spectre); background-size: 400% 100%; background-position: calc(var(--i) * 33%) 0; box-shadow: var(--lueur); }
.v-cycle b { font: 700 19px 'Poppins', sans-serif; }
.v-cycle p { margin: 0; color: var(--discret); line-height: 1.5; max-width: 26ch; }
.v-boucle-fin { margin: 30px auto 0; max-width: 54ch; font-weight: 600; }
.v-boucle-fin::before { content: '↺ '; color: var(--violet); }

.v-cercle-texte { margin: 34px auto 0; font: 700 clamp(22px, 2.8vw, 30px)/1.2 'Poppins', sans-serif; letter-spacing: -0.02em; text-wrap: balance; }
.v-cercle { position: relative; width: 240px; height: 240px; margin: 22px auto 0; display: grid; place-items: center; }
.v-cercle img { position: relative; width: 132px; height: auto; filter: drop-shadow(0 18px 30px rgb(67 24 255 / 0.35)); }
.v-orbite { position: absolute; inset: 0; border-radius: 50%; border: 2px dashed rgb(117 81 255 / 0.35); animation: v-tourne 24s linear infinite; }
.v-orbite i { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; transform: rotate(var(--a)) translateY(-120px); box-shadow: 0 0 0 4px var(--fond); }
.v-orbite i:nth-child(1) { background: #4318ff; }
.v-orbite i:nth-child(2) { background: #5b3cff; }
.v-orbite i:nth-child(3) { background: #3f7dff; }
.v-orbite i:nth-child(4) { background: #04befe; }
@keyframes v-tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .v-orbite { animation: none; } }

/* ── 3. Les deux côtés ────────────────────────────────────────────────── */
.v-cotes-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.v-cote { display: flex; flex-direction: column; gap: 6px; padding: 32px; border-radius: 28px; background: var(--verre); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--ombre); border-top: 5px solid; }
.v-cote.marques { border-color: var(--marques); }
.v-cote.createurs { border-color: var(--createurs); }
.v-cote h2 { font-size: clamp(24px, 2.6vw, 32px) !important; }
.v-cote .etiquette { align-self: flex-start; }
.v-cote.marques .etiquette { color: var(--marques); }
/* Le problème et notre réponse : deux lignes qui posent le côté avant ses avantages. */
.v-pr { margin: 0 0 20px; display: grid; gap: 10px; }
.v-pr div { padding: 12px 14px; border-radius: 14px; }
.v-pr .probleme { background: rgb(238 93 80 / 0.07); }
.v-pr .reponse { background: rgb(5 205 153 / 0.09); }
.v-pr dt { font: 600 11px var(--mono); letter-spacing: 1.2px; text-transform: uppercase; color: var(--discret); margin-bottom: 3px; }
.v-pr dd { margin: 0; line-height: 1.5; color: var(--texte); font-weight: 500; }
.v-pour-qui { margin: 0 0 18px; padding-top: 14px; border-top: 1px dashed var(--bordure); color: var(--discret); line-height: 1.5; font-size: 14.5px; }
.v-pour-qui b { color: var(--texte); margin-right: 4px; }
.v-benefices { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; flex: 1; }
.v-benefices li { position: relative; padding-left: 30px; line-height: 1.55; color: var(--discret); }
.v-benefices li b { color: var(--texte); }
.v-benefices li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--createurs); }
.v-cote.marques .v-benefices li::before { background: var(--marques); }
.v-cote.marques .bouton { background: var(--marques); box-shadow: 0 10px 30px -8px rgb(43 54 116 / 0.55); }
.v-cote .bouton { align-self: flex-start; }
.v-cote .note { margin: 10px 0 0; }

/* ── 4. La confiance ──────────────────────────────────────────────────── */
.v-confiance { text-align: center; }
.v-sous { max-width: 60ch; margin: 0 auto; font-size: 17px; line-height: 1.6; color: var(--discret); }
.v-preuves { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; text-align: left; }
.v-preuve { padding: 24px; border-radius: 22px; background: rgb(255 255 255 / 0.7); border: 1px solid var(--bordure-verre); }
.v-preuve b { font: 700 18px 'Poppins', sans-serif; }
.v-preuve p { margin: 8px 0 0; color: var(--discret); line-height: 1.55; }

/* ── 5. La frise ──────────────────────────────────────────────────────── */
.v-frise { margin-top: 26px; display: grid; gap: 10px; }
.v-frise-tete, .v-frise-ligne { display: grid; grid-template-columns: 200px 1fr 1fr; gap: 10px; align-items: stretch; }
.v-frise-tete span { font: 600 12px var(--mono); letter-spacing: 1.5px; text-transform: uppercase; padding: 0 18px; }
.v-frise-tete .marques { color: var(--marques); }
.v-frise-tete .createurs { color: var(--createurs); }
.v-frise-ligne b { display: flex; align-items: center; gap: 12px; font: 700 17px 'Poppins', sans-serif; }
.v-frise-ligne b span { font: 600 13px var(--mono); color: var(--violet); }
.v-frise-ligne p { margin: 0; padding: 16px 18px; border-radius: 16px; line-height: 1.5; background: rgb(255 255 255 / 0.72); border-left: 4px solid var(--marques); }
.v-frise-ligne p + p { border-left-color: var(--createurs); }

/* ── 6. La fin ────────────────────────────────────────────────────────── */
.v-fin { text-align: center; }
.v-chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 auto 40px; max-width: 860px; }
.v-chiffres div { padding: 22px 12px; border-radius: 20px; background: rgb(255 255 255 / 0.65); border: 1px solid var(--bordure-verre); }
.v-chiffres dd { margin: 0; order: -1; font: 800 clamp(26px, 3.4vw, 40px) 'Poppins', sans-serif; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; background: var(--spectre); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v-chiffres div { display: flex; flex-direction: column; gap: 4px; }
.v-chiffres dt { font: 600 11.5px var(--mono); letter-spacing: 1px; text-transform: uppercase; color: var(--discret); }
.v-fin-boutons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.v-fin-boutons .bouton:first-child { background: var(--marques); }

/* ── Téléphone ────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  body[data-page="accueil"] main section { padding: 48px 0; }
  .v-cycle { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .v-cycle::before { display: none; }
  .v-cotes-grille, .v-preuves { grid-template-columns: 1fr; }
  .v-frise-tete { display: none; }
  .v-frise-ligne { grid-template-columns: 1fr; gap: 6px; }
  .v-frise-ligne p::before { display: block; font: 600 11px var(--mono); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; color: var(--marques); content: attr(data-qui); }
  .v-frise-ligne p + p::before { color: var(--createurs); }
  .v-frise-ligne + .v-frise-ligne { margin-top: 12px; }
  .v-chiffres { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  /* « Publikationssprachen » : un mot allemand plus large qu'une colonne de téléphone. */
  .v-chiffres dt { hyphens: auto; overflow-wrap: anywhere; }
  .v-chiffres div { padding: 16px 6px; }
}
@media (max-width: 600px) {
  .v-portes { grid-template-columns: 1fr; }
  .v-tuile { aspect-ratio: 1 / 0.95; border-radius: 12% / 13%; }
  .v-cote { padding: 24px 20px; }
  .v-cycle { grid-template-columns: 1fr; }
  .v-intro { font-size: 16px; }
  .v-cote .bouton, .v-fin-boutons .bouton { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .v-porte, .v-porte-action::after { transition: none; } .v-porte:hover { transform: none; } }
