/* ==========================================================================
   regularisation-fiscale-2027.fr, Alphard Law
   Feuille de style unique. Aucune dépendance hors Google Fonts.

   Système repris de redressement-sasu-ir.fr : fond crème, encre chaude,
   filets capillaires, ombres à anneau. Titrage en serif de labeur à graisse
   normale et interlignage serré ; étiquettes en monospace capitale ; accent
   corail du logo Alphard.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Jetons
   -------------------------------------------------------------------------- */
:root {
  /* Fonds */
  --creme: #fafaf8;
  --creme-2: #f4f3f0;
  --creme-3: #edecea;
  --blanc: #ffffff;

  /* Encre et gris chauds */
  --encre: #0f0f0e;
  --t1: #2a2a28;
  --t2: #4a4a47;
  --t3: #6a6a66;
  --t4: #8a8a85;

  /* Marine, pour les surfaces sombres */
  --marine: #101f3d;
  --marine-2: #0a1529;
  --marine-3: #1c3057;

  /* Corail, accent unique, repris du logo Alphard Law */
  --corail: #fb525a;
  --corail-fonce: #d8353d;
  --corail-bg: #fff1f1;

  /* Sémantique */
  --vert: #15803d;
  --vert-bg: #f0fdf4;
  --rouge: #c8251a;
  --rouge-bg: #fff1f0;
  --ambre: #92610a;
  --ambre-bg: #fdf8ec;

  /* Filets */
  --filet: rgba(15, 15, 14, .08);
  --filet-2: rgba(15, 15, 14, .14);
  --filet-clair-2: rgba(255, 255, 255, .22);

  /* Ombres : anneau d'un pixel plus diffusion très douce */
  --ombre-xs: 0 1px 2px rgba(15,15,14,.04), 0 0 0 1px rgba(15,15,14,.05);
  --ombre-sm: 0 2px 8px rgba(15,15,14,.04), 0 0 0 1px rgba(15,15,14,.05);
  --ombre-md: 0 8px 28px rgba(15,15,14,.08), 0 0 0 1px rgba(15,15,14,.06);
  --ombre-lg: 0 16px 48px rgba(15,15,14,.10), 0 0 0 1px rgba(15,15,14,.06);

  /* Typographie */
  --titre: 'Instrument Serif', 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --corps: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Géométrie */
  --r-xs: 8px;
  --r: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-pill: 40px;
  --max: 1240px;
  --max-texte: 70ch;
  --entete-h: 66px;

  /* Courbes */
  --sortie: cubic-bezier(.16, 1, .3, 1);
  --ressort: cubic-bezier(.22, 1, .36, 1);
}

/* --------------------------------------------------------------------------
   2. Réinitialisation
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete-h) + 2rem);
}

body {
  margin: 0;
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.68;
  color: var(--t1);
  background: var(--creme);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1;
}

img, svg { max-width: 100%; display: block; height: auto; }

/* Titrage : serif à graisse normale, interlignage serré. C'est le contraste
   entre la grande taille et la graisse légère qui donne l'élégance. */
h1, h2, h3 {
  font-family: var(--titre);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.005em;
  color: var(--encre);
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1.85rem + 2.9vw, 4.25rem); }
h2 { font-size: clamp(1.95rem, 1.55rem + 1.8vw, 3rem); }
h3 { font-size: clamp(1.3rem, 1.15rem + .7vw, 1.75rem); }

h4, h5 {
  font-family: var(--corps);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -.005em;
  color: var(--encre);
  margin: 0;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--corail-fonce); text-underline-offset: .2em; text-decoration-thickness: .5px; }
a:hover { color: var(--corail); }

ul, ol { margin: 0 0 1.15em; padding-left: 1.3em; }
li { margin-bottom: .45em; }

strong, b { font-weight: 600; color: var(--encre); }

:focus-visible {
  outline: 2px solid var(--corail);
  outline-offset: 2px;
  border-radius: 2px;
}

.saut-contenu {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--encre); color: #fff; padding: .85rem 1.25rem;
  font-size: .875rem; text-decoration: none; border-radius: 0 0 var(--r-xs) 0;
}
.saut-contenu:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Trame
   -------------------------------------------------------------------------- */
