:root{--ink:#263238;--muted:#607077;--paper:#fffdf8;--surface:#fff;--line:#e9e3d9;--pink:#f15f7a;--pink-dark:#c8435c;--sun:#f7c85d;--mint:#68c7ad;--sky:#74b9e8;--lav:#9f8de3;--radius:24px;--shadow:0 18px 50px rgba(53,65,70,.12);font-family:Inter,ui-rounded,"SF Pro Rounded","Avenir Next",system-ui,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 15% 5%,#fff1f4 0,transparent 30%),radial-gradient(circle at 90% 20%,#edf9f5 0,transparent 28%),var(--paper);line-height:1.5}a{color:inherit}.site-header{max-width:1180px;margin:auto;padding:20px 24px;display:flex;align-items:center;justify-content:space-between}.brand{text-decoration:none;font-weight:900;font-size:1.35rem}.site-nav{display:flex;gap:10px}.site-nav a{text-decoration:none;padding:10px 14px;border-radius:999px}.site-nav a:hover{background:#fff}.hero,.section,.bundle,.trust,.privacy-note{max-width:1180px;margin:0 auto}.hero{min-height:560px;padding:72px 24px;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:48px}.hero h1{font-size:clamp(2.7rem,6vw,5.5rem);line-height:.97;letter-spacing:-.055em;margin:.15em 0}.hero-lead{font-size:1.2rem;color:var(--muted);max-width:720px}.eyebrow{text-transform:uppercase;font-size:.76rem;letter-spacing:.15em;font-weight:900;color:var(--pink-dark)}.hero-art{height:360px;border-radius:42% 58% 51% 49%/54% 45% 55% 46%;background:linear-gradient(135deg,#ffdce4,#fff1bf 48%,#dff5ee);box-shadow:var(--shadow);display:grid;grid-template-columns:1fr 1fr;place-items:center;font-size:4.3rem;transform:rotate(2deg)}.hero-art span:nth-child(2){transform:translateY(22px) rotate(-12deg)}.button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:900;border-radius:999px;padding:12px 18px}.button--large{padding:15px 22px}.button--primary{background:var(--ink);color:#fff}.button--light{background:#fff;color:var(--ink)}.section{padding:70px 24px}.section-heading{max-width:760px;margin-bottom:28px}.section-heading h2,.bundle h2{font-size:clamp(2rem,4vw,3.2rem);letter-spacing:-.04em;margin:.1em 0}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.product-card{background:rgba(255,255,255,.9);border:1px solid var(--line);padding:26px;border-radius:var(--radius);box-shadow:0 10px 30px rgba(53,65,70,.07);display:flex;flex-direction:column;min-height:350px}.product-card h3{font-size:1.55rem;margin:.6rem 0}.product-card p{color:var(--muted)}.product-card .button{margin-top:auto}.product-icon{font-size:3rem}.product-price{font-weight:900!important;color:var(--ink)!important;font-size:1.12rem}.bundle{margin-top:30px;padding:36px;border-radius:32px;background:linear-gradient(120deg,#313f44,#51656a);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px}.bundle .eyebrow{color:#ffd6de}.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.steps div{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;display:flex;align-items:center;gap:12px}.steps b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff0f3;color:var(--pink-dark)}.trust{padding:20px 24px 60px;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.trust span{background:#fff;border:1px solid var(--line);padding:9px 13px;border-radius:999px;font-size:.9rem}.privacy-note{margin-bottom:70px;padding:18px 22px;background:#edf8f4;border-radius:18px;color:#315e53}.preview-shell{position:relative;min-height:320px;margin-top:34px;border:1px solid var(--line);border-radius:28px;background:#fff;padding:28px;overflow:hidden}.preview-watermark{position:absolute;right:20px;bottom:15px;font-size:3rem;font-weight:900;opacity:.08;transform:rotate(-9deg)}.back-link{text-decoration:none;font-weight:800}.phase-note{padding:14px 18px;background:#fff8df;border-radius:16px;max-width:760px}.payment-banner{position:sticky;top:0;z-index:10;padding:12px 20px;text-align:center;font-weight:800;background:#e8f6f1;border-bottom:1px solid #c9e8de}.payment-banner--invalid{background:#fff0f2;border-color:#ffd6dd}.site-footer{max-width:1180px;margin:auto;padding:35px 24px 60px;color:var(--muted);font-size:.9rem}@media(max-width:820px){.site-nav{display:none}.hero{grid-template-columns:1fr;padding-top:40px;min-height:auto}.hero-art{height:220px;font-size:2.7rem}.product-grid,.steps{grid-template-columns:1fr}.bundle{margin-left:18px;margin-right:18px;align-items:flex-start;flex-direction:column}.section{padding-top:48px}.hero h1{font-size:clamp(2.8rem,14vw,4.6rem)}}
/* Phase 3 — Adventure builder */
.adventure-builder{max-width:1000px;margin:0 auto}.builder-card,.preview-card{background:#fff;border:1px solid rgba(45,39,66,.12);border-radius:24px;padding:clamp(18px,4vw,34px);box-shadow:0 18px 50px rgba(45,39,66,.08);margin:24px 0}.builder-card h2{margin-top:28px}.builder-field{display:grid;gap:8px;margin:14px 0}.builder-label{font-weight:800}.builder-field input,.builder-field select{width:100%;min-height:48px;border:1px solid #cbc5da;border-radius:12px;padding:10px 12px;font:inherit;background:#fff}.location-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}.check-card{border:1px solid #ded9e8;border-radius:12px;padding:12px;background:#fbfaff}.check-card input{width:18px;height:18px}.form-help,.privacy-note{color:#625c70;font-size:.94rem}.form-error{background:#fff1f1;border:1px solid #e5a9a9;padding:12px;border-radius:12px;color:#8a2424}.preview-card{position:relative;overflow:hidden}.preview-watermark{display:inline-block;font-weight:900;letter-spacing:.08em;color:#7a4c9d;background:#f1e8fa;padding:7px 10px;border-radius:999px}.challenge-preview{font-size:1.2rem;font-weight:800;padding:18px;border-radius:16px;background:#fff8db}.locked-note{padding:14px;border-radius:14px;background:#f4f2f7}.preview-summary{font-weight:800}@media(max-width:640px){.location-grid{grid-template-columns:1fr 1fr}.builder-card{border-radius:18px;padding:16px}.button{min-height:48px}}
/* Phase 4 — Routines */
.routine-builder{max-width:1050px;margin:0 auto}.owned-routines{margin:18px 0;background:#edf8f4;border:1px solid #c9e8de;border-radius:18px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}.builder-section{padding:8px 0 18px;border-bottom:1px solid var(--line)}.builder-section:last-of-type{border-bottom:0}.routine-action-grid{display:grid;gap:14px}.routine-action-group{border:0;padding:0;margin:0}.routine-action-group legend{font-weight:900;margin:10px 0}.routine-action-card{display:grid;grid-template-columns:auto 44px 1fr;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e1ddea;border-radius:14px;margin:7px 0;background:#fff;cursor:pointer}.routine-action-card:has(input:checked){border-color:#8f7bd5;background:#f8f5ff}.routine-action-card input{width:19px;height:19px}.routine-action-icon,.routine-preview-icon{display:grid;place-items:center}.routine-action-icon svg{width:34px;height:34px;color:#566b75}.day-picker{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 18px}.day-chip{display:flex;align-items:center;gap:5px;padding:9px 11px;background:#fff;border:1px solid #ded9e8;border-radius:999px;font-weight:800}.day-chip input{width:17px;height:17px}.builder-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:18px}.locked-print{font-size:.9rem;color:#6c6473}.routine-preview-area{margin:30px 0 70px}.routine-poster-preview{position:relative;background:#fff;border:3px solid #dbe0ea;border-radius:28px;padding:22px;box-shadow:var(--shadow);overflow:hidden;--routine-accent:#d9368b}.routine-preview-watermark{position:absolute;inset:45% auto auto 12%;transform:rotate(-12deg);font-size:clamp(1.4rem,5vw,3rem);font-weight:1000;letter-spacing:.08em;opacity:.09;z-index:5;pointer-events:none}.routine-preview-header{text-align:center;border-radius:20px;padding:15px;background:linear-gradient(135deg,#fff2f6,#f2f7ff);border:1px solid color-mix(in srgb,var(--routine-accent) 20%,white)}.routine-preview-header h2{margin:2px 0;font-size:clamp(1.7rem,4vw,2.6rem);color:var(--routine-accent)}.routine-preview-grid{border:1px solid #dbe0ea;border-radius:18px;overflow:hidden;margin-top:14px}.routine-preview-row{display:grid;grid-template-columns:minmax(160px,2.4fr) repeat(7,minmax(38px,1fr));align-items:stretch;border-bottom:1px solid #e4e8ef;min-height:58px}.routine-preview-row:last-child{border-bottom:0}.routine-preview-row>*{display:flex;align-items:center;justify-content:center;border-right:1px solid #e4e8ef;padding:7px}.routine-preview-row>*:last-child{border-right:0}.routine-preview-row--head{min-height:40px;background:#f7f9fc}.routine-preview-task{justify-content:flex-start!important;gap:9px;font-weight:800}.routine-preview-icon{width:38px;height:38px;min-width:38px;border-radius:11px;background:#f4f2fb;color:var(--routine-accent)}.routine-preview-icon svg{width:31px;height:31px}.routine-preview-star{font-size:1.6rem;color:#627481}.routine-preview-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:10px;margin-top:14px}.routine-preview-goal,.routine-preview-reward{padding:13px;border:1px solid #dbe0ea;border-radius:14px;font-weight:800}.theme-colorful{--routine-accent:#d9368b}.theme-dinosaurs{--routine-accent:#3f855d}.theme-magic{--routine-accent:#7353c6}.theme-space{--routine-accent:#335f9c}.theme-nature{--routine-accent:#4c7b57}.theme-sport{--routine-accent:#b2542d}.theme-mature{--routine-accent:#3e5268}.routine-poster-preview.age-3-5 .routine-preview-icon{width:48px;height:48px;min-width:48px;border-radius:14px}.routine-poster-preview.age-3-5 .routine-preview-icon svg{width:39px;height:39px}.routine-poster-preview.age-3-5 .routine-preview-task{font-size:.92rem}.routine-poster-preview.age-3-5 .routine-preview-row{min-height:67px}.routine-poster-preview.age-9-11{border-radius:12px}.routine-poster-preview.age-9-11 .routine-preview-header,.routine-poster-preview.age-9-11 .routine-preview-grid,.routine-poster-preview.age-9-11 .routine-preview-bottom>*{border-radius:8px}.routine-poster-preview.age-9-11 .routine-preview-icon{background:transparent;width:28px;height:28px;min-width:28px}.routine-poster-preview.age-9-11 .routine-preview-icon svg{width:23px;height:23px}@media(max-width:720px){.owned-routines{align-items:flex-start;flex-direction:column}.routine-preview-row{grid-template-columns:minmax(120px,2.2fr) repeat(7,minmax(30px,1fr));font-size:.75rem}.routine-preview-row>*{padding:5px}.routine-preview-icon{width:30px;height:30px;min-width:30px}.routine-preview-icon svg{width:24px;height:24px}.routine-preview-bottom{grid-template-columns:1fr}.routine-action-card{grid-template-columns:auto 38px 1fr}}

/* Phase 5 — Vie de famille */
.family-builder{max-width:1050px;margin:0 auto}.family-situation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:28px 0}.family-situation-card{min-height:132px;border:1px solid var(--line);background:#fff;border-radius:20px;padding:18px;text-align:left;display:grid;gap:5px;cursor:pointer;font:inherit;color:var(--ink)}.family-situation-card:hover,.family-situation-card.is-selected{border-color:#79ad9d;box-shadow:0 10px 30px rgba(61,107,94,.12);background:#f5fbf9}.family-situation-icon{font-size:1.8rem;color:#3f7969}.family-situation-card small{color:var(--muted)}.family-preview-area{margin:28px 0 70px}.family-preview{position:relative;overflow:hidden;background:#fff;border:2px solid #dce9e5;border-radius:26px;padding:26px;box-shadow:var(--shadow);max-width:760px}.family-preview h2{font-size:2rem;margin:.2em 0}.family-parent-copy{background:#f5fbf9;border-radius:14px;padding:14px}.family-step-list{display:grid;gap:9px;padding-left:28px}.family-step-list li{padding:11px 12px;border:1px solid #e0e9e6;border-radius:12px}.family-locked{padding:14px;background:#fff7df;border-radius:13px;margin-top:12px}.family-watermark{position:absolute;right:-20px;top:48%;transform:rotate(-12deg);font-size:2rem;font-weight:1000;opacity:.08}.family-disclaimer{display:block;color:var(--muted);margin-top:18px}.family-preview.age-3-5 .family-step-list li{font-size:1.18rem;min-height:56px}.family-preview.age-9-11{border-radius:12px}.family-preview.age-9-11 .family-step-list li{border-radius:7px}@media(max-width:760px){.family-situation-grid{grid-template-columns:1fr 1fr}.family-situation-card{min-height:118px;padding:14px}}@media(max-width:480px){.family-situation-grid{grid-template-columns:1fr}}

.purchases-page{max-width:900px;margin:0 auto}.purchase-list{display:grid;gap:14px;margin:28px 0}.purchase-card,.empty-state{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px}.purchase-card h2{margin-top:0}.purchase-state{color:var(--muted)}.payment-banner{position:relative;z-index:20;padding:13px 18px;text-align:center;font-weight:750;background:#f4faf7;border-bottom:1px solid #d9e8e1}.payment-banner--invalid,.payment-banner--network_error,.payment-banner--product_mismatch{background:#fff4ef}.payment-banner--cancelled{background:#fff8e8}

/* Phase 7 — finition commerciale, accessibilité et mobile-first */
html{scroll-behavior:smooth;overflow-x:hidden}body{overflow-x:hidden;padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);padding-bottom:env(safe-area-inset-bottom)}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}.button,.site-nav a,.back-link{min-height:44px}.button:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #2f6ea4;outline-offset:3px}.builder-field input,.builder-field select{font-size:16px}.site-header{padding-top:max(16px,env(safe-area-inset-top));gap:14px}.brand{white-space:nowrap}.pack-page{max-width:900px}.pack-grants{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:24px 0}.pack-grants .purchase-card{display:flex;align-items:center;gap:12px;min-height:110px}.purchases-page .hero-lead{max-width:760px}.purchase-card .button{margin-top:8px}.empty-state{padding:28px;text-align:center}.form-error[hidden]{display:none}.form-error{margin:12px 0}.adventure-preview{margin:28px 0 70px}.builder-card>button[type=submit]{margin-top:18px}.privacy-note{border:1px solid #cfe8df}.product-card{transition:transform .18s ease,box-shadow .18s ease}.product-card:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(53,65,70,.1)}
@media(max-width:820px){.site-header{align-items:flex-start;flex-direction:column}.site-nav{display:flex;width:100%;overflow-x:auto;gap:4px;padding-bottom:4px;scrollbar-width:none}.site-nav::-webkit-scrollbar{display:none}.site-nav a{white-space:nowrap;padding:9px 11px}.hero{padding-left:18px;padding-right:18px}.section{padding-left:18px;padding-right:18px}.pack-grants{grid-template-columns:1fr}.family-preview,.routine-poster-preview,.preview-card{max-width:100%}.builder-actions>.button{flex:1 1 220px}.payment-banner{padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}}
@media(max-width:560px){.hero h1{font-size:clamp(2.35rem,12vw,3.6rem)}.hero-lead{font-size:1.05rem}.hero-art{height:170px}.location-grid{grid-template-columns:1fr}.family-situation-grid{grid-template-columns:1fr}.builder-card,.preview-card,.family-preview,.routine-poster-preview{padding:16px;border-radius:18px}.routine-preview-grid{overflow-x:auto}.routine-preview-row{min-width:570px}.builder-actions{align-items:stretch;flex-direction:column}.builder-actions>.button{width:100%;flex:auto}.product-card{min-height:310px}.site-footer{padding-left:18px;padding-right:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.product-card{transition:none}}
@media(max-width:820px){.site-nav{overflow:visible;flex-wrap:wrap}.routine-preview-grid{overflow:visible}}
@media(max-width:560px){.routine-preview-row{min-width:0;grid-template-columns:minmax(88px,2fr) repeat(7,minmax(22px,1fr));font-size:.68rem}.routine-preview-row>*{padding:3px}.routine-preview-task{gap:4px}.routine-preview-icon{width:26px;height:26px;min-width:26px}.routine-preview-icon svg{width:20px;height:20px}.routine-poster-preview.age-3-5 .routine-preview-icon{width:32px;height:32px;min-width:32px}.routine-poster-preview.age-3-5 .routine-preview-icon svg{width:26px;height:26px}}
