/* ==========================================================================
   Yaskfit — Landing Instagram
   DA : noir doux + accents rose poudré / nude / or rosé
   Mobile-first. Premium. Féminin. Bienveillant.
   ========================================================================== */

/* -------- Tokens -------- */
:root {
  --color-bg: #0a0908;
  --color-bg-alt: #14110f;
  --color-bg-card: #1c1816;
  --color-text: #f6f1ea;
  --color-text-muted: #b9aea1;
  --color-text-dim: #6f6457;

  /* Accent : or rosé chaleureux */
  --color-accent: #d9a78a;
  --color-accent-hover: #c5906f;
  --color-accent-soft: #e8c9b3;

  /* Secondary : rose poudré */
  --color-rose: #e7b9b4;

  --color-border: #2a221d;
  --color-cross: #4a3f37;
  --color-check: #c5e0b4;

  --font-display: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1100px;
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 1.1rem; margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
p { margin: 0; }
strong { color: var(--color-text); font-weight: 600; }
em { color: var(--color-accent-soft); font-style: italic; }

/* -------- Layout -------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}
.section {
  padding: 80px 0;
  border-top: 1px solid var(--color-border);
}
.section__title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}
.accent { color: var(--color-accent); }

/* -------- CTA -------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 18px 32px;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
}
.cta--primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-rose) 100%);
  color: #1a1410;
  box-shadow: 0 12px 32px -10px rgba(217, 167, 138, 0.45);
}
.cta--primary:hover {
  background: linear-gradient(135deg, var(--color-accent-hover) 0%, var(--color-rose) 100%);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px -10px rgba(217, 167, 138, 0.6);
}
.cta--xl {
  padding: 22px 40px;
  font-size: 1.12rem;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 64px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10, 9, 8, 0.65) 0%,
      rgba(10, 9, 8, 0.50) 35%,
      rgba(10, 9, 8, 0.75) 75%,
      rgba(10, 9, 8, 0.95) 100%
    ),
    linear-gradient(90deg,
      rgba(10, 9, 8, 0.55) 0%,
      rgba(10, 9, 8, 0.15) 50%,
      rgba(10, 9, 8, 0.55) 100%
    );
}
.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid rgba(217, 167, 138, 0.4);
  background: rgba(217, 167, 138, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 999px;
  color: var(--color-accent-soft);
  font-size: .85rem;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.hero__title {
  font-size: clamp(2.2rem, 5.4vw, 3.9rem);
  margin-bottom: 26px;
  text-wrap: balance;
  line-height: 1.1;
}
.hero__sub {
  max-width: 680px;
  margin: 0 auto 40px;
  color: var(--color-text-muted);
  font-size: clamp(1.05rem, 1.55vw, 1.2rem);
  line-height: 1.55;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  margin: 56px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--color-border);
  list-style: none;
  color: var(--color-text-muted);
  font-size: .92rem;
}
.trust-bar li strong { color: var(--color-accent); font-weight: 600; }
.trust-bar li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   PAIN
   ========================================================================== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.pain-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.pain-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}
.pain-card__num {
  position: absolute;
  top: 18px; right: 22px;
  color: var(--color-text-dim);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.pain-card h3 {
  font-size: 1.18rem;
  margin-bottom: 12px;
  color: var(--color-text);
}
.pain-card p {
  color: var(--color-text-muted);
  font-size: .96rem;
  line-height: 1.6;
}

/* ==========================================================================
   INSIGHT
   ========================================================================== */
.section--insight { background: var(--color-bg-alt); text-align: center; }
.insight__lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}
.insight__list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.insight__list li {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}
.insight__cross {
  display: inline-block;
  width: 24px;
  color: var(--color-cross);
  font-weight: 700;
  margin-right: 6px;
}
.insight__verdict {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 600;
  line-height: 1.4;
  max-width: 740px;
  margin: 0 auto;
  text-wrap: balance;
}

