/* Logique Argent — mint & emerald */
:root {
  --mint: #b8f0d8;
  --mint-soft: #e6faf2;
  --mint-mid: #7dd3b0;
  --emerald: #0f766e;
  --emerald-deep: #065f56;
  --emerald-dark: #023c36;
  --forest: #012a26;
  --cream-mint: #f3fbf7;
  --ink: #0a2e2a;
  --ink-soft: #3d5c57;
  --white: #ffffff;
  --line: rgba(15, 118, 110, 0.14);
  --shadow: 0 24px 60px rgba(2, 42, 38, 0.12);
  --radius: 4px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Sora", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream-mint);
  line-height: 1.65;
  font-size: 1.05rem;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ——— Nav ——— */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 1rem 0;
  transition:
    background 0.4s var(--ease),
    backdrop-filter 0.4s,
    padding 0.4s;
}

.nav.scrolled {
  background: rgba(243, 251, 247, 0.88);
  backdrop-filter: blur(14px);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: color 0.3s;
}

.nav__brand img {
  display: block;
  height: 3rem;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 0.55rem;
  box-shadow: 0 1px 10px rgba(2, 42, 38, 0.2);
  transition:
    height 0.4s var(--ease),
    background 0.3s,
    box-shadow 0.3s;
}

.nav__brand span {
  white-space: nowrap;
}

.nav.scrolled .nav__brand {
  color: var(--emerald-dark);
}

.nav.scrolled .nav__brand img {
  height: 2.5rem;
  background: transparent;
  box-shadow: none;
}

.nav__links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.nav__links li {
  display: flex;
  align-items: center;
}

.nav__links a {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s;
}

.nav.scrolled .nav__links a {
  color: var(--ink-soft);
}

.nav__links a:hover {
  color: var(--mint);
}

.nav.scrolled .nav__links a:hover {
  color: var(--emerald);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.15rem;
  background: var(--mint);
  color: var(--forest) !important;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition:
    transform 0.3s var(--ease),
    background 0.3s;
}

.nav__cta:hover {
  transform: translateY(-2px);
  background: var(--white);
}

.nav__burger {
  display: none;
  width: 2rem;
  height: 1.5rem;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.2rem 0;
}

.nav__burger span {
  display: block;
  height: 2px;
  background: var(--white);
  transition: background 0.3s;
}

.nav.scrolled .nav__burger span {
  background: var(--emerald-dark);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(1, 42, 38, 0.35) 0%, rgba(1, 42, 38, 0.55) 40%, rgba(2, 60, 54, 0.92) 100%), linear-gradient(90deg, rgba(6, 95, 86, 0.45) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 0 5.5rem;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  animation: riseIn 1s var(--ease) 0.15s both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 5.75rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--mint);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 450;
  line-height: 1.3;
  max-width: 28ch;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero__lead {
  max-width: 42ch;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    transform 0.35s var(--ease),
    background 0.35s,
    color 0.35s,
    box-shadow 0.35s;
}

.btn--primary {
  background: var(--mint);
  color: var(--forest);
}

.btn--primary:hover {
  background: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(184, 240, 216, 0.35);
}

.btn--dark {
  background: var(--emerald-dark);
  color: var(--mint);
}

.btn--dark:hover {
  background: var(--forest);
  transform: translateY(-3px);
}

.btn--ghost {
  background: transparent;
  color: var(--emerald-deep);
  border: 1.5px solid var(--emerald);
}

.btn--ghost:hover {
  background: var(--emerald);
  color: var(--white);
}

.hero__disclaimer {
  margin-top: 1.75rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 48ch;
  font-style: italic;
}

/* ——— Sections ——— */
.section {
  padding: clamp(4.5rem, 10vw, 7rem) 0;
}

.section--mint {
  background: linear-gradient(165deg, var(--mint-soft) 0%, #d8f5e8 45%, var(--mint-soft) 100%);
}

.section--deep {
  background: linear-gradient(160deg, var(--emerald-dark) 0%, var(--forest) 100%);
  color: var(--white);
}

.section--pattern {
  background-color: var(--cream-mint);
  background-image: radial-gradient(circle at 12% 20%, rgba(125, 211, 176, 0.22) 0%, transparent 42%), radial-gradient(circle at 88% 70%, rgba(15, 118, 110, 0.1) 0%, transparent 40%);
}

.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.85rem;
}

