/* eurekalead.com — feuille unique.
   Direction : un registre bien tenu. Encre bleu-noir, papier froid, un seul accent : le surligneur, réservé à « la ligne
   trouvée » (ligne type, choix cochés, focus). Une seule famille, Archivo, dont la largeur variable sert la hiérarchie :
   titres élargis, texte courant à largeur normale. Aucune police arrondie. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(/polices/archivo-var-latin.woff2) format('woff2');
}

:root {
  --encre: #13263f;
  --encre-2: #0c1a2d;
  --texte: #1c2733;
  --gris: #536073;
  --trait: #d4dbe4;
  --trait-fort: #aab6c4;
  --feuille: #f1f4f7;
  --papier: #ffffff;
  --surligne: #ffe14d;
  --surligne-pale: #fff4bf;
  --lien: #1d4f91;
  --erreur: #a3271f;
  --ok: #1f6b45;
  --large: 112.5%;
  --mesure: 68ch;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--texte);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.58;
  font-kerning: normal;
  font-variant-numeric: lining-nums;
}
img, svg { max-width: 100%; }
a { color: var(--lien); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--surligne); outline-offset: 2px; box-shadow: 0 0 0 5px var(--encre); border-radius: 2px; }

h1, h2, h3 { color: var(--encre); font-stretch: var(--large); line-height: 1.12; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.15rem + 3.4vw, 3.45rem); font-weight: 730; letter-spacing: -.018em; line-height: 1.04; }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.1vw, 1.9rem); font-weight: 690; letter-spacing: -.01em; }
h3 { font-size: 1.16rem; font-weight: 660; }
p, ul, ol, dl { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }

.cadre { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -60px; background: var(--encre); color: #fff; padding: .6rem 1rem; z-index: 10; }
.evitement:focus { top: 12px; }

/* ---------- en-tête ---------- */
.entete { border-bottom: 1px solid var(--trait); background: var(--papier); }
.entete-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.marque { display: inline-flex; align-items: center; gap: 10px; color: var(--encre); text-decoration: none; font-stretch: 118%; font-weight: 760; font-size: 1.16rem; letter-spacing: -.01em; white-space: nowrap; }
.marque-signe { width: 28px; height: 28px; flex: none; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a { color: var(--texte); text-decoration: none; font-weight: 540; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--encre); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .35em; }
.bouton-entete { margin-left: auto; padding: .55rem .9rem; font-size: .95rem; }

