/* ==========================================================================
   Page d'accueil publique — univers « enfance » sobre : crème, corail, bleu-nuit
   ========================================================================== */
.home-eyebrow { display: inline-block; font-family: var(--ui-font-display); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--c-brand-strong); margin-bottom: 10px; }
.home-eyebrow::before { content: ''; display: inline-block; width: 16px; height: 16px; margin-right: 8px; vertical-align: -2px; background: var(--warm-300); -webkit-mask: url('/assets/images/doodles/star.svg') center / contain no-repeat; mask: url('/assets/images/doodles/star.svg') center / contain no-repeat; }

/* ---------- Hero ---------- */
.home-hero {
  position: relative; overflow: hidden; isolation: isolate; margin-top: -72px; padding: calc(72px + clamp(36px, 6vw, 72px)) 0 clamp(56px, 8vw, 96px); background: var(--c-bg);
  /* Le bas du bandeau se fond dans la page (plus de lentille blanche qui tranchait avec les halos) */
  --hero-fade: clamp(32px, 5vw, 56px);
  -webkit-mask-image: linear-gradient(#000 calc(100% - var(--hero-fade)), transparent); mask-image: linear-gradient(#000 calc(100% - var(--hero-fade)), transparent);
}
/* Halos de la palette qui flottent derrière le texte et l'image */
.home-hero::before {
  content: ''; position: absolute; inset: -25% -12%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(34vmax 34vmax at 78% 30%, color-mix(in srgb, var(--brand-300) 52%, transparent), transparent 70%),
    radial-gradient(30vmax 30vmax at 10% 84%, color-mix(in srgb, var(--warm-200) 70%, transparent), transparent 70%),
    radial-gradient(24vmax 24vmax at 46% 6%, color-mix(in srgb, var(--ok-200) 46%, transparent), transparent 70%);
}
@media (hover: hover) and (pointer: fine) { .home-hero::before { animation: ui-aurora 24s ease-in-out infinite alternate; will-change: transform; } }
.home-hero .ui-dots-bg { position: absolute; inset: 0; opacity: .6; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.home-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.home-badge {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 6px 14px 6px 6px; margin-bottom: 22px;
  border-radius: 999px; background: #fff; border: 1px solid var(--ui-border); box-shadow: var(--ui-shadow-sm);
  color: var(--ui-text-2); font-size: .88rem; text-decoration: none; transition: transform var(--ui-fast), box-shadow var(--ui-fast);
}
.home-badge:hover { transform: translateY(-2px); box-shadow: var(--ui-shadow); color: var(--ui-text); }
.home-badge-text { min-width: 0; line-height: 1.35; }
.home-badge-tag { flex: none; white-space: nowrap; padding: 4px 10px; border-radius: 999px; color: var(--c-ink); font-weight: 800; font-size: .78rem; background: var(--c-warm); font-family: var(--ui-font-display); }
.home-badge .fa-arrow-right { transition: transform var(--ui-fast); color: var(--c-brand); }
.home-badge:hover .fa-arrow-right { transform: translateX(3px); }
.home-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; margin-bottom: 20px; }
.home-hero h1 .ui-squiggle { color: var(--c-brand-strong); }
.home-lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ui-muted); max-width: 560px; margin-bottom: 28px; }
.home-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.home-cta .btn-lg { padding: 14px 26px; }
.home-trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ui-muted); font-size: .9rem; }
.home-trust i { color: var(--c-ok); margin-right: 4px; }

.home-hero-visual { position: relative; }
.home-hero-card { position: relative; z-index: 1; border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%; overflow: hidden; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--ink-700) 45%, transparent); border: 8px solid #fff; transition: transform .2s ease-out; }
.home-hero-card img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.home-hero-visual .ui-doodle.cloud { top: 2%; left: -8%; z-index: 2; }
.home-hero-visual .ui-doodle.sun { top: -6%; right: 2%; z-index: 0; }
.home-hero-visual .ui-doodle.star.s1 { bottom: 12%; left: -4%; z-index: 2; }
.home-hero-visual .ui-doodle.star.s2 { top: 30%; right: -3%; z-index: 2; animation-delay: -2s; }
.home-float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 18px;
  background: #fff; border: 1px solid var(--ui-border); box-shadow: var(--ui-shadow-lg); animation: ui-float 6s ease-in-out infinite;
}
.home-float strong { display: block; font-size: .86rem; font-family: var(--ui-font-display); }
.home-float small { color: var(--ui-muted); font-size: .76rem; }
.home-float-icon { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--c-brand-soft); color: var(--c-brand-strong); }
.home-float-icon.ok { background: var(--c-ok-soft); color: var(--c-ok); }
.home-float.f1 { left: -24px; top: 58%; }
.home-float.f2 { right: -16px; bottom: 6%; animation-delay: -3s; }
.home-float.f3 { display: none; }

