/* ── tokens ── */
:root {
  --bg:      #f5efe5;
  --bg2:     #ece5d8;
  --ink:     #1c1410;
  --teal:    #1d5c6e;
  --teal2:   #16495a;
  --on-teal: #ffffff;
  --gold:    #b8955a;
  --muted:   #6f645b;
  --surface: #f0e9de;
  --rule:    #d4c8b8;
  --band-bg:   #1c1410;
  --band-text: #f5efe5;
  --band-gold: #c9a970;

  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(56px, 9vw, 96px);
  --maxw: 1160px;
  --nav-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:      #0f0d0b;
    --bg2:     #18150f;
    --ink:     #ede7dc;
    --teal:    #4aa3ba;
    --teal2:   #5ab3cb;
    --on-teal: #0f0d0b;
    --gold:    #c9a970;
    --muted:   #a0968d;
    --surface: #1a1510;
    --rule:    #302820;
    --band-bg:   #1c1713;
    --band-text: #ede7dc;
    --band-gold: #c9a970;
  }
}
:root[data-theme="dark"] {
  --bg:      #0f0d0b;
  --bg2:     #18150f;
  --ink:     #ede7dc;
  --teal:    #4aa3ba;
  --teal2:   #5ab3cb;
  --on-teal: #0f0d0b;
  --gold:    #c9a970;
  --muted:   #a0968d;
  --surface: #1a1510;
  --rule:    #302820;
  --band-bg:   #1c1713;
  --band-text: #ede7dc;
  --band-gold: #c9a970;
}

/* ── reset / base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
          text-size-adjust: 100%;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: clamp(16px, 0.94rem + 0.2vw, 18px);
  line-height: 1.75;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; }

/* ── utility ── */
.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── NAV ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-h);
}
.nav-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; font-weight: 300;
  font-size: 1.5rem;
  color: var(--teal);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-links {
  display: flex; flex-wrap: wrap; justify-content: flex-end;
  gap: 8px 28px; list-style: none;
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 400;
}
.nav-links a { color: var(--muted); transition: color 0.2s; padding-block: 6px; display: inline-block; }
.nav-links a:hover { color: var(--teal); }
.nav-links .cta-link { color: var(--teal); font-weight: 700; }
#nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--rule); border-radius: 2px;
  cursor: pointer; color: var(--ink); font-size: 1.3rem; line-height: 1;
}

/* ── HERO ── */
#accueil {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 1fr);
}
.hero-text {
  /* aligne le texte sur le conteneur centré, la colonne visuelle va au bord */
  padding-block: clamp(48px, 8vw, 96px);
  padding-inline-start: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  padding-inline-end: clamp(24px, 4vw, 48px);
  max-width: 100%;
}
.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 24px;
}
.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; font-weight: 300;
  font-size: clamp(3rem, 8vw + 0.5rem, 5.5rem);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-headline em { font-style: normal; color: var(--teal); }
.hero-sub {
  font-size: 1.05rem; color: var(--muted); line-height: 1.7;
  max-width: 52ch; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px 16px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 28px;
  font-family: inherit; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700;
  text-align: center;
  cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary { background: var(--teal); color: var(--on-teal); }
.btn-primary:hover { background: var(--teal2); }
.btn-outline { border: 1px solid var(--rule); color: var(--muted); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.hero-poem {
  align-self: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; font-size: 1.2rem;
  color: var(--muted); line-height: 1.9;
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin-inline-end: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  margin-block: 48px;
}
.hero-poem p + p { margin-top: 1.6em; }

/* ── SECTION base ── */
section { padding-block: var(--section-y); }
#accueil { padding-block: 0; }
.section-label {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 16px;
}
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300; font-size: clamp(2rem, 4.5vw + 0.5rem, 3.2rem);
  line-height: 1.15;
  margin-bottom: clamp(32px, 5vw, 48px);
}
.section-title em { font-style: italic; color: var(--teal); }
.section-title--tight { margin-bottom: 24px; }

/* ── POURQUOI ── */
#pourquoi { background: var(--bg2); }
.pourquoi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); align-items: start; }
.pourquoi-col p { margin-bottom: 1.3em; color: var(--muted); }
.pourquoi-col p:last-child { margin-bottom: 0; }
.pourquoi-col .pourquoi-pullquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; font-size: clamp(1.25rem, 1.6vw + 0.8rem, 1.5rem);
  line-height: 1.5; color: var(--teal);
  border-top: 2px solid var(--teal);
  padding-top: 24px; margin-bottom: 28px;
}

