/* =========================================================
   Cantin Mineiro — estilos
   Mundo: o armário de um empório mineiro. Fotos em janelas de
   arco colonial, prateleira de madeira, etiqueta kraft no
   barbante e o caderninho onde a encomenda é anotada.
   ========================================================= */

/* Fontes servidas pelo próprio site (SIL Open Font License): Fraunces, Instrument Sans, Caveat */
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/caveat-normal-500-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/caveat-normal-500-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/fraunces-italic-300-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/fraunces-italic-300-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/fraunces-normal-300-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(../fonts/fraunces-normal-300-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/instrument-sans-normal-400-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/instrument-sans-normal-400-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --cream: #f6efe3;
    --cream-2: #efe4d1;
    --linen: #e7d8bd;
    --line: rgba(58, 38, 23, 0.13);
    --line-strong: rgba(58, 38, 23, 0.26);
    --coffee: #2b1a10;
    --coffee-2: #3d2818;
    --muted: rgba(43, 26, 16, 0.74);
    --faint: rgba(43, 26, 16, 0.56);
    --gold: #94681f;       /* ouro do logo, escurecido pra ler no creme */
    --gold-soft: #c69a4c;
    --gold-hi: #e2bd74;    /* ouro sobre o café */
    --goiaba: #a3312a;
    --kraft: #d2ad7d;
    --kraft-ink: #3b2614;
    --kraft-muted: #6b4a2b;
    --paper: #fdfaf1;
    --rule: rgba(92, 140, 186, 0.32);
    --margin: rgba(214, 96, 84, 0.55);
    --ok: #3f7a35;

    --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
    --font-text: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
    --font-hand: 'Caveat', 'Bradley Hand', cursive;

    --r-xs: 2px;   /* etiquetas kraft */
    --r-sm: 6px;   /* campos, filtros, chips */
    --r-md: 12px;  /* tábua, caderno */
    --pill: 100px; /* botões de ação */
    --arch: 999px 999px 4px 4px; /* janela em arco */

    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
    --gutter: clamp(16px, 4vw, 64px);
    --max: 1320px;

    /* Hero (animado pelo GSAP na troca de destaque) */
    --bg-inner: #fbf1dc;
    --bg-mid: #efdcb6;
    --bg-outer: #e2c79a;
    --glow: rgba(214, 160, 70, .55);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: #c9b08a var(--cream); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    background: var(--cream);
    color: var(--coffee);
    font-family: var(--font-text);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-x: clip;
}
/* grão de papel bem leve em toda a página */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .24 0 0 0 0 .14 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .footer, .header { position: relative; z-index: 1; }
.header { z-index: 100; }

::selection { background: var(--coffee); color: var(--cream); }

img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.noscript { padding: 1rem 4%; }
em { font-style: italic; }

/* ---------- Buttons ---------- */
.btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--coffee);
    color: var(--cream);
    border: 0;
    border-radius: var(--pill);
    padding: 0.78rem 1.2rem;
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 160ms var(--ease-out), background-color 200ms ease;
    box-shadow: 0 8px 18px -10px rgba(43, 26, 16, 0.8);
}
.btn-wa:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn-wa:hover { background: #4a3020; } }
.btn-wa[aria-disabled="true"] { background: rgba(43,26,16,.14); color: rgba(43,26,16,.5); box-shadow: none; cursor: not-allowed; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--line-strong);
    border-radius: var(--pill);
    padding: 0.74rem 1.1rem;
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1;
    text-decoration: none;
    background: transparent;
    transition: border-color 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out);
}
.btn-ghost:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { border-color: var(--coffee); background: rgba(43,26,16,.05); } }

