/* =====================================================================
   KronoFix — landing « le comptoir »
   La page est un comptoir d'atelier. Ses objets : le bon de dépôt,
   l'étiquette, la facture, le tampon. Le Sceau de Kronos est le poinçon
   qui valide chaque document.
   Feuille organisée par section, dans l'ordre de la page :
   tokens → fondations → nav → hero → métiers → comment ça marche →
   comptoir (sombre) → outils → tarifs → FAQ → rappel → footer → CTA mobile.
   ===================================================================== */

/* ---------- 0. Tokens ---------- */
:root {
  --ink: #141F2A;      /* marine profond — texte, fonds sombres */
  --ink-2: #4A5866;    /* texte secondaire, dérivé de l'encre */
  --paper: #F7F8FA;    /* blanc d'atelier légèrement froid — fond de page */
  --paper-2: #EFF1F5;  /* gris papier très clair — surfaces, cartes */
  --accent: #1450C8;   /* le bleu KronoFix */
  --paid: #1B7A50;     /* vert « réglée » — états terminés, payés */
  --alert: #A85D24;    /* l'orange « appel évité » */
  --danger: #B42318;   /* le rouge des messages d'erreur, et rien d'autre */

  /* Bordures 1px à faible alpha plutôt qu'ombres. */
  --line: rgba(20, 31, 42, .13);

  /* Hiérarchie des rayons : boutons/badges < cartes < mockup. */
  --r-btn: 6px;
  --r-carte: 12px;
  --r-mockup: 20px;

  /* Le seul niveau d'ombre de la page — réservé au mockup du hero
     et à la carte Pro des tarifs. Nulle part ailleurs. */
  --ombre-doc: 0 24px 60px rgba(20, 31, 42, .14);
}

/* ---------- 1. Fondations ---------- */
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
  /* Une seule couleur par titre — pas de mots surlignés en bleu. */
  color: var(--ink);
}

/* Le mono est réservé à ce qui est mono dans la vraie vie :
   numéro de dossier, IMEI, numéro de cadre, numéro de série. */
.no-doc {
  font-family: 'IBM Plex Mono', monospace;
  font-variant-numeric: tabular-nums;
}

/* ---------- 2. Le Sceau de Kronos ---------- */
/* Le poinçon (sprite _sceau_sprite.html.twig) prend la couleur du texte
   ambiant. Une seule occurrence pleine opacité par écran. */
.seal {
  display: block;
  flex-shrink: 0;
}

/* Le filigrane : jamais au-dessus de 6 % — il se devine, il ne se lit pas. */
.seal-watermark {
  opacity: .06;
  pointer-events: none;
  user-select: none;
}

/* ---------- 3. Nav ---------- */
/* Posée sur le papier en haut de page ; après 40 px de scroll (JS pose
   .est-scrollee), elle devient blanc à 85 % + flou, soulignée d'un trait. */
nav.pub {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}

nav.pub.est-scrollee {
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

.nav-int {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
}

.logo b { color: var(--accent); }

.nav-liens {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-liens a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 500;
  font-size: .92rem;
}

.nav-liens a:hover { color: var(--ink); }

/* « Se connecter » : un lien, pas un bouton — un seul bouton plein en nav. */
.nav-connexion { font-weight: 600; }

/* Les boutons gardent leurs couleurs propres face à la règle « lien gris ». */
.nav-liens a.btn-plein, .nav-liens a.btn-plein:hover { color: #fff; }

/* Boutons du comptoir : rayon 6 px, aplat sans ombre — l'ombre est
   réservée au mockup du hero et à la carte Pro. */
.btn { border-radius: var(--r-btn); }

.btn-plein {
  background: var(--accent);
  box-shadow: none;
}

.btn-plein:hover {
  background: color-mix(in srgb, var(--accent) 82%, var(--ink));
  box-shadow: none;
  transform: translateY(-1px);
}

/* Le pot de miel des formulaires : hors écran, hors tabulation. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ---------- 4. Hero : le bon de dépôt vivant ---------- */
.hero-c { padding: 64px 0 84px; }

.hero-c-grille {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}

.hero-c h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.4rem);
  font-weight: 750;
  margin: 0 0 22px;
}

