/* ============================================
   legirardin.fr — Charte graphique premium
   Banque privée : navy / ivoire / or
   ============================================ */

:root {
  /* Palette */
  --navy:        #0E2444;
  --navy-dark:   #061632;
  --navy-light:  #1F3A66;
  --ivory:       #FAF7F2;
  --ivory-dark:  #F0EAD9;
  --gold:        #B89860;
  --gold-dark:   #8B6F3D;
  --gold-light:  #D4B97E;
  --text:        #1A1A1A;
  --text-muted:  #666666;
  --hairline:    #D4CCB8;
  --success:     #4A7A52;
  --white:       #FFFFFF;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Spacing */
  --container: 1200px;
  --section-y: 5.5rem;
}

/* ============= RESET ============= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--navy); }
button { font: inherit; cursor: pointer; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.18; margin: 0 0 0.6em; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); letter-spacing: -0.005em; }
h3 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 600; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 2rem);
}

.center { text-align: center; }
.gold-italic {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.2em;
}
.eyebrow.light { color: var(--gold-light); }
.section-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--navy-light);
  max-width: 650px;
  margin: 0.5em auto 2.8em;
  line-height: 1.6;
}
.section-lead.light { color: rgba(250, 247, 242, 0.85); }
h2.light, .light { color: var(--ivory); }
.footnote {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.5em;
  font-style: italic;
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.95em 1.8em;
  border: 1.5px solid transparent;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.btn-sm { padding: 0.55em 1.1em; font-size: 0.78rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--ivory); transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--navy); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--ivory); }
.btn-ghost-light {
  background: transparent;
  color: var(--ivory);
  border-color: var(--gold-light);
}
.btn-ghost-light:hover { background: var(--gold-light); color: var(--navy-dark); }

.check { color: var(--gold-dark); font-weight: 700; margin-right: 0.45em; }
.check-gold { color: var(--gold); font-weight: 700; margin-right: 0.5em; font-size: 1.1em; }

/* ============= HEADER ============= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--hairline);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
}
.brand:hover { color: var(--navy); }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--navy-dark);
  color: var(--gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
}
.brand-text { font-size: 0.96rem; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a {
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav a:hover { color: var(--gold-dark); }

@media (max-width: 720px) {
  .nav { gap: 1rem; }
  .nav a:not(.btn) { display: none; }
  .nav .btn { display: inline-flex; }
}

/* ============= HERO + SIMULATEUR ============= */
.hero-sim {
  padding: 3.5rem 0 5rem;
  background:
    radial-gradient(ellipse at 80% 20%, var(--ivory-dark) 0%, transparent 60%),
    var(--ivory);
  border-bottom: 1px solid var(--hairline);
}
.hero-sim-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
}
.hero-sim-text h1 {
  margin: 0.4em 0;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.1;
}
.hero-sim-text .lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--gold-dark);
  margin: 0 0 1.4rem;
}
.hero-sim-sub {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 480px;
}
.hero-sim-sub em {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.92em;
}

/* === LE SIMULATEUR === */
.sim-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 2rem;
  box-shadow:
    0 30px 80px -30px rgba(6, 22, 50, 0.25),
    0 6px 16px -8px rgba(6, 22, 50, 0.15);
  position: relative;
}
.sim-card::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.sim-card-head {
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
}
.sim-card-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
}
.sim-step { margin-bottom: 1.4rem; }
.sim-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.6rem;
}
.sim-label-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.sim-label-value {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
/* Slider styling */
#ir-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: var(--ivory-dark);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}
#ir-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px; height: 24px;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 4px 14px rgba(184, 152, 96, 0.5);
  transition: transform 0.12s;
}
#ir-slider::-webkit-slider-thumb:hover { transform: scale(1.12); }
#ir-slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.05); }
#ir-slider::-moz-range-thumb {
  width: 24px; height: 24px;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50%;
  cursor: grab;
  box-shadow: 0 4px 14px rgba(184, 152, 96, 0.5);
}
.sim-slider-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Profile buttons */
.sim-profile-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
}
.sim-profile {
  background: var(--ivory);
  border: 1.5px solid var(--hairline);
  border-radius: 6px;
  padding: 0.7em 0.5em;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}
