/* ─────────────────────────────────────────────────────────
   Noué — main stylesheet
   Mirrors the original Noue_base/Noué.html inline styles
   Strategy : :root vars + utility/component classes.
   Inline styles remain in templates where they encode one-off
   layout (hero decor, section backgrounds). DO NOT remove
   inline styles — the design relies on them.
   ───────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #F44336;
  --red-hover: #E53935;
  --red-light: #FFF0EE;
  --red-mid: #FCC092;
  --cream: #FFF9ED;
  --cream-dark: #FEF2DC;
  --ink: #2F414D;
  --ink-mid: #5a6d78;
  --ink-light: #8a9ea8;
  --border: #EDE4D0;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--red-mid); border-radius: 99px; }

input, textarea, select { font-family: 'DM Sans', sans-serif; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ── utility ───────────────────────────────────────────── */
.font-playfair { font-family: 'Playfair Display', serif; }
.font-caveat   { font-family: 'Caveat', cursive; }

/* ── fade-in on scroll ─────────────────────────────────── */
.fade-in { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }
.fade-in.is-hidden { opacity: 0; transform: translateY(18px); }

/* ── nav ───────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 66px;
  transition: all 0.35s ease;
  overflow: visible;
  padding: 0 clamp(20px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
}
.nav.is-scrolled,
.nav.force-cream {
  background: rgba(255, 249, 237, 0.97);
  backdrop-filter: blur(14px);
}
.nav-brand { background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 10px; color: var(--ink); }
.nav.on-red .nav-brand { color: white; }
.nav-brand-name { font-family: 'Caveat', cursive; font-size: 30px; font-weight: 700; line-height: 1; transition: color .35s; }
/* Nav logos — swap based on nav state (scrolled → red logo, hero/on-red → white logo) */
.nav-logo { display: block; object-fit: contain; transition: opacity .35s; }
.nav-logo-white { display: none; }
.nav.on-red .nav-logo-red { display: none; }
.nav.on-red .nav-logo-white { display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link {
  background: none; border: none; cursor: pointer; position: relative;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 400;
  color: var(--ink); padding: 4px 0; transition: color .35s;
}
.nav.on-red .nav-link { color: white; }
.nav-link.is-active { color: var(--red); font-weight: 600; }
.nav.on-red .nav-link.is-active { color: white; }
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1.5px;
  background: var(--red); border-radius: 1px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav.on-red .nav-link::after { background: white; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--red); color: white; border: none; border-radius: 99px;
  padding: 10px 22px; font-weight: 600; font-size: 14px; cursor: pointer;
  box-shadow: 0 3px 14px rgba(244,67,54,0.30); transition: all .2s ease;
}
.nav-cta:hover { opacity: .85; }
.nav.on-red .nav-cta { background: white; color: var(--red); box-shadow: none; }

.nav-wave {
  position: absolute; bottom: -22px; left: 0; right: 0; height: 22px;
  pointer-events: none; overflow: hidden;
}
.nav.on-red .nav-wave { display: none; }

.nav-burger {
  background: none; border: none; cursor: pointer; display: none;
  flex-direction: column; gap: 5px;
}
.nav-burger span {
  display: block; width: 24px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: all .25s;
}
.nav.on-red .nav-burger span { background: white; }

