/* ============ CEREBRO — Consultanță performanță sportivă ============ */
:root {
  --ink: #0d1b2a;
  --ink-soft: #3d4c5e;
  --muted: #6b7a8c;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --bg-tint: #eaf1f6;
  --accent: #0e6e5c;
  --accent-dark: #0a5546;
  --accent-soft: #e3f2ee;
  --gold: #b98a2f;
  --gold-dark: #8f6a20;
  --gold-soft: #f7efdc;
  --line: #dde5ec;
  --radius: 18px;
  --shadow: 0 10px 40px rgba(13, 27, 42, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; line-height: 1.35; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head p { margin-top: 1rem; }

.soft { background: var(--bg-soft); }
.tint { background: var(--bg-tint); }

em.hl { font-style: normal; color: var(--accent); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(14, 110, 92, 0.28);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }

.btn-ghost {
  color: var(--ink);
  border: 1.5px solid var(--line);
  background: #fff;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-whatsapp {
  background: #1fa855;
  color: #fff;
  box-shadow: 0 6px 20px rgba(31, 168, 85, 0.28);
}
.btn-whatsapp:hover { background: #178a45; transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(14, 110, 92, 0.08), transparent),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(185, 138, 47, 0.06), transparent),
    var(--bg);
  overflow: hidden;
}

.hero .container { width: min(1280px, 94%); }

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 4vw, 4.5rem);
  align-items: center;
}