/* ---------- Vidéo de présentation ---------- */
.home-video { max-width: 1040px; margin: 0 auto; }
.home-video-versions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin: 0 0 18px; }
.home-video-versions-label { flex-basis: 100%; text-align: center; color: var(--ui-text-2); font-size: .9rem; }
.home-video-versions button {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--ui-border);
  background: #fff; color: var(--ui-text-2); font-weight: 600; font-size: .93rem; cursor: pointer;
  transition: background var(--ui-fast), color var(--ui-fast), border-color var(--ui-fast);
}
.home-video-versions button:hover, .home-video-versions button[aria-pressed="true"] { border-color: var(--c-brand); color: var(--c-brand-strong); }
.home-video-versions button[aria-pressed="true"] { background: var(--c-brand-soft); }
.home-video-frame { position: relative; border-radius: var(--ui-radius-xl); overflow: hidden; background: var(--c-bg); border: 1px solid var(--ui-border);
  box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--ink-700) 55%, transparent); }
.home-video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.home-video-play {
  position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border: 0; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.9rem; color: #fff; background: var(--c-brand); cursor: pointer;
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--c-brand) 25%, transparent), var(--ui-shadow-lg); transition: transform var(--ui-fast);
}
.home-video-play i { margin-left: 5px; }
.home-video-play:hover, .home-video-play:focus-visible { transform: scale(1.08); }
.home-video-frame.is-playing .home-video-play { display: none; }
.home-video-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 700; color: var(--c-brand-strong); text-decoration: none; }
.home-video-link span { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; background: var(--c-brand-soft); transition: transform var(--ui-fast); }
.home-video-link span i { margin-left: 2px; }
.home-video-link:hover { color: var(--c-brand-strong); text-decoration: underline; text-underline-offset: 3px; }
.home-video-link:hover span { transform: scale(1.1); }
.home-role .home-video-link { display: flex; margin-top: 14px; }
.home-video-chapters { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.home-video-chapters button {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; border: 1px solid var(--ui-border);
  background: #fff; color: var(--ui-text-2); font-size: .88rem; cursor: pointer; transition: background var(--ui-fast), color var(--ui-fast), border-color var(--ui-fast);
}
.home-video-chapters button span { padding: 2px 8px; border-radius: 999px; background: var(--c-brand-soft); color: var(--c-brand-strong); font-weight: 700; font-size: .78rem; font-variant-numeric: tabular-nums; }
.home-video-chapters button:hover, .home-video-chapters button.active { border-color: var(--c-brand); color: var(--c-brand-strong); }
.home-video-chapters button.active { background: var(--c-brand-soft); }
@media (max-width: 680px) {
  .home-video-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; font-size: 1.4rem; }
  .home-video-chapters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .home-video-chapters button { white-space: nowrap; }
}

/* ---------- Sections ---------- */
.home-section { padding: clamp(48px, 7vw, 88px) 16px 0; scroll-margin-top: 80px; }
.home-section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.home-section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.home-section-head p { color: var(--ui-muted); font-size: 1.05rem; margin: 0; }

.home-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-feature { padding: 26px; border-radius: var(--ui-radius-xl); }
.home-feature .stat-tile-icon { width: 54px; height: 54px; border-radius: 18px; font-size: 1.3rem; margin-bottom: 16px; }
.home-feature:hover .stat-tile-icon { transform: rotate(-8deg) scale(1.08); }
.home-feature h3 { font-size: 1.15rem; }
.home-feature p { color: var(--ui-muted); margin: 0; }