.nav-mobile {
  position: absolute; top: 66px; left: 0; right: 0;
  background: var(--cream); border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px; display: none; flex-direction: column;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a, .nav-mobile button {
  background: none; border: none; text-align: left; padding: 13px 0;
  font-size: 16px; color: var(--ink); font-weight: 400; cursor: pointer;
  border-bottom: 1px solid var(--border); text-decoration: none;
}
.nav-mobile .is-active { color: var(--red); font-weight: 600; }
.nav-mobile .mobile-cta {
  margin-top: 14px; background: var(--red); color: white; border-radius: 99px;
  padding: 13px; font-weight: 600; font-size: 15px; border-bottom: none;
  text-align: center;
}

@media (max-width: 768px) {
  .nav-links { display: none !important; }
  .nav-burger { display: flex !important; }
}

/* ── buttons ───────────────────────────────────────────── */
.btn-red {
  background: var(--red); color: white; border: none; border-radius: 99px;
  padding: 12px 26px; font-weight: 600; font-size: 15px; cursor: pointer;
  box-shadow: 0 3px 14px oklch(48% 0.20 25 / 0.30);
  transition: all .2s ease;
}
.btn-red:hover { background: var(--red-hover); transform: translateY(-1px); }

.btn-red-outline {
  background: transparent; color: var(--red); border: 2px solid var(--red);
  border-radius: 99px; padding: 12px 26px; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: all .2s ease;
}
.btn-red-outline:hover { background: var(--red); color: white; transform: translateY(-1px); }

.btn-white {
  background: white; color: var(--red); border: none; border-radius: 99px;
  padding: 15px 32px; font-weight: 700; font-size: 15px; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2); transition: all .2s;
}
.btn-white:hover { transform: translateY(-2px); }

.btn-ghost-white {
  background: transparent; color: white; border: 2px solid rgba(255,255,255,0.6);
  border-radius: 99px; padding: 13px 28px; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: all .2s;
}
.btn-ghost-white:hover { border-color: white; }

/* ── section helpers ───────────────────────────────────── */
.section { padding: clamp(60px, 8vw, 100px) clamp(20px, 8vw, 100px); }
.section-cream { background: var(--cream); }
.section-red   { background: var(--red); }
.section-container { max-width: 1060px; margin: 0 auto; }

.eyebrow {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red); font-weight: 600; margin-bottom: 10px;
}
.eyebrow.on-red { color: #FCC092; }

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 500; }

/* ── cards grid ────────────────────────────────────────── */
.card-grid { display: grid; gap: 20px; }
.card-grid.cols-auto-260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid.cols-auto-240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.problem-card {
  background: var(--cream); border-radius: 14px; padding: 20px 22px;
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--border);
  transition: background .2s, box-shadow .2s;
}
.problem-card:hover { background: white; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.problem-card .cross { color: var(--red); font-size: 16px; margin-top: 2px; }
.problem-card .txt { color: var(--ink-mid); font-size: 15px; line-height: 1.6; }

.step-card {
  background: white; border-radius: 20px; padding: 34px 28px;
  position: relative; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  transition: transform .25s, box-shadow .25s;
}
.step-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0,0,0,0.2); }
.step-card .num {
  position: absolute; top: 20px; right: 22px;
  font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 600;
  color: var(--cream-dark); line-height: 1;
}
.step-card .icon { font-size: 34px; margin-bottom: 18px; }
.step-card h3 { font-size: 21px; margin-bottom: 12px; }
.step-card p { font-size: 14px; line-height: 1.7; color: var(--ink-mid); }

.why-card {
  display: flex; gap: 16px; padding: 22px; border-radius: 16px;
  background: white; box-shadow: 0 2px 14px oklch(14% 0.01 50 / 0.05);
  transition: all .25s;
}
.why-card:hover { box-shadow: 0 8px 26px oklch(14% 0.01 50 / 0.10); transform: translateY(-3px); }
.why-card .icon { font-size: 26px; flex-shrink: 0; }
.why-card h4 { font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 14px; margin-bottom: 5px; }
.why-card p  { font-size: 13px; color: var(--ink-mid); line-height: 1.6; }