.hero h1 { margin: 0 0 1.4rem; }
.hero .lead { max-width: 560px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero-note { margin-top: 1.4rem; font-size: 0.86rem; color: var(--muted); }

/* Hero visual: athlete morph loop (portret 4:5) */
.hero-visual {
  position: relative;
  max-width: 520px;
  margin-left: auto;
}
.hero-visual video {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-visual-caption {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 1.4rem 0;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  list-style: none;
}
.trust-items li {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.trust-items li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ---------- Inline CTA (section-head secondary link) ---------- */
.inline-cta {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}
.inline-cta-note { font-size: 0.85rem; color: var(--muted); }
.inline-cta-center { justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card h3 { margin: 0.9rem 0 0.6rem; }
.card p { font-size: 0.95rem; color: var(--ink-soft); }

.card-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* Pain cards */
.pain-card { border-left: 4px solid var(--gold); }
.pain-card h3 { font-size: 1.08rem; }

/* ---------- Consultancy tracks ---------- */
.track-grid { align-items: stretch; }
.track-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.track-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.track-head {
  padding: 1.9rem 1.8rem 1.6rem;
  background: linear-gradient(135deg, #13876e 0%, #0e6e5c 42%, #0a5546 78%, #0c604f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.track-head h3 { color: #fff; margin: 0 0 0.4rem; }
.track-tagline { font-weight: 600; color: rgba(255, 255, 255, 0.94); margin: 0; }

.track-body { padding: 1.8rem 1.8rem 2rem; display: flex; flex-direction: column; flex-grow: 1; }
.track-body > p { font-size: 0.95rem; margin-bottom: 1.2rem; }

.track-list { list-style: none; margin: 0 0 1.7rem; display: flex; flex-direction: column; gap: 0.6rem; flex-grow: 1; }
.track-list li { position: relative; padding-left: 1.4rem; font-size: 0.9rem; color: var(--ink-soft); }
.track-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.5em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.track-cta { margin-top: auto; text-align: center; }

/* Track 2 — sportivi (gold metal) */
.track-card:nth-child(2) .track-head {
  background: linear-gradient(135deg, #cf9f45 0%, #b98a2f 42%, #8f6a20 78%, #a67c29 100%);
}
.track-card:nth-child(2) .track-list li::before { background: var(--gold-dark); }

/* Track 3 — cluburi (navy metal) */
.track-card:nth-child(3) .track-head {
  background: linear-gradient(135deg, #22384d 0%, #0d1b2a 45%, #060d16 80%, #0f2032 100%);
}
.track-card:nth-child(3) .track-list li::before { background: var(--ink-soft); }

/* CTA buttons — solid, a shade darker than each card's header */
.btn-gold { background: var(--gold-dark); color: #fff; box-shadow: 0 6px 20px rgba(143, 106, 32, 0.32); }
.btn-gold:hover { background: #705316; transform: translateY(-2px); }
.btn-ink { background: #060d16; color: #fff; box-shadow: 0 6px 20px rgba(6, 13, 22, 0.35); }
.btn-ink:hover { background: #02060b; transform: translateY(-2px); }

/* ---------- Pillars ---------- */
.pillars { counter-reset: pillar; }
.pillar {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.6rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.pillar:last-child { border-bottom: none; }

.pillar-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0.85;
}
.pillar h3 { margin-bottom: 0.4rem; }
.pillar p { color: var(--ink-soft); font-size: 0.98rem; max-width: 62ch; }

/* ---------- Congruence diagram + elements ---------- */
.congruence-diagram {
  max-width: 660px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.congruence-diagram svg { width: 100%; height: auto; display: block; }

.incongruence { margin-top: clamp(2.5rem, 5vw, 4rem); }
.incongruence-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 1.4rem;
}

/* ---------- Steps (Evaluare 360) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Section CTA (centered follow-up button) ---------- */
.section-cta { text-align: center; margin-top: clamp(2rem, 4vw, 3rem); }

/* ---------- Why / arguments ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 2rem;
}
.why-card h3 { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; }
.why-card .check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.why-card p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Team / coordinator ---------- */
.team-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  grid-template-rows: auto;
}
.team-photo-frame {
  grid-column: 1;
  grid-row: 1;
}
.team-photo {
  display: block;
  width: 100%;
  height: auto;
}
.team-text {
  grid-column: 1 / -1;
  grid-row: 1;
  align-self: end;
  padding-left: 110px;
  padding-top: 240px;
}
.team-text h2 { margin-bottom: 0.3rem; }
.team-role { font-size: 0.92rem; font-weight: 600; color: var(--accent); margin-bottom: 1rem; }
.team-text p { max-width: 62ch; margin-bottom: 1rem; }
.bio-more p:last-child { margin-bottom: 0; }
.bio-closing {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin-top: 1.4rem !important;
}
.bio-toggle {
  display: inline-block;
  margin-top: 0.3rem;
  background: none;
  border: none;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  padding: 0.3rem 0;
}
.bio-toggle:hover { color: var(--accent-dark); text-decoration: underline; }

/* ---------- Contact person note ---------- */
.contact-person {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.4rem 0;
  padding: 0.8rem 1.1rem;
  background: var(--bg-soft);
  border-radius: 12px;
}
.contact-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.contact-person span { font-size: 0.92rem; color: var(--ink-soft); }
.contact-person strong { color: var(--ink); }

/* ---------- Audience ---------- */
.audience-list { list-style: none; display: grid; gap: 1rem; margin-top: 1.5rem; }
.audience-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 1.4rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.audience-list li strong { color: var(--ink); }
.audience-list li::before {
  content: "→";
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Quote band ---------- */
.quote-band {
  background: var(--ink);
  color: #fff;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  text-align: center;
}
.quote-band blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.4;
  max-width: 860px;
  margin: 0 auto;
}
.quote-band cite {
  display: block;
  margin-top: 1.4rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.faq summary {
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.3rem; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.contact-info h2 { margin-bottom: 1rem; }
.contact-info p { color: var(--ink-soft); max-width: 46ch; }
.contact-channels { margin-top: 2rem; display: grid; gap: 1rem; }

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }

.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.9rem; }

.btn-block { display: block; width: 100%; text-align: center; }
.btn-block + .btn-block { margin-top: 0.7rem; }

.form-status { display: none; margin-top: 1rem; padding: 0.9rem 1.2rem; border-radius: 10px; font-size: 0.92rem; font-weight: 500; }
.form-status.ok { display: block; background: var(--accent-soft); color: var(--accent-dark); border: 1px solid var(--accent); }
.form-status.err { display: block; background: #fdecec; color: #a13030; border: 1px solid #e6313a; }

/* ---------- Lead capture modal ---------- */
.lead-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  z-index: 200;
}
.lead-modal-overlay[hidden] { display: none; }
.lead-modal {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.lead-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: none;
  color: var(--ink-soft);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.lead-modal-close:hover { background: var(--bg-tint); color: var(--ink); }
.lead-modal h3 { margin: 0.3rem 0 0.6rem; font-size: clamp(1.25rem, 2.2vw, 1.5rem); padding-right: 1.5rem; }
.lead-modal-subtitle { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.4rem; }
.lead-modal-error { color: #a13030; font-size: 0.88rem; margin-bottom: 0.9rem; }

/* ---------- Manager login ---------- */
.mgr-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: var(--bg-soft);
}
.mgr-login-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 400px;
  width: 100%;
}
.mgr-login-card .logo { display: inline-block; margin-bottom: 1.4rem; text-decoration: none; }
.mgr-login-card h1 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 0.4rem; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin: 2.4rem 0 0.8rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.05rem; margin: 1.4rem 0 0.5rem; }
.legal p { color: var(--ink-soft); margin-bottom: 0.9rem; }
.legal ul, .legal ol { color: var(--ink-soft); margin: 0 0 0.9rem 1.3rem; }
.legal li { margin-bottom: 0.4rem; }
.legal a { color: var(--accent); }
.legal .legal-meta { background: var(--bg-tint); border-radius: var(--radius); padding: 1.3rem 1.6rem; margin-bottom: 2.2rem; font-size: 0.92rem; }
.legal .legal-meta p { margin-bottom: 0.35rem; color: var(--ink-soft); }
.legal .legal-updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 2rem; }

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 300;
  max-width: 340px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.3rem;
}
.cookie-banner p { color: var(--ink-soft); font-size: 0.85rem; margin-bottom: 0.9rem; }
.cookie-banner-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-banner-actions .btn { flex: 1; padding: 0.55rem 1rem; font-size: 0.82rem; white-space: nowrap; }
@media (max-width: 480px) {
  .cookie-banner { left: 0.6rem; right: 0.6rem; bottom: 0.6rem; max-width: none; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0 2rem;
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.footer .logo { color: #fff; }
.footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 1.6rem; list-style: none; }

/* ---------- Principles page ---------- */
.page-hero {
  padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse 55% 45% at 90% 0%, rgba(14, 110, 92, 0.08), transparent),
    var(--bg);
}
.page-hero .lead { max-width: 680px; margin-top: 1.2rem; }
.page-hero p:not(.lead) { color: var(--ink-soft); max-width: 680px; margin-top: 0.9rem; }

/* ---------- Repere (page-hero mini cards) ---------- */
.repere-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: clamp(2.2rem, 5vw, 3.2rem);
}
.repere-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 1.5rem;
}
.repere-card .label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.repere-card p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Lead magnet band ---------- */
.leadmagnet {
  scroll-margin-top: 90px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(2rem, 4vw, 2.6rem) clamp(1.8rem, 4vw, 2.6rem);
  margin: clamp(1rem, 3vw, 2rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.leadmagnet .eyebrow { color: var(--gold); margin-bottom: 0.7rem; }
.leadmagnet h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-bottom: 0.7rem; }
.leadmagnet-text p { color: var(--ink-soft); font-size: 0.96rem; max-width: 52ch; margin-bottom: 0.5rem; }
.leadmagnet-text p:last-child { margin-bottom: 0; }
.leadmagnet-cta { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; text-align: center; }
.leadmagnet-note { font-size: 0.78rem; color: var(--muted); }
.leadmagnet-cover {
  width: 180px;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

/* ---------- Final CTA (premium) ---------- */
.cta-final {
  background: linear-gradient(160deg, #081019 0%, var(--ink) 55%, #122542 100%);
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  padding: clamp(4.5rem, 9vw, 7.5rem) clamp(1.5rem, 5vw, 3rem);
}
.cta-final .eyebrow { color: rgba(255, 255, 255, 0.6); }
.cta-final h2 { color: #fff; max-width: 720px; margin: 0 auto 1.3rem; }
.cta-final p { color: rgba(255, 255, 255, 0.8); max-width: 620px; margin: 0 auto 0.9rem; }
.cta-final .btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
  margin-top: 1.3rem;
}
.cta-final .btn-primary:hover { background: var(--bg-tint); }
.cta-final .link-secondary {
  display: inline-block;
  margin-top: 1.3rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  text-decoration: underline;
}
.cta-final .link-secondary:hover { color: #fff; }
.cta-final .footnote {
  display: block;
  margin-top: 2.2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.principle {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--line);
}
.principle:last-of-type { border-bottom: none; }

.principle-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
}
.principle h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.9rem; }
.principle p { color: var(--ink-soft); max-width: 68ch; margin-bottom: 0.8rem; }
.principle p:last-child { margin-bottom: 0; }
.principle .takeaway {
  margin-top: 1.2rem;
  padding: 1rem 1.4rem;
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  font-size: 0.94rem;
  color: var(--accent-dark);
  font-weight: 500;
  max-width: 60ch;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  text-align: center;
  padding: clamp(4rem, 8vw, 6rem) 0;
  border-radius: var(--radius);
}
.cta-band h2 { color: #fff; margin-bottom: 1rem; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 560px; margin: 0 auto 2rem; }
.cta-band .btn-primary { background: #fff; color: var(--accent-dark); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--bg-tint); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: min(100%, 460px); margin: 0 auto; }
  .grid-3, .steps, .repere-grid { grid-template-columns: 1fr 1fr; }
  .why-grid, .contact-grid, .team-block { grid-template-columns: 1fr; }
  .team-photo-frame { grid-column: 1; grid-row: 1; max-width: 220px; margin: 0 auto; }
  .team-text { grid-column: 1; grid-row: 2; padding-left: 0; padding-top: 1.6rem; }
  .leadmagnet { grid-template-columns: 1fr; text-align: center; }
  .leadmagnet-text p { max-width: none; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 1.2rem 5%;
    gap: 1.1rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .steps, .form-row, .repere-grid { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 48px 1fr; gap: 1rem; }
  .principle { grid-template-columns: 1fr; gap: 0.6rem; }
  .principle-num { font-size: 2rem; }

  /* Let the congruence diagram break out of the container's side margins,
     then zoom in — the SVG's own viewBox has generous empty margin around
     the rings, so a real scale-up (not just a wider box) is what actually
     reads as bigger. #piloni clips the intentional horizontal overflow. */
  #piloni { overflow-x: hidden; }
  .congruence-diagram {
    max-width: 100vw;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0;
    box-sizing: border-box;
  }
  .congruence-diagram svg {
    transform: scale(1.12);
    transform-origin: center;
  }
}
