/* ==========================================================================
   Duk Duk Store — feuille de styles unique
   Direction : rétro-moderne chaleureux, boutique de quartier, encre et crème.
   ========================================================================== */

/* --- Jetons de design --------------------------------------------------- */
:root {
  --cream: #fbf6ee;
  --cream-deep: #f4ebdd;
  --surface: #ffffff;
  --ink: #241f1a;
  --ink-soft: #4b423a;
  --ink-mute: #6d6157;
  --mustard: #d99a2b;
  --mustard-dark: #b3781a;
  --mustard-wash: #f8e8c6;
  --burgundy: #7c2f3d;
  --burgundy-dark: #63222e;
  --burgundy-wash: #f6e3e5;
  --line: #ecdfcc;
  --line-strong: #dcc9ad;
  --ok: #2f6b4f;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(36, 31, 26, .06), 0 4px 10px rgba(36, 31, 26, .05);
  --shadow-md: 0 2px 4px rgba(36, 31, 26, .05), 0 12px 30px rgba(36, 31, 26, .08);
  --shadow-lg: 0 6px 12px rgba(36, 31, 26, .06), 0 24px 60px rgba(36, 31, 26, .12);

  --wrap: 1140px;
  --head-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- Réglages de base --------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body-sans);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }

a {
  color: var(--burgundy);
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}
a:hover { text-decoration-color: currentColor; }

h1, h2, h3, h4 {
  font-family: var(--head-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 6.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.45rem); }
h4 { font-size: 1.05rem; margin-bottom: .4em; }

