/* ==========================================================
   MAXIMUS AÇAÍ — Design system
   Base: tinta de açaí (violeta quase preto) + creme de farinha.
   Um único acento: dourado de farinha/tucupi.
   ========================================================== */

/* ---------- Fontes (hospedadas no próprio site, licença SIL OFL) ---------- */
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
    font-family: "Fraunces";
    font-style: italic;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/fraunces-latin-italic.woff2") format("woff2");
}
@font-face {
    font-family: "Instrument Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
}

:root {
    /* Neutros (todos com matiz quente-violeta, nunca cinza puro) */
    --ink:        #240A1C;
    --ink-2:      #3A1030;
    --ink-3:      #5A1840;
    --cream:      #F3E9D4;
    --paper:      #FAF5E9;
    --text:       #2D1226;
    --muted:      #5E4655;          /* 7:1 sobre creme/paper */
    --line:       rgba(36, 10, 28, .16);
    --on-ink:     #F6EEDD;
    --on-ink-dim: rgba(246, 238, 221, .74);
    --line-ink:   rgba(246, 238, 221, .18);

    /* Acento (areia dourada do capacete da logo) + vinho da logo */
    --wine:       #691648;
    --leaf:       #1F9D55;
    --gold:       #E1D195;
    --gold-hover: #ECDDA8;
    --gold-text:  #6F5A3A;          /* dourado legível sobre creme */

    /* Tipografia */
    --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
    --font-body:    "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Escala */
    --gutter: clamp(20px, 5vw, 56px);
    --section: clamp(80px, 11vw, 152px);
    --radius: 14px;
    --ease: cubic-bezier(.22, 1, .36, 1);

    /* Z-index */
    --z-nav: 50;
    --z-float: 60;
    --z-banner: 70;
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--ink); }

/* Granulado sutil: tira a frieza do "chapado digital" */
body::before {
    content: "";
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 1;
    opacity: .07;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); position: relative; z-index: 2; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.skip {
    position: absolute; left: 12px; top: -60px; z-index: 100;
    background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Tipografia ---------- */
.h2, .hero__title, .brand__name, h3 { font-family: var(--font-display); font-weight: 500; }
.h2 {
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -.022em;
    word-spacing: .08em;
    text-wrap: balance;
    font-variation-settings: "opsz" 120;
}
.h2--light { color: var(--on-ink); }
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: .9rem; font-weight: 600; letter-spacing: .01em;
    color: var(--gold-text);
    margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow--light { color: var(--gold); }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 34em; text-wrap: pretty; }
.note { margin-top: 28px; font-size: .95rem; color: var(--muted); max-width: 34em; padding-left: 16px; border-left: 2px solid var(--gold); text-wrap: pretty; }

