/* ==========================================================================
   Quiétude — landing page
   Charte v3 « Calme éditorial » : sable, sauge, terracotta, encre.
   Polices auto-hébergées (OFL) : Newsreader (titres, chiffres) et
   Hanken Grotesk (interface). Aucune ressource externe, aucun JavaScript.
   ========================================================================== */

/* ---------- Polices ---------- */
@font-face { font-family: "Newsreader"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/newsreader-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/newsreader-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }

/* ---------- Jetons ---------- */
:root {
  --blanc: #FFFFFF;
  --sable: #F4EFE7;
  --sauge: #6B8F71;
  --sauge-fonce: #4B6B52;
  --terracotta: #C9785B;
  --terracotta-fonce: #9A5236;
  --encre: #2E2A26;
  --texte-2: #4A443D;      /* texte secondaire : 9,3:1 sur blanc */
  --texte-3: #6B645C;      /* libellés : 5,7:1 sur blanc, 5,1:1 sur sable */
  --filet: #E7E1D8;
  --filet-fort: #D9D1C5;

  --primaire: var(--sauge-fonce);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --largeur: 1200px;
  --gouttiere: 24px;
  --section: clamp(64px, 9vw, 104px);

  --r-carte: 12px;
  --r-bouton: 10px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol { margin: 0; }
a { color: var(--sauge-fonce); }
a:hover { color: var(--encre); }
:focus-visible { outline: 2px solid var(--terracotta-fonce); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 88px; }

.lien-evitement {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--encre); color: var(--blanc); padding: 10px 16px; border-radius: var(--r-bouton);
}
.lien-evitement:focus { top: 12px; color: var(--blanc); }

.conteneur { max-width: var(--largeur); margin: 0 auto; padding-inline: var(--gouttiere); }
.section { padding-block: var(--section); }
.fond-sable { background: var(--sable); }