strong { font-weight: 650; }
small { font-size: .86rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  transition: top .18s ease;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

.lead {
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 62ch;
}

.muted { color: var(--ink-mute); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.tight { margin-bottom: 0; }

/* --- Barre supérieure --------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: #f7efe4;
  font-size: .82rem;
  letter-spacing: .02em;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding-block: 6px;
  text-align: center;
}
.topbar span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { flex: none; color: var(--mustard); }

/* --- En-tête ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 246, 238, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  flex: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 13px;
  background: var(--mustard-wash);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name {
  font-family: var(--head-serif);
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -.02em;
}
.brand-sub {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ink-mute);
}

.nav-main { display: none; }
.nav-main ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-main li { margin: 0; }
.nav-main a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-pill);
  font-size: .93rem;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.nav-main a:hover { background: var(--cream-deep); color: var(--ink); }
.nav-main a[aria-current="page"] {
  background: var(--mustard-wash);
  color: var(--burgundy-dark);
  font-weight: 600;
}

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.cta-short { display: none; }

/* --- Boutons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  font: inherit;
  font-size: .95rem;
  font-weight: 620;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--burgundy);
  color: #fff;
  box-shadow: 0 6px 16px rgba(124, 47, 61, .26);
}
.btn-primary:hover { background: var(--burgundy-dark); }

.btn-mustard {
  background: var(--mustard);
  color: #2a1d07;
  box-shadow: 0 6px 16px rgba(217, 154, 43, .3);
}
.btn-mustard:hover { background: #e7a93c; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--ink-mute); }

.btn-sm { min-height: 40px; padding: 9px 16px; font-size: .87rem; }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; padding: 15px 30px; font-size: 1rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.6rem;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  border-radius: 13px;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-panel {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.mobile-panel.is-open { display: block; }
.mobile-panel ul {
  list-style: none;
  margin: 0;
  padding: 12px 20px 20px;
}
.mobile-panel li { margin: 0; }
.mobile-panel a {
  display: block;
  padding: 12px 6px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.mobile-panel .btn { margin-top: 16px; }

/* --- Sections ----------------------------------------------------------- */
.section { padding-block: clamp(2.6rem, 7vw, 4.8rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3rem); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.section--cream { background: var(--cream-deep); }
.section--ink { background: var(--ink); color: #f7efe4; }
.section--ink h1,
.section--ink h2,
.section--ink h3 { color: #fff; }
.section--ink .lead { color: #dfd3c4; }
.section--ink a { color: var(--mustard); }

.section-head { max-width: 70ch; margin-bottom: 2.2rem; }
.section-head p:last-child { margin-bottom: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: .9rem;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--mustard-wash);
  border: 1px solid #e7cd9b;
  color: var(--burgundy-dark);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.kicker--ink {
  background: rgba(217, 154, 43, .18);
  border-color: rgba(217, 154, 43, .45);
  color: #f5d79c;
}

/* --- Héros -------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.2rem, 6vw, 4rem) clamp(2.4rem, 6vw, 4.4rem);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -140px -180px auto;
  width: 460px;
  height: 460px;
  border-radius: 44% 56% 52% 48%;
  background: radial-gradient(circle at 40% 35%, #f7e6c2, #f3e8d8 65%, transparent 72%);
  opacity: .9;
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 3.4rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1rem; }
.hero h1 em {
  font-style: normal;
  isolation: isolate;
  color: var(--burgundy);
  position: relative;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: .06em;
  height: .3em;
  background: rgba(217, 154, 43, .38);
  border-radius: 4px;
  z-index: -1;
  transform: rotate(-.7deg);
}

/* Cartouche prix du héros */
.price-teaser {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin: 1.5rem 0 0;
  padding: 16px 20px 16px 18px;
  background: var(--surface);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  max-width: 520px;
}
.price-teaser::before {
  content: "";
  position: absolute;
  inset: 6px -7px -7px 6px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-lg);
  z-index: -1;
}
.price-teaser__big {
  font-family: var(--head-serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--burgundy);
  letter-spacing: -.03em;
}
.price-teaser__big small {
  display: block;
  font-family: var(--body-sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 6px;
}
.price-teaser__txt { flex: 1 1 170px; font-size: .95rem; line-height: 1.45; }
.price-teaser__txt strong { display: block; }
.price-teaser .btn { flex: 1 1 100%; }

.hero-art {
  position: relative;
  padding: 8px;
}
.hero-art svg {
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

/* Pastilles collantes */
.sticker {
  position: absolute;
  z-index: 2;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--ink);
  white-space: nowrap;
}
.sticker--mustard {
  background: var(--mustard);
  color: #2a1d07;
  transform: rotate(-4deg);
}
.sticker--burgundy {
  background: var(--burgundy);
  color: #fff;
  border-color: #4a1822;
  transform: rotate(3.5deg);
}
.sticker--cream {
  background: var(--cream);
  color: var(--ink);
  transform: rotate(-2deg);
}

/* --- Cartes ------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.2rem, 3vw, 1.8rem);
  box-shadow: var(--shadow-sm);
}
.card > :last-child { margin-bottom: 0; }
.card--flat { box-shadow: none; }
.card--mustard {
  background: linear-gradient(160deg, #fdf3df, #fae9c8);
  border-color: #e9d2a5;
}
.card--burgundy {
  background: linear-gradient(160deg, #fdf0f1, #f8e2e5);
  border-color: #e9c9ce;
}
.card--ink {
  background: var(--ink);
  color: #f3e9dc;
  border-color: #3a322a;
}
.card--ink h3 { color: #fff; }
.card--ink a { color: var(--mustard); }

.grid { display: grid; gap: clamp(1rem, 2.6vw, 1.5rem); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* --- Icônes ------------------------------------------------------------- */
.icon-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 15px;
  background: var(--mustard-wash);
  border: 1px solid #e7cd9b;
  color: var(--burgundy);
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--burgundy { background: var(--burgundy-wash); border-color: #e3c3c9; }
.icon-badge--ink { background: rgba(217, 154, 43, .16); border-color: rgba(217, 154, 43, .4); color: var(--mustard); }

/* --- Listes à cocher ---------------------------------------------------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .96rem;
}
.check-list li:last-child { border-bottom: 0; }
.check-list svg { flex: none; margin-top: 3px; }
.check-list--ok svg { color: var(--ok); }
.check-list--no svg { color: var(--burgundy); }

/* --- Chiffres clés ------------------------------------------------------ */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat {
  background: var(--surface);
  padding: 20px 18px;
}
.stat b {
  display: block;
  font-family: var(--head-serif);
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  line-height: 1;
  color: var(--burgundy);
  margin-bottom: .35rem;
  letter-spacing: -.03em;
}
.stat span { font-size: .87rem; color: var(--ink-soft); }

/* --- Tarifs ------------------------------------------------------------- */
.plans { display: grid; gap: clamp(1rem, 2.5vw, 1.4rem); }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.plan--featured {
  border-color: var(--burgundy);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #fff8f9, var(--surface) 40%);
}
.plan__ribbon {
  position: absolute;
  top: -13px;
  left: 1.2rem;
  background: var(--burgundy);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  transform: rotate(-1.6deg);
  box-shadow: var(--shadow-sm);
}
.plan__name {
  font-family: var(--head-serif);
  font-size: 1.35rem;
  margin-bottom: .2rem;
}
.plan__sub { font-size: .88rem; color: var(--ink-mute); margin-bottom: 1rem; }
.plan__price {
  font-family: var(--head-serif);
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: .3rem;
}
.plan__price span { font-family: var(--body-sans); font-size: .9rem; font-weight: 600; color: var(--ink-mute); letter-spacing: 0; }
.plan__price small {
  display: block;
  font-family: var(--body-sans);
  font-size: .78rem;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0;
  margin-top: .4rem;
}
.plan .check-list { margin: 1.1rem 0 1.4rem; flex: 1; }
.plan .btn { margin-top: auto; }
.plan__vat { font-size: .78rem; color: var(--ink-mute); margin: .7rem 0 0; text-align: center; }

.billing-toggle {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--surface);
  gap: 4px;
}
.billing-toggle button {
  font: inherit;
  font-size: .86rem;
  font-weight: 600;
  padding: 8px 16px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.price-alt { display: none; }
.is-annual .price-alt { display: block; }
.is-annual .price-main { display: none; }

/* --- Tableaux ----------------------------------------------------------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .92rem;
  min-width: 560px;
}
caption {
  text-align: left;
  padding: 14px 16px;
  font-size: .85rem;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--line);
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead th {
  background: var(--cream-deep);
  font-weight: 650;
  font-size: .85rem;
  letter-spacing: .02em;
  color: var(--ink);
}
tbody tr:last-child td { border-bottom: 0; }
td.num { white-space: nowrap; font-variant-numeric: tabular-nums; }

/* --- Citation / avis ---------------------------------------------------- */
.quote {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  height: 100%;
}
.quote p { font-size: .97rem; margin: 0; flex: 1; }
.quote footer { font-size: .85rem; color: var(--ink-mute); }
.quote footer b { display: block; color: var(--ink); font-size: .92rem; }
.stars { display: flex; gap: 2px; color: var(--mustard-dark); }

/* --- Accordéon FAQ ------------------------------------------------------ */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 4px;
  cursor: pointer;
  font-family: var(--head-serif);
  font-size: 1.06rem;
  font-weight: 600;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--burgundy); }
.faq-item summary .sign {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-family: var(--body-sans);
  font-size: 1rem;
  line-height: 1;
  color: var(--ink-mute);
  transition: transform .2s ease, background .2s ease;
}
.faq-item[open] summary .sign { transform: rotate(45deg); background: var(--mustard-wash); color: var(--burgundy); border-color: var(--mustard); }
.faq-item .faq-body { padding: 0 40px 18px 4px; color: var(--ink-soft); }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* --- Étapes ------------------------------------------------------------- */
.steps { display: grid; gap: 1rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--mustard);
  border-radius: var(--r-md);
  padding: 1.1rem 1.3rem 1.1rem 3.6rem;
  counter-increment: step;
  margin: 0;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--mustard);
  font-family: var(--head-serif);
  font-size: .95rem;
  font-weight: 700;
}
.steps h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.steps p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* --- Encarts ------------------------------------------------------------ */
.note {
  display: flex;
  gap: 13px;
  padding: 15px 18px;
  border-radius: var(--r-md);
  background: var(--mustard-wash);
  border: 1px solid #e7cd9b;
  font-size: .92rem;
}
.note svg { flex: none; color: var(--burgundy); margin-top: 2px; }
.note p:last-child { margin-bottom: 0; }
.note--burgundy { background: var(--burgundy-wash); border-color: #e3c3c9; }
.note--ink { background: #2d2620; border-color: #443a30; color: #ece0d2; }
.note--ink svg { color: var(--mustard); }

.disclaimer {
  font-size: .88rem;
  color: var(--ink-mute);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: 2rem;
  max-width: 75ch;
}

/* --- Formulaire --------------------------------------------------------- */
.form-grid { display: grid; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 620; font-size: .92rem; }
.field .hint { font-size: .8rem; color: var(--ink-mute); }
.field .req { color: var(--burgundy); }

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  font: inherit;
  font-size: .97rem;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--burgundy); }
textarea { resize: vertical; min-height: 130px; }

.choice-group { display: grid; gap: .55rem; }
.choice {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  cursor: pointer;
  font-size: .94rem;
}
.choice:hover { border-color: var(--ink-mute); }
.choice input { margin-top: 4px; accent-color: var(--burgundy); width: 18px; height: 18px; flex: none; }
.choice b { display: block; }
.choice small { color: var(--ink-mute); }
.choice:has(input:checked) { border-color: var(--burgundy); background: #fff8f9; box-shadow: inset 0 0 0 1px var(--burgundy); }

.checkbox-line { display: flex; gap: 11px; align-items: flex-start; font-size: .9rem; }
.checkbox-line input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--burgundy); }
.checkbox-line.has-error { color: var(--burgundy-dark); }
.checkbox-line.has-error input { outline: 2px solid var(--burgundy); outline-offset: 2px; }

.form-error { color: var(--burgundy-dark); font-size: .82rem; font-weight: 600; display: none; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--burgundy); }
.field.has-error .form-error { display: block; }

.form-status {
  display: none;
  margin-top: 1.2rem;
  padding: 18px 20px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--ok);
  background: #f0f7f2;
}
.form-status.is-visible { display: block; }
.form-status h3 { color: var(--ok); margin-bottom: .4rem; }

