/* =====================================================================
   SONDLY — Blocs de page  ·  23/08/2026
   ---------------------------------------------------------------------
   Ce fichier contient les GROS BLOCS (hero, simulateur, tarifs, rapport,
   tableau de bord…). Le fichier `sondly.css` contient, lui, les briques
   communes (couleurs, boutons, cartes, titres).

   Pourquoi deux fichiers : les couleurs et les boutons servent partout,
   les blocs ne servent qu'à une ou deux pages. Séparer, c'est pouvoir
   modifier un bloc sans risquer de casser tout le site.
   ===================================================================== */

/* =====================================================================
   HERO — une seule colonne, centree
   ---------------------------------------------------------------------
   Pas de visuel a cote du titre : la phrase occupe toute la largeur et
   c'est elle qui porte l'attention. C'est le parti pris des landing pages
   les plus sobres (Linear, Vercel) — et le plus dur a rater.
   ===================================================================== */
.hero { padding: clamp(48px, 6vw, 88px) 0 0; position: relative; overflow: hidden; }

.hero-center {
  max-width: 980px; margin: 0 auto; text-align: center;
  padding-bottom: clamp(64px, 8vw, 108px);
}

/* Le titre est ici sur toute la largeur : il peut donc etre grand. */
.hero h1 {
  margin: 24px auto 24px;
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.06;
}

.hero .sub {
  font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2);
  max-width: 640px; margin: 0 auto 34px; line-height: 1.62;
}
.hero .sub b { color: var(--text); font-weight: 550; }

.hero-cta { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.hero-note {
  font-size: 13px; color: var(--text-3); margin-top: 20px;
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.hero-note .ok { color: var(--green); display: inline-flex; }
.hero-note svg { width: 14px; height: 14px; }
.hero-note .dot-sep { color: var(--text-4); }

/* Petites specifications, en rangee centree sous les boutons */
.spec-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 9px;
  margin: 38px auto 0; max-width: 820px;
}
.spec-row {
  display: flex; align-items: center; gap: 12px; font-size: 13px;
  padding: 11px 15px; border: 1px solid var(--line);
  border-radius: 100px; background: var(--glass);
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}
.spec-row:hover { border-color: var(--line-2); transform: translateY(-2px); }
.spec-row .k { color: var(--text-3); white-space: nowrap; }
.spec-row .v { color: var(--text); white-space: nowrap; font-weight: 500; }
.spec-row .v b { color: var(--accent-2); font-weight: 600; }
@media (max-width: 560px) { .spec-list { gap: 7px; } .spec-row { padding: 9px 13px; font-size: 12.5px; } }

/* =====================================================================
   CHIFFRES CLÉS
   ===================================================================== */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .stats-grid { grid-template-columns: 1fr; } }

