/* ==========================================================================
   STAR Representação de Papéis — estilos do site institucional
   ========================================================================== */
:root {
  --navy: #153661;
  --navy-800: #0f2748;
  --navy-900: #0a1b33;
  --navy-100: #e3eaf4;
  --navy-50: #f1f5fa;
  --paper: #f6f4ef;
  --white: #ffffff;
  --ink: #16202e;
  --muted: #566277;
  --line: #dde2ea;
  --gold: #e9a820;
  --gold-soft: #fdf3d9;
  --wa: #25d366;
  --wa-dark: #128c4b;
  --danger: #b42318;
  --ok: #17794a;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 39, 72, .06), 0 8px 24px rgba(15, 39, 72, .08);
  --shadow-lg: 0 20px 50px rgba(15, 39, 72, .16);
  --wrap: 1180px;
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --fab-lift: 0px;      /* definido via JS para o botão não cobrir o rodapé */
  --fab-base: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--white);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy-800); letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--navy); color: var(--white); box-shadow: 0 6px 16px rgba(21, 54, 97, .25); }
.btn-primary:hover { background: var(--navy-800); }
.btn-wa { background: var(--wa); color: #06301a; box-shadow: 0 6px 16px rgba(37, 211, 102, .3); }
.btn-wa:hover { background: #1fc25c; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Barra superior e cabeçalho ---------- */
.topbar { background: var(--navy-900); color: #c9d5e6; font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar-contacts { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar-note { display: inline-flex; align-items: center; gap: 8px; }
.topbar-note::before { content: '★'; color: var(--gold); }

.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; padding: 10px 14px; border-radius: 8px; }
.nav a:not(.btn):hover { background: var(--navy-50); color: var(--navy); }
.nav a[aria-current="page"]:not(.btn) { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 8px 8px 0 0; }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; align-items: center; justify-content: center; color: var(--navy); }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 24px 20px; gap: 2px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 8px; border-bottom: 1px solid var(--navy-50); border-radius: 0; }
  .nav .btn { margin: 14px 0 0; }
  .topbar-note { display: none; }
  .logo img { height: 40px; }
  .header .wrap { min-height: 66px; }
}

