/* ==========================================================================
   ERAELLE — landing de pré-lancement
   Charte : Cormorant Garamond + Jost · rose poudré, ivoire, nacre, chrome
   Mobile-first
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* Palette officielle ERAELLE */
  --poudre: #ebc1bf;
  --blush: #efb2b3;
  --pastel: #f6d3d5;
  --ivoire: #fbf6ee;
  --blanc: #fffdfb;
  --nacre: #f4eeea;
  --chrome: #d3c3c6;
  --rose: #7a4a4f;       /* titres, boutons, CTA */
  --rose-dark: #643a3f;
  --encre: #2f2427;      /* uniquement pour les traits et les bulles */
  /* Dérivés pour la lisibilité du texte courant */
  --text: #4a3236;
  --text-soft: #7a6064;
  --label: #a65a64;
  --error: #a3283f;
  --success: #4f6b55;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --gutter: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 24px 48px -24px rgba(122, 74, 79, 0.45);
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivoire);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 500; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

main { overflow-x: clip; }
.container { width: 100%; max-width: 1140px; margin-inline: auto; padding-inline: var(--gutter); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--rose); color: var(--blanc); text-decoration: none; font-weight: 500;
}
.skip-link:focus { top: 12px; }

/* ---------- Typo ---------- */
.label, .kicker {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--label);
}
.label { margin-bottom: 0.9rem; }
.label--center { text-align: center; }

.title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.1rem, 8.4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.005em;
  color: var(--rose);
  text-wrap: balance;
}
.title em { font-style: italic; }
.title--center { text-align: center; margin-inline: auto; max-width: 18ch; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 56px;
  padding: 0.9rem 2rem;
  border: 1px solid var(--rose);
  border-radius: 999px;
  background: var(--rose);
  color: var(--blanc);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 28px -14px rgba(122, 74, 79, 0.75);
  transition: background-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--rose-dark); transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(122, 74, 79, 0.8); }
.btn:active { transform: translateY(1px); }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--rose); box-shadow: none; }
.btn--ghost:hover { background: var(--blanc); }
.btn__spinner {
  display: none; width: 16px; height: 16px;
  border: 1.5px solid rgba(255, 253, 251, 0.35); border-top-color: var(--blanc); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.btn[aria-busy="true"] { cursor: progress; opacity: 0.92; }
.btn[aria-busy="true"] .btn__spinner { display: inline-block; }

/* ---------- En-tête ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 246, 238, 0.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(211, 195, 198, 0.55);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--rose); }
.brand__arch { width: 22px; height: 28px; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.42em; margin-right: -0.42em; }
.topbar__cta {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--rose); border-radius: 999px;
  color: var(--rose); text-decoration: none;
  font-weight: 500; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background-color 0.2s, color 0.2s;
}
.topbar__cta:hover { background: var(--rose); color: var(--blanc); }

/* ---------- Hero ---------- */
.hero {
  padding: 2rem 0 3.5rem;
  background:
    radial-gradient(55rem 32rem at 100% 0%, rgba(246, 211, 213, 0.7), transparent 60%),
    radial-gradient(40rem 26rem at 0% 100%, rgba(244, 238, 234, 0.9), transparent 60%);
}
.hero__grid { display: grid; gap: 2.6rem; }
.hero__grid > * { min-width: 0; }
.kicker { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.66rem; letter-spacing: 0.22em; }
.kicker__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blush); box-shadow: 0 0 0 0 rgba(239, 178, 179, 0.7); animation: pulse 2.6s var(--ease) infinite; }

.hero__title { margin-top: 1.1rem; color: var(--rose); }
.hero__word {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 12.8vw, 6rem);
  line-height: 0.9;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.hero__heart { display: inline-block; font-size: 0.55em; letter-spacing: 0; vertical-align: 0.35em; color: var(--blush); animation: beat 3.4s var(--ease) infinite; }
.hero__tagline {
  display: block;
  margin-top: 1rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--label);
}
.hero__question {
  margin-top: 1.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.75rem, 7.4vw, 2.7rem);
  line-height: 1.12;
  color: var(--rose);
  max-width: 17ch;
  text-wrap: balance;
}
.hero__question em { font-style: normal; background: linear-gradient(transparent 62%, rgba(239, 178, 179, 0.55) 62%); padding-inline: 0.06em; }
.hero__lead { margin-top: 1rem; max-width: 42ch; color: var(--text-soft); }
.hero__actions { margin-top: 1.8rem; display: grid; gap: 0.75rem; }
.hero__note { font-size: 0.8rem; color: var(--text-soft); text-align: center; }

