/* Auguste — feuille partagée des 3 pages (charte : 03_Projects/Auguste/files/site-chefauguste.md) */
:root{
  --creme:#FAF8F5;
  --encre:#2C2622;
  --or:#C9A961;
  --cuivre:#D4895C;
  --sauge:#7C9A6B;
  --blanc:#FFFDFA;
  --hairline:rgba(201,169,97,.38);
  --encre-40:rgba(44,38,34,.4);
  --encre-60:rgba(44,38,34,.6);
  --serif:"Playfair Display",Georgia,serif;
  --sans:"Inter",-apple-system,system-ui,sans-serif;
}
*{margin:0;padding:0;box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{
  font-family:var(--sans);
  background:var(--creme);
  color:var(--encre);
  line-height:1.6;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
/* grain de papier très subtil (charte §5) */
body::before{
  content:"";position:fixed;inset:0;pointer-events:none;z-index:1;opacity:.05;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}
.wrap{max-width:720px;margin:0 auto;padding:0 22px;position:relative;z-index:2}

/* bandeau de navigation — contraste encre (acté Noé 12/08) */
.topbar{background:var(--encre);color:var(--creme);position:sticky;top:0;z-index:60}
.topbar .in{max-width:720px;margin:0 auto;padding:10px 22px;display:flex;align-items:center;justify-content:flex-start;gap:8px 26px;flex-wrap:wrap}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--creme)}
.brand img{width:34px;height:34px;border-radius:50%}
.brand .name{font-family:var(--serif);font-size:18px;letter-spacing:.04em}
.tabs{display:flex;gap:4px;flex-wrap:wrap}
.tabs a{
  color:rgba(250,248,245,.72);text-decoration:none;
  font-size:14px;font-weight:500;letter-spacing:.01em;
  padding:9px 12px;border-radius:9px;
  transition:color .15s ease;
}
.tabs a:hover{color:var(--creme)}
.tabs a.active{color:var(--or);background:rgba(201,169,97,.12);font-weight:600}
/* CTA permanent du bandeau (acté 12/08 — l'écart n°1 vs le marché) */
.cta-nav{
  margin-left:auto;display:inline-flex;align-items:center;gap:8px;
  background:var(--or);color:var(--encre);
  font-weight:600;font-size:13.5px;letter-spacing:.01em;
  padding:10px 14px;border-radius:10px;text-decoration:none;
  transition:filter .15s ease;
}
.cta-nav:hover{filter:brightness(1.06)}
.cta-nav svg{width:16px;height:16px;flex:none}
@media(max-width:559px){
  .topbar .brand{order:1}
  .topbar .cta-nav{order:2}
  .topbar .tabs{order:3;width:100%}
}

/* ── hero (accueil) ─────────────────────────────── */
.hero{text-align:center;padding:44px 0 72px}
.hero-badge{width:64px;height:64px;border-radius:50%;display:block;margin:0 auto 22px;box-shadow:0 4px 14px rgba(44,38,34,.14)}
.hero h1{
  font-family:var(--serif);font-weight:600;
  font-size:clamp(30px,7.4vw,44px);line-height:1.18;letter-spacing:.005em;
  margin:0 auto 14px;max-width:15ch;
}
@media(min-width:640px){.hero h1{max-width:26ch}}
.hero .sub{color:var(--encre-60);font-size:clamp(15px,4vw,17px);max-width:34ch;margin:0 auto 30px}
.hero .alt-channel{margin-top:14px;font-size:14px}
.hero .alt-channel a{color:var(--encre-60);text-decoration:underline;text-underline-offset:3px;padding:8px;display:inline-block}
.microcopy{margin-top:16px;font-size:13.5px;color:var(--encre-60);letter-spacing:.01em}