.home-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; position: relative; }
.home-steps::before { content: ''; position: absolute; left: 18%; right: 18%; top: 30px; height: 12px; background: var(--warm-300); -webkit-mask: url('/assets/images/doodles/squiggle.svg') center / 100% 100% no-repeat; mask: url('/assets/images/doodles/squiggle.svg') center / 100% 100% no-repeat; opacity: .6; }
.home-steps li { position: relative; text-align: center; padding: 0 12px; }
.home-step-num {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; position: relative;
  font-family: var(--ui-font-display); font-size: 1.5rem; font-weight: 800; color: var(--c-brand-strong); background: #fff;
  border: 3px solid var(--c-brand-soft); box-shadow: var(--ui-shadow); transition: transform var(--ui-med) var(--ui-spring);
}
.home-steps li:hover .home-step-num { transform: rotate(-8deg) scale(1.08); }
.home-steps h3 { font-size: 1.1rem; }
.home-steps p { color: var(--ui-muted); margin: 0; }

.home-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.home-role { position: relative; overflow: hidden; padding: 32px; border-radius: var(--ui-radius-xl); border: 1px solid var(--ui-border); background: #fff; }
.home-role.is-parent { background: var(--c-brand-soft); border-color: var(--brand-100); }
.home-role.is-assistant { background: var(--c-ok-soft); border-color: var(--ok-100); }
.home-role-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 16px; background: #fff; box-shadow: var(--ui-shadow-sm); }
.home-role.is-parent .home-role-icon { color: var(--c-brand-strong); }
.home-role.is-assistant .home-role-icon { color: var(--c-ok); }
.home-role ul { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 10px; color: var(--ui-text-2); }
.home-role ul i { margin-right: 8px; color: var(--c-ink); opacity: .6; }
.home-role .ui-doodle { right: 24px; top: 24px; z-index: 0; opacity: .8; }

/* ---------- Tarifs ---------- */
.home-founder {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap; max-width: 960px; margin: 0 auto 32px; padding: 22px 26px;
  border-radius: var(--ui-radius-xl); color: var(--c-ink); position: relative; overflow: hidden;
  background: var(--c-warm-soft); border: 2px dashed var(--warm-200);
}
.home-founder-crown { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; background: var(--c-warm); color: var(--c-ink); animation: ui-float 4s ease-in-out infinite; }
.home-founder-text { flex: 1; min-width: 240px; }
.home-founder-text strong { display: block; font-size: 1.15rem; font-family: var(--ui-font-display); }
.home-founder-text span { color: var(--ui-text-2); font-size: .92rem; }
.home-founder-bar { height: 8px; border-radius: 99px; background: var(--warm-100); margin-top: 10px; overflow: hidden; }
.home-founder-bar span { display: block; height: 100%; border-radius: inherit; background: var(--c-brand); }
.home-founder-count { text-align: center; line-height: 1; }
.home-founder-count strong { display: block; font-family: var(--ui-font-display); font-size: 2.4rem; font-weight: 800; color: var(--c-brand-strong); }
.home-founder-count small { font-size: .78rem; color: var(--ui-muted); }

.home-pricing-toggle { text-align: center; margin-bottom: 26px; }
.home-toggle { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--ui-border); box-shadow: var(--ui-shadow-sm); }
.home-toggle button { border: 0; background: none; padding: 9px 20px; border-radius: 999px; font-family: var(--ui-font-display); font-weight: 700; color: var(--ui-muted); cursor: pointer; transition: all var(--ui-med) var(--ui-spring); }
.home-toggle button.active { color: #fff; background: var(--c-ink); }
.home-toggle em { font-style: normal; font-size: .72rem; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--c-warm-soft); color: var(--c-warm-deep); }
.home-toggle button.active em { background: var(--c-warm); color: var(--c-ink); }
.home-pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 22px; justify-content: center; }
.home-price-card { position: relative; padding: 28px; border-radius: var(--ui-radius-xl); background: #fff; border: 1px solid var(--ui-border); box-shadow: var(--ui-shadow-sm); display: flex; flex-direction: column; }
.home-price-card.is-featured { border: 2px solid var(--c-brand); box-shadow: 0 30px 60px -34px color-mix(in srgb, var(--brand-500) 60%, transparent); }
.home-price-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: 999px; font-family: var(--ui-font-display); font-size: .78rem; font-weight: 800; color: #fff; background: var(--c-brand-strong); white-space: nowrap; }
.home-price-icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; color: var(--c-brand-strong); background: var(--c-brand-soft); margin-bottom: 12px; }
.home-price-card:not(.is-featured) .home-price-icon { color: var(--c-ok); background: var(--c-ok-soft); }
.home-price-card h3 { font-size: 1.2rem; margin: 0; }
.home-price-for { color: var(--ui-muted); font-size: .88rem; }
.home-price { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 16px; }
.home-price strong { font-family: var(--ui-font-display); font-size: 2.4rem; font-weight: 800; }
.home-price span { color: var(--ui-muted); }
.home-price.flip strong, .home-price.flip span { animation: home-flip .45s var(--ui-spring); }
.home-price-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; flex: 1; align-content: start; }
.home-price-card li { display: flex; gap: 10px; font-size: .92rem; color: var(--ui-text-2); }
.home-price-card li i { color: var(--c-ok); margin-top: 4px; font-size: .8rem; }
.home-pricing-note { text-align: center; color: var(--ui-muted); font-size: .88rem; margin: 22px 0 0; }