.hero-c-sous {
  color: var(--ink-2);
  font-size: 1.12rem;
  max-width: 34rem;
  margin: 0 0 30px;
}

.hero-c-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-lg { padding: 14px 26px; font-size: 1.02rem; }

.hero-c-reassurance { margin-top: 16px; font-size: .88rem; color: var(--ink-2); }

.hero-c-pilote {
  margin-top: 18px;
  font-size: .85rem;
  color: var(--ink-2);
  text-align: center;
}

/* Le document : blanc pur sur le papier du comptoir — seul porteur
   d'ombre de la page avec la carte Pro. */
.bon {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-mockup);
  box-shadow: var(--ombre-doc);
  padding: 24px 28px 26px;
}

.bon:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Le talon perforé : des trous couleur papier, cernés d'un bord — sans
   le liseré, un trou blanc sur fond blanc n'existe pas. */
.bon-perfo {
  position: absolute;
  top: 10px;
  left: 26px;
  right: 26px;
  height: 8px;
  background: radial-gradient(circle at 4px 4px,
      var(--paper) 2.6px, var(--line) 2.9px, transparent 3.7px)
    left center / 17px 8px repeat-x;
}

.bon-tete {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 16px 0 13px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 18px;
}

.bon-titre {
  display: block;
  font-size: .7rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--ink-2);
  margin-bottom: 3px;
}

.bon-no { font-size: .96rem; font-weight: 500; }

.bon-poincon { color: var(--ink); opacity: .3; }

.bon-lignes { display: grid; gap: 10px; margin: 0; }

.bon-lignes > div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: baseline;
}

.bon-lignes dt {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-2);
  font-weight: 600;
}

.bon-lignes dd { margin: 0; font-weight: 600; font-size: .96rem; }

.bon-lignes dd.no-doc { font-weight: 500; font-size: .92rem; }

/* La timeline du dossier : cinq points, un fil qui avance (--avance 0→1). */
.bon-etapes {
  list-style: none;
  display: flex;
  position: relative;
  margin: 24px 0 0;
  padding: 0;
}

.bon-etapes::before,
.bon-etapes::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 10%;
  height: 2px;
  background: var(--paper-2);
  width: 80%;
}

.bon-etapes::after {
  background: var(--accent);
  width: calc(80% * var(--avance, 0));
  transition: width .45s;
}

.bon-etapes li {
  flex: 1;
  text-align: center;
  position: relative;
  font-size: .7rem;
  color: var(--ink-2);
  padding-top: 17px;
}

.bon-etapes li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  box-sizing: border-box;
  z-index: 1;
  transition: background .2s, border-color .2s;
}

.bon-etapes li.fait { color: var(--ink); font-weight: 600; }

.bon-etapes li.fait::before { background: var(--accent); border-color: var(--accent); }

/* La rangée finale : le SMS à gauche, le tampon à droite — la place est
   réservée, rien ne saute quand ils apparaissent. */
.bon-fin {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  min-height: 64px;
}

.bon-sms {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}

.bon-sms.vue { opacity: 1; transform: none; }

.bon-sms p {
  margin: 0;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px 12px 12px 4px;
  padding: 9px 13px;
  font-size: .88rem;
}

.bon-evite {
  font-size: .72rem;
  font-weight: 650;
  color: var(--alert);
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}

/* Le tampon : encre verte, léger biais, turbulence à peine visible. */
.bon-tampon {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--paid);
  border: 2.5px solid currentColor;
  border-radius: 8px;
  padding: 7px 12px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .08em;
  transform: rotate(-3deg);
  filter: url(#encre-tampon);
  opacity: 0;
  visibility: hidden;
}

.bon-tampon.pose {
  opacity: .92;
  visibility: visible;
  animation: tamponner .35s cubic-bezier(.2, 1.6, .4, 1);
}

@keyframes tamponner {
  from { transform: rotate(-3deg) scale(1.55); opacity: 0; }
  to   { transform: rotate(-3deg) scale(1); opacity: .92; }
}

