/* ═══════════════════════════════════════════
   FACTEUR X — style.css
   Mobile-first, marine → crème narrative
   ═══════════════════════════════════════════ */

/* ─── RESET ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

body {
  font-family: var(--f-body);
  color: var(--c-creme);
  background: var(--c-marine);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── LAYOUT UTILS ───────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w-wide);
  margin-inline: auto;
  padding-inline: var(--sp-24);
}
.container--narrow {
  max-width: var(--max-w-text);
  margin-inline: auto;
  padding-inline: var(--sp-24);
}
.section { padding-block: var(--sp-96); }
.section--lg { padding-block: var(--sp-128); }

/* ─── TYPOGRAPHY ──────────────────────────── */
.display-xl {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 7vw, 5.25rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.display-lg {
  font-family: var(--f-display);
  font-size: clamp(1.85rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.display-md {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.body-lg {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
}
.body-md { font-size: 1rem; line-height: 1.65; }
.label {
  font-family: var(--f-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-or);
}
.text-or    { color: var(--c-or); }
.text-creme { color: var(--c-creme); }
.text-marine{ color: var(--c-marine); }

/* ─── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  padding: var(--sp-12) var(--sp-32);
  border-radius: var(--r-full);
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--c-or);
  color: var(--c-marine);
  box-shadow: 0 4px 20px rgba(201,162,39,.35);
}
.btn--primary:hover { box-shadow: 0 6px 28px rgba(201,162,39,.50); }

.btn--outline {
  background: transparent;
  color: var(--c-creme);
  border: 1.5px solid rgba(244,238,226,.35);
}
.btn--outline:hover {
  border-color: var(--c-or);
  color: var(--c-or);
}
.btn--outline-or {
  background: transparent;
  color: var(--c-or);
  border: 1.5px solid var(--c-or);
}
.btn--outline-or:hover {
  background: var(--c-or);
  color: var(--c-marine);
}

.btn--dark {
  background: var(--c-marine);
  color: var(--c-or);
  border: 1.5px solid var(--c-or);
}
.btn--dark:hover { background: var(--c-or); color: var(--c-marine); }

/* ─── GOLD RULE ───────────────────────────── */
.gold-rule {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-or), transparent);
  border: none;
  margin: 0;
  opacity: 0.4;
}

/* ════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--sp-16) var(--sp-24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--t-md), backdrop-filter var(--t-md);
}
.nav.scrolled {
  background: var(--c-marine-80);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-or-20);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  color: var(--c-or);
}
.nav__logo svg { width: 36px; height: 36px; }
.nav__brand {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-creme);
}
.nav__cta { display: none; }
@media (min-width: 640px) {
  .nav__cta { display: inline-flex; }
}

/* ════════════════════════════════════════════
   HERO — marine profond
   ════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  background: var(--c-marine);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-block: var(--sp-128) var(--sp-64);
  padding-inline: var(--sp-24);
  position: relative;
  overflow: hidden;
}

/* Constellation de termes financiers */
.hero__wordcloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.wc-word {
  position: absolute;
  font-family: var(--f-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-or);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  will-change: translate;
}

/* Grain texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Radial vignette — subtle light in center */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(201,162,39,.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

/* Seal */
.hero__seal-wrap {
  position: relative;
  width: clamp(140px, 28vw, 200px);
  height: clamp(140px, 28vw, 200px);
  margin-bottom: var(--sp-48);
}
.seal-logo {
  width: 100%;
  height: 100%;
  color: var(--c-or);
  animation: stamp var(--t-stamp) cubic-bezier(0.16,1,0.3,1) 0.5s both;
  will-change: transform, opacity;
}
.seal-glow {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.40) 0%, transparent 65%);
  animation: wax-spread 1.4s ease 0.5s both;
  pointer-events: none;
}

.hero__label {
  margin-bottom: var(--sp-16);
  animation: fade-up 0.6s ease 1.4s both;
}
.hero__headline {
  color: var(--c-creme);
  max-width: 820px;
  animation: fade-up 0.7s ease 1.55s both;
}
.hero__headline em {
  font-style: normal;
  color: var(--c-or);
}
.hero__sub {
  color: var(--c-creme-70);
  max-width: 520px;
  margin: var(--sp-24) auto 0;
  animation: fade-up 0.7s ease 1.7s both;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-16);
  justify-content: center;
  margin-top: var(--sp-40);
  animation: fade-up 0.7s ease 1.85s both;
}
/* ensure the animation delay variable exists */
.hero__ctas { --sp-40: 2.5rem; }