.home-final { margin-top: clamp(56px, 8vw, 96px); padding: 0 16px; }
.home-final .container {
  position: relative; overflow: hidden; text-align: center; color: #fff; padding: clamp(40px, 6vw, 64px) 24px; border-radius: 36px;
  background: var(--c-ink); isolation: isolate;
}
.home-final h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.home-final p { opacity: .85; margin-bottom: 24px; }
.home-final .btn-light { color: var(--c-ink); }
.home-final .ui-doodle { z-index: -1; opacity: .9; }
.home-final .ui-doodle.cloud { left: 6%; top: 18%; opacity: .15; }
.home-final .ui-doodle.star { right: 12%; top: 22%; }
.home-final .ui-doodle.heart { left: 18%; bottom: 18%; }
.home-final .ui-doodle.sun { right: 6%; bottom: -14px; }
body.is-visitor .site-footer { margin-top: 72px; }

/* ---------- Pages commerciales par profil (parents.php, assistante-maternelle.php) ---------- */
.lp-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 18px; border-radius: 999px; background: #fff; border: 1px solid var(--ui-border); box-shadow: var(--ui-shadow-sm); font-family: var(--ui-font-display); font-weight: 800; font-size: .86rem; color: var(--c-brand-strong); }
.landing-assistant .lp-kicker { color: var(--c-ok); }
.home-float-icon.msg { background: var(--c-warm-soft); color: var(--c-warm-deep); }

.lp-pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; }
.lp-pain { padding: 20px 22px; border-radius: var(--ui-radius-xl); display: grid; gap: 10px; }
.lp-pain p { margin: 0; display: flex; gap: 12px; align-items: flex-start; }
.lp-pain i { flex: 0 0 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; margin-top: 1px; }
.lp-before { color: var(--ui-muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ui-muted) 50%, transparent); }
.lp-before i { background: var(--ui-border); color: var(--ui-muted); }
.lp-after { font-weight: 600; color: var(--ui-text); }
.lp-after i { background: var(--c-ok-soft); color: var(--c-ok); }

.lp-highlight { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; max-width: 1080px; margin: 0 auto; padding: clamp(28px, 4vw, 48px); border-radius: 36px; background: var(--c-brand-soft); border: 1px solid var(--brand-100); }
.landing-assistant .lp-highlight { background: var(--c-ok-soft); border-color: var(--ok-100); }
.lp-highlight h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.lp-highlight-text > p { color: var(--ui-text-2); font-size: 1.02rem; }
.lp-highlight ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.lp-highlight li { display: flex; gap: 10px; color: var(--ui-text-2); }
.lp-highlight li i { color: var(--c-ok); margin-top: 4px; }
.lp-highlight-stats { display: grid; gap: 14px; }
.lp-stat { padding: 18px 20px; border-radius: 22px; background: #fff; box-shadow: var(--ui-shadow-sm); }
.lp-stat strong { display: block; font-family: var(--ui-font-display); font-size: 2rem; font-weight: 800; line-height: 1.1; color: var(--c-brand-strong); }
.landing-assistant .lp-stat strong { color: var(--c-ok); }
.lp-stat small { color: var(--ui-muted); font-size: .88rem; }

.lp-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 340px)); gap: 22px; justify-content: center; }
.lp-pass-list li { justify-content: space-between; }
.lp-pass-list li strong { color: var(--c-brand-strong); white-space: nowrap; }
.lp-plan { position: relative; padding: 28px; border-radius: var(--ui-radius-xl); background: #fff; border: 1px solid var(--ui-border); box-shadow: var(--ui-shadow-sm); display: flex; flex-direction: column; }
.lp-plan.is-featured { border: 2px solid var(--c-brand); box-shadow: 0 30px 60px -34px color-mix(in srgb, var(--brand-500) 60%, transparent); }
.lp-plan h3 { font-size: 1.2rem; margin: 0; }
.lp-plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; flex: 1; align-content: start; }
.lp-plan li { display: flex; gap: 10px; font-size: .92rem; color: var(--ui-text-2); }
.lp-plan li i { color: var(--c-ok); margin-top: 4px; font-size: .8rem; }