.conteneur { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.conteneur--etroit { max-width: 840px; }
@media (max-width: 640px) { .conteneur { padding: 0 1.25rem; } }

.section { padding: clamp(3.5rem, 7vw, 7rem) 0; position: relative; }
.section--serree { padding: clamp(2.5rem, 4.5vw, 4rem) 0; }
.section--filet { border-top: 1px solid var(--filet); }
.section--creme2 { background: var(--creme-2); }
.section--blanc { background: var(--blanc); border-block: 1px solid var(--filet); }
.section--sombre { background: var(--marine); color: rgba(255,255,255,.82); }
.section--sombre h1, .section--sombre h2, .section--sombre h3, .section--sombre h4 { color: #fff; }

/* Compteur de section : [ 01 ] en monospace, en tête de bloc */
.compte {
  font-family: var(--mono); font-size: .625rem; letter-spacing: .06em;
  color: var(--t4); display: block; margin-bottom: 2.25rem;
}
.section--sombre .compte { color: rgba(255,255,255,.42); }

/* Étiquette de section : monospace, capitales, très petite */
.oeil {
  display: inline-block;
  font-family: var(--mono); font-size: .625rem; font-weight: 500;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--corail-fonce); margin-bottom: 1.15rem;
}
.section--sombre .oeil { color: #ff9095; }

.tete { max-width: 34ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.tete--large { max-width: 46ch; }
.tete p {
  font-size: 1.02rem; color: var(--t3); margin-top: 1.1rem;
  max-width: 58ch; line-height: 1.7;
}
.section--sombre .tete p { color: rgba(255,255,255,.62); }

/* --------------------------------------------------------------------------
   4. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--corps); font-size: .875rem; font-weight: 500; line-height: 1.2;
  padding: .85rem 1.4rem; border-radius: var(--r-pill); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center; white-space: nowrap;
  transition: background .22s var(--sortie), border-color .22s var(--sortie),
              color .22s var(--sortie), transform .22s var(--ressort),
              box-shadow .22s var(--sortie);
}
.btn:active { transform: scale(.98); }
.btn svg { flex: none; width: 15px; height: 15px; }

.btn--encre { background: var(--encre); color: #fff; }
.btn--encre:hover { background: #26261f; color: #fff; }

.btn--corail { background: var(--corail); color: #fff; }
.btn--corail:hover { background: var(--corail-fonce); color: #fff; }

.btn--contour { background: transparent; color: var(--encre); border-color: var(--filet-2); }
.btn--contour:hover { background: var(--creme-2); border-color: var(--filet-2); color: var(--encre); }

.btn--blanc { background: #fff; color: var(--encre); box-shadow: var(--ombre-xs); }
.btn--blanc:hover { background: var(--creme); color: var(--encre); }

.btn--fantome { background: rgba(255,255,255,.07); color: #fff; border-color: var(--filet-clair-2); }
.btn--fantome:hover { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }

.btn--large { padding: 1.05rem 1.85rem; font-size: .95rem; }
.btn--bloc { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn[disabled]:active { transform: none; }

.groupe-btn { display: flex; flex-wrap: wrap; gap: .7rem; }

/* Lien fléché discret */
.lien-fleche {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .875rem; font-weight: 500; color: var(--encre); text-decoration: none;
}
.lien-fleche svg { width: 14px; height: 14px; transition: transform .25s var(--sortie); }
.lien-fleche:hover { color: var(--corail-fonce); }
.lien-fleche:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   5. Pastilles
   -------------------------------------------------------------------------- */
.pastille {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--mono); font-size: .625rem; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase;
  padding: .34rem .75rem; border-radius: var(--r-pill);
  background: var(--creme-2); color: var(--t2); border: 1px solid var(--filet);
}
.pastille--corail { background: var(--corail-bg); color: var(--corail-fonce); border-color: rgba(251,82,90,.18); }
.pastille--ambre { background: var(--ambre-bg); color: var(--ambre); border-color: rgba(146,97,10,.18); }
.pastille__point { width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }

.point-vif {
  width: 6px; height: 6px; border-radius: 50%; background: var(--corail); flex: none;
  box-shadow: 0 0 0 3px rgba(251,82,90,.16);
  animation: battement 2.6s ease-in-out infinite;
}
@keyframes battement {
  0%, 100% { box-shadow: 0 0 0 3px rgba(251,82,90,.16); }
  50%      { box-shadow: 0 0 0 6px rgba(251,82,90,.04); }
}

/* --------------------------------------------------------------------------
   6. En-tête
   -------------------------------------------------------------------------- */
.entete {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,248,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--filet);
}

.entete__barre {
  background: var(--marine); color: rgba(255,255,255,.6);
  font-size: .75rem;
}
.entete__barre .conteneur {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 34px; padding-block: .25rem;
}
.entete__barre-txt { font-family: var(--mono); font-size: .625rem; letter-spacing: .07em; text-transform: uppercase; }

.ligne-directe {
  display: inline-flex; align-items: center; gap: .5rem;
  color: #fff; text-decoration: none; white-space: nowrap;
  font-size: .8rem; font-weight: 500;
}
.ligne-directe:hover { color: #fff; }
.ligne-directe__lib {
  font-family: var(--mono); font-size: .625rem; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 400;
}
.ligne-directe__num { font-variant-numeric: tabular-nums; letter-spacing: .01em; }

.entete__principal .conteneur {
  display: flex; align-items: center; gap: 1.5rem; min-height: var(--entete-h);
}

.marque { display: flex; align-items: center; gap: .85rem; text-decoration: none; flex: none; }
.marque__logo { width: 118px; }
.marque__sep { width: 1px; height: 26px; background: var(--filet-2); }
.marque__texte { display: flex; flex-direction: column; }
.marque__nom {
  font-family: var(--corps); font-size: .82rem; font-weight: 500;
  color: var(--encre); letter-spacing: -.01em; line-height: 1.25;
}
.marque__nom span { color: var(--corail); }
.marque__bl {
  font-family: var(--mono); font-size: .58rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--t4); line-height: 1.3; margin-top: 2px;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: .15rem; }
.nav a {
  font-size: .875rem; font-weight: 400; color: var(--t2);
  text-decoration: none; padding: .5rem .75rem; border-radius: var(--r-xs);
  white-space: nowrap; transition: color .2s var(--sortie), background .2s var(--sortie);
}
.nav a:hover { background: var(--creme-2); color: var(--encre); }
.nav a[aria-current="page"] { color: var(--encre); font-weight: 500; }

.entete__actions { display: flex; align-items: center; gap: .5rem; flex: none; }
.btn--entete { font-size: .82rem; padding: .68rem 1.15rem; }

/* Repli sans JavaScript : la page d'attente n'a que des ancres internes, la
   navigation s'efface donc au profit du seul bouton d'action. */
@media (max-width: 900px) {
  .nav { display: none; }
  .entete__actions { margin-left: auto; }
  .marque__sep, .marque__bl { display: none; }
}
@media (max-width: 620px) {
  .entete__barre-txt { display: none; }
  .entete__barre .conteneur { justify-content: center; }
  .entete__principal .conteneur { gap: .75rem; }
  .marque { flex: 0 1 auto; min-width: 0; gap: .6rem; }
  .marque__texte { min-width: 0; }
  .marque__logo { width: 100px; }
  .marque__nom { font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .btn--entete { font-size: .76rem; padding: .6rem .95rem; }
}

/* --------------------------------------------------------------------------
   7. Héros
   -------------------------------------------------------------------------- */
.heros { padding: clamp(3rem, 6vw, 6rem) 0 clamp(2.5rem, 4vw, 4rem); position: relative; }
.heros__etiquettes { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.heros h1 { margin-bottom: 1.6rem; max-width: 18ch; }
.heros h1 em { font-style: italic; color: var(--corail-fonce); }
.heros__accroche {
  font-size: 1.02rem; color: var(--t2); max-width: 54ch;
  line-height: 1.72; margin-bottom: 1.1rem;
}
.heros__accroche strong { color: var(--encre); font-weight: 600; }
.heros__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   8. Réponse citable
   -------------------------------------------------------------------------- */
.en-bref {
  background: var(--blanc); border-radius: var(--r-md);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--ombre-sm); position: relative;
}
.en-bref__lib {
  display: block; font-family: var(--mono); font-size: .625rem; font-weight: 500;
  letter-spacing: .11em; text-transform: uppercase; color: var(--corail-fonce);
  margin-bottom: .9rem;
}
.en-bref p { font-size: 1.02rem; color: var(--t2); line-height: 1.74; }

/* Chronologie sobre du calendrier parlementaire */
.jalons { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .55rem; }
.jalons li {
  display: flex; gap: .85rem; align-items: baseline;
  font-size: .89rem; color: var(--t3); line-height: 1.6; margin: 0;
}
.jalons b {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .04em;
  color: var(--t4); font-weight: 500; flex: none; min-width: 9.5ch;
  text-transform: uppercase;
}
.jalons li[data-etat="fait"] b { color: var(--corail-fonce); }

/* --------------------------------------------------------------------------
   9. Compteurs de preuve
   -------------------------------------------------------------------------- */
.compteurs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px; background: var(--filet); border: 1px solid var(--filet); border-radius: var(--r-md);
  overflow: hidden;
}
.compteur { background: var(--creme); padding: clamp(1.4rem, 3vw, 2.1rem); }
.section--blanc .compteur { background: var(--blanc); }
.compteur__val {
  font-family: var(--titre); font-size: clamp(2rem, 1.55rem + 1.7vw, 2.85rem);
  line-height: 1; color: var(--encre); font-variant-numeric: tabular-nums;
  display: block; letter-spacing: -.01em;
}
.compteur__val i { font-style: normal; color: var(--corail); }
.compteur__lib { font-size: .85rem; color: var(--t3); margin-top: .85rem; line-height: 1.55; }

.source-note {
  font-size: .78rem; color: var(--t4); line-height: 1.6;
  margin: 1.4rem 0 0; max-width: 72ch;
}
.source-note b { font-weight: 500; color: var(--t3); }

/* --------------------------------------------------------------------------
   10. Cartes
   -------------------------------------------------------------------------- */
.grille { display: grid; gap: 1.25rem; }
.grille--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grille--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }

.carte {
  background: var(--blanc); border-radius: var(--r-md);
  padding: clamp(1.5rem, 3vw, 2.1rem); box-shadow: var(--ombre-sm);
  display: flex; flex-direction: column;
}
.section--blanc .carte { background: var(--creme); box-shadow: none; border: 1px solid var(--filet); }
.carte__num {
  font-family: var(--mono); font-size: .625rem; letter-spacing: .06em;
  color: var(--t4); margin-bottom: 1.35rem; display: block;
}
.carte h3 { margin-bottom: .7rem; font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); }
.carte p { font-size: .93rem; color: var(--t3); line-height: 1.68; }
.carte__pied { margin-top: auto; padding-top: 1.35rem; }

.carte-lien {
  display: block; text-decoration: none; color: inherit;
  transition: box-shadow .28s var(--sortie), transform .28s var(--sortie);
}
.carte-lien:hover { box-shadow: var(--ombre-md); transform: translateY(-2px); color: inherit; }

/* Repère et avertissement */
.repere {
  border-radius: var(--r-md); padding: 1.4rem 1.6rem; margin: 2rem 0;
  background: var(--creme-2); border: 1px solid var(--filet); font-size: .94rem;
}
.repere--attention { background: var(--ambre-bg); border-color: rgba(146,97,10,.16); }
.repere--attention .repere__t { color: var(--ambre); }
.repere__t {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--corps); font-size: .82rem; font-weight: 600;
  letter-spacing: -.005em; margin-bottom: .6rem; color: var(--encre);
}
.repere__t svg { width: 15px; height: 15px; flex: none; }
.repere p, .repere li { color: var(--t2); }
.repere p:last-child, .repere ul:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   11. Corps rédactionnel
   -------------------------------------------------------------------------- */
