/* ==========================================================================
   Loja de peptídeos: estilos do site
   ========================================================================== */

:root {
    --bg: #f4f7f6;
    --surface: #ffffff;
    --ink: #0b1b1e;
    --ink-2: #2a3d40;
    --muted: #5b6b6e;
    --line: #e1e9e7;
    --brand: #0e7c72;
    --brand-dark: #0a5c55;
    --brand-soft: #e2f3f0;
    --navy: #071a21;
    --navy-2: #0d2b34;
    --accent: #c6f35e;
    --accent-dark: #a9d83c;
    --wa: #1faa55;
    --wa-dark: #178a44;
    --danger: #b42318;
    --danger-soft: #fdecea;
    --warn-soft: #fff5d9;
    --cat: var(--brand);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(7, 26, 33, .05), 0 10px 30px rgba(7, 26, 33, .06);
    --shadow-lg: 0 2px 4px rgba(7, 26, 33, .06), 0 24px 48px rgba(7, 26, 33, .12);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Sora', var(--font);
    --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

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

/* scroll-padding-top e os "top" abaixo acompanham a altura da barra fixa (68px + folga). */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; border-radius: 6px; }

[hidden] { display: none !important; }
.icon { flex: none; vertical-align: middle; }
.muted { color: var(--muted); }
.sr-only, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cat); flex: none; }

/* ---------- Botões ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.2;
    text-decoration: none; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; border-color: #c5d3d0; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn--sm { padding: 7px 14px; font-size: 14px; }
.btn--lg { padding: 14px 24px; font-size: 16px; }
.btn--xl { padding: 18px 32px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.btn--accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(31, 170, 85, .25); }
.btn--wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); }
.btn--ghost-light { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .25); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .45); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); }
.icon-btn:hover { background: var(--danger-soft); color: var(--danger); }

/* ---------- Topo ---------- */

.topbar { background: var(--navy); color: #cfe3e0; font-size: 13px; text-align: center; padding: 8px 0; letter-spacing: .01em; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; gap: 16px; min-height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo--light { color: #fff; }

.search { position: relative; flex: 1; max-width: 360px; margin-left: 12px; color: var(--muted); }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.search input { width: 100%; padding: 10px 16px 10px 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.search input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-soft); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav a:hover { background: var(--bg); text-decoration: none; }
.nav a.is-active { background: var(--brand-soft); color: var(--brand-dark); font-weight: 600; }
.nav__title, .nav__cat { display: none; }

.cart-btn { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; flex: none; }
.cart-btn:hover { background: var(--navy-2); }
.cart-btn__count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--navy); font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.cart-btn__count[hidden] { display: none; }
.cart-btn__count.is-bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; flex: none; }

/* As categorias quebram em linha para nenhuma ficar cortada. No celular esta faixa
   é escondida e as categorias aparecem dentro do menu (ver .nav__cat). */
.catbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.catbar__scroll { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; padding-top: 8px; padding-bottom: 8px; }
.catbar__link { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.catbar__link:hover { background: var(--bg); text-decoration: none; }
.catbar__link.is-active { background: color-mix(in srgb, var(--cat) 12%, white); color: var(--ink); font-weight: 600; }

/* ---------- Alertas / toast ---------- */

.alert { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 15px; border: 1px solid transparent; }
.alert--success { background: #e7f6ec; border-color: #bfe5cb; color: #14532d; }
.alert--error { background: var(--danger-soft); border-color: #f6c6c1; color: var(--danger); }
.alert--info { background: var(--brand-soft); border-color: #bfe3dd; color: var(--brand-dark); }
.alert--warning { background: var(--warn-soft); border-color: #f3dc9a; color: #6b4e00; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, 24px); max-width: calc(100vw - 32px); padding: 13px 20px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 15px; font-weight: 500; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--accent); font-weight: 700; margin-left: 10px; }
.toast--error { background: var(--danger); }

/* ---------- Hero ---------- */

.hero {
    position: relative; overflow: hidden; color: #fff;
    background:
        radial-gradient(900px 480px at 85% 10%, rgba(14, 124, 114, .55), transparent 60%),
        radial-gradient(600px 400px at 0% 100%, rgba(198, 243, 94, .10), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
}
.hero::before {
    content: ''; position: absolute; inset: 0; opacity: .35; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 55 16.5v31L28 63 1 47.5v-31zM28 64.5 55 80v17M28 64.5 1 80v17' fill='none' stroke='%23ffffff' stroke-opacity='.09'/%3E%3C/svg%3E");
    mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; margin: 18px 0; text-wrap: balance; }
.hero__lead { font-size: 18px; color: #c5d8d6; max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__stats { display: flex; gap: 36px; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); }
.hero__stats dt { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--accent); line-height: 1; }
.hero__stats dd { margin: 6px 0 0; font-size: 14px; color: #a9c2bf; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(198, 243, 94, .12); color: var(--accent); font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow--dark { background: var(--brand-soft); color: var(--brand-dark); }

.hero__art { position: relative; height: 420px; }
.hero__vial { position: absolute; bottom: 0; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.hero__vial .vial, .hero__vial img { width: 100%; height: auto; border-radius: 18px; }
.hero__vial--1 { left: 26%; width: 48%; z-index: 3; }
.hero__vial--2 { left: 0; width: 36%; z-index: 2; bottom: 14px; transform: rotate(-7deg); opacity: .95; }
.hero__vial--3 { right: 0; width: 36%; z-index: 1; bottom: 14px; transform: rotate(7deg); opacity: .95; }

/* ---------- Seções ---------- */

.section { padding: 72px 0; }
.section--tint { background: #eaf0ee; }
.section--flush { padding: 32px 0 56px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section__head h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 12px; text-wrap: balance; }
.section__head--center { justify-content: center; text-align: center; }

.highlights { background: var(--surface); border-bottom: 1px solid var(--line); }
.highlights__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.highlight { display: flex; gap: 14px; padding: 26px 22px; border-left: 1px solid var(--line); }
.highlight:first-child { border-left: 0; padding-left: 0; }
.highlight__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); flex: none; }
.highlight strong { display: block; font-size: 15px; }
.highlight p { font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 2px; }

/* ---------- Categorias ---------- */

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.cat-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--cat); }
.cat-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--cat) 40%, var(--line)); }
.cat-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: color-mix(in srgb, var(--cat) 12%, white); color: var(--cat); }
.cat-card h3 { font-size: 19px; }
.cat-card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.cat-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; font-weight: 600; color: var(--cat); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Card de produto ---------- */

.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pgrid--3 { grid-template-columns: repeat(3, 1fr); }

.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pcard__media { position: relative; display: grid; place-items: center; aspect-ratio: 5 / 4; padding: 14px 14px 10px; background: radial-gradient(circle at 50% 35%, #fff 0%, color-mix(in srgb, var(--cat) 13%, #f1f5f4) 100%); }
.pcard__media .vial { height: 100%; width: auto; max-height: 210px; transition: transform .3s; }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard:hover .vial { transform: translateY(-4px) scale(1.03); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 14px; }
.pcard__title { font-size: 18px; margin-top: 8px; }
.pcard__title a { color: var(--ink); }
.pcard__pres { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: 3px; }
.pcard__desc { font-size: 13.5px; color: var(--muted); line-height: 1.5; margin: 8px 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__prices { margin-top: auto; display: grid; gap: 8px; }

.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--cat) 11%, white); color: color-mix(in srgb, var(--cat) 80%, black); font-size: 12px; font-weight: 600; }
.chip:hover { text-decoration: none; background: color-mix(in srgb, var(--cat) 20%, white); }

.badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.badge--featured { background: var(--navy); color: var(--accent); }
.badge--out { background: #fff; color: var(--danger); border: 1px solid #f6c6c1; }

.priceline { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 9px 9px 12px; border-radius: 12px; background: var(--bg); border: 1px solid transparent; }
.priceline--box { background: color-mix(in srgb, var(--accent) 22%, white); border-color: color-mix(in srgb, var(--accent-dark) 45%, white); }
.priceline__info { display: grid; line-height: 1.25; }
.priceline__label { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.priceline__label em { font-style: normal; margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: var(--navy); color: var(--accent); font-size: 10.5px; }
.priceline__price { font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.priceline small { font-size: 12px; color: var(--ink-2); }
.btn-add { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; border: 0; background: var(--navy); color: #fff; transition: transform .15s, background .15s; }
.btn-add:hover { background: var(--brand); transform: scale(1.08); }
.btn-add:disabled { background: #b8c4c2; cursor: not-allowed; transform: none; }
.btn-add.is-done { background: var(--wa); }

/* ---------- Atacado / passos ---------- */

.wholesale { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding: 48px; border-radius: 24px; color: #fff; background: radial-gradient(500px 300px at 100% 0%, rgba(198, 243, 94, .18), transparent 60%), linear-gradient(135deg, var(--navy), var(--brand-dark)); }
.wholesale h2 { font-size: clamp(24px, 3vw, 34px); margin: 14px 0 12px; }
.wholesale p { color: #c5d8d6; margin-bottom: 24px; max-width: 58ch; }
.wholesale__list { display: grid; gap: 12px; }
.wholesale__list li { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); font-weight: 500; }
.wholesale__list .icon { color: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.steps li { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--accent); font-family: var(--font-mono); font-weight: 600; margin-bottom: 16px; }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- Cabeçalho de página / catálogo ---------- */

.page-head { padding: 28px 0 30px; background: linear-gradient(180deg, color-mix(in srgb, var(--cat) 9%, white), var(--bg)); border-bottom: 1px solid var(--line); }
.page-head--slim { padding: 20px 0; background: transparent; border: 0; }
.page-head h1 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 10px; }
.page-head p { color: var(--muted); max-width: 72ch; margin-top: 8px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs strong { color: var(--ink); font-weight: 600; }

/* min-width: 0 evita que os carrosséis internos (lista de categorias) estiquem a coluna. */
.catalog { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 32px; align-items: start; }
.catalog__side, .catalog__main { min-width: 0; }
.catalog__side { position: sticky; top: 88px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.side-title { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 4px 8px 10px; }
.side-list a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.3; }
.side-list a span { display: inline-flex; align-items: center; gap: 10px; }
.side-list a:hover { background: var(--bg); text-decoration: none; }
.side-list a.is-active { background: var(--navy); color: #fff; font-weight: 600; }
.side-list small { font-family: var(--font-mono); font-size: 12px; opacity: .7; }

.toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 500; }
.pill:hover { text-decoration: none; border-color: #c5d3d0; }
.pill.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.sort select { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.result-note { margin-bottom: 18px; color: var(--muted); }

.cat-block { margin-bottom: 44px; }
.cat-block__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 2px solid color-mix(in srgb, var(--cat) 35%, white); }
.cat-block__head h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.cat-block__head h2 .dot { width: 12px; height: 12px; }
.cat-block__head p { color: var(--muted); font-size: 14.5px; margin-top: 4px; max-width: 70ch; }

.empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 64px 24px; border-radius: var(--radius); background: var(--surface); border: 1px dashed #c9d6d3; color: var(--muted); }
.empty h1, .empty h2 { color: var(--ink); font-size: 22px; }
.empty .btn { margin-top: 10px; }

/* ---------- Página de produto ---------- */

.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product__media { position: sticky; top: 88px; display: grid; place-items: center; aspect-ratio: 1; padding: 40px; border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(circle at 50% 35%, #fff 0%, color-mix(in srgb, var(--cat) 15%, #eef3f2) 100%); overflow: hidden; }
.product__media .vial { height: 100%; width: auto; }
.product__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product__info h1 { font-size: clamp(30px, 4vw, 44px); margin-top: 12px; }
.product__pres { font-family: var(--font-mono); font-size: 14px; color: var(--muted); margin-top: 6px; }
.product__lead { font-size: 17px; color: var(--ink-2); margin-top: 14px; }

.buybox { margin-top: 26px; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.modes legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
.mode { position: relative; cursor: pointer; }
.mode input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mode__body { display: grid; gap: 3px; height: 100%; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--line); transition: border-color .15s, background .15s; }
.mode:hover .mode__body { border-color: #c5d3d0; }
.mode input:checked + .mode__body { border-color: var(--brand); background: var(--brand-soft); }
.mode input:focus-visible + .mode__body { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }
.mode__title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.mode__price { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.mode__price em { font-family: var(--font); font-style: normal; padding: 3px 8px; border-radius: 999px; background: var(--navy); color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.mode__hint { font-size: 13px; color: var(--muted); }

.buybox__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px 0; }
.buybox__total { text-align: right; line-height: 1.2; }
.buybox__total span { display: block; font-size: 13px; color: var(--muted); }
.buybox__total strong { font-family: var(--font-display); font-size: 28px; }
.buybox__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); overflow: hidden; }
.qty button { display: grid; place-items: center; width: 44px; height: 46px; border: 0; background: transparent; color: var(--ink-2); }
.qty button:hover { background: var(--bg); }
.qty input { width: 52px; height: 46px; border: 0; text-align: center; font-weight: 600; font-size: 16px; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty--sm button { width: 36px; height: 38px; }
.qty--sm input { width: 42px; height: 38px; font-size: 15px; }

.assurances { display: grid; gap: 10px; margin-top: 22px; font-size: 14.5px; color: var(--ink-2); }
.assurances li { display: flex; gap: 10px; align-items: center; }
.assurances .icon { color: var(--brand); }

.product-details { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.prose, .specs { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.prose h2, .specs h2 { font-size: 22px; margin-bottom: 16px; }
.prose h3 { font-size: 17px; margin: 24px 0 8px; }
.prose p { margin-bottom: 12px; color: var(--ink-2); }
.prose ul { display: grid; gap: 8px; margin-bottom: 12px; }
.prose li { position: relative; padding-left: 22px; color: var(--ink-2); }
.prose li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.specs dl { margin: 0; }
.specs dl div { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.specs dt { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding-top: 2px; }
.specs dd { margin: 0; font-weight: 500; }
.notice { display: flex; gap: 12px; margin-top: 24px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--warn-soft); border: 1px solid #f3dc9a; color: #6b4e00; font-size: 13.5px; line-height: 1.55; }
.notice .icon { margin-top: 2px; }

/* ---------- Carrinho ---------- */

.cart, .checkout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.cart__lines { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 22px; }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto 110px 38px; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line__media { position: relative; display: grid; place-items: center; width: 76px; height: 76px; padding: 6px; border-radius: 14px; overflow: hidden; background: color-mix(in srgb, var(--cat) 11%, #f4f7f6); }
.cart-line__media .vial { height: 100%; width: auto; }
.cart-line__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cart-line__info { display: grid; gap: 3px; justify-items: start; min-width: 0; }
.cart-line__name { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.cart-line__pres { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.cart-line__unit { font-size: 13px; color: var(--muted); }
.cart-line__total { text-align: right; font-family: var(--font-display); font-size: 17px; }
.cart__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; }

.tagmode { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--bg); color: var(--ink-2); }
.tagmode--box { background: color-mix(in srgb, var(--accent) 35%, white); color: #33480a; }

.summary { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.summary--sticky { position: sticky; top: 88px; }
.summary h2 { font-size: 20px; margin-bottom: 14px; }
.summary dl, .summary__dl { margin: 0 0 18px; }
.summary dl div, .summary__dl div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 15px; }
.summary dd, .summary__dl dd { margin: 0; text-align: right; }
.summary__total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px !important; font-weight: 700; }
.summary__total dd { font-family: var(--font-display); font-size: 24px; }
.summary__hint { display: flex; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.summary__hint .icon { color: var(--wa); margin-top: 2px; }
.summary__items { display: grid; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.summary__items li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; font-size: 14.5px; align-items: start; }
.summary__qty { font-family: var(--font-mono); font-weight: 600; color: var(--brand-dark); }
.summary__name { font-weight: 600; line-height: 1.35; }
.summary__name small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }

/* ---------- Checkout ---------- */

.checkout__form { display: grid; gap: 18px; }
.card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card legend, .card h2 { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 18px; padding: 0; }
/* <legend> só respeita o layout do fieldset quando flutua; o irmão seguinte limpa o float. */
.card legend { float: left; width: 100%; }
.card legend + * { clear: both; }
.card__step { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--navy); color: var(--accent); font-family: var(--font-mono); font-size: 14px; }

.grid { display: grid; gap: 14px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }
.col-1 { grid-column: span 1; } .col-2 { grid-column: span 2; } .col-3 { grid-column: span 3; } .col-4 { grid-column: span 4; }

.field { display: grid; gap: 6px; align-content: start; }
.field + .field { margin-top: 14px; }
.grid .field + .field { margin-top: 0; }
.field label, .field .label { font-size: 14px; font-weight: 600; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid #cfdad8; background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field input, .field select { height: 50px; }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field.has-error input, .field.has-error select { border-color: var(--danger); background: #fffafa; }
.field__error { font-size: 13px; color: var(--danger); font-weight: 500; }
.field-hint { font-size: 13px; color: var(--muted); margin-top: 8px; }

.options { display: grid; gap: 8px; }
.option { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid #cfdad8; cursor: pointer; font-weight: 500; }
.option:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.option input { width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.checkout__legal { text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- Pedido ---------- */

.order { max-width: 980px; }
.order__hero { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 44px 24px; border-radius: 24px; color: #fff; background: radial-gradient(500px 260px at 50% 0%, rgba(31, 170, 85, .35), transparent 70%), linear-gradient(160deg, var(--navy), var(--navy-2)); }
.order__hero h1 { font-size: clamp(26px, 3.6vw, 36px); }
.order__hero p { color: #c5d8d6; max-width: 52ch; }
.order__hero .btn { margin-top: 12px; }
.order__check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 0 0 10px rgba(31, 170, 85, .18); margin-bottom: 8px; }
.order__auto { font-size: 13px; color: #a9c2bf; }
.order__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; margin-top: 18px; align-items: start; }
.order__back { margin-top: 24px; text-align: center; }

.facts { margin: 0; display: grid; gap: 0; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.facts div:first-child { border-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }

.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.status--blue { background: #e0edff; color: #1d4ed8; }
.status--amber { background: #fff1cf; color: #8a5a00; }
.status--green { background: #dcf5e4; color: #166534; }
.status--violet { background: #ede5ff; color: #5b21b6; }
.status--slate { background: #e8edee; color: #334155; }
.status--red { background: #fde4e1; color: #b42318; }

/* ---------- Rodapé ---------- */

.footer { margin-top: 40px; padding: 56px 0 28px; background: var(--navy); color: #a9c2bf; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h3 { font-family: var(--font-mono); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.footer ul { display: grid; gap: 8px; }
.footer a { color: #cfe3e0; }
.footer a:hover { color: var(--accent); text-decoration: none; }
.footer__about { margin-top: 14px; max-width: 34ch; }
.footer__disclaimer { margin-top: 40px; padding: 18px 20px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); font-size: 13px; line-height: 1.6; }
.footer__bottom { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 10px 28px rgba(31, 170, 85, .45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- Responsivo ---------- */

@media (max-width: 1100px) {
    .pgrid { grid-template-columns: repeat(3, 1fr); }
    .pgrid--3 { grid-template-columns: repeat(2, 1fr); }
    .highlights__grid { grid-template-columns: repeat(2, 1fr); }
    .highlight { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
    .highlight:nth-child(-n+2) { border-top: 0; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    html { scroll-padding-top: 120px; }
    .nav-toggle { display: grid; }

    /* No celular a faixa daria nomes cortados: as categorias vão para o menu. */
    .catbar { display: none; }
    .nav__title { display: block; margin: 10px 14px 2px; font-family: var(--font-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
    .nav__cat { display: flex !important; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 999px; color: var(--ink-2); font-size: 14.5px; }
    .nav__cat.is-active { background: color-mix(in srgb, var(--cat) 12%, white); color: var(--ink); font-weight: 600; }
    .header__row { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
    .logo { margin-right: auto; }
    .search { order: 5; flex-basis: 100%; max-width: none; margin-left: 0; }
    .nav { display: none; order: 6; flex-basis: 100%; flex-direction: column; align-items: stretch; margin: 0; padding: 6px 0; }
    .nav.is-open { display: flex; max-height: calc(100vh - 170px); overflow-y: auto; overscroll-behavior: contain; }
    .nav a { padding: 12px 14px; }

    .hero__grid { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 0; }
    .hero__art { height: 300px; max-width: 460px; width: 100%; margin: 0 auto; }
    .hero__stats { gap: 24px; }

    .section { padding: 52px 0; }
    .section__head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .section__head--center { align-items: center; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .wholesale { grid-template-columns: 1fr; padding: 32px 24px; }

    .catalog { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .catalog__side { position: static; padding: 12px; }
    .side-title { display: none; }
    .side-list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
    .side-list::-webkit-scrollbar { display: none; }
    .side-list a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; }

    .product { grid-template-columns: 1fr; gap: 24px; }
    .product__media { position: relative; top: 0; aspect-ratio: 4 / 3; padding: 24px; }
    .product-details { grid-template-columns: 1fr; }

    .cart, .checkout, .order__grid { grid-template-columns: 1fr; }
    .summary--sticky { position: static; order: -1; }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .topbar { font-size: 12px; }
    .logo__name { font-size: 17px; }
    .pgrid, .pgrid--3 { grid-template-columns: 1fr 1fr; gap: 12px; }
    .pcard__body { padding: 12px; }
    .pcard__title { font-size: 16px; }
    .pcard__desc { display: none; }
    .pcard__pres { margin-bottom: 10px; }
    .priceline { padding: 8px; }
    .priceline__price { font-size: 15px; }
    .btn-add { width: 34px; height: 34px; }
    .cat-grid { grid-template-columns: 1fr; }
    .highlights__grid { grid-template-columns: 1fr; }
    .highlight, .highlight:nth-child(-n+2) { border-top: 1px solid var(--line); padding: 18px 0; }
    .highlight:first-child { border-top: 0; }
    .hero h1 { font-size: 34px; }
    .hero__lead { font-size: 16px; }
    .hero__actions .btn { width: 100%; }
    .buybox { padding: 16px; }
    .buybox__actions { grid-template-columns: 1fr; }
    .cat-block__head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .cart__lines { padding: 2px 14px; }
    .cart-line { grid-template-columns: 60px 1fr 38px; grid-template-areas: 'media info remove' 'media qty total'; gap: 8px 12px; }
    .cart-line__media { grid-area: media; width: 60px; height: 60px; align-self: start; }
    .cart-line__info { grid-area: info; }
    .cart-line .qty { grid-area: qty; justify-self: start; }
    .cart-line__total { grid-area: total; grid-column: 2 / 4; justify-self: end; align-self: center; }
    .cart-line .icon-btn { grid-area: remove; }
    .cart-line .qty { grid-column: 2; }
    .cart__foot { flex-direction: column-reverse; align-items: stretch; text-align: center; }
    .card { padding: 18px; }
    .grid--2 { grid-template-columns: 1fr; }
    /* Endereço no celular: CEP | endereço | número + complemento | bairro | cidade + UF */
    .grid--6 { grid-template-columns: repeat(4, 1fr); }
    .grid--6 > * { grid-column: span 4; }
    .grid--6 > :nth-child(3), .grid--6 > :nth-child(4) { grid-column: span 2; }
    .grid--6 > :nth-child(6) { grid-column: span 3; }
    .grid--6 > :nth-child(7) { grid-column: span 1; }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .facts div { grid-template-columns: 96px 1fr; }
    .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
}

@media (max-width: 380px) {
    .pgrid, .pgrid--3 { grid-template-columns: 1fr; }
    .pcard__desc { display: -webkit-box; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Verificação de autenticidade ---------- */

.auth-page { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.auth-main h1 { font-size: clamp(28px, 3.6vw, 40px); margin: 14px 0 10px; }
.auth-lead { color: var(--muted); font-size: 17px; max-width: 58ch; }

.auth-form { margin-top: 26px; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.auth-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.auth-form__row { display: flex; gap: 10px; }
.auth-form input {
    flex: 1; min-width: 0; padding: 14px 18px; border-radius: 14px; border: 2px solid #cfdad8; background: #fff;
    font-family: var(--font-mono); font-size: clamp(18px, 4vw, 24px); font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.auth-form input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.auth-form .btn { flex: none; }

.auth-result { display: flex; gap: 18px; margin-top: 24px; padding: 24px; border-radius: 20px; border: 2px solid; }
.auth-result--ok { background: #e7f6ec; border-color: #9bd8b0; color: #14532d; }
.auth-result--warn { background: var(--warn-soft); border-color: #eccb6b; color: #6b4e00; }
.auth-result--bad { background: var(--danger-soft); border-color: #eeafa8; color: #7a1c14; }
.auth-result--neutral { background: #eef2f3; border-color: #ccd8da; color: var(--ink-2); }
.auth-result__icon { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .7); }
.auth-result__body { min-width: 0; }
.auth-result h2 { font-size: 22px; margin-bottom: 6px; }
.auth-result p { line-height: 1.55; }
.auth-result .btn { margin-top: 16px; }
.auth-result__code { font-family: var(--font-mono); font-size: 18px; font-weight: 700; letter-spacing: .1em; margin-bottom: 10px; word-break: break-all; }

.auth-facts { display: grid; gap: 0; margin: 16px 0 0; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .6); }
.auth-facts div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 7px 0; font-size: 14.5px; }
.auth-facts div + div { border-top: 1px solid rgba(0, 0, 0, .07); }
.auth-facts dt { font-weight: 600; opacity: .75; }
.auth-facts dd { margin: 0; }
.auth-expired { margin-left: 6px; }

.auth-side { display: grid; gap: 14px; }
.auth-side .card h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 10px; float: none; width: auto; }
.auth-side .card p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.auth-side .card--wa { border-color: #bfe5cb; background: #f2fbf5; }
.auth-steps { display: grid; gap: 10px; counter-reset: authstep; }
.auth-steps li { position: relative; padding-left: 30px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.auth-steps li::before {
    counter-increment: authstep; content: counter(authstep);
    position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 22px; height: 22px;
    border-radius: 50%; background: var(--navy); color: var(--accent); font-size: 12px; font-weight: 700;
}

@media (max-width: 900px) {
    .auth-page { grid-template-columns: minmax(0, 1fr); }
    .auth-form__row { flex-direction: column; }
    .auth-form .btn { width: 100%; }
    .auth-result { flex-direction: column; gap: 12px; padding: 20px; }
    .auth-facts div { grid-template-columns: 1fr; gap: 2px; }
    .auth-facts div + div { padding-top: 8px; }
}

/* ---------- Área do cliente, pontos e sorteio ---------- */

.conta, .pontos, .sorteio { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.conta--estreita { grid-template-columns: minmax(0, 520px); justify-content: center; }
.conta h1, .pontos h1, .sorteio h1 { font-size: clamp(26px, 3.4vw, 38px); margin: 14px 0 10px; }
.conta .card, .pontos .card, .sorteio .card { display: block; }
.conta__alt { margin-top: 14px; text-align: center; font-size: 14.5px; color: var(--muted); }
.conta__perks { display: grid; gap: 10px; }
.conta__perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.conta__perks .icon { color: var(--brand); margin-top: 2px; }

.conta__topo { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.conta__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 22px; }
.conta__card { display: grid; gap: 4px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.conta__card:hover { text-decoration: none; border-color: #c5d3d0; transform: translateY(-2px); transition: transform .15s; }
.conta__card--destaque { background: linear-gradient(140deg, var(--navy), var(--navy-2)); border-color: var(--navy); color: #fff; }
.conta__card--destaque .conta__label, .conta__card--destaque .conta__hint { color: #a9c2bf; }
.conta__card--destaque .conta__valor { color: var(--accent); }
.conta__label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.conta__valor { font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.1; }
.conta__hint { font-size: 13px; color: var(--muted); }
.conta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.conta__pedidos { display: grid; gap: 10px; }
.conta__pedidos li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.conta__pedidos li:first-child { border-top: 0; }
.conta__ajuda { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 22px; color: var(--muted); font-size: 14.5px; }

.pontos__saldo { display: grid; gap: 6px; padding: 26px; border-radius: 20px; color: #fff; background: radial-gradient(500px 240px at 20% 0%, rgba(198, 243, 94, .18), transparent 70%), linear-gradient(140deg, var(--navy), var(--brand-dark)); margin-bottom: 18px; }
.pontos__label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #c5d8d6; }
.pontos__numero { font-family: var(--font-display); font-size: 48px; font-weight: 800; line-height: 1; color: var(--accent); }
.pontos__pendente { font-size: 13.5px; color: #a9c2bf; }
.pontos__resgate-linha { display: flex; gap: 12px; align-items: flex-end; }
.pontos__resgate-linha .field { flex: 1; margin: 0; }
.extrato { display: grid; gap: 2px; }
.extrato li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.extrato li:first-child { border-top: 0; }
.extrato__info { display: grid; gap: 2px; min-width: 0; }
.extrato__info small { font-size: 12.5px; }
.extrato__valor { font-family: var(--font-display); font-size: 17px; color: var(--brand-dark); }
.extrato__valor.is-negativo { color: var(--danger); }

.sorteio__premio { display: flex; align-items: center; gap: 8px; font-size: 18px; margin: 10px 0; }
.sorteio__premio .icon { color: var(--accent-dark); }
.sorteio__prazo { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.sorteio__form, .sorteio__entrar { margin-top: 18px; }
.sorteio__form h2, .sorteio__entrar h2 { font-size: 19px; margin-bottom: 6px; }
.sorteio__botoes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.sorteio__minhas { margin-top: 22px; }
.sorteio__minhas h2 { font-size: 17px; margin-bottom: 10px; }
.selos { display: grid; gap: 8px; }
.selos li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.selos .mono { font-family: var(--font-mono); font-weight: 600; letter-spacing: .05em; }
.prose--solto { padding: 0; border: 0; background: transparent; }

.auth-pontos { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .65); font-size: 14.5px; }
.auth-pontos .icon { color: var(--accent-dark); }
.auth-pontos--sorteio .icon { color: var(--brand); }

@media (max-width: 900px) {
    .conta, .pontos, .sorteio { grid-template-columns: minmax(0, 1fr); }
    .conta__cards { grid-template-columns: 1fr; }
    .conta__grid { grid-template-columns: 1fr; }
    .pontos__resgate-linha { flex-direction: column; align-items: stretch; }
}

/* Respiro entre blocos de campos e o botão nos formulários da área do cliente.
   (.field + .field já tinha margem, mas um .grid depois de um campo não pegava.) */
.field + .grid, .field-hint + .grid, .grid + .field { margin-top: 16px; }
.conta .card > .btn, .conta .card > .field__error + .btn { margin-top: 22px; }
.conta .card > .field__error { display: block; margin-top: 8px; }
