/* Page d'accueil v2 : chaleureuse, soignée, ludique. Polices système uniquement (rien de chargé depuis l'extérieur). */
:root {
  --ink: #1d2433; --soft: #5b6475; --line: #ece4d8; --cream: #fbf7f1; --paper: #ffffff;
  --teal: #0f766e; --teal-dark: #0b5a54; --coral: #ff6b4a; --sun: #ffc14d; --sky: #dff1f7; --mint: #def5ea; --peach: #ffe6dc;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.55; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
body:not(.phase2) [data-phase2], body.phase2 [data-phase1] { display: none !important; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--serif); letter-spacing: -.01em; line-height: 1.15; margin: 0; }
.wrap { width: min(1120px, 100% - 2.5rem); margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.muted { color: var(--soft); }

/* Boutons */
.btn { font: inherit; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.35em; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; background: var(--ink); color: #fff; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(29,36,51,.18); }
.btn:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.btn-coral { background: var(--coral); }
.btn-light { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); }
.btn-sm { padding: .55em 1em; font-size: .9rem; }
.btn[disabled] { opacity: .6; cursor: default; transform: none; box-shadow: none; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--cream) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-color: var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 0; }
.logo { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.logo span { color: var(--teal); }
.top nav { display: flex; align-items: center; gap: 1.4rem; }
.top nav a.link { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.top nav a.link:hover { color: var(--teal); }
@media (max-width: 820px) { .top nav a.link { display: none; } }

/* Hero */
.hero { padding: 3.5rem 0 4rem; position: relative; overflow: hidden; overflow: clip; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); margin: 1rem 0 1.1rem; min-height: 2.3em; transition: opacity .5s ease, transform .5s cubic-bezier(.5,0,.2,1); }
/* Changement de slogan : l'ancien glisse vers la gauche, le nouveau arrive par la droite */
.hero h1.slide-out { opacity: 0; transform: translateX(-60px); }
.hero h1.slide-in { opacity: 0; transform: translateX(60px); transition: none; }
.hero .wrap > div:first-child { min-width: 0; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--sun) 62%); padding: 0 .1em; }
.hero .lead { font-size: 1.2rem; color: var(--soft); max-width: 34rem; margin: 0 0 1.8rem; }
.hero .ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.trust { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1.6rem; font-size: .92rem; color: var(--soft); }
.trust span { display: inline-flex; align-items: center; gap: .35rem; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; }
.blob.a { width: 420px; height: 420px; background: var(--mint); right: -80px; top: -60px; }
.blob.b { width: 220px; height: 220px; background: var(--peach); right: 34%; bottom: -60px; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 2rem; } }