/* ---------- Header ---------- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.3rem var(--gutter);
    position: fixed;
    top: 0;
    width: 100%;
    transition: background-color 300ms ease, border-color 300ms ease, padding 300ms var(--ease-out);
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    padding-block: 0.6rem;
    background: rgba(246, 239, 227, 0.86);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    backdrop-filter: blur(16px) saturate(1.2);
    border-bottom-color: var(--line);
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 58px; width: auto; transition: height 300ms var(--ease-out); }
.header.scrolled .logo img { height: 46px; }

.nav {
    display: flex;
    gap: 0.2rem;
    background: rgba(255, 252, 245, 0.55);
    border: 1px solid var(--line-strong);
    box-shadow: 0 8px 30px -12px rgba(43, 26, 16, 0.25);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    padding: 0.3rem;
    border-radius: var(--pill);
}
.nav-item {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    padding: 0.5rem 0.95rem;
    border-radius: var(--pill);
    white-space: nowrap;
    transition: background-color 250ms ease, color 250ms ease;
}
.nav-item:hover, .nav-item.active { background: var(--coffee); color: var(--cream); }
.header .btn-wa .short { display: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 700px;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(circle at 50% 50%, var(--bg-inner) 0%, var(--bg-mid) 55%, var(--bg-outer) 100%);
}
.hero::after { /* funde com a página */
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 14%;
    background: linear-gradient(to bottom, transparent, var(--cream));
    z-index: 4;
    pointer-events: none;
}
/* grãos de café que flutuam e fogem do cursor */
.beans { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bean { position: absolute; color: #4a2c17; will-change: transform; filter: drop-shadow(0 10px 10px rgba(43,26,16,.25)); }
.bean svg { width: 100%; height: 100%; display: block; }
.bean.far { color: #7a5233; filter: blur(2px) drop-shadow(0 6px 6px rgba(43,26,16,.15)); opacity: 0.7; }

.hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    height: 100%;
    padding: 8rem var(--gutter) 3.2rem;
}
/* palco: janela em arco com a foto do destaque */
.hero-stage {
    position: absolute;
    left: 33%;
    right: 33%;
    top: 13%;
    bottom: 7%;
    pointer-events: none;
    perspective: 1200px;
    display: grid;
    place-items: center;
}
.hero-stage::before { /* luz atrás da janela */
    content: "";
    position: absolute;
    inset: -4% -18% 4%;
    background: radial-gradient(closest-side, var(--glow), transparent 74%);
    filter: blur(10px);
}
.hero-tilt { position: relative; height: 100%; aspect-ratio: 4 / 5.4; max-width: 100%; transform-style: preserve-3d; will-change: transform; z-index: 1; }
.arch {
    position: absolute;
    inset: 0;
    border-radius: var(--arch);
    overflow: hidden;
    background: var(--cream-2);
    box-shadow:
        0 0 0 10px var(--cream),
        0 0 0 11px rgba(148, 104, 31, .55),
        0 40px 70px -24px rgba(43, 26, 16, 0.55);
}
.arch::after { /* vidro: reflexo bem leve */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(115deg, rgba(255,255,255,.22), transparent 32%, transparent 70%, rgba(255,255,255,.08));
    pointer-events: none;
}
.arch .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; visibility: hidden; }
.arch .slide.on { visibility: visible; }

/* intro: escondido até a sequência de entrada; aparece sozinho se o JS não rodar */
.intro { opacity: 0; animation: introFallback 0.01s 2.5s forwards; }
.js .intro { animation: none; }
.intro-run .primary-btn, .intro-run .pick { transition: none !important; }
@keyframes introFallback { to { opacity: 1; } }

/* selo girando com a marca do queijo */
.seal { position: absolute; left: -15%; bottom: 3%; width: clamp(108px, 9vw, 140px); aspect-ratio: 1; z-index: 2; }
.seal::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: var(--cream); box-shadow: 0 12px 26px -8px rgba(43,26,16,.45); }
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; overflow: visible; }
.seal-ring text { font-family: var(--font-text); font-weight: 700; font-size: 14.5px; letter-spacing: 0.1em; fill: var(--coffee); }
.seal img { position: absolute; inset: 29%; width: 42%; height: 42%; object-fit: contain; animation: wobble 4.5s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wobble { 0%, 100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(8deg) scale(1.05); } }

.hero-left { display: flex; flex-direction: column; gap: 1.6rem; max-width: 30rem; }
.main-title, .side-title {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 500;
    font-size: clamp(3.2rem, 7.4vw, 8.6rem);
    line-height: 0.88;
    letter-spacing: -0.035em;
    white-space: nowrap;
    color: var(--coffee);
}
.main-title span, .side-title span { display: block; }
.main-title em { font-style: italic; font-weight: 400; color: var(--gold); }
.side-title { font-style: italic; font-weight: 400; color: var(--gold); font-size: clamp(2.6rem, 5.6vw, 6.6rem); }
.description { color: var(--muted); font-size: 1.06rem; line-height: 1.6; max-width: 25rem; text-wrap: pretty; }
.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 1.3rem;
    background: rgba(255, 252, 245, 0.6);
    color: var(--coffee);
    border: 1px solid var(--line-strong);
    padding: 0.4rem 0.4rem 0.4rem 1.5rem;
    border-radius: var(--pill);
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform 160ms var(--ease-out), background-color 250ms ease;
}
.primary-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
    .primary-btn:hover { background: rgba(255, 252, 245, 0.92); }
    .primary-btn:hover .plus-icon { transform: rotate(90deg); }
}
.plus-icon {
    background: var(--coffee);
    color: var(--cream);
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: transform 300ms var(--ease-out);
}
.badge { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; }
.badge .icon { width: 30px; height: 30px; color: var(--gold); }
.badge-text { display: flex; flex-direction: column; line-height: 1.3; }
.badge-title { font-weight: 700; font-size: 0.98rem; }
.badge-sub { font-size: 0.84rem; color: var(--muted); }

