/* Enseigne & TLPE : feuille de style unique, sans police externe.
   Style « Flat » (aplats, accent orange, ni ombre ni dégradé) ; formulaire et page annonceurs
   selon les principes « Levels » (une action claire, peu de friction, réassurance). */
:root {
  --fond: #ffffff;
  --surface: #f9fafb;
  --texte: #111827;
  --texte-doux: #374151;
  --discret: #4b5563;
  --bord: #e5e7eb;
  --bord-champ: #d1d5db;
  --noir: #111827;
  --accent: #f2673c;          /* aplats, boutons (texte foncé dessus) */
  --accent-survol: #e0531f;
  --accent-pale: #fff1eb;
  --lien: #b8431b;            /* accent assombri : contraste 5,4:1 sur blanc */
  --lien-survol: #8a2f10;
  --lien-sur-noir: #ffb59c;
  --manque-fond: #fef3c7;
  --manque-texte: #92400e;
  --succes: #166534;
  --police: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --rayon: 4px;
  --rayon-grand: 8px;
}
* { box-sizing: border-box; }
body { margin: 0; font: 1.0625rem/1.65 var(--police); color: var(--texte); background: var(--fond); }

/* --- Structure ------------------------------------------------------------------------ */
.evitement { position: absolute; left: -9999px; }
.evitement:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem; z-index: 10; }
main, .pied, .ariane { max-width: 48rem; margin: 0 auto; padding: 1rem 1.25rem; }
.entete {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between;
  background: var(--noir); padding: .75rem max(1.25rem, calc((100% - 45.5rem) / 2));
}
.entete ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.entete nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: .9375rem; display: inline-block; padding: .4rem 0; }
.entete nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.entete nav li:last-child a { color: var(--accent); }
.marque { font-weight: 800; font-size: 1.125rem; color: var(--accent); text-decoration: none; letter-spacing: -.01em; }
.ariane { padding-bottom: 0; font-size: .875rem; color: var(--discret); }
.ariane ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.ariane li + li::before { content: "›"; margin: 0 .5rem; }
.pied { color: var(--discret); font-size: .875rem; margin-top: 3rem; border-top: 4px solid var(--accent); }
.pied a { color: var(--discret); }

/* --- Texte ---------------------------------------------------------------------------- */
a { color: var(--lien); text-underline-offset: 2px; }
a:hover { color: var(--lien-survol); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, .bouton:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.02em; color: var(--texte); }
h1 { font-size: clamp(1.75rem, 5vw, 2.25rem); line-height: 1.15; margin: 1.25rem 0 1rem; }
h2 { font-size: 1.5rem; line-height: 1.25; margin: 2.75rem 0 1rem; }
h3 { font-size: 1.1875rem; margin: 1.75rem 0 .5rem; }
h4 { font-size: 1.0625rem; margin: 1.25rem 0 .25rem; }
.chapeau { font-size: 1.1875rem; color: var(--texte-doux); }
.source, .source-bloc, .aide { color: var(--discret); font-size: .8125rem; }
.source a, .source-bloc a { color: var(--discret); }
.aide { display: block; margin-top: .25rem; }
.manque { background: var(--manque-fond); color: var(--manque-texte); padding: .6rem .9rem; border-radius: var(--rayon); border-left: 4px solid var(--manque-texte); }
.alerte { color: var(--manque-texte); }
.avertissement { font-weight: 700; }
.a-confirmer { background: var(--manque-fond); color: var(--manque-texte); padding: 0 .25rem; }