.stat-card { padding: 22px 22px 18px; border-radius: var(--r); }
.stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.stat-top .code { font-family: var(--ff-mono); font-size: 9.5px; color: var(--text-4); letter-spacing: 0.12em; text-transform: uppercase; }
.stat-top .live { font-size: 9.5px; color: var(--green); display: flex; align-items: center; gap: 6px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; font-family: var(--ff-mono); }
.stat-top .live .d { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.stat-card .num {
  font-size: clamp(32px, 3.6vw, 42px); font-weight: 600; letter-spacing: -0.045em;
  display: block; margin-bottom: 10px; font-variant-numeric: tabular-nums; line-height: 1;
}
.stat-card .lbl { color: var(--text-2); font-size: 13.5px; line-height: 1.55; margin-bottom: 16px; }
.stat-card .lbl b { color: var(--text); font-weight: 550; }
.spark { width: 100%; height: 28px; display: block; }
.spark path.l { fill: none; stroke: var(--green); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.spark path.a { fill: url(#sparkgrad); stroke: none; opacity: 0.45; }
.stat-card.down .spark path.l { stroke: var(--red); }

.sources-note { font-size: 12px; color: var(--text-4); margin-top: 18px; line-height: 1.6; }
.sources-note a { color: var(--text-3); text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================================
   SIMULATEUR — « ce que votre invisibilité vous coûte »
   ===================================================================== */
.calc { padding: 6px; border-radius: var(--r-xl); box-shadow: 0 40px 90px -55px rgba(0,0,0,0.9); }
.calc-inner {
  border: 1px solid var(--line); border-radius: calc(var(--r-xl) - 6px);
  padding: clamp(22px, 3.5vw, 36px);
  background: linear-gradient(180deg, rgba(255,255,255,0.016), transparent);
}
.calc-head { margin-bottom: 30px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.calc-head h3 { margin-bottom: 9px; font-size: 21px; }
.calc-head p { color: var(--text-2); font-size: 14px; max-width: 520px; line-height: 1.58; }
.calc-head .stamp {
  font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--green); border: 1px solid var(--green-b); background: var(--green-a);
  border-radius: 100px; padding: 5px 11px; white-space: nowrap;
  display: flex; align-items: center; gap: 7px;
}
.calc-head .stamp::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); animation: blink 1.7s ease-in-out infinite; }

.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 28px; }
@media (max-width: 660px) { .calc-grid { grid-template-columns: 1fr; gap: 24px; } }
.calc-field label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--text-2); margin-bottom: 15px; font-weight: 450; }
.calc-field label .val { color: var(--accent-2); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }

input[type="range"] {
  width: 100%; -webkit-appearance: none; appearance: none; height: 5px; border-radius: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) var(--fill, 50%), var(--bg-5) var(--fill, 50%), var(--bg-5) 100%);
  outline: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--accent); cursor: pointer;
  box-shadow: 0 0 0 5px rgba(255,90,60,0.13); transition: box-shadow 0.2s ease, transform 0.2s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { box-shadow: 0 0 0 9px rgba(255,90,60,0.2); transform: scale(1.08); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--accent); cursor: pointer; }

.calc-number {
  width: 100%; background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text);
  padding: 12px 14px; border-radius: var(--r-sm); font-size: 15px; font-family: inherit;
  font-variant-numeric: tabular-nums; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.calc-number:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-a); }

