/* NinoSafe — site vitrine. Couleurs et polices de l'application. */
@font-face { font-family: "Fredoka"; font-weight: 500; font-display: swap; src: url("../fonts/fredoka-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url("../fonts/fredoka-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("../fonts/nunito-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("../fonts/nunito-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("../fonts/nunito-latin-800-normal.woff2") format("woff2"); }

:root {
  --blue: #3B6FF5; --blue-deep: #2A54D4; --blue-50: #EDF2FF;
  --mint: #22C79B; --mint-deep: #12916E; --mint-50: #E1F7F1;
  --coral: #FF7A66; --coral-deep: #D4483A; --coral-50: #FFEDE9;
  --violet: #8B5CF6; --violet-deep: #6D3EE0; --violet-50: #F1EBFE;
  --amber: #F5B942; --amber-deep: #9A6A06; --amber-50: #FFF5DD;
  --canvas: #F4F6FB; --canvas-2: #EAEEF7; --paper: #FFFFFF;
  --ink: #1B2440; --ink-2: #5A6484; --ink-3: #9AA3BE; --line: #E6EAF3;
  --night: #141B33;
  --r-xl: 28px; --r-lg: 20px; --r-md: 14px;
  --shadow: 0 1px 2px rgba(27, 36, 64, .06), 0 12px 32px -14px rgba(27, 36, 64, .22);
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 1.0625rem/1.6 "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: "Fredoka", "Nunito", system-ui, sans-serif; font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 60ch; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.22em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 10px; }
.skip:focus { top: 12px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px; border: 0;
  font: 800 1rem/1 "Nunito", sans-serif; cursor: pointer; text-decoration: none !important;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -10px rgba(59, 111, 245, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--primary:hover { background: var(--blue-deep); }
.btn--ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.btn--light { background: #fff; color: var(--blue-deep); }

/* Bandeau d'annonce */
.announce { background: var(--night); color: #DDE4FF; font-size: .92rem; text-align: center; padding: .55rem 20px; }
.announce a { color: #fff; font-weight: 800; }
.announce strong { color: var(--mint); font-weight: 800; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--canvas) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font: 600 1.45rem "Fredoka", sans-serif; color: var(--ink); text-decoration: none !important; }
.brand img { width: 38px; height: 38px; }
.brand span { background: linear-gradient(90deg, var(--blue-deep), var(--mint-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; gap: .25rem; margin-left: auto; }
.nav a { color: var(--ink); font-weight: 700; padding: .5rem .8rem; border-radius: 10px; }
.nav a:hover { background: var(--paper); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--blue-deep); }
.top .btn { min-height: 42px; padding: .6rem 1.1rem; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
@media (max-width: 900px) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav { display: none; position: absolute; left: 12px; right: 12px; top: 72px; flex-direction: column; background: var(--paper); border-radius: var(--r-lg); padding: .5rem; box-shadow: var(--shadow); }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem 1rem; }
  .top .btn--primary { display: none; }
}

/* Héros : l'anneau de la journée, comme dans l'application */
.hero { padding: 56px 0 72px; position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .soft { color: var(--blue-deep); }
.hero .lead { margin-bottom: 1.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.6rem; }
.hero__notes { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; color: var(--ink-2); font-weight: 700; font-size: .95rem; list-style: none; padding: 0; margin: 0; }
.hero__notes li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__notes .ico { color: var(--mint-deep); }
.dayring { position: relative; width: min(560px, 100%); aspect-ratio: 1; margin: 0 auto; }
.dayring svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.dayring .arc { fill: none; stroke-width: 34; stroke-linecap: round; }
.dayring .track { fill: none; stroke: var(--paper); stroke-width: 34; }
.dayring .phone { position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%) rotate(-4deg); }
.ring-tag {
  position: absolute; display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
  background: var(--paper); border-radius: 999px; padding: .45rem .85rem .45rem .5rem; box-shadow: var(--shadow);
  font-weight: 800; font-size: .9rem; color: var(--ink);
}
.ring-tag i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; }
.ring-tag small { display: block; font-weight: 700; color: var(--ink-2); font-size: .78rem; }
.ring-tag--sleep { right: -3%; top: 14%; } .ring-tag--sleep i { background: var(--violet); }
.ring-tag--school { left: 4%; bottom: 5%; } .ring-tag--school i { background: var(--blue); }
.ring-tag--free { left: -5%; top: 34%; } .ring-tag--free i { background: var(--mint-deep); }
.ring-tag--alert { right: -2%; bottom: 24%; } .ring-tag--alert i { background: var(--coral); }

/* Animation unique : l'anneau se dessine, les étiquettes arrivent ensuite */
@media (prefers-reduced-motion: no-preference) {
  .dayring .arc { stroke-dasharray: var(--len) 2000; stroke-dashoffset: var(--len); animation: draw 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
  .ring-tag { opacity: 0; transform: translateY(8px) scale(.96); animation: tag .5s var(--ease) forwards; animation-delay: var(--d, 1s); }
  .dayring .phone { animation: rise .9s var(--ease) both; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes tag { to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translate(-50%, -44%) rotate(-4deg); } }

/* Téléphone */
.phone {
  position: relative; background: #0f1426; border-radius: 13% / 6.2%; padding: 3.2%;
  box-shadow: 0 0 0 2px #2b3352, 0 30px 60px -24px rgba(20, 27, 51, .55), 0 10px 18px -10px rgba(20, 27, 51, .4);
}
.phone::before { content: ""; position: absolute; left: 50%; top: 2.9%; width: 26%; height: 2.6%; transform: translateX(-50%); background: #0f1426; border-radius: 99px; z-index: 2; }
.phone img { width: 100%; height: auto; aspect-ratio: 780 / 1688; object-fit: cover; object-position: top; border-radius: 10.5% / 4.9%; background: var(--canvas); }
.phone--sm { width: 240px; }

/* Sections */
.section { padding: 88px 0; }
.section--paper { background: var(--paper); }
.section--night { background: var(--night); color: #E6EAFF; }
.section--night h2, .section--night h3 { color: #fff; }
.section--night .lead { color: #AEB8DA; }
.head { margin-bottom: 44px; }

/* Par âge */
.ages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.age { background: var(--paper); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; }
.age__visual { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.age__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.age__num { font: 600 clamp(3rem, 6vw, 4.6rem)/1 "Fredoka", sans-serif; letter-spacing: -.03em; }
.age--a .age__visual { background: var(--amber-50); color: var(--amber-deep); }
.age--b .age__visual { background: var(--blue-50); color: var(--blue-deep); }
.age--c .age__visual { background: var(--violet-50); color: var(--violet-deep); }
.age__body { padding: 22px 24px 26px; }
.age__body h3 { margin-bottom: .3em; }
.age__body p { color: var(--ink-2); font-size: .98rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.ticks li { display: flex; gap: .55rem; align-items: flex-start; font-weight: 700; font-size: .96rem; }
.ticks .ico { color: var(--mint-deep); margin-top: .15em; }

/* Blocs de fonctionnalités : texte + téléphone, onglets qui changent l'écran */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature--flip .feature__media { order: -1; }
.feature__kicker { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--k, var(--blue-deep)); margin-bottom: .6rem; }
.feature__kicker .bub { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: var(--kb, var(--blue)); }
.feature h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.feature__text > p { color: var(--ink-2); }
.tabs { display: grid; gap: 8px; margin-top: 1.4rem; }
.tab {
  display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: center; text-align: left; width: 100%;
  background: transparent; border: 1.5px solid transparent; border-radius: var(--r-md); padding: 12px 14px; cursor: pointer; font: inherit; color: var(--ink);
  transition: background .2s, border-color .2s;
}
.tab:hover { background: var(--paper); }
.tab[aria-selected="true"] { background: var(--paper); border-color: color-mix(in srgb, var(--kb, var(--blue)) 45%, transparent); box-shadow: var(--shadow); }
.tab .ib { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--kb, var(--blue)) 14%, white); color: var(--k, var(--blue-deep)); }
.tab b { font-weight: 800; }
.tab span:last-child { color: var(--ink-2); font-size: .93rem; line-height: 1.4; }
.feature__media { display: grid; place-items: center; position: relative; }
.feature__media::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--kb, var(--blue)) 22%, transparent), transparent); }
.feature__media .phone { width: min(320px, 78%); }
.feature__media .phone img { transition: opacity .25s ease; }
.feature__media .phone img.is-swapping { opacity: 0; }
.more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 800; margin-top: 1.2rem; }

/* Chiffres (faits, pas de statistiques inventées) */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.fact { padding: 8px 24px; border-left: 1px solid rgba(255,255,255,.14); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font: 600 clamp(2.2rem, 4vw, 3rem)/1.05 "Fredoka", sans-serif; color: #fff; margin-bottom: .25rem; }
.fact span { color: #AEB8DA; font-weight: 700; }

/* Toutes les fonctionnalités */
.allgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 28px; }
.allgrid a { display: flex; gap: 12px; align-items: flex-start; padding: 14px 10px; border-radius: var(--r-md); color: var(--ink); }
.allgrid a:hover { background: var(--canvas); text-decoration: none; }
.allgrid .ib { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.allgrid b { display: block; font-weight: 800; }
.allgrid small { color: var(--ink-2); font-size: .9rem; line-height: 1.35; display: block; }
.t-blue { background: var(--blue-50); color: var(--blue-deep); } .t-mint { background: var(--mint-50); color: var(--mint-deep); }
.t-violet { background: var(--violet-50); color: var(--violet-deep); } .t-amber { background: var(--amber-50); color: var(--amber-deep); }
.t-coral { background: var(--coral-50); color: var(--coral-deep); }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; background: var(--paper); border-radius: var(--r-xl); padding: 28px 26px 26px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--blue); color: #fff; font: 600 1.3rem "Fredoka", sans-serif; margin-bottom: 16px; }
.steps p { color: var(--ink-2); margin: 0; }

/* Côté enfant */
.kids { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.kids__phones { display: flex; justify-content: center; align-items: flex-end; gap: 16px; }
.kids__phones .phone { width: 200px; }
.kids__phones .phone:nth-child(2) { width: 230px; transform: translateY(-24px); }
.kidlist { display: grid; gap: 18px; margin-top: 1.4rem; }
.kidlist div { display: grid; grid-template-columns: 44px 1fr; gap: 14px; }
.kidlist .ib { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; }
.kidlist p { margin: 0; color: var(--ink-2); }
.kidlist b { color: var(--ink); }

/* Tarifs */
.billing { display: inline-flex; padding: 4px; background: var(--canvas-2); border-radius: 999px; margin: 0 auto 32px; }
.billing button { border: 0; background: transparent; padding: .6rem 1.2rem; border-radius: 999px; font: 800 .95rem "Nunito", sans-serif; color: var(--ink-2); cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.billing em { font-style: normal; color: var(--mint-deep); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 24px; }
.plan { background: var(--paper); border-radius: var(--r-xl); padding: 32px; box-shadow: inset 0 0 0 1.5px var(--line); display: flex; flex-direction: column; }
.plan--best { box-shadow: inset 0 0 0 2px var(--blue), var(--shadow); position: relative; }
.plan__badge { position: absolute; top: -13px; left: 32px; background: var(--blue); color: #fff; font-weight: 800; font-size: .82rem; padding: .3rem .8rem; border-radius: 999px; }
.plan h3 { margin-bottom: .1em; }
.plan > p { color: var(--ink-2); }
.price { font: 600 3rem/1 "Fredoka", sans-serif; margin: .3em 0 .1em; }
.price small { font: 700 1rem "Nunito", sans-serif; color: var(--ink-2); }
.price-note { color: var(--ink-2); font-size: .92rem; margin-bottom: 1.4rem; min-height: 1.4em; }
.plan .ticks { margin-bottom: 1.6rem; }
.plan .btn { margin-top: auto; }

/* Pourquoi */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why div { background: var(--paper); border-radius: var(--r-lg); padding: 22px; }
.why .ib { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; }
.why h3 { font-size: 1.12rem; margin-bottom: .35em; }
.why p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.photo-band { margin-top: 40px; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 8; background: linear-gradient(120deg, var(--blue-50), var(--mint-50)); position: relative; display: grid; place-items: center; }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band__fallback { display: flex; gap: 18px; align-items: flex-end; transform: translateY(18%); }
.photo-band__fallback .phone { width: 150px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--paper); border-radius: var(--r-lg); margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 20px 24px; font-weight: 800; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .25s var(--ease); color: var(--ink-2); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details > div { padding: 0 24px 20px; color: var(--ink-2); }

/* Appel final + pied de page */
.cta { background: linear-gradient(135deg, var(--blue-deep), var(--violet-deep)); color: #fff; border-radius: var(--r-xl); padding: 52px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; overflow: hidden; position: relative; }
.cta h2 { color: #fff; }
.cta p { color: #DCE3FF; }
.cta__phone { justify-self: center; margin-bottom: -140px; }
.cta__phone .phone { width: 220px; transform: rotate(6deg); }
.foot { padding: 64px 0 32px; color: var(--ink-2); font-size: .95rem; }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { font: 800 .95rem "Nunito", sans-serif; color: var(--ink); margin-bottom: .8rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.foot a { color: var(--ink-2); }
.foot__bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ================= Guide ================= */
.guide-hero { padding: 48px 0 28px; }
.guide-hero .lead { margin-bottom: 1.2rem; }
.gsearch { position: relative; max-width: 560px; }
.gsearch .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-2); }
.gsearch input { width: 100%; min-height: 54px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); padding: 0 20px 0 48px; font: 700 1rem "Nunito", sans-serif; color: var(--ink); }
.gsearch input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(59,111,245,.18); }
.guide { display: grid; grid-template-columns: 260px 1fr; gap: 48px; padding-bottom: 80px; }
.toc { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; padding-right: 6px; }
.toc h4 { font: 800 .82rem "Nunito", sans-serif; color: var(--ink-3); margin: 1.2rem 0 .4rem; letter-spacing: .02em; }
.toc h4:first-child { margin-top: 0; }
.toc a { display: flex; align-items: center; gap: .55rem; padding: .42rem .6rem; border-radius: 10px; color: var(--ink-2); font-weight: 700; font-size: .95rem; }
.toc a:hover { background: var(--paper); text-decoration: none; color: var(--ink); }
.toc a.is-active { background: var(--paper); color: var(--blue-deep); box-shadow: var(--shadow); }
.toc a .ico { width: 1.05em; height: 1.05em; }
.toc-select { display: none; }
.chapter { display: grid; grid-template-columns: 1fr 260px; gap: 36px; background: var(--paper); border-radius: var(--r-xl); padding: 32px; margin-bottom: 20px; }
.chapter[hidden] { display: none; }
.chapter__part { font-weight: 800; color: var(--ink-3); font-size: .85rem; margin-bottom: .3rem; }
.chapter h2 { font-size: 1.75rem; display: flex; align-items: center; gap: .6rem; }
.chapter h2 .ib { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.chapter h3 { font-size: 1.05rem; font-family: "Nunito", sans-serif; font-weight: 800; margin: 1.3em 0 .5em; }
.chapter p, .chapter li { color: var(--ink-2); }
.chapter ol { padding-left: 1.25rem; margin: 0 0 1em; display: grid; gap: .35rem; }
.chapter ol li::marker { color: var(--blue-deep); font-weight: 800; }
.chapter ul { padding-left: 1.1rem; margin: 0 0 1em; }
.path { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem; font-weight: 800; color: var(--ink); background: var(--canvas); border-radius: 10px; padding: .35rem .7rem; font-size: .92rem; margin-bottom: .8rem; }
.tip { display: flex; gap: .7rem; background: var(--mint-50); color: #0d5c46; border-radius: var(--r-md); padding: 14px 16px; font-size: .95rem; margin-top: 1rem; }
.tip--warn { background: var(--amber-50); color: #6b4a04; }
.tip .ico { margin-top: .15em; }
.chapter__media { display: grid; gap: 14px; align-content: start; }
.chapter__media .phone { width: 100%; }
.shots { display: flex; gap: 8px; justify-content: center; }
.shots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; }
.shots button[aria-pressed="true"] { background: var(--blue); }
.noresult { background: var(--paper); border-radius: var(--r-xl); padding: 32px; text-align: center; color: var(--ink-2); }

/* ================= Responsive ================= */
@media (max-width: 1080px) {
  .allgrid { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .chapter { grid-template-columns: 1fr 220px; }
}
@media (max-width: 900px) {
  .hero { padding-top: 28px; }
  .hero__grid, .feature, .kids, .cta { grid-template-columns: 1fr; }
  .feature { gap: 28px; padding: 40px 0; }
  .feature--flip .feature__media { order: 0; }
  .ages, .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; gap: 24px 0; }
  .fact:nth-child(3) { border-left: 0; }
  .allgrid { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: minmax(0, 440px); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .cta { padding: 36px 28px; }
  .cta__phone { margin-bottom: -180px; }
  .guide { grid-template-columns: 1fr; gap: 16px; }
  .toc { display: none; }
  .toc-select { display: block; position: sticky; top: 76px; z-index: 5; }
  .toc-select select { width: 100%; min-height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); padding: 0 14px; font: 800 1rem "Nunito", sans-serif; color: var(--ink); }
  .kids__phones .phone { width: 31%; }
  .kids__phones .phone:nth-child(2) { width: 36%; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .allgrid, .why { grid-template-columns: 1fr; }
  .chapter { grid-template-columns: 1fr; padding: 22px; }
  .chapter__media { max-width: 260px; margin: 0 auto; width: 100%; }
  .ring-tag { font-size: .78rem; padding: .35rem .65rem .35rem .4rem; }
  .ring-tag i { width: 22px; height: 22px; }
  .ring-tag small { display: none; }
  .ring-tag--free { left: -2%; } .ring-tag--sleep { right: -2%; }
  .photo-band { aspect-ratio: 4 / 3; }
  .foot__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Pages légales (confidentialité, suppression du compte) */
.legal__in { max-width: 820px; padding-top: 48px; padding-bottom: 80px; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal__note { background: var(--amber-50); color: #6b4a04; border-radius: var(--r-md); padding: 12px 16px; font-weight: 700; }
.legal table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--r-md); overflow: hidden; font-size: .95rem; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font-weight: 800; color: var(--ink); background: var(--canvas-2); }
.legal ol, .legal ul { padding-left: 1.25rem; display: grid; gap: .35rem; }