/* --- Blocs de la page commune --------------------------------------------------------- */
.bref { background: var(--accent-pale); border-left: 6px solid var(--accent); border-radius: 0 var(--rayon-grand) var(--rayon-grand) 0; padding: 1.25rem 1.5rem; margin: 2rem 0; }
.bref h2 { margin-top: 0; font-size: 1.25rem; }
.bref dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.25rem; }
.bref dt { font-weight: 700; }
.bref dd { margin: 0; }
.rappel { background: var(--noir); color: #fff; border-radius: var(--rayon-grand); padding: 1rem 1.25rem; margin: 2rem 0; }
.rappel p { margin: 0; }
.rappel a { color: var(--lien-sur-noir); font-weight: 700; }
.zone { display: inline-block; font-size: .75rem; font-weight: 700; background: var(--accent); color: var(--noir); border-radius: var(--rayon); padding: .05rem .45rem; }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: .9375rem; }
caption { text-align: left; font-weight: 700; padding-bottom: .5rem; }
th, td { padding: .55rem .75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--bord); }
thead th { background: var(--noir); color: #fff; font-size: .8125rem; text-transform: uppercase; letter-spacing: .03em; }
tbody tr:nth-child(even) { background: var(--surface); }
td:last-child { font-variant-numeric: tabular-nums; font-weight: 600; }
.defile { overflow-x: auto; }
details { margin: 1rem 0; }
summary { cursor: pointer; color: var(--lien); font-weight: 600; }
.contacts { padding-left: 0; list-style: none; }
.contacts li { margin-bottom: 1rem; padding: 1rem 1.25rem; background: var(--surface); border-radius: var(--rayon-grand); }
.annonceur { margin: 2.5rem 0; border: 2px dashed var(--bord-champ); background: var(--surface); border-radius: var(--rayon-grand); padding: 1rem 1.25rem; }
.annonceur .etiquette { margin: 0 0 .25rem; font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em; color: var(--discret); font-weight: 700; }
.annonceur p:last-child { margin-bottom: 0; }
.liens ul { padding-left: 1.1rem; }

/* Sommaire collant des pages communes : reste visible en haut de l'écran pendant la lecture. */
.sommaire { position: sticky; top: 0; z-index: 5; background: #fff; border-bottom: 2px solid var(--bord); margin: 1.5rem -1.25rem 0; padding: .5rem 1.25rem; }
.sommaire ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.sommaire a { display: inline-block; white-space: nowrap; padding: .4rem .7rem; border-radius: 999px; background: var(--surface); color: var(--texte); font-weight: 600; font-size: .875rem; text-decoration: none; min-height: 2.25rem; }
.sommaire a:hover { background: var(--noir); color: #fff; }
.sommaire a.cta { background: var(--accent); color: var(--noir); }
.sommaire a.cta:hover { background: var(--accent-survol); }
main [id] { scroll-margin-top: 4.5rem; }

/* --- Formulaires ---------------------------------------------------------------------- */
.relation, .simulateur { margin: 2.5rem 0; background: var(--surface); border-radius: var(--rayon-grand); padding: 1.5rem; }
.relation { border-top: 6px solid var(--accent); }
.relation h2 { margin-top: 0; }
.simulateur h3 { margin-top: 0; font-size: 1.25rem; }
.promesse { list-style: none; padding: 0; margin: .5rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-weight: 600; font-size: .9375rem; }
.promesse li::before { content: "✓"; color: var(--succes); font-weight: 800; margin-right: .4rem; }
fieldset { border: 0; margin: 0 0 1.25rem; padding: 0; min-width: 0; }
legend { font-weight: 800; font-size: 1.0625rem; padding: 0; margin-bottom: .6rem; }
legend .etape { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--noir); color: #fff; font-size: .875rem; margin-right: .5rem; }
label, .question { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .9375rem; }
.question { margin-top: .5rem; }
.case label { display: inline; font-weight: 400; }
.case { display: flex; gap: .6rem; align-items: flex-start; }
.case input { margin-top: .3rem; width: 1.15rem; height: 1.15rem; accent-color: var(--accent); flex: none; }
.facultatif { font-weight: 400; color: var(--discret); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; padding: .6rem .75rem; min-height: 2.75rem;
  border: 2px solid var(--bord-champ); border-radius: var(--rayon); background: #fff; color: var(--texte);
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.choix { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.choix label { margin: 0; font-weight: 600; font-size: .9375rem; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix span { display: inline-block; padding: .55rem .9rem; min-height: 2.75rem; line-height: 1.6; border: 2px solid var(--bord-champ); border-radius: 999px; background: #fff; cursor: pointer; }
.choix input:checked + span { background: var(--noir); border-color: var(--noir); color: #fff; }
.choix input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.choix span:hover { border-color: var(--noir); }
.consentements { border-top: 1px solid var(--bord); padding-top: 1rem; margin-top: .5rem; }
button, .bouton {
  display: inline-block; font: inherit; font-weight: 800; color: var(--noir); background: var(--accent);
  border: 0; border-radius: var(--rayon); padding: .75rem 1.5rem; min-height: 3rem; cursor: pointer; text-decoration: none;
}
button:hover, .bouton:hover { background: var(--accent-survol); color: var(--noir); }
.bouton-large { width: 100%; font-size: 1.0625rem; }
.sous-bouton { font-size: .8125rem; color: var(--discret); text-align: center; margin-top: .5rem; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.destinataire { font-weight: 600; background: #fff; border-radius: var(--rayon); padding: .75rem 1rem; }
.rgpd { font-size: .8125rem; color: var(--discret); }
#simulateur-resultat ul { padding: 1rem 1rem 1rem 2rem; background: var(--accent-pale); border-radius: var(--rayon); }
[hidden] { display: none !important; }

/* --- Pages de conversion (/annonceurs/, /etre-rappele/) ------------------------------- */
.etapes { list-style: none; counter-reset: etape; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.etapes li { counter-increment: etape; background: var(--surface); border-radius: var(--rayon-grand); padding: 1rem; font-size: .9375rem; }
.etapes li::before { content: counter(etape); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent); color: var(--noir); font-weight: 800; margin-bottom: .5rem; }
.offre { background: var(--noir); color: #fff; border-radius: var(--rayon-grand); padding: 1.5rem; margin: 2rem 0; }
.offre h2 { color: #fff; margin-top: 0; }
.offre .prix { font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin: .5rem 0 .25rem; }
.offre .prix small { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.offre ul { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.offre li { padding: .3rem 0; }
.offre li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: .5rem; }
.offre a:not(.bouton) { color: var(--lien-sur-noir); }
.offre .sous-bouton { color: #d1d5db; text-align: left; }
.statut-libre { color: var(--succes); font-weight: 700; }
.faq dt { font-weight: 700; margin-top: 1rem; }
.faq dd { margin: .25rem 0 0; color: var(--texte-doux); }

@media (max-width: 40rem) {
  .deux, .etapes { grid-template-columns: 1fr; }
  /* Sur téléphone : une seule ligne qui défile, pour garder l'écran libre. */
  .sommaire ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
}
@media (max-width: 30rem) {
  .bref dl { grid-template-columns: 1fr; gap: .15rem; }
  .bref dd { margin-bottom: .6rem; }
  .relation, .simulateur, .offre { padding: 1.1rem; }
}