.calc-result { display: flex; background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.calc-result .cell { padding: 22px 26px; flex: 1; }
.calc-result .cell + .cell { border-left: 1px solid var(--line); }
.calc-result .cell.main { background: linear-gradient(180deg, var(--accent-a), transparent); }
.calc-result .lbl2 { font-size: 11.5px; color: var(--text-3); margin-bottom: 10px; display: flex; align-items: center; gap: 7px; letter-spacing: 0.02em; }
.calc-result .lbl2 .d { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.calc-result .amount {
  font-size: clamp(27px, 3.6vw, 38px); font-weight: 600; color: var(--accent);
  font-variant-numeric: tabular-nums; letter-spacing: -0.04em; line-height: 1;
}
.calc-result .amount.sub { font-size: 19px; color: var(--text-2); font-weight: 500; }
.calc-disclaimer { font-size: 12px; color: var(--text-3); margin-top: 18px; line-height: 1.55; }
@media (max-width: 660px) {
  .calc-result { flex-direction: column; }
  .calc-result .cell + .cell { border-left: none; border-top: 1px solid var(--line); }
}

/* =====================================================================
   ÉTAPES (pipeline vertical qui se remplit au défilement)
   ===================================================================== */
.pipeline { position: relative; padding-left: 66px; }
.pipeline-line { position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line); border-radius: 2px; }
.pipeline-fill {
  position: absolute; left: 0; top: 0; width: 100%; height: 0%;
  background: linear-gradient(180deg, var(--accent), var(--green));
  border-radius: 2px; box-shadow: 0 0 16px var(--glow);
  transition: height 1s var(--ease);
}
.pipeline-step { position: relative; padding-bottom: 48px; }
.pipeline-step:last-child { padding-bottom: 0; }
.pipeline-step .node {
  position: absolute; left: -66px; top: -3px; width: 40px; height: 40px;
  border-radius: 13px; background: var(--bg-2); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 550; font-size: 15px; color: var(--text-3);
  transition: border-color 0.45s ease, color 0.45s ease, background 0.45s ease, box-shadow 0.45s ease, transform 0.45s var(--spring);
}
.pipeline-step.active .node {
  border-color: var(--accent); color: #170603; background: var(--grad-ember);
  box-shadow: 0 0 30px -5px var(--glow); transform: scale(1.07);
}
.step-head { display: flex; align-items: center; gap: 13px; margin-bottom: 11px; flex-wrap: wrap; }
.step-head h3 { font-size: 19.5px; }
.step-status {
  font-family: var(--ff-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; padding: 3px 9px; border-radius: 100px;
  border: 1px solid var(--line); color: var(--text-4); transition: all 0.45s ease;
}
.pipeline-step.active .step-status { border-color: var(--green-b); background: var(--green-a); color: var(--green); }
.pipeline-step p { color: var(--text-2); font-size: 15px; max-width: 640px; line-height: 1.62; }
.pipeline-step p code {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 6px;
  padding: 2px 7px; font-family: var(--ff-mono); font-size: 12.5px; color: var(--accent-2);
}
@media (max-width: 560px) {
  .pipeline { padding-left: 54px; }
  .pipeline-step .node { left: -54px; width: 34px; height: 34px; font-size: 13px; border-radius: 11px; }
  .pipeline-line { left: 16px; }
}

/* Bandeau « méthode » compact sous les étapes */
.method-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
@media (max-width: 860px) { .method-strip { grid-template-columns: 1fr; } }
.method-card { padding: 24px; border-radius: var(--r); }
.method-card .n { font-family: var(--ff-mono); font-size: 10px; color: var(--accent-2); letter-spacing: 0.12em; margin-bottom: 13px; text-transform: uppercase; }
.method-card h3 { margin-bottom: 9px; font-size: 16.5px; }
.method-card p { color: var(--text-2); font-size: 14px; line-height: 1.6; }

/* Bloc « ce que Sondly ne fait pas » */
.honest {
  margin-top: 20px; border-left: 2px solid var(--accent);
  background: linear-gradient(90deg, var(--accent-a), transparent 72%);
  border-radius: 0 var(--r) var(--r) 0; padding: 28px 32px;
}
.honest h3 { margin-bottom: 16px; }
.honest ul { list-style: none; display: grid; gap: 11px; }
.honest li { color: var(--text-2); font-size: 14.5px; padding-left: 26px; position: relative; line-height: 1.58; }
.honest li::before { content: "—"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }

/* =====================================================================
   LE RAPPORT (bento)
   ===================================================================== */
.bento { display: grid; grid-template-columns: 1.22fr 1fr; gap: 16px; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr; } }
.bento-side { display: grid; gap: 16px; }

.rep-kicker { font-family: var(--ff-mono); font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.13em; color: var(--text-4); margin-bottom: 11px; }
.rep-q {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 15px; font-size: 14.5px; color: var(--text); margin-bottom: 22px;
}
.rep-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.rep-row:last-of-type { border-bottom: none; }
.rep-rank {
  width: 25px; height: 25px; flex: none; border-radius: 50%; background: var(--bg-4);
  display: grid; place-items: center; font-size: 11.5px; font-weight: 550;
  color: var(--text-3); font-family: var(--ff-mono);
}
.rep-row .seen { margin-left: auto; font-family: var(--ff-mono); font-size: 10.5px; color: var(--text-4); white-space: nowrap; }
.rep-row.me { color: var(--red); font-weight: 550; }
.rep-row.me .rep-rank { background: var(--red-a); color: var(--red); }
.rep-verdict {
  margin-top: 18px; padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--red-a); border: 1px solid var(--red-b);
  font-size: 13.5px; color: #ffc9d1; line-height: 1.58;
}
.rep-verdict b { color: #fff; font-weight: 600; }

.src-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.src-chip {
  font-family: var(--ff-mono); font-size: 11.5px; color: var(--text-2);
  border: 1px solid var(--line); background: var(--bg-3); border-radius: 100px;
  padding: 6px 12px; transition: border-color 0.25s ease, transform 0.25s var(--ease), color 0.25s ease;
}
.src-chip:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }

.act-item { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); }
.act-item:last-child { border-bottom: none; }
.act-num {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad-ember); color: #170603; font-size: 11.5px; font-weight: 600;
  display: grid; place-items: center; margin-top: 2px;
}
.act-item p { font-size: 13.8px; color: var(--text-2); line-height: 1.52; }

.new-badge {
  display: inline-flex; align-items: center; font-family: var(--ff-mono);
  font-size: 9px; font-weight: 500; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--green); background: var(--green-a); border: 1px solid var(--green-b);
  border-radius: 100px; padding: 3px 9px; margin-left: 10px; vertical-align: 3px;
}

/* =====================================================================
   TARIFS
   ---------------------------------------------------------------------
   Deux animations ici :
   1. Le sélecteur « par mois / par jour » avec sa pastille qui glisse.
   2. Le compteur à rouleaux (odomètre) : chaque chiffre est une colonne
      de 0 à 9 qu'on fait défiler verticalement. C'est ce que font les
      compteurs de prix des sites pro, en une trentaine de lignes.
   ===================================================================== */
.pricing-top { display: flex; flex-direction: column; align-items: center; gap: 26px; margin-bottom: 46px; }

.seg {
  position: relative; display: inline-flex; padding: 4px;
  background: var(--bg-3); border: 1px solid var(--line-2); border-radius: 100px;
}
.seg button {
  position: relative; z-index: 1; border: none; background: none; cursor: pointer;
  padding: 9px 20px; border-radius: 100px;
  font-family: inherit; font-size: 13.5px; font-weight: 500; letter-spacing: -0.012em;
  color: var(--text-3); transition: color 0.3s ease; white-space: nowrap;
}
.seg button.on { color: #170603; }
.seg .thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: 0;
  border-radius: 100px; background: var(--grad-ember);
  box-shadow: 0 8px 22px -10px var(--glow), 0 1px 0 rgba(255,255,255,0.4) inset;
  transition: transform 0.5s var(--spring), width 0.5s var(--spring);
}

/* Odomètre */
.odo { display: inline-flex; align-items: baseline; line-height: 1; }
.odo .col { display: inline-block; height: 1em; overflow: hidden; position: relative; }
.odo .col .roll { display: block; transition: transform 0.75s var(--ease); }
.odo .col .roll u { display: block; height: 1em; line-height: 1em; text-decoration: none; }
.odo .fix { display: inline-block; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 470px; margin: 0 auto; } }

