/* ╔════════════════════════════════════════════════════════════════════════╗
   ║  feature-page-base.css — styles partagés pour les pages /features/      ║
   ║  Extrait du pattern lettre-collective / faire-part-anime / etc.         ║
   ║  Inclus en plus de features-header.css + site-footer.css.               ║
   ║                                                                          ║
   ║  Tokens : utilise les noms locaux features                              ║
   ║  (--terracotta, --bg-main, --ink, etc.)                                 ║
   ╚════════════════════════════════════════════════════════════════════════╝ */

@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("fonts/fraunces-italic-428e5f-latin.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/fraunces-normal-fc6efb-latin.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("fonts/cormorant-garamond-italic-25e309-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/inter-normal-567244-latin.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("fonts/jetbrains-mono-normal-480c06-latin.woff2") format("woff2"); }

/* Tokens (au cas où la page ne les déclare pas) */
:root {
  --bg-main: #FDF8F3; --bg-soft: #F5EDE2; --bg-paper: #FFFBF5;
  --ink: #3A3530; --ink-soft: #6B5C52; --ink-faint: #7A6E62;
  --terracotta: #C26241; --terracotta-deep: #8B5A40; --rule: #E5D9CA;
  --sage: #7D9070;
  --serif: "Fraunces", Georgia, serif;
  --soft: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter-x: 22px;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  background: var(--bg-main); color: var(--ink); font-family: var(--sans);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none;
  z-index: 100; opacity: .12; mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(122,110,98,.35) 0, transparent 1.5px),
    radial-gradient(circle at 71% 42%, rgba(122,110,98,.30) 0, transparent 1.2px),
    radial-gradient(circle at 38% 78%, rgba(122,110,98,.32) 0, transparent 1.4px);
  background-size: 220px 220px, 180px 180px, 260px 260px;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 2px; }
p { text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter-x); }

/* Dessin des titres et eyebrows : voir assets/titres.css (spec 14-titres).
   Ici uniquement le layout (tailles, interlignages, marges). */
/* .eyebrow : structure + tiret portés par titres.css */

.h1 {
  font-size: clamp(38px, 8.4vw, 76px);
  line-height: 0.98; letter-spacing: -0.022em; text-wrap: balance;
}
.h2 {
  font-size: clamp(28px, 6vw, 48px);
  line-height: 1.06; letter-spacing: -0.018em; text-wrap: balance;
}

/* Dessin du texte courant : assets/texte.css (spec 15-texte). Ici : layout. */
.lede {
  font-size: clamp(18px, 4.3vw, 22px); text-wrap: pretty;
}

/* .btn / .btn--primary / .btn--ghost : dessin porté par boutons.css */
.btn-arrow { display: inline-block; font-family: var(--serif); font-style: italic; font-size: 1.1em; line-height: 1; transform: translateY(-1px); }

.site-header { padding: 18px 0 0; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 20px; letter-spacing: -0.012em; color: var(--ink); }
.brand .logo-em { color: var(--terracotta); }
.brand .infty { display: inline-block; font-weight: 600; font-size: 1.08em; color: var(--terracotta); transform: translateY(.04em); margin-left: -.04em; }

.hero { padding: 56px 0 64px; background: var(--bg-soft); }
.hero-eyebrow { margin-bottom: 20px; }
.hero h1 { margin-bottom: 28px; }
.hero-lede { margin-bottom: 32px; max-width: 32ch; }
.hero-lede p + p { margin-top: 14px; }
.hero-ctas { display: flex; flex-direction: column; gap: 10px; align-items: stretch; margin-top: 8px; }
.hero-ctas .btn { width: 100%; }
.hero-foot {
  margin-top: 16px; font-size: 14px;
  color: var(--ink-faint); text-align: center;
}