/* Composition : arche + épingle + téléphone */
.hero__visual { position: relative; width: 100%; max-width: 480px; margin-inline: auto; aspect-ratio: 1 / 1.08; }
.arch {
  position: absolute; top: 0; left: 8%; width: 70%; height: 92%;
  border-radius: 999px 999px 20px 20px;
  overflow: hidden;
  border: 1.5px solid var(--rose);
  box-shadow: 0 0 0 7px var(--ivoire), 0 0 0 8px var(--chrome), var(--shadow-soft);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
.pin-card {
  position: absolute; left: 0; bottom: 4%; width: 31%;
  padding: 6px 6px 0;
  background: var(--blanc);
  border-radius: 6px;
  box-shadow: 0 18px 30px -16px rgba(47, 36, 39, 0.45);
  rotate: -7deg;
  animation: sway 7s ease-in-out infinite;
  transform-origin: 50% 0;
}
.pin-card img { border-radius: 3px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.pin-card figcaption { padding: 0.25rem 0 0.35rem; text-align: center; font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--rose); }
.pin-card__pearl, .pearl {
  position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; z-index: 2;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 22%, #f7ecec 45%, #d8c4c7 100%);
  box-shadow: 0 2px 4px rgba(47, 36, 39, 0.25);
}
.phone {
  border-radius: 13% / 6.2%;
  overflow: hidden;
  background: var(--poudre);
  box-shadow: 0 30px 50px -22px rgba(122, 74, 79, 0.6);
}
.phone img { width: 100%; transform: scale(1.03); }
.phone--hero { position: absolute; right: 0; bottom: 0; width: 41%; rotate: 5deg; animation: float 7s ease-in-out infinite; }
.hero__star { position: absolute; color: var(--blush); animation: twinkle 3.8s ease-in-out infinite; }
.hero__star--a { width: 22px; top: 6%; right: 6%; }
.hero__star--b { width: 14px; top: 48%; left: 1%; animation-delay: -1.6s; color: var(--chrome); }

/* ---------- Problème ---------- */
.problem { padding: 4.5rem 0 4rem; background: var(--nacre); }
.problem__grid { display: grid; gap: 3rem; }
.beats { margin-top: 1.8rem; display: grid; gap: 0.2rem; }
.beat {
  display: grid; grid-template-columns: 2.2rem 1fr; align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(211, 195, 198, 0.8);
  font-size: 1.02rem;
}
.beat__num { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--label); }

.board {
  position: relative;
  margin: 0 auto 5.5rem;
  width: 100%; max-width: 460px;
  padding: 1.4rem 1.2rem 1.6rem;
  background: var(--pastel);
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(122, 74, 79, 0.12), var(--shadow-soft);
}
.board__pins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem 0.8rem; width: 100%; }
.polaroid {
  position: relative;
  padding: 6px;
  background: var(--blanc);
  border-radius: 6px;
  box-shadow: 0 10px 18px -12px rgba(47, 36, 39, 0.45);
}
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; padding: 6px; background: var(--ivoire); border-radius: 3px; }
.polaroid--1 { rotate: -4deg; } .polaroid--2 { rotate: 3deg; } .polaroid--3 { rotate: -2deg; }
.polaroid--4 { rotate: 2deg; } .polaroid--5 { rotate: -3deg; } .polaroid--6 { rotate: 4deg; }
.board__girl { position: absolute; right: -6%; bottom: -5.5rem; width: 46%; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); mask-image: linear-gradient(to bottom, #000 78%, transparent 99%); }
.bubble {
  position: absolute; left: 4%; bottom: -3.6rem;
  padding: 0.7rem 1.1rem;
  background: var(--blanc);
  border: 1.5px solid var(--encre);
  border-radius: 20px;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 1.15rem; line-height: 1.15; color: var(--encre);
  rotate: -3deg;
}
.bubble::after {
  content: ""; position: absolute; right: -9px; top: 45%;
  width: 16px; height: 16px;
  background: var(--blanc);
  border-right: 1.5px solid var(--encre); border-top: 1.5px solid var(--encre);
  transform: rotate(45deg) skew(10deg, 10deg);
}
.problem__punch {
  margin-top: 1rem;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.5rem, 5.6vw, 2.1rem); line-height: 1.2;
  color: var(--rose); text-align: center; text-wrap: balance;
}
.problem__punch strong { font-weight: 600; font-style: italic; }