.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    text-align: right;
    width: 400px;
    pointer-events: none;
}
.picker { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-end; pointer-events: auto; padding-top: 1.6rem; }
.picker-row { display: flex; gap: 0.6rem; }
.pick {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    width: 112px;
    padding: 0 0.2rem 0.75rem;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--coffee);
    text-align: center;
    opacity: 0.62;
    transition: opacity 250ms ease, transform 160ms var(--ease-out);
}
.pick::after { /* marcador do destaque */
    content: "";
    position: absolute;
    left: 26%;
    right: 26%;
    bottom: 0;
    height: 2px;
    background: var(--coffee);
    transform: scaleX(0);
    transition: transform 350ms var(--ease-out);
}
.pick[aria-pressed="true"] { opacity: 1; }
.pick[aria-pressed="true"]::after { transform: scaleX(1); }
.pick:active { transform: scale(0.97); }
.pick img {
    width: 84px;
    height: 104px;
    object-fit: cover;
    border-radius: var(--arch);
    box-shadow: 0 0 0 3px var(--cream), 0 0 0 4px rgba(148,104,31,.45), 0 14px 18px -10px rgba(43,26,16,.55);
    transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
    .pick:hover { opacity: 1; }
    .pick:hover img { transform: translateY(-8px) rotate(-4deg); }
}
.pick-info { display: flex; flex-direction: column; font-size: 0.8rem; line-height: 1.3; }
.pick-info b { font-weight: 700; }
.pick-info span { color: var(--faint); font-weight: 500; }
.picker-nav { display: flex; gap: 0.6rem; align-items: center; }
.nav-arrow {
    background: rgba(255, 252, 245, 0.5);
    border: 1px solid var(--line-strong);
    color: var(--coffee);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background-color 250ms ease, transform 160ms var(--ease-out);
}
.nav-arrow:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .nav-arrow:hover { background: rgba(255, 252, 245, 0.95); } }
.side-title { align-self: flex-end; text-align: right; }