/* Hero visual card (checklist-style mockup réutilisable) */
.hero-visual-card {
  margin: 24px auto 36px;
  width: min(100%, 440px);
  background: var(--bg-paper);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 26px 24px 28px;
  box-shadow:
    0 16px 40px -18px rgba(58,53,48,.25),
    0 4px 12px -4px rgba(58,53,48,.10);
}
.hvc-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--rule);
}
.hvc-title {
  font-family: var(--serif); font-style: italic; font-size: 18px;
  color: var(--ink); letter-spacing: -0.01em;
}
.hvc-title em { color: var(--terracotta); }
.hvc-tag {
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terracotta);
  display: inline-flex; align-items: center; gap: 4px;
}
.hvc-tag::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(194,98,65,.18);
}
.hvc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0; }
.hvc-row {
  display: grid; grid-template-columns: 28px 1fr auto; gap: 10px;
  align-items: center; padding: 10px 0;
  border-bottom: 1px solid rgba(229,217,202,.5);
}
.hvc-row:last-child { border-bottom: 0; }
.hvc-row-check {
  width: 18px; height: 18px; border: 1.5px solid var(--rule);
  border-radius: 3px; position: relative;
}
.hvc-row-check.done { background: var(--sage); border-color: var(--sage); }
.hvc-row-check.done::after {
  content: '✓'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 12px;
}
.hvc-row-text { font-family: var(--sans); font-size: 13.5px; color: var(--ink); }
.hvc-row-text.done { color: var(--ink-faint); text-decoration: line-through; }
.hvc-row-time {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-faint);
}

section { position: relative; }
.section { padding: 56px 0; }
.section-soft { background: var(--bg-soft); }
.section-paper { background: var(--bg-paper); }
.section-head { margin-bottom: 36px; }
.section-head .eyebrow { margin-bottom: 16px; }

.arguments { display: flex; flex-direction: column; gap: 0; counter-reset: arg; }
.arg { padding: 40px 0; border-bottom: 1px solid var(--rule); }
.arg:last-child { border-bottom: 0; }
.arg-num {
  display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; color: var(--ink-faint); margin-bottom: 22px;
}
.arg-num::before { counter-increment: arg; content: counter(arg, upper-roman) ". "; color: var(--terracotta); }
.arg-icon { width: 56px; height: 56px; margin-bottom: 24px; color: var(--terracotta); }
.arg h3 {
  font-size: clamp(24px, 5.4vw, 32px);
  line-height: 1.08; letter-spacing: -0.016em;
  margin-bottom: 16px; text-wrap: balance; max-width: 22ch;
}
.arg p { max-width: 38ch; }
.arg p + p { margin-top: 14px; }
.arg .quote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
  display: block;
  margin-bottom: 14px;
}

.moment-fort { padding: 80px 0 88px; background: var(--ink); text-align: center; }
.moment-fort-eyebrow-wrap { display: flex; justify-content: center; margin-bottom: 28px; }
.moment-fort .eyebrow { color: rgba(253,248,243,.45); }
.moment-fort .eyebrow::before { background: var(--terracotta); }
.moment-fort-quote {
  font-weight: 300;
  font-size: clamp(22px, 5.2vw, 36px); line-height: 1.42; color: var(--bg-paper);
  max-width: 28ch; margin: 0 auto; text-wrap: balance;
}
.moment-fort-sub {
  margin-top: 28px; font-family: var(--sans); font-size: 14px; line-height: 1.6;
  color: rgba(253,248,243,.48); max-width: 36ch; margin-left: auto; margin-right: auto;
}

.testimonials { display: flex; flex-direction: column; gap: 20px; }
.testimonial {
  background: var(--bg-paper); border: 1px solid var(--rule);
  padding: 28px 24px 22px; position: relative;
}
.testimonial::before {
  content: ""; position: absolute; top: 0; left: 24px;
  width: 32px; height: 2px; background: var(--terracotta); opacity: .5;
}
.testimonial-body {
  font-size: 18px; line-height: 1.6;
  color: var(--ink); margin-bottom: 20px;
}
.testimonial-sig {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-faint); line-height: 1.6;
}
.testimonial-note { margin-top: 28px; font-size: 13px; color: var(--ink-faint); }