.lp-faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.lp-faq-item { border-radius: 20px; background: #fff; border: 1px solid var(--ui-border); box-shadow: var(--ui-shadow-sm); }
.lp-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-family: var(--ui-font-display); font-weight: 700; }
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary i { color: var(--c-brand); transition: transform var(--ui-fast); }
.lp-faq-item[open] summary i { transform: rotate(45deg); }
.lp-faq-item p { margin: 0; padding: 0 22px 18px; color: var(--ui-text-2); }

.home-final .lp-switch { margin: 22px 0 0; font-size: .95rem; }
.home-final .lp-switch a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.home-role h3 a { color: inherit; text-decoration: none; }
.home-role h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-role-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ==========================================================================
   Finitions : mouvement et relief
   ========================================================================== */

/* ---------- Titre : le mot-clé prend un dégradé qui ondule, son soulignement se dessine ---------- */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .home-hero h1 .ui-squiggle {
    background: linear-gradient(100deg, var(--brand-700), var(--brand-500) 50%, var(--brand-700)) 0 0 / 220% 100%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
    animation: ui-gradient 8s ease-in-out infinite;
  }
}
.home-hero h1 .ui-squiggle::after { animation: home-draw 1.2s var(--ui-ease-out) .8s backwards; }
@keyframes home-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Illustration : halo tournant, forme qui respire, pastilles décalées ---------- */
.home-hero-visual::before {
  content: ''; position: absolute; inset: -5%; z-index: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, var(--brand-300), var(--warm-300), var(--ok-300), var(--brand-300));
  filter: blur(36px); opacity: .5;
}
@media (hover: hover) and (pointer: fine) {
  .home-hero-visual::before { animation: ui-spin 26s linear infinite; will-change: transform; }
}
@media (min-width: 993px) and (hover: hover) and (pointer: fine) {
  .home-hero-card { animation: home-blob 18s ease-in-out infinite alternate; }
}
@keyframes home-blob {
  0% { border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%; }
  50% { border-radius: 58% 42% 40% 60% / 52% 58% 42% 48%; }
  100% { border-radius: 46% 54% 62% 38% / 40% 52% 48% 60%; }
}
.home-float.f1 { animation-duration: 7s; }
.home-float.f2 { animation-duration: 5.5s; }
.home-float-icon { transition: transform var(--ui-med) var(--ui-spring); }
@media (hover: hover) { .home-float:hover .home-float-icon { transform: rotate(-10deg) scale(1.12); } }

/* Profondeur au défilement : soleil, nuage et pastilles n'avancent pas à la même vitesse (navigateurs compatibles,
   jamais en mode « mouvement réduit » : une parallaxe peut donner la nausée) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .home-hero-visual .ui-doodle.sun { animation: ui-spin 60s linear infinite, home-fall linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 700px; }
    .home-hero-visual .ui-doodle.cloud { animation: ui-drift 14s ease-in-out infinite, home-rise-slow linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 700px; }
    .home-float.f1 { animation: ui-float 7s ease-in-out infinite, home-rise-slow linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 700px; }
    .home-float.f2 { animation: ui-float 5.5s ease-in-out -3s infinite, home-rise-fast linear both; animation-timeline: auto, scroll(root); animation-range: normal, 0 700px; }
    @keyframes home-fall { to { translate: 0 60px; } }
    @keyframes home-rise-slow { to { translate: 0 -50px; } }
    @keyframes home-rise-fast { to { translate: 0 -110px; } }
  }
}

/* ---------- Vidéo : le bouton de lecture pulse pour attirer l'œil ---------- */
.home-video-play::before {
  content: ''; position: absolute; inset: -10px; border-radius: 50%; pointer-events: none;
  border: 2px solid color-mix(in srgb, var(--c-brand) 60%, transparent); animation: home-pulse 2.4s ease-out infinite;
}
@keyframes home-pulse { from { transform: scale(.92); opacity: .9; } to { transform: scale(1.55); opacity: 0; } }