/* médaillon : cadre la toque et le visage, coupe le lettrage sous le portrait */
.medallion{display:block;border-radius:50%;overflow:hidden;flex:none;border:1px solid var(--hairline)}
.medallion img{width:100%;height:100%;object-fit:cover;transform:scale(1.55);transform-origin:50% 16%;display:block}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  min-height:52px;padding:14px 26px;border-radius:14px;
  font-weight:600;font-size:16px;text-decoration:none;
  transition:transform .15s ease,box-shadow .15s ease;
}
.btn:active{transform:scale(.98)}
.btn-primary{
  background:var(--encre);color:var(--creme);
  box-shadow:0 6px 18px rgba(44,38,34,.16);
}
.btn-primary:hover{box-shadow:0 8px 22px rgba(44,38,34,.22)}
.btn-secondary{
  background:transparent;color:var(--encre);
  border:1px solid var(--hairline);
}
.btn svg{width:20px;height:20px;flex:none}

section{padding:64px 0}
.kicker{font-size:11.5px;letter-spacing:.22em;text-transform:uppercase;color:var(--or);font-weight:600;margin-bottom:10px}
h2{font-family:var(--serif);font-weight:500;font-size:clamp(25px,6vw,33px);line-height:1.22;margin-bottom:10px}
.lede{color:var(--encre-60);max-width:38ch;font-size:16.5px}

.reveal{opacity:0;transform:translateY(14px);transition:opacity .55s ease,transform .55s ease}
.reveal.inview{opacity:1;transform:none}