.section--deep .section__eyebrow {
  color: var(--mint-mid);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
  max-width: 22ch;
}

.section__lead {
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.section--deep .section__lead {
  color: rgba(255, 255, 255, 0.72);
}

.section__outro {
  margin-top: 2.5rem;
  font-size: 1.1rem;
  max-width: 48ch;
  color: var(--emerald-deep);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.4;
}

/* ——— Pain points ——— */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pain-item {
  padding: 2rem 1.75rem 2rem 0;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.pain-item:nth-child(even) {
  padding-left: 1.75rem;
  border-left: 1px solid var(--line);
}

.pain-item.is-visible {
  opacity: 1;
  transform: none;
}

.pain-item__icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.pain-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 550;
  line-height: 1.3;
  margin-bottom: 0.65rem;
  color: var(--emerald-dark);
}

.pain-item p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.pain-visual {
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  aspect-ratio: 21 / 9;
}

.pain-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pain-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 95, 86, 0.35), transparent 50%);
}

/* ——— Method intro + modules ——— */
.method-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.method-intro__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.method-intro__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.method-intro__img::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(2, 42, 38, 0.35));
  z-index: 1;
  pointer-events: none;
}

.modules {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.module {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  opacity: 0;
  transform: translateX(-16px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}

.module.is-visible {
  opacity: 1;
  transform: none;
}

.module:last-of-type {
  border-bottom: 1px solid var(--line);
}

.module__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--mint-mid);
  line-height: 1;
  padding-top: 0.15rem;
}

.module__icon {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.module h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--emerald-dark);
  margin-bottom: 0.25rem;
}

.module__sub {
  font-size: 0.95rem;
  color: var(--emerald);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.module ul {
  list-style: none;
	margin-bottom: 0.85rem;
  display: grid;
  gap: 0.4rem;
}

.module li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.module li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--emerald);
  border-radius: 50%;
}

.module p {
	font-size: 0.95rem;
	color: var(--ink-soft);
}

.bonus {
  margin-top: 2.5rem;
  padding: 2rem 2rem 2rem 2.25rem;
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.bonus::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(184, 240, 216, 0.12);
}

.bonus__icon {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.bonus h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--mint);
}

.bonus ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.bonus li {
  padding-left: 1.25rem;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
}

.bonus li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--mint);
  font-weight: 700;
}

/* ——— How it works ——— */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.step {
  padding-top: 1.5rem;
  border-top: 2px solid rgba(184, 240, 216, 0.35);
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.step.is-visible {
  opacity: 1;
  transform: none;
}

.step__n {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--mint);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step__icon {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 550;
  margin-bottom: 0.6rem;
  color: var(--mint);
}

.step p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.how-visual {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.how-visual__main,
.how-visual__side {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.how-visual__side {
  aspect-ratio: auto;
  height: 100%;
}

.how-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ——— Benefits ——— */
.benefits {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.benefit__mark {
  color: var(--emerald);
  font-weight: 700;
  font-size: 1.1rem;
  padding-top: 0.15rem;
}

.benefit h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 550;
  margin-bottom: 0.4rem;
  color: var(--emerald-dark);
}

.benefit p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.benefits-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 3.5rem;
  align-items: start;
}

.benefits-layout__img {
  position: sticky;
  top: 6rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.benefits-layout__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ——— Pricing ——— */
.pricing {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.pricing .section__title {
  max-width: none;
  margin-inline: auto;
}

.pricing .section__lead {
  margin-inline: auto;
}

.price-block {
  margin-top: 2rem;
  padding: 2.75rem 2rem;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.price-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--mint-mid), var(--emerald));
}

.price-block__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.75rem;
}

.price-block__amount {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.25rem);
  font-weight: 600;
  color: var(--emerald-dark);
  line-height: 1;
  letter-spacing: -0.03em;
}

.price-block__amount span {
  font-size: 0.4em;
  font-weight: 500;
  letter-spacing: 0;
}

.price-block__once {
  color: var(--ink-soft);
  margin: 0.5rem 0 1.75rem;
  font-size: 0.95rem;
}

.price-block ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.price-block li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--ink);
  font-size: 0.98rem;
}

.price-block li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

.price-block .btn {
  width: 100%;
  justify-content: center;
}

.price-note {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  text-align: left;
}

/* ——— FAQ ——— */
.faq-list {
  max-width: 760px;
  margin-top: 0.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 550;
  color: var(--emerald-dark);
  line-height: 1.35;
}

