/* ═══════════════════════════════════════════════════════════════════════
   SITE PUBLIC KLENCIO

   Deux mondes, volontairement différents. L'application est un outil de
   travail : dense, froide, bleue, faite pour huit heures d'affilée. Le site
   est une conversation : chaude, aérée, crème — la couleur de l'icône.

   AUCUNE POLICE EXTERNE. Charger Google Fonts depuis les serveurs de Google
   transfère l'adresse IP de chaque visiteur — un site qui publie une page
   RGPD ne peut pas faire ça en même temps. On se sert donc des polices
   déjà présentes sur la machine du visiteur : c'est aussi ce qui s'affiche
   le plus vite.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* Marque — tirée des logos, pas inventée à côté */
  --encre:      #16181c;   /* le noir du mot « Klencio » */
  --creme:      #fdf8f1;   /* le fond de la pastille */
  --creme-fort: #f6eee1;
  --vert:       #42dab3;   /* la feuille */
  --vert-lis:   #146b53;   /* la feuille quand elle doit se LIRE (AA) */
  --vert-doux:  #e6f9f2;

  /* Neutres à biais chaud : c'est ce qui les fait tenir avec le crème */
  --blanc:  #ffffff;
  --trait:  #e7e0d4;
  --trait-doux: #f1ece3;
  --gris:   #5f5a52;
  --gris-2: #857f74;

  --rouge:  #b3261e;
  --orange: #a35c00;

  --r:   14px;
  --r-s: 9px;
  --ombre:   0 1px 2px rgba(22,24,28,.06), 0 8px 28px rgba(22,24,28,.06);
  --ombre-f: 0 2px 6px rgba(22,24,28,.08), 0 24px 60px rgba(22,24,28,.12);

  --large: 1140px;
  --texte: 68ch;

  --pile: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          "Noto Sans", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  font-family: var(--pile);
  font-size: 17px;
  line-height: 1.6;
  color: var(--encre);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--encre); }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.022em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 4.2vw, 3.05rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); font-weight: 780; }
h3 { font-size: 1.16rem; font-weight: 720; letter-spacing: -.012em; }
p  { margin: 0 0 1em; }
p, li { max-width: var(--texte); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--encre); color: #fff; padding: 12px 18px; border-radius: 0 0 var(--r-s) 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--vert-lis); outline-offset: 2px; border-radius: 4px; }

/* ─────────────────────────────────────────────── barre haute ───────── */

.bar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .18s, box-shadow .18s;
}
.bar.colle { border-bottom-color: var(--trait); box-shadow: 0 1px 12px rgba(22,24,28,.05); }
.bar-in {
  max-width: var(--large); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 26px;
}
.bar-logo { flex: none; line-height: 0; }
.bar-logo img { width: 128px; }
.bar-nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.bar-nav > a, .menu-b {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 11px; border-radius: var(--r-s);
  font: inherit; font-size: .95rem; font-weight: 560;
  color: var(--gris); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.bar-nav > a:hover, .menu-b:hover { color: var(--encre); background: var(--creme-fort); }
.bar-nav > a[aria-current], .menu-b.on { color: var(--encre); font-weight: 660; }
.menu-b svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .18s; }
.menu-b[aria-expanded="true"] svg { transform: rotate(180deg); }

.menu { position: relative; }
.menu-p {
  position: absolute; top: calc(100% + 10px); left: -12px; width: min(620px, 78vw);
  background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--r);
  box-shadow: var(--ombre-f); padding: 14px; z-index: 5;
}
.menu-g { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.menu-g a {
  display: block; padding: 9px 11px; border-radius: var(--r-s); text-decoration: none;
}
.menu-g a:hover { background: var(--creme); }
.menu-t { display: block; font-weight: 640; font-size: .95rem; }
.menu-s { display: block; font-size: .85rem; color: var(--gris-2); }
.menu-f {
  margin: 12px 0 0; padding: 11px 12px 10px; border-top: 1px solid var(--trait-doux);
  font-size: .88rem; color: var(--gris); max-width: none;
}
.menu-f a { color: var(--vert-lis); font-weight: 640; text-decoration: none; white-space: nowrap; }
.menu-f a:hover { text-decoration: underline; }

.bar-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.lien-co { font-size: .95rem; font-weight: 560; color: var(--gris); text-decoration: none; }
.lien-co:hover { color: var(--encre); }

.burger { display: none; background: none; border: 0; padding: 9px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--encre); border-radius: 2px; }
.burger span + span { margin-top: 5px; }

.mob { display: none; border-top: 1px solid var(--trait); padding: 10px 20px 18px; background: var(--blanc); }
.mob a { display: block; padding: 10px 0; text-decoration: none; font-weight: 560;
  border-bottom: 1px solid var(--trait-doux); }