/* ── bracelet ──────────────────────────────────────────── */
.bracelet {
  cursor: default; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.bracelet.is-clickable { cursor: pointer; }
.bracelet .strip {
  border-radius: 12px 12px 4px 4px;
  position: relative; overflow: hidden;
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
}
.bracelet .strip::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.22) 0%, transparent 50%);
}
.bracelet.small .strip { width: 70px; height: 140px; }
.bracelet:not(.small) .strip { width: 90px; height: 180px; }
.bracelet.is-dark .strip { border: 1.5px solid var(--border); }
.bracelet.is-clickable:hover .strip { transform: translateY(-12px) scaleX(1.05); }
.bracelet .label { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.3; margin-bottom: 2px; text-align: center; }
.bracelet.small .label { font-size: 11px; }
.bracelet .sub { font-size: 10px; color: var(--ink-light); text-align: center; }
.bracelet.is-selected .strip {
  box-shadow: 0 0 0 3px white, 0 0 0 5px var(--b-color, var(--red)), 0 14px 28px rgba(0,0,0,.15);
}
.bracelet .check {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: white; color: var(--b-color, var(--red));
  display: none; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.bracelet.is-selected .check { display: flex; }
/* White bracelet needs inverted check colours */
.bracelet.white-bg .check { background: var(--red); color: white; }

/* ── wave ──────────────────────────────────────────────── */
.wave { line-height: 0; display: block; }
.wave svg { display: block; width: 100%; height: 70px; }
.wave.flip svg { transform: scaleY(-1); }

/* ── hero ──────────────────────────────────────────────── */
.hero {
  background: var(--red); min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(110px, 12vw, 160px) clamp(20px, 8vw, 100px) 0;
  position: relative; text-align: center; overflow: hidden;
}
.hero .deco {
  position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15);
  pointer-events: none;
}
.hero-inner { max-width: 700px; position: relative; z-index: 1; padding-bottom: 80px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.18); border-radius: 99px;
  padding: 5px 16px; margin-bottom: 30px; font-size: 13px; color: white; font-weight: 500;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: white; display: inline-block; }
.hero h1 {
  font-size: clamp(46px, 7.5vw, 92px); font-weight: 500;
  line-height: 1.03; letter-spacing: -0.02em;
  margin-bottom: 26px; color: white;
}
.hero h1 em { color: #FCC092; font-style: italic; }
.hero .quote {
  font-family: 'Caveat', cursive; font-size: clamp(22px, 3vw, 34px); font-weight: 600;
  color: rgba(255,255,255,0.90); margin-bottom: 24px; line-height: 1.4;
}
.hero .lede {
  font-size: 15px; color: rgba(255,255,255,0.72); line-height: 1.7;
  max-width: 460px; margin: 0 auto 42px;
}
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Hero bg image — blurred, behind everything. Uses --hero-bg CSS var set inline from template. */
.hero--bg .hero-bg {
  position: absolute; inset: -20px; /* slight over-bleed to hide blur edges */
  background-image: var(--hero-bg);
  background-size: cover; background-position: center;
  filter: blur(5px) saturate(1.05);
  transform: scale(1.04);
  z-index: 0;
  pointer-events: none;
}
/* Red tint overlay keeps brand identity & text legibility */
.hero--bg .hero-bg-tint {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(196,55,55,0.62) 0%, rgba(196,55,55,0.78) 100%);
  z-index: 0; pointer-events: none;
}
.hero--bg .hero-inner,
.hero--bg .deco { z-index: 1; }

/* Custom hero wave — transparent top so the bg image follows the wave curve */
.hero-wave {
  position: absolute; bottom: 0; left: 0; width: 100%;
  line-height: 0; z-index: 2; pointer-events: none;
}
.hero-wave svg { display: block; width: 100%; height: 70px; }

/* Bracelets section — real photo of the bracelets collection */
.bracelets-photo-wrap {
  margin: 0 auto 44px;
  max-width: 720px;
}
.bracelets-photo {
  width: 100%; height: auto; display: block;
  border-radius: 18px;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.18), 0 4px 14px -6px rgba(0,0,0,0.08);
}

