/* Guides Dubba : pages statiques, lues par Google sans JavaScript.
   Charte reprise de l'application (nuit + rose), en autonome. */
:root {
  --fond: #09090b;
  --surface: #0f0f13;
  --bord: #26262b;
  --texte: #ededf0;
  --doux: #a1a1aa;
  --rose: #ec4899;
  --rose-clair: #f9a8d4;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 16px/1.7 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.enveloppe { max-width: 46rem; margin: 0 auto; padding: 1.5rem 1.25rem 5rem; }
header.site {
  border-bottom: 1px solid var(--bord);
  padding: 1rem 1.25rem;
}
header.site .interieur {
  max-width: 46rem; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
header.site a.logo { color: var(--rose-clair); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
header.site a.cta {
  background: var(--rose); color: #fff; text-decoration: none;
  padding: .5rem .9rem; border-radius: .7rem; font-weight: 700; font-size: .85rem;
  white-space: nowrap;
}
nav.fil { font-size: .8rem; color: var(--doux); margin: 1.25rem 0 .5rem; }
nav.fil a { color: var(--doux); }
h1 { font-size: clamp(1.6rem, 5vw, 2.3rem); line-height: 1.2; margin: .3rem 0 1rem; letter-spacing: -.02em; }
h2 { font-size: 1.3rem; margin: 2.5rem 0 .75rem; letter-spacing: -.01em; }
h3 { font-size: 1.05rem; margin: 1.75rem 0 .5rem; }
p, li { color: #d4d4d8; }
a { color: var(--rose-clair); }
.chapeau { font-size: 1.08rem; color: var(--doux); }
ol, ul { padding-left: 1.25rem; }
li { margin: .4rem 0; }
.encadre {
  background: var(--surface); border: 1px solid var(--bord);
  border-radius: .9rem; padding: 1rem 1.15rem; margin: 1.5rem 0;
}
.encadre p:first-child { margin-top: 0; }
.encadre p:last-child { margin-bottom: 0; }
.bouton {
  display: inline-block; background: var(--rose); color: #fff; text-decoration: none;
  padding: .8rem 1.4rem; border-radius: .8rem; font-weight: 700; margin: 1.5rem 0 .5rem;
}
.faq h3 { color: var(--rose-clair); }
footer.site {
  border-top: 1px solid var(--bord); margin-top: 3rem; padding: 1.5rem 1.25rem;
  font-size: .85rem; color: var(--doux);
}
footer.site .interieur { max-width: 46rem; margin: 0 auto; }
footer.site a { color: var(--doux); }
.liens-guides { display: grid; gap: .6rem; margin: 1.25rem 0; }
.liens-guides a {
  display: block; background: var(--surface); border: 1px solid var(--bord);
  border-radius: .8rem; padding: .9rem 1rem; text-decoration: none; color: var(--texte);
  font-weight: 600;
}
.liens-guides a span { display: block; font-weight: 400; font-size: .85rem; color: var(--doux); margin-top: .2rem; }

/* ── Éléments visuels ────────────────────────────────────────────────── */

/* Bandeau de tête : donne une identité à la page sans image lourde. */
.hero {
  background: radial-gradient(120% 100% at 20% 0%, rgba(236,72,153,.16), transparent 60%);
  border: 1px solid var(--bord);
  border-radius: 1.1rem;
  padding: 1.5rem 1.4rem;
  margin: 1rem 0 1.75rem;
}
.hero h1 { margin: 0 0 .6rem; }
.hero p { margin: 0; color: var(--doux); font-size: 1.05rem; }
.etiquette {
  display: inline-block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rose-clair); background: rgba(236,72,153,.12);
  border: 1px solid rgba(236,72,153,.25); border-radius: 999px;
  padding: .25rem .7rem; margin-bottom: .8rem; font-weight: 700;
}

/* Étapes numérotées, en cartes. */
.etapes { display: grid; gap: .8rem; margin: 1.5rem 0; counter-reset: pas; }
.etape {
  display: grid; grid-template-columns: 2.1rem 1fr; gap: .9rem; align-items: start;
  background: var(--surface); border: 1px solid var(--bord);
  border-radius: .9rem; padding: 1rem 1.1rem;
}
.etape::before {
  counter-increment: pas; content: counter(pas);
  display: flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: .6rem;
  background: var(--rose); color: #fff; font-weight: 800; font-size: .95rem;
}
.etape h3 { margin: .2rem 0 .3rem; font-size: 1rem; }
.etape p { margin: 0; font-size: .94rem; }

/* Tableau de comparaison. */
.tableau { width: 100%; overflow-x: auto; margin: 1.5rem 0; }
.tableau table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 30rem; }
.tableau th, .tableau td {
  text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--bord);
  vertical-align: top;
}
.tableau th { color: var(--rose-clair); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.tableau tr:last-child td { border-bottom: none; }
.oui { color: #4ade80; font-weight: 700; }
.non { color: #f87171; font-weight: 700; }

/* Schéma en ligne : SVG, aucune requête réseau supplémentaire. */
.schema {
  background: var(--surface); border: 1px solid var(--bord);
  border-radius: .9rem; padding: 1.2rem; margin: 1.5rem 0; overflow-x: auto;
}
.schema svg { display: block; width: 100%; height: auto; max-width: 100%; }
.schema figcaption { color: var(--doux); font-size: .85rem; margin-top: .8rem; text-align: center; }

/* Deux colonnes « à faire / à éviter ». */
.deux { display: grid; gap: .9rem; margin: 1.5rem 0; }
@media (min-width: 34rem) { .deux { grid-template-columns: 1fr 1fr; } }
.bloc { border: 1px solid var(--bord); border-radius: .9rem; padding: 1rem 1.1rem; background: var(--surface); }
.bloc.bien { border-color: rgba(74,222,128,.3); }
.bloc.mal { border-color: rgba(248,113,113,.3); }
.bloc h3 { margin: 0 0 .5rem; font-size: .95rem; }
.bloc.bien h3 { color: #4ade80; }
.bloc.mal h3 { color: #f87171; }
.bloc ul { margin: 0; padding-left: 1.1rem; }
.bloc li { font-size: .92rem; }