/* ---------- Typographie ---------- */
.surtitre {
  margin-bottom: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--texte-3);
}
.titre-1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(42px, 6vw, 68px); line-height: 1.05; letter-spacing: -.015em;
}
.titre-2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 4vw, 46px); line-height: 1.12; letter-spacing: -.015em;
  max-width: 760px;
}
.chapo { margin-top: 20px; color: var(--texte-2); max-width: 640px; }
.serif { font-family: var(--serif); }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  border-radius: var(--r-bouton); border: 1px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; line-height: 1.2;
  transition: background-color .15s ease, border-color .15s ease;
}
.bouton-principal { background: var(--primaire); color: var(--blanc); }
.bouton-principal:hover { background: #3D5943; color: var(--blanc); }
.bouton-secondaire { background: var(--blanc); color: var(--encre); border-color: var(--filet-fort); }
.bouton-secondaire:hover { border-color: var(--encre); color: var(--encre); }
.bouton-petit { min-height: 44px; padding: 10px 18px; font-size: 15px; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--filet);
}
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.marque { display: flex; align-items: center; gap: 10px; color: var(--encre); text-decoration: none; }
.marque:hover { color: var(--encre); }
.marque-nom { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -.015em; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a:not(.bouton) { color: var(--encre); text-decoration: none; }
.nav a:not(.bouton):hover { color: var(--sauge-fonce); }
@media (max-width: 860px) {
  .nav a:not(.bouton) { display: none; }
}

/* ---------- Hero ---------- */
.hero .conteneur {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center; gap: 64px;
  padding-block: clamp(56px, 8vw, 96px);
}
.hero-texte { font-size: 19px; color: var(--texte-2); max-width: 540px; margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.garanties { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; padding: 0; list-style: none; font-size: 14px; color: var(--texte-2); }
.garanties li { display: flex; align-items: center; gap: 8px; }
.pastille { width: 6px; height: 6px; border-radius: 50%; background: var(--sauge); flex: none; }
.pastille-terracotta { background: var(--terracotta); }
@media (max-width: 860px) {
  .hero .conteneur { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Maquette téléphone ---------- */
.telephone {
  width: 320px; max-width: 100%; margin-inline: auto;
  background: var(--encre); border-radius: 44px; padding: 12px;
}
.ecran {
  background: var(--blanc); border-radius: 34px; overflow: hidden;
  height: 620px; padding: 28px 20px 0;
  display: flex; flex-direction: column; gap: 16px;
  font-size: 13px; line-height: 1.4;
}
.ecran .date { font-size: 12px; color: var(--texte-3); }
.ecran .bonjour { font-family: var(--serif); font-size: 28px; letter-spacing: -.015em; }
.ecran .libelle { font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--texte-3); }
.ecran .sous { color: var(--texte-3); }
.carte-ecran { border: 1px solid var(--filet); border-radius: 12px; padding: 14px; }
.prochaine { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.prochaine .heure { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.prochaine .nom { font-family: var(--serif); font-size: 18px; font-weight: 500; }
.rdv { display: flex; gap: 10px; padding: 10px 12px; border: 1px solid var(--filet); border-left: 3px solid var(--sauge); border-radius: 8px; }
.rdv-structure { border-left-color: var(--terracotta); }
.rdv .heure { font-family: var(--serif); font-weight: 500; font-size: 15px; }
.liste-rdv { display: flex; flex-direction: column; gap: 8px; }
.alerte { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: var(--sable); border-radius: 8px; }
.encaisse { border-top: 1px solid var(--filet); padding-top: 12px; }
.encaisse .montant { font-family: var(--serif); font-size: 28px; }
.barre-onglets {
  margin-top: auto; border-top: 1px solid var(--filet);
  display: flex; justify-content: space-around; align-items: center;
  padding: 10px 0 14px; font-size: 10px; color: var(--texte-3);
}
.barre-onglets .actif { color: var(--encre); font-weight: 600; }
.barre-onglets .creer {
  width: 40px; height: 40px; border-radius: 12px; background: var(--primaire); color: var(--blanc);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}

/* ---------- Grilles génériques ---------- */
.trois-colonnes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.bloc-filet { border-top: 1px solid var(--filet-fort); padding-top: 20px; }
.bloc-filet h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.bloc-filet p { color: var(--texte-2); }
@media (max-width: 860px) { .trois-colonnes { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Fonctionnalités ---------- */
.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.carte { border: 1px solid var(--filet); border-radius: var(--r-carte); padding: 28px; background: var(--blanc); }
.carte svg { color: var(--primaire); }
.carte h3 { margin: 16px 0 8px; font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.25; }
.carte p { color: var(--texte-2); }
@media (max-width: 1024px) { .cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .cartes { grid-template-columns: 1fr; } }

/* ---------- Étapes ---------- */
.etapes-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; }
.etapes { padding: 0; list-style: none; counter-reset: etape; }
.etapes li {
  display: flex; gap: 24px; padding: 20px 0;
  border-top: 1px solid var(--filet-fort);
  counter-increment: etape;
}
.etapes li:last-child { border-bottom: 1px solid var(--filet-fort); }
.etapes li::before {
  content: counter(etape);
  font-family: var(--serif); font-size: 30px; line-height: 1.1;
  color: var(--primaire); width: 40px; flex: none;
}
.etapes h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.etapes p { color: var(--texte-2); }
@media (max-width: 860px) { .etapes-grille { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Confidentialité (bloc sombre) ---------- */
.sombre { background: var(--encre); color: var(--sable); }
.sombre .surtitre { color: #BDB4A7; }
.sombre .titre-2 { color: var(--blanc); }
.sombre .chapo { color: var(--filet-fort); }
.engagements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 32px; margin-top: 48px; }
.engagements div { border-top: 1px solid #5A534B; padding-top: 18px; }
.engagements h3 { font-size: 17px; font-weight: 600; color: var(--blanc); margin-bottom: 6px; }
.engagements p { color: var(--filet-fort); font-size: 16px; }
@media (max-width: 1024px) { .engagements { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .engagements { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- À votre image ---------- */
.deux-colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 56px; }
.deux-colonnes p + p { margin-top: 16px; }
.apercus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.apercu { border: 1px solid var(--filet); border-radius: var(--r-carte); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.apercu-libelle { font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--texte-3); }
.apercu-marque { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; font-weight: 500; }
.rond { width: 28px; height: 28px; border-radius: 50%; background: #3F5A7A; flex: none; }
.nuancier { display: flex; gap: 8px; }
.nuancier span { width: 32px; height: 32px; border-radius: 8px; }
.nuancier .clair { background: var(--sable); border: 1px solid var(--filet); }
@media (max-width: 860px) { .deux-colonnes { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 420px) { .apercus { grid-template-columns: 1fr; } }

/* ---------- Bandeau « partout » ---------- */
.bandeau { border-block: 1px solid var(--filet); }
.bandeau .trois-colonnes { margin-top: 0; padding-block: 56px; }
.bandeau .serif { font-size: 30px; line-height: 1.2; }
.bandeau p { margin-top: 6px; color: var(--texte-2); font-size: 16px; }

/* ---------- Tarif ---------- */
.offre {
  max-width: 520px; margin-top: 40px;
  border: 2px solid var(--primaire); border-radius: var(--r-carte);
  padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.offre h3 { font-size: 18px; font-weight: 600; }
.prix { font-family: var(--serif); font-size: 48px; line-height: 1; }
.prix small { font-family: var(--sans); font-size: 16px; color: var(--texte-3); }
.offre ul { padding-left: 20px; color: var(--texte-2); }
.offre li + li { margin-top: 4px; }
.offre .bouton { margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq .titre-2 { margin-bottom: 32px; }
.faq details { border-top: 1px solid var(--filet-fort); }
.faq details:last-of-type { border-bottom: 1px solid var(--filet-fort); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; min-height: 44px;
  font-weight: 600; font-size: 18px; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 26px; line-height: 1; font-weight: 400; color: var(--sauge-fonce);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--texte-2); }

/* ---------- Appel final ---------- */
.appel { text-align: center; }
.appel .logo-grand { margin: 0 auto 24px; color: var(--primaire); }
.appel .titre-2 { margin-inline: auto; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; }
.appel .chapo { margin-inline: auto; max-width: 560px; }
.appel .actions { justify-content: center; }

/* ---------- Pied de page ---------- */
.pied { border-top: 1px solid var(--filet); }
.pied .conteneur {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 32px; font-size: 14px; color: var(--texte-3);
}
.pied .marque-nom { font-size: 20px; color: var(--encre); }