/* --- Bannière cookies --------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 150;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  display: none;
}
.cookie-banner.is-open { display: block; }
.cookie-banner h2 { font-size: 1.12rem; margin-bottom: .4rem; }
.cookie-banner p { font-size: .9rem; margin-bottom: 1rem; }
.cookie-banner .btn-row { margin-top: .2rem; }
.cookie-prefs { display: none; margin-bottom: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.cookie-prefs.is-open { display: block; }
.cookie-prefs .checkbox-line { margin-bottom: .6rem; }

/* --- Pied de page ------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #d9cdbf;
  padding-top: clamp(2.4rem, 6vw, 3.6rem);
  font-size: .92rem;
}
.site-footer h2 { color: #fff; font-size: 1.02rem; margin-bottom: .9rem; }
.site-footer a { color: #e8dbcb; text-decoration-color: #6d5d4d; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand-mark { background: rgba(217, 154, 43, .18); border-color: #5b4a37; }
.footer-brand .brand-sub { color: #a4978a; }
.footer-brand p { color: #c3b6a7; font-size: .89rem; }
.footer-lists { display: grid; gap: 1.6rem; }
.footer-lists ul { list-style: none; padding: 0; margin: 0; }
.footer-lists li { margin-bottom: .5rem; }
.footer-bottom {
  margin-top: 2.2rem;
  border-top: 1px solid #3d342c;
  padding-block: 1.4rem 2rem;
  font-size: .82rem;
  color: #a4978a;
  display: grid;
  gap: .8rem;
}
.footer-legal-id { font-style: normal; }
.footer-legal-id span { display: block; }

/* --- Fil d'ariane / page-head ------------------------------------------ */
.page-head {
  padding-block: clamp(1.8rem, 5vw, 3rem) clamp(1.2rem, 3vw, 1.8rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream-deep), var(--cream));
}
.breadcrumb { font-size: .84rem; margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }
.page-head h1 { margin-bottom: .8rem; max-width: 22ch; }