.scene-decouverte {
  position: relative; padding: 96px 0 104px;
  background: #2A2014 var(--scene-bg) center / cover no-repeat;
  overflow: hidden;
}
.scene-decouverte::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(42, 32, 20, 0.92) 0%,
    rgba(42, 32, 20, 0.72) 42%,
    rgba(42, 32, 20, 0.30) 72%,
    rgba(42, 32, 20, 0.08) 100%);
}
.scene-decouverte .wrap { position: relative; z-index: 2; }
.scene-decouverte-text { max-width: 38ch; }
.scene-decouverte .eyebrow { color: rgba(253,248,243,.55); margin-bottom: 18px; }
.scene-decouverte .eyebrow::before { background: var(--terracotta); opacity: 1; }
.scene-decouverte h2 {
  font-size: clamp(28px, 5.4vw, 42px); line-height: 1.12; letter-spacing: -0.018em;
  color: var(--bg-paper); margin-bottom: 22px; text-wrap: balance;
}
.scene-decouverte p {
  font-size: clamp(17px, 3.5vw, 19px);
  line-height: 1.58; color: rgba(253,248,243,.82); max-width: 32ch;
}
.scene-decouverte p + p { margin-top: 14px; }
@media (max-width: 720px) {
  .scene-decouverte { padding: 64px 0 72px; background-position: bottom center; }
  .scene-decouverte::before {
    background: linear-gradient(to bottom,
      rgba(42, 32, 20, 0.50) 0%,
      rgba(42, 32, 20, 0.85) 50%,
      rgba(42, 32, 20, 0.95) 100%);
  }
}

.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  padding: 36px 0; border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start;
}
.step:last-child { border-bottom: 0; }
.step-num {
  font-family: var(--serif); font-style: italic; font-weight: 350;
  font-size: 52px; line-height: 0.82; color: var(--terracotta);
  opacity: .35; padding-top: 6px;
}
.step h3 {
  font-size: clamp(18px, 4vw, 22px); line-height: 1.22; letter-spacing: -0.012em;
  margin-bottom: 10px;
}
/* .step p : entièrement porté par texte.css (corps de carte 15/1.55) */

.price-centered { text-align: center; }
.price-box {
  border: 1px solid var(--rule); padding: 40px 28px 36px; background: var(--bg-paper);
  text-align: center; max-width: 460px; margin: 40px auto 0;
}
.price-amount {
  font-family: var(--serif); font-style: italic; font-weight: 350;
  font-size: clamp(46px, 12vw, 76px); line-height: 0.9; letter-spacing: -0.02em;
  color: var(--ink);
}
/* Variante "Sur devis" : phrase au lieu d'un nombre → taille réduite (chantier remove-feature-prices) */
.price-amount--devis { font-size: clamp(32px, 7.5vw, 48px); }
.price-amount-prefix {
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-faint); display: block; margin-bottom: 6px;
}
.price-unit {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-faint); display: block; margin-top: 10px;
}
.price-caption {
  font-size: 16px; color: var(--ink-soft);
  margin: 22px auto 0; line-height: 1.6; max-width: 32ch;
}
.price-included {
  list-style: none; margin: 22px auto 28px; padding: 0;
  max-width: 32ch; text-align: left;
}
.price-included li {
  padding-left: 22px; position: relative; margin-bottom: 8px;
}
.price-included li::before {
  content: "—"; position: absolute; left: 0; color: var(--terracotta); font-weight: 500;
}
.price-mention {
  margin-top: 14px;
  font-size: 13px; color: var(--ink-faint);
}

.faq { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item:first-child { border-top: 1px solid var(--rule); }
.faq-item summary {
  font-size: clamp(17px, 3.8vw, 20px);
  padding: 22px 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  letter-spacing: -0.01em; line-height: 1.3; user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--mono); font-size: 18px; font-weight: 400;
  color: var(--terracotta); flex-shrink: 0; line-height: 1; transition: transform .2s ease;
}
details[open] > summary::after { transform: rotate(45deg); }
.faq-answer {
  padding-bottom: 24px; max-width: 56ch;
}