/* ---------- Botões e links ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 46px; padding: 0 22px;
    font-weight: 600; font-size: 1rem; line-height: 1;
    border: 0; border-radius: 999px;
    transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 28px -10px rgba(225, 209, 149, .55); }
.btn--gold:hover { background: var(--gold-hover); transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--on-ink); box-shadow: 0 12px 30px -12px rgba(36, 10, 28, .55); }
.btn--ink:hover { background: var(--ink-3); transform: translateY(-2px); }

.link {
    display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
    border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
    transition: gap .25s var(--ease), color .2s;
}
.link:hover { gap: 14px; }
.link--light { color: var(--on-ink); }
.link--light:hover { color: var(--gold); }

/* ---------- Navegação ---------- */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
    color: var(--on-ink);
    transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.nav__bar { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav.is-solid { background: rgba(250, 245, 233, .94); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid .btn--gold { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.nav.is-solid .btn--gold:hover { background: var(--ink-3); }

.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.brand__mark { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(225,209,149,.35); }
.brand__name { font-size: 1.4rem; letter-spacing: -.02em; font-weight: 600; line-height: 1; }
.brand__name em { font-style: italic; font-weight: 400; }

.nav__links { display: none; gap: 30px; }
.nav__links a {
    position: relative; font-weight: 500; font-size: .98rem; padding: 6px 0; opacity: .9;
}
.nav__links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
    background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }

.nav__toggle {
    width: 44px; height: 44px; border: 0; background: none; position: relative; border-radius: 10px;
}
.nav__toggle span {
    position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child  { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child  { top: 21px; transform: rotate(-45deg); }

.nav__panel {
    display: flex; flex-direction: column; gap: 4px;
    padding: 8px var(--gutter) 24px;
    background: var(--ink); color: var(--on-ink);
    border-top: 1px solid var(--line-ink);
}
.nav__panel a:not(.btn) { padding: 14px 0; font-size: 1.15rem; font-family: var(--font-display); border-bottom: 1px solid var(--line-ink); }
.nav__panel .btn { margin-top: 18px; }
.nav__cta { display: none; }

@media (min-width: 900px) {
    .nav__links { display: flex; }
    .nav__cta { display: inline-flex; }
    .nav__toggle, .nav__panel { display: none !important; }
}
@media (max-width: 899px) {
    .nav__bar { gap: 8px; }
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section) calc(var(--section) * 1.08); position: relative; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--ink {
    background:
        radial-gradient(900px 520px at 85% -10%, rgba(105, 22, 72, .7), transparent 70%),
        var(--ink);
    color: var(--on-ink);
}
.head { margin-bottom: clamp(40px, 6vw, 72px); }
.head--wide .h2 { max-width: 15em; }

.split { display: grid; gap: clamp(40px, 7vw, 96px); }
.split__head { display: flex; flex-direction: column; align-items: flex-start; }
.split__head .h2 { margin-bottom: 26px; }
@media (min-width: 960px) {
    .split { grid-template-columns: 5fr 6fr; align-items: start; }
    .split--tight { grid-template-columns: 5fr 7fr; }
    .split__head { position: sticky; top: 120px; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100dvh;
    display: flex; align-items: center;
    padding: 116px 0 72px;
    color: var(--on-ink);
    background:
        radial-gradient(800px 600px at 88% 8%, rgba(105, 22, 72, .75), transparent 65%),
        radial-gradient(600px 500px at -5% 105%, rgba(225, 209, 149, .12), transparent 60%),
        var(--ink);
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background-image: radial-gradient(rgba(246, 238, 221, .09) 1.2px, transparent 1.6px);
    background-size: 26px 26px;
    mask-image: linear-gradient(to right, black 0%, transparent 60%);
    -webkit-mask-image: linear-gradient(to right, black 0%, transparent 60%);
}
.hero__grid { display: grid; gap: 52px; align-items: center; }
.hero__title {
    font-size: clamp(2.7rem, 7.4vw, 6rem);
    line-height: 1.03;
    letter-spacing: -.03em;
    word-spacing: .1em;
    font-weight: 500;
    font-variation-settings: "opsz" 144;
    text-wrap: balance;
    margin-bottom: 28px;
}
.hero__title em { display: block; font-style: italic; font-weight: 400; color: var(--gold); }
.hero__lead { font-size: clamp(1.08rem, 1.8vw, 1.3rem); color: var(--on-ink-dim); max-width: 31em; margin-bottom: 38px; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; margin-bottom: 52px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .95rem; color: var(--on-ink-dim); padding-top: 24px; border-top: 1px solid var(--line-ink); max-width: 33em; }
.hero__facts li { display: flex; align-items: center; gap: 10px; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.hero__photo { position: relative; max-width: 460px; width: 100%; margin-inline: auto; }
.hero__photo img {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
    border-radius: 220px 220px 20px 20px;
    box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(246, 238, 221, .1);
}
.hero__photo figcaption {
    position: absolute; left: -14px; bottom: 28px;
    max-width: 230px;
    padding: 16px 18px;
    background: var(--cream); color: var(--ink);
    border-radius: 10px;
    font-size: .92rem; line-height: 1.4;
    box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6);
}
.hero__photo figcaption strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 2px; }

@media (min-width: 960px) {
    .hero__grid { grid-template-columns: 1.12fr .88fr; gap: 72px; }
    .hero__photo { margin-inline: 0 0; justify-self: end; }
    .hero__photo figcaption { left: -56px; }
}

/* ---------- A diferença ---------- */
.stat { display: flex; gap: 20px; align-items: baseline; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 34em; }
.stat__n { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.5rem); line-height: .9; letter-spacing: -.04em; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.stat__t { font-size: .98rem; color: var(--muted); }

.diff__top { display: grid; gap: 28px 80px; margin-bottom: clamp(44px, 6vw, 72px); align-items: end; }
.diff__aside .stat { margin-top: 32px; }
@media (min-width: 900px) { .diff__top { grid-template-columns: 1.15fr 1fr; } }

.compare { display: grid; gap: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 70px -40px rgba(36, 10, 28, .5); }
.compare__col { padding: 32px clamp(24px, 4vw, 40px); background: var(--paper); color: var(--text); }
.compare__col--pa { background: var(--ink); color: var(--on-ink); position: relative; }
.compare__col h3 { font-size: 1.6rem; letter-spacing: -.02em; margin-bottom: 20px; font-weight: 600; }
.compare__col--pa h3 { color: var(--gold); }
.compare dl > div { display: grid; grid-template-columns: 8em 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.compare__col--pa dl > div { border-top-color: var(--line-ink); }
.compare dt { font-size: .88rem; font-weight: 600; opacity: .62; }
.compare dd { font-size: 1rem; }
@media (min-width: 760px) { .compare { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .compare dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Como se toma ---------- */
.pairings { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.pairing { display: grid; grid-template-columns: auto 1fr; gap: 22px 32px; padding: 34px 0; border-bottom: 1px solid var(--line); align-items: start; }
.pairing__n { font-family: var(--font-display); font-style: italic; font-size: clamp(2.6rem, 5vw, 4rem); line-height: .85; color: var(--gold-text); min-width: 1.1em; font-weight: 400; }
.pairing h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 10px; }
.pairing p { color: var(--muted); max-width: 36em; text-wrap: pretty; }

/* ---------- Processo ---------- */
.process { display: grid; gap: 56px; align-items: start; }
.process__photo { position: relative; }
.process__photo img { width: 100%; border-radius: 20px 20px 20px 120px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; box-shadow: 0 40px 70px -35px rgba(36, 10, 28, .6); }
.steps { counter-reset: step; margin-top: 36px; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 22px 0 22px 56px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute; left: 0; top: 26px;
    font-family: var(--font-display); font-size: 1.05rem; font-style: italic; color: var(--gold-text); font-variant-numeric: tabular-nums;
}
.steps h3 { font-size: 1.35rem; letter-spacing: -.015em; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 1rem; text-wrap: pretty; }
@media (min-width: 960px) {
    .process { grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 100px); }
    .process__photo { position: sticky; top: 110px; }
    .process__photo img { aspect-ratio: 7 / 10; max-height: calc(100dvh - 150px); object-position: 50% 40%; }
}

/* ---------- Tipos ---------- */
.tiers { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.tier {
    display: grid; grid-template-columns: auto 1fr; gap: 14px 26px; align-items: center;
    padding: 30px 0; border-bottom: 1px solid var(--line);
}
.tier__density { display: grid; gap: 4px; width: 44px; }
.tier__density i { display: block; height: 10px; border-radius: 3px; border: 1.5px solid var(--ink); }
.tier__density i.on { background: var(--ink); }
.tier h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); letter-spacing: -.02em; line-height: 1.1; }
.tier__meta { font-size: .88rem; font-weight: 600; color: var(--gold-text); margin: 4px 0 8px; font-variant-numeric: tabular-nums; }
.tier__body p:last-child { color: var(--muted); font-size: 1rem; }
.tier__cta {
    grid-column: 1 / -1;
    display: inline-flex; align-items: center; gap: 8px; font-weight: 600; justify-self: start;
    padding: 12px 0; border-bottom: 1.5px solid var(--ink);
    transition: gap .25s var(--ease), color .2s, border-color .2s;
}
.tier__cta:hover { gap: 14px; color: var(--gold-text); border-color: var(--gold-text); }
.tier--top .tier__density i { background: var(--ink); }
@media (min-width: 720px) {
    .tier { grid-template-columns: auto 1fr auto; gap: 30px; }
    .tier__cta { grid-column: auto; justify-self: end; }
}

/* ---------- Negócios ---------- */
.biz { border-top: 1px solid var(--line-ink); }
.biz__row { display: grid; gap: 14px 40px; padding: 38px 0; border-bottom: 1px solid var(--line-ink); align-items: baseline; }
.biz__row h3 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); letter-spacing: -.02em; line-height: 1.1; color: var(--on-ink); }
.biz__row p { color: var(--on-ink-dim); max-width: 32em; text-wrap: pretty; }
.biz__row .link { justify-self: start; }
@media (min-width: 900px) {
    .biz__row { grid-template-columns: 1.05fr 1.2fr 13.5rem; }
    .biz__row .link { justify-self: end; }
}

/* ---------- Contato ---------- */
.bigwa {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em;
    font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1;
    padding: 18px 28px 18px 22px; margin-bottom: 36px;
    background: var(--ink); color: var(--on-ink); border-radius: 999px;
    box-shadow: 0 24px 40px -24px rgba(36, 10, 28, .7);
    transition: transform .25s var(--ease), background-color .2s;
    font-variant-numeric: tabular-nums;
}
.bigwa .ico { width: 1em; height: 1em; color: var(--gold); }
.bigwa:hover { transform: translateY(-3px); background: var(--ink-3); }
.bigwa:active { transform: scale(.98); }
.info { display: grid; gap: 14px; }
.info li { display: flex; gap: 14px; align-items: flex-start; color: var(--text); }
.info .ico { margin-top: 3px; color: var(--gold-text); width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; }
.info a { border-bottom: 1px solid var(--line); }
.info a:hover { border-color: var(--ink); }
.social { display: flex; gap: 10px; margin-top: 28px; }
.social a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--ink); transition: background-color .2s, color .2s, transform .2s var(--ease); }
.social a:hover { background: var(--ink); color: var(--on-ink); }
.social .ico { width: 22px; height: 22px; fill: none; stroke: currentColor; }

.form {
    background: var(--paper); border-radius: 22px; padding: clamp(24px, 4vw, 44px);
    box-shadow: 0 40px 70px -40px rgba(36, 10, 28, .45), 0 0 0 1px var(--line);
}
.form h3 { font-size: 1.7rem; letter-spacing: -.02em; margin-bottom: 6px; }
.form__hint { color: var(--muted); font-size: .95rem; margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
    width: 100%; font: inherit; color: var(--text);
    padding: 13px 15px; min-height: 50px;
    background: #fff; border: 1.5px solid rgba(36, 10, 28, .28); border-radius: 10px;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #8B7B94; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(225, 209, 149, .45); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #A12B2B; }
.field__err { color: #A12B2B; font-size: .88rem; font-weight: 500; min-height: 0; margin-top: 6px; }
.field__err:empty { display: none; }
.form .btn { margin-top: 6px; }
.form__status { margin-top: 16px; font-size: .95rem; color: var(--muted); }
.form__status a { color: var(--ink); font-weight: 600; border-bottom: 1.5px solid var(--gold); }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink); color: var(--on-ink); padding: 72px 0 28px; position: relative; z-index: 2; }
.footer__grid { display: grid; gap: 40px; padding-bottom: 48px; }
.brand--footer { margin-bottom: 16px; }
.brand--footer .brand__mark { width: 64px; height: 64px; }
.footer__tag { color: var(--on-ink-dim); max-width: 24em; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-content: start; }
.footer__nav a { color: var(--on-ink-dim); transition: color .2s; }
.footer__nav a:hover { color: var(--gold); }
.footer__base { font-size: .9rem; color: var(--on-ink-dim); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-bottom: 20px; }
.footer__legal a, .footer__legal button { color: var(--on-ink-dim); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-ink); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
.footer__legal a:hover, .footer__legal button:hover { color: var(--gold); text-decoration-color: var(--gold); }
.footer__cnpj { font-variant-numeric: tabular-nums; opacity: .85; }
.footer__base-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid var(--line-ink); }
.footer__base a { color: var(--on-ink); border-bottom: 1px solid var(--line-ink); transition: color .2s, border-color .2s; }
.footer__base a:hover { color: var(--gold); border-color: var(--gold); }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.2fr 1fr; align-items: start; } .footer__nav { justify-content: flex-end; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
    position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: var(--z-float);
    width: 58px; height: 58px; display: grid; place-items: center;
    background: #1FA855; color: #fff; border-radius: 50%; font-size: 30px;
    box-shadow: 0 16px 30px -10px rgba(10, 80, 40, .6);
    transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-float .ico { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float:active { transform: scale(.96); }

/* ---------- Revelação ao rolar (só com JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}
@media print {
    .nav, .wa-float, body::before { display: none !important; }
}

/* ---------- Delivery ---------- */
.delivery {
    margin-top: clamp(56px, 8vw, 96px);
    display: grid; gap: 28px 48px; align-items: center;
    padding: clamp(28px, 5vw, 56px);
    background:
        radial-gradient(520px 320px at 100% 0%, rgba(225, 209, 149, .16), transparent 70%),
        var(--wine);
    color: var(--on-ink);
    border-radius: 24px;
    box-shadow: 0 40px 70px -40px rgba(36, 10, 28, .7);
}
.delivery h3 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); letter-spacing: -.02em; line-height: 1.08; margin: 10px 0 12px; text-wrap: balance; word-spacing: .06em; }
.delivery p { color: var(--on-ink-dim); max-width: 34em; text-wrap: pretty; }
.delivery .btn { justify-self: start; }
.tag { display: inline-flex; align-items: center; gap: 9px; font-size: .88rem; font-weight: 600; color: var(--gold); }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px rgba(31, 157, 85, .25); }
@media (min-width: 860px) { .delivery { grid-template-columns: 1fr auto; } .delivery .btn { justify-self: end; } }

