/* FeedEase, site vitrine. Reprend la maquette Pencil et la DA des carrousels :
   crème, bruns, sauge, Nunito, rangées beige alternées, ombres douces, jamais de halo. */
:root {
  --bg: #F4EEE6;
  --cream: #FFF9F4;
  --ink: #3A2C1E;
  --sub: #7C6E60;
  --accent: #C6975E;
  --accent-ink: #9A6B35;
  --row-a: #F6ECE2;
  --row-b: #EAD7C3;
  --row-ink: #8A6A48;
  --sage: #7E8F63;
  --sage-soft: #E6EBDC;
  --sage-ink: #4F5E3A;
  --bezel: #26262A;
  --card: #FFFFFF;
  --line: #E0D2C2;
  --radius: 28px;
  --shadow: 0 10px 30px rgba(92, 67, 40, 0.10);
  --max: 1200px;
  --prose: 760px;
  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); }
img { max-width: 100%; height: auto; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.1; color: var(--ink); font-weight: 900; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -0.03em; margin: 0 0 .4em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.75rem); letter-spacing: -0.02em; margin: 0 0 .5em; }
h3 { font-size: 1.25rem; font-weight: 800; margin: 1.4em 0 .4em; }
.accent { color: var(--accent); }
.kicker { font-size: .82rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px max(24px, calc((100% - var(--max)) / 2 + 24px));
  background: rgba(244, 238, 230, .92);
  backdrop-filter: saturate(1.3) blur(10px);
}
.brand { display: flex; flex: none; align-items: center; gap: 10px; min-height: 44px; font-weight: 900; font-size: 1.3rem; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 10px; }
.site-header > nav { display: flex; align-items: center; gap: 26px; font-weight: 700; }
.site-header > nav > a { color: var(--sub); text-decoration: none; }
.site-header > nav > a:hover { color: var(--ink); }
.lang-switch { display: inline-flex; gap: 6px; align-items: center; font-size: .9rem; border: 1px solid #D9C9B6; border-radius: 999px; padding: 4px 12px; color: #C9B5A0; }
.lang-switch a { color: var(--sub); text-decoration: none; font-weight: 600; }
.lang-switch [aria-current] { color: var(--ink); font-weight: 900; }
.nav-cta { background: var(--ink); color: var(--cream) !important; padding: 9px 18px; border-radius: 999px; white-space: nowrap; }
/* Menu compact sous 640 px : marque, bouton de téléchargement et menu à portée de pouce. */
.menu { display: none; position: relative; }
.menu > summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #D9C9B6; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu[open] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
.menu[open] > summary { background: var(--cream); }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 8px; padding: 10px; background: var(--cream); border-radius: 24px; box-shadow: 0 18px 44px rgba(92, 67, 40, .18); font-weight: 800; }
.menu-panel > a { display: flex; align-items: center; min-height: 52px; padding: 0 18px; border-radius: 16px; background: var(--row-a); color: var(--row-ink); text-decoration: none; font-size: 1.1rem; }
.menu-panel > a:nth-of-type(even) { background: var(--row-b); }
.menu-lang { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; border-radius: 16px; border: 1px solid var(--line); }
.menu-lang > * { display: grid; place-items: center; min-height: 44px; border-radius: 12px; font-size: 1rem; text-decoration: none; }
.menu-lang a { color: var(--sub); font-weight: 700; }
.menu-lang [aria-current] { background: var(--ink); color: var(--cream); font-weight: 900; }
@media (max-width: 640px) {
  .site-header { padding-top: 10px; padding-bottom: 10px; }
  .site-header > nav > a:not(.nav-cta), .site-header > nav > .lang-switch { display: none; }
  .site-header > nav { margin-left: auto; gap: 8px; }
  .menu { display: block; }
  .brand { font-size: 1.15rem; gap: 8px; }
  .nav-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; }
}

main { display: block; }

/* Téléphone (maquette : cadre sombre, écran arrondi, ombre douce) */
.phone { background: var(--bezel); border-radius: 46px; padding: 8px; box-shadow: 0 24px 60px rgba(92, 67, 40, .2); width: 300px; }
.phone img { display: block; width: 100%; border-radius: 38px; }