/* ==========================================================================
   PILLARS
   ========================================================================== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.pillar-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: border-color .2s var(--ease);
}
.pillar-card:hover { border-color: var(--color-accent); }
.pillar-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-rose) 100%);
  color: #1a1410;
  font-weight: 800;
  margin-bottom: 22px;
  font-size: 1.1rem;
}
.pillar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--color-text);
}
.pillar-card p { color: var(--color-text-muted); }

/* ==========================================================================
   FOUNDER (Yasmine)
   ========================================================================== */
.section--founder { background: var(--color-bg-alt); }
.founder {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
@media (min-width: 820px) {
  .founder { grid-template-columns: 280px 1fr; gap: 56px; }
}
.founder__photo {
  width: 100%;
}
.founder__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

/* ==========================================================================
   GALLERY — En action
   ========================================================================== */
.section--gallery { background: var(--color-bg-alt); }
.gallery__lead {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: -20px auto 36px;
  font-size: 1rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 320px;
  }
  .gallery-item--wide {
    grid-column: 1 / -1;
    grid-row: span 1;
  }
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-card);
  position: relative;
  aspect-ratio: 4 / 3;
}
@media (min-width: 720px) {
  .gallery-item { aspect-ratio: auto; height: 100%; }
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.03); }
.founder__label {
  font-size: .8rem;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 10px;
}
.founder__bio h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 18px;
}
.founder__bio p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}
.founder__quote {
  font-style: italic;
  border-left: 3px solid var(--color-accent);
  padding-left: 18px;
  color: var(--color-text) !important;
  margin-top: 22px !important;
}

/* ==========================================================================
   DIAGNOSTIC INTRO
   ========================================================================== */
.diagnostic-intro {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.diagnostic-intro__lead {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
}
.diagnostic-intro__what {
  list-style: none;
  padding: 0;
  margin: 0 auto 32px;
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  max-width: 480px;
}
.diagnostic-intro__what li {
  color: var(--color-text-muted);
  font-size: 1rem;
}
.diagnostic-intro__what .check {
  display: inline-block;
  width: 22px;
  color: var(--color-accent);
  font-weight: 700;
}
.diagnostic-intro__time {
  margin-bottom: 32px;
  color: var(--color-text-dim);
  font-size: .95rem;
}

/* ==========================================================================
   QUALIFY
   ========================================================================== */
.qualify-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.qualify-col {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 34px 28px;
}
.qualify-col h3 {
  font-size: 1.18rem;
  margin-bottom: 20px;
}
.qualify-col--yes h3 { color: var(--color-accent); }
.qualify-col--no h3 { color: var(--color-text-muted); }
.qualify-col ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.qualify-col li {
  position: relative;
  padding-left: 28px;
  color: var(--color-text-muted);
  font-size: .98rem;
}
.qualify-col--yes li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--color-accent);
  font-weight: 800;
}
.qualify-col--no li::before {
  content: "✗";
  position: absolute;
  left: 0; top: 0;
  color: var(--color-cross);
  font-weight: 800;
}

/* ==========================================================================
   BOOKING / FINAL CTA
   ========================================================================== */