.plan { display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--r-lg); }
.plan.featured {
  border-color: rgba(255,90,60,0.38);
  background: linear-gradient(180deg, rgba(255,90,60,0.055), var(--glass));
  box-shadow: 0 40px 80px -50px var(--glow);
}
@media (min-width: 901px) { .plan.featured { transform: scale(1.025); z-index: 2; } }
.plan .tag {
  position: absolute; top: -12px; left: 24px;
  background: var(--grad-ember); color: #170603;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em;
  padding: 5px 13px; border-radius: 100px;
  box-shadow: 0 10px 24px -8px var(--glow);
}
.plan-name { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.plan-name h3 { font-size: 16px; }
.plan-name .id { font-family: var(--ff-mono); font-size: 9.5px; color: var(--text-4); letter-spacing: 0.1em; }

.plan .price {
  display: flex; align-items: baseline; gap: 3px;
  font-size: 44px; font-weight: 600; letter-spacing: -0.05em;
  margin-bottom: 5px; line-height: 1; font-variant-numeric: tabular-nums;
}
.plan .price .cur { font-size: 26px; font-weight: 500; }
.plan .price .per { font-size: 14px; color: var(--text-3); font-weight: 450; letter-spacing: -0.01em; margin-left: 4px; }
.plan .plan-note {
  font-size: 13.5px; color: var(--text-2); margin-bottom: 22px;
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1; }
.plan li { font-size: 14px; color: var(--text-2); padding-left: 27px; position: relative; line-height: 1.45; }
.plan li::before { content: ""; position: absolute; left: 0; top: 2px; width: 17px; height: 17px; background: var(--green-a); border-radius: 50%; }
.plan li::after {
  content: ""; position: absolute; left: 5.5px; top: 6px; width: 5px; height: 8px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(40deg);
}
.plan li.off { color: var(--text-4); }
.plan li.off::before { background: rgba(255,255,255,0.035); }
.plan li.off::after { display: none; }

.pricing-disclaimer {
  color: var(--text-3); font-size: 13px; margin-top: 30px;
  display: flex; align-items: flex-start; gap: 10px; line-height: 1.58;
}
.pricing-disclaimer .d { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 7px; }

/* =====================================================================
   CARTES « GARANTIE » (4 colonnes compactes)
   Utilisees par l'accueil (Vos donnees) et par la page Fonctionnalites.
   ===================================================================== */
.guard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .guard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .guard-grid { grid-template-columns: 1fr; } }
.guard { padding: 24px 22px; border-radius: var(--r); }
.guard .ic {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--green-a); border: 1px solid var(--green-b); margin-bottom: 15px;
}
.guard .ic svg { width: 18px; height: 18px; color: var(--green); }
.guard h3 { font-size: 15px; margin-bottom: 7px; }
.guard p { color: var(--text-2); font-size: 13.5px; line-height: 1.55; }

/* =====================================================================
   TABLEAU COMPARATIF DES OFFRES
   ---------------------------------------------------------------------
   Un vrai <table> : c'est un tableau de donnees, donc c'est la bonne
   balise. Les lecteurs d'ecran annoncent « ligne Historique, colonne
   Pro, inclus » — ce qu'aucune grille en <div> ne sait faire.
   ===================================================================== */
.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--glass);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  -webkit-overflow-scrolling: touch;
}

table.cmp { width: 100%; border-collapse: collapse; min-width: 660px; font-size: 14px; }

table.cmp thead th {
  position: sticky; top: 0; z-index: 2;
  background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
  border-bottom: 1px solid var(--line-2);
  padding: 20px 18px; text-align: center; vertical-align: bottom;
  font-weight: 550; font-size: 16px; letter-spacing: -0.02em; color: var(--text);
}
table.cmp thead th:first-child { text-align: left; width: 38%; }
table.cmp thead th span {
  display: block; margin-top: 5px;
  font-family: var(--ff-mono); font-size: 12px; font-weight: 400;
  color: var(--text-3); letter-spacing: 0;
}
table.cmp thead th.best { color: var(--accent-2); }
table.cmp thead th.best span { color: var(--accent-2); opacity: 0.8; }

/* La colonne mise en avant est teintee sur toute sa hauteur */
table.cmp .best { background: rgba(255, 90, 60, 0.045); }
table.cmp thead th.best {
  background: linear-gradient(180deg, rgba(255,90,60,0.14), rgba(255,90,60,0.05));
  box-shadow: inset 0 2px 0 var(--accent);
}

table.cmp .grp td {
  padding: 18px 18px 9px;
  font-family: var(--ff-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-4);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.012);
}