.closing { padding: 72px 0 80px; text-align: center; }
.closing .eyebrow { margin-bottom: 18px; }
.closing .h2 { margin-bottom: 28px; max-width: 22ch; margin-left: auto; margin-right: auto; }
.closing-ctas { display: flex; flex-direction: column; gap: 10px; }
.closing-ctas .btn { width: 100%; }
.closing-foot {
  margin-top: 20px;
  font-size: 15px; color: var(--ink-faint); text-wrap: balance;
}

@media (min-width: 720px) {
  :root { --gutter-x: 40px; }
  .hero { padding: 88px 0 96px; }
  .hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .hero-visual-card { margin: 0; }
  .hero-ctas { flex-direction: row; }
  .hero-ctas .btn { width: auto; }
  .hero-foot { text-align: left; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 48px; }
  .arguments { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; row-gap: 0; }
  .arg { padding: 48px 0; }
  .arg--lead { grid-column: 1 / -1; }
  .arg--lead h3 { font-size: clamp(28px, 3.4vw, 38px); max-width: 18ch; }
  .arg--lead p { max-width: 48ch; }
  .testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
  .testimonial--wide { grid-column: 1 / -1; }
  .closing-ctas { flex-direction: row; justify-content: center; }
  .closing-ctas .btn { width: auto; }
}
@media (min-width: 1000px) {
  .hero h1 { max-width: 14ch; }
  .arg h3 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }


/* ── Hero polaroids composition (remplace hero-visual-card CSS par photos réelles) ── */
.hero-polaroids {
  margin: 24px auto 36px;
  width: min(100%, 360px);
  aspect-ratio: 1 / 1.1;
  position: relative;
}
.polaroid-feature {
  position: absolute;
  background: var(--bg-paper);
  padding: 10px 10px 32px;
  border: 1px solid var(--rule);
  box-shadow: 0 1px 0 rgba(255,251,245,.6) inset, 0 14px 32px -16px rgba(58,53,48,.35), 0 4px 8px -4px rgba(58,53,48,.18);
  border-radius: 2px;
}
.polaroid-feature img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block;
}
.polaroid-feature-cap {
  position: absolute; left: 12px; right: 12px; bottom: 6px;
  text-align: center;
  font-family: var(--soft); font-style: italic; font-size: 12px;
  color: var(--ink-faint); letter-spacing: .01em;
}
.polaroid-feature--a { width: 64%; transform: rotate(-7deg) translate(-20%, 0); z-index: 1; top: 5%; }
.polaroid-feature--b { width: 64%; transform: rotate(5deg) translate(22%, -5%); z-index: 2; top: 35%; }

/* ── Mockup section pleine largeur (image right + texte left) ── */
.mockup-section {
  position: relative;
  background: var(--bg-paper) var(--mockup-bg) right center / cover no-repeat;
  padding: 96px 0 104px;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.mockup-section::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right,
    rgba(253,248,243,.98) 0%,
    rgba(253,248,243,.92) 26%,
    rgba(253,248,243,.42) 52%,
    rgba(253,248,243,0) 68%);
}
.mockup-section .wrap { position: relative; z-index: 2; }
.mockup-section-text { max-width: 38ch; }
.mockup-section .eyebrow { margin-bottom: 16px; }
.mockup-section h2 {
  font-size: clamp(28px, 5.8vw, 44px);
  line-height: 1.08; letter-spacing: -0.018em;
  margin-bottom: 20px;
  text-wrap: balance;
}
.mockup-section p {
  font-size: clamp(17px, 3.5vw, 19px); line-height: 1.55;
  color: var(--ink-soft); max-width: 36ch;
}
.mockup-section p + p { margin-top: 14px; }
@media (max-width: 720px) {
  .mockup-section {
    padding: 64px 0 72px;
    background-position: bottom center;
    min-height: 0;
  }
  .mockup-section::before {
    background: linear-gradient(to bottom,
      rgba(253,248,243,.98) 0%,
      rgba(253,248,243,.92) 45%,
      rgba(253,248,243,.55) 80%,
      rgba(253,248,243,.30) 100%);
  }
}
@media (min-width: 720px) {
  .hero-polaroids { margin: 0; width: 100%; max-width: 380px; }
}
