/* ZonePara Wellness — site vitrine zonepara.app
   Couleurs et polices : charte ZonePara (docs/design). Mobile d'abord (360 px), puis 768 px et 1440 px. */

@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/CormorantGaramond-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/CormorantGaramond-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --green: #1e4634;       /* brand-icon : couleur principale */
  --green-deep: #163526;  /* survol des boutons */
  --cream: #f7f3ea;       /* fond de page */
  --cream-2: #efe8d8;     /* pied de page */
  --paper: #fdfbf6;       /* en-tête, cartes */
  --gold: #d9b864;
  --gold-ink: #6b5417;    /* texte or lisible sur fond clair (contraste AA) */
  --ink: #18211c;
  --ink-muted: #4f5a53;   /* contraste AA sur crème */
  --line: #e4dccb;
  --mint: #dfeae2;
  --radius: 16px;
  --radius-s: 10px;
  --max: 1200px;
  --font-body: "Montserrat", system-ui, sans-serif;
  --font-head: "Cormorant Garamond", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 500; }
h1, h2 { font-family: var(--font-head); color: var(--ink); }
h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; }
p { margin: 0 0 1em; }

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

.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; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--green); color: #fff; padding: 12px 16px; border-radius: var(--radius-s);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.section { padding: 72px 0; }
.section--paper { background: var(--paper); }
.section--cream-2 { background: var(--cream-2); }
.eyebrow {
  display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green); margin-bottom: 12px;
}
.section-title { font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: 36px; }
.lead { font-size: 1.1rem; color: var(--ink-muted); max-width: 46ch; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px; border: 1.5px solid transparent;
  font: 600 0.95rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--green); color: #fff; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #c9a84f; color: var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn--paper:hover { border-color: var(--green); }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--on-dark:hover { border-color: #fff; color: #fff; }
.btn--soon { background: var(--mint); color: var(--green); border-color: var(--mint); cursor: default; }