/* ---------- Fonctionnalités : pastille dégradée, liseré lumineux au survol ---------- */
.home-feature .stat-tile-icon {
  background: linear-gradient(135deg, var(--tile-bg, var(--c-brand-soft)), color-mix(in srgb, var(--tile-fg, var(--c-brand-strong)) 18%, var(--tile-bg, var(--c-brand-soft))));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tile-fg, var(--c-brand-strong)) 15%, transparent);
}
.home-feature::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--tile-fg, var(--c-brand-strong)) 60%, transparent), transparent 55%, color-mix(in srgb, var(--tile-fg, var(--c-brand-strong)) 35%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  transition: opacity var(--ui-med);
}
.home-feature:hover::before { opacity: 1; }

/* ---------- Étapes : le trait se dessine, les pastilles rebondissent ---------- */
.home-steps[data-draw]::before { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ui-ease-out) .35s; }
.home-steps[data-draw].is-visible::before { clip-path: inset(0 0 0 0); }
.home-step-num { background: linear-gradient(180deg, #fff, var(--c-brand-soft)); }
.home-steps li:nth-child(2) .home-step-num { color: var(--c-ok); border-color: var(--c-ok-soft); background: linear-gradient(180deg, #fff, var(--c-ok-soft)); }
.home-steps li:nth-child(3) .home-step-num { color: var(--c-warm-deep); border-color: var(--c-warm-soft); background: linear-gradient(180deg, #fff, var(--c-warm-soft)); }
.home-steps li.is-visible .home-step-num { animation: ui-bump .7s var(--ui-spring) .25s backwards; }

/* ---------- Profils : fonds dégradés, halo dans le coin ---------- */
.home-role { isolation: isolate; transition: box-shadow var(--ui-med), border-color var(--ui-med); }
.home-role.is-parent { --role-glow: var(--brand-400); background: linear-gradient(150deg, var(--brand-50), color-mix(in srgb, var(--brand-100) 55%, #fff)); }
.home-role.is-assistant { --role-glow: var(--ok-300); background: linear-gradient(150deg, var(--ok-50), color-mix(in srgb, var(--ok-100) 55%, #fff)); }
.home-role::before {
  content: ''; position: absolute; z-index: -1; right: -70px; bottom: -70px; width: 260px; height: 260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--role-glow) 30%, transparent), transparent 70%);
  transition: transform var(--ui-slow) var(--ui-ease-out);
}
@media (hover: hover) { .home-role:hover::before { transform: scale(1.35); } }
.home-role-icon { transition: transform var(--ui-med) var(--ui-spring); }
@media (hover: hover) { .home-role:hover .home-role-icon { transform: rotate(-8deg) scale(1.08); } }
.home-role ul li { transition: transform var(--ui-med) var(--ui-ease); }
@media (hover: hover) { .home-role ul li:hover { transform: translateX(4px); } }

/* ---------- Offre fondateurs : jauge qui se remplit à l'arrivée ---------- */
.home-founder-bar span { background: var(--accent-grad); position: relative; overflow: hidden; }
.home-founder-bar span::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); animation: ui-shine 3s ease-in-out 1.6s infinite; }
[data-reveal].is-visible .home-founder-bar span { animation: ui-bar-fill 1.5s var(--ui-ease-out) .4s backwards; }

/* ---------- Bascule mensuel / annuel : la pastille glisse d'un choix à l'autre (position posée par app.js) ---------- */
.home-toggle { position: relative; isolation: isolate; }
.home-toggle::before {
  content: ''; position: absolute; z-index: -1; top: 5px; bottom: 5px; left: 0; width: var(--thumb-w, 0); border-radius: 999px; background: var(--c-ink);
  transform: translateX(var(--thumb-x, 5px)); opacity: 0;
  transition: transform var(--ui-med) var(--ui-spring), width var(--ui-med) var(--ui-ease), opacity var(--ui-fast);
}
.home-toggle.has-thumb::before { opacity: 1; }
.home-toggle.has-thumb button.active { background: transparent; }

/* ---------- Tarifs : l'offre vedette porte une bordure dégradée qui tourne lentement ---------- */
@supports (background: conic-gradient(from 0deg, red, blue)) {
  .home-price-card.is-featured, .lp-plan.is-featured {
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, conic-gradient(from var(--ui-angle), var(--brand-400), var(--warm-300), var(--ok-300), var(--brand-500), var(--brand-400)) border-box;
  }
  @media (hover: hover) and (pointer: fine) { .home-price-card.is-featured, .lp-plan.is-featured { animation: ui-angle 10s linear infinite; } }
}
.home-price-ribbon { background: var(--accent-grad); box-shadow: var(--accent-glow); }
.home-price-card, .lp-plan { transition: box-shadow var(--ui-med) var(--ui-ease), border-color var(--ui-med); }
.home-price-card:not(.is-featured):hover, .lp-plan:not(.is-featured):hover { box-shadow: var(--ui-shadow); border-color: color-mix(in srgb, var(--accent) 30%, var(--ui-border)); }
.home-price-card li i, .lp-plan li i { transition: transform var(--ui-med) var(--ui-spring); }
@media (hover: hover) { .home-price-card li:hover i, .lp-plan li:hover i { transform: scale(1.35) rotate(-8deg); } }

/* ---------- Avant / après, questions fréquentes ---------- */
.lp-pain { transition: transform var(--ui-med) var(--ui-ease), box-shadow var(--ui-med), border-color var(--ui-med); }
@media (hover: hover) { .lp-pain:hover { transform: translateY(-3px); box-shadow: var(--ui-shadow); } }
.lp-faq-item { transition: box-shadow var(--ui-med), border-color var(--ui-med); }
.lp-faq-item:hover, .lp-faq-item[open] { border-color: color-mix(in srgb, var(--accent) 28%, var(--ui-border)); box-shadow: var(--ui-shadow); }
.lp-faq-item summary i { transition: transform var(--ui-med) var(--ui-spring); }
.lp-faq-item[open] p { animation: ui-fade-up .4s var(--ui-ease-out) backwards; }

/* ---------- Bandeau final : maille de dégradés qui dérive, bouton qui reflète la lumière ---------- */
.home-final .container {
  background-color: var(--c-ink); background-image: var(--ui-mesh-dark); background-repeat: no-repeat;
  background-size: 58% 260%, 46% 220%, 100% 100%; background-position: 100% 0%, 0% 100%, 0 0;
  box-shadow: var(--ui-shadow-lg);
}
@media (hover: hover) and (pointer: fine) { .home-final .container { animation: ui-mesh 20s ease-in-out infinite alternate; } }
.home-final .btn-light { box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .5); }
.home-final .btn-light::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 32%, color-mix(in srgb, var(--brand-300) 55%, transparent) 50%, transparent 68%);
  transform: translateX(-130%); animation: ui-shine 3.8s ease-in-out 1s infinite;
}

@keyframes home-flip { from { opacity: 0; transform: translateY(-10px) rotateX(60deg); } to { opacity: 1; transform: none; } }

@media (max-width: 992px) {
  .home-hero-inner { grid-template-columns: 1fr; }
  .home-hero-visual { max-width: 460px; margin: 16px auto 0; }
  .home-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-highlight { grid-template-columns: 1fr; }
  .lp-plans { grid-template-columns: repeat(2, minmax(0, 360px)); }
}
@media (max-width: 680px) {
  .home-features, .home-steps, .home-roles, .home-pricing, .lp-pains, .lp-plans { grid-template-columns: minmax(0, 1fr); }
  .home-steps::before { display: none; }
  .home-float.f1 { left: -6px; } .home-float.f2 { right: -6px; }
  .home-founder { text-align: center; justify-content: center; }
}
