/* IBAA — page d'accueil publique (site vitrine).
   Utilise les couleurs et polices de style.css : vert #5ACA02, bleu #2F67C4, nuit #060D18. */
.site { margin: 0; background: var(--paper); color: var(--ink); overflow-x: hidden; }
.site h1, .site h2, .site h3 { font-family: var(--serif); letter-spacing: -.03em; line-height: 1.05; margin: 0; }
.site h2 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 800; max-width: 22ch; }
.site h3 { font-size: 18px; font-weight: 700; }
.site p { line-height: 1.6; }
.s-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 76px; }

/* Boutons */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; font-weight: 800; text-decoration: none; border-radius: 999px; transition: transform .2s, box-shadow .2s, background .2s; position: relative; overflow: hidden; white-space: nowrap; }
.s-btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.s-btn-green { background: var(--ibaa-green); color: var(--ink); box-shadow: 0 8px 24px rgba(90, 202, 2, .35); }
.s-btn-green:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(90, 202, 2, .45); }
.s-btn-green::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4s ease-in-out infinite; }
.s-btn-line { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.s-btn-line:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.s-btn-dark { background: var(--ink); color: #fff; }
.s-btn-dark:hover { background: var(--ibaa-blue); transform: translateY(-2px); }
.s-full { width: 100%; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 80%, 100% { transform: translateX(120%); } }

/* En-tête */
.s-nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s; }
.s-nav.scrolled { background: rgba(6, 13, 24, .92); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.s-nav-in { display: flex; align-items: center; gap: 16px; height: 72px; }
.s-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.s-brand img { background: #fff; border-radius: 50%; padding: 2px; }
.s-brand b { display: block; font-family: var(--serif); font-size: 20px; letter-spacing: -.02em; }
.s-brand small { display: block; font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--on-ink-soft); }
.s-links { display: flex; align-items: center; gap: 4px; }
.s-links a:not(.s-btn) { color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 12px; border-radius: 999px; }
.s-links a:not(.s-btn):hover { background: rgba(255,255,255,.1); }
.s-links .s-login { margin-left: 8px; }
.s-login-m, .s-burger { display: none; }
.s-burger { width: 46px; height: 46px; border: 0; background: rgba(255,255,255,.1); border-radius: 50%; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.s-burger span { display: block; width: 20px; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.s-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.s-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.s-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Accueil (hero) */
.s-hero { position: relative; min-height: 100vh; min-height: 100svh; background: radial-gradient(120% 90% at 80% 10%, #10223c 0%, var(--ink) 55%); color: #fff; display: flex; flex-direction: column; overflow: hidden; padding-top: 72px; }
.s-court { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 700' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%235ACA02' stroke-opacity='.16' stroke-width='3'%3E%3Crect x='40' y='40' width='1120' height='620'/%3E%3Cpath d='M600 40v620'/%3E%3Ccircle cx='600' cy='350' r='90'/%3E%3Ccircle cx='600' cy='350' r='30'/%3E%3Cpath d='M40 120h170a230 230 0 0 1 0 460H40'/%3E%3Crect x='40' y='260' width='190' height='180'/%3E%3Ccircle cx='230' cy='350' r='60'/%3E%3Cpath d='M1160 120h-170a230 230 0 0 0 0 460h170'/%3E%3Crect x='970' y='260' width='190' height='180'/%3E%3Ccircle cx='970' cy='350' r='60'/%3E%3C/g%3E%3C/svg%3E") center / cover no-repeat; animation: drift 30s ease-in-out infinite alternate; pointer-events: none; }
.s-court.faint { opacity: .6; }
@keyframes drift { from { transform: scale(1.05) translateX(-1.5%); } to { transform: scale(1.12) translateX(1.5%); } }
.s-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .45; pointer-events: none; }
.s-glow.g1 { width: 420px; height: 420px; background: var(--ibaa-green); top: 10%; right: -120px; animation: float 12s ease-in-out infinite; }
.s-glow.g2 { width: 380px; height: 380px; background: var(--ibaa-blue); bottom: -60px; left: -100px; animation: float 15s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(-40px, 30px) scale(1.1); } }
.s-hero-in { position: relative; flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.s-kicker { font-family: var(--mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--ibaa-green); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 10px; }
.s-kicker::before { content: ""; width: 28px; height: 3px; background: linear-gradient(90deg, var(--ibaa-green) 50%, var(--ibaa-blue) 50%); }
.s-kicker.dark { color: var(--ibaa-blue); }
.s-hero h1 { font-size: clamp(40px, 5.6vw, 80px); font-weight: 800; letter-spacing: -.045em; max-width: 13ch; }
.s-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--on-ink-soft); max-width: 52ch; margin: 22px 0 30px; }
.s-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.s-when { margin-top: 22px; font-weight: 600; color: #fff; opacity: .9; }

/* Photo d'équipe dans un cadre incliné + ballon qui rebondit */
.s-hero-art { position: relative; padding: 20px 10px 60px 30px; transition: transform .4s ease-out; }
.s-frame { position: relative; transform: rotate(2.5deg); transition: transform .3s ease-out; transform-style: preserve-3d; animation: frameIn 1.1s cubic-bezier(.2,.8,.2,1) both .2s; }
@keyframes frameIn { from { opacity: 0; transform: rotate(8deg) translateY(40px) scale(.92); } }
.s-frame-bg { position: absolute; inset: 0; border-radius: 30px; background: linear-gradient(135deg, var(--ibaa-green), var(--ibaa-blue)); transform: rotate(-6deg) translate(-14px, 10px); box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.s-frame-in { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 2.3; border: 5px solid #fff; box-shadow: 0 30px 70px rgba(0,0,0,.5); background: #10223c; }
.s-frame-in img { width: 100%; height: 100%; object-fit: cover; display: block; animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, 1%); } }
.s-ball-wrap { position: absolute; left: -10px; bottom: 0; width: 120px; height: 190px; z-index: 3; }
.s-ball { position: absolute; left: 0; top: 0; width: 120px; animation: bounce 1.3s cubic-bezier(.5, 0, .5, 1) infinite; filter: drop-shadow(0 18px 30px rgba(232, 89, 12, .45)); }
.s-shadow { position: absolute; left: 15%; bottom: 0; width: 70%; height: 12px; border-radius: 50%; background: rgba(0,0,0,.5); filter: blur(4px); animation: shadow 1.3s cubic-bezier(.5, 0, .5, 1) infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(62px) rotate(160deg) scaleY(.95); } }
@keyframes shadow { 0%, 100% { transform: scaleX(.55); opacity: .35; } 50% { transform: scaleX(1); opacity: .8; } }
.s-badge { position: absolute; z-index: 2; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 14px; font-weight: 700; font-size: 14px; box-shadow: 0 14px 30px rgba(0,0,0,.3); animation: float2 6s ease-in-out infinite; }
.s-badge b { font-family: var(--serif); color: var(--ibaa-blue); font-size: 18px; }
.s-badge.b1 { right: -14px; bottom: 14%; }
.s-badge.b3 { right: 18%; top: -18px; animation-delay: -1.5s; display: inline-flex; align-items: center; gap: 8px; }
.s-live { width: 10px; height: 10px; border-radius: 50%; background: var(--ibaa-green); box-shadow: 0 0 0 0 rgba(90,202,2,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(90,202,2,0); } 100% { box-shadow: 0 0 0 0 rgba(90,202,2,0); } }
.s-badge.b2 { left: -26px; top: 22%; animation-delay: -3s; }
@keyframes float2 { 50% { transform: translateY(-12px); } }

/* Bandeau défilant */
.s-marquee { position: relative; background: var(--ibaa-green); color: var(--ink); overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg) scale(1.02); margin-bottom: -6px; }
.s-track { display: flex; gap: 22px; width: max-content; animation: marquee 30s linear infinite; font-family: var(--serif); font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.s-track i { font-style: normal; color: var(--ibaa-blue); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Chiffres */
.s-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin-top: 70px; margin-bottom: 20px; }
.s-stat { padding: 18px 20px; border-left: 3px solid var(--ibaa-green); }
.s-stat b { display: block; font-family: var(--serif); font-size: clamp(42px, 5vw, 64px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.s-stat span { color: var(--muted); font-weight: 600; }

/* Sections */
.s-section { position: relative; padding: 90px 0; }
.s-dark { background: var(--ink); color: #fff; overflow: hidden; }
.s-dark .s-wrap { position: relative; }
.s-sub { color: var(--muted); max-width: 60ch; margin-top: 14px; }
.s-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.s-split p { color: var(--muted); font-size: 16.5px; }
.s-split h2 { margin-bottom: 18px; }
.s-dark .s-split p, .s-dark p { color: var(--on-ink-soft); }

.s-values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 70px; }
.s-value { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; transition: transform .25s, box-shadow .25s; }
.s-value:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(6,13,24,.12); }
.s-value p { font-size: 14.5px !important; margin: 8px 0 0; }
.s-ic { display: inline-flex; width: 52px; height: 52px; border-radius: 16px; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--ibaa-green), #8EE04A); color: var(--ink); margin-bottom: 14px; }
.s-value:nth-child(even) .s-ic { background: linear-gradient(135deg, var(--ibaa-blue), #6C97E0); color: #fff; }

.s-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.s-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 26px 22px; transition: transform .25s, background .25s, border-color .25s; }
.s-card:hover { transform: translateY(-6px); background: rgba(90, 202, 2, .12); border-color: var(--ibaa-green); }
.s-card p { font-size: 15px; margin: 10px 0 0; }
.s-num { display: block; font-family: var(--serif); font-size: 44px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--ibaa-green); margin-bottom: 16px; }

.s-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 36px; }
.s-cat { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px 18px; text-align: center; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.s-cat::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 70%; background: radial-gradient(closest-side, rgba(90,202,2,.25), transparent); transition: transform .4s; }
.s-cat:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 18px 40px rgba(6,13,24,.12); }
.s-cat:hover .s-cat-ball { transform: rotate(200deg) scale(1.08); }
.s-cat-ball { width: 56px; height: 56px; margin: 0 auto 12px; display: block; transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.s-age { font-family: var(--serif); font-size: 26px; font-weight: 800; color: var(--ibaa-blue); margin: 6px 0 2px; }
.s-code { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0; }

.s-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.s-gallery figure { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.s-gallery figure:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.s-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; display: block; }
.s-gallery figure:hover img { transform: scale(1.07); }

/* Collage de photos (académie) */
.s-collage { position: relative; min-height: 540px; }
.s-ph { position: absolute; margin: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px rgba(6,13,24,.22); background: var(--paper-2); }
.s-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.s-ph:hover img { transform: scale(1.06); }
.s-ph-a { left: 0; top: 0; width: 66%; aspect-ratio: 5 / 6; }
.s-ph-b { right: 0; bottom: 0; width: 50%; aspect-ratio: 5 / 6; border: 6px solid var(--paper); }
.s-sticker { position: absolute; left: 4%; bottom: 4%; z-index: 2; display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; font-weight: 800; font-size: 13.5px; line-height: 1.25; padding: 10px 16px 10px 10px; border-radius: 999px; box-shadow: 0 16px 36px rgba(6,13,24,.35); }
.s-sticker-ball { width: 38px; height: 38px; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.s-split .s-btn { margin-top: 10px; }

/* Programmes : photo + cartes */
.s-prog { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.s-prog .s-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.s-prog-photo { position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 6; box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.s-prog-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; transition: transform 1s; }
.s-prog-photo:hover img { transform: scale(1.05); }
.s-prog-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,13,24,.85)); }
.s-prog-photo figcaption { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: var(--on-ink-soft); font-size: 14px; display: flex; flex-direction: column; gap: 2px; }
.s-prog-photo figcaption b { color: var(--ibaa-green); font-family: var(--serif); font-size: 20px; }

/* Baby basket */
.s-baby { position: relative; padding: 90px 0; background: linear-gradient(180deg, var(--paper) 0%, #e6f6d6 100%); overflow: hidden; }
.s-baby::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px; border-radius: 50%; border: 50px solid rgba(47,103,196,.08); }
.s-baby-in { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.s-baby-text p { color: var(--muted); font-size: 16.5px; }
.s-hl { background: linear-gradient(transparent 62%, rgba(90,202,2,.55) 62%); padding: 0 4px; }
.s-chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.s-chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.s-chips li::before { content: "●"; color: var(--ibaa-green); margin-right: 6px; }
.s-baby-photo { margin: 0; border-radius: 30px; overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 0 30px 70px rgba(6,13,24,.25); transform: rotate(-1.5deg); }
.s-baby-photo img { width: 100%; height: 124%; object-fit: cover; object-position: center 70%; display: block; margin-top: -12%; }
.s-baby-text h2 { margin-bottom: 18px; }

/* Agrandir une photo de la galerie */
.s-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(3,7,13,.92); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; transition: opacity .25s; cursor: zoom-out; }
.s-lightbox.on { opacity: 1; }
.s-lightbox img { max-width: 100%; max-height: 90vh; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.6); transform: scale(.94); transition: transform .3s; }
.s-lightbox.on img { transform: none; }
.s-gallery a { display: block; height: 100%; cursor: zoom-in; }

/* Téléphone (application) */
.s-app { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.s-phone { justify-self: center; width: min(300px, 80vw); aspect-ratio: 9 / 18.5; background: var(--ink); border-radius: 44px; padding: 14px; box-shadow: 0 40px 80px rgba(6,13,24,.35), inset 0 0 0 2px #24324a; transform: rotate(-4deg); animation: float2 7s ease-in-out infinite; }
.s-phone-in { background: var(--paper); border-radius: 32px; height: 100%; padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.s-ph-head { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 14px; }
.s-ph-head img { width: 28px; height: 28px; border-radius: 50%; background: #fff; }
.s-ph-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-ph-tile { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ibaa-blue); padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.s-ph-tile small { font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; color: var(--muted); }
.s-ph-tile b { font-family: var(--serif); font-size: 18px; }
.s-ph-tile.dark { background: var(--ink); color: #fff; border-color: var(--ink); border-top-color: var(--ibaa-green); }
.s-ph-tile.dark b { font-size: 34px; color: var(--ibaa-green); }
.s-dots { display: flex; gap: 4px; } .s-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--ibaa-green); } .s-dots i.off { background: var(--paper-2); }
.s-ph-nav { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); color: var(--on-ink-muted); font-size: 8.5px; font-weight: 700; text-align: center; padding: 10px 0; border-radius: 0 0 20px 20px; margin: auto -12px -16px; }
.s-ph-nav .on { color: var(--ibaa-green); }
.s-list { list-style: none; padding: 0; margin: 18px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.s-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; font-size: 16px; }
.s-list li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ibaa-green); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }

/* Inscription */
.s-steps { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; counter-reset: st; }
.s-steps li { counter-increment: st; display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; align-items: start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 16px; }
.s-steps li::before { content: counter(st); grid-row: span 2; width: 54px; height: 54px; border-radius: 16px; background: var(--ibaa-green); color: var(--ink); font-family: var(--serif); font-weight: 800; font-size: 24px; display: flex; align-items: center; justify-content: center; }
.s-steps b { font-size: 17px; }
.s-steps span { color: var(--on-ink-soft); font-size: 15px; }
.s-contact { background: #fff; color: var(--ink); border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.s-contact h3 { font-size: 24px; }
.s-contact p { color: var(--muted) !important; margin: 0; }
.s-addr { font-weight: 700; color: var(--ink) !important; }
.s-contact-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.s-contact .s-btn-line { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.s-contact .s-btn-line:hover { background: var(--paper); }
.s-social { display: flex; gap: 14px; } .s-social a { font-weight: 700; }

/* Pied de page */
.s-foot { background: #03070d; color: #fff; padding: 28px 0; }
.s-foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; justify-content: space-between; }
.s-foot-in .s-brand { margin-right: 0; }
.s-foot-links { display: flex; flex-wrap: wrap; gap: 18px; } .s-foot-links a { color: var(--on-ink-soft); text-decoration: none; font-weight: 600; } .s-foot-links a:hover { color: var(--ibaa-green); }
.s-foot small { color: var(--on-ink-muted); }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }

/* Tablette et téléphone */
@media (max-width: 980px) {
  .s-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .s-app .s-phone { order: 2; }
  .s-prog, .s-baby-in { grid-template-columns: minmax(0, 1fr); }
  .s-prog-photo { aspect-ratio: 4 / 3; }
  .s-values { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 50px; }
  .s-collage { min-height: 0; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; }
}
@media (max-width: 860px) {
  .s-links { position: fixed; inset: 72px 0 auto 0; background: rgba(6,13,24,.97); flex-direction: column; align-items: stretch; padding: 12px 20px 22px; gap: 2px; transform: translateY(-150%); visibility: hidden; transition: transform .3s, visibility .3s; z-index: -1; }
  .s-links.open { transform: none; visibility: visible; }
  .s-links a:not(.s-btn) { padding: 14px 12px; font-size: 17px; }
  .s-links .s-login { display: none; }
  .s-burger { display: inline-flex; }
  .s-login-m { display: inline-flex; min-height: 42px; padding: 0 16px; }
  .s-nav { background: rgba(6,13,24,.92); }
  .s-hero-in { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .s-hero-art { padding: 16px 18px 40px 26px; max-width: 560px; }
  .s-ball-wrap { width: 80px; height: 130px; left: -6px; }
  .s-ball { width: 80px; }
  @keyframes bounce { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(42px) rotate(160deg) scaleY(.95); } }
  .s-badge { font-size: 12.5px; padding: 8px 12px; }
  .s-badge b { font-size: 15px; }
  .s-badge.b2 { left: -12px; }
  .s-badge.b1 { right: -8px; }
  .s-brand small { display: none; }
  .s-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .s-values, .s-cards, .s-prog .s-cards { grid-template-columns: minmax(0, 1fr); }
  .s-baby { padding: 64px 0; }
  .s-sticker { font-size: 12px; }
  .s-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-section { padding: 64px 0; }
  .s-stats { margin-top: 50px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-ctas .s-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .site *, .site *::before, .site *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