.page-tete { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-tete h1 { margin-bottom: 1.3rem; max-width: 20ch; }
.page-tete__accroche { font-size: 1.05rem; color: var(--t3); max-width: 60ch; line-height: 1.72; }

.fil {
  font-family: var(--mono); font-size: .625rem; letter-spacing: .06em;
  color: var(--t4); margin-bottom: 1.75rem; text-transform: uppercase;
}
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; }
.fil li { margin: 0; display: flex; align-items: center; gap: .45rem; }
.fil li + li::before { content: "/"; color: var(--filet-2); }
.fil a { color: var(--t4); text-decoration: none; }
.fil a:hover { color: var(--corail-fonce); }

.prose { max-width: min(var(--max-texte), 100%); min-width: 0; }
.prose > h2 { margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.15rem; max-width: 26ch; }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { margin: 2.25rem 0 .8rem; }
.prose p, .prose li { color: var(--t2); }
.prose > p:first-child { margin-top: 0; }
.prose dl { margin: 0 0 1.15em; }
.prose dt { font-weight: 600; color: var(--encre); margin-top: 1.1em; }
.prose dd { margin: .3em 0 0; color: var(--t2); }

/* --------------------------------------------------------------------------
   12. Capture d'adresse
   -------------------------------------------------------------------------- */
