/* Greenlud prototype · palette et polices de greenlud.fr */
@font-face{font-family:Fredoka;font-weight:600;font-display:swap;src:url(fonts/fredoka-600-latin.woff2) format("woff2")}
@font-face{font-family:Nunito;font-weight:400 800;font-display:swap;src:url(fonts/nunito-latin-var.woff2) format("woff2")}

:root{
  --menthe:#EEF8F1; --papier:#FFFFFF; --foret:#24533F; --foret-2:#173829;
  --feuille:#A8E6C1; --pousse:#6CC08B; --soleil:#FFE066; --soleil-doux:#FFF3BF;
  --ciel:#7FD3E6; --ciel-doux:#E3F5FA; --peche:#FFC9A8; --peche-doux:#FFEBDD; --joue:#F4A6B8; --joue-doux:#FDE7EC;
  --texte:#1E3A2E; --doux:#4E6B5D; --trait:#D5EADC;
  --r-l:26px; --r-m:18px; --r-s:12px;
  --tab-h:68px;
  color-scheme:light;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0;background:var(--menthe);color:var(--texte);font:16px/1.5 Nunito,ui-rounded,system-ui,sans-serif;-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}
a{color:inherit}
button{font:inherit;color:inherit}
h1,h2,h3,.fred{font-family:Fredoka,Nunito,ui-rounded,sans-serif;font-weight:600;letter-spacing:-.005em}
:focus-visible{outline:3px solid var(--foret);outline-offset:2px;border-radius:8px}
svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
[hidden]{display:none!important}

/* ---------- Scène : téléphone plein écran sur mobile, cadre sur ordinateur ---------- */
.stage{height:100%}
.presentation{display:none}
.telephone{height:100%}
.app{position:relative;height:100%;max-width:520px;margin:0 auto;background:var(--menthe);display:flex;flex-direction:column;overflow:hidden}
.vue{flex:1;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding-bottom:calc(var(--tab-h) + 24px + env(safe-area-inset-bottom));outline:none}