/* faixa da marca que corre sob o topo */
.ticker { position: relative; z-index: 1; overflow: hidden; border-block: 1px solid var(--line-strong); background: var(--coffee); color: var(--cream); padding: 0.95rem 0; }
.ticker-track { display: flex; width: max-content; will-change: transform; }
.ticker-group { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.2rem); padding-right: clamp(1.2rem, 2.4vw, 2.2rem); }
.ticker-group span { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.ticker-group span:nth-of-type(even) { color: var(--gold-hi); font-style: italic; }
.ticker-group img { width: clamp(34px, 3vw, 46px); height: auto; animation: wobble 5s ease-in-out infinite; }
.ticker-track.css-run { animation: tickerRun 38s linear infinite; }
@keyframes tickerRun { to { transform: translateX(-50%); } }

/* ---------- Sections (shared) ---------- */
.section { position: relative; padding: clamp(4rem, 8vw, 7rem) var(--gutter); scroll-margin-top: 64px; }
.wrap { max-width: var(--max); margin: 0 auto; }
.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
    gap: 1.5rem 4rem;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.h2 {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-weight: 500;
    font-size: clamp(2.5rem, 5.4vw, 5.2rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-wrap: balance;
}
.lede { color: var(--muted); font-size: 1.05rem; max-width: 34rem; text-wrap: pretty; }
.eyebrow { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

/* Foto de produto: sempre dentro de uma janela em arco */
.pimg { width: 100%; height: 100%; object-fit: cover; }
.consulte { color: var(--faint); font-weight: 600; font-size: 0.9rem; }

/* ---------- Mais pedidos ---------- */
#destaques { padding-top: clamp(3rem, 6vw, 5rem); }
.offers { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.offer-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: end;
    min-height: 540px;
    border-top: 1px solid var(--line-strong);
    padding-top: clamp(1.5rem, 3vw, 2.25rem);
}
.offer-hero .o-copy { display: flex; flex-direction: column; gap: 1rem; align-self: stretch; }
.o-flag {
    display: inline-flex;
    width: fit-content;
    background: var(--goiaba);
    color: #fff;
    border-radius: var(--r-xs);
    padding: 0.28rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
}
.offer-hero h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.3rem, 4.2vw, 3.8rem); line-height: 0.98; letter-spacing: -0.02em; }
.offer-hero h3 small { display: block; margin-top: 0.6rem; font-family: var(--font-text); font-size: 0.95rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.offer-hero .o-desc { color: var(--muted); max-width: 22rem; }
.o-ask { margin-top: auto; display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-start; }
.o-ask .hand { font-family: var(--font-hand); font-size: 1.7rem; line-height: 1; color: var(--gold); transform: rotate(-3deg); }
.o-render { position: relative; height: clamp(380px, 40vw, 540px); isolation: isolate; }
.o-render::before { /* poça de luz */
    content: "";
    position: absolute;
    inset: 4% -6% 0;
    background: radial-gradient(48% 52% at 50% 52%, rgba(214, 160, 70, .34), transparent 72%);
    z-index: -1;
}
.o-render .frame {
    position: absolute;
    inset: 0 8% 0;
    border-radius: var(--arch);
    overflow: hidden;
    box-shadow: 0 0 0 8px var(--cream), 0 0 0 9px rgba(148,104,31,.5), 0 34px 60px -26px rgba(43,26,16,.6);
}
.o-render .frame .pimg { transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .offer-hero:hover .o-render .pimg { transform: scale(1.04); } }

.offer-list { display: grid; }
.offer-row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem 0;
    border-top: 1px solid var(--line-strong);
}
.offer-row:last-child { border-bottom: 1px solid var(--line-strong); }
.offer-row .o-thumb { position: relative; height: 130px; border-radius: var(--arch); overflow: hidden; box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px rgba(148,104,31,.4); }
.offer-row h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; line-height: 1.05; letter-spacing: -0.01em; }
.offer-row .o-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.45; margin-top: 0.3rem; }
.o-foot { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.offer-row .o-foot { margin-top: 0.8rem; }
.offer-row .btn-wa { padding: 0.62rem 0.95rem; font-size: 0.85rem; }
.offer-note { margin-top: 1.25rem; color: var(--faint); font-size: 0.85rem; }

/* botão "pôr na cesta" (secundário) */
.add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 1px dashed var(--line-strong);
    background: transparent;
    color: var(--coffee);
    border-radius: var(--pill);
    padding: 0.56rem 0.85rem;
    font-weight: 600;
    font-size: 0.82rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.add .icon { width: 1em; height: 1em; transition: transform 250ms var(--ease-out); }
.add:active { transform: scale(0.96); }
.add[aria-pressed="true"] { border-style: solid; border-color: var(--ok); color: var(--ok); background: rgba(63,122,53,.07); }
.add[aria-pressed="true"] .icon { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .add:hover { border-color: var(--coffee); background: rgba(43,26,16,.05); } }

/* ---------- Monte sua cesta ---------- */
#cesta { background: linear-gradient(to bottom, var(--cream), var(--cream-2) 22%, var(--cream-2) 78%, var(--cream)); }
.builder { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.steps { display: grid; gap: 1.8rem; }
.step { border: 0; }
.step legend { display: flex; align-items: baseline; gap: 0.8rem; font-weight: 700; font-size: 1.1rem; margin-bottom: 0.85rem; }
.step-n { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.7rem; color: var(--gold); line-height: 1; }
.step legend small { font-weight: 400; color: var(--faint); font-size: 0.86rem; }
.opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.4rem 0.85rem 0.4rem 0.4rem;
    border-radius: var(--pill);
    border: 1px solid var(--line-strong);
    background: rgba(255, 252, 245, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 140ms var(--ease-out);
}
.chip.text span { padding: 0.6rem 1rem; }
.chip span img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--cream); }
.chip input:checked + span { background: var(--coffee); color: var(--cream); border-color: var(--coffee); }
.chip input:checked + span img { box-shadow: 0 0 0 2px var(--gold-hi); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.chip input:disabled + span { opacity: 0.4; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .chip input:not(:checked):not(:disabled) + span:hover { border-color: var(--coffee); } }
.chip span:active { transform: scale(0.97); }

.builder-visual { position: sticky; top: 96px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: end; }
.basket { position: relative; width: 100%; aspect-ratio: 400 / 330; }
.basket::before { /* luz sobre a cesta */
    content: "";
    position: absolute;
    inset: -10% -6% 6%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(214,160,70,.28), transparent 70%);
    pointer-events: none;
}
.basket-back, .basket-front { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.basket-front { z-index: 3; pointer-events: none; }
.basket-tag text { font-family: var(--font-hand); font-size: 20px; font-weight: 700; fill: var(--kraft-ink); }
.basket-items { position: absolute; inset: 0; z-index: 2; }
/* cada produto entra na cesta como uma janelinha em arco */
.b-item {
    position: absolute;
    width: 25%;
    aspect-ratio: 4 / 5.2;
    border-radius: var(--arch);
    overflow: hidden;
    background: var(--cream-2);
    box-shadow: 0 0 0 3px var(--cream), 0 10px 16px -6px rgba(43,26,16,.55);
    transform-origin: 50% 100%;
}
.b-item img { width: 100%; height: 100%; object-fit: cover; }
.basket-count { position: absolute; left: 0; right: 0; bottom: -2.2rem; text-align: center; color: var(--faint); font-size: 0.85rem; }

/* caderninho pautado onde a cesta é anotada */
.caderno {
    position: relative;
    background-color: var(--paper);
    background-image:
        linear-gradient(90deg, transparent 2.3rem, var(--margin) 2.3rem, var(--margin) calc(2.3rem + 1.5px), transparent calc(2.3rem + 1.5px)),
        repeating-linear-gradient(to bottom, transparent 0, transparent 1.95rem, var(--rule) 1.95rem, var(--rule) calc(1.95rem + 1px));
    background-position: 0 0, 0 0.6rem;
    color: var(--kraft-ink);
    padding: 1.9rem 1.1rem 1.4rem 3rem;
    border-radius: 3px 3px var(--r-md) var(--r-md);
    box-shadow: 0 24px 50px -22px rgba(43,26,16,.55), 0 1px 0 rgba(43,26,16,.08);
    transform: rotate(-1.2deg);
}
.caderno::before { /* espiral do caderninho */
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    top: -9px;
    height: 18px;
    background: radial-gradient(circle at 50% 50%, var(--cream-2) 3.5px, #8d7a66 4px, #8d7a66 5.4px, transparent 5.8px) 0 0 / 22px 18px repeat-x;
}
.caderno h3 { font-family: var(--font-hand); font-size: 2rem; font-weight: 700; line-height: 1.95rem; }
.caderno .c-sub { font-family: var(--font-hand); font-size: 1.3rem; line-height: 1.95rem; color: var(--kraft-muted); }
.caderno ol { list-style: none; min-height: 3.9rem; }
.caderno li { font-family: var(--font-hand); font-size: 1.32rem; line-height: 1.95rem; display: flex; gap: 0.4rem; }
.caderno li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.caderno li.empty { color: var(--kraft-muted); }
.caderno li.empty::before { content: none; }
.caderno .c-total { display: flex; justify-content: space-between; gap: 0.5rem; font-family: var(--font-hand); font-size: 1.32rem; line-height: 1.95rem; font-weight: 700; border-top: 2px solid rgba(59,38,20,.6); margin-top: 0.2rem; }
.caderno .btn-wa { width: 100%; justify-content: center; margin-top: 1rem; white-space: nowrap; padding-inline: 0.8rem; }
.caderno .c-hint { font-size: 0.78rem; color: var(--kraft-muted); text-align: center; margin-top: 0.55rem; }
.c-clear { display: block; margin: 0.6rem auto 0; background: none; border: 0; color: var(--kraft-muted); font-size: 0.8rem; text-decoration: underline; cursor: pointer; }
.c-clear[hidden] { display: none; }

/* ---------- Catálogo / armário ---------- */
#catalogo { padding-bottom: clamp(4rem, 8vw, 7rem); }
.filters {
    position: sticky;
    top: 62px;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, var(--cream) 75%, rgba(246,239,227,0));
}
.toggles { flex: 1 1 0; min-width: 0; display: flex; gap: 0.4rem; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.toggles::-webkit-scrollbar { display: none; }
.toggle {
    flex: none;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--coffee);
    border-radius: var(--pill);
    padding: 0.55rem 0.95rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 120ms var(--ease-out);
}
.toggle .n { font-weight: 400; color: var(--faint); margin-left: 0.3rem; font-variant-numeric: tabular-nums; }
.toggle[aria-pressed="true"] { background: var(--coffee); border-color: var(--coffee); color: var(--cream); }
.toggle[aria-pressed="true"] .n { color: rgba(246,239,227,.62); }
.toggle:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .toggle[aria-pressed="false"]:hover { border-color: var(--coffee); } }
.search { position: relative; flex: 0 0 280px; }
.search input {
    width: 100%;
    background: rgba(255,252,245,.7);
    border: 1px solid var(--line-strong);
    border-radius: var(--pill);
    font-size: 0.92rem;
    padding: 0.62rem 1rem 0.62rem 2.5rem;
    caret-color: var(--gold);
    transition: border-color 200ms ease, background-color 200ms ease;
}
.search input::placeholder { color: var(--faint); }
.search input:focus { outline: none; border-color: var(--coffee); background: #fffdf8; }
.search .icon { position: absolute; left: 0.95rem; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.result-count { color: var(--faint); font-size: 0.85rem; margin-bottom: 1rem; min-height: 1.4em; }

.shelf { margin-top: clamp(2.5rem, 5vw, 4rem); }
.shelf[hidden] { display: none; }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.shelf-head h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -0.02em; line-height: 1; }
.shelf-head h3 em { color: var(--gold); }
.shelf-head span { color: var(--faint); font-size: 0.88rem; }
.shelf-row {
    --gap: clamp(16px, 2.2vw, 30px);
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 3rem var(--gap);
}
.item { display: flex; flex-direction: column; min-width: 0; }
.item[hidden] { display: none; }
/* janela em arco, apoiada na prateleira */
.spot { position: relative; height: 236px; padding: 0 9%; isolation: isolate; }
.spot .window {
    position: relative;
    height: 100%;
    border-radius: var(--arch);
    overflow: hidden;
    background: var(--cream-2);
    box-shadow: 0 0 0 5px var(--cream), 0 0 0 6px rgba(148,104,31,.42), 0 14px 22px -12px rgba(43,26,16,.6);
    transform-origin: 50% 100%;
    transition: transform 450ms var(--ease-out);
}
.spot .pimg { transition: transform 700ms var(--ease-out); }
.own-mark { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 2; background: rgba(43,26,16,.78); color: var(--cream); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.04em; padding: 0.18rem 0.5rem; border-radius: var(--pill); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
    .item:hover .spot .window { transform: translateY(-6px); }
    .item:hover .spot .pimg { transform: scale(1.06); }
}
.ledge { /* prateleira de madeira */
    height: 12px;
    margin-inline: calc(var(--gap) / -2);
    background:
        repeating-linear-gradient(90deg, rgba(70,40,15,.0) 0 38px, rgba(70,40,15,.12) 38px 39px),
        linear-gradient(to bottom, #d3a66a, #a87442 50%, #6e4520);
    border-radius: 1px;
    box-shadow: 0 12px 18px -8px rgba(43,26,16,.55), 0 -1px 0 rgba(255,236,200,.6) inset;
    position: relative;
    z-index: 1;
}
/* etiqueta kraft pendurada no barbante */
.tag {
    position: relative;
    align-self: flex-start;
    margin: 6px 0 0 14px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.3rem;
    padding: 0.35rem 0.75rem 0.35rem 1.35rem;
    background: var(--kraft);
    color: var(--kraft-ink);
    clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%);
    filter: drop-shadow(0 6px 6px rgba(43,26,16,.25));
}
.tag::before { /* furinho do barbante */
    content: "";
    position: absolute;
    left: 9px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--cream);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.3);
}
.tag-string { position: absolute; left: 6px; top: -8px; width: 18px; height: 30px; pointer-events: none; }
.tag .consulte { color: var(--kraft-ink); font-family: var(--font-hand); font-size: 1.15rem; font-weight: 700; line-height: 1; }
.tag .price { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1; }
.t-flag { font-size: 0.66rem; font-weight: 700; background: var(--goiaba); color: #fff; padding: 0.12rem 0.4rem; border-radius: var(--r-xs); }
.t-body { display: flex; flex-direction: column; flex: 1; padding-top: 0.75rem; }
.t-name { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.15; letter-spacing: -0.01em; }
.t-meta { font-size: 0.82rem; color: var(--muted); line-height: 1.4; margin: 0.25rem 0 0.9rem; }
.t-size { color: var(--coffee); font-weight: 600; margin-right: 0.3rem; text-transform: capitalize; }
.t-actions { margin-top: auto; display: grid; grid-template-columns: 1fr auto; gap: 0.4rem; }
.ask {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: var(--coffee);
    color: var(--cream);
    border-radius: var(--pill);
    padding: 0.6rem 0.8rem;
    font-weight: 600;
    font-size: 0.84rem;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.ask:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .ask:hover { background: #4a3020; } }
.t-actions .add { padding: 0.6rem; width: 2.4rem; }
.t-actions .add span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.asked { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; color: var(--ok); font-weight: 700; margin-top: 0.45rem; }
.asked[hidden] { display: inline-flex; visibility: hidden; }
.empty-state { display: none; padding: 3rem 0; text-align: center; color: var(--muted); }
.empty-state.show { display: grid; gap: 1rem; justify-items: center; }
.empty-state p { font-family: var(--font-display); font-size: 1.8rem; color: var(--coffee); }

/* ---------- Eventos (fundo café) ---------- */
.section.dark { background: #24160d; color: var(--cream); }
.section.dark::before { /* textura de chocolate derretido: luz quente no canto */
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 50% at 85% 10%, rgba(226,189,116,.14), transparent 70%), radial-gradient(50% 40% at 10% 90%, rgba(163,49,42,.16), transparent 70%);
    pointer-events: none;
}
.section.dark .wrap { position: relative; }
.section.dark .lede { color: rgba(246,239,227,.72); }
.section.dark .h2 { color: var(--cream); }
.events { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.ev-feature { display: grid; gap: 1.6rem; }
.ev-photos { position: relative; height: clamp(420px, 44vw, 600px); }
.ev-arch { position: absolute; left: 0; top: 0; width: 62%; height: 94%; object-fit: cover; border-radius: var(--arch); box-shadow: 0 0 0 8px #2f1d11, 0 0 0 9px rgba(226,189,116,.45), 0 30px 60px -20px rgba(0,0,0,.7); }
/* flyer de papel solto por cima */
.ev-flyer { position: absolute; right: 2%; bottom: 0; width: 46%; aspect-ratio: 542 / 678; height: auto; object-fit: cover; border-radius: 3px; transform: rotate(4deg); box-shadow: 0 30px 50px -16px rgba(0,0,0,.75), 0 2px 0 rgba(255,255,255,.2) inset; }
.ev-feature h3 { font-family: var(--font-display); font-weight: 500; font-style: italic; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; color: var(--gold-hi); }
.ev-feature p { color: rgba(246,239,227,.75); max-width: 28rem; margin-top: 0.6rem; }
.ev-services { list-style: none; display: grid; }
.ev-services li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.8rem; padding: 1.05rem 0; border-top: 1px solid rgba(246,239,227,.16); }
.ev-services li:last-child { border-bottom: 1px solid rgba(246,239,227,.16); }
.ev-n { font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--gold-hi); line-height: 1.2; }
.ev-services b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; line-height: 1.2; }
.ev-services small { display: block; color: rgba(246,239,227,.66); font-size: 0.9rem; margin-top: 0.15rem; }
.quote { margin-top: 2.2rem; display: grid; gap: 1.2rem; }
.quote h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.7rem; }
.quote fieldset { border: 0; }
.quote legend { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.6rem; color: rgba(246,239,227,.82); }
.quote .chip span { background: rgba(246,239,227,.05); border-color: rgba(246,239,227,.24); color: var(--cream); }
.quote .chip input:checked + span { background: var(--gold-hi); color: var(--coffee); border-color: var(--gold-hi); }
@media (hover: hover) and (pointer: fine) { .quote .chip input:not(:checked) + span:hover { border-color: var(--gold-hi); } }
.quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.quote-row label { display: grid; gap: 0.45rem; font-weight: 600; font-size: 0.9rem; color: rgba(246,239,227,.82); }
.quote-row input {
    background: rgba(246,239,227,.06);
    border: 1px solid rgba(246,239,227,.24);
    border-radius: var(--r-sm);
    color: var(--cream);
    padding: 0.7rem 0.85rem;
    font-size: 0.95rem;
    color-scheme: dark;
    min-width: 0;
}
.quote-row input:focus { outline: none; border-color: var(--gold-hi); }
.quote-row input::placeholder { color: rgba(246,239,227,.45); }
.quote .btn-wa { justify-self: start; background: var(--gold-hi); color: var(--coffee); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .quote .btn-wa:hover { background: #ecd09a; } }
.section.dark :focus-visible { outline-color: var(--gold-hi); }

/* ---------- Nossa história ---------- */
.story { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.story-photo { position: relative; }
.story-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 20%;
    border-radius: var(--arch);
    background: #fff;
    box-shadow: 0 0 0 10px var(--cream), 0 0 0 11px rgba(148,104,31,.5), 0 40px 70px -30px rgba(43,26,16,.6);
}
.story-photo figcaption { position: absolute; right: -4%; bottom: 8%; font-family: var(--font-hand); font-size: 1.8rem; font-weight: 700; color: var(--coffee); background: var(--kraft); padding: 0.2rem 1rem 0.3rem 1.4rem; clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); transform: rotate(-4deg); }
.story-copy { display: grid; gap: 1.1rem; }
.story-copy .h2 { font-size: clamp(2.2rem, 4.2vw, 4rem); }
.story-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.06rem; max-width: 36rem; text-wrap: pretty; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; border-top: 1px solid var(--line-strong); padding-top: 1.4rem; }
.stats dt { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; color: var(--gold); }
.stats dd { color: var(--muted); font-size: 0.88rem; margin-top: 0.35rem; }

/* ---------- Instagram ---------- */
.insta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; gap: clamp(10px, 1.4vw, 18px); }
.insta a { position: relative; display: block; overflow: hidden; border-radius: var(--r-sm); background: var(--coffee); aspect-ratio: 4 / 5; }
.insta a.tall { grid-row: span 2; aspect-ratio: auto; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .insta a:hover img { transform: scale(1.04); } }