.section--booking {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at center, rgba(217, 167, 138, 0.06) 0%, transparent 70%),
    var(--color-bg);
}
.booking { text-align: center; max-width: 720px; margin: 0 auto; }
.booking__sub {
  color: var(--color-text-muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
  line-height: 1.6;
}
.booking__guarantee {
  margin-top: 32px;
  font-size: .95rem;
  color: var(--color-text-dim);
  font-style: italic;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.section--faq { background: var(--color-bg-alt); }
.faq { max-width: 720px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 12px;
  background: var(--color-bg-card);
  cursor: pointer;
  transition: border-color .2s var(--ease);
}
.faq details:hover { border-color: var(--color-accent); }
.faq summary {
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  position: relative;
  padding-right: 30px;
  color: var(--color-text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 0;
  font-size: 1.4rem;
  color: var(--color-accent);
  font-weight: 700;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: 14px;
  color: var(--color-text-muted);
  font-size: .98rem;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-dim);
  font-size: .88rem;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
.footer a { color: var(--color-text-muted); }
.footer a:hover { color: var(--color-accent); }
@media (min-width: 720px) {
  .footer__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   FORM — Diagnostic (used in diagnostic.html)
   ========================================================================== */
.form-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 100px 22px 80px;
}
.form-header {
  text-align: center;
  margin-bottom: 40px;
}
.form-header h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin-bottom: 12px;
}
.form-header p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
}
.progress-bar {
  height: 6px;
  background: var(--color-bg-card);
  border-radius: 999px;
  margin-bottom: 36px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-rose) 100%);
  width: 0%;
  transition: width .3s var(--ease);
}
.step {
  display: none;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 28px;
}
.step.is-active { display: block; }
.step h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--color-text);
}
.step__intro {
  color: var(--color-text-muted);
  font-size: .98rem;
  margin-bottom: 28px;
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: .95rem;
  margin-bottom: 8px;
  color: var(--color-text);
  font-weight: 500;
}
.field .hint {
  font-size: .82rem;
  color: var(--color-text-dim);
  margin-top: 4px;
  font-weight: 400;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color .2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(217, 167, 138, 0.15);
}
.field textarea { min-height: 100px; resize: vertical; }
.field--row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 540px) {
  .field--row { grid-template-columns: 1fr 1fr; }
}
.choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 540px) {
  .choices--cols-2 { grid-template-columns: 1fr 1fr; }
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .15s var(--ease);
  font-size: .98rem;
}
.choice:hover {
  border-color: var(--color-accent-soft);
  background: rgba(217, 167, 138, 0.04);
}
.choice input { accent-color: var(--color-accent); }
.choice input:checked + span,
.choice.is-selected {
  color: var(--color-accent);
}
.choice.is-selected {
  border-color: var(--color-accent);
  background: rgba(217, 167, 138, 0.08);
}
.range-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.range-row input[type="range"] {
  flex: 1;
  accent-color: var(--color-accent);
}
.range-row .range-value {
  min-width: 48px;
  text-align: center;
  font-weight: 700;
  color: var(--color-accent);
  font-size: 1.2rem;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--color-text-muted);
  padding: 16px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  margin-top: 8px;
}
.consent input { margin-top: 3px; accent-color: var(--color-accent); }
.consent a { color: var(--color-accent); text-decoration: underline; }

.step-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.btn {
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: all .15s var(--ease);
}
.btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-rose) 100%);
  color: #1a1410;
  border-color: transparent;
}
.btn--primary:hover {
  color: #1a1410;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -6px rgba(217, 167, 138, 0.5);
}
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.field-error {
  color: #e57373;
  font-size: .88rem;
  margin-top: 6px;
}
.form-error-banner {
  background: rgba(229, 115, 115, 0.1);
  border: 1px solid rgba(229, 115, 115, 0.3);
  color: #e57373;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  text-align: center;
}

/* ==========================================================================
   THANK YOU PAGE
   ========================================================================== */
.thanks {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 22px 100px;
  text-align: center;
}
.thanks__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-rose) 100%);
  color: #1a1410;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 auto 28px;
}
.thanks h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 18px;
}
.thanks__lead {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}
.thanks__verdict {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  margin: 0 0 32px;
}
.thanks__score {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.thanks__cta-block {
  background:
    radial-gradient(ellipse at center, rgba(217, 167, 138, 0.1) 0%, transparent 70%),
    var(--color-bg-card);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 40px 28px;
  margin-bottom: 24px;
}
.thanks__cta-block h2 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.thanks__cta-block p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}
.thanks__loading {
  color: var(--color-text-muted);
  margin: 40px 0;
}
.spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