.sim-profile:hover {
  border-color: var(--gold-light);
  background: var(--ivory-dark);
}
.sim-profile.active {
  border-color: var(--gold);
  background: var(--ivory-dark);
  color: var(--navy);
  box-shadow: 0 2px 8px -2px rgba(184, 152, 96, 0.4);
}
.sim-profile .profile-icon {
  display: inline-block;
  font-size: 0.6em;
  color: var(--hairline);
  margin-right: 0.4em;
  transform: translateY(-2px);
  transition: color 0.18s;
}
.sim-profile.active .profile-icon { color: var(--gold); }

/* Results */
.sim-results {
  background: var(--ivory);
  border-radius: 8px;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--hairline);
}
.sim-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4em 0;
  font-size: 0.95rem;
}
.sim-result-row.featured {
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--hairline);
  font-size: 1rem;
}
.sim-result-row.featured .sim-result-label { font-weight: 600; color: var(--navy); }
.sim-result-label { color: var(--text); }
.sim-result-value {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.sim-result-value.gold { color: var(--gold-dark); }
.sim-result-value.success {
  color: var(--success);
  font-size: 1.4rem;
}

/* Bar visualization */
.sim-bar {
  display: flex;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 1.2rem;
  background: var(--ivory-dark);
}
.sim-bar-fill {
  height: 100%;
  background: var(--navy);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.sim-bar-fill.sim-bar-gain { background: var(--success); }
.sim-bar-legend {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.legend-apport { color: var(--navy); font-weight: 500; }
.legend-gain { color: var(--success); font-weight: 500; }

/* SAISONNALITÉ — différenciant unique */
.sim-saisonnalite {
  margin: 1rem 0 1.4rem;
  padding: 1.1rem;
  background: linear-gradient(135deg, var(--ivory-dark) 0%, var(--ivory) 100%);
  border: 1px solid var(--gold);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}
.saisonnalite-header {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.8em;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-dark);
  text-transform: uppercase;
}
.saisonnalite-icon { font-size: 1.1em; }
.saisonnalite-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}
.saisonnalite-cell {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  padding: 0.6em 0.4em;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.15em;
}
.saisonnalite-cell.saisonnalite-best {
  background: rgba(74, 122, 82, 0.08);
  border-color: var(--success);
  border-width: 1.5px;
}
.saisonnalite-cell.saisonnalite-worst {
  background: rgba(196, 106, 61, 0.08);
}
.saisonnalite-trimestre {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.saisonnalite-gain {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.saisonnalite-gain.success { color: var(--success); font-size: 1.05rem; }
.saisonnalite-rendement {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-style: italic;
}
.saisonnalite-note {
  font-size: 0.82rem;
  margin: 0;
  text-align: center;
  color: var(--text);
  line-height: 1.5;
}
.saisonnalite-note a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.saisonnalite-note strong { color: var(--success); }

@media (max-width: 480px) {
  .saisonnalite-grid { grid-template-columns: 1fr 1fr; }
}

/* CTA */
.sim-cta {
  text-align: center;
  margin-top: 0.4rem;
}
.sim-cta-pitch {
  font-size: 0.95rem;
  margin: 0 0 1rem;
  line-height: 1.55;
  color: var(--text);
}
.sim-cta-pitch strong { color: var(--navy); }
.sim-cta-btn { margin-bottom: 0.7rem; }
.sim-disclaimer {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
  font-style: italic;
}

@media (max-width: 980px) {
  .hero-sim-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .sim-card { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .sim-profile-buttons { grid-template-columns: 1fr; }
  .sim-result-value.success { font-size: 1.2rem; }
}

/* legacy hero (fallback) */
.hero {
  padding: 4rem 0 5rem;
  background:
    radial-gradient(ellipse at top right, var(--ivory-dark) 0%, transparent 60%),
    var(--ivory);
  border-bottom: 1px solid var(--hairline);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text h1 {
  margin-top: 0.3em;
  margin-bottom: 0.3em;
}
.hero .lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: var(--gold-dark);
  margin-bottom: 1.3em;
}
.hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 520px;
  margin-bottom: 2em;
}
.hero-cta {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 0.45em;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.hero-visual {
  position: relative;
  perspective: 1500px;
}
.hero-visual img {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  box-shadow:
    0 20px 60px -20px rgba(6, 22, 50, 0.45),
    0 6px 20px -10px rgba(6, 22, 50, 0.35);
  border-radius: 4px;
  transform: rotate(-1.5deg);
  transition: transform 0.5s ease;
}
.hero-visual:hover img { transform: rotate(0deg) translateY(-6px); }
.hero-visual-shadow {
  position: absolute;
  inset: 20% 5% -10% 5%;
  background: radial-gradient(ellipse, rgba(184, 152, 96, 0.18), transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual img { max-width: 300px; }
}

/* ============= 2 CHEMINS ============= */
.paths {
  padding: var(--section-y) 0;
  background:
    linear-gradient(180deg, var(--ivory) 0%, var(--ivory-dark) 100%);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.paths h2 { margin-bottom: 0.4em; }
.paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.path-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--hairline);
  border-radius: 10px;
  padding: 2.4rem 2rem;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.path-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.path-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -25px rgba(6, 22, 50, 0.25);
  border-color: var(--gold);
}
.path-card:hover::before {
  transform: scaleX(1);
}
.path-card-b {
  background: var(--navy-dark);
  color: var(--ivory);
  border-color: var(--navy-dark);
}
.path-card-b::before {
  background: var(--gold-light);
  transform: scaleX(0.5);
}
.path-card-b:hover {
  background: var(--navy);
  border-color: var(--gold);
}
.path-icon {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 1.2rem;
}
.path-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 0.6em;
}
.path-card-b .path-eyebrow { color: var(--gold-light); }
.path-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.7em;
}
.path-card-b h3 { color: var(--ivory); }
.path-desc {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 1.4em;
}
.path-card-b .path-desc { color: rgba(250, 247, 242, 0.8); }
.path-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin: 0 0 1.6em;
}
.path-bullets li {
  font-size: 0.92rem;
  color: var(--text);
}
.path-card-b .path-bullets li { color: rgba(250, 247, 242, 0.85); }
.path-cta {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-dark);
  margin-top: auto;
  padding-top: 0.5em;
  border-top: 1px solid var(--hairline);
  display: inline-block;
  align-self: flex-start;
  transition: gap 0.2s ease;
}
.path-card-b .path-cta {
  color: var(--gold-light);
  border-top-color: rgba(184, 152, 96, 0.3);
}
.path-card:hover .path-cta {
  color: var(--gold);
  letter-spacing: 0.07em;
}