/* ---------- Solution ---------- */
.solution { padding: 4.5rem 0 4rem; }
.formula {
  margin: 2rem auto 2.8rem;
  display: flex; align-items: flex-start; justify-content: center; gap: 0.35rem;
  max-width: 560px;
}
.formula li { display: grid; justify-items: center; gap: 0.4rem; font-size: 0.66rem; font-weight: 500; letter-spacing: 0.04em; color: var(--rose); min-width: 0; }
.formula__ico {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--rose); color: var(--blanc);
}
.formula__ico svg { width: 22px; height: 22px; }
.formula__op { padding-top: 0.75rem; font-family: var(--serif); font-size: 1.3rem !important; color: var(--chrome) !important; }
.formula__result .formula__ico { background: var(--blanc); color: var(--rose); box-shadow: inset 0 0 0 1.5px var(--poudre); }

.features {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 70%;
  gap: 1.1rem;
  margin-inline: calc(var(--gutter) * -1);
  padding: 0.5rem var(--gutter) 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.features::-webkit-scrollbar { display: none; }
.feature {
  scroll-snap-align: start;
  padding: 1rem 1rem 1.4rem;
  background: linear-gradient(180deg, var(--pastel), var(--nacre));
  border-radius: 26px;
}
.feature .phone { width: 82%; margin: 0.4rem auto 1.2rem; }
.feature__num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--label); }
.feature__title { margin-top: 0.1rem; font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.1; color: var(--rose); }
.feature__text { margin-top: 0.3rem; color: var(--text-soft); }
.disclaimer { margin-top: 0.6rem; text-align: center; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--text-soft); }

/* ---------- Waitlist ---------- */
.waitlist {
  padding: 4.5rem 0 5rem;
  background:
    radial-gradient(40rem 30rem at 50% 0%, rgba(235, 193, 191, 0.55), transparent 70%),
    var(--nacre);
  outline: none;
}
.waitlist__card {
  position: relative;
  max-width: 600px; margin-inline: auto;
  padding: 4.2rem 1.4rem 2.2rem;
  background: linear-gradient(180deg, var(--blanc) 0%, var(--ivoire) 100%);
  border: 1.5px solid var(--rose);
  border-radius: 999px 999px 28px 28px / 260px 260px 28px 28px;
  box-shadow: var(--shadow-soft);
}
.waitlist__card::before {
  content: ""; position: absolute; inset: 9px; pointer-events: none;
  border: 1px solid var(--chrome);
  border-radius: 999px 999px 21px 21px / 250px 250px 21px 21px;
}
.waitlist__arch { position: absolute; top: 1.6rem; left: 50%; width: 30px; height: 38px; margin-left: -15px; color: var(--rose); }
.waitlist__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.75rem, 7vw, 2.6rem); line-height: 1.06;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--rose); text-align: center; text-wrap: balance; outline: none;
}
.waitlist__lead { margin: 0.9rem auto 0; max-width: 36ch; text-align: center; color: var(--text-soft); }

.form { position: relative; margin-top: 1.8rem; display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.4rem; }
.field__label { font-weight: 500; font-size: 0.85rem; color: var(--text); }
.field__req { font-weight: 300; color: var(--text-soft); }
.field__input {
  width: 100%; min-height: 56px; padding: 0 1.3rem;
  border: 1px solid var(--chrome); border-radius: 999px;
  background: var(--blanc); color: var(--text);
  font: inherit; font-size: 1rem; font-weight: 400;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field__input::placeholder { color: #a8959a; }
.field__input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(239, 178, 179, 0.45); }
.field__input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(163, 40, 63, 0.15); }
.field__error { padding-left: 1.3rem; color: var(--error); font-size: 0.86rem; font-weight: 400; }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; align-items: start; }
.consent__box {
  appearance: none; -webkit-appearance: none;
  width: 22px; height: 22px; margin: 0.15rem 0 0;
  border: 1px solid var(--rose); border-radius: 6px;
  background: var(--blanc); cursor: pointer;
  display: grid; place-content: center;
  transition: background-color 0.2s;
}
.consent__box::after { content: "♥"; font-size: 12px; line-height: 1; color: var(--blanc); transform: scale(0); transition: transform 0.25s var(--ease); }
.consent__box:checked { background: var(--rose); }
.consent__box:checked::after { transform: scale(1); }
.consent__label { font-size: 0.88rem; line-height: 1.5; cursor: pointer; }
.consent__optional { color: var(--text-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.4em; text-align: center; font-size: 0.92rem; font-weight: 400; }
.form__status.is-error { color: var(--error); }
.form__status.is-ok { color: var(--success); }
.form__legal { font-size: 0.76rem; line-height: 1.55; color: var(--text-soft); text-align: center; }
.form__legal a { color: var(--rose); font-weight: 500; }

.waitlist__success { display: grid; justify-items: center; gap: 0.3rem; text-align: center; }
.waitlist__success[hidden] { display: none; }
.waitlist__success .btn { margin-top: 1.6rem; }
.sparkles { display: flex; align-items: flex-end; gap: 0.5rem; margin-bottom: 1rem; color: var(--blush); }
.sparkles svg { width: 18px; animation: pop 0.8s var(--ease) both; }
.sparkles svg:nth-child(2) { width: 34px; color: var(--rose); animation-delay: 0.12s; }
.sparkles svg:nth-child(3) { animation-delay: 0.24s; }

/* ---------- Footer ---------- */
.footer { padding: 3.2rem 0 calc(6.5rem + env(safe-area-inset-bottom)); background: var(--ivoire); border-top: 1px solid rgba(211, 195, 198, 0.6); }
.footer__inner { display: grid; justify-items: center; gap: 0.5rem; text-align: center; }
.footer__arch { width: 30px; height: 38px; color: var(--rose); }
.footer__name { margin-top: 0.4rem; font-family: var(--serif); font-weight: 600; font-size: 1.6rem; letter-spacing: 0.4em; margin-right: -0.4em; color: var(--rose); }
.footer__name span { letter-spacing: 0; color: var(--blush); }
.footer__tag { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--label); }
.footer__nav { margin-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.2rem 1.6rem; }
.footer__nav a { display: inline-block; padding: 0.5rem 0; text-decoration: none; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); border-bottom: 1px solid transparent; }
.footer__nav a:hover { border-bottom-color: var(--rose); }
.footer__copy { margin-top: 0.8rem; font-size: 0.76rem; color: var(--text-soft); }