/* ── event card ────────────────────────────────────────── */
.event-card {
  background: white; border-radius: 20px; overflow: hidden;
  display: grid; grid-template-columns: 220px 1fr auto;
  box-shadow: 0 2px 16px oklch(14% 0.01 50 / 0.06);
  transition: all .3s ease;
}
.event-card:hover {
  box-shadow: 0 16px 40px oklch(14% 0.01 50 / 0.12);
  transform: translateY(-4px);
}
.event-card .body { padding: 26px 28px; }
.event-card .body h3 { font-size: 19px; }
.event-card .meta { display: flex; gap: 18px; margin: 8px 0 12px; flex-wrap: wrap; }
.event-card .meta span { font-size: 13px; color: var(--ink-light); }
.event-card .meta .price { color: var(--red); font-weight: 600; }
.event-card .desc { font-size: 13px; color: var(--ink-mid); line-height: 1.6; max-width: 480px; }
.event-card .includes { display: flex; gap: 7px; margin-top: 12px; flex-wrap: wrap; }
.event-card .includes span {
  font-size: 11px; background: var(--cream-dark); color: var(--ink-mid);
  padding: 3px 10px; border-radius: 99px;
}
.event-card .cta { padding: 26px 22px; display: flex; align-items: center; }
.event-card .cta button, .event-card .cta a {
  background: var(--red); color: white; border: none; border-radius: 14px;
  padding: 14px 22px; font-weight: 600; font-size: 14px; cursor: pointer;
  white-space: nowrap; box-shadow: 0 4px 16px oklch(48% 0.20 25 / 0.30);
  transition: all .2s; text-decoration: none; display: inline-block;
}
.event-card .cta button:hover, .event-card .cta a:hover { background: var(--red-hover); transform: scale(1.04); }
.event-card .birthday {
  background: var(--red-light); color: var(--red); font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 99px;
}

/* Status pills (open / full / coming_soon) affichés à côté du titre */
.status-pill {
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 99px;
  letter-spacing: 0.02em;
}
.status-pill--open { background: #e9f8ee; color: #1f6b39; }
.status-pill--full { background: var(--red-light); color: var(--red); }
.status-pill--soon { background: #fff1d8; color: #8a5a00; }

/* CTA désactivé (complet / bientôt) — même gabarit que le bouton rouge
   mais gris, non-cliquable, avec cursor "not-allowed". */
.event-card .cta .cta-disabled {
  background: #e5e5e5; color: #8a8a8a;
  border-radius: 14px;
  padding: 14px 22px; font-weight: 600; font-size: 14px;
  white-space: nowrap;
  display: inline-block;
  cursor: not-allowed;
  user-select: none;
}

@media (max-width: 640px) {
  .event-card { grid-template-columns: 1fr; }
}

/* Event passé (date < aujourd'hui, non archivé) : fond gris légèrement
   hachuré pour distinguer visuellement des events à venir. */
.event-card--past {
  background:
    repeating-linear-gradient(
      135deg,
      #ececec,
      #ececec 8px,
      #f4f4f4 8px,
      #f4f4f4 16px
    );
  opacity: 0.85;
}
.event-card--past:hover {
  transform: none;
  box-shadow: 0 2px 16px oklch(14% 0.01 50 / 0.06);
}
.event-card--past .desc,
.event-card--past .meta span {
  color: var(--ink-mid);
}

/* ── venue image ───────────────────────────────────────── */
.venue-img {
  background: oklch(93% 0.018 72); overflow: hidden; position: relative;
  min-height: 180px;
}
.venue-img .inner {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
}
.venue-img .pin { font-size: 22px; }
.venue-img .name {
  font-family: monospace; font-size: 12px; color: var(--ink-mid);
  text-align: center; padding: 0 10px; line-height: 1.4;
}
.venue-img .hint { font-family: monospace; font-size: 10px; color: var(--ink-light); }

/* ── forms ─────────────────────────────────────────────── */
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field .err { font-size: 12px; color: #b91c1c; margin-top: 5px; }
.field input, .field textarea {
  width: 100%; padding: 12px 15px; border-radius: 11px;
  font-size: 15px; border: 1.5px solid var(--border);
  outline: none; background: var(--cream); color: var(--ink);
  transition: border-color .2s;
}
.field.has-error input, .field.has-error textarea { border-color: #b91c1c; }
.field input:focus, .field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px oklch(48% 0.20 25 / 0.12);
}
.field textarea { resize: vertical; }

/* ── radio buttons & checkboxes stylisés ───────────────── */
.radio-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 14px;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 99px;
  transition: all .2s ease;
}
.radio-label:hover {
  border-color: var(--red-mid);
  background: var(--red-light);
}
.radio-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-custom {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--ink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  flex-shrink: 0;
}
.radio-custom::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  transform: scale(0);
  transition: transform .2s ease;
}
.radio-label input[type="radio"]:checked + .radio-custom {
  border-color: var(--red);
}
.radio-label input[type="radio"]:checked + .radio-custom::after {
  transform: scale(1);
}
.radio-text {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.radio-label:has(input[type="radio"]:checked) {
  background: var(--red-light);
  border-color: var(--red);
}

/* Genre pills — sans checkbox visible */
.genre-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.genre-pill {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px 18px;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 99px;
  transition: all .2s ease;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.genre-pill:hover {
  border-color: var(--red-mid);
  background: var(--red-light);
}
.genre-pill input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.genre-pill.is-selected,
.genre-pill:has(input[type="radio"]:checked) {
  background: var(--red-light);
  border-color: var(--red);
  color: var(--red);
}

/* Checkbox stylisée */
.checkbox-field {
  padding-top: 8px;
}
.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex-direction: row;
  flex-wrap: nowrap;
}
.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.checkbox-custom {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--border);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  flex-shrink: 0;
}
.checkbox-custom::after {
  content: '✓';
  font-size: 14px;
  font-weight: 700;
  color: white;
  transform: scale(0);
  transition: transform .2s ease;
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--red);
  border-color: var(--red);
}
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  transform: scale(1);
}
.checkbox-text {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
  flex-shrink: 1;
  white-space: normal;
}