/* Scroll hint */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-32);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-8);
  color: var(--c-creme-70);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fade-in 1s ease 2.5s both;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--c-or), transparent);
  animation: pulse-line 2s ease-in-out 3s infinite;
}
@keyframes pulse-line {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.1); }
}

/* ════════════════════════════════════════════
   TICKER STRIP
   ════════════════════════════════════════════ */
.ticker-strip {
  background: var(--c-encre);
  border-top: 1px solid var(--c-or-20);
  border-bottom: 1px solid var(--c-or-20);
  overflow: hidden;
  padding-block: var(--sp-12);
  position: relative;
}
.ticker-strip::before,
.ticker-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--c-encre), transparent);
}
.ticker-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--c-encre), transparent);
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  padding-inline: var(--sp-32);
  font-family: var(--f-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-creme-70);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.ticker-item__name { color: var(--c-creme); }
.ticker-item__value { color: var(--c-or); }
.ticker-item__up   { color: var(--c-hausse); }
.ticker-item__down { color: var(--c-baisse); }
.ticker-sep {
  color: var(--c-or-40);
  padding-inline: var(--sp-8);
  user-select: none;
}

/* ════════════════════════════════════════════
   PROMESSE — marine → crème transition
   ════════════════════════════════════════════ */
.promesse {
  background: var(--c-marine);
  padding-block: var(--sp-128);
  position: relative;
  overflow: hidden;
}

/* Chaos arena */
.chaos-arena {
  position: relative;
  height: clamp(280px, 50vw, 420px);
  margin-block: var(--sp-64);
  overflow: hidden;
}
.chaos-word {
  position: absolute;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--c-creme-30);
  white-space: nowrap;
  transition: all 1.2s cubic-bezier(0.16,1,0.3,1);
  user-select: none;
  pointer-events: none;
}
.chaos-arena.resolved .chaos-word {
  transform: translate(var(--tx, 0), var(--ty, 0)) rotate(0deg) !important;
  opacity: var(--final-opacity, 0.7);
  color: var(--final-color, var(--c-creme-70));
  font-size: var(--final-size, 1rem) !important;
}

/* clarity stamp */
.clarity-stamp {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(0);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16,1,0.3,1) 0.8s, opacity 0.4s ease 0.8s;
  color: var(--c-or);
  width: clamp(80px, 15vw, 120px);
  height: clamp(80px, 15vw, 120px);
}
.chaos-arena.resolved .clarity-stamp {
  transform: translate(-50%,-50%) scale(1);
  opacity: 1;
}

.promesse__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-32);
  margin-top: var(--sp-64);
}
@media (min-width: 640px) {
  .promesse__pillars { grid-template-columns: repeat(3,1fr); }
}

.pillar {
  text-align: center;
  padding: var(--sp-32);
  border: 1px solid var(--c-or-20);
  border-radius: var(--r-md);
  background: var(--c-or-10);
  transition: border-color var(--t-md), transform var(--t-md);
}
.pillar:hover {
  border-color: var(--c-or-40);
  transform: translateY(-4px);
}
.pillar__icon {
  font-size: 2rem;
  margin-bottom: var(--sp-16);
  display: block;
}
.pillar__title {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-or);
  margin-bottom: var(--sp-8);
}

/* ════════════════════════════════════════════
   ÉDITION — carte interactive
   ════════════════════════════════════════════ */
.edition {
  background: var(--c-creme);
  color: var(--c-encre);
  padding-block: var(--sp-128);
}
.edition .label { color: var(--c-marine); opacity: 0.6; }
.edition .display-lg { color: var(--c-marine); }

.edition-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-dark);
  overflow: hidden;
  max-width: 780px;
  margin: var(--sp-64) auto 0;
}

/* Edition header */
.edition-card__header {
  background: var(--c-marine);
  padding: var(--sp-24) var(--sp-32);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-12);
}
.edition-card__header-logo {
  color: var(--c-or);
  display: flex;
  align-items: center;
  gap: var(--sp-12);
}
.edition-card__header-logo svg { width: 32px; height: 32px; }
.edition-card__title {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-creme);
  letter-spacing: 0.04em;
}
.edition-card__date {
  font-size: 0.75rem;
  color: var(--c-creme-70);
  letter-spacing: 0.05em;
}
.edition-card__badge {
  background: var(--c-or);
  color: var(--c-marine);
  font-family: var(--f-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-full);
}