.alerte-bloc {
  background: var(--marine); color: rgba(255,255,255,.78);
  border-radius: var(--r-lg); padding: clamp(1.85rem, 4vw, 3.25rem);
  position: relative; overflow: hidden;
}
.alerte-bloc > * { position: relative; z-index: 1; }
.alerte-bloc h2, .alerte-bloc h3 { color: #fff; }
.alerte-bloc p { color: rgba(255,255,255,.62); }
.alerte-bloc .oeil { color: #ff9095; }
.alerte-bloc__grille {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
}
@media (max-width: 900px) { .alerte-bloc__grille { grid-template-columns: minmax(0, 1fr); } }

/* Trame décorative du bloc sombre */
.alerte-bloc::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 70% at 80% 10%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(80% 70% at 80% 10%, #000, transparent 72%);
}

.liste-atouts { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.liste-atouts li {
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: .89rem; color: rgba(255,255,255,.66); margin-bottom: .7rem; line-height: 1.6;
}
.liste-atouts svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: #6ee7b7; }

/* Formulaire */
.form-alerte { display: grid; gap: .8rem; }

.champ input[type="email"], .champ input[type="text"] {
  width: 100%; font: inherit; font-family: var(--corps); font-size: .9rem; color: var(--encre);
  background: #fff; border: 1px solid transparent; border-radius: var(--r);
  padding: .82rem .95rem; box-shadow: 0 0 0 1px rgba(15,15,14,.08);
  transition: box-shadow .2s var(--sortie);
}
.champ input:focus { outline: none; box-shadow: 0 0 0 1px var(--corail), 0 0 0 4px rgba(251,82,90,.14); }
.champ input::placeholder { color: var(--t4); }
.champ label {
  display: block; font-family: var(--mono); font-size: .6rem; font-weight: 500;
  letter-spacing: .09em; text-transform: uppercase; color: var(--t3);
  margin-bottom: .45rem;
}
.champ label i { font-style: normal; opacity: .6; }
.alerte-bloc .champ label { color: rgba(255,255,255,.5); }

.consentement {
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: .78rem; line-height: 1.55; color: rgba(255,255,255,.5);
}
.consentement input[type="checkbox"] {
  width: 15px; height: 15px; margin: 3px 0 0; flex: none; accent-color: var(--corail);
}
.consentement a { color: inherit; text-decoration: underline; text-decoration-color: currentColor; }

/* Repli affiché tant que le point d'entrée Brevo n'est pas branché. */
.form-repli {
  display: none; font-size: .84rem; line-height: 1.6;
  background: rgba(255,255,255,.07); border: 1px solid var(--filet-clair-2);
  border-radius: var(--r); padding: 1rem 1.15rem; color: rgba(255,255,255,.72);
  margin: 0;
}
.form-repli.est-visible { display: block; }
.form-repli a { color: #fff; }

/* Champ anti-robot : masqué à l'écran comme aux lecteurs d'écran. */
.nid-abeille {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--filet); margin-top: 2rem; }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.35rem .2rem; cursor: pointer; list-style: none;
  font-family: var(--corps); font-size: .98rem; font-weight: 500; color: var(--encre);
  line-height: 1.5; letter-spacing: -.005em;
  transition: color .2s var(--sortie);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--corail-fonce); }
.faq summary::after {
  content: ""; margin-left: auto; flex: none; width: 10px; height: 10px;
  margin-top: 7px; border-right: 1.5px solid var(--t4); border-bottom: 1.5px solid var(--t4);
  transform: rotate(45deg); transition: transform .3s var(--sortie);
}
.faq details[open] summary { color: var(--encre); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq__rep { padding: 0 2.5rem 1.6rem .2rem; }
.faq__rep p, .faq__rep li { font-size: .93rem; color: var(--t2); line-height: 1.7; }
.faq__rep p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   14. Ruban final
   -------------------------------------------------------------------------- */
.ruban-final { background: var(--marine); color: rgba(255,255,255,.72); position: relative; overflow: hidden; }
.ruban-final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(70% 80% at 50% 100%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(70% 80% at 50% 100%, #000, transparent 70%);
}
.ruban-final .conteneur { position: relative; z-index: 1; text-align: center; }
.ruban-final .oeil { color: #ff9095; }
.ruban-final h2 { color: #fff; margin-bottom: 1.15rem; max-width: 22ch; margin-inline: auto; }
.ruban-final p { color: rgba(255,255,255,.6); max-width: 58ch; margin-inline: auto; font-size: .98rem; }
.ruban-final .groupe-btn { justify-content: center; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   15. Pied de page
   -------------------------------------------------------------------------- */
.pied { border-top: 1px solid var(--filet); padding: clamp(3rem, 5vw, 4.5rem) 0 2rem; }
.pied__grille {
  display: grid; grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem; margin-bottom: 3rem;
}
@media (max-width: 940px) { .pied__grille { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 560px) { .pied__grille { grid-template-columns: 1fr; gap: 1.85rem; } }
.pied__logo { width: 116px; margin-bottom: 1.35rem; }
.pied p { font-size: .84rem; color: var(--t3); line-height: 1.7; max-width: 46ch; }
.pied h2 {
  font-family: var(--mono); font-size: .6rem; font-weight: 500; letter-spacing: .11em;
  text-transform: uppercase; color: var(--t4); margin-bottom: 1.1rem; max-width: none;
}
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin-bottom: .6rem; }
.pied a { font-size: .87rem; color: var(--t2); text-decoration: none; }
.pied a:hover { color: var(--corail-fonce); }
.pied__bas {
  border-top: 1px solid var(--filet); padding-top: 1.75rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: baseline;
}
.pied__bas p { font-size: .76rem; color: var(--t4); max-width: 80ch; margin: 0; line-height: 1.6; }

/* --------------------------------------------------------------------------
   16. Impression
   -------------------------------------------------------------------------- */
@media print {
  .entete, .pied, .ruban-final, .alerte-bloc, .saut-contenu { display: none !important; }
  body { font-size: 11.5pt; color: #000; background: #fff; }
  a { color: #000; text-decoration: none; }
  .faq details, .faq__rep { display: block !important; }
}

/* --------------------------------------------------------------------------
   17. Accessibilité
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* --------------------------------------------------------------------------
   18. Formulaires sur petits écrans
   --------------------------------------------------------------------------
   iOS agrandit la page dès qu'un champ de saisie descend sous 16 px. On
   garantit donc ce seuil, en réduisant le rembourrage vertical pour que la
   hauteur reste confortable, au-delà de la cible tactile de 44 px. */
@media (max-width: 640px) {
  /* Les boutons sont en white-space: nowrap pour tenir sur une ligne en
     grand écran. Sous 640 px, un libellé long déborderait : on autorise le
     repli et on les étend à la largeur disponible. */
  .btn { white-space: normal; max-width: 100%; }
  .heros__actions .btn,
  .ruban-final .groupe-btn .btn { width: 100%; }

  .champ input[type="email"],
  .champ input[type="text"] {
    font-size: 16px;
    padding: .72rem .85rem;
    line-height: 1.3;
  }
  .champ label { font-size: .66rem; }
  .consentement input[type="checkbox"] { width: 17px; height: 17px; }
  .form-alerte .btn--large { padding: .88rem 1.1rem; font-size: .92rem; }
}