/* Rangée de bracelets compacte */
.bracelet-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 8px;
  justify-content: flex-start;
}
@media (max-width: 640px) {
  .bracelet-row {
    gap: 8px;
  }
  .radio-group {
    flex-direction: column;
    gap: 8px;
  }
  .radio-label {
    width: fit-content;
  }
}

.form-shell {
  padding-top: 100px; min-height: 100vh;
}
.form-shell .container {
  max-width: 700px; margin: 0 auto;
  padding: clamp(36px, 5vw, 72px) clamp(20px, 5vw, 40px);
}
.back-link {
  background: none; border: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-mid); font-size: 14px; margin-bottom: 32px;
  transition: color .2s; text-decoration: none;
}
.back-link:hover { color: var(--red); }

.event-banner {
  display: grid; grid-template-columns: 1fr 1fr; border-radius: 16px;
  overflow: hidden; margin-bottom: 36px;
  box-shadow: 0 2px 16px oklch(14% 0.01 50 / 0.08);
}
.event-banner .info {
  background: var(--red-light); padding: 20px 22px;
  display: flex; flex-direction: column; justify-content: center;
}
.event-banner .info .title { font-weight: 700; color: var(--red); font-size: 15px; margin-bottom: 4px; }
.event-banner .info .lines { font-size: 13px; color: var(--ink-mid); line-height: 1.8; }

@media (max-width: 640px) { .event-banner { grid-template-columns: 1fr; } }

