/* Landing pf44 : une page d'occasion, préparée pour le Planning Familial 44.
   Feuille À ELLE (aucun partage avec une autre landing). Direction : la
   maquette fournie le 21/09/2026 (blanc, marine, corail, aplats menthe et
   rose, notes manuscrites). La palette est dans le :root, en fin de feuille. */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body.landing-body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 48px, 1180px);
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 48px, 820px);
}

.lucide {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

/* ── Barre du haut ─────────────────────────────────────────────────────── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  transition: box-shadow 0.2s ease;
}

.site-nav.scrolled {
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(31, 43, 94, 0.45);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(100% - 48px, 1180px);
  min-height: 80px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand-text small {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
}

.desktop-nav {
  display: flex;
  gap: 30px;
  margin-inline: auto;
}

.desktop-nav a,
.footer-nav a {
  color: var(--navy);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.desktop-nav a:hover,
.footer-nav a:hover {
  color: var(--coral);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hamburger {
  display: none;
  padding: 8px;
  border: 0;
  background: none;
  color: var(--navy);
  cursor: pointer;
}

.hamburger svg {
  width: 26px;
  height: 26px;
}

.hamburger[aria-expanded='true'] .icon-menu,
.hamburger[aria-expanded='false'] .icon-close {
  display: none;
}

.mobile-nav {
  display: grid;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 12px 4px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

/* ── Boutons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 26px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn span {
  display: grid;
  text-align: left;
}

.btn small {
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0.85;
}

.btn--small {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 13.5px;
}

.btn--primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 12px 24px -14px rgba(240, 81, 111, 0.9);
}

.btn--primary:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
}

.btn--outline {
  border-color: var(--navy-soft);
  background: var(--white);
  color: var(--navy);
}

.btn--outline:hover {
  border-color: var(--navy);
  background: var(--tint);
}

/* ── Pastilles, titres, notes manuscrites ──────────────────────────────── */

.pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  margin-top: 22px;
  font-size: clamp(33px, 4.2vw, 46px);
  line-height: 1.14;
}

h2 {
  font-size: clamp(27px, 3.1vw, 36px);
  line-height: 1.18;
}

h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 34em;
  margin-top: 22px;
  color: var(--text);
  font-size: 18px;
}

.note {
  position: relative;
  color: var(--navy);
  font-family: var(--hand);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.15;
  transform: rotate(-4deg);
}

.note svg {
  position: absolute;
  width: 46px;
  height: 46px;
}

/* ── Héros ─────────────────────────────────────────────────────────────── */

.hero {
  padding: 44px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.note--hero {
  width: max-content;
  margin: 30px 0 0 58px;
}

.note--hero svg {
  top: -22px;
  left: -58px;
}

.hero-video {
  position: relative;
}

.video-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 18px;
  background: var(--navy);
  box-shadow: 0 30px 60px -30px rgba(31, 43, 94, 0.55), 0 0 0 1px rgba(31, 43, 94, 0.08);
}

.video-frame video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.hero-video figcaption,
.programme-visual figcaption {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
}

.blob {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
}

.hero-video .blob--mint {
  top: 18%;
  left: -7%;
  width: 46%;
  aspect-ratio: 1;
  background: var(--mint);
}

.hero-video .blob--pink {
  top: -9%;
  right: -6%;
  width: 52%;
  aspect-ratio: 1;
  background: var(--pink);
}

.sparks {
  position: absolute;
  top: -42px;
  right: -6px;
  z-index: 1;
  width: 44px;
  color: var(--navy);
  transform: rotate(38deg);
}

.note--video {
  width: max-content;
  margin: 18px 12px 0 auto;
  text-align: right;
  transform: rotate(-5deg);
}

.note--video svg {
  top: -30px;
  left: -50px;
}

/* ── Sections ──────────────────────────────────────────────────────────── */

.section {
  padding: 88px 0;
}

.section--tint {
  background: var(--tint);
}

.section-head {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-head > p:last-child {
  max-width: 38em;
}

.section-head h2 {
  margin-top: 16px;
}

.section-head > p:last-child {
  margin-top: 16px;
  font-size: 17px;
}

/* ── Fonctionnalités ───────────────────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 40px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  border-radius: 50%;
}

.feature-icon .lucide {
  width: 26px;
  height: 26px;
}

.tint-pink {
  background: var(--pink);
  color: var(--coral-dark);
}

.tint-mint {
  background: var(--mint);
  color: var(--green);
}

.tint-lavender {
  background: var(--lavender);
  color: var(--violet);
}

.tint-peach {
  background: var(--peach);
  color: var(--orange);
}

.feature p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ── Au programme ──────────────────────────────────────────────────────── */

.programme-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 72px;
  align-items: center;
}

