/* AVYRA, page d'offre pour centres de pare-brise.
   Direction (Khaled, 26/11) : le code de la page de Lead Gold, aux couleurs d'AVYRA : fond bleu du logo (#0146a3) sur toute la page, logo clair bien posé en haut,
   titre centré en capitales avec un mot souligné et un mot en couleur, carte blanche pour le questionnaire.
   Palette mesurée sur le logo : bleu #0146a3, vert #40c17e. Vert = accent et bouton. Rouge = ce qui trie. Pas de jaune (refusé le 26/11).
   Deux familles : Plus Jakarta Sans + serif italique pour les titres de section. Aplats, ni dégradé ni halo. */
:root {
  --nuit: #04183a; --fond: #0146a3; --nuit-2: #013d91; --panneau: #0d55b8; --trait: #3b78d0;
  --bleu: #0146a3; --vert: #40c17e; --vert-clair: #78e3a8; --rouge: #ff6b5e; --rouge-fonce: #b3261e;
  --papier: #f7f9fc; --blanc: #fff; --encre: #0b1a33; --gris: #4f5b75; --ligne: #d5deee;
  --texte: #e6eefb; --texte-doux: #c7d7f2;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1); --col: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--fond); }
body { margin: 0; font: 400 1.0625rem/1.6 var(--sans); color: var(--texte); background: var(--fond); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: #fff; }
button { font: inherit; }
.wrap { width: min(var(--col), 100% - 40px); margin-inline: auto; }
.wrap.etroit { max-width: 820px; }
.aller-au-contenu { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--nuit); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.aller-au-contenu:focus { left: 8px; }
.piege { position: absolute; left: -9999px; height: 0; overflow: hidden; }
em { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--vert-clair); }

/* Haut de page : le logo clair, centré, grand, et rien d'autre (une seule action possible) */
.entete { display: flex; justify-content: center; padding: 30px 20px 6px; }
.entete img { width: clamp(104px, 14vw, 140px); height: auto; }

/* Boutons : plein vert pour l'action, blanc pour le reste */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 30px; border: 0; border-radius: 12px; background: var(--vert); color: var(--nuit); font-weight: 800; font-size: 1.05rem; text-decoration: none; cursor: pointer; transition: background 0.2s, transform 0.2s var(--ease); }
.btn:hover { background: #55d393; transform: translateY(-2px); }
.btn:focus-visible, .lien-bouton:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid #9cc4ff; outline-offset: 3px; }
.btn-clair { background: var(--blanc); color: var(--nuit); border: 1.5px solid var(--ligne); }
.btn-clair:hover { background: #eaf1fb; }
.btn-grand { min-height: 64px; padding: 18px 44px; font-size: 1.2rem; }
.lien-bouton { background: none; border: 0; color: var(--gris); font-weight: 600; text-decoration: underline; cursor: pointer; min-height: 44px; }

/* Apparition : entre par le bas, ne se rejoue jamais en remontant (consigne E11 du skill site-web) */
.js .apparait { opacity: 0.001; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); transition-delay: calc(var(--n, 0) * 80ms); }
.js .apparait.vu { opacity: 1; transform: none; }

.pied { padding: 34px 20px 46px; text-align: center; font-size: 0.9rem; color: var(--texte-doux); display: grid; gap: 6px; border-top: 1px solid var(--trait); }
.pied a { color: var(--texte-doux); }

/* Aperçu seulement : un fait à valider est surligné. Disparaît en mode --publier. */
.av { background: #ffe066; outline: 2px dashed #b38600; border-radius: 4px; padding: 0 3px; color: #000; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .apparait { opacity: 1; transform: none; }
}