.mob-t { margin: 14px 0 2px; font-size: .78rem; font-weight: 720; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gris-2); }

/* ─────────────────────────────────────────────────── boutons ───────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: .97rem; font-weight: 660; text-decoration: none;
  cursor: pointer; transition: transform .12s, box-shadow .18s, background .18s;
}
.btn:active { transform: translateY(1px); }
.btn-p { background: var(--encre); color: var(--blanc); }
.btn-p:hover { background: #000; box-shadow: 0 6px 20px rgba(22,24,28,.22); }
.btn-s { background: var(--blanc); color: var(--encre); border-color: var(--trait); }
.btn-s:hover { border-color: var(--encre); }
.btn-v { background: var(--vert); color: #04352a; }
.btn-v:hover { box-shadow: 0 6px 22px rgba(66,218,179,.45); }
.btn-xl { padding: 15px 26px; font-size: 1.05rem; }

.cta-fixe { display: none; }

/* ───────────────────────────────────────────────── sections ───────── */

.sec { padding: 76px 20px; }
.sec-creme { background: var(--creme); }
.sec-encre { background: var(--encre); color: #efeae1; }
.sec-encre h2, .sec-encre h3 { color: #fff; }
.in { max-width: var(--large); margin: 0 auto; }
.in-etroit { max-width: 760px; margin: 0 auto; }

.oeil {
  display: inline-block; margin-bottom: 12px;
  font-size: .76rem; font-weight: 740; letter-spacing: .1em; text-transform: uppercase;
  color: var(--vert-lis);
}
.sec-encre .oeil { color: var(--vert); }
.chapo { font-size: 1.12rem; color: var(--gris); max-width: 60ch; }
.sec-encre .chapo { color: #b9b2a7; }

/* ──────────────────────────────────────────────────── héros ───────── */

.heros { padding: 56px 20px 64px; background:
  radial-gradient(1100px 480px at 78% -8%, var(--vert-doux) 0%, transparent 62%),
  linear-gradient(180deg, var(--creme) 0%, var(--blanc) 88%); }
.heros-in { max-width: var(--large); margin: 0 auto; display: grid; gap: 40px;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); align-items: center; }
.heros h1 { margin-bottom: 18px; }
.heros h1 em { font-style: normal; display: block; color: var(--vert-lis); white-space: nowrap; }
.heros .chapo { font-size: 1.18rem; }
.heros-b { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.heros-p { font-size: .93rem; color: var(--gris-2); max-width: 46ch; }
.heros-p b { color: var(--gris); font-weight: 640; }

/* La capture, posée comme sur un bureau */
.cadre { position: relative; }
.cadre img {
  border-radius: var(--r); border: 1px solid var(--trait); box-shadow: var(--ombre-f);
  background: var(--blanc);
}
.cadre-tel {
  position: absolute; right: -14px; bottom: -26px; width: 30%; max-width: 190px;
  border-radius: 18px; border: 5px solid var(--encre); box-shadow: var(--ombre-f);
  overflow: hidden; background: var(--encre); line-height: 0;
}
.cadre-tel img { border: 0; border-radius: 0; box-shadow: none; }

/* ─────────────────────────────────────────── avant / après ───────── */

.bascule { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; align-items: stretch; }
.bascule > div { padding: 26px; border-radius: var(--r); }
.avant { background: var(--blanc); border: 1px dashed var(--trait); }
.avant .lst { color: var(--gris); }
.apres { background: var(--encre); color: #efeae1; }
.apres .lst { color: #cfc8bd; }
.bascule .oeil { margin-bottom: 8px; }
.avant .oeil { color: var(--gris-2); }
.apres .oeil { color: var(--vert); }
.lst { list-style: none; margin: 0; padding: 0; font-size: .97rem; }
.lst li { padding: 6px 0 6px 26px; position: relative; max-width: none; }
.lst li::before {
  content: ""; position: absolute; left: 4px; top: 14px; width: 9px; height: 9px;
  border-radius: 3px; background: currentColor; opacity: .32;
}
.apres .lst li::before { background: var(--vert); opacity: 1; }

/* ───────────────────────────────────────────────── la chaîne ───────── */

.chaine { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chaine li {
  list-style: none; max-width: none; flex: 1 1 140px;
  padding: 16px 14px; border-radius: var(--r-s); background: var(--blanc);
  border: 1px solid var(--trait); position: relative;
}
.chaine li b { display: block; font-size: .97rem; }
.chaine li span { font-size: .85rem; color: var(--gris-2); }
.chaine li::after {
  content: "→"; position: absolute; right: -12px; top: 50%; transform: translateY(-50%);
  color: var(--vert-lis); font-weight: 700; z-index: 1;
}
.chaine li:last-child::after { content: none; }

/* ──────────────────────────────────────── piloter par exception ───── */

.expo { display: grid; gap: 12px; margin-top: 26px; }
.expo-l {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border-radius: var(--r-s); background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.pip { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.pip-r { background: #ff6b5e; box-shadow: 0 0 0 4px rgba(255,107,94,.16); }
.pip-o { background: #ffb03a; box-shadow: 0 0 0 4px rgba(255,176,58,.16); }
.expo-l b { font-weight: 620; }
.expo-l span { color: #a9a196; font-size: .92rem; margin-left: auto; }

/* ───────────────────────────────────────────── blocs produit ───────── */

.duo { display: grid; gap: 46px; grid-template-columns: 1fr 1fr; align-items: center; }
.duo + .duo { margin-top: 84px; }
.duo-inv .duo-txt { order: 2; }
.pts { list-style: none; margin: 18px 0 0; padding: 0; }
.pts li { position: relative; padding: 7px 0 7px 30px; max-width: none; }
.pts li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 16px; height: 9px;
  border-left: 2.5px solid var(--vert-lis); border-bottom: 2.5px solid var(--vert-lis);
  transform: rotate(-45deg); border-radius: 1px;
}

/* ──────────────────────────────────────────────── vignettes ───────── */

.grille { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); }
.carte {
  padding: 22px; border-radius: var(--r); background: var(--blanc);
  border: 1px solid var(--trait); text-decoration: none; display: block;
  transition: transform .16s, box-shadow .18s, border-color .18s;
}
a.carte:hover { transform: translateY(-2px); box-shadow: var(--ombre); border-color: var(--vert); }
.carte h3 { margin-bottom: 6px; }
.carte p { margin: 0; font-size: .93rem; color: var(--gris); max-width: none; }

.tailles { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 18px; }
.taille {
  flex: 1 1 150px; padding: 18px 16px; border-radius: var(--r);
  background: var(--blanc); border: 1px solid var(--trait); text-align: center;
}
.taille b { display: block; font-size: 1.02rem; }
.taille span { font-size: .85rem; color: var(--gris-2); }
.taille strong { display: block; margin-top: 8px; color: var(--vert-lis); font-size: .92rem; }

/* ────────────────────────────────────────────────── tarifs ───────── */

.offres { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); align-items: start; margin-top: 34px; }
.offre {
  padding: 28px 24px 26px; border-radius: var(--r); background: var(--blanc);
  border: 1px solid var(--trait); position: relative; display: flex; flex-direction: column;
}
.offre-fort { border: 2px solid var(--encre); box-shadow: var(--ombre-f); }
.offre-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--vert); color: #04352a; font-size: .74rem; font-weight: 760;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
  white-space: nowrap;
}
.offre h3 { font-size: 1.02rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gris-2); font-weight: 720; margin-bottom: 12px; }
.offre-prix { display: flex; align-items: baseline; gap: 7px; }
.offre-prix b { font-size: 2.7rem; font-weight: 820; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; }
.offre-prix span { color: var(--gris-2); font-size: .94rem; }
.offre-ht { font-size: .82rem; color: var(--gris-2); margin: 2px 0 4px; }
.offre-c { margin: 12px 0 4px; font-weight: 700; font-size: 1.05rem; }
.offre-pr { font-size: .93rem; color: var(--gris); min-height: 2.8em; }
.offre .pts { margin-top: 10px; flex: 1; }
.offre .pts li { font-size: .94rem; padding-left: 26px; }
.offre .btn { margin-top: 20px; width: 100%; }

.souligne {
  margin-top: 26px; padding: 20px 22px; border-radius: var(--r);
  background: var(--vert-doux); border: 1px solid #bfeeddff;
}
.souligne p { margin: 0; max-width: none; }
.souligne b { font-weight: 720; }

.wrap-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.comp { border-collapse: collapse; width: 100%; min-width: 560px; background: var(--blanc); }
table.comp th, table.comp td { padding: 11px 14px; border-bottom: 1px solid var(--trait-doux); text-align: left; }
table.comp thead th { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gris-2); border-bottom: 1px solid var(--trait); }
table.comp td.oui, table.comp th.oui { text-align: center; width: 110px; }
table.comp td.oui::before {
  content: ""; display: inline-block; width: 15px; height: 8px;
  border-left: 2.5px solid var(--vert-lis); border-bottom: 2.5px solid var(--vert-lis);
  transform: rotate(-45deg) translate(2px, -2px);
}
table.comp tbody tr:hover { background: var(--creme); }
.comp-note { margin-top: 12px; font-size: .9rem; color: var(--gris); }

/* ───────────────────────────────────────────────────── FAQ ───────── */

.faq { margin-top: 26px; border-top: 1px solid var(--trait); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary {
  padding: 17px 34px 17px 0; cursor: pointer; font-weight: 640; position: relative;
  list-style: none; font-size: 1.03rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 24px; width: 10px; height: 10px;
  border-right: 2.2px solid var(--gris-2); border-bottom: 2.2px solid var(--gris-2);
  transform: rotate(45deg); transition: transform .18s;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq .rep { padding: 0 0 18px; color: var(--gris); }
.faq .rep p:last-child { margin-bottom: 0; }

/* ─────────────────────────────────────────────────── preuve ───────── */

.preuves { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); margin-top: 26px; }
.preuve { padding: 20px; border-radius: var(--r); background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); }
.preuve b { display: block; font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--vert); font-variant-numeric: tabular-nums; }
.preuve span { font-size: .93rem; color: #b9b2a7; }

/* ────────────────────────────────────────────────── contenu ───────── */

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.prose { max-width: var(--texte); }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 30px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose table { border-collapse: collapse; width: 100%; margin: 18px 0; }
.prose th, .prose td { padding: 9px 12px; border: 1px solid var(--trait); text-align: left; font-size: .95rem; }
.prose th { background: var(--creme); }
.maj { font-size: .88rem; color: var(--gris-2); }

.encadre {
  padding: 18px 20px; border-radius: var(--r); background: var(--creme);
  border-left: 3px solid var(--vert); margin: 22px 0;
}
.encadre p:last-child { margin-bottom: 0; }
.encadre-att { background: #fff6e8; border-left-color: var(--orange); }

/* ──────────────────────────────────────────────── CTA final ───────── */

.final { text-align: center; }
.final h2 { max-width: 20ch; margin-left: auto; margin-right: auto; }
.final .chapo { margin: 0 auto 26px; }
.final .heros-b { justify-content: center; }
.final .heros-p { margin: 0 auto; }

/* ──────────────────────────────────────────────── responsive ───────── */

@media (max-width: 980px) {
  .heros-in, .duo { grid-template-columns: 1fr; }
  .duo-inv .duo-txt { order: 0; }
  .offres { grid-template-columns: 1fr; }
  .offre-fort { order: -1; }
  .bascule { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .bar-nav, .bar-cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .bar.ouvert .mob { display: block; }
  .sec { padding: 56px 18px; }
  .heros { padding: 38px 18px 52px; }
  body { font-size: 16px; }
  /* Le pouce est en bas : l'action principale y reste, tout le temps. */
  .cta-fixe {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45;
    padding: 15px 18px; border-radius: 999px; text-align: center;
    background: var(--encre); color: var(--blanc); text-decoration: none;
    font-weight: 680; box-shadow: 0 8px 30px rgba(22,24,28,.3);
  }
  .pied { padding-bottom: 84px; }
  .cadre-tel { position: static; width: 168px; margin: 22px auto 0; }
}

@media (pointer: coarse) {
  .bar-nav > a, .menu-b, .mob a, .faq summary { min-height: 44px; }
}

/* ───────────────────────────────────────────────────── pied ───────── */

.pied { background: var(--creme); border-top: 1px solid var(--trait); padding: 56px 20px 0; }
.pied-in {
  max-width: var(--large); margin: 0 auto; display: grid; gap: 28px;
  grid-template-columns: 1.6fr repeat(4, 1fr);
}
.pied-marque img { width: 118px; margin-bottom: 12px; }
.pied-marque p { font-size: .95rem; color: var(--gris); margin-bottom: 6px; }
.pied-note { font-size: .87rem !important; color: var(--gris-2) !important; }
.pied-t { font-size: .78rem; font-weight: 740; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gris-2); margin-bottom: 8px; }
.pied-c a { display: block; padding: 4px 0; font-size: .93rem; color: var(--gris); text-decoration: none; }
.pied-c a:hover { color: var(--encre); text-decoration: underline; }
.pied-bas {
  max-width: var(--large); margin: 40px auto 0; padding: 18px 0 26px;
  border-top: 1px solid var(--trait); display: flex; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.pied-bas p { margin: 0; font-size: .88rem; color: var(--gris-2); }

@media (max-width: 860px) {
  .pied-in { grid-template-columns: 1fr 1fr; }
  .pied-marque { grid-column: 1 / -1; }
}

/* Une valeur légale manquante ne doit pas pouvoir passer inaperçue. */
mark.mq {
  background: #ffe9a8; color: #6b4a00; padding: 1px 7px; border-radius: 5px;
  font-size: .88em; font-weight: 640; white-space: nowrap;
}