/* ── COMMENT ── */
#comment { background: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; counter-reset: step; }
.step {
  position: relative;
  background: var(--surface);
  padding: 28px 22px;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem; font-weight: 300; color: var(--rule);
  display: block; line-height: 1; margin-bottom: 16px;
}
.step h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600; font-size: 1.15rem;
  color: var(--teal); margin-bottom: 10px;
}
.step p { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }
.step.free { outline: 2px solid var(--gold); outline-offset: -2px; }
.step.free::after {
  content: 'Gratuit';
  position: absolute; top: 14px; right: 14px;
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.steps-note { margin-top: 16px; font-size: 0.82rem; color: var(--muted); text-align: right; }

/* ── HELENE ── */
#helene { background: var(--bg2); }
.helene-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.helene-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: saturate(0.85) brightness(0.98); }
.helene-photo-caption {
  margin-top: 16px;
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: 1rem; color: var(--muted); text-align: center;
}
.helene-bio p { margin-bottom: 1.3em; color: var(--muted); }
.helene-bio .accent {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: 1.25rem; color: var(--ink); line-height: 1.6;
  margin-bottom: 1.6em;
}
.deo-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600; font-size: 1.2rem;
  color: var(--teal); margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.deo-list { list-style: none; display: grid; gap: 10px; }
.deo-list li {
  display: flex; gap: 12px; align-items: baseline;
  font-size: 0.95rem; color: var(--muted); padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.deo-list li::before { content: '—'; color: var(--gold); flex-shrink: 0; }

/* ── TARIFS ── */
#tarifs { background: var(--bg); }
.tarifs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; }
.tarif-card { background: var(--surface); padding: 32px 26px; }
.tarif-card.featured { background: var(--teal); color: var(--on-teal); position: relative; }
.tarif-card.featured .tarif-name,
.tarif-card.featured .tarif-sub,
.tarif-card.featured .tarif-details li { color: color-mix(in srgb, var(--on-teal) 78%, transparent); }
.tarif-card.featured .tarif-price,
.tarif-card.featured .tarif-label { color: var(--on-teal); }
.tarif-card.featured .tarif-badge {
  position: absolute; top: 16px; right: 16px;
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--gold); color: #1c1410; font-weight: 700; padding: 3px 8px;
}
.tarif-name {
  font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-bottom: 12px;
}
.tarif-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem; font-weight: 600; color: var(--ink);
  margin-bottom: 20px; line-height: 1.25;
}
.tarif-price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 2vw + 1rem, 2.1rem); font-weight: 400; color: var(--teal);
  line-height: 1; margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tarif-price small { font-family: 'Lato', system-ui, sans-serif; font-size: 0.8rem; letter-spacing: 0.08em; }