/* ---------- Seções ---------- */
.section { padding: 84px 0; }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy); color: #d6e0ee; }
.section-navy h2, .section-navy h3 { color: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--gold); }
.section-navy .eyebrow { color: var(--gold); }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p, .lead { color: var(--muted); font-size: 1.1rem; }
.section-navy .section-head p { color: #c2cfe2; }
@media (max-width: 700px) { .section { padding: 60px 0; } }

/* ---------- Hero (home) ---------- */
.hero { background: linear-gradient(180deg, var(--paper) 0%, #fff 100%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 em { font-style: normal; color: var(--navy); background: linear-gradient(transparent 68%, rgba(233, 168, 32, .45) 68%); }
.hero .lead { max-width: 540px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: .93rem; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat; flex: none; }

.hero-art { position: relative; min-height: 440px; }
.hero-art .sheet { position: absolute; background: var(--white); border-radius: 6px; box-shadow: var(--shadow-lg); }
.hero-art .sheet-1 { inset: 6% 12% 4% 16%; transform: rotate(-5deg); background: var(--navy); }
.hero-art .sheet-2 { inset: 4% 8% 6% 20%; transform: rotate(3deg); background-image: repeating-linear-gradient(transparent 0 27px, #e9edf3 27px 28px); background-position: 0 40px; }
.hero-art img { position: absolute; filter: drop-shadow(0 18px 22px rgba(10, 27, 51, .28)); }
.hero-art .p1 { width: 58%; left: 2%; bottom: -2%; }
.hero-art .p2 { width: 56%; right: -2%; bottom: 6%; }
.hero-art .p3 { width: 44%; left: 30%; top: -2%; }
.hero-badge { position: absolute; right: 2%; top: 4%; z-index: 2; background: var(--gold); color: var(--navy-900); border-radius: 50%; width: 118px; height: 118px; display: grid; place-content: center; text-align: center; font-weight: 800; line-height: 1.05; font-size: .82rem; transform: rotate(8deg); box-shadow: var(--shadow); }
.hero-badge strong { display: block; font-size: 1.5rem; }
@media (max-width: 940px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 48px; }
  .hero-art { min-height: 340px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-badge { width: 98px; height: 98px; font-size: .72rem; }
  .hero-badge strong { font-size: 1.25rem; }
}

/* ---------- Faixa de marcas ---------- */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.brands .wrap { display: flex; align-items: center; gap: 12px 34px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.brands span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.brands strong { font-size: 1.15rem; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }

/* ---------- Cards genéricos ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--navy-50); color: var(--navy); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; }
.section-navy .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.section-navy .card p { color: #c2cfe2; }
.section-navy .icon { background: rgba(255, 255, 255, .1); color: var(--gold); }

/* ---------- Cards de produto ---------- */
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card .thumb { background: var(--paper); aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 14px; position: relative; }
.product-card .thumb img { max-height: 100%; width: auto; object-fit: contain; }
.tag { position: absolute; left: 14px; top: 14px; background: var(--navy); color: var(--white); font-size: .72rem; font-weight: 800; letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; }
.product-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .brand { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.product-card h3 { margin: 0; font-size: 1.08rem; }
.product-card .spec { font-size: .86rem; color: var(--navy); font-weight: 600; }
.product-card .desc { font-size: .93rem; color: var(--muted); margin: 4px 0 14px; }
.product-card .btn { margin-top: auto; }

.filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.chip { font: inherit; font-weight: 700; font-size: .92rem; padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Números ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat strong { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--white); line-height: 1; letter-spacing: -.03em; }
.stat strong span { color: var(--gold); }
.stat p { margin: 10px 0 0; color: #c2cfe2; font-size: .96rem; max-width: 220px; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; } }

/* ---------- Entregas ---------- */
.delivery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.delivery-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.delivery-card.free { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft); }
.delivery-card .pill { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--navy-50); color: var(--navy); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.delivery-card.free .pill { background: var(--gold); color: var(--navy-900); }
.delivery-card h3 { font-size: 1.35rem; }
.delivery-card h3 b { color: var(--navy); font-size: 1.9rem; }
.region { padding: 16px 0; border-top: 1px solid var(--line); }
.region:first-of-type { margin-top: 12px; }
.region h4 { font-size: 1rem; margin: 0 0 4px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.region h4 span { font-size: .82rem; font-weight: 700; color: var(--ok); white-space: nowrap; }
.region p { margin: 0; font-size: .92rem; color: var(--muted); }
.note { margin-top: 26px; padding: 18px 22px; background: var(--white); border-left: 4px solid var(--gold); border-radius: var(--radius-sm); color: var(--muted); font-size: .95rem; }
@media (max-width: 800px) { .delivery { grid-template-columns: 1fr; } }

/* ---------- Passos ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 800; margin-bottom: 16px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Faixa CTA ---------- */
.cta-band { background: var(--navy); color: var(--white); border-radius: 22px; padding: 48px; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -60px; top: -70px; width: 260px; height: 260px; background: url('../img/estrela-branca.png') center/contain no-repeat; opacity: .07; transform: rotate(14deg); }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: #c9d5e6; margin: 0; max-width: 560px; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 34px 26px; } }

/* ---------- Cabeçalho de página interna ---------- */
.page-head { background: var(--navy); color: #c9d5e6; padding: 56px 0 60px; position: relative; overflow: hidden; }
.page-head::after { content: ''; position: absolute; right: 4%; bottom: -90px; width: 300px; height: 300px; background: url('../img/estrela-branca.png') center/contain no-repeat; opacity: .06; transform: rotate(-12deg); }
.page-head h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.page-head p { max-width: 640px; margin: 0; font-size: 1.08rem; }
.crumbs { font-size: .85rem; margin-bottom: 16px; color: #9fb2cf; }
.crumbs a { color: #c9d5e6; }

/* ---------- Sobre ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } }
.about-art { background: var(--paper); border-radius: 22px; padding: 40px; display: grid; place-items: center; position: relative; min-height: 340px; }
.about-art img { width: min(300px, 80%); }
.values li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; font-weight: 600; }
.values li::before { content: '★'; color: var(--gold); }
.mvv .card { border-top: 4px solid var(--navy); }

/* ---------- Formulários ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; color: var(--navy-800); }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; width: 100%; min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-100); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field .error { display: none; color: var(--danger); font-size: .82rem; font-weight: 600; }
.field.invalid .error { display: block; }
.form-note { font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Página de pedido ---------- */
.order { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.order-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.order-block > h2 { font-size: 1.35rem; display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.order-block > h2 .n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: .95rem; flex: none; }
.order-block > p.sub { color: var(--muted); margin-bottom: 20px; }
.order-group { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--muted); margin: 22px 0 4px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); }
.item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.item img { width: 72px; height: 72px; object-fit: contain; background: var(--paper); border-radius: 10px; padding: 4px; }
.item h3 { font-size: 1rem; margin: 0 0 2px; }
.item p { margin: 0; font-size: .84rem; color: var(--muted); }
.item.selected h3 { color: var(--navy); }
.item.selected img { box-shadow: 0 0 0 2px var(--navy); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); }
.stepper button { width: 42px; height: 42px; border: 0; background: none; font-size: 1.3rem; font-weight: 700; color: var(--navy); cursor: pointer; border-radius: 50%; line-height: 1; }
.stepper button:hover { background: var(--navy-50); }
.stepper input { width: 46px; text-align: center; border: 0; font: inherit; font-weight: 800; color: var(--ink); background: none; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-unit { display: block; text-align: center; font-size: .72rem; color: var(--muted); margin-top: 4px; }

.summary { position: sticky; top: 100px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.summary h2 { font-size: 1.25rem; }
.summary-empty { color: var(--muted); font-size: .94rem; padding: 14px 0; }
.summary-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.summary-list li b { white-space: nowrap; color: var(--navy); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 6px; font-weight: 800; }
.summary-total strong { font-size: 1.5rem; color: var(--navy); }
.ship { margin: 10px 0 18px; }
.ship-bar { height: 8px; background: var(--navy-50); border-radius: 999px; overflow: hidden; }
.ship-bar i { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 999px; transition: width .3s ease; }
.ship p { font-size: .84rem; color: var(--muted); margin: 8px 0 0; }
.ship.done p { color: var(--ok); font-weight: 700; }
.alert { display: none; border-radius: var(--radius-sm); padding: 12px 14px; font-size: .88rem; margin-bottom: 14px; }
.alert.show { display: block; }
.alert-warn { background: var(--gold-soft); color: #6b4a00; border: 1px solid #f1d58c; }
.alert-info { background: var(--navy-50); color: var(--navy-800); border: 1px solid var(--navy-100); }
.alert-error { background: #fdecea; color: var(--danger); border: 1px solid #f5c2bd; }
.summary small { display: block; color: var(--muted); font-size: .8rem; margin-top: 12px; text-align: center; }

.mobile-bar { display: none; }
@media (max-width: 980px) {
  .order { grid-template-columns: 1fr; }
  .summary { position: static; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15, 39, 72, .1); padding: 10px 16px; align-items: center; justify-content: space-between; gap: 12px; }
  .mobile-bar span { font-size: .86rem; color: var(--muted); line-height: 1.25; }
  .mobile-bar span b { display: block; color: var(--navy); font-size: 1.05rem; }
  body.has-mobile-bar { --fab-base: 86px; }
  /* Com o rodapé à vista a barra some e o botão volta à posição normal */
  body.footer-visible .mobile-bar { display: none; }
  body.footer-visible { --fab-base: 20px; }
  .order-block { padding: 22px 18px; }
  .item { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; }
  .item img { width: 56px; height: 56px; }
  .stepper button { width: 38px; height: 38px; }
  .stepper input { width: 34px; }
}

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .icon { margin: 0; flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a, .contact-list b { font-weight: 700; font-size: 1.05rem; color: var(--navy-800); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 30px 16px 0; list-style: none; position: relative; color: var(--navy-800); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--navy); font-weight: 500; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); padding-bottom: 14px; margin: 0; }

/* ---------- Texto longo (política) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; color: var(--muted); }
.prose li { margin-bottom: 6px; }
.prose p { color: var(--muted); }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy-900); color: #b5c3d8; padding: 64px 0 0; font-size: .95rem; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer img { height: 50px; width: auto; margin-bottom: 18px; }
.footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer a { color: #d6e0ee; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer li { margin-bottom: 10px; }
.footer p { max-width: 320px; }
.footer .bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .84rem; color: #8ea2bf; }
@media (max-width: 900px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
.footer-inline { display: none; }
/* No celular o rodapé é compacto para o botão do WhatsApp continuar visível acima dele */
@media (max-width: 560px) {
  .footer { padding-top: 34px; font-size: .9rem; }
  .footer .cols { grid-template-columns: 1fr; gap: 18px; padding-bottom: 20px; }
  .footer .cols > div:nth-child(2), .footer .cols > div:nth-child(3), .footer .cols p { display: none; }
  .footer img { height: 38px; margin-bottom: 0; }
  .footer h4 { margin-bottom: 10px; }
  .footer li { margin-bottom: 6px; }
  .footer-inline { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-bottom: 20px; }
  .footer .bottom { padding: 14px 0 18px; font-size: .78rem; gap: 4px; }
}

/* ---------- Botão flutuante do WhatsApp ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: calc(var(--fab-base) + var(--fab-lift) + env(safe-area-inset-bottom, 0px)); z-index: 90;
  display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 16px;
  background: var(--wa); color: #06301a; font-weight: 800; font-size: .95rem; text-decoration: none; border-radius: 999px;
  box-shadow: 0 10px 26px rgba(18, 140, 75, .4), 0 2px 6px rgba(0, 0, 0, .15);
  transition: transform .15s ease;
}
.wa-fab:hover { transform: translateY(-2px); }
.wa-fab svg { width: 30px; height: 30px; flex: none; }
@media (max-width: 700px) {
  .wa-fab { width: 58px; padding: 0; justify-content: center; right: 16px; }
  .wa-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

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

/* ---------- Ajustes finos ---------- */
/* Na página de pedido o botão flutuante fica só com o ícone para não cobrir o resumo */
body.has-mobile-bar .wa-fab { width: 58px; padding: 0; justify-content: center; }
body.has-mobile-bar .wa-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 560px) {
  .topbar-contacts span + span { display: none; }
  .item { grid-template-columns: 56px minmax(0, 1fr); row-gap: 10px; }
  .item > div:last-child { grid-column: 2; display: flex; align-items: center; gap: 10px; }
  .stepper-unit { margin: 0; }
}