/* ---------- boutons ---------- */
.bouton { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .72rem 1.15rem; border: 1.5px solid var(--encre); border-radius: 4px;
  background: var(--encre); color: #fff; font: inherit; font-weight: 650; font-stretch: 104%; line-height: 1.2; text-decoration: none; cursor: pointer; }
.bouton:hover { background: var(--encre-2); border-color: var(--encre-2); }
.bouton-second { background: transparent; color: var(--encre); }
.bouton-second:hover { background: var(--feuille); color: var(--encre); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- héros ---------- */
.heros { padding: 52px 0 40px; border-bottom: 1px solid var(--trait); }
.heros-grille { display: grid; gap: 28px 64px; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); grid-template-areas: "titre form" "suite form" "familles form"; align-items: start; }
.heros-suite { grid-area: suite; font-size: 1.06rem; max-width: 58ch; margin: 0; }
.heros-titre .chapo { margin-bottom: 0; }
.heros-titre { grid-area: titre; }
.heros-titre h1 { max-width: 15ch; }
.heros-form { grid-area: form; }
.heros-familles { grid-area: familles; }
.chapo { font-size: 1.14rem; color: var(--texte); max-width: 58ch; }
.familles { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--encre); }
.familles li { margin: 0; border-bottom: 1px solid var(--trait); }
.familles a { display: grid; grid-template-columns: 9.5rem 1fr; gap: 4px 20px; padding: 16px 0; text-decoration: none; color: var(--texte); }
.familles a:hover .famille-nom { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.famille-nom { font-stretch: 120%; font-weight: 740; font-size: 1.32rem; color: var(--encre); line-height: 1.2; }
.famille-texte { color: var(--gris); }

/* ---------- formulaire ---------- */
.formulaire { background: var(--papier); border: 1px solid var(--trait-fort); border-top: 4px solid var(--encre); border-radius: 4px; padding: 20px 22px 18px; }
.formulaire-titre { font-stretch: var(--large); font-weight: 720; font-size: 1.3rem; color: var(--encre); margin: 0; }
.formulaire-sous { color: var(--gris); font-size: .95rem; margin: .15rem 0 1rem; }
.formulaire fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.champ { display: grid; gap: 5px; margin: 0 0 14px; font-weight: 600; font-size: .96rem; color: var(--encre); }
.champ-libelle { font-weight: 600; }
.facultatif { font-weight: 400; color: var(--gris); }
.champ input:not([type=radio]), .champ select, .champ textarea { width: 100%; font: inherit; font-size: 16px; font-weight: 400; color: var(--texte); background: #fff; border: 1.5px solid #aeb9c6; border-radius: 4px; padding: .62rem .72rem; }
.champ textarea { resize: vertical; min-height: 5.2rem; line-height: 1.45; }
.champ input:not([type=radio]):focus, .champ select:focus, .champ textarea:focus { border-color: var(--encre); outline: 3px solid var(--surligne); outline-offset: 0; box-shadow: none; }
.champ [aria-invalid="true"] { border-color: var(--erreur); }
.champs-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.choix-groupe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.colonne-form .choix-groupe, .colonne-form .champs-ligne { grid-template-columns: 1fr; }
.colonne-form .choix b { display: inline; margin-right: .3rem; }
.choix { position: relative; display: block; border: 1.5px solid #aeb9c6; border-radius: 4px; padding: .55rem .6rem .55rem 2rem; font-weight: 400; font-size: .92rem; line-height: 1.3; cursor: pointer; color: var(--texte); }
.choix input { position: absolute; left: .6rem; top: .72rem; margin: 0; accent-color: var(--encre); }
.choix b { display: block; font-weight: 700; font-stretch: var(--large); color: var(--encre); }
.choix:has(input:checked) { border-color: var(--encre); background: var(--surligne-pale); }
.choix:has(input:focus-visible) { outline: 3px solid var(--surligne); outline-offset: 1px; }
.mention { font-size: .86rem; color: var(--gris); margin: 4px 0 14px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.statut { margin: 10px 0 0; font-weight: 600; min-height: 1em; }
.statut:empty { margin: 0; }
.statut.ko { color: var(--erreur); }
.statut.ok { color: var(--ok); }
.formulaire [hidden] { display: none !important; }

/* ---------- bandes ---------- */
.bande { padding: 64px 0; }
.bande-claire { background: var(--feuille); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.intro { max-width: 62ch; color: var(--texte); font-size: 1.08rem; }

/* La ligne type : le seul moment animé du site, un passage de surligneur à l'arrivée. */
.ligne-type { margin: 28px 0 0; }
.ligne-defile { overflow-x: auto; border-top: 2px solid var(--encre); border-bottom: 2px solid var(--encre); background: #fff; }
.ligne-type table { width: 100%; border-collapse: collapse; min-width: 760px; table-layout: fixed; }
.ligne-type th { text-align: left; font-weight: 700; font-stretch: var(--large); color: var(--encre); padding: 12px 14px 10px; border-bottom: 1px solid var(--trait); border-right: 1px solid var(--trait); font-size: 1rem; }
.ligne-type td { vertical-align: top; padding: 16px 14px 18px; border-right: 1px solid var(--trait); font-size: .98rem; line-height: 1.6; }
.ligne-type th:last-child, .ligne-type td:last-child { border-right: 0; }
.surligne { background-image: linear-gradient(transparent 14%, var(--surligne) 14%, var(--surligne) 90%, transparent 90%); background-repeat: no-repeat; background-size: 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .12em; }
.ligne-type figcaption { color: var(--gris); font-size: .94rem; margin-top: 10px; }
/* Animation déclenchée quand la ligne entre à l'écran (classe posée par js/essai.js) ; sans JavaScript, la ligne est surlignée d'emblée. */
@media (prefers-reduced-motion: no-preference) {
  .anime .surligne { background-size: 0% 100%; }
  .anime .ligne-type.vue .surligne { animation: surligner .45s cubic-bezier(.3,.7,.3,1) forwards; }
  .anime .ligne-type.vue td:nth-child(2) .surligne { animation-delay: .12s; } .anime .ligne-type.vue td:nth-child(3) .surligne { animation-delay: .24s; }
  .anime .ligne-type.vue td:nth-child(4) .surligne { animation-delay: .36s; } .anime .ligne-type.vue td:nth-child(5) .surligne { animation-delay: .48s; }
  .anime .ligne-type.vue td:nth-child(6) .surligne { animation-delay: .6s; }
}
@keyframes surligner { to { background-size: 100% 100%; } }

/* Déroulé de l'essai : une vraie séquence, d'où les jours numérotés. */
.deroule { list-style: none; padding: 0; margin: 26px 0 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--encre); }
.deroule li { margin: 0; padding: 18px 22px 6px 0; position: relative; }
.deroule li + li { padding-left: 22px; border-left: 1px solid var(--trait); }
.jour { font-stretch: 120%; font-weight: 760; font-size: 1.05rem; color: var(--encre); margin: 0 0 .3rem; }
.deroule h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.deroule p:last-child { color: var(--gris); }
.conditions { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; color: var(--texte); font-size: .98rem; }
.conditions li { margin: 0; padding-left: 16px; position: relative; }
.conditions li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--encre); }

/* Preuve */
.preuve-chiffre { font-size: 1.2rem; max-width: 46ch; color: var(--encre); font-weight: 520; }
.preuve-chiffre span { display: block; font-stretch: 122%; font-weight: 760; font-size: clamp(2.6rem, 2rem + 2.6vw, 3.8rem); line-height: 1; letter-spacing: -.02em; margin-bottom: .2rem; font-variant-numeric: tabular-nums; }

/* Tableaux */
.tableau { overflow-x: auto; margin: 0 0 1.4em; }
.tableau table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.tableau caption { text-align: left; font-weight: 650; color: var(--encre); padding-bottom: 8px; }
.tableau th, .tableau td { text-align: left; vertical-align: top; padding: .62rem .8rem .62rem 0; border-bottom: 1px solid var(--trait); }
.tableau thead th { color: var(--gris); font-weight: 650; border-bottom: 2px solid var(--encre); font-size: .93rem; }
.tableau tbody th { color: var(--encre); font-weight: 640; width: 30%; }

/* Index des secteurs */
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin-top: 24px; }
.deux-colonnes h3 { margin-top: 1.2rem; }
.index-secteurs { list-style: none; padding: 0; margin: 0 0 1.4rem; border-top: 2px solid var(--encre); }
.index-secteurs li { margin: 0; border-bottom: 1px solid var(--trait); }
.index-secteurs a { display: grid; gap: 2px; padding: 12px 0; text-decoration: none; }
.index-nom { color: var(--encre); font-weight: 660; font-stretch: 106%; font-size: 1.06rem; }
.index-desc { color: var(--gris); font-size: .95rem; }
.index-secteurs a:hover .index-nom { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.index-secteurs.grand .index-nom { font-size: 1.16rem; }

/* Formules */
.formules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 24px 0; }
.formule { border-top: 4px solid var(--encre); background: var(--papier); padding: 16px 0 6px; display: flex; flex-direction: column; }
.bande-claire .formule { background: transparent; }
.formule h3 { margin-bottom: .2rem; }
.prix { margin: 0 0 .5rem; color: var(--encre); }
.montant { font-stretch: 120%; font-weight: 760; font-size: 2.05rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.unite { color: var(--gris); font-weight: 600; }
.formule-resume { font-weight: 600; }
.formule ul { color: var(--gris); padding-left: 1.1em; font-size: .96rem; }
.formule-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }

/* Ce qu'on ne promet jamais */
.jamais { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 22px 0 18px; }
.jamais div { border-top: 1px solid var(--trait-fort); padding: 14px 0 6px; }
.jamais dt { font-weight: 680; color: var(--encre); font-stretch: 106%; }
.jamais dd { margin: .25rem 0 0; color: var(--gris); }

/* ---------- pages intérieures ---------- */
.fil { font-size: .9rem; color: var(--gris); padding: 18px 0 0; }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0; }
.fil li { margin: 0; }
.fil li + li::before { content: "/"; margin-right: 4px; color: var(--trait-fort); }
.fil a { color: var(--gris); }
.tete-page { padding: 26px 0 18px; max-width: 60rem; }
.tete-page h1 { max-width: 24ch; }
.famille-etiquette { display: inline-block; font-weight: 650; font-stretch: var(--large); color: var(--encre); background: var(--surligne-pale); border: 1px solid #ecd66b; border-radius: 3px; padding: .08rem .45rem; font-size: .88rem; margin: 0 0 .9rem; vertical-align: middle; }
h2 .famille-etiquette { margin: 0 0 0 .5rem; font-size: .8rem; }
.prix-ligne { color: var(--gris); font-weight: 560; margin-top: .6rem; }
.colonnes-page { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; padding-bottom: 40px; }
.colonnes-page .texte { max-width: var(--mesure); }
.colonnes-page .texte section { margin-bottom: 2.4rem; }
.colonne-form { position: sticky; top: 18px; }
.texte-large { max-width: 46rem; }
.texte-large section { margin-bottom: 2.4rem; }
.note { color: var(--gris); font-size: .95rem; }
.sources { list-style: none; padding: 0; border-top: 1px solid var(--trait-fort); }
.sources li { border-bottom: 1px solid var(--trait); padding: 12px 0 4px; margin: 0; }
.sources p { margin: 0 0 .45rem; }
.source-nom { font-weight: 640; }
.source-editeur { color: var(--gris); font-weight: 400; font-size: .92rem; margin-left: .3rem; }
.source-limite { color: var(--gris); font-size: .95rem; }
.avis { background: var(--feuille); border-left: 4px solid var(--surligne); padding: 18px 22px 8px; margin: 0 0 2.4rem; }
.avis h2 { font-size: 1.2rem; margin-bottom: .5rem; }
.signature { color: var(--gris); font-weight: 600; font-size: .95rem; }
.exemples-courts { padding-left: 0; list-style: none; }
.exemples-courts li { border-left: 2px solid var(--trait-fort); padding-left: 12px; margin-bottom: .6rem; }
.voisins { border-top: 2px solid var(--encre); padding: 22px 0 56px; }
.voisins h2 { font-size: 1.2rem; }
.voisins ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.voisins li { margin: 0; }
.encart-essai { border-top: 4px solid var(--encre); background: var(--feuille); padding: 20px 22px 8px; margin: 32px 0 56px; max-width: 46rem; }
.encart-titre { font-stretch: var(--large); font-weight: 720; font-size: 1.25rem; color: var(--encre); margin-bottom: .3rem; }
.bande-interne { margin: 44px 0; }
.faq details { border-bottom: 1px solid var(--trait); padding: 12px 0; max-width: 52rem; }
.faq summary { cursor: pointer; font-weight: 640; color: var(--encre); min-height: 28px; }
.faq details p { margin: .6rem 0 .2rem; color: var(--texte); }
.legal h2 { font-size: 1.22rem; margin-top: 1.8rem; }
.reponse { font-size: 1.15rem; border-left: 4px solid var(--encre); padding-left: 16px; }
.meta-article { color: var(--gris); font-size: .95rem; }
.article h2 { margin-top: 2rem; }
.encadre { background: var(--feuille); padding: 14px 18px 2px; margin: 0 0 1.2em; }

/* Page des 100 exemples */
.sommaire ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 30px; }
.sommaire li { margin: 0; }
.sommaire a { display: inline-block; border: 1px solid var(--trait-fort); border-radius: 3px; padding: .3rem .6rem; font-size: .93rem; text-decoration: none; color: var(--encre); }
.sommaire a:hover { border-color: var(--encre); }
.groupe-exemples { border-top: 2px solid var(--encre); padding-top: 22px; margin-bottom: 34px; scroll-margin-top: 12px; }
.exemples { padding-left: 2.1em; }
.exemples > li { margin-bottom: 1.6rem; padding-left: .3rem; scroll-margin-top: 12px; }
.exemples > li::marker { font-weight: 700; color: var(--encre); font-variant-numeric: tabular-nums; }
.exemples h3 { font-size: 1.06rem; font-weight: 640; font-stretch: 104%; margin-bottom: .5rem; line-height: 1.35; }
.gabarit { display: grid; grid-template-columns: 9.5rem 1fr; gap: 0; margin: 0 0 .5rem; font-size: .95rem; }
.gabarit div { display: contents; }
.gabarit dt { color: var(--gris); font-weight: 600; padding: 3px 0; border-top: 1px solid var(--trait); }
.gabarit dd { margin: 0; padding: 3px 0; border-top: 1px solid var(--trait); }
.demander { margin: .3rem 0 0; font-weight: 600; }
.vers-secteur { font-weight: 600; }

/* ---------- pied ---------- */
.pied { background: var(--encre); color: #d6dfea; padding: 48px 0 28px; font-size: .96rem; }
.pied a { color: #fff; }
.pied-grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.pied ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.pied li { margin-bottom: .4rem; }
.pied-marque { display: flex; align-items: center; gap: 10px; color: #fff; font-stretch: 118%; font-weight: 760; font-size: 1.15rem; }
.pied-marque .marque-signe { color: #fff; }
.pied-titre { color: #fff; font-weight: 680; font-stretch: var(--large); margin-bottom: .5rem; }
.avertissement { border-top: 1px solid rgba(255,255,255,.18); margin-top: 26px; padding-top: 18px; color: #c4d0de; font-size: .9rem; max-width: 80ch; }
.vendeur { color: #9fb0c4; font-size: .86rem; }

/* ---------- petits écrans ---------- */
@media (max-width: 1000px) {
  .formules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .colonnes-page { grid-template-columns: 1fr; gap: 10px; }
  .colonne-form { position: static; max-width: 34rem; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .heros { padding: 22px 0 30px; }
  .heros-grille { grid-template-columns: 1fr; grid-template-areas: "titre" "form" "suite" "familles"; gap: 18px; }
  .heros-titre .chapo { font-size: 1.02rem; margin-bottom: 0; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; }
  .entete-in { flex-wrap: wrap; gap: 0 16px; padding-top: 8px; }
  .nav ul { gap: 18px; padding: 6px 0 10px; white-space: nowrap; }
  .deroule { grid-template-columns: 1fr; }
  .deroule li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--trait); }
  .deux-colonnes, .jamais { grid-template-columns: 1fr; }
  .bande { padding: 44px 0; }
}
@media (max-width: 640px) {
  .cadre { padding: 0 16px; }
  .entete-in { min-height: 58px; }
  .bouton-entete { padding: .45rem .7rem; font-size: .9rem; min-height: 40px; }
  .familles a { grid-template-columns: 1fr; }
  .formules { grid-template-columns: 1fr; }
  .champs-ligne { grid-template-columns: 1fr; }
  .choix-groupe { grid-template-columns: 1fr; }
  .choix { padding-top: .5rem; padding-bottom: .5rem; }
  .choix b { display: inline; margin-right: .3rem; }
  .formulaire { padding: 16px 16px 14px; }
  .ligne-type table { min-width: 0; table-layout: auto; }
  .ligne-type thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ligne-type tr, .ligne-type td { display: block; }
  .ligne-type td { border-right: 0; border-bottom: 1px solid var(--trait); padding: 10px 2px 12px; }
  .ligne-type td::before { content: attr(data-col); display: block; font-weight: 700; font-stretch: var(--large); color: var(--encre); margin-bottom: 2px; }
  .ligne-type td:last-child { border-bottom: 0; }
  .gabarit { grid-template-columns: 1fr; }
  .gabarit dt { border-top: 0; padding-bottom: 0; }
  .gabarit dd { border-top: 0; padding-top: 0; padding-bottom: 6px; }
  .pied-grille { grid-template-columns: 1fr; }
  .tableau tbody th { width: auto; }
}
@media (max-width: 400px) {
  .marque { font-size: 1.02rem; }
  .marque-signe { width: 24px; height: 24px; }
}
@media print {
  .entete, .pied, .formulaire, .colonne-form, .encart-essai { display: none; }
}
