/* GUISA’O V5 — interface à table, lisibilité + navigation non chevauchante */
:root{--touch:48px;--accessible-font:16px;--v5-soft:#f7f2e8;--v5-gold:#b89b70;--nav-clearance:116px}
html{overflow-x:hidden;scroll-padding-bottom:125px}
body{font-size:var(--accessible-font);overflow-x:hidden}
.app-shell{display:flex;flex-direction:column;min-height:100dvh;padding-bottom:calc(var(--nav-clearance) + env(safe-area-inset-bottom,0px))}
.app-shell.is-home{padding-bottom:22px}
.app-shell.is-home .bottom-nav{display:none!important}
.main-stage{flex:1;min-height:0;position:relative}
.view.is-active{padding-bottom:2px}
.app-shell:not(.is-home) .view.is-active{padding-bottom:22px}
.app-shell:not(.is-home) .experience-page{padding-bottom:calc(25px + env(safe-area-inset-bottom,0px))}
.bottom-nav{bottom:calc(12px + env(safe-area-inset-bottom,0px));height:78px;box-shadow:0 10px 32px rgba(19,31,25,.15);isolation:isolate}
.tab{min-height:60px;gap:4px}
.tab span{font-size:12px!important;letter-spacing:0}
.tab .ico{height:22px;width:22px}
.topbar{height:74px;flex-shrink:0}
.top-more{font-size:14px;min-height:48px;padding:12px 17px}
.brand-caption{font-size:10px;letter-spacing:.09em}
/* Home: one deliberate, tactile choice — not a landing page plus duplicate bar */
.home-layout{grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);gap:clamp(18px,3.5vw,43px);align-items:stretch}
.hero-card{min-height:575px;border-radius:29px;box-shadow:0 17px 48px rgba(30,40,28,.08)}
.hero-photo{background-position:54% center;animation:heroArrival 1.4s cubic-bezier(.2,.9,.2,1) both}
.hero-overlay{background:linear-gradient(0deg,rgba(8,28,19,.89),rgba(8,28,19,.08) 70%),linear-gradient(90deg,rgba(8,28,19,.35),transparent 80%)}
.hero-eyebrow{font-size:12px;letter-spacing:.12em;color:#ecdfcb}
.hero-eyebrow span{font-size:19px;line-height:0;margin:0 3px}
.hero-content h1{font-size:clamp(48px,5.2vw,78px);line-height:1.06;max-width:640px;margin:14px 0 15px}
.hero-content p{font-size:16px;max-width:385px;line-height:1.6}
.home-heading{margin-bottom:17px}
.home-heading h2{font-size:clamp(32px,3.1vw,46px);line-height:1.12;margin:7px 0 0}
.kicker{font-size:12px!important;letter-spacing:.13em}
.home-actions{padding-top:10px}
.tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;flex:1}
.experience-tile{border:1px solid rgba(255,255,255,.2);min-height:202px;padding:clamp(17px,2.2vw,22px);border-radius:22px;transition:transform .3s var(--ease),box-shadow .3s var(--ease),filter .3s var(--ease);box-shadow:0 3px 7px rgba(16,32,24,.02)}
.experience-tile::before{opacity:1;background:radial-gradient(circle at 100% 8%,rgba(255,255,255,.14),transparent 52%)}
.experience-tile::after{content:'';position:absolute;inset:auto -20% -90% 10%;height:100%;border:1px solid currentColor;border-radius:50%;opacity:.075;pointer-events:none;transform:rotate(-22deg);transition:transform .6s}
.experience-tile:hover::after{transform:rotate(0deg) translateY(-12px)}
.experience-tile:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(20,38,30,.1)}
.experience-tile:active{transform:scale(.98)}
.tile-wine{background:linear-gradient(142deg,#203f32,#18352a);color:#fff9eb}
.tile-story{background:linear-gradient(135deg,#eee1cc,#d9c6a5);color:#44382e}
.tile-kids{background:linear-gradient(145deg,#eed4bc,#dbb394);color:#4b3124}
.tile-club{background:linear-gradient(145deg,#465c4d,#283c32);color:#fdf8ea}
.tile-symbol{height:40px;width:40px;border-radius:14px;opacity:1;border:1px solid currentColor}
.tile-symbol .ico{height:23px;width:23px}
.tile-bottom strong{font-size:clamp(25px,2.6vw,34px);line-height:1.09}
.tile-hint{font-size:13px;line-height:1.35;margin-top:10px}
.tile-label{font-size:11px;letter-spacing:.09em;margin-bottom:10px;line-height:1.3}
.home-community{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.home-social{display:flex;align-items:center;gap:8px;min-height:49px;padding:9px 12px;background:transparent;border:1px solid #dfd7c8;border-radius:14px;color:#465347;text-decoration:none;text-align:left;font-size:13px;font-weight:700;white-space:nowrap;justify-content:space-between;transition:background .2s,border-color .2s}
.home-social .ico{width:20px;height:20px}.home-social span{flex:1}.home-social .small-chevron{width:15px;height:15px}.home-social:hover{background:white;border-color:#b4a48a}
/* General readable experience pages */
.experience-page p{font-size:16px;line-height:1.65}
.experience-page h1{font-size:clamp(40px,5.7vw,72px)}
.info-link,.field-help,.fineprint,.empty-content p,.editorial-item p{font-size:14px!important;line-height:1.6}
.option-card strong{font-size:15px;line-height:1.35}
.option-card{min-height:91px}
.progress-header{font-size:12px;letter-spacing:.08em}
.wine-card h2{font-size:clamp(27px,3.3vw,36px)}
.solid-btn,.subtle-btn{min-height:49px;font-size:14px;font-weight:750;padding:13px 17px;display:inline-flex;align-items:center;justify-content:center;gap:8px}
.back-button{width:46px;height:46px}.back-button .ico{width:22px;height:22px}
.sheet-link>span{font-size:16px;font-weight:700}.sheet-link small{font-size:13px;line-height:1.4}.sheet-button{font:inherit;min-width:100%;border:0;border-bottom:1px solid #dedbd2;background:none;text-align:left;color:inherit;cursor:pointer}
.dialog-card h2{font-size:clamp(32px,5vw,44px)}.how-list strong{font-size:16px}.how-list small{font-size:14px}
/* Interactive taste experience */
.taste-page{max-width:1080px}.taste-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(24px,4.2vw,68px);margin:23px 0 33px;align-items:start}
.taste-intro{padding-top:28px}.taste-intro h1{margin:15px 0}.taste-intro p{max-width:440px}
.taste-tip{margin-top:32px;border-top:1px solid #dcd5c8;padding:20px 0;display:flex;align-items:start;gap:14px;color:#5e665a;font-size:15px;line-height:1.6}.taste-tip .ico{width:24px;height:24px;color:#9f8058}
.taste-interactive{padding:clamp(22px,3vw,33px);border:1px solid #e4daca;background:#fffdf8;border-radius:26px;box-shadow:0 10px 35px rgba(20,32,22,.05);min-height:350px}
.taste-progress{display:flex;justify-content:space-between;gap:15px;font-size:12px;font-weight:800;letter-spacing:.09em;color:#916e45;border-bottom:1px solid #eae3da;padding-bottom:18px}
.taste-interactive h2{font-size:clamp(28px,4vw,40px);margin:25px 0 11px}.taste-interactive>p{font-size:15px}
.taste-options{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}
.taste-option{display:flex;align-items:center;gap:10px;border:1px solid #ddd6ca;border-radius:15px;min-height:82px;background:#f5f0e8;padding:14px;font-size:15px;text-align:left;font-weight:750;color:#283c31;transition:transform .2s,background .2s}
.taste-option .ico{width:21px;height:21px;flex-shrink:0}.taste-option:active{transform:scale(.97)}.taste-option:hover{background:#ebe3d5}
.taste-outcome{border-radius:17px;background:#f1eddf;padding:23px}.taste-outcome h2{margin:4px 0 9px}.taste-outcome p{font-size:15px}.taste-actions{display:flex;gap:10px;flex-wrap:wrap}.taste-copy{background:#1b382c;color:#fff;border:0;border-radius:12px;min-height:48px;padding:12px 18px;font-weight:750}.taste-redo{border:1px solid #d7c9b3;background:transparent;border-radius:12px;padding:12px 16px;min-height:48px;color:#364236;font-weight:700}
.taste-know{border-top:1px solid #dfd7c9;padding-top:22px;display:grid;grid-template-columns:1fr 1.35fr;gap:20px}.taste-know h2{font-size:clamp(28px,4vw,41px);margin:9px 0}.knowledge-list{display:grid;gap:9px}.knowledge-list details{background:#fdfaf3;border:1px solid #e5dbcb;border-radius:16px;overflow:hidden}.knowledge-list summary{cursor:pointer;list-style:none;padding:17px 19px;display:flex;gap:15px;align-items:center;justify-content:space-between;font-size:16px;font-weight:730;min-height:56px}.knowledge-list summary::-webkit-details-marker{display:none}.knowledge-list summary::after{content:'+';font-size:22px;font-weight:400;color:#967551}.knowledge-list details[open] summary::after{content:'−'}.knowledge-list details p{padding:0 19px 16px;margin:0;font-size:15px}.editorial-optional{margin-top:30px}.editorial-optional .editorial-feed{display:grid;grid-template-columns:1fr 1fr;gap:13px}
/* Children — two real games, calm and readable */
.kids-page{max-width:870px}.kids-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:20px 0 19px}.kids-header h1{margin:9px 0 7px}.kids-header p{max-width:480px;margin:0}.kids-mark{width:130px;height:130px;border-radius:36px;background:radial-gradient(circle at 80% 20%,#ffe8c4,transparent 58%),#d9b897;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#5d3b26;transform:rotate(-5deg);box-shadow:0 14px 29px rgba(76,44,20,.08)}.kids-mark .ico{width:47px;height:47px;stroke-width:1.45}.kids-mark span{font-family:'Playfair Display',serif;font-size:25px;line-height:1}
.kids-selector{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 15px}.kids-choice{display:flex;gap:12px;align-items:center;padding:15px 18px;border:1px solid #ded4c4;background:#fbf7ef;border-radius:17px;text-align:left;color:#283a31;min-height:80px;transition:border-color .2s,background .2s,transform .2s}.kids-choice[aria-pressed=true]{background:#e0eadd;border-color:#769074}.kids-choice:hover{transform:translateY(-1px)}.kids-choice>.ico{width:27px;height:27px;flex-shrink:0}.kids-choice strong{font-size:16px;display:block}.kids-choice small{font-size:13px;display:block;margin-top:4px;color:#687269}
.kids-play{background:#fffdf8;border:1px solid #e9dfd0;border-radius:23px;padding:clamp(18px,3vw,28px);box-shadow:0 9px 30px rgba(30,30,16,.04)}
.game-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.game-toolbar p{font-size:15px;margin:5px 0 0;font-weight:660;color:#455346}.reset-game{border:1px solid #ded8ca;border-radius:12px;background:white;padding:10px 12px;display:inline-flex;gap:7px;align-items:center;min-height:44px;font-size:13px;color:#46594e;font-weight:700}.reset-game .ico{width:16px;height:16px}
.memory-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;max-width:520px;margin:0 auto}.memory-card{aspect-ratio:1.05;min-height:65px;border:0;border-radius:15px;background:linear-gradient(140deg,#284638,#1a382b);color:#e8d9bd;box-shadow:0 6px 13px rgba(23,51,28,.08);display:grid;place-items:center;font-family:'Playfair Display',serif;font-size:32px;font-weight:400;transition:transform .25s var(--ease),background .25s,box-shadow .25s;position:relative;perspective:500px}.memory-card.is-revealed,.memory-card.is-matched{background:#efe7da;color:#263c30}.memory-card.is-matched{box-shadow:inset 0 0 0 2px #7f987c}.memory-card:active{transform:scale(.96)}.memory-card .memory-front{font-size:clamp(32px,5vw,47px);line-height:1}.memory-card .memory-back{font-size:clamp(29px,5vw,40px);line-height:1}.memory-card .memory-logo{font-size:30px;color:#dac9a7}.memory-card:focus-visible{outline-offset:3px}
.game-message{margin:15px 0 0;font-size:16px!important;color:#3d644a!important;text-align:center;min-height:25px;font-weight:750}
.quiz-headline{font-size:clamp(22px,3vw,30px);margin:10px 0 14px}.quiz-choices{display:grid;gap:10px}.quiz-answer{border-radius:14px;border:1px solid #dfd4c4;text-align:left;background:#f7f1e7;min-height:59px;padding:14px 16px;font-weight:700;color:#243a2b;font-size:15px}.quiz-answer[disabled]{opacity:1;cursor:default}.quiz-answer.is-correct{background:#dce9dc;border-color:#6a8a6e}.quiz-answer.is-wrong{background:#f9e5df;border-color:#ba8273}.quiz-feedback{padding:14px 16px;border-radius:12px;background:#f0ede3;margin:14px 0;line-height:1.6;font-size:15px}.quiz-next{margin-top:9px}.game-final{background:#f0eddf;text-align:center;border-radius:20px;padding:27px}.game-final h2{font-size:34px;margin:5px 0 7px}.game-final p{font-size:16px}.game-final .game-award{font-size:55px;margin-bottom:4px}.kids-footnote{font-size:14px!important;margin:14px 0;color:#7d7c73!important}
/* Social / reviews: small, contextual, never on initial scan */
.review-nudge{position:fixed;z-index:41;right:clamp(12px,3vw,36px);bottom:calc(22px + env(safe-area-inset-bottom,0px));width:min(385px,calc(100vw - 24px));display:flex;align-items:center;gap:10px;background:#fffcf5;border:1px solid #e1d1b8;border-radius:18px;padding:13px 14px;box-shadow:0 15px 44px rgba(23,32,23,.19);animation:slideUp .32s var(--ease)}
.review-nudge strong{font-size:15px}.review-nudge p{font-size:13px;color:#68746a;margin:4px 0 0}.review-nudge-action{border:0;border-radius:11px;color:white;background:#224233;padding:11px;min-height:44px;font-weight:720;font-size:13px;white-space:nowrap}.review-nudge-dismiss{border:0;background:transparent;padding:5px;align-self:flex-start;color:#6b6d66}.review-nudge-dismiss .ico{width:16px;height:16px}
.review-card>p{font-size:16px;line-height:1.65;color:#606d63}.review-card .review-action{width:100%;justify-content:center;text-align:center;font-size:14px}.review-card .review-note{font-size:13px;color:#7c7c71;margin:12px 0 3px}.review-later{border:0;background:transparent;padding:14px 0 0;font-size:15px;color:#5c655c;display:block;margin:0 auto}.nojs{padding:25px;text-align:center}
@keyframes heroArrival{from{transform:scale(1.1);filter:brightness(.7)}to{transform:scale(1.04);filter:brightness(1)}}
/* Tablet */
@media(max-width:950px){
 .home-layout{grid-template-columns:1fr;gap:0}.hero-card{min-height:260px;height:clamp(260px,31vh,340px)}
 .home-actions{padding-top:17px}.home-heading h2{font-size:35px}
 .experience-tile{min-height:170px}.tile-bottom strong{font-size:30px}
 .taste-layout{grid-template-columns:1fr;gap:16px}.taste-intro{padding-top:4px}.taste-tip{display:none}
 .taste-know{grid-template-columns:1fr}.kids-mark{width:100px;height:100px}
}
/* Phone */
@media(max-width:620px){
 .app-shell{padding-left:16px;padding-right:16px;--nav-clearance:105px}.app-shell.is-home{padding-bottom:20px}
 .topbar{height:65px}.top-more{padding:12px;min-width:46px}.top-more span{display:none}
 .brand-caption{font-size:10px}.brand-name{font-size:22px}
 .hero-card{height:clamp(190px,26dvh,260px);min-height:190px;border-radius:21px}
 .hero-content{left:22px;right:18px;bottom:22px}.hero-content h1{font-size:clamp(33px,8.5vw,48px);line-height:1.07;margin:10px 0 8px}
 .hero-content p{font-size:14px!important;line-height:1.45;max-width:300px}.hero-eyebrow{font-size:11px;letter-spacing:.08em}
 .home-actions{padding-top:14px}.home-heading{margin-bottom:12px}.home-heading h2{font-size:clamp(28px,6.5vw,35px);margin:4px 0 0}.kicker{font-size:11px!important}
 .tile-grid{gap:10px}.experience-tile{min-height:clamp(148px,18.7dvh,176px);padding:14px 13px;border-radius:18px}
 .tile-top .tile-symbol{width:36px;height:36px}.tile-top .tile-symbol .ico{width:21px;height:21px}
 .tile-bottom strong{font-size:clamp(23px,5.5vw,29px)}.tile-label{font-size:10px;letter-spacing:.04em;margin-bottom:6px}.tile-hint{font-size:12px;line-height:1.22;margin-top:7px}.tile-arrow{width:17px;height:17px}
 .home-community{margin-top:10px;gap:9px}.home-social{min-height:47px;gap:5px;padding:8px 9px;font-size:12px;line-height:1.15}.home-social .ico{width:18px;height:18px}.home-social .small-chevron{width:13px;height:13px}
 .view-heading{height:54px}.experience-page p{font-size:16px!important;line-height:1.6}.experience-page h1{font-size:clamp(39px,9vw,53px)}
 .wine-overview h1{font-size:clamp(36px,8.8vw,50px)}.wine-overview p{font-size:15px!important}.wine-card{padding:19px}.wine-card h2{font-size:30px}.option-card{min-height:88px;padding:13px}.option-card strong{font-size:14px}.field-help{font-size:14px!important}
 .bottom-nav{width:calc(100% - 22px);height:75px;bottom:calc(9px + env(safe-area-inset-bottom,0px));border-radius:22px}.tab{height:60px;min-height:60px}.tab span{font-size:12px!important}.tab .ico{height:21px;width:21px}
 .taste-layout{margin:6px 0 20px}.taste-intro h1{margin:8px 0}.taste-intro p{margin-bottom:8px}.taste-interactive{padding:18px;min-height:0;border-radius:20px}.taste-interactive h2{font-size:30px;margin:20px 0 10px}.taste-progress{font-size:11px}.taste-option{min-height:75px;font-size:14px;padding:12px;gap:6px}.taste-options{gap:8px}.taste-know h2{font-size:30px}.knowledge-list summary{font-size:15px}
 .kids-header{margin:8px 0 14px}.kids-header h1{margin:6px 0}.kids-header p{font-size:15px!important}.kids-mark{width:76px;height:76px;border-radius:24px}.kids-mark .ico{height:34px;width:34px}.kids-mark span{font-size:20px}
 .kids-selector{gap:9px}.kids-choice{min-height:74px;padding:12px 10px;gap:7px}.kids-choice>.ico{width:21px;height:21px}.kids-choice strong{font-size:13px;line-height:1.3}.kids-choice small{font-size:12px;line-height:1.2}
 .kids-play{padding:16px;border-radius:18px}.memory-board{gap:9px}.memory-card{border-radius:12px;min-height:63px}.game-toolbar{margin-bottom:13px}.game-toolbar p{font-size:14px}.reset-game{padding:8px;font-size:12px}
 .review-nudge{bottom:calc(17px + env(safe-area-inset-bottom,0px))}.review-card{padding:28px}
}
@media(max-width:370px){.brand-caption{font-size:9px}.hero-card{height:188px}.hero-content h1{font-size:34px}.home-heading h2{font-size:27px}.tile-bottom strong{font-size:22px}.experience-tile{min-height:145px}.tile-hint{font-size:11px}.tile-label{font-size:9px}.home-social{font-size:11px}.memory-board{gap:7px}.memory-card{min-height:57px}.kids-selector{grid-template-columns:1fr}.kids-choice{min-height:60px}}
@media(prefers-reduced-motion:reduce){.hero-photo{animation:none!important}.review-nudge{animation:none!important}.experience-tile,.memory-card,.kids-choice{transition:none!important}}

/* V5: true dedicated scroll viewport: no content can slip under the bottom navigation. */
.app-shell{height:100dvh;min-height:0;overflow:hidden;padding-bottom:calc(99px + env(safe-area-inset-bottom,0px))}
.app-shell.is-home{padding-bottom:0}
.main-stage{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:none;scroll-padding-bottom:30px;-webkit-overflow-scrolling:touch}
.main-stage::-webkit-scrollbar{display:none}
.app-shell:not(.is-home) .experience-page{padding-bottom:24px}
.app-shell.is-home .home-layout{padding-bottom:24px}
@media(min-width:951px){.app-shell{padding-bottom:100px}.app-shell.is-home{padding-bottom:0}}
@media(max-width:620px){.app-shell{padding-bottom:calc(94px + env(safe-area-inset-bottom,0px))}.app-shell.is-home{padding-bottom:0}.app-shell:not(.is-home) .experience-page{padding-bottom:20px}}
/* Larger text is opt-in, not a separate app. */
.large-text .experience-page p,.large-text .review-card p,.large-text .knowledge-list details p{font-size:18px!important;line-height:1.7}
.large-text .tile-hint,.large-text .home-social,.large-text .kids-choice small,.large-text .sheet-link small{font-size:15px!important}
.large-text .tile-label,.large-text .kicker{font-size:13px!important}
.large-text .option-card strong,.large-text .taste-option,.large-text .quiz-answer,.large-text .sheet-link>span{font-size:17px!important}
.large-text .tab span{font-size:14px!important}
.large-text .tile-bottom strong{font-size:clamp(26px,5.8vw,35px)}
.large-text .experience-tile{min-height:190px}
@media(max-width:620px){.large-text .experience-tile{min-height:187px}.large-text .tile-bottom strong{font-size:25px}}