/* Téléphone interactif */
.playground { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.phone { width: 300px; height: 600px; border-radius: 44px; background: #11151f; padding: 11px; box-shadow: 0 30px 60px rgba(29,36,51,.25), inset 0 0 0 2px #2a3140; position: relative; }
.phone::before { content: ''; position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 90px; height: 24px; border-radius: 99px; background: #11151f; z-index: 3; }
.screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--g-bg); color: var(--g-ink); font-family: var(--g-font); position: relative; transition: background .35s, color .35s; }
.g-hero { height: 165px; padding: 1rem; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: linear-gradient(140deg, var(--g-accent), var(--g-end)); border-radius: 0 0 22px 22px; transition: background .35s; position: relative; }
.g-hero h4 { margin: 0; font-family: var(--g-head); font-size: 1.35rem; text-transform: var(--g-tt); }
.g-hero small { opacity: .9; font-size: .78rem; }
.g-lang { position: absolute; top: 2.2rem; right: .8rem; display: flex; gap: 2px; background: rgba(0,0,0,.25); padding: 2px; border-radius: 99px; }
.g-lang button { font: 700 .66rem var(--sans); color: #fff; background: transparent; border: 0; border-radius: 99px; padding: .25em .55em; cursor: pointer; }
.g-lang button.on { background: #fff; color: #1f2937; }
.g-body { padding: .7rem; }
.g-wifi { background: var(--g-accent); color: var(--g-on); border-radius: var(--g-r); padding: .6rem .75rem; display: flex; justify-content: space-between; align-items: center; font-size: .78rem; transition: background .35s; }
.g-wifi b { display: block; font-size: .92rem; }
.g-wifi button { font: 700 .7rem var(--sans); background: rgba(255,255,255,.22); color: inherit; border: 1px solid rgba(255,255,255,.4); border-radius: 10px; padding: .35em .7em; cursor: pointer; }
.g-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; margin-top: .55rem; }
.g-tile { background: var(--g-card); border: 1px solid var(--g-border); border-radius: var(--g-r); padding: .55rem .2rem; text-align: center; font: 600 .66rem var(--g-font); color: var(--g-ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .2rem; min-height: 64px; justify-content: center; box-shadow: var(--g-shadow); transition: transform .12s, background .35s; }
.g-tile span { font-size: 1.25rem; line-height: 1; }
.g-tile:hover { transform: scale(1.05); }
.g-tile.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--g-accent) 55%, transparent); } 50% { box-shadow: 0 0 0 6px transparent; } }
.g-sheet { position: absolute; inset: auto 0 0 0; height: 70%; background: var(--g-card); color: var(--g-ink); border-radius: 22px 22px 0 0; padding: 1rem; box-shadow: 0 -10px 30px rgba(0,0,0,.18); transform: translateY(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1); font-size: .82rem; z-index: 2; }
.g-sheet.open { transform: none; }
.g-sheet h5 { margin: 0 0 .6rem; font: 700 1.05rem var(--g-head); display: flex; justify-content: space-between; align-items: center; }
.g-sheet h5 button { border: 0; background: var(--g-bg); color: var(--g-ink); width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
.g-sheet .row { display: flex; justify-content: space-between; padding: .45rem 0; border-bottom: 1px solid var(--g-border); }
.g-sheet .quote { font-style: italic; background: var(--g-bg); border-radius: 12px; padding: .6rem .7rem; margin-bottom: .5rem; }
.theme-dots { display: flex; gap: .55rem; align-items: center; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .7rem; box-shadow: 0 6px 18px rgba(29,36,51,.06); }
.theme-dots small { font-weight: 700; color: var(--soft); margin-right: .2rem; }
.theme-dots button { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--line); cursor: pointer; transition: transform .15s; }
.theme-dots button:hover { transform: scale(1.15); }
.theme-dots button[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--ink); }
.hint { font-size: .85rem; color: var(--soft); display: flex; align-items: center; gap: .4rem; }
.hint::before { content: '👆'; animation: bob 1.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }

/* Sections */
section.block { padding: 4.5rem 0; }
.sec-head { text-align: center; max-width: 42rem; margin: 0 auto 2.6rem; }
.sec-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: .6rem 0 .7rem; }
.sec-head p { color: var(--soft); font-size: 1.08rem; margin: 0; }

/* 3 étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; counter-reset: step; }
.step { background: var(--paper); border: 1.5px solid var(--line); border-radius: 26px; padding: 1.5rem; position: relative; transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 16px 30px rgba(29,36,51,.08); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -16px; left: 1.4rem; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 1rem var(--round); display: grid; place-items: center; }
.step h3 { font-size: 1.3rem; margin: .6rem 0 .4rem; }
.step p { margin: 0 0 1rem; color: var(--soft); }
.step .time { display: inline-block; font-weight: 700; font-size: .8rem; background: var(--mint); color: var(--teal-dark); border-radius: 99px; padding: .2em .7em; }
.demo-box { background: var(--cream); border-radius: 16px; padding: .8rem; margin-bottom: 1rem; min-height: 112px; font-size: .88rem; }
.fake-input { background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: .45rem .6rem; margin-top: .3rem; font-family: ui-monospace, Menlo, monospace; min-height: 2.1em; }
.fake-input .caret { display: inline-block; width: 2px; height: 1em; background: var(--teal); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.swatches { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .4rem; }
.swatches i { width: 34px; height: 46px; border-radius: 9px; display: block; transition: transform .2s; }
.swatches i.on { transform: translateY(-5px) scale(1.08); box-shadow: 0 6px 14px rgba(0,0,0,.15); }
.qr-mini { display: grid; grid-template-columns: repeat(11, 1fr); gap: 2px; width: 92px; padding: 7px; background: #fff; border-radius: 10px; margin: 0 auto; }
.qr-mini i { aspect-ratio: 1; background: var(--ink); border-radius: 1px; }
.qr-mini i.o { background: transparent; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; gap: 2rem; } }

/* Fonctions */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.feat { background: var(--paper); border-radius: 22px; padding: 1.4rem; border: 1.5px solid var(--line); }
.feat .ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: .8rem; }
.feat h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.feat p { margin: 0; color: var(--soft); font-size: .95rem; }
.c1 { background: var(--sky); } .c2 { background: var(--peach); } .c3 { background: var(--mint); } .c4 { background: #fff2cc; } .c5 { background: #efe7ff; } .c6 { background: #ffe1ea; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Bandeau voyageurs */
.band { background: var(--ink); color: #fff; border-radius: 34px; padding: 2.6rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.band p { color: #c9cfdb; margin: .7rem 0 0; }
.langs { display: flex; flex-wrap: wrap; gap: .45rem; max-width: 330px; justify-content: flex-end; }
.langs span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 99px; padding: .35em .8em; font-weight: 600; font-size: .9rem; }
@media (max-width: 800px) { .band { grid-template-columns: 1fr; } .langs { justify-content: flex-start; } }

/* Tarifs */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; align-items: stretch; }
.plan { background: var(--paper); border: 1.5px solid var(--line); border-radius: 26px; padding: 1.6rem; display: flex; flex-direction: column; }
.plan.star { border: 2.5px solid var(--ink); position: relative; }
.plan.star .tag { position: absolute; top: -14px; right: 1.2rem; background: var(--sun); color: var(--ink); font-weight: 800; font-size: .8rem; padding: .3em .8em; border-radius: 99px; }
.plan .price { font: 700 2.4rem var(--serif); margin: .5rem 0 .2rem; }
.plan .price small { font: 500 .95rem var(--sans); color: var(--soft); }
.plan ul { list-style: none; padding: 0; margin: 1rem 0 1.4rem; flex: 1; }
.plan li { padding: .3rem 0 .3rem 1.6rem; position: relative; font-size: .95rem; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; padding: 1rem 1.2rem; margin-bottom: .7rem; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .7rem 0 0; color: var(--soft); }