/* Tabs */
.edition-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--c-marine);
  border-bottom: 1px solid var(--c-or-20);
  -webkit-overflow-scrolling: touch;
}
.edition-tabs::-webkit-scrollbar { display: none; }

.edition-tab {
  flex-shrink: 0;
  padding: var(--sp-12) var(--sp-20);
  font-family: var(--f-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-creme-70);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  background: none;
  letter-spacing: 0.02em;
}
.edition-tab:hover { color: var(--c-creme); }
.edition-tab.active {
  color: var(--c-or);
  border-bottom-color: var(--c-or);
}

/* Edition panels */
.edition-panels { position: relative; }
.edition-panel {
  display: none;
  padding: var(--sp-40) var(--sp-32) var(--sp-48);
  animation: fade-in 0.3s ease;
}
.edition-panel.active { display: block; }

.edition-panel h3 {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-marine);
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  padding-bottom: var(--sp-16);
  margin-bottom: var(--sp-24);
  border-bottom: 1px solid var(--c-or-20);
}
.edition-panel h3::before {
  content: '';
  display: block;
  width: 3px;
  height: 1.1em;
  background: var(--c-or);
  border-radius: 2px;
  flex-shrink: 0;
}
.edition-panel p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: var(--sp-20);
}
.edition-panel p:last-child { margin-bottom: 0; }

/* Disclaimer de panel (avertissement AMF) */
.edition-panel__disclaimer {
  font-size: 0.82rem;
  color: #999;
  margin-top: var(--sp-32) !important;
  padding-top: var(--sp-20);
  border-top: 1px solid var(--c-or-20);
}

/* Top perf list */
.perf-list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-12); }
.perf-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-16) var(--sp-20);
  border-radius: var(--r-sm);
  background: #f8f8f6;
  font-size: 0.9rem;
  border-left: 2px solid transparent;
  transition: border-color var(--t-fast);
}
.perf-item:has(.up)   { border-left-color: var(--c-hausse); }
.perf-item:has(.down) { border-left-color: var(--c-baisse); }
.perf-item__name { font-weight: 600; color: var(--c-encre); }
.perf-item__val  { font-family: var(--f-display); font-weight: 700; font-size: 0.95rem; }
.perf-item__val.up   { color: var(--c-hausse); }
.perf-item__val.down { color: var(--c-baisse); }

/* Chiffres grid */
.chiffres-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: var(--sp-16);
}
.chiffre-box {
  background: #f8f8f6;
  border-radius: var(--r-sm);
  padding: var(--sp-24) var(--sp-16);
  text-align: center;
  border-bottom: 2px solid var(--c-or-20);
}
.chiffre-box__label {
  font-size: 0.72rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: var(--sp-8);
}
.chiffre-box__value {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-marine);
}

/* Surveiller list */
.surveiller-list { list-style: none; display: flex; flex-direction: column; }
.surveiller-item {
  display: flex;
  gap: var(--sp-20);
  padding: var(--sp-20) 0;
  border-bottom: 1px solid rgba(201,162,39,.15);
}
.surveiller-item:last-child { border-bottom: none; padding-bottom: 0; }
.surveiller-item__date {
  font-family: var(--f-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--c-or);
  background: var(--c-or-10);
  padding: 5px 10px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  height: fit-content;
  margin-top: 2px;
  border: 1px solid var(--c-or-20);
  min-width: 80px;
  text-align: center;
}
.surveiller-item__text { font-size: 0.9rem; color: #444; line-height: 1.6; }

/* ════════════════════════════════════════════
   COMMENT ÇA MARCHE — crème
   ════════════════════════════════════════════ */
.comment {
  background: var(--c-creme);
  color: var(--c-encre);
  padding-block: var(--sp-128);
}
.comment .label  { color: var(--c-marine); opacity: 0.6; }
.comment .display-lg { color: var(--c-marine); }

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-48);
  margin-top: var(--sp-64);
  position: relative;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3,1fr); gap: var(--sp-32); }
  .steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(16.6% + 16px);
    right: calc(16.6% + 16px);
    height: 1px;
    background: linear-gradient(90deg, var(--c-or-40), var(--c-or-40));
  }
}