/* Hero */
.hero { max-width: var(--max); margin: 0 auto; padding: 40px 24px 72px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--sage-soft); color: var(--sage-ink); font-weight: 800; font-size: .9rem; padding: 7px 14px; border-radius: 999px; margin-bottom: 22px; }
.hero .lead { font-size: 1.25rem; color: var(--sub); max-width: 32em; margin: 0 0 26px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.cta-row .meta { display: flex; flex-direction: column; font-size: .9rem; color: var(--sub); line-height: 1.4; }
.cta-row .meta strong { color: var(--ink); }
.store-badge { display: inline-block; flex: none; }
.store-badge img { display: block; height: 50px; width: auto; max-width: none; }
h1 .accent { display: block; }
.privacy-line { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 700; font-size: .95rem; color: var(--sage-ink); }
.stage { position: relative; height: 640px; }
.stage::before { content: ""; position: absolute; left: 6%; top: 60px; width: 520px; max-width: 92%; aspect-ratio: 1; border-radius: 50%; background: #EADCC8; }
.stage .phone { position: absolute; }
.stage .phone.front { left: 8%; top: 0; }
.stage .phone.back { left: 42%; top: 80px; transform: rotate(6deg); }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 20px; padding-bottom: 48px; }
  /* Largeur d'un téléphone : 60 % de la scène, plafonnée ; le téléphone avant reste entier. */
  .stage { --pw: min(230px, calc((100vw - 48px) * .6)); height: calc(var(--pw) * 1.9 + 40px); overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent); mask-image: linear-gradient(to bottom, #000 80%, transparent); }
  .stage .phone { width: var(--pw); }
  .stage .phone.front { left: calc(50% - var(--pw) * .8); top: 24px; }
  .stage .phone.back { left: calc(50% - var(--pw) * .05); top: 64px; transform: rotate(6deg); }
  .stage::before { left: 50%; top: 44px; transform: translateX(-50%); width: min(340px, 92%); }
  .stage .moon { width: 34px; height: 34px; top: 6px; right: 4%; box-shadow: -8px 5px 0 0 #E2BE8C; }
  .stage > .sparkle:nth-of-type(2) { left: 2% !important; top: 0 !important; }
  .stage > .sparkle:nth-of-type(3), .stage > .sparkle:nth-of-type(4) { display: none; }
  .stage > .sparkle:nth-of-type(5) { left: 58% !important; top: 4px !important; }
}
/* Entre tablette et petit portable, le téléphone incliné dépassait du bord et créait un défilement horizontal. */
@media (min-width: 901px) and (max-width: 1279px) { .hero { overflow-x: clip; } }
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(2.1rem, 9.4vw, 2.5rem); }
  .hero h1 br { display: none; }
  .hero .lead { font-size: 1.15rem; }
}

/* Guides (couvertures des carrousels) */
.charts { background: var(--cream); padding: 88px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.section-head p { font-size: 1.15rem; color: var(--sub); margin: 0; max-width: 40em; }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--ink); border-radius: 999px; padding: 11px 20px; font-weight: 800; color: var(--ink); text-decoration: none; white-space: nowrap; }
.covers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cover { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 12px; }
.cover img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
.cover strong { font-size: 1.2rem; line-height: 1.25; font-weight: 800; }
.cover span { font-size: .85rem; font-weight: 800; color: var(--sub); }