/* Inscription / connexion */
.join { display: grid; grid-template-columns: 1fr 420px; gap: 3rem; align-items: center; }
.join h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: .6rem 0 1rem; }
.join ul { padding: 0; list-style: none; margin: 0; }
.join li { padding: .35rem 0; font-size: 1.05rem; }
.auth { background: var(--paper); border-radius: 28px; padding: 1.6rem; border: 1.5px solid var(--line); box-shadow: 0 20px 40px rgba(29,36,51,.08); }
.auth .tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); border-radius: 99px; padding: 4px; margin-bottom: 1.2rem; }
.auth .tabs button { font: 700 .95rem var(--sans); border: 0; background: transparent; padding: .6em; border-radius: 99px; cursor: pointer; color: var(--soft); }
.auth .tabs button.on { background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.auth label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .8rem; }
.auth input, .auth select { display: block; width: 100%; margin-top: .3rem; font: inherit; font-weight: 400; padding: .75em .9em; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; }
.auth input:focus, .auth select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 20%, transparent); }
.auth .btn { width: 100%; margin-top: .3rem; }
.auth .error { color: #b91c1c; font-size: .9rem; min-height: 1em; margin: .2rem 0; }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-bottom: .9rem; }
.role-pick label { margin: 0; border: 1.5px solid var(--line); border-radius: 14px; padding: .6rem; font-size: .85rem; cursor: pointer; display: flex; gap: .4rem; align-items: center; }
.role-pick input { width: auto; margin: 0; }
.role-pick label:has(input:checked) { border-color: var(--teal); background: color-mix(in srgb, var(--teal) 7%, white); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (max-width: 900px) { .join { grid-template-columns: 1fr; } }

/* Commerçants (phase 2) */
.merchant { background: var(--peach); border-radius: 30px; padding: 2.2rem; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.merchant h2 { font-size: 1.6rem; max-width: 36rem; }

footer { padding: 2.5rem 0 3rem; text-align: center; color: var(--soft); font-size: .9rem; }

/* Apparitions au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Les ancres ne passent pas sous l’en-tête fixe */
section[id], #essayer { scroll-margin-top: 80px; }

/* Logo */
.logo { display: inline-flex; align-items: center; }
.logo-mark { height: 1.45em; width: auto; margin-right: .35rem; }

/* Encadré « Une question ? » */
.contact-box { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.5rem; align-items: start; background: linear-gradient(135deg, var(--mint), var(--sky)); border: 2px solid var(--teal); border-radius: 32px; padding: 2.2rem; box-shadow: 0 20px 40px rgba(15,118,110,.12); }
.contact-intro h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: .6rem 0 .8rem; }
.contact-intro p { color: var(--soft); margin: 0 0 1rem; }
.contact-intro ul { list-style: none; padding: 0; margin: 0; }
.contact-intro li { padding: .3rem 0; }
#contact-form, .contact-ok { background: var(--paper); border-radius: 24px; padding: 1.4rem; border: 1.5px solid var(--line); }
#contact-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .8rem; }
#contact-form input, #contact-form select, #contact-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: .3rem; font: inherit; font-weight: 400; padding: .7em .9em; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; resize: vertical; }
#contact-form input:focus, #contact-form select:focus, #contact-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 20%, transparent); }
#contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
#contact-form .btn { width: 100%; }
#contact-form .error { color: #b91c1c; font-size: .9rem; min-height: 1em; margin: .2rem 0; }
#contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-ok { text-align: center; padding: 2.5rem 1.4rem; }
.contact-ok .big { font-size: 3rem; }
.contact-ok h3 { margin: .5rem 0; }
.contact-ok p { color: var(--soft); margin: 0; }
@media (max-width: 900px) { .contact-box { grid-template-columns: 1fr; padding: 1.4rem; } }
@media (max-width: 520px) { #contact-form .row2 { grid-template-columns: 1fr; } }

/* Tarifs : prix par type d'hébergement */
.plan-alt { margin: -.3rem 0 .8rem; color: var(--soft); font-size: .92rem; }
.plan-prices { list-style: none; padding: 0; margin: .2rem 0 1.2rem; display: grid; gap: .65rem; }
.plan-prices li { display: grid; grid-template-columns: 1fr auto; gap: 0 .6rem; padding: 0 0 .6rem; border-bottom: 1px dashed var(--line); }
.plan-prices li:last-child { border-bottom: 0; padding-bottom: 0; }
.plan-prices li::before { content: none !important; }
.plan-prices b { text-align: right; white-space: nowrap; }
.plan-prices small { grid-column: 1 / -1; color: var(--soft); font-size: .82rem; }
.price-note { text-align: center; color: var(--soft); font-size: .88rem; margin: 1.4rem auto 0; max-width: 46rem; }

/* ---------- Guide d'essai : « Créez votre guide en 30 secondes » ---------- */
.builder { margin-top: 1.4rem; background: var(--paper); border: 2px solid var(--teal); border-radius: 22px; padding: 1.1rem 1.2rem 1.2rem; box-shadow: 0 14px 34px rgba(15,118,110,.12); }
.b-head { display: flex; flex-direction: column; gap: .1rem; margin-bottom: .8rem; }
.b-head b { font-size: 1.05rem; }
.b-head small { color: var(--soft); }
.b-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem .8rem; margin-bottom: .9rem; }
.b-grid label { display: grid; gap: .25rem; font-size: .82rem; font-weight: 700; color: var(--soft); }
.b-grid input, .b-grid select { font: inherit; font-weight: 500; color: var(--ink); padding: .6em .8em; border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream); min-width: 0; }
.b-grid input:focus, .b-grid select:focus { outline: none; border-color: var(--teal); background: #fff; }
.builder .btn { width: 100%; }
.shake { animation: shake .4s; border-color: var(--coral) !important; }
@keyframes shake { 25% { translate: -6px 0; } 50% { translate: 6px 0; } 75% { translate: -3px 0; } }
@media (max-width: 520px) { .b-grid { grid-template-columns: 1fr; } }

.g-lang { flex-wrap: wrap; justify-content: flex-end; max-width: 220px; }
.g-lang button { padding: .25em .42em; font-size: .6rem; }
.g-made { display: block; text-align: center; margin-top: .8rem; font-size: .68rem; color: var(--g-ink); opacity: .7; text-decoration: none; }
.g-made:hover { opacity: 1; }
.g-sheet { overflow-y: auto; }
.g-sheet p { font-size: .82rem; margin: .5rem 0; }
.g-sheet .code { font-size: 1.15rem; letter-spacing: .15em; color: var(--g-accent); animation: pop .4s; }
.g-sheet .ok { background: color-mix(in srgb, var(--g-accent) 14%, transparent); border-radius: 10px; padding: .45rem .6rem; font-weight: 600; }
.g-btn { font: 700 .74rem var(--sans); background: var(--g-accent); color: var(--g-on); border: 0; border-radius: 99px; padding: .55em 1em; cursor: pointer; margin: .5rem 0; }
.g-btn.sm { margin: 0; padding: .45em .8em; flex-shrink: 0; }
.g-btn:disabled { opacity: .6; cursor: default; }
.g-sheet .svc { align-items: center; gap: .5rem; font-size: .8rem; }
.g-sheet .svc small { display: block; opacity: .7; }
.gb-form { display: flex; gap: .4rem; margin-bottom: .6rem; }
.gb-form input { flex: 1; min-width: 0; font: .8rem var(--g-font); padding: .5em .7em; border: 1px solid var(--g-border); border-radius: 99px; background: var(--g-bg); color: var(--g-ink); }
.g-sheet .quote { font-size: .8rem; }
.g-sheet .quote.new { animation: pop .4s; outline: 2px solid var(--g-accent); }
.g-toast { position: absolute; left: 50%; bottom: 1.2rem; translate: -50% 20px; opacity: 0; background: #1d2433; color: #fff; font: 600 .74rem var(--sans); padding: .6em 1em; border-radius: 99px; white-space: nowrap; transition: .3s; z-index: 5; pointer-events: none; }
.g-toast.show { opacity: 1; translate: -50% 0; }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }

.qr-try { font: 700 .9rem var(--sans); background: var(--paper); color: var(--ink); border: 1.5px dashed var(--teal); border-radius: 99px; padding: .65em 1.2em; cursor: pointer; }
.qr-try:hover { background: var(--mint); }
.qr-pop { display: flex; flex-direction: column; align-items: center; gap: .5rem; background: var(--paper); border: 1.5px solid var(--line); border-radius: 20px; padding: 1rem; max-width: 260px; text-align: center; box-shadow: 0 10px 30px rgba(29,36,51,.1); animation: pop .3s; }
.qr-pop[hidden] { display: none; }
.qr-pop small { color: var(--soft); }
.draft-note { background: var(--mint); border-radius: 12px; padding: .6rem .8rem; margin: 0 0 .9rem; font-weight: 600; font-size: .9rem; }

/* Page /essai : le guide seul, en plein écran sur le téléphone */
body.solo { background: #11151f; }
body.solo .top, body.solo footer, body.solo main > :not(.hero), body.solo .blob,
body.solo .hero .wrap > :not(.playground), body.solo .playground > :not(.phone) { display: none !important; }
body.solo .hero { padding: 0; min-height: 0; }
body.solo .hero .wrap { display: block; max-width: none; padding: 0; }
body.solo .phone { width: 100vw; height: 100dvh; border-radius: 0; padding: 0; box-shadow: none; }
body.solo .phone::before { display: none; }
body.solo .screen { border-radius: 0; }
body.solo .g-hero { height: 200px; }
body.solo .g-tile { padding: 1rem .3rem; font-size: .8rem; }
body.solo .g-tile span { font-size: 1.7rem; }
@media (min-width: 600px) { body.solo .phone { width: 420px; margin: 0 auto; } }
.b-import { display: flex; gap: .5rem; }
.b-import input { flex: 1; min-width: 0; font: inherit; padding: .6em .9em; border: 1.5px dashed var(--teal); border-radius: 99px; background: var(--mint); color: var(--ink); }
.b-import input:focus { outline: none; border-style: solid; background: #fff; }
.b-import .btn { flex-shrink: 0; }
.b-msg { margin: .45rem .2rem .7rem; font-size: .84rem; min-height: 0; color: var(--soft); }
.b-msg:empty { display: none; }
.b-msg.ok { color: var(--teal-dark); font-weight: 600; }
.b-msg.err { color: #b42318; font-weight: 600; }
.builder .b-import .btn { width: auto; padding: .6em 1.1em; }
.b-help { margin: .4rem .3rem 0; font-size: .8rem; color: var(--soft); }
.b-signup { margin-top: .4rem; padding-top: .9rem; border-top: 1.5px dashed var(--line); animation: pop .35s; }
.b-signup[hidden] { display: none; }
.b-ready { margin: 0 0 .7rem; font-size: .92rem; }
.b-fine { display: block; text-align: center; color: var(--soft); margin-top: .45rem; font-size: .78rem; }
.b-city { position: relative; }
.b-suggest { position: absolute; z-index: 30; top: 100%; left: 0; right: 0; margin: .25rem 0 0; padding: .3rem; list-style: none; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; box-shadow: 0 14px 30px rgba(29,36,51,.14); max-height: 240px; overflow-y: auto; }
.b-suggest[hidden] { display: none; }
.b-suggest li { padding: .5em .7em; border-radius: 10px; cursor: pointer; color: var(--ink); font-weight: 600; font-size: .92rem; display: flex; justify-content: space-between; gap: .5rem; }
.b-suggest li small { color: var(--soft); font-weight: 500; }
.b-suggest li:hover, .b-suggest li[aria-selected="true"] { background: var(--mint); }
.lang-pick { display: flex; gap: 2px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 99px; padding: 2px; }
.lang-pick button { font: 700 .74rem var(--sans); color: var(--soft); background: transparent; border: 0; border-radius: 99px; padding: .35em .6em; cursor: pointer; }
.lang-pick button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (max-width: 520px) { .top nav { gap: .5rem; } .lang-pick button { padding: .3em .45em; } }
@media (max-width: 560px) { #top-cta { display: none; } }
.top nav .btn { white-space: nowrap; }