table.cmp tbody th {
  padding: 14px 18px; text-align: left; font-weight: 400;
  color: var(--text-2); border-bottom: 1px solid var(--line);
}
table.cmp tbody td {
  padding: 14px 18px; text-align: center;
  color: var(--text); border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
table.cmp tbody tr:hover th, table.cmp tbody tr:hover td { background: rgba(255,255,255,0.022); }
table.cmp tbody tr:hover td.best { background: rgba(255,90,60,0.075); }
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td { border-bottom: none; }

/* Puces « inclus » / « non inclus » */
.mark { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; }
.mark.oui { background: var(--green-a); border: 1px solid var(--green-b); }
.mark.oui::after {
  content: ""; width: 5px; height: 9px; margin-top: -2px;
  border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(40deg);
}
.mark.non { background: rgba(255,255,255,0.035); border: 1px solid var(--line); }
.mark.non::after { content: ""; width: 8px; height: 1.5px; background: var(--text-4); }

/* Rappel des boutons sous le tableau */
.cmp-actions { display: grid; grid-template-columns: 38% repeat(3, 1fr); gap: 0; }
@media (max-width: 760px) { .cmp-actions { display: none; } }
.cmp-actions > div { padding: 18px; }
.cmp-actions > div:first-child { padding-left: 0; }

.cmp-note { font-size: 12.5px; color: var(--text-3); margin-top: 16px; line-height: 1.6; }
.cmp-hint { display: none; font-size: 12px; color: var(--text-4); margin-bottom: 12px; }
@media (max-width: 760px) { .cmp-hint { display: block; } }

/* =====================================================================
   APPEL À L'ACTION FINAL
   ===================================================================== */
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 84px) 32px;
  background: linear-gradient(180deg, rgba(255,255,255,0.032), rgba(255,255,255,0.008));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(720px 260px at 50% -70px, rgba(255,90,60,0.22), transparent 70%);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { margin-bottom: 16px; }
.cta-box p { margin: 0 auto 30px; max-width: 570px; }

/* =====================================================================
   PAGES INTERNES — formulaire d'analyse
   ===================================================================== */
