/* MadeByAura Création : direction artistique du 13/10/2026 (validée par Loan).
   Très sobre : fond blanc, texte presque noir, gris froid pour les textes
   secondaires, fines bordures, UNE seule couleur d'accent (le bleu), réservée
   aux boutons et au focus. Police Inter auto-hébergée (licence OFL, fichier
   /assets/fonts/LICENCE-Inter-OFL.txt), aucune requête vers un service de
   polices. Feuille commune à toutes les pages (jetons, en-tête, pied, boutons,
   formules, comparateur) ; fiches.css (pages intérieures) et accueil.css
   (accueil) s'appuient sur ces jetons. Verrou : tests/site-da-2026-10-13.test.js. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/inter-4.001-latin-var.woff2") format("woff2");
}

:root {
  --bg: #ffffff;
  --fg: #0b0c0e;
  --muted: #5a5f69;
  --line: #e6e8ec;
  --soft: #f5f6f8;
  --accent: #0059f1;
  --accent-hover: #004fd6;
  --accent-fg: #ffffff;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --r: 20px;
  --r-petit: 14px;
  --gouttiere: max(16px, 4vw);
  --largeur-site: 1120px;
  --entete: 60px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
img, video { max-width: 100%; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Lien d'évitement : visible seulement au clavier. */
.evitement { position: absolute; left: -999px; top: 8px; z-index: 60; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-fg); font-weight: 600; text-decoration: none; }
.evitement:focus { left: 12px; }