.tarif-sub { font-size: 0.8rem; color: var(--muted); margin-bottom: 24px; }
.tarif-details { list-style: none; display: grid; gap: 6px; }
.tarif-details li { font-size: 0.9rem; color: var(--muted); display: flex; gap: 8px; }
.tarif-details li::before { content: '·'; color: var(--gold); flex-shrink: 0; }
.tarif-special {
  grid-column: 1 / -1;
  background: var(--bg2); padding: 32px clamp(24px, 4vw, 40px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center;
}
.tarif-special h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem; font-weight: 600; color: var(--teal); margin-bottom: 8px;
}
.tarif-special p { font-size: 0.95rem; color: var(--muted); max-width: 62ch; }
.tarif-special .badge {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal); white-space: nowrap;
  border: 1px solid var(--teal); padding: 8px 20px;
}
.tarif-horaire {
  margin-top: 2px; background: var(--surface); padding: 24px clamp(24px, 4vw, 32px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap;
}
.tarif-horaire p { font-size: 0.92rem; color: var(--muted); }
.tarif-horaire strong { color: var(--teal); font-weight: 700; }

/* ── LIVRES ── */
#livres { background: var(--bg2); }
.livres-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.livre-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; transition: filter 0.3s; filter: saturate(0.85); }
.livre-card:hover img { filter: saturate(1.1) brightness(1.05); }
.livre-download {
  margin-top: 40px; text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: 1.2rem; color: var(--muted);
}
.livre-download a { color: var(--teal); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.livre-download a:hover { color: var(--gold); }

/* ── CONTACT ── */
#contact { background: var(--bg2); border-top: 2px solid var(--teal); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 80px); align-items: center; }
.contact-left .section-title { margin-bottom: 24px; }
.contact-left > p { color: var(--muted); max-width: 50ch; margin-bottom: 36px; }
.contact-info { display: grid; gap: 14px; }
.contact-item { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: baseline; font-size: 0.98rem; }
.ci-label {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.ci-text { color: var(--muted); }
.contact-item a { color: var(--teal); display: inline-block; padding-block: 4px; }
.contact-item a:hover { color: var(--gold); }
.contact-deo { border-left: 2px solid var(--gold); padding-left: 24px; }

/* ── FOOTER ── */
footer {
  background: var(--band-bg); color: color-mix(in srgb, var(--band-text) 70%, transparent);
  padding: 24px var(--gutter); font-size: 0.82rem;
  display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap;
}
footer a { color: var(--band-gold); }
footer a:hover { color: var(--band-text); }
.footer-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; color: var(--band-text); font-size: 1.1rem;
}


/* ── GALERIE (slider 2 par 2 + lightbox) ── */
.gallery { --g: 16px; max-width: 820px; margin: 0 auto; }
.gallery-stage { display: flex; align-items: center; gap: 12px; }
.gallery-viewport { flex: 1; min-width: 0; overflow: hidden; touch-action: pan-y; }
.gallery-track {
  --page: 0;
  display: flex; gap: var(--g);
  transform: translateX(calc(var(--page) * -1 * (100% + var(--g))));
  transition: transform 300ms ease;
}
.gallery-item {
  flex: 0 0 calc((100% - var(--g)) / 2);
  aspect-ratio: 11 / 16;
  padding: 0; border: 0; background: var(--surface); cursor: zoom-in;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item:focus-visible, .gallery-arrow:focus-visible, .gallery-dot:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.gallery-arrow {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--rule); background: var(--bg); color: var(--teal);
  font-size: 1.8rem; line-height: 1; padding: 0 0 4px; cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.gallery-arrow:hover:not(:disabled) { background: var(--teal); color: var(--on-teal); }
.gallery-arrow:disabled { opacity: 0.35; cursor: default; }
.gallery-footer { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 16px; }
.gallery-status { font-size: 0.9rem; color: var(--muted); }
.gallery-dots { display: flex; gap: 8px; }
.gallery-dot { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--rule); cursor: pointer; }
.gallery-dot.is-active { background: var(--teal); }

.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 8, 6, 0.88);
}
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 90vw; max-height: 90vh; width: auto; height: auto; object-fit: contain; }
.lightbox-close, .lightbox-nav {
  position: absolute; border: 0; background: rgba(255,255,255,0.12); color: #fff;
  width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox-close:hover, .lightbox-nav:hover:not(:disabled) { background: rgba(255,255,255,0.28); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); padding-bottom: 4px; }
.lightbox-nav:disabled { opacity: 0.3; cursor: default; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-count { position: absolute; bottom: 14px; left: 0; right: 0; margin: 0; text-align: center; color: #ddd; font-size: 0.9rem; }
@media (max-width: 640px) {
  .gallery { --g: 10px; }
  .gallery-arrow { width: 36px; height: 36px; font-size: 1.5rem; }
  .gallery-stage { gap: 6px; }
}

/* ═════════ RESPONSIVE ═════════ */

/* tablette large : 5 étapes → 2 + 3, 4 tarifs → 2×2, 3 témoignages → 2 */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .step { grid-column: span 2; }
  .step:nth-child(1), .step:nth-child(2) { grid-column: span 3; }
  .tarifs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* tablette : menu burger, hero empilé, colonnes simples */
@media (max-width: 900px) {
  :root { --nav-h: 60px; }
  #nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    flex-direction: column; flex-wrap: nowrap; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 16px;
    font-size: 0.85rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--rule); }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a { display: block; padding-block: 14px; }

  #accueil { grid-template-columns: minmax(0, 1fr); }
  .hero-text { padding-inline: var(--gutter); padding-bottom: 40px; }
  .hero-poem { margin: 0 var(--gutter) 48px; }

  .pourquoi-grid,
  .helene-grid,
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .helene-photo { max-width: 360px; }
}

/* mobile : tout en une colonne */
@media (max-width: 640px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step, .step:nth-child(1), .step:nth-child(2) { grid-column: auto; }
  .tarifs-grid { grid-template-columns: minmax(0, 1fr); }
  .tarif-special { grid-template-columns: minmax(0, 1fr); }
  .tarif-special .badge { justify-self: start; }
  .steps-note { text-align: left; }
  .hero-actions .btn { flex: 1 1 100%; }
  .contact-item { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .contact-deo { padding-left: 18px; }
  footer { flex-direction: column; text-align: center; }
}

/* très petits écrans */
@media (max-width: 380px) {
  .nav-brand { font-size: 1.3rem; }
  .tarif-card { padding-inline: 20px; }
}

/* ── reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}