@media (max-width: 900px) {
  .hero-c { padding: 40px 0 64px; }
  .hero-c-grille { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 480px) {
  .bon { padding: 20px 18px 22px; }
  .bon-etapes li { font-size: .6rem; letter-spacing: -.01em; }
  .bon-fin { flex-direction: column; align-items: flex-start; }
  .bon-tampon { align-self: flex-end; }
}

/* ---------- Têtes de section (partagées) ---------- */
.sec-tete-c { max-width: 44rem; margin-bottom: 36px; }

.sec-tete-c h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 700;
  margin: 0 0 12px;
}

.sec-tete-c p { color: var(--ink-2); font-size: 1.05rem; margin: 0; }

/* ---------- 5. Métiers ---------- */
.metiers { padding: 72px 0; }

.metiers-grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* Fond unique pour les huit ; seule l'icône porte la couleur du métier.
   Au survol, la bordure prend cette couleur — pas d'élévation. */
.metier {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px 20px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-carte);
  color: inherit;
  text-decoration: none;
  transition: border-color .15s;
}

.metier:hover, .metier:focus-visible { border-color: var(--m-ico); }

.metier-ico { color: var(--m-ico); margin-bottom: 4px; }

.metier b { font-size: 1rem; font-weight: 650; letter-spacing: -.01em; }

.metier-pannes { font-size: .88rem; color: var(--ink-2); line-height: 1.45; }

.metier-id {
  margin-top: auto;
  padding-top: 10px;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-2);
}

.metier-id .no-doc {
  display: inline-block;
  white-space: nowrap; /* « N° série » ne se coupe pas en deux lignes */
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  font-weight: 500;
  font-size: .8rem;
  margin-left: 4px;
}

@media (max-width: 900px) {
  .metiers { padding: 56px 0; }
  .metiers-grille { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .metiers-grille { gap: 10px; }
  .metier { padding: 16px 14px; }
}

/* ---------- 6. Comment ça marche ---------- */
.cm { padding: 72px 0 40px; }

/* Trois étapes sur un fil : texte | fil + numéro | visuel, en alternance. */
.cm-etapes {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.cm-etapes::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--line);
}

.cm-etape {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 0 24px;
  align-items: center;
  padding: 28px 0;
}

/* Rangée 1 explicite pour les trois : sans elle, l'auto-placement renvoie
   le texte (colonne 1, écrit après le numéro) à la rangée suivante. */
.cm-etape .cm-texte { grid-column: 1; grid-row: 1; }
.cm-etape .cm-num { grid-column: 2; grid-row: 1; }
.cm-etape .cm-visu { grid-column: 3; grid-row: 1; }

.cm-etape:nth-child(even) .cm-texte { grid-column: 3; }
.cm-etape:nth-child(even) .cm-visu { grid-column: 1; }

.cm-num {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cm-texte h3 { font-size: 1.45rem; font-weight: 700; margin: 0 0 12px; }

.cm-texte p { color: var(--ink-2); margin: 0 0 16px; max-width: 32rem; }

.cm-texte ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}

.cm-texte li { padding-left: 22px; position: relative; font-size: .97rem; }

/* Un tiret cadratin bleu en puce — typographique, pas iconographique. */
.cm-texte li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* Le cadre de fenêtre : bordure fine, trois points gris, pas d'ombre. */
.cm-visu { margin: 0; }

.fenetre {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-carte);
  overflow: hidden;
}

.fenetre-barre {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.fenetre-barre span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.fenetre img { display: block; width: 100%; height: auto; }

@media (max-width: 900px) {
  .cm { padding: 56px 0 24px; }
  .cm-etapes::before { left: 19px; margin-left: 0; }
  .cm-etape {
    grid-template-columns: 40px 1fr;
    gap: 16px 16px;
    padding: 20px 0;
    align-items: start;
  }
  .cm-etape .cm-num,
  .cm-etape:nth-child(even) .cm-num { grid-column: 1; grid-row: 1; }
  .cm-etape .cm-texte,
  .cm-etape:nth-child(even) .cm-texte { grid-column: 2; grid-row: 1; }
  .cm-etape .cm-visu,
  .cm-etape:nth-child(even) .cm-visu { grid-column: 2; grid-row: 2; }
}

/* ---------- 7. Construite au comptoir (section sombre) ---------- */
.comptoir {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  padding: 84px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, .88);
}

.comptoir h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.25rem); font-weight: 700; margin: 0 0 20px; }