.hero__actions .btn--ghost { color: var(--on-ink); box-shadow: inset 0 0 0 1.5px var(--line-ink); background: transparent; }
.btn--ghost:hover { background: rgba(246, 238, 221, .08); transform: translateY(-2px); }
.info a.maps { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; margin-top: 4px; }

/* ---------- Galeria da bancada ---------- */
.gallery { display: grid; gap: 28px; }
.shot img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: var(--pos, 50% 50%); border-radius: 18px; box-shadow: 0 34px 60px -36px rgba(36, 10, 28, .6); background: var(--ink-2); }
.shot:nth-child(2) img { border-radius: 18px 18px 18px 90px; }
.shot:nth-child(3) img { border-radius: 90px 18px 18px 18px; }
.shot p { margin-top: 14px; font-size: .98rem; color: var(--muted); }
@media (max-width: 719px) {
    .gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 8px; scrollbar-width: none; }
    .gallery::-webkit-scrollbar { display: none; }
    .shot { flex: 0 0 78%; scroll-snap-align: center; }
}
@media (min-width: 720px) {
    .gallery { grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
    .shot--down { margin-top: clamp(32px, 5vw, 72px); }
}

/* ---------- Como se toma: fotos + lista ---------- */
.eat { display: grid; gap: 56px; align-items: start; }
.eat__text .pairings { margin-top: clamp(28px, 4vw, 48px); }
.eat__photos { position: relative; padding-bottom: 16%; }
.eat__a { width: 86%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 40%; border-radius: 150px 20px 20px 20px; box-shadow: 0 40px 70px -36px rgba(36, 10, 28, .6); }
.eat__b { position: absolute; right: 0; bottom: 0; width: 54%; aspect-ratio: 1; object-fit: cover; object-position: 45% 35%; border-radius: 18px; border: 6px solid var(--paper); box-shadow: 0 30px 50px -28px rgba(36, 10, 28, .6); }
@media (min-width: 960px) {
    .eat { grid-template-columns: 5fr 6fr; gap: clamp(48px, 7vw, 100px); }
    .eat__photos { position: sticky; top: 110px; }
}

.tier__name { display: inline-block; margin-left: 6px; font-style: italic; font-weight: 400; color: var(--gold-text); font-size: .82em; letter-spacing: -.01em; }

/* ---------- Banner de cookies ---------- */
.consent {
    position: fixed; z-index: var(--z-banner);
    left: 12px; right: 12px; bottom: 12px;
    max-width: 30rem;
    padding: 20px 20px 18px;
    background: var(--ink); color: var(--on-ink);
    border-radius: 18px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .65), 0 0 0 1px var(--line-ink);
    opacity: 0; transform: translateY(16px);
    transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.consent.is-open { opacity: 1; transform: none; }
.consent:focus { outline: none; }
.consent:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.consent__title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; margin: 0 0 8px; }
.consent__text { font-size: .94rem; line-height: 1.55; color: var(--on-ink-dim); margin: 0 0 16px; text-wrap: pretty; }
.consent__text a { color: var(--on-ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
/* mesmo peso visual nas duas opções (recusar não pode ficar escondido) */
.consent__btn { min-height: 44px; background: transparent; color: var(--on-ink); box-shadow: inset 0 0 0 1.5px var(--gold); }
.consent__btn:hover { background: rgba(225, 209, 149, .14); transform: translateY(-1px); }
@media (min-width: 720px) { .consent { left: 24px; right: auto; bottom: 24px; } }
@media (min-width: 900px) {
    .consent { right: 96px; max-width: 64rem; display: grid; grid-template-columns: 1fr auto; column-gap: 40px; align-items: center; padding: 18px 24px; }
    .consent__title { grid-column: 1; margin: 0 0 4px; }
    .consent__text { grid-column: 1; margin: 0; }
    .consent__actions { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: auto auto; }
    .consent__btn { padding-inline: 22px; white-space: nowrap; }
}

/* ---------- Documentos legais ---------- */
.legal-page { background: var(--paper); padding: 132px 0 var(--section); position: relative; z-index: 2; }
.legal__head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 46rem; }
.legal__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1.04; letter-spacing: -.025em; word-spacing: .08em; text-wrap: balance; margin-bottom: 14px; }
.legal__meta { color: var(--muted); font-size: .95rem; }
.legal__grid { display: grid; gap: 36px; }
.legal__toc { font-size: .95rem; }
.legal__toc p { font-weight: 600; margin-bottom: 10px; }
.legal__toc ol { counter-reset: toc; display: grid; gap: 2px; }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: block; padding: 6px 0 6px 28px; position: relative; color: var(--muted); transition: color .2s; }
.legal__toc a::before { content: counter(toc) "."; position: absolute; left: 0; font-variant-numeric: tabular-nums; color: var(--gold-text); }
.legal__toc a:hover { color: var(--ink); }
.legal__body { max-width: 46rem; }
.legal__summary { background: var(--cream); border-left: 3px solid var(--gold-text); border-radius: 4px 14px 14px 4px; padding: 22px 24px; margin-bottom: 44px; }
.legal__summary h2 { font-size: 1.25rem; margin-bottom: 12px; }
.legal__summary ul { display: grid; gap: 8px; }
.legal__summary li { padding-left: 20px; position: relative; }
.legal__summary li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-text); }
.legal__note { margin-top: 14px; font-size: .88rem; color: var(--muted); }
.legal__body section { padding-top: 8px; margin-bottom: 40px; scroll-margin-top: 96px; }
.legal__body h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -.02em; line-height: 1.15; margin-bottom: 16px; }
.legal__body h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; margin: 22px 0 8px; }
.legal__body p { margin-bottom: 14px; text-wrap: pretty; }
.legal__body ul { display: grid; gap: 8px; margin-bottom: 16px; padding-left: 0; }
.legal__body ul li { padding-left: 20px; position: relative; }
.legal__body ul li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-text); }
.legal__body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold-text); text-underline-offset: 3px; }
.legal__body a:hover { color: var(--gold-text); }
.legal__body code { font-size: .88em; background: var(--cream); padding: 2px 6px; border-radius: 5px; }
.legal__table { overflow-x: auto; margin: 6px 0 18px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.legal__table table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 34rem; }
.legal__table th { text-align: left; background: var(--cream); font-weight: 600; }
.legal__table th, .legal__table td { padding: 12px 14px; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal__table tr:last-child td { border-bottom: 0; }
@media (min-width: 960px) {
    .legal__grid { grid-template-columns: 15rem 1fr; gap: 64px; align-items: start; }
    .legal__toc { position: sticky; top: 108px; }
}

/* ---------- Página 404 ---------- */
.err {
    min-height: 100dvh; display: flex; align-items: center;
    padding: 120px 0 72px; color: var(--on-ink);
    background:
        radial-gradient(800px 600px at 88% 8%, rgba(105, 22, 72, .75), transparent 65%),
        var(--ink);
    position: relative; z-index: 2; overflow: hidden;
}
.err__grid { display: grid; gap: 48px; align-items: center; }
.err__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: 1.03; letter-spacing: -.03em; word-spacing: .1em; text-wrap: balance; margin-bottom: 24px; }
.err__title em { display: block; font-style: italic; font-weight: 400; color: var(--gold); }
.err__lead { color: var(--on-ink-dim); font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 30em; margin-bottom: 32px; text-wrap: pretty; }
.err__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.err__links { display: flex; flex-wrap: wrap; gap: 8px 26px; padding-top: 22px; border-top: 1px solid var(--line-ink); max-width: 30em; }
.err__links a { color: var(--on-ink-dim); text-decoration: underline; text-decoration-color: var(--line-ink); text-underline-offset: 4px; transition: color .2s; }
.err__links a:hover { color: var(--gold); }
.err__photo { max-width: 360px; width: 100%; margin-inline: auto; }
.err__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px 20px 20px; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(246, 238, 221, .1); }
@media (min-width: 900px) { .err__grid { grid-template-columns: 1.15fr .85fr; gap: 72px; } .err__photo { justify-self: end; } }

/* links legais do rodapé: mesmo estilo para <a> e <button> */
.footer__base .footer__legal a, .footer__base .footer__legal button {
    color: var(--on-ink-dim); border-bottom: 0;
    text-decoration: underline; text-decoration-color: var(--line-ink); text-underline-offset: 4px;
}
.footer__base .footer__legal a:hover, .footer__base .footer__legal button:hover { color: var(--gold); text-decoration-color: var(--gold); }
.consent { max-width: 72rem; }