/* En-tête : collant, translucide, fin trait en dessous. */
.entete { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); padding-inline: var(--gouttiere); }
.entete-barre { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--entete); max-width: var(--largeur-site); margin-inline: auto; }
.marque { font-size: 18px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; color: var(--fg); }
.entete nav { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.entete nav a:not(.btn) { color: var(--muted); text-decoration: none; padding-block: 10px; }
.entete nav a:not(.btn):hover, .entete nav a[aria-current="page"]:not(.btn) { color: var(--fg); }
.menu-bouton { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; }
.menu-trait { display: block; width: 22px; height: 2px; background: var(--fg); border-radius: 2px; }

/* Boutons : pilule bleue (principal) ou gris clair (secondaire). */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding-inline: 26px; border: 0; border-radius: 999px; font: 600 16px/1.1 var(--font); text-decoration: none; text-align: center; cursor: pointer; }
.btn-principal { background: var(--accent); color: var(--accent-fg); }
.btn-principal:hover { background: var(--accent-hover); }
.btn-secondaire { background: var(--soft); color: var(--fg); border: 1px solid var(--line); }
.btn-secondaire:hover { border-color: #d3d7de; }
.btn-petit { min-height: 38px; padding-inline: 18px; font-size: 14px; }

/* Pied de page. */
.pied { border-top: 1px solid var(--line); margin-top: 80px; padding: 44px var(--gouttiere) 56px; color: var(--muted); font-size: 14px; }
.pied-grille { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; max-width: var(--largeur-site); margin-inline: auto; }
.pied-marque { display: block; color: var(--fg); font-weight: 700; }
.pied-credit { display: block; margin-top: 4px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pied nav a { text-decoration: none; }
.pied nav a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.pied-titre { margin: 0 0 8px; color: var(--fg); font-size: 13px; font-weight: 600; }
.pied-colonne { display: grid; align-content: start; gap: 4px; }

/* Formules : trois cartes (accueil et page des tarifs). */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.plan { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); }
.plan-avant { border-color: #d3d7de; box-shadow: 0 18px 50px rgba(11, 12, 14, .10); }
.plan h3 { margin: 0; font-size: 26px; letter-spacing: -.02em; line-height: 1.15; }
.plan-sous { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.plan-prix { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 0; font-variant-numeric: tabular-nums; }
.plan-prix b { font-size: 46px; font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.plan-prix s { color: var(--muted); font-size: 17px; }
.plan-lab { margin: -10px 0 0; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.plan ul { display: flex; flex-direction: column; gap: 11px; margin: 0; padding: 0; list-style: none; font-size: 16px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.plan li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230b0c0e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.plan-delai { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.plan-option { display: flex; flex-direction: column; gap: 6px; margin-top: auto; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-petit); background: var(--soft); }
.plan-option-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 10px; }
.plan-option strong { font-size: 15px; }
.plan-option-prix { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.plan-option-prix s { margin-left: 4px; color: var(--muted); font-weight: 500; }
.plan-option p { margin: 0; color: var(--muted); font-size: 14px; }
.plan .btn { width: 100%; }
/* 15/10/2026 (Loan) : les trois formules calées sur les mêmes lignes (prix, contenu, délai, garantie, liens, bouton) grâce à une sous-grille de dix lignes. */
@media (min-width: 901px) {
  @supports (grid-template-rows: subgrid) {
    .plans { row-gap: 18px; }
    .plan { display: grid; grid-template-rows: subgrid; grid-row: span 10; row-gap: 18px; align-content: start; }
  }
}
.plan-lien { margin-top: -4px; color: var(--accent); font-size: 15px; font-weight: 500; text-align: center; text-decoration: none; }
.plan-lien:hover { text-decoration: underline; text-underline-offset: 3px; }

/* « Comment ça se passe » en une phrase, sous les formules (accueil et /tarifs). */
.ac-deroule { max-width: 46em; margin: 34px auto 0; color: var(--muted); font-size: 17px; text-align: center; }
.ac-deroule b { color: var(--fg); font-weight: 600; }

/* Comparateur avant / après (glisser pour comparer). */
.cmp { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); }
.cmp img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cmp video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.cmp.cmp-anime video { opacity: 1; }
.cmp .cmp-gauche { clip-path: inset(0 calc(100% - var(--p, 50%)) 0 0); }
.cmp-tag { position: absolute; bottom: 14px; z-index: 2; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--fg); font-size: 12px; font-weight: 600; }
.cmp-tag-g { left: 14px; }
.cmp-tag-d { right: 14px; }
.cmp-ligne { position: absolute; top: 0; bottom: 0; left: var(--p, 50%); z-index: 2; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); pointer-events: none; }
.cmp-bouton { position: absolute; top: 50%; left: var(--p, 50%); z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); font-size: 15px; pointer-events: none; }
.cmp input { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }
.cmp-un { display: block; overflow: hidden; aspect-ratio: 16 / 10; border: 1px solid var(--line); border-radius: var(--r); background: var(--soft); }
.cmp-un img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.legende { margin-top: 12px; color: var(--muted); font-size: 14px; text-align: center; }

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .menu-bouton { display: inline-flex; }
  .entete nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gouttiere) 16px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .entete nav.ouvert { display: flex; }
  .entete nav a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .entete nav .btn { margin-top: 12px; }
}
@media (hover: none) { .btn-principal:hover { background: var(--accent); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto !important; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Offre de lancement au-dessus des trois formules (accueil et /tarifs, 15/10/2026) */
.bandeau-lancement { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; margin: 0 0 22px; padding: 18px 24px; border-radius: var(--r); background: var(--fg, #0b0c0e); color: #fff; }
.bandeau-lancement .bl-titre { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; }
.bandeau-lancement .bl-titre b { font-size: clamp(19px, 2vw, 24px); font-weight: 800; letter-spacing: -.01em; }
.bandeau-lancement .lancement-pastille { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 99px; background: #fff; color: #0b0c0e; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.bandeau-lancement .bl-texte { max-width: 62ch; margin: 0; color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.5; }
/* Badge flottant de la formule recommandée */
.plan { position: relative; }
.plan-badge { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); padding: 6px 14px; border-radius: 99px; background: var(--fg, #0b0c0e); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 6px 18px rgba(11, 12, 14, .18); z-index: 1; }
/* Places restantes au prix de lancement (5 par formule, Loan, 15/10/2026) */
.plan-places { display: block; width: fit-content; margin-top: 10px; padding: 5px 11px; border-radius: 99px; background: #fff1e6; color: #a2420f; font-size: 12.5px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.plan-places::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #e3641e; vertical-align: 1px; }