.comptoir p { margin: 0 0 16px; max-width: 36rem; font-size: 1.05rem; line-height: 1.65; }

.comptoir p b { color: #fff; }

/* Le filigrane, rogné par le bord droit : il se devine, il ne se lit pas. */
.comptoir-filigrane {
  position: absolute;
  right: -260px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

.comptoir-grille { position: relative; display: grid; gap: 48px; align-items: center; }

.comptoir-grille.avec-photo { grid-template-columns: 1.1fr .9fr; }

.comptoir-signature {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 0;
  font-size: .95rem;
  font-weight: 600;
  color: #fff;
}

.comptoir-signature .seal { color: #fff; }

.comptoir-photo { margin: 0; }

.comptoir-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-carte);
}

@media (max-width: 900px) {
  .comptoir { padding: 60px 0; }
  .comptoir-grille.avec-photo { grid-template-columns: 1fr; }
  .comptoir-filigrane { width: 520px; height: 520px; right: -220px; }
}

/* ---------- 8. Outils connectés ---------- */
.outils { padding: 72px 0; }

.outils-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.outil {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-carte);
}

.outil b { font-size: 1rem; font-weight: 650; }

.outil > span { font-size: .9rem; color: var(--ink-2); line-height: 1.5; }

/* Logos en monochrome, tous à la même encre — aucun ne crie plus fort. */
.outil-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 26px;
  margin-bottom: 6px;
  color: var(--ink-2);
}

.outil-logos .logo { display: block; flex-shrink: 0; }

/* Le wordmark : le nom du service composé en display, à la place d'un
   logo non disponible — remplacé par le fichier officiel dès qu'il arrive. */
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 750;
  font-size: 1.05rem;
  letter-spacing: -.02em;
  color: var(--ink-2);
}

@media (max-width: 900px) {
  .outils { padding: 56px 0; }
  .outils-grille { grid-template-columns: 1fr; }
}

/* Texte pour les lecteurs d'écran seulement. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- 9. Tarifs ---------- */
/* Les cartes viennent du partial partagé avec /tarifs ; ces règles
   remplacent celles de base_public pour tout le site public. */
.tarifs-c { padding: 72px 0 56px; }

.tarifs-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.offre {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-carte);
  padding: 28px 26px;
  box-shadow: none;
}

/* Pro : bordure accent et la seconde ombre autorisée de la page. */
.offre.mise-avant {
  border: 2px solid var(--accent);
  box-shadow: var(--ombre-doc);
}

.offre .nom {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 750;
  font-size: 1.3rem;
  letter-spacing: -.02em;
}

.offre .slogan { font-size: .9rem; color: var(--ink-2); margin-top: 2px; }

.prix {
  margin: 20px 0 4px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 750;
  font-size: 2.5rem;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}

.prix small {
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0;
}

.prix-note { font-size: .82rem; color: var(--ink-2); min-height: 1.2em; }

.offre ul {
  list-style: none;
  margin: 22px 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}

.offre li { font-size: .92rem; padding-left: 24px; position: relative; }

.offre li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--paid);
  font-weight: 700;
}

.offre li.plus { font-weight: 600; }

.offre li.plus::before { content: "+"; color: var(--accent); }

/* Le poinçon : le Sceau dans l'angle de la carte Pro, à la place d'un
   badge en capitales. */
.offre-poincon {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--accent);
}

.badge.actuelle {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--paid);
  color: #fff;
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-btn);
}

.offre .btn { text-align: center; }

.tarifs-pied { margin-top: 24px; text-align: center; font-size: .92rem; color: var(--ink-2); }

.tarifs-pied b { color: var(--ink); }

.tarifs-comparer { text-align: center; margin: 12px 0 0; font-weight: 600; }

.tarifs-comparer a { color: var(--accent); }

@media (max-width: 900px) {
  .tarifs-c { padding: 56px 0 40px; }
  .tarifs-grille { grid-template-columns: 1fr; }
}

/* ---------- 10. FAQ ---------- */
.faq-c { padding: 48px 0 72px; }