/* ---------- Como pedir ---------- */
.how { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); border-top: 1px solid var(--line-strong); padding-top: 2rem; }
.how li { display: grid; gap: 0.6rem; align-content: start; }
.how-n { font-family: var(--font-display); font-style: italic; font-size: 3.4rem; line-height: 0.9; color: var(--gold); }
.how h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; line-height: 1.15; }
.how p { color: var(--muted); }
.contact { margin-top: clamp(2.5rem, 5vw, 4rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: clamp(1.4rem, 3vw, 2.2rem) 0; border-block: 1px solid var(--line-strong); }
.contact-copy { display: flex; align-items: center; gap: 1.1rem; }
.contact-copy img { width: 54px; height: auto; }
.contact p { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.05; letter-spacing: -0.02em; }
.contact p small { display: block; line-height: 1.45; font-family: var(--font-text); font-size: 0.95rem; color: var(--muted); letter-spacing: 0; margin-top: 0.4rem; }
.contact .btn-wa { padding: 0.95rem 1.4rem; font-size: 1rem; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 3rem var(--gutter) 6rem; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; }
.footer .logo img { height: 74px; }
.legal { color: var(--faint); font-size: 0.85rem; line-height: 1.5; max-width: 42rem; }
.credits { margin-top: 0.6rem; }
.credits summary { cursor: pointer; color: var(--muted); font-weight: 600; width: fit-content; }
.credits ul { list-style: none; margin-top: 0.5rem; display: grid; gap: 0.2rem; font-size: 0.78rem; }
.credits a { color: var(--muted); }
.footer-links { display: flex; gap: 0.6rem; flex-wrap: wrap; }

/* ---------- WhatsApp flutuante ---------- */
.fab {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 90;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--coffee);
    color: var(--cream);
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 2px rgba(226,189,116,.55), 0 14px 30px -8px rgba(43,26,16,.6);
    transform: translateY(120%) scale(0.9);
    opacity: 0;
    transition: transform 400ms var(--ease-out), opacity 300ms ease;
}
.fab.show { transform: none; opacity: 1; }
.fab:active { transform: scale(0.95); }
.fab .icon { width: 28px; height: 28px; }
.fab .fab-count { position: absolute; top: -2px; right: -2px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--goiaba); color: #fff; font-size: 0.75rem; font-weight: 700; display: grid; place-items: center; }
.fab .fab-count[hidden] { display: none; }