/* --- Divers ------------------------------------------------------------- */
.prose { max-width: 72ch; }
/* colonne de lecture alignée à gauche quand le bloc porte aussi .wrap */
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: 74ch; }
.wrap.prose .table-scroll { max-width: none; }
.wrap.prose .stats { max-width: none; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose > :first-child { margin-top: 0; }

.split {
  display: grid;
  gap: 1.2rem;
}

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-row li {
  margin: 0;
  padding: 6px 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.deco-tilt { transform: rotate(-1.2deg); }

.logo-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.logo-wall div {
  background: var(--surface);
  display: grid;
  place-items: center;
  padding: 20px 12px;
  font-family: var(--head-serif);
  font-size: 1rem;
  color: var(--ink-soft);
  text-align: center;
}

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

.toc { font-size: .93rem; }
.toc ol { padding-left: 1.2rem; }

/* --- Adaptations -------------------------------------------------------- */
@media (min-width: 600px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .footer-lists { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .price-teaser .btn { flex: 0 0 auto; }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 780px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .form-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.15fr 2fr; }
  .page-head h1 { font-size: clamp(2.2rem, 4vw, 3rem); }
}

@media (min-width: 960px) {
  .nav-main { display: block; }
  .nav-toggle { display: none; }
  .mock-panel { display: none; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(5, 1fr); }
  .split--wide { grid-template-columns: 1.3fr 1fr; }
}

@media (min-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .cookie-banner {
    left: auto;
    right: 20px;
    bottom: 20px;
    width: 420px;
  }
}

@media (max-width: 520px) {
  h1 { font-size: clamp(1.85rem, 8.4vw, 2.4rem); }
  .hero h1 em { white-space: normal; }
}

@media (max-width: 560px) {
  .header-actions .cta-long { display: none; }
  .header-actions .cta-short { display: inline; }
  .brand-sub { display: none; }
  .brand { min-width: 0; }
  .header-inner { gap: 8px; }
  .brand-name { font-size: 1.02rem; }
}

@media (max-width: 380px) {
  .wrap { padding-inline: 14px; }
  .btn { padding-inline: 18px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 11px; }
  .brand-name { font-size: .98rem; }
  .header-actions .btn-sm { padding-inline: 12px; }
  .plan__price { font-size: 2.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .cookie-banner, .topbar, .btn { display: none !important; }
  body { background: #fff; }
}


/* --- совсем узкие экраны: кнопка в шапке уступает место бургеру --- */
@media (max-width: 359px) {
  .header-actions > a.btn { display: none; }
  .header-actions { gap: 6px; }
}