/* ---------- En-tête ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; }
.brand__name { font-family: var(--font-head); font-weight: 600; font-size: 1.55rem; line-height: 1; }
.brand__name small {
  display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.6rem;
  letter-spacing: 0.25em; color: var(--ink-muted); margin-top: 2px;
}
.nav-links { display: none; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--green); }
.nav-links .btn { min-height: 44px; padding: 8px 18px; }

/* Menu replié sur téléphone (sans JavaScript) */
.menu { position: relative; }
.menu summary {
  list-style: none; cursor: pointer; min-height: 48px; min-width: 48px; padding: 10px 14px;
  border: 1.5px solid var(--line-strong, #7d8780); border-radius: 12px; font-weight: 600; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--green); color: var(--green); }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, 90vw); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(24,33,28,.12);
  padding: 8px; display: grid; gap: 2px;
}
.menu__panel a { display: flex; min-height: 48px; align-items: center; padding: 10px 14px; border-radius: var(--radius-s); color: var(--ink); text-decoration: none; font-weight: 500; }
.menu__panel a:hover { background: var(--cream); }
.menu__panel a[aria-current="page"] { color: var(--green); background: var(--mint); }
.desktop-only { display: none; }

/* ---------- Accroche ---------- */
.hero { padding: 48px 0 72px; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero__kicker { font-size: 0.78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); margin-bottom: 20px; }
.hero__sub { font-size: 1.05rem; color: var(--ink-muted); max-width: 46ch; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Téléphone avec la carte de fidélité (illustration, pas de donnée réelle) */
.phone {
  justify-self: center; width: min(100%, 340px); padding: 14px; border-radius: 36px;
  background: #1b2a22; box-shadow: 0 24px 60px rgba(30,70,52,.25);
}
.phone__screen { background: var(--paper); border-radius: 26px; padding: 22px 18px 24px; }
.phone__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.phone__hello { font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; }
.tier {
  font-size: 0.68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  border: 1.5px solid var(--green); color: var(--green); border-radius: 999px; padding: 3px 10px;
}
.card {
  background: var(--green); color: #fff; border-radius: 20px; padding: 18px;
}
.card__head { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; }
.card__brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; }
.card__brand img { width: 26px; height: 26px; }
.card__qr { background: #fff; border-radius: 14px; padding: 12px; width: 62%; margin: 16px auto; }
.card__qr svg { width: 100%; height: auto; }
.card__balance { display: flex; justify-content: space-between; align-items: flex-end; }
.card__balance span { font-size: .8rem; opacity: .85; display: block; }
.card__points { font-size: 2.1rem; font-weight: 700; line-height: 1; }
.card__points small { font-size: 1rem; font-weight: 500; margin-left: 4px; }

/* ---------- Étapes ---------- */
.steps { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: none; }
.step {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.step__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--mint); color: var(--green);
}
.step__icon--gold { background: #f6eccd; color: var(--gold-ink); }
.step__icon svg { width: 26px; height: 26px; }
.step__no { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.step h3 { margin: 6px 0 10px; font-size: 1.15rem; }
.step p { color: var(--ink-muted); margin: 0; }

/* ---------- Paliers ---------- */
.tiers { display: grid; gap: 16px; }
.tier-card {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.tier-card__badge {
  align-self: flex-start; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: var(--mint); color: var(--green); border-radius: 999px; padding: 4px 12px;
}
.tier-card h3 { font-family: var(--font-head); font-size: 1.7rem; font-weight: 600; }
.tier-card p { color: var(--ink-muted); margin: 0; }
.tier-card--fidele { border-color: var(--green); }
.tier-card--fidele .tier-card__badge { background: transparent; border: 1.5px solid var(--green); }
.tier-card--vip { background: var(--green); border-color: var(--gold); color: #fff; }
.tier-card--vip h3 { color: var(--gold); }
.tier-card--vip p { color: #e3ebe6; }
.tier-card--vip .tier-card__badge { background: var(--gold); color: var(--ink); }
.note { margin-top: 24px; font-size: .9rem; color: var(--ink-muted); }

/* ---------- Boutique ---------- */
.shop { background: var(--green); color: #fff; padding: 72px 0; }
.shop .eyebrow { color: var(--gold); }
.shop h2 { color: #fff; font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: 14px; }
.shop p { color: #dfe8e2; }
.shop__grid { display: grid; gap: 40px; align-items: start; }
.shop__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.info-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.info {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-s);
  padding: 18px; display: flex; gap: 14px; align-items: flex-start;
}
.info svg { width: 24px; height: 24px; flex: none; color: var(--gold); margin-top: 2px; }
.info h3 { color: #fff; font-size: .95rem; margin-bottom: 4px; }
.info p, .info a { color: #e6eee9; margin: 0; font-size: .95rem; }
.info a { text-decoration: none; word-break: break-word; }
.info a:hover { text-decoration: underline; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--cream-2); padding: 28px 0; font-size: .9rem; color: var(--ink-muted); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.site-footer .brand { font-size: .9rem; color: var(--ink-muted); gap: 10px; }
.site-footer .brand img { width: 28px; height: 28px; }

/* ---------- Pages légales ---------- */
.page-head { padding: 56px 0 8px; }
.page-head .eyebrow { margin-bottom: 14px; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); }
.doc-meta { color: var(--ink-muted); font-size: .9rem; margin-top: 12px; }
.doc { padding: 24px 0 72px; }
.doc__inner { max-width: 70ch; }
.toc {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0 40px;
}
.toc h2 { font-family: var(--font-body); font-size: .9rem; font-weight: 600; margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 4px 0; }
.toc a { min-height: 44px; display: inline-flex; align-items: center; }
.doc section { margin-bottom: 36px; scroll-margin-top: 90px; }
.doc h2 { font-family: var(--font-body); font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.doc p, .doc li { font-size: 1rem; color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.faq { margin-bottom: 22px; }
.faq h3 { color: var(--ink); margin-bottom: 4px; }
.faq p { color: var(--ink-muted); margin: 0; }
.delete-box {
  background: var(--paper); border: 1.5px solid var(--line-strong, #7d8780); border-radius: var(--radius); padding: 22px; margin-top: 12px; scroll-margin-top: 90px;
}
.delete-box h2 { margin-bottom: 8px; }
.delete-box p { color: var(--ink-muted); margin: 0; }
.placeholder { background: #f6eccd; border-radius: 4px; padding: 0 3px; }

.notfound { padding: 96px 0; text-align: center; }
.notfound h1 { font-size: clamp(2.6rem, 7vw, 4rem); margin-bottom: 14px; }
.notfound p { color: var(--ink-muted); margin-bottom: 28px; }

/* ---------- Tablette et ordinateur ---------- */
@media (min-width: 600px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .site-footer .wrap { flex-direction: row; align-items: center; }
}
@media (min-width: 768px) {
  .section { padding: 96px 0; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .shop__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .page-head, .doc, .doc-wrap { }
  .doc__inner, .page-head .wrap { max-width: 760px; }
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu { display: none; }
  .desktop-only { display: inline; }
}
@media (min-width: 1100px) {
  .section-title { margin-bottom: 44px; }
}

/* Réduction des animations demandée par le système */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