@media (max-width: 800px) {
  .paths-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .path-card { padding: 1.8rem 1.5rem; }
}

/* ============= PARADOX ============= */
.paradox {
  padding: var(--section-y) 0;
  background: var(--navy-dark);
  color: var(--ivory);
}
.paradox-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}
.paradox-stat { text-align: center; }
.stat-huge {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(7rem, 14vw, 11rem);
  line-height: 1;
  color: var(--gold);
}
.stat-frac {
  font-size: 0.45em;
  color: var(--gold-light);
  font-style: italic;
  vertical-align: super;
}
.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--ivory);
  margin-top: 0.5em;
  font-weight: 500;
}
.paradox-text h2 { color: var(--ivory); }
.paradox-text p { color: rgba(250, 247, 242, 0.82); font-size: 1.02rem; line-height: 1.75; }
.paradox-end {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem !important;
  color: var(--gold-light) !important;
  border-left: 2px solid var(--gold);
  padding-left: 1.2em;
  margin-top: 2em !important;
}

@media (max-width: 760px) {
  .paradox-row { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============= POUR QUI ============= */
.for-who { padding: var(--section-y) 0; }
.for-who h2 { text-align: center; }
.profiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.profile {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.profile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px -20px rgba(14, 36, 68, 0.25);
}
.profile.featured {
  background: var(--ivory-dark);
  border: 1.5px solid var(--gold);
}
.profile-amount {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--success);
  margin-bottom: 0.4em;
}
.profile h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.3em;
}
.profile-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1em;
}
.profile p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.55;
}
.badge {
  position: absolute;
  top: -10px; right: 50%;
  transform: translateX(50%);
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.3em 0.9em;
  border-radius: 999px;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .profiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .profiles { grid-template-columns: 1fr; }
}