/* ── footer ────────────────────────────────────────────── */
.footer {
  background: var(--red); color: white;
  padding: 56px clamp(20px, 8vw, 100px) 36px;
}
.footer .cols {
  max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 44px;
}
.footer .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer .brand span { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 600; }
.footer p, .footer a { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.7; }
.footer p.tag {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #FCC092; font-weight: 600; margin-bottom: 12px;
}
.footer .col-links a, .footer .col-links button {
  display: block; background: none; border: none; padding: 5px 0;
  text-align: left; cursor: pointer; transition: color .2s;
  color: rgba(255,255,255,0.75); text-decoration: none;
}
.footer .col-links a:hover, .footer .col-links button:hover { color: white; }
.footer .socials { display: flex; gap: 10px; margin-top: 18px; }
.footer .socials a {
  font-size: 12px; padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 99px;
  transition: all .2s;
}
.footer .socials a:hover { border-color: white; color: white; }
.footer .bottom {
  max-width: 1060px; margin: 44px auto 0; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 12px; color: rgba(255,255,255,0.5);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

/* ── testimonials carousel ─────────────────────────────── */
.carousel {
  position: relative; background: white; border-radius: 24px;
  padding: clamp(32px, 5vw, 56px); margin-bottom: 52px;
  box-shadow: 0 4px 28px oklch(14% 0.01 50 / 0.07);
  overflow: hidden; min-height: 260px;
}
.carousel .slide { transition: opacity .28s, transform .28s; }
.carousel .slide.is-out { opacity: 0; transform: translateX(30px); }
.carousel .quotemark {
  font-size: clamp(60px, 8vw, 90px); font-family: 'Playfair Display', serif;
  color: var(--red-light); line-height: .7; margin-bottom: 12px; user-select: none;
}
.carousel .quote-text {
  font-family: 'Caveat', cursive; font-weight: 700;
  font-size: clamp(22px, 3vw, 34px); line-height: 1.45;
  color: var(--ink); margin-bottom: 32px; max-width: 680px;
}
.carousel .who { display: flex; align-items: center; gap: 14px; }
.carousel .initials {
  width: 46px; height: 46px; border-radius: 50%; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 14px;
}
.carousel .name { font-weight: 600; font-size: 15px; }
.carousel .role { font-size: 13px; color: var(--ink-light); }
.carousel .stars { margin-left: auto; display: flex; gap: 2px; }
.carousel .stars span { color: var(--red); font-size: 18px; }
.carousel .controls { position: absolute; bottom: 24px; right: 24px; display: flex; gap: 10px; }
.carousel .controls button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--border); background: white; cursor: pointer;
  font-size: 16px; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.carousel .controls button:hover { background: var(--red); color: white; border-color: var(--red); }
.carousel .dots { display: flex; gap: 7px; margin-top: 24px; }
.carousel .dots button {
  width: 8px; height: 8px; border-radius: 99px;
  background: var(--border); border: none; cursor: pointer; padding: 0;
  transition: all .3s;
}
.carousel .dots button.is-active { width: 24px; background: var(--red); }

/* ── video thumbs ──────────────────────────────────────── */
.video-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px; margin-bottom: 64px;
}
.video-thumb {
  border-radius: 14px; overflow: hidden; background: white;
  box-shadow: 0 2px 12px oklch(14% 0.01 50 / 0.06);
  transition: all .25s; cursor: pointer;
}
.video-thumb:hover { transform: translateY(-4px); box-shadow: 0 12px 30px oklch(14% 0.01 50 / 0.10); }
.video-thumb .thumb {
  aspect-ratio: 16/9; background: var(--red-light);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.video-thumb .thumb::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, oklch(95% 0.06 25 / 0.5) 0px, oklch(95% 0.06 25 / 0.5) 1px, transparent 1px, transparent 14px);
}
.video-thumb .play {
  width: 52px; height: 52px; border-radius: 50%; background: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12); font-size: 18px; z-index: 1;
}
.video-thumb .meta { padding: 14px 16px; }
.video-thumb .meta p:first-child { font-weight: 600; font-size: 14px; margin-bottom: 3px; }
.video-thumb .meta p:last-child  { font-size: 12px; color: var(--ink-light); }

/* ── contact items ─────────────────────────────────────── */
.contact-item {
  display: flex; gap: 14px; padding: 14px 18px; background: white;
  border-radius: 12px; box-shadow: 0 2px 10px oklch(14% 0.01 50 / 0.05);
  transition: all .2s;
}
.contact-item:hover { transform: translateX(6px); }
.contact-item .icon { font-size: 22px; }
.contact-item .lbl { font-size: 11px; color: var(--ink-light); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 2px; }
.contact-item .val { font-weight: 500; font-size: 14px; }

/* ── spinner ───────────────────────────────────────────── */
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4); border-top-color: white;
  border-radius: 50%; display: inline-block;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── misc ──────────────────────────────────────────────── */
.cream-bg  { background: var(--cream); }
.red-bg    { background: var(--red); }

/* Page transition — mimics the original main fade */
main.page-transition { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s ease; }
main.is-leaving { opacity: 0; transform: translateY(14px); }
