/* Snuggle 2.0 site. Values come from the Figma file VAktRz7c9FCmqohEgrKKsW:
   the "Snuggle · Couleurs" variables, the dark board 245:2173 and the
   site's drawings W·1 to W·7 (section 621:6800). */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 700 800;
  font-display: swap;
}
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
/* Arabic: the app's Noto Sans Arabic (9·3); Latin words fall back to Figtree. */
@font-face { font-family: "Noto Sans Arabic"; src: url("/assets/fonts/noto-sans-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Sans Arabic"; src: url("/assets/fonts/noto-sans-arabic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Noto Sans Arabic"; src: url("/assets/fonts/noto-sans-arabic-700.woff2") format("woff2"); font-weight: 700 800; font-display: swap; }

:root {
  /* base/*, texte/* */
  --brume: #F3F2F7;
  --surface: #FFFFFF;
  --creux: #ECEBF2;
  --ligne: #E6E4EE;
  --encre: #17142A;
  --encre-2: #55516B;
  --encre-3: #726E87;
  --inverse: #FFFFFF;
  /* activité/* */
  --sommeil: #5B4FE9;
  --sommeil-texte: #3F33C4;
  --sommeil-teinte: #ECEAFD;
  --lait-texte: #A9461A;
  --lait-teinte: #FDEDE4;
  --couches-texte: #0A6B62;
  --couches-teinte: #DCF3EF;
  --repas-texte: #4A7015;
  --repas-teinte: #EBF3DE;
  --rose-texte: #B23A68;
  --rose-teinte: #FCE7EF;
  --bleu-teinte: #E4F0FF;
  --jaune-teinte: #FFF4D9;
  /* The test form (W·11): a field's hint (S2Colors.indice) and the warning
     box of A05 (S2Colors.avertissement*). */
  --indice: #A6A2B6;
  --caution-fond: #FFF6EE;
  --caution-ligne: #F5D9C3;
  --caution-texte: #6B3A1C;
  /* The Encre band and the Premium card; Clair button on them. */
  --band: #17142A;
  --band-ink: #FFFFFF;
  --band-ring: transparent;
  --btn-light: #FFFFFF;
  /* Phones: the bezel and the shadow of the tab bar (S2Shadows.tabBar). */
  --bezel: #17142A;
  --bezel-ring: transparent;
  --shadow: 0 12px 32px rgba(23, 20, 42, 0.12);
  /* "Aube clair", estimates only (S2Gradients.aubeClair). */
  --aube-clair: linear-gradient(170deg, #FFE8DA 8.5%, #FCE2EE 50%, #E8E4FF 91.5%);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'%3E%3Cpath d='M3.125 7.8125L5.9375 10.625L11.875 4.6875' fill='none' stroke='%230A6B62' stroke-width='1.625' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --check-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'%3E%3Cpath d='M3.125 7.8125L5.9375 10.625L11.875 4.6875' fill='none' stroke='%23FFFFFF' stroke-width='1.625' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --wrap: 1200px;
  color-scheme: light dark;
}

/* Dark appearance: board "Apparence sombre" (245:2173), W·7. The Encre
   button turns light; the band and the Premium card become Surface cards. */
@media (prefers-color-scheme: dark) {
  :root {
    --brume: #100E18;
    --surface: #1C1A27;
    --creux: #272435;
    --ligne: #33304A;
    --encre: #F3F2F7;
    --encre-2: #C9C5D8;
    --encre-3: #9C98B0;
    --inverse: #17142A;
    --sommeil-texte: #B8B2FF;
    --sommeil-teinte: #25214A;
    --lait-texte: #FFAE8A;
    --lait-teinte: #3A2318;
    --couches-texte: #6ED9CC;
    --couches-teinte: #102F2B;
    --repas-texte: #B3D97E;
    --repas-teinte: #222C14;
    --rose-texte: #F39AC0;
    --rose-teinte: #3A1C2A;
    --bleu-teinte: #152841;
    --jaune-teinte: #33280F;
    --indice: #6E6A85;
    --caution-fond: #3A2318;
    --caution-ligne: #5C3A26;
    --caution-texte: #FFAE8A;
    --band: #1C1A27;
    --band-ink: #F3F2F7;
    --band-ring: #33304A;
    --btn-light: #272435;
    --bezel: #0D0A12;
    --bezel-ring: #33304A;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    --aube-clair: linear-gradient(170deg, #49434B 8.5%, #49424F 50%, #454252 91.5%);
    --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'%3E%3Cpath d='M3.125 7.8125L5.9375 10.625L11.875 4.6875' fill='none' stroke='%236ED9CC' stroke-width='1.625' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --check-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 15 15'%3E%3Cpath d='M3.125 7.8125L5.9375 10.625L11.875 4.6875' fill='none' stroke='%23F3F2F7' stroke-width='1.625' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--brume);
  color: var(--encre);
  font: 400 16px/23px "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--sommeil); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(720px, 100% - 40px); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 10; padding: 12px 16px; border-radius: 14px; background: var(--encre); color: var(--inverse); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* Type: board 15 styles; Bricolage with the optical size equal to the size. */
.display, .h1, .h2, .h3 { font-family: "Bricolage Grotesque", "Figtree", system-ui, sans-serif; font-optical-sizing: auto; font-stretch: 100%; }
.display { font-weight: 800; font-size: 40px; line-height: 44px; letter-spacing: -1.2px; }
.h1 { font-weight: 700; font-size: 30px; line-height: 34px; letter-spacing: -0.75px; }
.h2 { font-weight: 700; font-size: 30px; line-height: 34px; letter-spacing: -0.75px; }
.h3 { font-weight: 700; font-size: 20px; line-height: 26px; letter-spacing: -0.3px; }
.lede { font-size: 17px; line-height: 24px; color: var(--encre-2); }
.label { font-weight: 700; font-size: 12px; line-height: 16px; letter-spacing: 1.08px; text-transform: uppercase; color: var(--encre-3); }
.small { font-weight: 600; font-size: 14px; line-height: 20px; color: var(--encre-3); }
.label--sleep { color: var(--sommeil-texte); }
.label--diaper { color: var(--couches-texte); }
.label--milk { color: var(--lait-texte); }

/* Header (Site · En-tête) */
.site-header { position: relative; z-index: 5; background: var(--brume); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 7px; color: var(--encre); text-decoration: none; flex: none; }
.logo img { width: 34px; height: 34px; }
.logo .logotype { width: 102px; height: 27.5px; }
.site-menu { display: none; }
.site-nav { display: flex; flex-direction: column; }
.site-nav a { display: flex; align-items: center; min-height: 48px; font-weight: 600; font-size: 17px; line-height: 24px; color: var(--encre-2); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--encre); }
.languages { display: flex; gap: 6px; }

/* Puce M: 34 px, Figtree SemiBold 14/19.6; a 44 px touch area around it. */
.pill { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--creux); color: var(--encre); font: 600 14px/19.6px "Figtree", system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.pill::after { content: ""; position: absolute; inset: -5px -3px; }
.pill--on { background: var(--encre); color: var(--inverse); }
/* "Participer aux tests" in the header (W·11): a Sommeil pill. */
.pill--test { align-self: flex-start; background: var(--sommeil-teinte); color: var(--sommeil-texte); }

.menu-open .site-menu {
  display: flex; flex-direction: column; gap: 16px;
  position: absolute; left: 12px; right: 12px; top: 100%;
  padding: 12px 20px 20px; border-radius: 28px; background: var(--surface);
  box-shadow: var(--shadow);
}

/* Buttons (Site · Bouton): 56 px, radius 20, Figtree Bold 16/22. */
.actions { display: flex; flex-direction: column; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 20px; font-weight: 700; font-size: 16px; line-height: 22px; text-align: center; text-decoration: none; }
.btn--primary { background: var(--encre); color: var(--inverse); }
.btn--secondary { background: var(--creux); color: var(--encre); }
.btn--light { background: var(--btn-light); color: var(--encre); }
.btn:hover { filter: brightness(0.96); }

/* Phones: the app's screens at 2x in a bezel (406 x 860 at 1x). */
.phone {
  --pw: 252px;
  flex: none;
  width: var(--pw);
  padding: calc(var(--pw) * 8 / 406);
  border-radius: calc(var(--pw) * 56 / 406);
  background: var(--bezel);
  box-shadow: 0 0 0 1px var(--bezel-ring), var(--shadow);
}
.phone img { width: 100%; height: auto; aspect-ratio: 390 / 844; border-radius: calc(var(--pw) * 48 / 406); background: #F3F2F7; }
/* W·2 draws it at 325 on a 390 phone; narrower phones keep the 20 px gutters. */
.phone--front { --pw: min(325px, 100vw - 40px); }
.phone--back { display: none; }
.phone--daily { --pw: 284px; }
.phone--spot { --pw: 252px; }

/* Sections */
.section { padding-bottom: 56px; }
.section--tight { padding-bottom: 32px; }
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.section-title { margin-bottom: 20px; }

/* Hero (W·1, W·2) */
.hero { padding: 24px 0 56px; }
.hero .display { margin: 20px 0; }
.hero-lede { max-width: 640px; }
.hero-grid { display: flex; flex-direction: column; gap: 32px; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-copy .display { margin: 0; }
.hero-stage { display: flex; justify-content: center; }

/* Every day (daily) */
.daily { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.daily-copy { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tile { display: flex; flex-direction: column; gap: 1px; min-height: 114px; padding: 12px 11px; border-radius: 24px; }
.tile-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: auto; border-radius: 14px; background: var(--surface); }
.tile strong { margin-top: 12px; font-weight: 700; font-size: 14px; line-height: 18px; }
.tile span:last-child { font-weight: 600; font-size: 12px; line-height: 15px; color: var(--encre-2); }
.tile--sleep { background: var(--sommeil-teinte); color: var(--sommeil-texte); }
.tile--milk { background: var(--lait-teinte); color: var(--lait-texte); }
.tile--diaper { background: var(--couches-teinte); color: var(--couches-texte); }
.tile--meal { background: var(--repas-teinte); color: var(--repas-texte); }
.tile strong { color: var(--encre); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--creux); font-weight: 600; font-size: 14px; line-height: 19.6px; }

/* Points (Site · Point): a check in a Couches tint disc. */
.points { display: flex; flex-direction: column; gap: 12px; }
.points li { display: flex; gap: 12px; color: var(--encre); }
.points li::before { content: ""; flex: none; width: 24px; height: 24px; border-radius: 12px; background: var(--couches-teinte) var(--check) center / 15px no-repeat; }
.points--band li { color: color-mix(in srgb, var(--band-ink) 86%, transparent); }
.points--band li::before { background: color-mix(in srgb, var(--band-ink) 14%, transparent) var(--check-band) center / 15px no-repeat; }

/* Feature cards (spotlights) */
.spots { display: flex; flex-direction: column; gap: 12px; }
.spot { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 28px 20px; border-radius: 28px; background: var(--surface); }
.spot .phone { order: 2; }
.spot-copy { display: flex; flex-direction: column; gap: 14px; width: 100%; max-width: 520px; }
.spot-copy .points { padding-top: 4px; }
.spot-link { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; min-height: 44px; color: var(--sommeil-texte); font-weight: 700; text-decoration: none; }
.spot-link .chevron { color: currentColor; }
.spot-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Cards */
.trio, .groups, .cards { display: grid; gap: 12px; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 24px; background: var(--surface); }
.card p, .card-text { color: var(--encre-2); }
.card--group { gap: 14px; padding: 28px 24px; border-radius: 28px; }
.card--link { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; text-decoration: none; }
.card--link > span { display: flex; flex-direction: column; gap: 8px; }
.card--link .chevron { flex: none; color: var(--encre-3); }
.card--link:hover .h3 { text-decoration: underline; text-underline-offset: 3px; }
.card--contact { align-items: flex-start; gap: 12px; padding: 28px 24px; border-radius: 28px; }
.card--contact .btn { margin-top: 8px; }
.card--note { border: 1px solid var(--ligne); background: transparent; }

/* The Encre band (W·1 "Bandeau Encre") */
.band { display: grid; gap: 18px; padding: 36px 24px; border-radius: 28px; background: var(--band); color: var(--band-ink); box-shadow: inset 0 0 0 1px var(--band-ring); }
.band-action { display: flex; flex-direction: column; padding-top: 6px; }
.band-copy { display: flex; flex-direction: column; gap: 18px; }
.band .label { color: color-mix(in srgb, var(--band-ink) 60%, transparent); }
.band .lede { color: color-mix(in srgb, var(--band-ink) 80%, transparent); }

/* Pricing: board 16's two cards */
.plans { display: grid; gap: 12px; }
.plan-card { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; border-radius: 28px; background: var(--surface); }
.plan-card .h2 { font-size: 20px; line-height: 26px; letter-spacing: -0.3px; }
.plan-card--premium { background: var(--band); color: var(--band-ink); box-shadow: inset 0 0 0 1px var(--band-ring); }
.plan-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.plan { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.plan strong { font-weight: 700; }
.plan span { font-weight: 600; font-size: 14px; line-height: 20px; color: color-mix(in srgb, var(--band-ink) 70%, transparent); }
/* Badge Premium (144:144): the Aube gradient, reserved for Premium. */
.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; background: linear-gradient(144deg, #FFB48C 8.5%, #F7A0C2 48.3%, #A79BFF 91.5%); color: #2A1650; font-weight: 700; font-size: 11px; line-height: 14px; }
.plans-note { margin-top: 16px; max-width: 820px; }

/* Questions (Site · Question) */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-title { display: flex; flex-direction: column; gap: 12px; padding: 0 8px 8px; }
.faq-title p { color: var(--encre-2); }
.faq-title a { color: var(--sommeil-texte); font-weight: 700; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.question { border-radius: 20px; background: var(--surface); }
.question summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 20px 24px; font-weight: 700; font-size: 16px; line-height: 22px; cursor: pointer; list-style: none; }
.question summary::-webkit-details-marker { display: none; }
.question .caret { flex: none; transition: transform 0.15s ease; }
.question[open] .caret { transform: rotate(180deg); }
.question p { padding: 0 24px 20px; margin-top: -12px; color: var(--encre-2); }

/* Gallery (W·3) */
.gallery-note { margin-bottom: 20px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
.shot { margin: 0; container-type: inline-size; display: flex; flex-direction: column; gap: 14px; }
.shot .phone { --pw: 100cqi; }
.shot figcaption { display: flex; flex-direction: column; gap: 6px; }
.shot figcaption p { color: var(--encre-2); }

/* Numbered steps (For parents), on the cards' system */
.steps { display: grid; gap: 12px; padding: 0; list-style: none; }
.step { flex-direction: row; align-items: flex-start; gap: 16px; }
.step > span:last-child { display: flex; flex-direction: column; gap: 6px; }
.step-number { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 14px; background: var(--sommeil-teinte); color: var(--sommeil-texte); font-weight: 700; font-size: 14px; }

/* A row of four steps (Reports) on a wider screen. */
@media (min-width: 640px) { .steps--row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) { .steps--row { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps--row .step { flex-direction: column; } }

/* The test sign-up (W·11 computer, W·12 phone, states W·11·a, dark W·11·c).
   On a phone: the copy, the form, then two screens; on a computer the
   screens sit under the copy, beside the form. */
.signup { display: grid; gap: 32px; grid-template-areas: "copy" "form" "phones"; }
.signup-copy { grid-area: copy; display: flex; flex-direction: column; gap: 20px; }
.signup-copy .display { margin: 0; }
.signup-copy .points { padding-top: 4px; }
.signup-phones { grid-area: phones; display: flex; justify-content: center; gap: 14px; }
.phone--signup { --pw: min(168px, (100vw - 54px) / 2); }
.form-card { grid-area: form; padding: 28px 20px; border-radius: 28px; background: var(--surface); scroll-margin-top: 16px; }
.signup-form { display: flex; flex-direction: column; gap: 24px; }
.signup-form[hidden] { display: none; }
.form-head { display: flex; flex-direction: column; gap: 12px; }
.form-text { color: var(--encre-2); }
.form-label { display: block; padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 14px; line-height: 20px; color: var(--encre); }

/* Site · Choix: Encre when chosen, Creux when not (the app's chosen chip). */
.choices { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 10px 18px; border-radius: 18px; background: var(--creux); color: var(--encre); cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice-title { font-weight: 700; font-size: 16px; line-height: 22px; }
.choice-detail { font-weight: 600; font-size: 13px; line-height: 18px; color: var(--encre-3); }
.choice.is-on, .choice:has(input:checked) { background: var(--encre); color: var(--inverse); }
.choice.is-on .choice-detail, .choice:has(input:checked) .choice-detail { color: color-mix(in srgb, var(--inverse) 72%, transparent); }
.choice:has(input:focus-visible) { outline: 3px solid var(--sommeil); outline-offset: 3px; }

/* Site · Champ: S2TextField (60 high, radius 18, 16/9, label Bold 12/16.8
   Encre 3, value SemiBold 17/24); a Brume box on the Surface card, a 2 px
   Encre ring when focused, Lait texte on error. */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field-box { display: flex; flex-direction: column; justify-content: center; min-height: 60px; padding: 9px 16px; border-radius: 18px; background: var(--brume); box-shadow: inset 0 0 0 2px transparent; cursor: text; }
.field-box:focus-within { box-shadow: inset 0 0 0 2px var(--encre); }
.field.is-error .field-box { box-shadow: inset 0 0 0 2px var(--lait-texte); }
.field-label { font-weight: 700; font-size: 12px; line-height: 16.8px; color: var(--encre-3); }
.field-box input { width: 100%; min-width: 0; height: 24px; margin: 0; padding: 0; border: 0; outline: 0; background: transparent; color: var(--encre); font: 600 17px/24px "Figtree", system-ui, sans-serif; }
.field-box input::placeholder { color: var(--indice); font-weight: 400; opacity: 1; }
[dir="rtl"] .field-box input[dir="ltr"] { text-align: right; }
[dir="rtl"] .field-box input[dir="ltr"]:not(:placeholder-shown) { text-align: left; }
.field-hint { font-weight: 600; font-size: 14px; line-height: 20px; color: var(--encre-3); }
/* S2ErrorLine: the 13 px alert, 5 apart, Figtree Bold 12.5/17.5 Lait texte. */
.field-error { display: flex; align-items: flex-start; gap: 5px; color: var(--lait-texte); font-weight: 700; font-size: 12.5px; line-height: 17.5px; }
.field-error[hidden] { display: none; }
.choices .field-error { margin-top: 6px; }
.field-error .alert { flex: none; margin-top: 2.25px; }
/* Site · Avis: the test's end date above the button; Creux, radius 14,
   14/16, Figtree 14/20, the date in Bold Encre, the rest Encre 2. */
.form-notice { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--creux); color: var(--encre-2); font-size: 14px; line-height: 20px; }
.form-notice strong { color: var(--encre); font-weight: 700; }
/* S2CautionBox: what concerns no single field. */
.caution { display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; border: 1px solid var(--caution-ligne); border-radius: 18px; background: var(--caution-fond); color: var(--caution-texte); font-weight: 600; font-size: 12.5px; line-height: 17px; }
.caution[hidden] { display: none; }
.caution .alert { flex: none; margin-top: 2px; color: var(--lait-texte); }
.btn--block { display: flex; width: 100%; border: 0; font-family: inherit; cursor: pointer; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.form-privacy a, .signup-done a { color: inherit; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.signup-done { display: flex; flex-direction: column; gap: 16px; outline: none; }
.signup-done[hidden] { display: none; }
.done-check { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 4px; border-radius: 28px; background: var(--couches-teinte); color: var(--couches-texte); }

/* Home's card to the test page (W·11·b). */
.test-card { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px 20px; border-radius: 28px; background: var(--surface); }
.test-card-copy { display: flex; flex-direction: column; gap: 14px; }
.test-card .btn { width: 100%; }

@media (max-width: 359px) {
  .field-row { grid-template-columns: 1fr; }
}

/* The doctor's summary as printed: white A4 sheets in both appearances. */
.papers { display: grid; gap: 40px; }
.paper { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.sheet { border: 1px solid var(--ligne); border-radius: 14px; overflow: hidden; background: #FFFFFF; box-shadow: var(--shadow); }
.sheet img { display: block; width: 100%; height: auto; }
.paper figcaption { display: flex; flex-direction: column; gap: 6px; }
.paper figcaption p { color: var(--encre-2); }
@media (min-width: 640px) { .papers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }

/* Nino (section U): his ears turn around their base, left then right,
   0.9 s a turn as in the app (S2Nino, U·3), then rest; still when the
   device asks for less motion. */
.nino-row { display: flex; align-items: center; gap: 12px; }
.nino { flex: none; width: 64px; height: 64px; overflow: visible; }
.nino-ear { transform-box: view-box; animation: nino-ear-left 2.7s ease-in-out infinite; }
.nino-ear--left { transform-origin: 36.5px 52px; }
.nino-ear--right { transform-origin: 67.5px 52px; animation-name: nino-ear-right; }
@keyframes nino-ear-left { 0%, 33.3%, 100% { transform: rotate(0deg); } 8.33% { transform: rotate(-14deg); } 16.67% { transform: rotate(0deg); } 25% { transform: rotate(-4deg); } }
@keyframes nino-ear-right { 0%, 33.3%, 100% { transform: rotate(0deg); } 8.33% { transform: rotate(4deg); } 16.67% { transform: rotate(0deg); } 25% { transform: rotate(14deg); } }
.nino-bubble { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 14px; border-radius: 999px; background: var(--sommeil-teinte); color: var(--sommeil-texte); font-weight: 600; font-size: 14px; line-height: 20px; }

/* Estimate banner: Aube clair with a Sommeil line (122:52). */
.estimate { padding: 20px 24px; border: 1px solid rgba(91, 79, 233, 0.18); border-radius: 20px; background: var(--aube-clair); color: var(--sommeil-texte); font-weight: 600; }

/* Long texts (W·4) */
.page-narrow { padding: 24px 0 56px; }
.page-narrow .display { margin: 20px 0; }
.page-date { margin-bottom: 28px; }
.prose-block { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.prose-block p, .prose p { font-size: 17px; line-height: 24px; color: var(--encre); }
.prose { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.prose .section-title { margin-bottom: 6px; }
.summary { display: flex; flex-direction: column; gap: 12px; padding: 28px 32px; border-radius: 28px; background: var(--surface); }

/* Footer (Site · Pied de page) */
.site-footer { padding: 40px 0 32px; background: var(--surface); }
.footer-top { display: flex; flex-direction: column; gap: 28px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-brand p { color: var(--encre-2); }
.footer-mail { color: var(--sommeil-texte); font-weight: 700; text-decoration: none; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 28px 40px; }
.footer-col { display: flex; flex-direction: column; gap: 4px; }
.footer-col .label { margin-bottom: 6px; }
.footer-col a { display: flex; align-items: center; min-height: 32px; font-weight: 600; font-size: 15px; line-height: 22px; color: var(--encre-2); text-decoration: none; }
.footer-col a:hover, .footer-mail:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--ligne); font-weight: 600; font-size: 14px; line-height: 20px; color: var(--encre-3); }
.footer-bottom a { text-decoration: none; }

/* Tablet */
@media (min-width: 640px) {
  .wrap { width: min(var(--wrap), 100% - 64px); }
  .wrap--narrow { width: min(720px, 100% - 64px); }
  .actions { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .tiles { display: flex; flex-wrap: wrap; gap: 12px; }
  .tile { min-width: 120px; }
  .trio, .groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .plan-card { padding: 40px; }
  .plan-card .h2 { font-size: 30px; line-height: 34px; letter-spacing: -0.75px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
  .band { padding: 48px; }
  .form-card { padding: 40px; }
  .test-card { padding: 40px; }
  .test-card .btn { width: auto; }
}

/* Desktop (W·1, W·3, W·4 at 1440) */
@media (min-width: 1024px) {
  .header-bar { min-height: 80px; padding-block: 20px; }
  .logo { gap: 8px; }
  .logo img { width: 40px; height: 40px; }
  .logo .logotype { width: 120px; height: 32.3px; }

  .display { font-size: 58px; line-height: 58px; letter-spacing: -2.61px; }
  .h1 { font-weight: 800; font-size: 40px; line-height: 44px; letter-spacing: -1.2px; }
  .section { padding-bottom: 96px; }
  .section--tight { padding-bottom: 72px; }
  .section-head { gap: 16px; margin-bottom: 48px; }
  .section-head .h1 { max-width: 820px; }
  .spots-head .h1 { max-width: 760px; }
  .section-title { margin-bottom: 32px; }

  .hero { padding: 56px 0 72px; }
  .hero--home { padding: 56px 0 96px; }
  .hero-grid { flex-direction: row; align-items: center; justify-content: space-between; gap: 72px; }
  .hero-copy { gap: 24px; max-width: 600px; }
  .hero-copy .lede, .hero-copy .small { max-width: 540px; }
  .hero-stage { position: relative; flex: none; width: 528px; height: 680px; }
  .phone--back { display: block; position: absolute; inset-inline-start: 0; top: 130px; --pw: 252px; }
  .phone--front { position: absolute; inset-inline-end: 0; top: 0; --pw: 317px; }

  .daily { flex-direction: row; justify-content: space-between; gap: 96px; }
  .daily-copy { max-width: 640px; gap: 24px; }
  .phone--daily { --pw: 284px; }

  .spots { gap: 24px; }
  .spot { flex-direction: row; justify-content: center; gap: 96px; padding: 48px 56px; }
  .spot .phone { order: 0; }
  .spot--flip .phone { order: 2; }
  .spot-copy { gap: 16px; }

  .card--trio { padding: 28px; }
  .card--contact, .card--note { padding: 32px 40px; }
  .band { grid-template-columns: minmax(0, 520px) minmax(0, 440px); grid-template-areas: "copy points" "action points"; justify-content: space-between; align-items: center; column-gap: 64px; row-gap: 20px; padding: 64px; }
  .band-copy { grid-area: copy; gap: 20px; align-self: end; }
  .band .points--band { grid-area: points; gap: 16px; }
  .band-action { grid-area: action; align-self: start; align-items: flex-start; padding-top: 0; }

  .faq { flex-direction: row; gap: 64px; }
  .faq-title { flex: none; width: 380px; padding: 0; }
  .faq-list { flex: 1; }

  .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 64px; }
  .gallery-note { margin-bottom: 32px; }
  .gallery-head { margin-bottom: 32px; }
  .estimate { padding: 20px 28px; }

  .page-narrow { padding: 56px 0 96px; }

  .hero--signup { padding: 56px 0 96px; }
  .signup { grid-template-columns: minmax(0, 560px) 568px; grid-template-areas: "copy form" "phones form"; justify-content: space-between; align-items: start; column-gap: 72px; row-gap: 32px; }
  .signup-phones { justify-content: flex-start; gap: 20px; }
  .phone--signup { --pw: 201.6px; }
  .test-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 64px; padding: 48px 56px; }
  .test-card-copy { max-width: 620px; gap: 16px; }
  .prose-block { gap: 20px; margin-top: 40px; }

  .site-footer { padding: 64px 0 40px; }
  .footer-top { flex-direction: row; justify-content: space-between; gap: 80px; }
  .footer-cols { gap: 80px; }
  .footer-bottom { margin-top: 40px; padding-top: 40px; }
}

/* Right to left (Arabic). Text in Noto Sans Arabic at the same sizes and
   weights, no tracking (the app's rule, 9·3); headings a little more open,
   since Arabic letters are taller than the Latin ones. */
[dir="rtl"] body,
[dir="rtl"] .display, [dir="rtl"] .h1, [dir="rtl"] .h2, [dir="rtl"] .h3,
[dir="rtl"] .pill, [dir="rtl"] .btn { font-family: "Noto Sans Arabic", "Figtree", system-ui, sans-serif; }
[dir="rtl"] .display, [dir="rtl"] .h1, [dir="rtl"] .h2, [dir="rtl"] .h3, [dir="rtl"] .label { letter-spacing: 0; }
[dir="rtl"] .display { font-weight: 700; line-height: 1.3; }
[dir="rtl"] .h1, [dir="rtl"] .h2 { line-height: 1.35; }
[dir="rtl"] .h3 { line-height: 1.4; }
[dir="rtl"] .label { font-size: 13px; text-transform: none; }
[dir="rtl"] .chevron { transform: scaleX(-1); }
[dir="rtl"] .logo, [dir="rtl"] .logo .logotype, [dir="rtl"] .pill[lang], .footer-bottom a[lang] { unicode-bidi: isolate; }
[dir="rtl"] .logo { direction: ltr; }
/* A line written in Latin letters (the slogan, the copyright) keeps its own
   direction inside an Arabic page. */
[dir="rtl"] .label, [dir="rtl"] .footer-brand p, [dir="rtl"] .footer-bottom > span:first-child { unicode-bidi: plaintext; text-align: right; }
@media (min-width: 1024px) {
  [dir="rtl"] .display { line-height: 1.25; }
}

/* The header's five pages and the test pill need the full width (W·1,
   W·11): the Menu pill is kept below 1200 px. */
@media (min-width: 1200px) {
  .menu-toggle { display: none; }
  .site-menu, .menu-open .site-menu { display: flex; position: static; flex-direction: row; align-items: center; gap: 36px; padding: 0; background: none; box-shadow: none; }
  .site-nav { flex-direction: row; gap: 36px; }
  .site-nav a { min-height: 44px; font-size: 16px; line-height: 22px; }
  .site-nav a:hover { color: var(--encre); }
  .pill--test { align-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
  .nino-ear { animation: none; }
}

/* Figma AV (29 November 2026): ideas for every age, W·13 to W·16. The
   tiles are the app's "Aliment à tester" and "Activité à essayer" (AT, AU):
   Brume, radius 14, 8/10; the drawing on its tint, 85 × 60, radius 10; name
   Bold 13.5/17, age SemiBold 12/16 Encre 3, the allergen chip, the type. */
.ideas-head .lede { max-width: 760px; }
.ideas { display: flex; flex-direction: column; gap: 12px; }
.ideas-card { display: flex; flex-direction: column; gap: 20px; padding: 24px 16px 16px; border-radius: 24px; background: var(--surface); scroll-margin-top: 16px; }
.ideas-copy { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ideas-copy .h2 { font-size: 24px; line-height: 28px; letter-spacing: -0.5px; }
.ideas-copy .lede { font-size: 16px; line-height: 23px; }
.ideas-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.idea { display: flex; flex-direction: column; gap: 6px; min-width: 0; padding: 8px 8.5px; border-radius: 14px; background: var(--brume); }
.idea-art { display: flex; align-items: center; justify-content: center; aspect-ratio: 85 / 60; border-radius: 10px; overflow: hidden; }
.idea-art img { display: block; width: 100%; max-width: 85px; height: auto; }
.idea-art--repas { background: var(--repas-teinte); }
.idea-art--lait { background: var(--lait-teinte); }
.idea-art--rose { background: var(--rose-teinte); }
.idea-art--bleu { background: var(--bleu-teinte); }
.idea-art--jaune { background: var(--jaune-teinte); }
.idea-name { font-weight: 700; font-size: 13.5px; line-height: 17px; color: var(--encre); overflow-wrap: anywhere; }
.idea-age { font-weight: 600; font-size: 12px; line-height: 16px; color: var(--encre-3); }
.idea-chip { align-self: flex-start; padding: 4px 9px; border-radius: 12px; background: var(--lait-teinte); color: var(--lait-texte); font-weight: 800; font-size: 12px; line-height: 16px; }
.idea-type { font-weight: 700; font-size: 11.5px; line-height: 15px; }
.idea-type--lait { color: var(--lait-texte); }
.idea-type--rose { color: var(--rose-texte); }
.ideas-source { margin-top: 24px; }
.card--idea { padding: 20px 20px 12px; }
.idea-band-art { display: flex; align-items: center; justify-content: center; height: 148px; margin-bottom: 4px; border-radius: 16px; overflow: hidden; }
.idea-band-art img { display: block; width: auto; max-width: 100%; height: 120px; }
@media (min-width: 640px) {
  .ideas-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
}
@media (min-width: 1024px) {
  .ideas { gap: 24px; }
  .ideas-card { flex-direction: row; align-items: center; gap: 48px; padding: 40px 32px; }
  .ideas-copy { flex: none; width: 390px; }
  .ideas-copy .h2 { font-size: 30px; line-height: 34px; letter-spacing: -0.75px; }
  .ideas-copy .lede { font-size: 17px; line-height: 24px; }
  .ideas-tiles { flex: 1; }
  .idea { padding: 8px 10px; }
  .ideas-source { margin-top: 32px; }
  .card--idea { padding: 28px 28px 16px; }
}