.page { padding: clamp(46px, 6vw, 72px) 0 90px; }
.intro { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.intro h1 { font-size: clamp(30px, 4.4vw, 46px); margin-bottom: 16px; }
.form-card { max-width: 640px; margin: 0 auto; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

.preview { background: var(--bg-2); border: 1px dashed var(--line-2); border-radius: var(--r-sm); padding: 14px 16px; font-size: 15px; margin-bottom: 18px; }
.preview b { color: var(--accent); }

.consent { display: flex; gap: 11px; align-items: flex-start; margin: 22px 0; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.consent label { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }

.success { display: none; text-align: center; }
.success.show { display: block; }
.success-icon {
  width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 20px;
  display: grid; place-items: center;
  background: var(--green-a); border: 1px solid var(--green-b);
}
.success-icon svg { width: 28px; height: 28px; color: var(--green); }
.success-icon.warn { background: var(--accent-a); border-color: rgba(255,90,60,0.35); }
.success-icon.warn svg { color: var(--accent); }

.steps-wait { text-align: left; max-width: 430px; margin: 24px auto 0; padding-left: 20px; }
.steps-wait li { color: var(--text-2); font-size: 14.5px; margin-bottom: 10px; line-height: 1.55; }

.rappel { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 16px 18px; margin: 20px 0 6px; text-align: left; }
.rappel .k { color: var(--text-3); font-size: 11px; text-transform: uppercase; letter-spacing: 0.09em; font-family: var(--ff-mono); }
.rappel .v { font-weight: 550; margin: 4px 0 12px; }
.rappel .v:last-child { margin-bottom: 0; }
.actions-bloque { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* =====================================================================
   PAGES INTERNES — connexion
   ===================================================================== */
.auth-box { max-width: 450px; margin: 0 auto; }
.tabs { position: relative; display: flex; gap: 4px; background: var(--bg-3); padding: 4px; border: 1px solid var(--line-2); border-radius: 100px; margin-bottom: 28px; }
.tabs button {
  position: relative; z-index: 1; flex: 1; padding: 10px; border: none; background: none; cursor: pointer;
  color: var(--text-3); font-family: inherit; font-weight: 500; font-size: 14px; border-radius: 100px;
  transition: color 0.3s ease;
}
.tabs button.active { color: #170603; }
.tabs .thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 6px);
  border-radius: 100px; background: var(--grad-ember);
  box-shadow: 0 8px 20px -10px var(--glow);
  transition: transform 0.45s var(--spring);
}
.tabs.right .thumb { transform: translateX(calc(100% + 4px)); }
.auth-box h1 { font-size: 28px; text-align: center; margin-bottom: 8px; }
.auth-box .sub { text-align: center; color: var(--text-2); font-size: 15px; margin-bottom: 26px; line-height: 1.55; }
.link-line { text-align: center; font-size: 14px; margin-top: 18px; }
.pwd-rule { font-size: 12.5px; color: var(--text-3); margin-top: 7px; }

/* =====================================================================
   PAGES INTERNES — tableau de bord
   ===================================================================== */
.head-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 34px; }
.head-row h1 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 6px; }

.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
@media (max-width: 760px) { .dash-stats { grid-template-columns: 1fr; } }
.dash-stat { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.dash-stat .val { font-size: 32px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.dash-stat .lbl { font-size: 13px; color: var(--text-2); margin-top: 5px; }

.rapport { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; overflow: hidden; transition: border-color 0.3s ease; }
.rapport:hover { border-color: var(--line-2); }
.rapport-head { padding: 19px 22px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; cursor: pointer; }
.rapport-head:hover { background: rgba(255,255,255,0.02); }
.rapport-titre { font-weight: 550; font-size: 16px; letter-spacing: -0.02em; }
.rapport-sous { font-size: 13px; color: var(--text-3); margin-top: 3px; }
.pill-st { font-size: 12px; font-weight: 550; padding: 5px 13px; border-radius: 100px; white-space: nowrap; }
.pill-ok   { background: var(--green-a);  color: var(--green);  border: 1px solid var(--green-b); }
.pill-ko   { background: var(--red-a);    color: var(--red);    border: 1px solid var(--red-b); }
.pill-wait { background: var(--accent-a); color: var(--accent); border: 1px solid rgba(255,90,60,0.3); }
.pill-err  { background: rgba(255,196,107,0.1); color: var(--amber); border: 1px solid rgba(255,196,107,0.3); }

.rapport-corps { padding: 0 22px 22px; border-top: 1px solid var(--line); display: none; }
.rapport-corps.open { display: block; }
.rapport-corps h4 {
  font-family: var(--ff-mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text-4); margin: 22px 0 12px; font-weight: 500;
}
.ligne-ent { display: flex; align-items: center; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ligne-ent:last-child { border-bottom: none; }
.ligne-ent .rank { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--bg-4); display: grid; place-items: center; font-size: 12px; font-weight: 550; color: var(--text-3); font-family: var(--ff-mono); }
.ligne-ent.moi { color: var(--green); font-weight: 550; }
.ligne-ent.moi .rank { background: var(--green-a); color: var(--green); }
.ligne-ent .conf { margin-left: auto; font-size: 12px; color: var(--text-4); font-weight: 400; font-family: var(--ff-mono); }

.verdict { padding: 16px 18px; border-radius: var(--r-sm); font-size: 14.5px; margin-top: 20px; line-height: 1.6; }
.verdict-ko { background: var(--red-a); border: 1px solid var(--red-b); color: #ffccd4; }
.verdict-ok { background: var(--green-a); border: 1px solid var(--green-b); color: #b3f6de; }
.verdict b { color: #fff; }

.vide { text-align: center; padding: 66px 24px; }
#chargement { text-align: center; padding: 70px 0; color: var(--text-2); }

/* =====================================================================
   PAGES INTERNES — exemple de rapport
   ===================================================================== */
.demo-flag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; color: var(--amber);
  border: 1px solid rgba(255,196,107,0.3); background: rgba(255,196,107,0.08);
  border-radius: 100px; padding: 6px 14px; margin-bottom: 20px;
}
.demo-flag .d { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

.report { max-width: 760px; margin: 0 auto; padding: 0; overflow: hidden; }
.rep-header { padding: 26px 30px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.rep-header h2 { font-size: 24px; margin-bottom: 5px; }
.rep-header .meta { font-size: 13px; color: var(--text-3); }
.verdict-box { margin: 0; padding: 24px 30px; background: linear-gradient(180deg, var(--red-a), transparent); border-bottom: 1px solid var(--line); }
.verdict-box .tag {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-mono);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red);
  border: 1px solid var(--red-b); background: var(--red-a); border-radius: 100px;
  padding: 4px 11px; margin-bottom: 14px;
}
.verdict-box h3 { font-size: 20px; margin-bottom: 10px; }
.verdict-box p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.blk { padding: 24px 30px; border-bottom: 1px solid var(--line); }
.blk:last-child { border-bottom: none; }
.blk-title { font-family: var(--ff-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.13em; color: var(--text-4); margin-bottom: 14px; }
.query-box { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 15px 17px; }
.query-box .q { font-size: 16px; color: var(--text); margin-bottom: 8px; }
.query-box .note { font-size: 12.5px; color: var(--text-3); line-height: 1.55; }
.rank-row { display: flex; align-items: center; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.rank-row:last-child { border-bottom: none; }
.rank-row .r { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--bg-4); display: grid; place-items: center; font-size: 12px; font-weight: 550; color: var(--text-3); font-family: var(--ff-mono); }
.rank-row .cnt { margin-left: auto; font-family: var(--ff-mono); font-size: 11px; color: var(--text-4); }
.rank-row.me { color: var(--red); font-weight: 550; }
.rank-row.me .r { background: var(--red-a); color: var(--red); }
.src-list { display: grid; gap: 10px; }
.src-item { display: flex; gap: 12px; align-items: flex-start; background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 13px 15px; }
.src-item .dom { font-family: var(--ff-mono); font-size: 13px; color: var(--accent-2); flex: none; }
.src-item p { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.action-card { display: flex; gap: 13px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.action-card:last-child { border-bottom: none; }
.action-card .num { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-ember); color: #170603; font-size: 12px; font-weight: 600; display: grid; place-items: center; margin-top: 2px; }
.action-card h4 { font-size: 15px; margin-bottom: 5px; font-weight: 550; }
.action-card p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }
.rep-footer { padding: 20px 30px; background: var(--bg-2); font-size: 12.5px; color: var(--text-3); line-height: 1.6; }
.after-cta { max-width: 760px; margin: 46px auto 0; text-align: center; }

/* =====================================================================
   PAGE CONTACT
   ===================================================================== */
.contact-box { max-width: 660px; margin: 0 auto; padding: 36px; text-align: center; }
.contact-box .lbl { font-family: var(--ff-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-4); margin-bottom: 14px; }
.adresse {
  display: block; font-family: var(--ff-mono); font-size: clamp(15px, 2.6vw, 21px);
  color: var(--text); background: var(--bg-3); border: 1px solid var(--line-2);
  border-radius: var(--r-sm); padding: 18px 20px; margin-bottom: 20px;
  user-select: all; word-break: break-all;
}
.contact-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.copie { font-size: 13px; color: var(--green); margin-top: 16px; min-height: 20px; opacity: 0; transition: opacity 0.25s ease; }
.copie.on { opacity: 1; }
.infos { max-width: 660px; margin: 38px auto 0; display: grid; gap: 13px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); background: var(--glass); border-radius: var(--r); padding: 18px 20px; }
.info-row .ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-a); border: 1px solid rgba(255,90,60,0.24); }
.info-row .ic svg { width: 16px; height: 16px; color: var(--accent-2); }
.info-row h3 { font-size: 15px; margin-bottom: 5px; }
.info-row p { font-size: 14px; color: var(--text-2); line-height: 1.58; }
