/* Okilou : homepage v2 (02/09/2026), l'arc des fiches stores v4 en version web.
   Feuille CHARGÉE PAR LES HOMEPAGES SEULEMENT (fr/en/de), après site.css :
   rien ici ne touche les autres pages. Préfixe hp- partout. Les polices
   (Fredoka, Nunito) sont déclarées dans site.css depuis l'harmonisation du 02/09. */

/* ── Socle ──────────────────────────────────────────────────────── */
body.hp { overflow-x:hidden; }
.hp h1, .hp h2, .hp h3, .hp-display { font-family:Fredoka, "Trebuchet MS", sans-serif; font-weight:600;
                                       letter-spacing:-0.015em; line-height:1.06; }
.hp-top { padding-bottom:8px; }
.hp-in { width:100%; max-width:1120px; margin:0 auto; padding:0 22px; box-sizing:border-box; }
.hp-band, .hp-sec, .hp-videos { margin-top:0; }
.hp-sec + .hp-band, .hp-videos + .hp-band { margin-top:56px; }
.hp-band { padding:28px 0 30px; }
.hp-band--green { background:#1B9E6A; }
.hp-band--prune { background:var(--ink); }
.hp-band--amber { background:#FFA43D; }
.hp-sec { padding-top:60px; }
/* La carte déborde de la bande (120 px, plus l'ombre) : la section suivante lui laisse la place. */
.hp-band + .hp-sec, .hp-band + .hp-videos { padding-top:170px; }
.hp-grid { display:grid; grid-template-columns:minmax(0, 1fr); gap:22px; align-items:center; }
.hp-col { display:flex; flex-direction:column; gap:20px; min-width:0; }
.hp-cards { display:flex; flex-direction:column; gap:16px; margin-bottom:-120px; min-width:0; }

/* ── Titres et textes de bande ──────────────────────────────────── */
.hp-h1 { font-size:clamp(38px, 4.3vw, 58px); margin:0; display:flex; flex-direction:column; color:var(--cream); }
.hp-h2 { font-size:clamp(40px, 4.4vw, 60px); margin:0; display:flex; flex-direction:column; }
.hp-h2--sec { font-size:clamp(38px, 3.8vw, 50px); }
.hp-c-cream { color:var(--cream); }  .hp-c-mint { color:#BDF0DA; }   .hp-c-green { color:var(--green); }
.hp-c-deep { color:#1B9E6A; }        .hp-c-amber { color:#FFA43D; }   .hp-c-ink { color:var(--ink); }
.hp-c-white { color:#FFFFFF; }       .hp-c-brown { color:#3A2410; }
.hp-lead { font-weight:700; font-size:16.5px; line-height:1.45; margin:0; max-width:520px; }
.hp-band--green .hp-lead { color:var(--green-bg); }
.hp-band--prune .hp-lead { color:#D9D3E6; }
.hp-band--amber .hp-lead { color:#3A2410; }
.hp-fine { font-weight:700; font-size:13px; line-height:1.45; margin:0; }
.hp-band--green .hp-fine { color:#BDF0DA; }
.hp-band--prune .hp-fine { color:var(--faint); }
.hp-kicker { font-weight:800; font-size:13px; letter-spacing:0.08em; text-transform:uppercase; margin:0; }
.hp-kicker--amber { color:#C57A16; }
.hp-kicker--green { color:#1B9E6A; }
.hp-kicker--faint { color:var(--faint); letter-spacing:0.06em; }
.hp-sub { font-weight:700; font-size:15.5px; line-height:1.45; color:var(--soft); margin:0; }
.hp-claim { display:flex; flex-direction:column; gap:7px; }
.hp-claim b { font-family:Fredoka, "Trebuchet MS", sans-serif; font-weight:600; font-size:23px; line-height:1.22; }
.hp-claim span { font-weight:700; font-size:15.5px; line-height:1.42; color:#7A7388; }
.hp-band--prune .hp-claim b { color:var(--cream); }
.hp-band--prune .hp-claim span { color:#D9D3E6; }
.hp-foot { display:flex; align-items:center; gap:11px; font-weight:800; font-size:15px; color:#7A7388; margin:0; }
.hp-band--prune .hp-foot { color:#D9D3E6; }
.hp-more { display:inline-flex; align-items:center; gap:6px; color:var(--green-dark); font-weight:800;
           font-size:15.5px; text-decoration:none; }
.hp-more:hover { color:#166B4C; }
.hp-ico { flex:none; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hp-bubble { width:min(300px, 100%); box-sizing:border-box; background:#fff; border-radius:22px 22px 22px 6px;
             padding:14px 18px; box-shadow:0 12px 28px rgba(14,91,60,0.28); margin:0;
             font-family:Fredoka, "Trebuchet MS", sans-serif; font-weight:600; font-size:24px; line-height:1.14; color:var(--ink); }
.hp-badges { display:flex; gap:12px; flex-wrap:wrap; }
.badge.light { background:var(--cream); color:var(--ink); }
.badge.light:hover { background:#fff; }

/* ── Composants réels de l'app (répliques HTML, pas des captures) ─ */
.hp-card { background:#fff; border-radius:30px; padding:24px 22px; box-shadow:0 18px 40px rgba(42,36,64,0.16); }
.hp-card--soft { box-shadow:0 18px 40px rgba(42,36,64,0.10); }
.hp-card--deep { padding:26px 24px; box-shadow:0 18px 40px rgba(42,36,64,0.22); }
.hp-card--green { border:3px solid var(--green); }
.hp-card--mint { background:var(--green-bg); padding:26px 24px; box-shadow:0 18px 40px rgba(42,36,64,0.22); }
.hp-card--amber { background:var(--amber-bg); border-radius:26px; padding:22px; box-shadow:none; }
.hp-card__head { display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.hp-card__title { font-family:Fredoka, "Trebuchet MS", sans-serif; font-weight:600; font-size:clamp(20px, 5.6vw, 24px); color:var(--ink); }
.hp-card__who { font-weight:800; font-size:14px; color:var(--faint); }
.hp-card__big { font-family:Fredoka, "Trebuchet MS", sans-serif; font-weight:600; font-size:28px; line-height:1.16; color:var(--ink); margin:9px 0 0; }
.hp-card__text { font-weight:700; font-size:15.5px; line-height:1.42; color:var(--soft); margin:8px 0 0; }
.hp-with { display:flex; align-items:center; gap:13px; }
.hp-with > div { display:flex; flex-direction:column; gap:2px; min-width:0; }
.hp-with b { font-family:Fredoka, "Trebuchet MS", sans-serif; font-weight:600; font-size:22px; line-height:1.2; color:var(--ink); }
.hp-with small { font-weight:700; font-size:16px; line-height:1.3; color:#4E7A69; }
.hp-with .hp-kicker { margin:0 0 2px; }
.hp-mec .hp-cards { margin-bottom:0; }
.hp-pill { border-radius:100px; padding:8px 15px; font-weight:800; font-size:13px; white-space:nowrap; flex:none; }
.hp-pill--violet { background:#ECEEFF; color:#5B62D6; }
.hp-pill--zero { background:var(--green-bg); color:#1B9E6A; font-family:Fredoka, "Trebuchet MS", sans-serif; font-weight:600; font-size:20px; padding:8px 18px; }

.hp-rows { display:flex; flex-direction:column; gap:12px; margin:20px 0 0; padding:0; list-style:none; }
.hp-row { display:flex; align-items:center; gap:15px; background:var(--cream); border:1px solid #F4EEE4;
          border-radius:20px; padding:15px 18px; font-weight:700; font-size:20px; color:var(--ink); }
.hp-row--todo { color:var(--soft); }
.hp-unlock { background:var(--green-bg); border-radius:22px; padding:18px 20px; margin-top:16px; }

.hp-avatar { width:44px; height:44px; border-radius:50%; background:var(--amber-bg); display:flex;
             align-items:center; justify-content:center; flex:none; }
.hp-validate { background:var(--cream); border-radius:22px; padding:20px; margin-top:18px; }
.hp-validate b { display:block; font-family:Fredoka, "Trebuchet MS", sans-serif; font-weight:600; font-size:26px; color:var(--ink); }
.hp-validate small { display:block; font-weight:700; font-size:15px; color:#7A7388; margin-top:4px; }
.hp-btns { display:flex; gap:10px; margin-top:18px; }
.hp-btn { flex:1; display:flex; align-items:center; justify-content:center; gap:9px; background:var(--green);
          color:#fff; border-radius:100px; padding:15px 0; font-family:Fredoka, "Trebuchet MS", sans-serif; font-weight:600; font-size:21px; }
.hp-btn--x { flex:0 0 58px; background:#F1ECE3; }
.hp-chips { display:flex; flex-wrap:wrap; gap:10px; margin:14px 0 0; padding:0; list-style:none; }
.hp-chip { display:inline-flex; align-items:center; gap:9px; background:#fff; border:1px solid #F4EEE4;
           border-radius:100px; padding:11px 16px; font-weight:800; font-size:16px; color:var(--ink); }

.hp-steps { display:flex; flex-direction:column; gap:14px; margin:0; padding:0; list-style:none; counter-reset:hp; }
.hp-steps li { display:flex; gap:12px; align-items:flex-start; font-weight:700; font-size:15.5px; line-height:1.45; color:var(--soft); }
.hp-steps li::before { counter-increment:hp; content:counter(hp); flex:none; width:30px; height:30px; border-radius:50%;
                       background:var(--amber-bg); color:#C57A16; font-family:Fredoka, "Trebuchet MS", sans-serif; font-weight:600;
                       font-size:15px; display:flex; align-items:center; justify-content:center; }

.hp-repair { display:flex; align-items:center; gap:12px; background:var(--green-bg); border-radius:100px; padding:16px 22px;
             margin-top:20px; font-family:Fredoka, "Trebuchet MS", sans-serif; font-weight:600; font-size:21px; color:#1B6B4C; }
.hp-picks { display:flex; flex-direction:column; gap:11px; margin:18px 0 0; padding:0; list-style:none; }
.hp-pick { display:flex; align-items:center; gap:11px; background:var(--cream); border-radius:18px; padding:14px 16px;
           font-family:Fredoka, "Trebuchet MS", sans-serif; font-weight:600; font-size:17px; color:var(--ink); }
.hp-pick span { flex:1; }
.hp-pick i { font-style:normal; background:var(--green); color:#fff; font-size:15px; padding:9px 16px; border-radius:100px; }
.hp-days { display:grid; grid-template-columns:repeat(7, minmax(0, 1fr)); gap:6px; margin-top:18px; }
.hp-day { display:flex; flex-direction:column; align-items:center; gap:5px; padding:10px 0; border-radius:14px; background:#F1ECE3; }
.hp-day small { font-weight:800; font-size:11px; color:var(--faint); }
.hp-day b { font-family:Fredoka, "Trebuchet MS", sans-serif; font-weight:600; font-size:17px; color:var(--faint); }
.hp-day--mine { background:var(--green-bg); }
.hp-day--mine b { color:#1B9E6A; }
.hp-legend { display:flex; gap:20px; margin-top:16px; font-weight:700; font-size:14px; color:var(--soft); }
.hp-legend i { width:13px; height:13px; border-radius:5px; display:inline-block; margin-right:8px; vertical-align:-1px; }
.hp-inc { display:flex; flex-direction:column; gap:15px; margin:22px 0 0; padding:0; list-style:none; font-weight:700; font-size:17px; color:var(--ink); }
.hp-inc li { display:flex; align-items:center; gap:12px; }

/* ── Mécanique : trois zones, la carte à droite sur deux rangées ── */
.hp-mec { align-items:start; }
.hp-mec__foot { margin-top:4px; }

/* ── Vidéos : les deux affiches côte à côte, même sur téléphone ─── */
.hp-videos { padding-top:60px; }
.hp-videos h2 { text-align:center; font-size:clamp(30px, 3vw, 36px); margin:0 0 20px; }
.hp-videos .videos-duo { gap:16px; }
.hp-videos .videos-duo .video-cell { width:calc(50% - 8px); max-width:290px; }
.hp-videos .videos-duo figcaption { font-weight:700; font-size:14.5px; }

/* ── Deux maisons : encart clair ───────────────────────────────── */
.hp-duo { background:linear-gradient(135deg, var(--green-bg), #fff); border:1px solid var(--border);
          border-radius:26px; padding:24px 14px; display:grid; grid-template-columns:minmax(0, 1fr); gap:18px; align-items:center; }

/* ── L'essai et la fin de page ─────────────────────────────────── */
.hp-essay { max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:16px; }
.hp-essay h2 { font-size:clamp(27px, 3vw, 34px); margin:0; }
.hp-essay p { margin:0; font-size:16px; line-height:1.6; color:var(--soft); font-weight:600; }
.hp-essay .hp-baseline { font-family:Fredoka, "Trebuchet MS", sans-serif; font-weight:600; font-size:19px; color:var(--green-dark); }
.hp .card h3 { font-size:18px; line-height:1.25; }
.hp .card p { font-weight:600; }
.hp .faq summary { font-weight:800; }
.hp .faq details p, .hp .pledge, .hp footer { font-weight:600; }
.hp-tail { padding-top:0; }
.hp-tail section:first-child { margin-top:64px; }

/* ── Desktop ────────────────────────────────────────────────────── */
@media (min-width:900px) {
  .hp-in { padding:0 40px; }
  .hp-band { padding:64px 0 56px; }
  .hp-band + .hp-sec, .hp-band + .hp-videos { padding-top:200px; }
  .hp-sec { padding-top:110px; }
  .hp-grid { grid-template-columns:minmax(0, 1fr) 440px; gap:72px; }
  .hp-grid--wide { grid-template-columns:minmax(0, 1fr) 460px; }
  .hp-col { gap:22px; }
  .hp-cards { margin-bottom:0; position:relative; top:130px; }
  .hp-bubble { width:360px; font-size:27px; }
  .hp-lead { font-size:19px; }
  .hp-fine { font-size:14px; }
  .hp-sub { font-size:17px; line-height:1.5; }
  .hp-claim b { font-size:24px; }
  .hp-claim span { font-size:16px; }
  .hp-mec .hp-cards { grid-column:2; grid-row:1 / span 2; position:static; margin:0; }
  .hp-mec__foot { grid-column:1; }
  .hp-videos { padding-top:110px; }
  .hp-videos .videos-duo { gap:28px; }
  .hp-duo { grid-template-columns:minmax(0, 1fr) 440px; gap:56px; padding:48px; border-radius:30px; }
  .hp-essay p { font-size:17.5px; line-height:1.65; }
  .hp-essay .hp-baseline { font-size:22px; }
}
@media (max-width:359px) {
  .hp-in { padding:0 14px; }
  .hp-row { font-size:18px; }
  .hp-btn { font-size:19px; }
}

/* ── Page garde alternée (02/09) : jours « autre maison » cochés, grille 2×2 ─ */
.hp-day--other { background:#ECEEFF; }
.hp-day--other b { color:#5B62D6; }
.hp-duo__title { margin-bottom:4px; }
/* Une ligne de pied qui reste DANS la bande (carte courte) se lit en menthe, pas en gris. */
.hp-band--green .hp-foot--onband { color:#BDF0DA; }
/* Quand la fin de page (FAQ, pledge, footer) suit directement une bande, la carte
   qui déborde a besoin de la même place que devant une section. */
.hp-band + .hp-tail { padding-top:120px; }
@media (min-width:900px) {
  .hp-duo--four { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:18px 24px; align-items:stretch; }
  .hp-duo__title { grid-column:1 / -1; }
  .hp-band + .hp-tail { padding-top:90px; }
}

/* ── Guide (02/09) : hero sur l'arc, capture en carte, chapitres ──────── */
/* Captures d'écran d'origine, barre de statut comprise, sans liseré (le liseré
   blanc essayé le 02/09 n'a pas plu) : l'arrondi seul, comme les fiches stores. */
.hp-shot { width:min(300px, 100%); margin:0 auto; }
.hp-shot img { display:block; width:100%; height:auto; border-radius:30px; box-shadow:0 18px 40px rgba(42,36,64,0.22); }
.guide-chapter { margin:72px 0 0; display:flex; flex-direction:column; gap:6px; }
.guide-chapter h2 { font-size:clamp(28px, 3vw, 34px); margin:0; }
.guide-chapter p { margin:0; color:var(--soft); font-weight:600; max-width:64ch; }
.hp .guide-step { margin-top:34px; }
.hp .guide-step .txt p, .hp .guide-step .txt li { font-weight:600; }
.hp .guide-step .tip { font-weight:600; }
.hp .guide-step h3 .n { font-family:Fredoka, "Trebuchet MS", sans-serif; font-weight:600; }
.guide-end { margin-top:64px; background:var(--green-bg); border-radius:22px; padding:26px; text-align:center; font-weight:600; color:var(--soft); }
.guide-end b { display:block; font-family:Fredoka, "Trebuchet MS", sans-serif; font-weight:600; font-size:24px; color:var(--ink); margin-bottom:8px; }
.hp .guide-step a { color:var(--green-dark); font-weight:800; }
@media (max-width:560px) {
  .hp .guide-step { flex-direction:column; }   /* le titre de l'étape avant sa capture */
  .hp .guide-step .pic { margin-top:6px; }
}
/* Ligne de pied qui DÉBORDE sous une bande sombre : elle se lit sur le crème,
   pas sur la bande — la couleur claire de .hp-band--prune ne s'y applique pas. */
.hp-band--prune .hp-foot--offband { color:#7A7388; }
.hp-band--prune .hp-foot--offband a { color:var(--green-dark); font-weight:800; }

/* ── Familles fondatrices (09/09) : formulaires sur l'arc, préfixe fd- ─────── */
/* Bandeau d'entrée (tête de /garde-alternee/) : une carte-lien courte, jamais un bandeau collé. */
.fd-strip { display:flex; align-items:center; gap:12px; margin:10px 0 18px; padding:13px 16px;
            background:var(--green-bg); border:1px solid #CDEBD9; border-radius:18px;
            color:var(--ink); text-decoration:none; font-weight:700; font-size:15px; line-height:1.35; }
.fd-strip b { color:var(--green-dark); }
.fd-strip .hp-ico { color:var(--green-dark); }
.fd-strip span { flex:1; min-width:0; }
.fd-strip:hover { background:#D6F2E4; }
/* L'attribut hidden doit gagner sur les display:flex des blocs de formulaire. */
.hp [hidden] { display:none !important; }
/* La colonne de texte reste en haut de la bande quand la carte est haute (formulaire). */
.fd-grid--top { align-items:start; }
/* Sur téléphone, la carte du formulaire ne déborde pas dans la bande suivante (deux bandes se suivent). */
.fd-cards--flat { margin-bottom:0; }
/* Carte de formulaire : la même carte blanche que les composants de l'app. */
.fd-form { display:flex; flex-direction:column; gap:18px; }
.fd-q { display:flex; flex-direction:column; gap:9px; }
.fd-q > label, .fd-q > .fd-lab { font-weight:800; font-size:15.5px; color:var(--ink); }
.fd-q small { display:block; font-weight:600; font-size:13px; color:var(--faint); margin-top:2px; }
.fd-input { width:100%; box-sizing:border-box; border:1.5px solid var(--border); border-radius:16px; background:var(--cream);
            padding:14px 16px; font:inherit; font-weight:700; font-size:17px; color:var(--ink); outline:none; }
.fd-input:focus { border-color:var(--green); background:#fff; }
textarea.fd-input { min-height:96px; resize:vertical; line-height:1.45; }
.fd-chips { display:flex; flex-wrap:wrap; gap:9px; }
.fd-chip { border:1.5px solid var(--border); background:#fff; color:var(--soft); border-radius:100px;
           padding:12px 16px; font-weight:800; font-size:15.5px; cursor:pointer; user-select:none;
           transition:transform .06s; font-family:inherit; line-height:1.2; text-align:left; }
.fd-chip:active { transform:scale(.96); }
.fd-chip.on { background:var(--ink); border-color:var(--ink); color:#fff; }
.fd-chip.on.fd-chip--green { background:var(--green); border-color:var(--green); }
.fd-btn { display:flex; align-items:center; justify-content:center; gap:9px; width:100%; border:0; cursor:pointer;
          background:var(--green); color:#fff; border-radius:100px; padding:17px 22px;
          font-family:Fredoka, "Trebuchet MS", sans-serif; font-weight:600; font-size:21px; line-height:1.1;
          box-shadow:0 10px 24px rgba(34,196,138,0.28); transition:transform .06s; }
.fd-btn:hover { background:var(--green-dark); }
.fd-btn:active { transform:scale(.98); }
.fd-btn[disabled] { opacity:.45; cursor:default; box-shadow:none; }
.fd-btn--ghost { background:transparent; color:var(--soft); box-shadow:none; font-family:inherit; font-weight:800; font-size:16px; padding:12px; }
.fd-btn--ghost:hover { background:var(--cream-dark); color:var(--ink); }
.fd-nav { display:flex; gap:10px; align-items:center; margin-top:4px; }
.fd-nav .fd-back { flex:0 0 auto; width:56px; padding:14px 0; background:var(--cream-dark); color:var(--ink);
                   box-shadow:none; font-size:22px; }
.fd-nav .fd-back:hover { background:#EBE2D2; }
.fd-err { display:none; background:#FDEAE6; color:#C24A34; border-radius:16px; padding:13px 15px; font-size:14.5px; font-weight:700; line-height:1.4; }
.fd-err.on { display:block; }
.fd-rgpd { font-weight:600; font-size:12.5px; line-height:1.5; color:var(--faint); margin:0; }
.fd-rgpd a { color:var(--green-dark); font-weight:800; }
.fd-hidden { position:absolute; left:-5000px; width:1px; height:1px; overflow:hidden; }
.fd-done { display:flex; flex-direction:column; gap:12px; text-align:center; padding:8px 0; }
.fd-done .hp-card__big { font-size:27px; }
.fd-done p { margin:0; font-weight:700; font-size:16px; color:var(--soft); line-height:1.45; }
.fd-places { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,0.16); color:#fff;
             border-radius:100px; padding:8px 14px; font-weight:800; font-size:13.5px; letter-spacing:0.02em; }
.fd-no { display:flex; align-items:flex-start; gap:12px; font-weight:700; font-size:16.5px; line-height:1.35; color:var(--ink); }
.fd-no + .fd-no { margin-top:14px; }
/* Page de retour J+14 : une question par écran, mobile d'abord. */
.fd-page { width:100%; max-width:560px; margin:0 auto; padding:0 18px 40px; box-sizing:border-box; }
.fd-progress { display:flex; gap:5px; margin:14px 0 22px; }
.fd-progress i { flex:1; height:6px; border-radius:3px; background:var(--cream-dark); transition:background .25s; }
.fd-progress i.on { background:var(--green); }
.fd-screen { display:none; animation:fdpop .26s ease; }
.fd-screen.on { display:block; }
@keyframes fdpop { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
.fd-screen h1 { font-size:clamp(26px, 6.4vw, 32px); margin:0 0 8px; line-height:1.14; color:var(--ink); }
.fd-screen .fd-sub { margin:0 0 20px; font-weight:700; font-size:15.5px; line-height:1.45; color:var(--soft); }
.fd-known { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 18px; }
.fd-known span { background:var(--green-bg); color:var(--green-dark); border-radius:100px; padding:7px 13px; font-weight:800; font-size:13.5px; }
.fd-saved { font-weight:700; font-size:12.5px; color:var(--faint); text-align:center; margin:10px 0 0; min-height:16px; }
.fd-step-n { font-weight:800; font-size:13px; letter-spacing:0.08em; text-transform:uppercase; color:#C57A16; margin:0 0 6px; }
@media (min-width:900px) {
  .fd-strip { font-size:16px; padding:15px 20px; margin:14px 0 22px; }
  .fd-page { padding-top:6px; }
}