.step { text-align: center; position: relative; }
.step__number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-marine);
  color: var(--c-or);
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-24);
  border: 2px solid var(--c-or-40);
  position: relative;
  z-index: 1;
}
.step__title {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-marine);
  margin-bottom: var(--sp-8);
}
.step__body { font-size: 0.95rem; color: #555; line-height: 1.65; }

/* ════════════════════════════════════════════
   QUI JE SUIS — marine
   ════════════════════════════════════════════ */
.qui {
  background: var(--c-marine);
  padding-block: var(--sp-128);
  position: relative;
}
.qui::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(201,162,39,.05) 0%, transparent 70%);
  pointer-events: none;
}

.qui-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-48);
  align-items: start;
}
@media (min-width: 768px) {
  .qui-inner { grid-template-columns: 200px 1fr; gap: var(--sp-64); }
}

.qui__avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--c-or-20);
  border: 2px solid var(--c-or-40);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--c-or);
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 800;
  overflow: hidden;
}
@media (min-width: 768px) { .qui__avatar { margin: 0; } }

.qui__content .label { margin-bottom: var(--sp-16); }
.qui__content .display-md { margin-bottom: var(--sp-24); }

.qui__text {
  color: var(--c-creme-70);
  line-height: 1.75;
  font-size: 1rem;
}
.qui__text p + p { margin-top: var(--sp-16); }
.qui__text strong { color: var(--c-creme); font-weight: 600; }
.qui__text em {
  font-style: normal;
  color: var(--c-or);
  font-weight: 600;
}

.qui__signature {
  margin-top: var(--sp-32);
  padding-top: var(--sp-24);
  border-top: 1px solid var(--c-or-20);
  font-family: var(--f-display);
  font-size: 0.9rem;
  color: var(--c-creme-70);
}
.qui__signature strong { color: var(--c-or); display: block; font-size: 1rem; }

/* ════════════════════════════════════════════
   OFFRE / TARIFS
   ════════════════════════════════════════════ */
.offre {
  background: var(--c-creme);
  color: var(--c-encre);
  padding-block: var(--sp-128);
}
.offre .label  { color: var(--c-marine); opacity: 0.6; }
.offre .display-lg { color: var(--c-marine); }
.offre .disclaimer-inline {
  font-size: 0.78rem;
  color: #888;
  text-align: center;
  margin-top: var(--sp-16);
}

.plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-32);
  margin-top: var(--sp-64);
  max-width: 740px;
  margin-inline: auto;
}
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }

.plan {
  border-radius: 12px;
  padding: var(--sp-48) var(--sp-32);
  position: relative;
}
.plan--free {
  background: #fff;
  border: 1px solid #e4e0d8;
}
.plan--paid {
  background: var(--c-marine);
  color: var(--c-creme);
  border: 1px solid var(--c-or-40);
  box-shadow: var(--shadow-dark);
}

.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-or);
  color: var(--c-marine);
  font-family: var(--f-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.plan__name {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--sp-4);
}
.plan--paid .plan__name { color: var(--c-or); }

.plan__price {
  font-family: var(--f-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-block: var(--sp-16);
  letter-spacing: -0.03em;
}
.plan--paid .plan__price { color: var(--c-creme); }
.plan__price span { font-size: 1rem; font-weight: 400; opacity: 0.6; }

.plan__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  margin-block: var(--sp-32);
  font-size: 0.9rem;
  line-height: 1.5;
}
.plan--free .plan__features { color: #555; }
.plan--paid .plan__features { color: var(--c-creme-70); }

.plan__feature {
  display: flex;
  gap: var(--sp-8);
  align-items: flex-start;
}
.plan__feature::before {
  content: '✦';
  color: var(--c-or);
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 3px;
}
.plan--free .plan__feature::before { color: var(--c-marine); opacity: 0.5; }

.plan__cta { width: 100%; justify-content: center; }

.plan__note {
  font-size: 0.72rem;
  text-align: center;
  margin-top: var(--sp-16);
  opacity: 0.6;
  line-height: 1.5;
}

/* ════════════════════════════════════════════
   NEWSLETTER CAPTURE
   ════════════════════════════════════════════ */
.newsletter {
  background: var(--c-marine);
  padding-block: var(--sp-96);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(201,162,39,.07) 0%, transparent 70%);
  pointer-events: none;
}
.newsletter > * { position: relative; z-index: 1; }