/* ---------- Toast ---------- */
.toast {
    position: fixed;
    left: 50%;
    bottom: max(24px, env(safe-area-inset-bottom));
    z-index: 120;
    transform: translate(-50%, 140%);
    opacity: 0;
    background: var(--coffee);
    color: var(--cream);
    border-radius: var(--pill);
    padding: 0.75rem 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 16px 40px -10px rgba(43,26,16,.6);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 380ms var(--ease-out), opacity 250ms ease;
    pointer-events: none;
    max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Responsivo ---------- */
@media (max-width: 1200px) {
    .hero-right { width: 370px; }
    .pick { width: 104px; }
    .offer-hero { grid-template-columns: 1fr; min-height: 0; }
    .o-render { height: 420px; }
    /* a cesta fica presa no topo enquanto a pessoa escolhe; o caderninho vem no fim */
    .builder { grid-template-columns: 1fr; gap: 1.5rem; }
    .builder-visual { display: contents; }
    .basket {
        order: -1;
        position: sticky;
        top: 64px;
        z-index: 5;
        justify-self: center;
        width: min(360px, 78vw);
        margin-bottom: 2.2rem;
        background: var(--cream-2);
        box-shadow: 0 0 0 100vmax var(--cream-2), 0 24px 18px -6px var(--cream-2);
        clip-path: inset(-6px -100vmax -36px -100vmax);
    }
    .basket-count { bottom: -1.8rem; }
    .caderno { order: 2; justify-self: center; width: 100%; max-width: 440px; margin-top: 1.5rem; scroll-margin-top: 360px; }
}
@media (max-width: 1080px) {
    .nav { display: none; }
    .offers { grid-template-columns: 1fr; }
    .offer-hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
    .events { grid-template-columns: 1fr; }
    .insta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .hero { height: auto; min-height: 100svh; }
    .hero-content { flex-direction: column; justify-content: flex-start; gap: 0; padding: 6.6rem var(--gutter) 2.5rem; height: auto; min-height: 100svh; }
    .hero-stage { position: relative; inset: auto; height: 46svh; min-height: 320px; order: 2; margin: 1.2rem 0 0.4rem; }
    .hero-left { order: 1; gap: 1rem; max-width: none; }
    .main-title { font-size: clamp(3rem, 14vw, 5.2rem); }
    .hero-left .badge { display: none; }
    .hero-right { order: 3; width: 100%; align-items: stretch; text-align: left; }
    .picker { padding-top: 1rem; align-items: stretch; }
    .picker-row { justify-content: space-between; }
    .pick { flex: 1 1 0; width: auto; }
    .pick img { width: 68px; height: 84px; }
    .picker-nav { justify-content: space-between; }
    .picker-nav .btn-wa { flex: 1; justify-content: center; }
    .side-title { display: none; }
    .seal { left: auto; right: 0; bottom: 0; width: 92px; }
    .section-head { grid-template-columns: 1fr; }
    .header .btn-wa .long { display: none; }
    .header .btn-wa .short { display: inline; }
    .story { grid-template-columns: 1fr; }
    .story-photo { max-width: 420px; }
    .how { grid-template-columns: 1fr; gap: 1.6rem; }
    .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .header { padding: 0.9rem var(--gutter); }
    .logo img { height: 46px; }
    .header.scrolled .logo img { height: 40px; }
    .offer-hero { grid-template-columns: 1fr; }
    .o-render { order: -1; height: 380px; }
    .offer-row { grid-template-columns: 84px minmax(0, 1fr); gap: 1rem; }
    .offer-row .o-thumb { height: 108px; }
    .offer-row h3 { font-size: 1.3rem; }
    .basket { top: 58px; width: min(280px, 70vw); }
    .caderno { transform: none; }
    .filters { top: 56px; flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
    .search { flex: 1 1 auto; }
    .toggles { flex: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
    .shelf-row {
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-auto-columns: 62%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin-inline: calc(var(--gutter) * -1);
        padding: 8px var(--gutter) 0.6rem;
        scroll-padding-inline: var(--gutter);
        scrollbar-width: none;
    }
    .shelf-row::-webkit-scrollbar { display: none; }
    .item { scroll-snap-align: start; }
    .spot { height: 220px; }
    .ev-photos { height: 440px; }
    .quote-row { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr 1fr 1fr; gap: 0.6rem; }
    .stats dt { font-size: 1.35rem; }
    .insta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .insta a.tall { grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) {
    .intro { opacity: 1; animation: none; }
    .seal-ring, .seal img, .ticker-group img, .ticker-track.css-run { animation: none; }
    .insta img, .fab, .toast, .spot .window, .spot .pimg, .o-render .pimg { transition-duration: 0ms; }
}
