/* =========================================
   Corazen — Styles partagés
   ========================================= */

html, body {
  background: #f7f2ec;
  color: #1a1014;
  font-family: 'Inter Tight', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.font-display { font-family: 'Cormorant Garamond', Georgia, serif; }
.display-italic { font-style: italic; font-weight: 500; padding-bottom: 0.15em; line-height: 1.12; }

/* Subtle reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* Grain texture for hero */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Accordion (FAQ) */
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] .faq-icon { transform: rotate(45deg); }
.faq-icon { transition: transform .25s ease; }

/* Portrait frame */
.portrait-frame {
  border-radius: 220px 220px 16px 16px;
  overflow: hidden;
}

/* Marquee */
@keyframes slide-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track { animation: slide-x 38s linear infinite; }
@media (max-width: 640px) {
  .marquee-track > span { font-size: 1.125rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* Buttons */
.btn-primary { background:#b8324a; color:#fbf8f3; }
.btn-primary:hover { background:#922238; }
.btn-primary:active { transform: translateY(1px); }
.btn-ghost { color:#1a1014; border:1px solid rgba(26,16,20,.18); background: transparent; }
.btn-ghost:hover { background:#1a1014; color:#fbf8f3; }
.btn-ghost-light { color:#fbf8f3; border:1px solid rgba(251,248,243,.25); background: transparent; }
.btn-ghost-light:hover { background:#fbf8f3; color:#1a1014; }

/* Hairline divider */
.hairline { height:1px; background: linear-gradient(to right, transparent, rgba(26,16,20,.18), transparent); }

/* Active nav state */
[data-page] [data-nav].active { color: #1a1014; }
[data-page] [data-nav].active::after {
  content: ""; display: block; height: 2px; background: #b8324a; margin-top: 4px;
}
[data-page] #mobileMenu [data-nav].active { color: #b8324a; font-weight: 500; }

/* Custom horizontal scrollbar (testimonials) */
.scroll-soft { scrollbar-width: thin; scrollbar-color: rgba(26,16,20,.2) transparent; }
.scroll-soft::-webkit-scrollbar { height: 6px; }
.scroll-soft::-webkit-scrollbar-thumb { background: rgba(26,16,20,.2); border-radius: 3px; }
.scroll-soft::-webkit-scrollbar-track { background: transparent; }

/* Section page header (subpages) */
.page-hero {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .page-hero { padding-top: 7rem; padding-bottom: 6rem; }
}

/* Drop cap */
.dropcap::first-letter {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4.5rem;
  font-weight: 500;
  float: left;
  line-height: 0.85;
  margin: 0.35rem 0.75rem 0 0;
  color: #b8324a;
}

/* No horizontal overflow */
body { overflow-x: hidden; }

/* Signature script for Valérie */
.signature {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* Subtle inner stroke for premium cards */
.premium-card {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    0 1px 2px rgba(26,16,20,.04),
    0 12px 32px -16px rgba(26,16,20,.08);
}
.premium-card-dark {
  box-shadow:
    inset 0 1px 0 rgba(251,248,243,.08),
    0 1px 2px rgba(0,0,0,.2),
    0 12px 32px -8px rgba(0,0,0,.25);
}

/* Big stat number */
.stat-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

/* Quote-mark decoration */
.quote-mark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  line-height: 0.6;
}

/* Floating heart pulse (CTA accent) */
@keyframes heart-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.heart-pulse { animation: heart-pulse 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .heart-pulse { animation: none; } }

/* Section number eyebrow alternative — small label with rule */
.label-rule {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.24em;
  color: #b8324a; font-weight: 500;
}
.label-rule::before {
  content: ""; display: block; width: 24px; height: 1px; background: #b8324a;
}

/* Subtle card hover */
.card-hover {
  transition: transform .4s cubic-bezier(.16,1,.3,1), border-color .3s ease, box-shadow .4s ease;
}
.card-hover:hover {
  transform: translateY(-3px);
  border-color: rgba(184,50,74,.4);
}

/* Stat tile (proof bands) */
.stat-tile { text-align: center; padding: 1.25rem 1rem; }
.stat-tile .num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500; font-size: 2.5rem; letter-spacing: -0.03em; line-height: 1; color: #1a1014;
}
.stat-tile .label {
  font-size: 12.5px; color: #7a6168; margin-top: 0.5rem; letter-spacing: 0.02em;
}
.stat-tile-dark .num { color: #fbf8f3; }
.stat-tile-dark .label { color: rgba(251,248,243,.65); }
@media (min-width: 768px) { .stat-tile .num { font-size: 3.25rem; } }

/* Comparison table */
.compare-table { border-radius: 20px; overflow: hidden; border: 1px solid rgba(26,16,20,.1); }
.compare-row {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; padding: 0.95rem 1.25rem;
  border-bottom: 1px solid rgba(26,16,20,.07); align-items: center;
}
.compare-row:last-child { border-bottom: none; }
.compare-row > div:first-child { font-size: 14.5px; color: #3d2a31; }
.compare-row > div:not(:first-child) { text-align: center; font-size: 14px; color: #1a1014; }
.compare-row.header { background: rgba(26,16,20,.04); }
.compare-row.header > div { font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: #7a6168; }
.compare-row.header > div:nth-child(3) { color: #b8324a; }
.compare-row .yes { color: #b8324a; font-weight: 500; }
.compare-row .no { color: rgba(26,16,20,.28); }
@media (max-width: 640px) {
  .compare-row { grid-template-columns: 1.4fr 0.8fr 0.8fr; padding: .75rem 0.85rem; }
  .compare-row > div { font-size: 13px; }
}

/* "Not this" / objection cross list */
.cross-list { list-style: none; padding: 0; margin: 0; }
.cross-list li {
  display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.9rem 0;
  border-bottom: 1px solid rgba(26,16,20,.08); font-size: 15px; color: #3d2a31;
}
.cross-list li:last-child { border-bottom: none; }
.cross-list li i { color: rgba(26,16,20,.28); font-size: 20px; flex-shrink: 0; margin-top: 1px; }

/* Press / media strip */
.press-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2rem 2.5rem; opacity: .55; }
.press-strip span { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 1.25rem; color: #1a1014; letter-spacing: -.01em; }

/* Step path */
.step-num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; font-weight: 500; font-size: 3.5rem;
  letter-spacing: -0.04em; line-height: .9; color: #b8324a;
}

/* Period toggle (Pass 6 mois / 1 an) */
.period-toggle {
  display: inline-flex; background: #fbf8f3; border: 1px solid rgba(26,16,20,.1);
  border-radius: 9999px; padding: 4px;
}
.period-btn {
  padding: 0.65rem 1.25rem; border-radius: 9999px; font-size: 13.5px; font-weight: 500;
  color: #7a6168; transition: all .2s ease; display: inline-flex; align-items: center; gap: .5rem;
  border: none; background: transparent; cursor: pointer;
}
.period-btn-active { background: #1a1014; color: #fbf8f3; }
.period-btn-active .save-badge { background: #b8324a; color: #fbf8f3; }
.save-badge {
  font-size: 10px; text-transform: uppercase; letter-spacing: .18em;
  padding: 2px 8px; border-radius: 9999px; background: rgba(26,16,20,.08); color: #7a6168;
}

/* Pricing fading transitions */
.price-6mois, .price-1an { display: inline; }
.price-fade { transition: opacity .2s ease; }

/* Hero tagline italic */
.hero-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-weight: 500; color: #b8324a; letter-spacing: -.01em;
}

/* Club identity strip */
.identity-line {
  font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic;
  font-size: 1.1rem; color: #7a6168; letter-spacing: -.01em;
}