.newsletter__seal {
  width: 72px;
  height: 72px;
  color: var(--c-or);
  margin: 0 auto var(--sp-32);
  opacity: 0.8;
}
.newsletter__headline { margin-bottom: var(--sp-16); }
.newsletter__sub {
  color: var(--c-creme-70);
  max-width: 460px;
  margin: 0 auto var(--sp-40);
}
.newsletter__sub { --sp-40: 2.5rem; }

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
  max-width: 460px;
  margin-inline: auto;
}
@media (min-width: 480px) {
  .newsletter-form { flex-direction: row; }
  .newsletter-form input { flex: 1; }
}

.newsletter-form input {
  padding: var(--sp-12) var(--sp-20);
  border-radius: var(--r-full);
  border: 1.5px solid var(--c-or-40);
  background: rgba(244,238,226,.08);
  color: var(--c-creme);
  font-family: var(--f-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--t-fast);
  width: 100%;
}
.newsletter-form input::placeholder { color: var(--c-creme-30); }
.newsletter-form input:focus { border-color: var(--c-or); }

.newsletter__rgpd {
  font-size: 0.72rem;
  color: var(--c-creme-30);
  margin-top: var(--sp-16);
  max-width: 400px;
  margin-inline: auto;
  line-height: 1.5;
}
.newsletter__rgpd a { color: var(--c-or); opacity: 0.7; }
.newsletter__rgpd a:hover { opacity: 1; }

/* ════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════ */
.faq {
  background: var(--c-creme);
  color: var(--c-encre);
  padding-block: var(--sp-96);
}
.faq .label  { color: var(--c-marine); opacity: 0.6; }
.faq .display-md { color: var(--c-marine); margin-top: var(--sp-8); }

.faq-list {
  max-width: 680px;
  margin: var(--sp-48) auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #ddd8cc;
}
.faq-item { border-bottom: 1px solid #ddd8cc; }
.faq-question {
  width: 100%;
  text-align: left;
  padding: var(--sp-20) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-16);
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-marine);
  background: none;
  cursor: pointer;
  transition: color var(--t-fast);
}
.faq-question:hover { color: var(--c-or); }
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--c-or-40);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-or);
  font-size: 0.9rem;
  transition: transform var(--t-md), background var(--t-fast);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--c-or);
  color: var(--c-marine);
}
.faq-answer {
  display: none;
  padding-bottom: var(--sp-20);
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer strong { color: var(--c-marine); }

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.footer {
  background: var(--c-encre);
  color: var(--c-creme-70);
  padding-block: var(--sp-64) var(--sp-48);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: var(--sp-32);
  margin-bottom: var(--sp-48);
}
@media (min-width: 640px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer__logo {
  color: var(--c-or);
  display: flex;
  align-items: center;
  gap: var(--sp-12);
}
.footer__logo svg { width: 44px; height: 44px; }
.footer__brand {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-creme);
  letter-spacing: 0.04em;
}
.footer__tagline {
  font-size: 0.8rem;
  color: var(--c-creme-30);
  margin-top: var(--sp-4);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-12) var(--sp-24);
}
.footer__link {
  font-size: 0.85rem;
  color: var(--c-creme-70);
  transition: color var(--t-fast);
}
.footer__link:hover { color: var(--c-or); }

.footer__disclaimer {
  background: rgba(244,238,226,.05);
  border: 1px solid var(--c-or-20);
  border-radius: var(--r-md);
  padding: var(--sp-16) var(--sp-20);
  font-size: 0.78rem;
  color: var(--c-creme-30);
  line-height: 1.6;
  margin-bottom: var(--sp-32);
}
.footer__disclaimer strong { color: var(--c-or); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  font-size: 0.75rem;
  color: var(--c-creme-30);
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ════════════════════════════════════════════
   UTILITY — LEGAL PAGES
   ════════════════════════════════════════════ */
.legal-page {
  background: var(--c-creme);
  color: var(--c-encre);
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: var(--sp-96);
}
.legal-page h1 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--c-marine);
  margin-bottom: var(--sp-48);
  letter-spacing: -0.02em;
}
.legal-page h2 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-marine);
  margin: var(--sp-48) 0 var(--sp-16);
}
.legal-page p, .legal-page li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #555;
  margin-bottom: var(--sp-12);
}
.legal-page ul { padding-left: var(--sp-24); }
.legal-page a { color: var(--c-or); text-decoration: underline; }

/* ════════════════════════════════════════════
   RESPONSIVE — global tweaks
   ════════════════════════════════════════════ */
@media (max-width: 400px) {
  .hero__ctas { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}