.programme-visual {
  position: relative;
}

.programme-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
  box-shadow: 0 30px 60px -32px rgba(31, 43, 94, 0.5), 0 0 0 1px rgba(31, 43, 94, 0.08);
}

.programme-visual .blob--mint {
  bottom: 4%;
  left: -12%;
  width: 62%;
  aspect-ratio: 1;
  background: var(--mint);
}

.programme-visual .blob--pink {
  top: -8%;
  right: -10%;
  width: 56%;
  aspect-ratio: 1;
  background: var(--pink);
}

.note--programme {
  position: absolute;
  top: -58px;
  right: 4px;
  z-index: 2;
  transform: rotate(-7deg);
}

.programme-copy h2 {
  margin-top: 16px;
}

.programme-copy > p:not(.pill) {
  margin-top: 18px;
  font-size: 17px;
}

.checks {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.checks li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 16px;
  align-items: start;
  color: var(--navy);
  font-weight: 500;
}

.checks .lucide {
  width: 26px;
  height: 26px;
  padding: 6px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--white);
}

/* ── Questions ─────────────────────────────────────────────────────────── */

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  color: var(--navy);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary .lucide {
  color: var(--coral);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary .lucide {
  transform: rotate(45deg);
}

.faq-list details p {
  padding: 0 24px 22px;
  color: var(--text);
}

/* ── Appel final ───────────────────────────────────────────────────────── */

.section--cta {
  padding: 24px 0 72px;
}

.section--tint + .section--cta {
  padding-top: 72px;
}

.cta-band {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 64px 44px 116px;
  border-radius: 22px;
  background: var(--pink-soft);
}

.cta-copy {
  flex: 1 1 380px;
}

.cta-copy h2 {
  font-size: 24px;
}

.cta-copy p {
  max-width: 34em;
  margin-top: 8px;
  color: var(--text);
  font-size: 15px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
}

.cta-signup {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.cta-signup small {
  color: var(--muted);
  font-size: 12.5px;
}

.cta-doodle {
  position: absolute;
  color: var(--coral);
}

.cta-doodle--left {
  top: 50%;
  left: 40px;
  width: 44px;
  transform: translateY(-50%);
}

.cta-doodle--right {
  top: 26px;
  right: 18px;
  width: 24px;
}

/* ── Pied de page ──────────────────────────────────────────────────────── */

.site-footer {
  padding: 44px 0 36px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 56px;
}

.brand--footer {
  color: var(--white);
}

.footer-tagline {
  font-size: 13.5px;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-left: auto;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 13.5px;
}

.footer-nav a:hover {
  color: var(--white);
}

.footer-legal {
  max-width: 62em;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ── Écrans étroits ────────────────────────────────────────────────────── */

@media (max-width: 1040px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desktop-nav {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .hamburger {
    display: block;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 24px 0 72px;
  }

  .hero-grid,
  .programme-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
  }

  .programme-visual {
    max-width: 520px;
  }

  .section {
    padding: 68px 0;
  }

  .cta-band {
    padding: 40px 32px;
  }

  .cta-doodle {
    display: none;
  }
}

@media (max-width: 600px) {
  .container,
  .container--narrow,
  .nav {
    width: min(100% - 40px, 1180px);
  }

  .nav {
    gap: 12px;
    min-height: 68px;
  }

  .brand-text small,
  .nav-signup,
  .nav-actions .btn .lucide {
    display: none;
  }

  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-text strong {
    font-size: 15px;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 4px;
  }

  .nav-actions .btn {
    padding-inline: 12px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  .features {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero-actions .btn,
  .cta-actions,
  .cta-actions .btn,
  .cta-signup {
    width: 100%;
  }

  .note {
    font-size: 21px;
  }

  .note--programme {
    top: -50px;
  }

  .footer-nav {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .site-nav,
  .faq-list summary .lucide {
    transition: none;
  }
}

/* ── La palette (relevée sur la maquette) ──────────────────────────────── */

:root {
  --white: #ffffff;
  --navy: #1f2b5e;
  --navy-soft: #a9b1cf;
  --navy-deep: #1b2452;
  --text: #4a5578;
  --muted: #6b7594;
  --line: #e4e9f2;
  --tint: #f4f8fc;
  --coral: #f0516f;
  --coral-dark: #d63a5a;
  --pink: #fde4e9;
  --pink-soft: #fdeef1;
  --mint: #cdeedf;
  --green: #1f8a63;
  --green-soft: #5cc49b;
  --lavender: #e9e4fb;
  --violet: #5b4fe0;
  --peach: #fde7d8;
  --orange: #d9682b;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hand: 'Caveat', 'Segoe Print', cursive;
}