.covers.single { grid-template-columns: 360px 1fr; align-items: start; }
@media (max-width: 900px) {
  .covers { grid-template-columns: repeat(4, min(74%, 300px)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin: 0 -24px; padding: 4px 24px 16px; scroll-padding: 0 24px; scrollbar-width: none; }
  .covers::-webkit-scrollbar, .steps::-webkit-scrollbar { display: none; }
  .covers > * { scroll-snap-align: start; }
  .covers.single { grid-template-columns: 1fr; overflow: visible; margin: 0; padding: 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

/* Démo (section sombre) */
.demo { background: var(--ink); color: var(--cream); padding: 96px 0; text-align: center; }
.demo h2 { color: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; text-align: left; }
.step { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.step .phone { width: min(280px, 100%); box-shadow: none; }
.step .caption { width: 100%; max-width: 320px; }
.step h3 { color: var(--cream); margin: 8px 0 6px; font-size: 1.4rem; }
.step p { color: #CDBFAF; margin: 0; }
.tag { display: inline-block; font-size: .78rem; font-weight: 900; padding: 4px 10px; border-radius: 999px; }
.tag.free { background: var(--sage-soft); color: var(--sage-ink); }
.tag.premium { background: #4A3A2A; color: var(--accent); }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(3, min(80%, 320px)); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; gap: 16px; margin: 40px -24px 0; padding: 0 24px 12px; scroll-padding: 0 24px; scrollbar-width: none; }
  .step { scroll-snap-align: start; }
  .step .phone { width: min(220px, 100%); }
}

/* Gratuit / Premium, rangées façon carrousel */
.plans { padding: 96px 0; }
.plans .section-head { justify-content: center; text-align: center; flex-direction: column; align-items: center; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.plan { background: var(--card); border-radius: var(--radius); padding: 28px; }
.plan h3 { margin: 0 0 16px; font-size: 1.55rem; }
.plan.free h3 { color: var(--sage-ink); }
.plan.premium h3 { color: var(--accent-ink); }
.rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.rows li { display: flex; align-items: center; gap: 14px; padding: 15px 20px; border-radius: 20px; background: var(--row-a); color: var(--row-ink); font-weight: 800; font-size: 1.1rem; }
.rows li:nth-child(even) { background: var(--row-b); }
.rows li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.plan.free .rows li::before { background: var(--sage); }
@media (max-width: 760px) { .plan-grid { grid-template-columns: 1fr; } }

/* Appel final */
.final { padding: 0 0 96px; }
.band { background: var(--row-b); border-radius: 36px; padding: 56px 64px 0; display: grid; grid-template-columns: 1fr 320px; gap: 32px; overflow: hidden; }
.band h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.band p { color: #6E5842; font-size: 1.15rem; max-width: 30em; }
.band .phone { width: 280px; margin-top: 8px; margin-bottom: -180px; }
.band > div:first-child { padding-bottom: 56px; }
@media (max-width: 760px) { .band { grid-template-columns: 1fr; padding: 40px 24px 0; } .band .phone { margin: 0 auto -200px; width: 220px; } }

/* Pages de guide et pages texte */
.article-layout { max-width: var(--max); margin: 0 auto; padding: 40px 24px 40px; display: grid; grid-template-columns: minmax(0, var(--prose)) 1fr; gap: 64px; align-items: start; }
.prose { max-width: var(--prose); margin: 0 auto; padding: 40px 24px 24px; }
.article-layout .prose { padding: 0; margin: 0; }
.prose p, .prose li { font-size: 1.1rem; }
.prose .lead { font-size: 1.25rem; color: var(--sub); }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 1.8em; }
.breadcrumb { font-size: .95rem; font-weight: 700; color: var(--sub); margin: 0 0 12px; }
.breadcrumb a { color: var(--sub); text-decoration: none; }
.byline { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; color: var(--sage-ink); }
.answer { background: var(--card); border-radius: var(--radius); padding: 26px 28px; margin: 28px 0; }
.answer > p:first-child { font-size: .82rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; padding: 0; background: none; }
.answer > p:first-child strong { font-weight: 900; }
.answer p { margin: 0; padding: 13px 18px; border-radius: 16px; background: var(--row-a); color: var(--row-ink); font-weight: 800; }
.answer p + p { margin-top: 10px; }
.answer p:nth-of-type(odd):not(:first-child) { background: var(--row-b); }
.table-wrap { overflow-x: auto; overscroll-behavior-x: contain; margin: 22px 0; border-radius: 22px; background: var(--card); }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1rem; }
th, td { text-align: left; padding: 14px 18px; vertical-align: top; }
th { color: var(--accent-ink); font-weight: 900; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
tbody tr:nth-child(odd) td { background: var(--row-a); }
tbody tr:nth-child(even) td { background: var(--card); }
td:first-child { font-weight: 800; color: var(--row-ink); }
@media (max-width: 600px) {
  /* Tableaux de 3 colonnes ou plus : une carte par ligne, rangées beige alternées, intitulé de colonne au-dessus de chaque valeur. */
  .table-wrap.stack { overflow: visible; background: none; border-radius: 0; }
  .stack table, .stack tbody, .stack tr, .stack td { display: block; width: 100%; }
  .stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .stack tr { background: var(--card); border-radius: 22px; padding: 8px; }
  .stack tr + tr { margin-top: 12px; }
  .stack tbody tr td { background: var(--row-a); border-radius: 14px; padding: 11px 14px; }
  .stack tbody tr td:first-child { background: none; padding: 8px 10px 10px; font-size: 1.1rem; color: var(--ink); }
  .stack tbody tr td + td + td { margin-top: 6px; }
  .stack tbody tr td:nth-child(odd):not(:first-child) { background: var(--row-b); }
  .stack td[data-label]::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 2px; }
  .stack td a { display: inline-block; padding: 6px 0; }
  table { font-size: 1rem; }
  th, td { padding: 12px 14px; }
}
figure.chart { margin: 32px auto; max-width: 440px; text-align: center; }
figure.chart img { border-radius: 24px; box-shadow: var(--shadow); display: block; }
figure.chart figcaption { font-size: .92rem; font-weight: 700; color: var(--sub); margin-top: 10px; }
.side { position: sticky; top: 96px; }
.app-card { background: var(--row-b); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.app-card .phone { width: 220px; }
.app-card h2 { font-size: 1.5rem; margin: 0; }
.app-card p { margin: 0; color: #6E5842; }
.app-box { display: none; }
.sources { font-size: .95rem; color: var(--sub); }
.sources li { margin-bottom: 6px; word-break: break-word; }
.updated { max-width: var(--max); margin: 0 auto 48px; padding: 0 24px; font-size: .9rem; color: var(--sub); }
.faq h3 { margin-top: 1.3em; }
@media (max-width: 960px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .side { position: static; }
  .app-card { flex-direction: row; text-align: left; align-items: center; }
  .app-card .phone { width: 110px; padding: 5px; border-radius: 24px; flex: none; }
  .app-card .phone img { border-radius: 20px; }
}
@media (max-width: 640px) {
  /* Vignette et titre côte à côte, texte et badge sur toute la largeur. */
  .app-card { display: grid; grid-template-columns: 84px 1fr; gap: 14px 16px; padding: 22px; }
  .app-card > div:not(.phone) { display: contents; }
  .app-card .phone { width: 84px; padding: 4px; border-radius: 20px; grid-row: 1; }
  .app-card .phone img { border-radius: 16px; }
  .app-card h2 { grid-column: 2; grid-row: 1; align-self: center; font-size: 1.35rem; }
  .app-card p, .app-card .store-badge { grid-column: 1 / -1; }
  .app-card p { font-size: 1.05rem; }
}

/* Hub des guides */
.hub-head { max-width: var(--max); margin: 0 auto; padding: 48px 24px 32px; }
.hub-head p { font-size: 1.2rem; color: var(--sub); max-width: 44em; }
.featured { max-width: var(--max); margin: 0 auto 48px; padding: 0 24px; }
.featured-card { background: var(--card); border-radius: 32px; padding: 32px; display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: center; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.featured-card img { border-radius: 22px; }
.featured-card .rows li { justify-content: space-between; }
.featured-card .rows li::before { display: none; }
.read-more { font-weight: 800; color: var(--accent-ink); margin-top: 16px; display: inline-block; }
.hub-grid { max-width: var(--max); margin: 0 auto; padding: 0 24px 96px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hub-grid .cover p { margin: 0; color: var(--sub); font-size: 1rem; }
@media (max-width: 900px) { .featured-card { grid-template-columns: 1fr; } .hub-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hub-grid { grid-template-columns: 1fr; } }

/* Pied de page */
.site-footer { background: var(--ink); color: #CDBFAF; padding: 48px 0; }
.footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--cream); margin: 0; }
.footer-brand img { border-radius: 8px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 26px; }
.site-footer nav a { color: #CDBFAF; text-decoration: none; font-weight: 600; }
.site-footer nav a:hover { color: var(--cream); }
.disclaimer { font-size: .85rem; color: #9C8C7B; margin: 20px 0 0; max-width: 70em; }
@media (max-width: 640px) {
  /* Pied de page : liens en grille, cibles de 44 px. */
  .site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; width: 100%; }
  .site-footer nav a { display: flex; align-items: center; min-height: 44px; }
  .footer-brand { align-items: flex-start; }
}

/* ===== Animations (désactivées si « réduire les animations ») ===== */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.85); } 70% { transform: scale(1.04); } 100% { opacity: 1; transform: none; } }
@keyframes float-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes float-b { 0%, 100% { transform: translateY(0) rotate(6deg); } 50% { transform: translateY(-10px) rotate(4deg); } }
@keyframes breathe { 0%, 100% { border-radius: 50%; transform: scale(1); } 33% { border-radius: 46% 54% 52% 48% / 52% 45% 55% 48%; transform: scale(1.03); } 66% { border-radius: 54% 46% 47% 53% / 46% 55% 45% 54%; transform: scale(.98); } }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.7) rotate(0deg); } 50% { opacity: 1; transform: scale(1.1) rotate(20deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes glow-ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(198, 151, 94, .0); } 50% { box-shadow: 0 0 0 8px rgba(198, 151, 94, .18); } }

.hero .pill, .hero h1, .hero .lead, .hero .cta-row, .hero .privacy-line, .hero .made-by { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero .made-by { animation-delay: .05s; }
.hero .pill { animation: pop .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: .1s; }
.hero h1 { animation-delay: .2s; }
.hero .lead { animation-delay: .35s; }
.hero .cta-row { animation-delay: .5s; }
.hero .privacy-line { animation-delay: .65s; }
.stage { animation: rise 1s .3s cubic-bezier(.2, .7, .2, 1) both; }
.stage::before { animation: breathe 12s ease-in-out infinite; }
.stage .phone.front { animation: float-a 6s ease-in-out infinite; }
.stage .phone.back { animation: float-b 7s ease-in-out .8s infinite; }
@media (max-width: 900px) {
  .stage .phone.front { animation: none; }
  .stage .phone.back { animation: none; }
}

/* Étincelles et lune dans le hero */
.sparkle { position: absolute; color: var(--accent); font-size: 20px; line-height: 1; animation: twinkle 3.6s ease-in-out infinite; pointer-events: none; z-index: 2; }
.sparkle.sage { color: var(--sage); }
.moon { position: absolute; width: 46px; height: 46px; border-radius: 50%; box-shadow: -10px 6px 0 0 #E2BE8C; right: 8%; top: 6%; animation: bob 5s ease-in-out infinite; z-index: 2; }

/* Carte flottante « prochain repas » */
.next-feed { position: absolute; z-index: 3; left: 0; bottom: 70px; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 20px; padding: 12px 16px; box-shadow: var(--shadow); animation: bob 4s ease-in-out infinite; }
.next-feed .dot { width: 38px; height: 38px; border-radius: 50%; background: var(--row-a); display: grid; place-items: center; font-size: 18px; animation: glow-ring 2.4s ease-in-out infinite; }
.next-feed small { display: block; font-size: .78rem; font-weight: 800; color: var(--sub); text-transform: uppercase; letter-spacing: .06em; }
.next-feed strong { font-size: 1.35rem; font-weight: 900; font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .next-feed { left: 50%; transform: translateX(-50%); bottom: calc(var(--pw) * .32); animation: none; white-space: nowrap; padding: 10px 16px 10px 12px; } }

/* Apparitions au défilement */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 110ms); }
.js [data-stagger].in > * { opacity: 1; transform: none; }

/* Survol des couvertures : léger soulèvement et inclinaison */
.cover img { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; }
@media (hover: hover) { .cover:hover img { transform: translateY(-6px) rotate(-1.2deg); box-shadow: 0 18px 40px rgba(92, 67, 40, .18); } }
.step .phone { transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
@media (hover: hover) { .step:hover .phone { transform: translateY(-8px); } }
.nav-cta, .store-badge img, .btn-outline { transition: transform .2s ease; }
@media (hover: hover) { .nav-cta:hover, .store-badge:hover img, .btn-outline:hover { transform: translateY(-2px); } }
.nav-cta:active, .store-badge:active img, .btn-outline:active { transform: scale(.97); }

/* Section « conçue par des parents » */
.parents { background: var(--cream); padding: 96px 0; overflow: hidden; }
.parents-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.parents .scene { position: relative; border-radius: 32px; overflow: hidden; background: #FFF9F3; aspect-ratio: 16 / 9; }
.parents .scene img, .parents .scene video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.parents .scene video { opacity: 0; transition: opacity .8s ease; }
.parents .scene video.ready { opacity: 1; }
.parents h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.parents p { font-size: 1.2rem; color: var(--sub); }
.proof { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.proof li { display: flex; gap: 12px; align-items: center; font-weight: 800; color: var(--row-ink); background: var(--row-a); border-radius: 18px; padding: 14px 18px; }
.proof li:nth-child(even) { background: var(--row-b); }
.proof li span { font-size: 1.3rem; }
@media (max-width: 900px) { .parents-grid { grid-template-columns: 1fr; } }

/* Bébé endormi dans l'appel final */
.band .sleepy { width: 280px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; align-self: center; margin-bottom: 56px; background: #FFF9F3; box-shadow: 0 12px 34px rgba(92, 67, 40, .15); position: relative; }
.band .sleepy img, .band .sleepy video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .band .sleepy { width: 200px; margin: 0 auto 40px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}
.band .sleepy video { opacity: 0; transition: opacity .8s ease; }
.band .sleepy video.ready { opacity: 1; }
/* Le fond crème des illustrations se fond dans la section : bords en fondu, pas de rectangle. */
.parents .scene { background: transparent; border-radius: 0; -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 62%, transparent 100%); }

/* ===== Mobile : parents sur iPhone, d'une main, souvent la nuit ===== */
/* Points de pagination des carrousels (ajoutés par site.js, visibles seulement quand ça défile). */
.dots { display: none; justify-content: center; gap: 8px; margin-top: 4px; }
.dots span { width: 7px; height: 7px; border-radius: 999px; background: var(--line); transition: width .25s ease, background .25s ease; }
.dots span.on { width: 22px; background: var(--accent); }
.demo .dots span { background: #5A4838; }
.demo .dots span.on { background: var(--accent); }
@media (max-width: 900px) {
  .dots { display: flex; }
  .parents-grid { gap: 28px; }
  .parents .scene { margin: 0 -24px; }
}
@media (max-width: 640px) {
  .charts, .parents, .plans { padding: 64px 0; }
  .demo { padding: 72px 0; }
  .final { padding-bottom: 64px; }
  .section-head { margin-bottom: 28px; }
  .section-head p, .parents p { font-size: 1.1rem; }
  /* Textes de corps jamais sous 16 px. */
  .cta-row .meta, .privacy-line, .updated, .disclaimer { font-size: 1rem; }
  .cover span { font-size: .9rem; }
  .plan { padding: 22px 18px; }
  .plan h3 { font-size: 1.35rem; }
  .rows li { padding: 14px 16px; font-size: 1.05rem; }
  .band { padding: 36px 22px 0; border-radius: 30px; }
  .band h2 { font-size: clamp(1.7rem, 7.4vw, 2.2rem); }
  .band > div:first-child { padding-bottom: 32px; }
  .featured-card { padding: 18px; gap: 20px; border-radius: 28px; }
  /* Intitulé à gauche, valeur à droite ; si les deux ne tiennent pas, la valeur passe dessous, toujours calée à droite. */
  .featured-card .rows li { font-size: 1rem; flex-wrap: wrap; gap: 2px 12px; }
  .featured-card .rows li span { white-space: nowrap; }
  .featured-card .rows li span:last-child { margin-left: auto; }
  .answer { padding: 20px 18px; }
  .answer p { padding: 12px 16px; }
  .prose h2 { margin-top: 1.5em; }
}

/* Guides liés en bas de chaque guide (maillage interne) */
.related { max-width: var(--max); margin: 0 auto; padding: 8px 24px 40px; }
.related h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 0 0 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.related-grid .cover div { display: flex; flex-direction: column; gap: 6px; }
.related-grid .cover p { margin: 0; color: var(--sub); font-size: 1rem; }
@media (max-width: 700px) {
  .related-grid { grid-template-columns: 1fr; gap: 16px; }
  .related-grid .cover { flex-direction: row; align-items: center; gap: 16px; min-height: 44px; }
  .related-grid .cover img { width: 92px; flex: none; border-radius: 16px; }
  .related-grid .cover strong { font-size: 1.05rem; }
}