.faq-liste { max-width: 44rem; border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-h { margin: 0; font-size: 1.05rem; font-weight: 650; letter-spacing: -.01em; }

.faq-q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  background: none;
  border: 0;
  font: inherit;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.faq-q:hover { color: var(--accent); }

/* Le signe : un + qui devient − quand la réponse est ouverte. */
.faq-signe {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  position: relative;
}

.faq-signe::before,
.faq-signe::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.faq-signe::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform .2s;
}

.faq-q[aria-expanded="true"] .faq-signe::after { transform: translate(-50%, -50%) rotate(0deg); }

/* Sans JS tout est ouvert ; avec JS (.js), fermé sauf .ouverte —
   la hauteur s'anime en grille, ce qui a changé se voit. */
.faq-r { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .25s ease; }

.faq-r > div { overflow: hidden; min-height: 0; }

.faq-r p { margin: 0 0 18px; color: var(--ink-2); line-height: 1.65; max-width: 40rem; }

[data-accordion].js .faq-r { grid-template-rows: 0fr; }

[data-accordion].js .faq-r.ouverte { grid-template-rows: 1fr; }

/* ---------- 11. On vous installe ? (rappel) ---------- */
.rappel-c { padding: 8px 0 80px; }

.rappel-carte {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-mockup);
  padding: 44px 48px;
}

.rappel-filigrane {
  position: absolute;
  left: -160px;
  bottom: -170px;
  color: var(--ink);
}

.rappel-texte { position: relative; }

.rappel-texte h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 700; margin: 0 0 14px; }

.rappel-texte p { color: var(--ink-2); margin: 0; line-height: 1.65; }

/* L'appel direct : pour l'artisan qui préfère décrocher son téléphone. */
.rappel-direct { margin-top: 14px !important; font-weight: 600; }

.rappel-direct a {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  border-bottom: 1.5px solid color-mix(in srgb, var(--accent) 35%, transparent);
}

.rappel-direct a:hover { border-bottom-color: var(--accent); }

.rappel-form { position: relative; display: grid; gap: 14px; }

.rappel-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.rappel-form label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 5px; }

.rappel-form input,
.rappel-form select {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background: #fff;
  color: var(--ink);
}

.rappel-form input:focus,
.rappel-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent);
}

.rappel-form .btn { justify-self: start; }

.rappel-note { margin: 0; font-size: .85rem; color: var(--ink-2); }

.rappel-flash {
  position: relative;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: var(--r-btn);
  border: 1px solid;
  font-size: .95rem;
}

.rappel-flash.est-succes {
  background: color-mix(in srgb, var(--paid) 10%, #fff);
  border-color: color-mix(in srgb, var(--paid) 40%, transparent);
  color: var(--paid);
}

.rappel-flash.est-erreur {
  background: color-mix(in srgb, var(--danger) 8%, #fff);
  border-color: color-mix(in srgb, var(--danger) 40%, transparent);
  color: var(--danger);
}

@media (max-width: 900px) {
  .rappel-carte { grid-template-columns: 1fr; gap: 24px; padding: 30px 24px; }
  .rappel-ligne { grid-template-columns: 1fr; }
  .rappel-form .btn { justify-self: stretch; }
}

/* ---------- 12. Footer ---------- */
footer.pub {
  padding: 56px 0 48px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--ink-2);
}

.pied-c {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.pied-marque .seal { color: var(--ink); margin-bottom: 14px; }

.pied-nom {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 8px;
}

.pied-mention { margin: 0 0 4px; }

.pied-nosweb { white-space: nowrap; }

.pied-col { display: flex; flex-direction: column; gap: 9px; }

.pied-titre {
  margin: 0 0 4px;
  font-size: .72rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink);
}

footer.pub a { color: var(--ink-2); text-decoration: none; }

footer.pub a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 900px) {
  .pied-c { grid-template-columns: 1fr 1fr; gap: 28px; }
  .pied-marque { grid-column: 1 / -1; }
}

/* ---------- 13. CTA mobile ---------- */
/* Une barre fixe, mobile seulement, pilotée par landing.js (.visible). */
.cta-mobile { display: none; }

@media (max-width: 900px) {
  .cta-mobile {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transform: translateY(100%);
    transition: transform .25s;
  }

  .cta-mobile.visible { transform: none; }

  .cta-mobile .btn { display: block; text-align: center; }
}