/* ── les 3 cadres de screenshots ────────────────── */
.shots{
  display:grid;gap:18px;margin-top:34px;
  grid-auto-flow:column;grid-auto-columns:min(280px,80vw);
  overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;
  -webkit-overflow-scrolling:touch;scrollbar-width:none;
}
.shots::-webkit-scrollbar{display:none}
.shot{scroll-snap-align:center}
@media(min-width:640px){
  .shots{grid-auto-flow:row;grid-template-columns:repeat(3,1fr);grid-auto-columns:unset;overflow:visible;padding-bottom:0}
}
.shot-cap{margin-top:12px;font-size:13.5px;color:var(--encre-60);line-height:1.45;padding:0 4px}
.shot-cap b{display:block;color:var(--encre);font-size:14px;margin-bottom:2px}
.phone{
  width:100%;background:var(--blanc);
  border:1px solid rgba(44,38,34,.1);border-radius:30px;
  box-shadow:0 14px 38px rgba(44,38,34,.09);
  overflow:hidden;
}
.phone-head{
  display:flex;align-items:center;gap:10px;
  padding:13px 16px;border-bottom:1px solid rgba(44,38,34,.07);
}
.phone-head .medallion{width:30px;height:30px;border:none}
.phone-head .who{font-weight:600;font-size:14px}
.phone-body{padding:16px 12px 18px;display:flex;flex-direction:column;gap:10px;min-height:200px}
/* §9 — bulles BLANCHES tant que les vrais screenshots n'existent pas. Rien d'inventé. */
.bubble{border-radius:16px;padding:12px 14px;max-width:78%;display:flex;flex-direction:column;gap:7px}
.bubble.in{background:rgba(201,169,97,.1);border-bottom-left-radius:6px;align-self:flex-start}
.bubble.out{background:#fff;border:1px solid rgba(44,38,34,.08);border-bottom-right-radius:6px;align-self:flex-end}
.bubble .l{height:8px;border-radius:4px;background:rgba(44,38,34,.09)}
.bubble .l.w1{width:150px}.bubble .l.w2{width:110px}.bubble .l.w3{width:72px}.bubble .l.w4{width:130px}
.bubble .img{width:118px;height:86px;border-radius:10px;background:rgba(44,38,34,.09)}
.convo-note{font-size:12.5px;color:var(--encre-40);text-align:center;max-width:32ch;margin:18px auto 0}

/* ── les tuiles commis ──────────────────────────── */
.tiles{display:grid;gap:14px;margin-top:30px}
@media(min-width:640px){.tiles{grid-template-columns:repeat(3,1fr)}}
.tile{
  background:var(--blanc);border:1px solid rgba(44,38,34,.08);
  border-radius:16px;padding:22px 20px;
  box-shadow:0 4px 14px rgba(44,38,34,.05);
}
.tile h3{font-family:var(--serif);font-weight:600;font-size:20px;margin-bottom:6px}
.tile p{font-size:14px;color:var(--encre-60);line-height:1.45}
.tile .status{display:flex;align-items:center;gap:7px;margin-top:14px;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:600}
.tile .dot{width:7px;height:7px;border-radius:50%}
.tile.avail{border-color:rgba(201,169,97,.5)}
.tile.avail .status{color:var(--sauge)}
.tile.avail .dot{background:var(--sauge)}
/* le statut se lit dans la distance et l'opacité, jamais dans un badge criard (charte §3/§4) */
.tile.soon{opacity:.52;transform:scale(.975)}
.tile.soon .status{color:var(--encre-40)}
.tile.soon .dot{background:var(--encre-40);opacity:.5}
/* tuiles cliquables (page Cuisine) — un clic ouvre la description du commis */
details.tile summary{list-style:none;cursor:pointer;display:block}
details.tile summary::-webkit-details-marker{display:none}
details.tile summary .chev{float:right;color:var(--or);font-size:19px;line-height:1;margin-top:2px;transition:transform .2s ease}
details.tile[open] summary .chev{transform:rotate(45deg)}
.tile-more{margin-top:14px;padding-top:12px;border-top:1px solid var(--hairline);font-size:14.5px;line-height:1.55}
.tiles-hint{font-size:13px;color:var(--encre-40);margin-top:10px}

/* ── section finale « Brancher votre restaurant » ── */
.talk{text-align:center;padding-bottom:96px}
.talk-head{display:flex;flex-direction:column;align-items:center;gap:16px;margin-bottom:8px}
.talk-head .medallion{width:64px;height:64px}
.talk h2{margin-bottom:0;max-width:22ch;margin-left:auto;margin-right:auto}
.talk .btns{display:flex;flex-direction:column;gap:12px;align-items:center;margin-top:30px}
.talk .btn{width:min(320px,100%)}
.talk .reassure{margin-top:18px;font-size:13.5px;color:var(--encre-60)}

/* ── pages annexes (comment · qui-sommes-nous) ──── */
.subpage{padding:26px 0 40px}
.subpage h1{
  font-family:var(--serif);font-weight:600;
  font-size:clamp(28px,6.6vw,38px);line-height:1.2;margin:6px 0 12px;
}
.subpage section{padding:34px 0}
.prose p{margin-bottom:14px;max-width:56ch}
.prose ul{margin:0 0 14px 20px}
.prose li{margin-bottom:8px;max-width:52ch}
.steps{display:grid;gap:22px;grid-template-columns:1fr;max-width:560px;margin:26px 0 0}
@media(min-width:560px){.steps{grid-template-columns:repeat(3,1fr)}}
.step .num{font-family:var(--serif);color:var(--or);font-size:22px;line-height:1}
.step .t{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;margin:7px 0 4px}
.step .d{font-size:13px;color:var(--encre-60);line-height:1.45}

footer{border-top:1px solid var(--hairline);padding:34px 0 42px;text-align:center;font-size:13px;color:var(--encre-60);position:relative;z-index:2}
footer img{width:34px;height:34px;border-radius:50%;margin-bottom:10px;opacity:.9}
footer .footnav{display:flex;gap:8px 18px;justify-content:center;flex-wrap:wrap;margin:8px 0 6px}
footer .footnav a{color:var(--encre-60);text-decoration:underline;text-underline-offset:3px;padding:6px 2px}
footer .legal{margin-top:6px;color:var(--encre-40)}

/* barre collante mobile (accueil, charte §7.3) */
.sticky-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:50;
  background:var(--encre);color:var(--creme);
  display:flex;align-items:center;justify-content:center;gap:10px;
  min-height:54px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));
  font-weight:600;font-size:15px;text-decoration:none;
  transform:translateY(110%);transition:transform .3s ease;
}
.sticky-cta.visible{transform:none}
.sticky-cta svg{width:19px;height:19px}
@media(min-width:768px){.sticky-cta{display:none}}

@media(prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none;transition:none}
  html{scroll-behavior:auto}
}