/* ============= MÉCANISME ============= */
.mechanism {
  padding: var(--section-y) 0;
  background: var(--ivory-dark);
}
.mechanism h2 { text-align: center; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}
.step {
  background: var(--ivory);
  border-radius: 6px;
  padding: 2.2rem 1.8rem;
  position: relative;
  border-top: 3px solid var(--gold);
}
.step-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3rem;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.4em;
}
.step h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.5em;
}
.step p { font-size: 0.95rem; color: var(--text); line-height: 1.6; margin: 0; }

.mechanism-chart {
  background: var(--ivory);
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid var(--hairline);
  margin-top: 1rem;
}

@media (max-width: 880px) {
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============= LEAD MAGNET ============= */
.lead-magnet {
  padding: var(--section-y) 0;
  background: var(--ivory);
  border-top: 1px solid var(--hairline);
}
.lead-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.lead-visual img {
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 30px 70px -25px rgba(6, 22, 50, 0.4);
  border-radius: 4px;
}
.lead-form-wrap h2 { margin-bottom: 0.4em; }
.lead-bullets {
  margin: 1.5em 0 2em;
  display: flex;
  flex-direction: column;
  gap: 0.55em;
}
.lead-bullets li {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.55;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form select {
  font: inherit;
  padding: 0.95em 1em;
  border: 1.5px solid var(--hairline);
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
  width: 100%;
  box-sizing: border-box;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s;
}
.lead-form input::placeholder { font-size: 0.95rem; color: #8d8675; opacity: 1; }
.lead-form input:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--ivory);
}
.lead-form select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%23666' d='M6 8L0 0h12z'/></svg>"); background-repeat: no-repeat; background-position: right 1em center; background-size: 10px; padding-right: 2.5em; }
.checkbox { display: flex; gap: 0.7em; align-items: flex-start; font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; cursor: pointer; }
.checkbox input { margin-top: 0.25em; accent-color: var(--gold); }
.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0.4em 0 0;
}
.form-error {
  background: #FEE5E2;
  color: #B0413E;
  padding: 0.7em 1em;
  border-radius: 4px;
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 880px) {
  .lead-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .lead-visual img { max-width: 280px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============= BOOKING ============= */
.booking {
  padding: var(--section-y) 0;
  background: var(--navy-dark);
  position: relative;
}
.booking::before, .booking::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.booking::before { top: 0; }
.booking::after { bottom: 0; }
.booking h2 { text-align: center; }
.booking-bullets {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  align-items: center;
  margin: 0 auto 3rem;
  max-width: 580px;
}
.booking-bullet {
  color: var(--ivory);
  font-size: 1rem;
}
.booking-embed {
  max-width: 800px;
  margin: 0 auto;
  background: var(--ivory);
  padding: 1rem;
  border-radius: 12px;
}
.booking-embed iframe {
  display: block;
  width: 100%;
  border-radius: 8px;
}

/* ============= FAQ ============= */
.faq { padding: var(--section-y) 0; }
.faq h2 { text-align: center; margin-bottom: 2.5rem; }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  margin-bottom: 0.9rem;
  padding: 0;
  transition: border-color 0.2s;
}
.faq details[open] { border-color: var(--gold); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1em 1.4em;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  padding: 0 1.4em 1.3em;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text);
}

/* ============= FINAL CTA ============= */
.final-cta {
  padding: var(--section-y) 0;
  background:
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 152, 96, 0.12), transparent 60%);
  top: -200px; right: -200px;
}
.final-cta h2 {
  max-width: 800px;
  margin: 0 auto 0.7em;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  position: relative;
}
.final-cta .section-lead { margin-bottom: 2.5em; }
.final-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ============= FOOTER ============= */
.site-footer {
  background: var(--ivory-dark);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--hairline);
}
.footer-row { text-align: center; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--navy);
}
.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-dark);
  margin-bottom: 1.5em;
  font-size: 1.05rem;
}
.footer-legal {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 2em;
  text-align: justify;
}
.footer-bottom {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}
.footer-bottom a { color: var(--gold-dark); }

/* ============= UTILITIES & ANIMATIONS ============= */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