.faq-q__icon {
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 0.15rem;
}

.faq-q__chevron {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  position: relative;
}

.faq-q__chevron::before,
.faq-q__chevron::after {
  content: "";
  position: absolute;
  background: var(--emerald);
  transition: transform 0.35s var(--ease);
}

.faq-q__chevron::before {
  width: 12px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-q__chevron::after {
  width: 2px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-q__chevron::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a__inner {
  overflow: hidden;
}

.faq-a__inner p {
  padding: 0 0 1.35rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 58ch;
}

/* ——— Final CTA ——— */
.final-cta {
  text-align: center;
  padding: clamp(4.5rem, 10vw, 7rem) 0;
  background:
    linear-gradient(160deg, rgba(2, 60, 54, 0.88), rgba(1, 42, 38, 0.92)),
    url("images/home-calm.jpg") center / cover;
  color: var(--white);
}

.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  max-width: 22ch;
  margin: 0 auto 1rem;
  line-height: 1.2;
  color: var(--mint);
}

.final-cta__text {
  max-width: 42ch;
  margin: 0 auto 1.5rem;
  color: rgba(255, 255, 255, 0.78);
}

.final-cta__step {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--white);
}

.final-cta__note {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 48ch;
  margin-inline: auto;
  font-style: italic;
}

/* ——— Contact form ——— */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-email {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.contact-email a {
  color: var(--emerald-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.1rem;
  transition:
    box-shadow 0.4s var(--ease),
    outline 0.4s;
}

.contact-form.is-prefilled {
  outline: 2px solid var(--emerald);
  box-shadow: 0 24px 60px rgba(15, 118, 110, 0.18);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald-dark);
  letter-spacing: 0.02em;
}

.field span em {
  font-style: normal;
  font-weight: 400;
  color: var(--ink-soft);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  background: var(--cream-mint);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: var(--radius);
  transition:
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--emerald);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: #c45c5c;
}

.contact-form__submit {
  justify-self: start;
  margin-top: 0.35rem;
  min-width: 14rem;
  justify-content: center;
}

.contact-form__submit.is-loading {
  pointer-events: none;
  opacity: 0.85;
}

.contact-form__submit.is-loading::before {
  content: "";
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  border: 2px solid rgba(184, 240, 216, 0.35);
  border-top-color: var(--mint);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.modal--success {
  width: min(440px, 100%);
  text-align: center;
}

.success-modal__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 2rem;
}

.success-modal__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint-mid), var(--emerald));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  animation: successPop 0.45s var(--ease) both;
}

@keyframes successPop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.success-modal__lead {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--emerald-dark);
  font-weight: 550;
}

.success-modal__body .btn {
  margin-top: 0.75rem;
}

/* ——— Footer ——— */
.footer {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--mint);
  margin-bottom: 0.85rem;
}

.footer__brand img {
  display: block;
  height: 3.25rem;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 0.6rem;
}

.footer__tag {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2rem;
  font-size: 0.88rem;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  list-style: none;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__links button {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  transition: color 0.25s;
  text-align: left;
}

.footer__links button:hover {
  color: var(--mint);
}

.footer__mediation {
  max-width: 640px;
  margin-bottom: 2rem;
  padding: 1.25rem 0 0;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
}

.footer__mediation strong {
  display: block;
  color: var(--mint-mid);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__copy a {
  color: var(--mint-mid);
}

/* ——— Modal ——— */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(1, 42, 38, 0.62);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  width: min(720px, 100%);
  max-height: min(85vh, 820px);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s var(--ease);
}

.modal-overlay.is-open .modal {
  transform: none;
}

.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--emerald-dark);
  line-height: 1.25;
}

.modal__close {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  position: relative;
  border-radius: 50%;
  background: var(--mint-soft);
  transition: background 0.25s;
}

.modal__close:hover {
  background: var(--mint);
}

.modal__close::before,
.modal__close::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background: var(--emerald-dark);
  top: 50%;
  left: 50%;
}

.modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal__body {
  padding: 1.5rem;
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

.modal__body--legal {
  white-space: pre-wrap;
  font-family: var(--font-body);
}

.modal__body p {
  margin-bottom: 1rem;
}

.modal__body p:last-child {
  margin-bottom: 0;
}

body.modal-open {
  overflow: hidden;
}

/* ——— Cookie consent (CNIL) ——— */
.cookie-consent {
  position: fixed;
  inset: auto 0 0;
  z-index: 180;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s var(--ease),
    visibility 0.35s;
}

.cookie-consent.is-visible {
  opacity: 1;
  visibility: visible;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent__panel {
  pointer-events: auto;
  width: min(640px, 100%);
  max-height: min(88vh, 720px);
  overflow-y: auto;
  background: var(--forest);
  color: rgba(255, 255, 255, 0.88);
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: 0 -8px 40px rgba(1, 42, 38, 0.35);
  transform: translateY(24px);
  transition: transform 0.4s var(--ease);
  border: 1px solid rgba(184, 240, 216, 0.15);
}

.cookie-consent.is-visible .cookie-consent__panel {
  transform: none;
}

.cookie-consent__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--mint);
  margin-bottom: 0.75rem;
}

.cookie-consent__text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.85rem;
}

.cookie-consent__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.cookie-consent__link {
  color: var(--mint-mid);
  font-size: 0.82rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.cookie-consent__link:hover {
  color: var(--mint);
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.btn--cookie,
.btn--cookie-primary {
  flex: 1 1 auto;
  min-width: 8.5rem;
  justify-content: center;
  padding: 0.8rem 1rem;
  font-size: 0.78rem;
}

/* Equal visual weight for Accept / Refuse (CNIL) */
.btn--cookie {
  background: transparent;
  color: var(--mint);
  border: 1.5px solid var(--mint-mid);
}

.btn--cookie:hover {
  background: rgba(184, 240, 216, 0.1);
}

.btn--cookie-primary {
  background: var(--mint);
  color: var(--forest);
  border: 1.5px solid var(--mint);
}

.btn--cookie-primary:hover {
  background: var(--white);
  border-color: var(--white);
}

.cookie-cat {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0;
}

.cookie-cat:last-of-type {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 1.25rem;
}

.cookie-cat__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}

.cookie-cat h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--mint);
  margin-bottom: 0.35rem;
  font-weight: 550;
}

.cookie-cat p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.cookie-switch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-switch__ui {
  width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  position: relative;
  transition: background 0.25s;
}

.cookie-switch__ui::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.25s var(--ease);
}

.cookie-switch input:checked + .cookie-switch__ui {
  background: var(--emerald);
}

.cookie-switch input:checked + .cookie-switch__ui::after {
  transform: translateX(20px);
}

.cookie-switch input:disabled + .cookie-switch__ui {
  background: var(--mint-mid);
  opacity: 0.85;
}

.cookie-switch input:focus-visible + .cookie-switch__ui {
  outline: 2px solid var(--mint);
  outline-offset: 2px;
}

.cookie-switch__label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  max-width: 5.5rem;
  line-height: 1.2;
}

@media (max-width: 600px) {
  .cookie-consent__actions {
    flex-direction: column;
  }

  .btn--cookie,
  .btn--cookie-primary {
    width: 100%;
  }

  .cookie-cat__head {
    grid-template-columns: 1fr;
  }

  .cookie-switch {
    flex-direction: row;
    justify-content: flex-start;
  }
}

/* ——— Reveal utility ——— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .nav__brand {
    font-size: 1.1rem;
    gap: 0.5rem;
  }

  .nav__brand img,
  .nav.scrolled .nav__brand img {
    height: 2.55rem;
  }

  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--emerald-dark);
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 1rem;
  }

  .nav.is-open .nav__links a {
    color: rgba(255, 255, 255, 0.9);
  }

  .nav.is-open .nav__cta {
    color: var(--forest) !important;
  }

  .method-intro,
  .benefits-layout,
  .how-visual,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .benefits-layout__img {
    position: static;
    aspect-ratio: 16 / 10;
    order: -1;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .pain-item:nth-child(even) {
    padding-left: 0;
    border-left: none;
  }

  .how-visual__side {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 600px) {
  .nav__brand {
    font-size: 1rem;
    gap: 0.4rem;
  }

  .nav__brand img,
  .nav.scrolled .nav__brand img {
    height: 2.35rem;
  }

  .footer__brand {
    font-size: 1.25rem;
    gap: 0.6rem;
  }

  .footer__brand img {
    height: 2.75rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .module {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .hero__content {
    padding-bottom: 4rem;
  }

  .pain-visual {
    aspect-ratio: 16 / 10;
  }

  .nav__cta {
    display: none;
  }
}