@media (min-width:900px){
  body{background:radial-gradient(circle at 20% 15%,#fff 0,transparent 40%),var(--menthe)}
  .stage{display:grid;grid-template-columns:minmax(300px,440px) auto;gap:72px;align-items:center;justify-content:center;min-height:100%;padding:40px}
  .presentation{display:block;max-width:440px}
  .presentation h1{font-size:44px;line-height:1.02;color:var(--foret);margin:14px 0 14px}
  .presentation h2{font-size:20px;color:var(--foret);margin:28px 0 8px}
  .pres-chapo{font-size:17.5px;margin:0;max-width:38ch}
  .pres-lulu{width:84px;height:auto;transform:rotate(-6deg)}
  .pres-etapes{margin:0;padding-left:22px}
  .pres-etapes li{margin:6px 0}
  .pres-liens{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px}
  .pres-liens a{display:inline-block;padding:7px 13px;border-radius:999px;background:#fff;border:2px solid var(--trait);text-decoration:none;font-weight:800;font-size:14.5px;color:var(--foret)}
  .pres-liens a:hover{border-color:var(--foret)}
  .pres-note{font-size:13px;color:var(--doux);margin-top:24px;max-width:46ch}
  .telephone{height:auto;width:390px;border-radius:52px;padding:12px;background:var(--foret-2);box-shadow:0 40px 80px -30px rgba(23,56,41,.55)}
  .app{height:min(844px,calc(100vh - 104px));border-radius:42px;max-width:none}
}

/* ---------- Barre d'onglets ---------- */
.onglets{position:absolute;left:0;right:0;bottom:0;z-index:20;height:calc(var(--tab-h) + env(safe-area-inset-bottom));padding:6px 8px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-top:1.5px solid var(--trait)}
.onglets a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-decoration:none;color:var(--doux);font-weight:800;font-size:11.5px;border-radius:14px}
.onglets a svg{width:24px;height:24px}
.onglets a[aria-current="page"]{color:var(--foret)}
.onglets a[aria-current="page"] svg{fill:var(--feuille)}
.app.sans-onglets .onglets{display:none}
.app.sans-onglets .vue{padding-bottom:24px}

/* ---------- En-têtes ---------- */
.tete{padding:18px 18px 6px;display:flex;align-items:center;gap:12px}
.tete h1{margin:0;font-size:27px;line-height:1.1;color:var(--foret)}
.tete .sous{display:flex;align-items:center;gap:4px;font-weight:800;font-size:13.5px;color:var(--doux);margin-top:2px}
.tete .sous svg{width:15px;height:15px}
.tete .droite{margin-left:auto;display:flex;gap:8px}
.rond{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff;border:2px solid var(--trait);text-decoration:none;cursor:pointer;color:var(--foret)}
.avatars{display:flex;text-decoration:none}
.avatars span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font:600 15px Fredoka,sans-serif;border:2.5px solid var(--menthe);margin-left:-8px}
.avatars span:first-child{margin-left:0}

/* ---------- Lulu parle (météo) ---------- */
.lulu-dit{margin:10px 18px 4px;display:grid;grid-template-columns:64px 1fr;gap:10px;align-items:end}
.lulu-dit img{width:64px;height:auto;margin-bottom:-4px}
.bulle{position:relative;background:#fff;border-radius:20px 20px 20px 6px;padding:12px 14px;border:2px solid var(--trait)}
.bulle::before{content:"";position:absolute;left:-9px;bottom:10px;width:14px;height:14px;background:#fff;border-left:2px solid var(--trait);border-bottom:2px solid var(--trait);transform:rotate(45deg) skew(10deg,10deg);border-radius:0 0 0 4px}
.bulle p{margin:0;font-weight:700;font-size:15px;line-height:1.4}
.bulle .meteo-ligne{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:800;color:var(--doux);margin-top:6px}
.bulle .meteo-ligne svg{width:18px;height:18px;color:#2B8EA8}
.jours{display:flex;gap:6px;margin:10px 18px 0;overflow-x:auto;scrollbar-width:none}
.jours::-webkit-scrollbar{display:none}
.jour{flex:none;min-width:58px;text-align:center;padding:7px 4px;border-radius:14px;background:rgba(255,255,255,.6);font-size:12px;font-weight:800;color:var(--doux)}
.jour svg{width:20px;height:20px;display:block;margin:2px auto}
.jour.pluie svg{color:#2B8EA8}.jour.sec svg{color:#E0A800}
.jour b{display:block;color:var(--texte);font-size:12.5px}
.jour.auj{background:var(--ciel-doux);color:var(--foret)}

/* ---------- Filtres ---------- */
.filtres{display:flex;gap:7px;padding:14px 18px 4px;overflow-x:auto;scrollbar-width:none}
.filtres::-webkit-scrollbar{display:none}
.puce{flex:none;display:inline-flex;align-items:center;gap:6px;border:2px solid var(--trait);background:#fff;color:var(--foret);font-weight:800;font-size:14px;padding:7px 12px;border-radius:999px;cursor:pointer;white-space:nowrap}
.puce svg{width:17px;height:17px}
.puce[aria-pressed="true"]{background:var(--foret);border-color:var(--foret);color:#fff}

/* ---------- Sections et fiches ---------- */
.section{padding:16px 18px 0}
.section > h2{font-size:19px;margin:0 0 2px;color:var(--foret)}
.section > .aide{margin:0 0 8px;font-size:13.5px;color:var(--doux);font-weight:700}
.liste{display:flex;flex-direction:column;gap:9px;margin-top:8px}
.ligne{display:grid;grid-template-columns:58px 1fr auto;gap:12px;align-items:center;background:#fff;border-radius:var(--r-m);padding:10px 10px 10px 10px;text-decoration:none;border:1.5px solid transparent}
.ligne:hover{border-color:var(--trait)}
.vignette{width:58px;height:58px;border-radius:16px;display:grid;place-items:center;color:var(--foret)}
.vignette svg{width:28px;height:28px}
.ligne h3{margin:0;font-size:15.5px;line-height:1.25;color:var(--foret-2)}
.ligne .meta{margin:2px 0 0;font-size:13px;line-height:1.35;color:var(--doux);font-weight:600}
.tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}
.tag{font-size:11.5px;font-weight:800;padding:2px 8px;border-radius:999px;background:var(--menthe);color:var(--foret);white-space:nowrap}
.tag.prix{background:var(--soleil-doux);color:#6A5200}
.tag.gratuit{background:var(--soleil);color:var(--foret-2)}
.tag.abri{background:var(--ciel-doux);color:#1D6577}
.tag.flou{background:#F2F4F3;color:#6B7D74}
.coeur{width:38px;height:38px;border-radius:50%;border:0;background:transparent;display:grid;place-items:center;cursor:pointer;color:var(--doux)}
.coeur[aria-pressed="true"]{color:#D4587A}
.coeur[aria-pressed="true"] svg{fill:var(--joue)}

/* Carte vedette : l'idée de Lulu */
.vedette{display:block;margin:12px 18px 0;background:var(--soleil);border-radius:var(--r-l);padding:16px 16px 14px;text-decoration:none;position:relative;overflow:hidden}
.vedette .autocollant{display:inline-block;background:#fff;color:var(--foret-2);font-weight:800;font-size:12.5px;padding:4px 10px;border-radius:999px;transform:rotate(-2deg)}
.vedette h3{font-size:22px;line-height:1.12;margin:10px 0 4px;color:var(--foret-2);max-width:24ch}
.vedette p{margin:0;font-size:14px;font-weight:700;color:#4A4200}
.vedette .tags .tag{background:rgba(255,255,255,.75)}
.vedette::after{content:"";position:absolute;right:-30px;top:-30px;width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.35)}

.defile{display:flex;gap:10px;overflow-x:auto;padding:8px 18px 4px;margin:0 -18px;scrollbar-width:none;scroll-snap-type:x mandatory;scroll-padding-inline:18px}
.defile::-webkit-scrollbar{display:none}
.carte-h{flex:none;width:228px;scroll-snap-align:start;background:#fff;border-radius:var(--r-m);padding:12px;text-decoration:none;display:flex;flex-direction:column;gap:6px}
.carte-h .date{font-weight:800;font-size:12.5px;color:var(--foret);background:var(--feuille);align-self:flex-start;padding:2px 9px;border-radius:999px}
.carte-h h3{margin:0;font-size:15px;line-height:1.25;color:var(--foret-2)}
.carte-h .meta{margin:0;font-size:12.5px;color:var(--doux);font-weight:700}
.vide{background:#fff;border-radius:var(--r-m);padding:22px 18px;text-align:center}
.vide img{width:70px}
.vide p{margin:6px 0 12px;font-weight:700}

/* ---------- Boutons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;font-weight:800;font-size:16px;padding:14px 20px;cursor:pointer;text-decoration:none;white-space:nowrap}
.btn svg{width:20px;height:20px}
.btn-plein{background:var(--foret);color:#fff;box-shadow:0 3px 0 var(--foret-2)}
.btn-plein:active{transform:translateY(2px);box-shadow:0 1px 0 var(--foret-2)}
.btn-clair{background:#fff;color:var(--foret);border:2px solid var(--trait)}
.btn-soleil{background:var(--soleil);color:var(--foret-2);box-shadow:0 3px 0 #D9B92E}
.btn-large{width:100%}
.btn-petit{padding:9px 14px;font-size:14px}

/* ---------- Fiche détail ---------- */
.fiche-carte{position:relative;height:230px;background:#E5EFE8;overflow:hidden}
.fiche-carte .barre{position:absolute;top:14px;left:14px;right:14px;display:flex;justify-content:space-between;z-index:3}
.fiche-carte .barre .rond{border:0;box-shadow:0 4px 14px rgba(23,56,41,.18)}
.plan{position:absolute;inset:0}
.plan img.tuile{position:absolute;width:256px;height:256px;max-width:none;user-select:none;filter:saturate(.75) brightness(1.03)}
.plan .schema{position:absolute;inset:0;background:
  linear-gradient(var(--trait) 1px,transparent 1px) 0 0/32px 32px,
  linear-gradient(90deg,var(--trait) 1px,transparent 1px) 0 0/32px 32px,#F3FAF5}
.plan .epingle{position:absolute;transform:translate(-50%,-100%);color:var(--foret);z-index:2}
.plan .epingle svg{width:40px;height:40px;fill:var(--soleil);stroke:var(--foret-2);stroke-width:1.6}
.plan .attrib{position:absolute;right:6px;bottom:4px;font-size:10px;background:rgba(255,255,255,.85);padding:1px 6px;border-radius:6px;z-index:2;color:var(--doux)}
.fiche-corps{position:relative;margin-top:-26px;background:var(--menthe);border-radius:26px 26px 0 0;padding:20px 18px 0;z-index:2}
.fiche-corps .type{display:inline-flex;align-items:center;gap:6px;font-weight:800;font-size:13px;color:var(--foret);padding:4px 10px;border-radius:999px}
.fiche-corps h1{font-size:27px;line-height:1.1;margin:10px 0 4px;color:var(--foret)}
.fiche-corps .lieu{font-weight:700;color:var(--doux);margin:0;font-size:14.5px}
.reperes{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0 0}
.repere{background:#fff;border-radius:16px;padding:10px 10px 11px}
.repere svg{width:20px;height:20px;color:var(--foret)}
.repere b{display:block;font-family:Fredoka,sans-serif;font-weight:600;font-size:16px;line-height:1.15;margin-top:4px;color:var(--foret-2)}
.repere span{display:block;font-size:12px;font-weight:700;color:var(--doux);line-height:1.3}
.bloc{background:#fff;border-radius:var(--r-m);padding:14px 16px;margin-top:12px}
.bloc h2{font-size:17px;margin:0 0 8px;color:var(--foret)}
.bloc p{margin:0;font-size:15px}
.sur-place{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin:0;padding:0;list-style:none}
.sur-place li{display:flex;gap:8px;align-items:flex-start;font-size:14px;line-height:1.3}
.sur-place li .pt{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;margin-top:-1px}
.sur-place li .pt svg{width:14px;height:14px;stroke-width:3}
.sur-place li.oui .pt{background:var(--feuille);color:var(--foret-2)}
.sur-place li.non .pt{background:var(--joue-doux);color:#A33A57}
.sur-place li.inconnu{color:#7A8C83}
.sur-place li.inconnu .pt{background:#F0F2F1;color:#9AA9A1}
.sur-place b{display:block;font-weight:800;color:var(--texte)}
.sur-place li.inconnu b{color:#7A8C83}
.jeux{display:flex;flex-wrap:wrap;gap:6px}
.jeux span{background:var(--menthe);border-radius:12px;padding:5px 10px;font-weight:800;font-size:13.5px;color:var(--foret)}
.a-verifier{display:flex;gap:10px;align-items:flex-start;background:var(--soleil-doux);border-radius:16px;padding:12px 14px;margin-top:12px;font-size:14px;font-weight:700}
.a-verifier svg{color:#8A6D00;margin-top:1px}
.actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.source{font-size:12.5px;color:var(--doux);margin:14px 2px 0;line-height:1.45}
.source a{color:var(--foret);font-weight:700}

/* ---------- Carte ---------- */
.carte-plein{position:relative;height:100%;min-height:520px}
.vue.vue-carte{padding-bottom:0;overflow:hidden}
.carte-plein .plan{inset:0}
.carte-plein .entete-carte{position:absolute;left:14px;right:14px;top:14px;z-index:4;display:flex;gap:8px;align-items:center}
.carte-plein .entete-carte h1{margin:0;font-size:20px;background:#fff;border-radius:999px;padding:8px 16px;color:var(--foret);box-shadow:0 4px 14px rgba(23,56,41,.16)}
.zoom{position:absolute;right:14px;top:70px;z-index:4;display:flex;flex-direction:column;gap:8px}
.zoom button{width:42px;height:42px;border-radius:14px;border:0;background:#fff;font:600 22px Fredoka,sans-serif;color:var(--foret);box-shadow:0 4px 14px rgba(23,56,41,.16);cursor:pointer}
.point{position:absolute;transform:translate(-50%,-50%);z-index:2;width:30px;height:30px;border-radius:50%;border:2.5px solid #fff;display:grid;place-items:center;box-shadow:0 3px 8px rgba(23,56,41,.3);cursor:pointer;padding:0;color:var(--foret-2)}
.point svg{width:16px;height:16px;stroke-width:2.4}
.point[aria-pressed="true"]{width:40px;height:40px;z-index:3;outline:3px solid var(--foret)}
.carte-plein .choix{position:absolute;left:12px;right:12px;bottom:calc(var(--tab-h) + 12px + env(safe-area-inset-bottom));z-index:4}
.carte-plein .choix .ligne{box-shadow:0 12px 30px -8px rgba(23,56,41,.35)}
.legende{position:absolute;left:14px;top:66px;z-index:4;display:flex;flex-direction:column;gap:5px}
.legende span{display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.92);border-radius:999px;padding:3px 10px 3px 4px;font-size:12px;font-weight:800;color:var(--foret)}
.legende i{width:16px;height:16px;border-radius:50%;border:2px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.2)}

/* ---------- Tribu ---------- */
.enfant{display:grid;grid-template-columns:62px 1fr auto;gap:12px;align-items:center;background:#fff;border-radius:var(--r-m);padding:12px}
.enfant .bouille{width:62px;height:62px;border-radius:20px;display:grid;place-items:center;font:600 28px Fredoka,sans-serif;color:var(--foret-2)}
.enfant h3{margin:0;font-size:19px;color:var(--foret-2)}
.enfant .age{font-weight:800;font-size:13.5px;color:var(--doux)}
.passions{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}
.passions span{font-size:12.5px;font-weight:800;padding:3px 9px;border-radius:999px;background:var(--menthe);color:var(--foret)}
.reglage{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;border-radius:var(--r-m);padding:13px 14px}
.reglage b{display:block;font-size:15px}
.reglage span{font-size:13px;color:var(--doux);font-weight:600}
.choix-budget{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:8px}
.choix-budget button{border:2px solid var(--trait);background:#fff;border-radius:14px;padding:10px 6px;font-weight:800;font-size:13.5px;color:var(--foret);cursor:pointer}
.choix-budget button[aria-pressed="true"]{background:var(--foret);color:#fff;border-color:var(--foret)}
.lien-pro{display:flex;align-items:center;gap:12px;background:var(--foret);color:#fff;border-radius:var(--r-m);padding:14px 16px;text-decoration:none;margin-top:12px}
.lien-pro svg{color:var(--feuille);width:28px;height:28px}
.lien-pro b{display:block;font-family:Fredoka,sans-serif;font-weight:600;font-size:17px}
.lien-pro span{font-size:13.5px;color:#CFE9DA;font-weight:600}

/* interrupteur */
.inter{position:relative;flex:none;width:50px;height:30px;border-radius:999px;background:#CBD9D0;border:0;cursor:pointer;transition:background .2s}
.inter::after{content:"";position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s}
.inter[aria-checked="true"]{background:var(--pousse)}
.inter[aria-checked="true"]::after{transform:translateX(20px)}

/* ---------- Alertes ---------- */
.notif-demo{background:var(--foret);color:#fff;border-radius:var(--r-l);padding:16px;margin:12px 18px 0;display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center}
.notif-demo b{font-family:Fredoka,sans-serif;font-weight:600;font-size:18px;display:block}
.notif-demo span{font-size:13.5px;color:#CFE9DA;font-weight:600;display:block;margin-top:2px}
.alerte{display:grid;grid-template-columns:44px 1fr;gap:12px;background:#fff;border-radius:var(--r-m);padding:12px;text-decoration:none}
.alerte .ic{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;color:var(--foret-2)}
.alerte .ic svg{width:22px;height:22px}
.alerte .quand{font-size:12px;font-weight:800;color:var(--doux)}
.alerte h3{margin:1px 0 2px;font-size:15.5px;line-height:1.25;color:var(--foret-2)}
.alerte p{margin:0;font-size:13.5px;color:var(--doux);font-weight:600;line-height:1.35}
.alerte.nouvelle{border-left:5px solid var(--pousse)}

/* ---------- Noter ---------- */
.noter{padding:22px 18px 0;text-align:center}
.noter h1{font-size:28px;line-height:1.1;margin:8px 0 4px;color:var(--foret)}
.noter .sortie{font-weight:700;color:var(--doux);margin:0 auto;max-width:30ch}
.qui{display:flex;justify-content:center;gap:10px;margin:18px 0 6px}
.qui button{border:3px solid transparent;background:#fff;border-radius:20px;padding:8px 14px 8px 8px;display:flex;align-items:center;gap:8px;font-weight:800;cursor:pointer;color:var(--foret-2)}
.qui button .bouille{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;font:600 17px Fredoka,sans-serif}
.qui button[aria-pressed="true"]{border-color:var(--foret)}
.frimousses{display:flex;justify-content:center;gap:6px;margin:16px 0 4px}
.frimousse{width:58px;height:58px;border-radius:50%;border:0;background:#fff;cursor:pointer;display:grid;place-items:center;padding:0;transition:transform .15s}
.frimousse svg{width:46px;height:46px;stroke-width:0}
.frimousse[aria-pressed="true"]{background:var(--soleil);transform:scale(1.14)}
.frimousse-legende{font:600 18px Fredoka,sans-serif;color:var(--foret);min-height:28px;margin:4px 0 10px}
.mots{display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin:4px 0 20px}
.bravo{padding:40px 22px;text-align:center}
.bravo img{width:130px;animation:saute .9s cubic-bezier(.3,1.6,.5,1) both}
.bravo h1{font-size:30px;color:var(--foret);margin:14px 0 6px}
@keyframes saute{0%{transform:translateY(40px) scale(.6) rotate(-10deg);opacity:0}100%{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.bravo img{animation:none}.frimousse,.inter,.inter::after{transition:none}}

/* ---------- Pros ---------- */
.pro-tete{background:var(--foret);color:#fff;padding:18px 18px 22px}
.pro-tete .rond{background:rgba(255,255,255,.12);border-color:transparent;color:#fff}
.pro-tete h1{font-size:26px;line-height:1.1;margin:14px 0 4px}
.pro-tete p{margin:0;color:#CFE9DA;font-weight:600;font-size:14.5px}
.chiffres{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:-14px 18px 0;position:relative}
.chiffre{background:#fff;border-radius:16px;padding:10px 10px 12px}
.chiffre b{display:block;font:600 26px/1.1 Fredoka,sans-serif;color:var(--foret)}
.chiffre span{font-size:12px;font-weight:700;color:var(--doux);line-height:1.25;display:block}
.form label{display:block;font-weight:800;font-size:14px;margin:12px 0 5px}
.form select,.form input,.form textarea{width:100%;border:2px solid var(--trait);border-radius:14px;padding:11px 12px;font:600 15px Nunito,sans-serif;color:var(--texte);background:#fff}
.form select:focus,.form input:focus,.form textarea:focus{outline:none;border-color:var(--foret)}
.etat-choix{display:flex;flex-wrap:wrap;gap:6px}

/* ---------- Bienvenue / installation ---------- */
.bienvenue{min-height:100%;display:flex;flex-direction:column;padding:26px 22px 24px;background:var(--soleil)}
.bienvenue .haut{text-align:center}
.bienvenue .icone-app{width:96px;height:96px;border-radius:24px;box-shadow:0 10px 24px -8px rgba(23,56,41,.45);transform:rotate(-4deg)}
.bienvenue h1{font-size:34px;line-height:1.02;margin:18px 0 8px;color:var(--foret-2)}
.bienvenue .chapo{font-weight:700;margin:0 auto;max-width:30ch;color:#4A4200}
.plateformes{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:rgba(255,255,255,.55);border-radius:999px;padding:4px;margin:22px 0 12px}
.plateformes button{border:0;background:transparent;border-radius:999px;padding:9px 4px;font-weight:800;font-size:14px;color:var(--foret-2);cursor:pointer}
.plateformes button[aria-pressed="true"]{background:#fff;box-shadow:0 2px 6px rgba(23,56,41,.12)}
.etapes{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;counter-reset:e}
.etapes li{counter-increment:e;display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:center;background:#fff;border-radius:18px;padding:12px 14px;font-weight:700;font-size:15px;line-height:1.35}
.etapes li::before{content:counter(e);width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--feuille);font:600 17px Fredoka,sans-serif;color:var(--foret-2)}
.etapes .k{display:inline-flex;align-items:center;gap:3px;background:var(--menthe);border-radius:8px;padding:1px 7px;font-weight:800;color:var(--foret);white-space:nowrap}
.etapes .k svg{width:16px;height:16px}
.avantages{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0 0}
.avantages div{background:rgba(255,255,255,.55);border-radius:16px;padding:10px 8px;text-align:center;font-size:12.5px;font-weight:800;color:var(--foret-2);line-height:1.25}
.avantages svg{display:block;margin:0 auto 4px;color:var(--foret)}
.bienvenue .bas{margin-top:auto;padding-top:18px;display:flex;flex-direction:column;gap:8px}
.lien-discret{background:none;border:0;font-weight:800;color:var(--foret-2);text-decoration:underline;cursor:pointer;padding:8px}

/* bandeau d'installation iOS / Android */
.bandeau-install{position:absolute;left:10px;right:10px;bottom:calc(var(--tab-h) + 10px + env(safe-area-inset-bottom));z-index:25;background:var(--foret-2);color:#fff;border-radius:20px;padding:12px 12px 12px 12px;display:grid;grid-template-columns:44px 1fr auto;gap:10px;align-items:center;box-shadow:0 16px 36px -10px rgba(0,0,0,.45)}
.bandeau-install img{width:44px;height:44px;border-radius:11px}
.bandeau-install b{display:block;font-family:Fredoka,sans-serif;font-weight:600;font-size:16px}
.bandeau-install span{font-size:13px;color:#CFE9DA;font-weight:600;line-height:1.35;display:block}
.bandeau-install .k{display:inline-flex;vertical-align:-3px;color:#fff}
.bandeau-install .k svg{width:17px;height:17px}
.bandeau-install .fermer{background:transparent;border:0;color:#CFE9DA;cursor:pointer;width:34px;height:34px;display:grid;place-items:center}
.bandeau-install.ios::after{content:"";position:absolute;left:50%;bottom:-8px;margin-left:-8px;width:16px;height:16px;background:var(--foret-2);transform:rotate(45deg);border-radius:3px}
.app.sans-onglets .bandeau-install{bottom:calc(14px + env(safe-area-inset-bottom))}

/* feuille (bottom sheet) */
.feuille{position:absolute;inset:0;z-index:40;background:rgba(23,56,41,.35);display:flex;align-items:flex-end}
.feuille .panneau{width:100%;background:var(--menthe);border-radius:26px 26px 0 0;padding:10px 18px calc(20px + env(safe-area-inset-bottom));max-height:86%;overflow:auto}
.feuille .poignee{width:44px;height:5px;border-radius:3px;background:#BFD6C8;margin:0 auto 12px}
.feuille h2{margin:0 0 4px;font-size:21px;color:var(--foret)}
.feuille h3{margin:16px 0 8px;font-size:15px;color:var(--foret)}
.feuille .grille{display:flex;flex-wrap:wrap;gap:7px}

.toast{position:absolute;left:50%;top:14px;transform:translate(-50%,-160%);visibility:hidden;z-index:60;background:var(--foret-2);color:#fff;font-weight:800;font-size:14px;padding:10px 16px;border-radius:999px;transition:transform .25s;max-width:90%;text-align:center}
.toast.on{transform:translate(-50%,0);visibility:visible}
.hors-ligne{display:flex;align-items:center;gap:8px;margin:8px 18px 0;background:var(--peche-doux);border-radius:14px;padding:8px 12px;font-size:13px;font-weight:800;color:#8A4A1F}
.pied{margin:22px 18px 0;font-size:12px;color:var(--doux);text-align:center;line-height:1.5}
.pied.attribution{margin-top:8px;font-size:11px}
.pied a{color:inherit;text-decoration:underline}
.vedette > *{position:relative;z-index:1}