/* ---------- CTA collant (mobile) ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 0.8rem var(--gutter) calc(0.8rem + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(251, 246, 238, 0.98) 65%, rgba(251, 246, 238, 0));
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}
.sticky-cta.is-visible { transform: none; }

/* ---------- Pages secondaires ---------- */
.page { padding: 3rem 0 5rem; }
.page .container { max-width: 760px; }
.page h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 8vw, 3.2rem); line-height: 1.05; color: var(--rose); }
.page h2 { margin-top: 2.2rem; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--rose); }
.page p, .page li { margin-top: 0.7rem; color: var(--text-soft); }
.page strong { color: var(--text); }
.page ul { padding-left: 1.2rem; list-style: "✦  "; }
.page .eyebrow { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--label); margin-bottom: 0.8rem; }
.page .todo { background: #fff3c8; padding: 0 0.25em; border-radius: 4px; color: var(--text); }
.page .btn { margin-top: 2rem; }
.page--center { text-align: center; }
.page--center .logo { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; letter-spacing: 0.4em; color: var(--rose); margin-bottom: 1.5rem; }
.page--center .logo__heart { letter-spacing: 0; color: var(--blush); }
.topbar .logo { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: 0.42em; color: var(--rose); text-decoration: none; }
.topbar .logo__heart { letter-spacing: 0; color: var(--blush); }
.footer .logo { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; letter-spacing: 0.4em; color: var(--rose); }
.footer .logo__heart { color: var(--blush); letter-spacing: 0; }

/* ---------- Apparition au scroll (si JS actif) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes sway { 0%, 100% { rotate: -7deg; } 50% { rotate: -5deg; } }
@keyframes twinkle { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: 0.65; opacity: 0.55; } }
@keyframes beat { 0%, 72%, 100% { transform: scale(1); } 80% { transform: scale(1.18); } 88% { transform: scale(0.96); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(239, 178, 179, 0.7); } 60% { box-shadow: 0 0 0 7px rgba(239, 178, 179, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0% { scale: 0; opacity: 0; } 60% { scale: 1.2; opacity: 1; } 100% { scale: 1; } }

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

/* ---------- Tablette ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .hero__actions { justify-items: start; }
  .hero__actions .btn { width: auto; }
  .hero__note { text-align: left; }
  .features { grid-auto-columns: 42%; }
  .formula li { font-size: 0.74rem; }
  .formula { gap: 0.8rem; }
  .formula__ico { width: 54px; height: 54px; }
  .waitlist__card { padding: 4.8rem 3rem 2.6rem; }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  body { font-size: 1.1rem; }
  .hero { padding: 4.5rem 0 5.5rem; }
  .hero__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 3.5rem; }
  .hero__visual { max-width: 520px; }
  .problem, .solution { padding-block: 6.5rem; }
  .problem__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
  .board { margin-bottom: 4rem; }
  .problem__punch { margin-top: 3rem; }
  .features {
    grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto;
    margin-inline: 0; padding-inline: 0; overflow: visible;
  }
  .waitlist { padding-block: 6.5rem 7.5rem; }
  .footer { padding-bottom: 3.2rem; }
  .sticky-cta { display: none; }
}
