/* =====================================================================
   Construnex Alvenar — Folha de estilos
   Paleta extraída da logotipo e do banner oficiais
   ===================================================================== */
:root {
  --navy-900: #061F36;
  --navy: #082E4E;          /* azul-marinho da logo */
  --navy-600: #0F4170;
  --navy-100: #E6EDF5;
  --orange: #E47326;        /* laranja da logo */
  --orange-600: #C95F16;
  --orange-100: #FDF0E6;
  --gray: #5B5D5E;          /* cinza do slogan */
  --ink: #1B2430;
  --muted: #6B7785;
  --line: #E3E8EF;
  --bg: #FFFFFF;
  --bg-alt: #F4F6FA;
  --success: #1E8E5A;
  --success-100: #E7F6EE;
  --danger: #C62828;
  --danger-100: #FDECEC;
  --warn-100: #FFF6E5;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(8, 46, 78, .06), 0 1px 3px rgba(8, 46, 78, .08);
  --shadow: 0 8px 24px rgba(8, 46, 78, .10);
  --shadow-lg: 0 18px 50px rgba(8, 46, 78, .18);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Montserrat', var(--font);
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-600); text-decoration: none; }
a:hover { color: var(--orange); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }
.icon { flex-shrink: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.text-success { color: var(--success); font-weight: 600; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid rgba(228, 115, 38, .55); outline-offset: 2px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: var(--radius-sm); border: 2px solid transparent; font-weight: 700; font-size: .95rem; cursor: pointer; transition: background .18s, border-color .18s, color .18s, transform .1s, box-shadow .18s; text-align: center; line-height: 1.2; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .7; cursor: not-allowed; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-600); color: #fff; }
.btn--accent { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(228, 115, 38, .28); }
.btn--accent:hover { background: var(--orange-600); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { background: var(--bg-alt); color: var(--navy); }
.btn--ghost:hover { background: var(--navy-100); color: var(--navy); }
.btn--block { width: 100%; }
.btn--lg { padding: 15px 26px; font-size: 1.02rem; }
.btn--sm { padding: 9px 14px; font-size: .88rem; }
.btn.is-loading { position: relative; color: transparent !important; }
.btn.is-loading::after { content: ''; position: absolute; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); border-radius: 8px; display: inline-flex; }
.icon-btn:hover { background: var(--bg-alt); }
.badge { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; font-style: normal; letter-spacing: .02em; }
.badge--accent { background: var(--orange); color: #fff; }

/* ---------- Faixa superior ---------- */
.announce { background: var(--navy-900); color: #DCE6F0; font-size: .82rem; }
.announce__inner { display: flex; justify-content: center; gap: 28px; padding: 8px 20px; }
.announce span { display: inline-flex; align-items: center; gap: 7px; }
.announce .icon { color: var(--orange); }

/* ---------- Cabeçalho ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 24px; padding: 10px 20px; }
.header__logo img { height: 66px; width: auto; }
.header__menu { display: none; }
.header__search { flex: 1; display: flex; max-width: 620px; margin: 0 auto; border: 2px solid var(--navy); border-radius: 999px; overflow: hidden; background: #fff; }
.header__search input { flex: 1; border: 0; padding: 11px 20px; outline: none; min-width: 0; background: transparent; }
.header__search button { border: 0; background: var(--orange); color: #fff; padding: 0 22px; cursor: pointer; }
.header__search button:hover { background: var(--orange-600); }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__help { display: flex; align-items: center; gap: 8px; color: var(--navy); }
.header__help span { display: flex; flex-direction: column; line-height: 1.15; }
.header__help small { font-size: .74rem; color: var(--muted); }
.header__help strong { font-size: .9rem; }
.header__cart { position: relative; display: flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; border: 0; border-radius: 999px; padding: 10px 18px 10px 14px; cursor: pointer; font-weight: 700; }
.header__cart:hover { background: var(--navy-600); }
.header__cart-count { position: absolute; top: -4px; left: 30px; background: var(--orange); color: #fff; font-size: .7rem; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }
.site-header--min .header__inner { justify-content: space-between; }
.header__secure { display: flex; align-items: center; gap: 10px; color: var(--success); }
.header__secure span { display: flex; flex-direction: column; line-height: 1.2; }
.header__secure strong { color: var(--navy); font-size: .92rem; }
.header__secure small { color: var(--muted); font-size: .78rem; }

.main-nav { border-top: 1px solid var(--line); background: #fff; }
.main-nav__inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.main-nav__inner::-webkit-scrollbar { display: none; }
.main-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 12px 14px; font-weight: 600; font-size: .9rem; color: var(--ink); white-space: nowrap; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav a.is-active { color: var(--navy); border-bottom-color: var(--orange); }
.main-nav__right { margin-left: auto; color: var(--orange) !important; }

/* ---------- Drawers ---------- */
.drawer { position: fixed; inset: 0; background: rgba(6, 31, 54, .5); z-index: 100; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__panel { position: absolute; top: 0; bottom: 0; width: min(420px, 92vw); background: #fff; display: flex; flex-direction: column; transition: transform .28s ease; box-shadow: var(--shadow-lg); }
.drawer--right .drawer__panel { right: 0; transform: translateX(100%); }
.drawer--left .drawer__panel { left: 0; transform: translateX(-100%); width: min(340px, 88vw); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer__head img { height: 48px; width: auto; }
.drawer__title { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); color: var(--navy); font-size: 1.1rem; }
.drawer__search { display: flex; margin: 14px 18px 4px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.drawer__search input { flex: 1; border: 0; padding: 10px 12px; outline: none; }
.drawer__search button { border: 0; background: var(--navy); color: #fff; padding: 0 14px; }
.drawer__nav { display: flex; flex-direction: column; padding: 8px 0; overflow-y: auto; }
.drawer__nav a { padding: 12px 20px; color: var(--ink); font-weight: 600; }
.drawer__nav a:hover { background: var(--bg-alt); color: var(--navy); }
.drawer__nav hr { margin: 8px 20px; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 8px 18px; }
.cart-drawer__foot { border-top: 1px solid var(--line); padding: 16px 18px; display: grid; gap: 10px; background: var(--bg-alt); }
.cart-drawer__row { display: flex; justify-content: space-between; font-size: 1.05rem; }
.cart-drawer__row strong { color: var(--navy); font-size: 1.2rem; }
.cart-drawer__note { display: flex; align-items: center; gap: 6px; color: var(--success); font-size: .85rem; font-weight: 600; margin: 0; }
.cart-empty { text-align: center; padding: 40px 10px; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__info > a { color: var(--ink); font-size: .9rem; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-item__price { display: block; color: var(--navy); font-weight: 700; margin: 2px 0 6px; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; }
.cart-item__remove { background: none; border: 0; color: var(--muted); font-size: .8rem; cursor: pointer; text-decoration: underline; }
.cart-item__remove:hover { color: var(--danger); }

/* ---------- Quantidade ---------- */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.qty button { background: var(--bg-alt); border: 0; width: 42px; height: 48px; cursor: pointer; color: var(--navy); display: grid; place-items: center; font-size: 1.1rem; }
.qty button:hover { background: var(--navy-100); }
.qty input { width: 52px; height: 48px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm button { width: 30px; height: 30px; }
.qty--sm span { min-width: 30px; text-align: center; font-weight: 700; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { background: var(--navy-900); }
.hero__banner { display: block; }
.hero__banner img { width: 100%; height: auto; max-height: 520px; object-fit: cover; }
.hero__mobile { display: none; }

/* ---------- Seções ---------- */
.section { padding: 48px 0; }
.section--tight { padding: 28px 0 8px; }
.section--alt { background: var(--bg-alt); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section__head h2 { margin: 0; }
.eyebrow { display: inline-block; color: var(--orange); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.link-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; white-space: nowrap; }

.cat-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s; }
.cat-tile:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.cat-tile__icon { width: 58px; height: 58px; border-radius: 50%; background: var(--navy-100); color: var(--navy); display: grid; place-items: center; margin-bottom: 4px; transition: background .2s, color .2s; }
.cat-tile:hover .cat-tile__icon { background: var(--orange); color: #fff; }
.cat-tile strong { font-family: var(--font-head); color: var(--navy); font-size: .95rem; }
.cat-tile small { color: var(--muted); font-size: .78rem; }

/* ---------- Card de produto ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-products--3 { grid-template-columns: repeat(3, 1fr); }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s, transform .2s; }
.pcard:hover { box-shadow: var(--shadow); border-color: #cfd8e3; transform: translateY(-3px); }
.pcard__media { position: relative; aspect-ratio: 1; background: #fff; display: block; padding: 14px; border-bottom: 1px solid var(--line); }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__badge { position: absolute; top: 10px; left: 10px; z-index: 1; }
.pcard__body { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1; }
.pcard__cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.pcard__title { font-family: var(--font); font-size: .92rem; font-weight: 600; line-height: 1.4; margin: 0; min-height: 2.8em; }
.pcard__title a { color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__title a:hover { color: var(--navy-600); }
.pcard__price { display: flex; flex-direction: column; margin-top: auto; padding-bottom: 6px; }
.pcard__price s { color: var(--muted); font-size: .82rem; }
.pcard__price strong { font-family: var(--font-head); color: var(--navy); font-size: 1.3rem; }
.pcard__price small { color: var(--muted); font-size: .8rem; }
.pcard__pix { display: inline-flex; align-items: center; gap: 4px; color: var(--success) !important; font-weight: 600; }

/* ---------- Como funciona ---------- */
.how { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; }
.how__intro p { color: var(--gray); font-size: 1.02rem; }
.how__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.how__steps li { display: flex; gap: 14px; background: #fff; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); }
.how__steps li > span { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; display: grid; place-items: center; font-family: var(--font-head); }
.how__steps strong { color: var(--navy); display: block; margin-bottom: 2px; }
.how__steps p { margin: 0; color: var(--muted); font-size: .88rem; }

/* ---------- Benefícios ---------- */
.benefits { background: var(--navy); color: #fff; padding: 26px 0; }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { display: flex; align-items: center; gap: 14px; }
.benefit .icon { color: var(--orange); }
.benefit strong { display: block; font-size: .95rem; }
.benefit span { font-size: .82rem; color: #BFD0E2; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-900); color: #BFD0E2; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding-top: 48px; padding-bottom: 36px; }
.footer__brand img { border-radius: 14px; background: #fff; padding: 4px; margin-bottom: 14px; }
.footer__brand p { color: #BFD0E2; }
.footer__brand strong { color: #fff; }
.footer__title { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer__title--sm { margin-top: 20px; font-size: .8rem; }
.footer__links, .footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__links a, .footer__contact a { color: #BFD0E2; }
.footer__links a:hover, .footer__contact a:hover { color: var(--orange); }
.footer__contact li { display: flex; align-items: center; gap: 8px; }
.footer__contact .icon { color: var(--orange); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; }
.footer__social a:hover { background: var(--orange); color: #fff; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-chips span { display: inline-flex; align-items: center; gap: 4px; background: #fff; color: var(--navy); font-weight: 700; font-size: .75rem; padding: 5px 10px; border-radius: 6px; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: .78rem; color: #8FA6BE; text-align: center; }
.footer__legal p { margin: 0 0 4px; }
.footer__legal strong { color: #DCE6F0; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.wa-float:hover { color: #fff; transform: scale(1.05); }
.cookie { position: fixed; left: 18px; bottom: 18px; z-index: 70; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px; display: flex; gap: 14px; align-items: center; font-size: .84rem; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; }
.toast { position: fixed; left: 50%; top: 20px; transform: translate(-50%, -20px); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 10px; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: all .25s; z-index: 200; max-width: 90vw; text-align: center; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast--success { background: var(--success); }
.toast--error { background: var(--danger); }

/* ---------- Breadcrumb / Catálogo ---------- */
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 16px 0; font-size: .84rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--ink); }
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 28px; padding-bottom: 48px; }
.side-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.side-list { list-style: none; margin: 0 0 20px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-list a { display: flex; justify-content: space-between; padding: 11px 14px; color: var(--ink); border-bottom: 1px solid var(--line); font-weight: 500; }
.side-list li:last-child a { border-bottom: 0; }
.side-list a:hover { background: var(--bg-alt); }
.side-list a.is-active { background: var(--navy); color: #fff; }
.side-list small { color: inherit; opacity: .7; }
.side-box { background: var(--bg-alt); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; }
.side-box p { margin: 0; display: flex; gap: 8px; align-items: center; font-size: .86rem; font-weight: 600; color: var(--navy); }
.side-box .icon { color: var(--orange); }
.catalog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.catalog__head h1 { margin: 0; }
.catalog__head p { margin: 0; }
.catalog__sort { display: flex; align-items: center; gap: 8px; font-size: .88rem; }
.catalog__sort select { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.chips-scroll { display: none; gap: 8px; overflow-x: auto; padding-bottom: 12px; margin-bottom: 8px; scrollbar-width: none; }
.chip { white-space: nowrap; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: .85rem; font-weight: 600; }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.pagination a { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-weight: 600; }
.pagination a.is-active, .pagination a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .icon { color: var(--navy); opacity: .35; margin: 0 auto 10px; }

/* ---------- Página de produto ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; padding-bottom: 32px; }
.pdp__main { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 1; padding: 24px; display: grid; place-items: center; }
.pdp__main img { max-height: 100%; width: 100%; object-fit: contain; }
.pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp__thumb { width: 82px; height: 82px; padding: 6px; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: contain; }
.pdp__thumb.is-active, .pdp__thumb:hover { border-color: var(--orange); }
.pdp__cat { color: var(--orange); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.pdp__title { font-size: clamp(1.3rem, 2.2vw, 1.75rem); margin: 6px 0 4px; }
.pdp__sku { color: var(--muted); font-size: .82rem; margin-bottom: 16px; }
.pdp__pricebox { background: var(--bg-alt); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px; }
.pdp__old { color: var(--muted); }
.pdp__price { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 2.2rem; line-height: 1.1; }
.pdp__inst, .pdp__pix { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; color: var(--gray); }
.pdp__inst .icon { color: var(--navy); }
.pdp__pix { color: var(--success); }
.pdp__buy { display: flex; gap: 12px; margin-bottom: 12px; }
.pdp__buy .btn { flex: 1; }
.pdp__perks { list-style: none; padding: 0; margin: 22px 0 0; border: 1px solid var(--line); border-radius: var(--radius); }
.pdp__perks li { display: flex; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pdp__perks li:last-child { border-bottom: 0; }
.pdp__perks .icon { color: var(--orange); margin-top: 2px; }
.pdp__perks strong { display: block; color: var(--navy); font-size: .92rem; }
.pdp__perks span { font-size: .84rem; color: var(--muted); }
.pdp__desc { border-top: 1px solid var(--line); padding: 32px 0; }
.pdp__desc-body { color: var(--gray); max-width: 860px; columns: 2 320px; column-gap: 40px; font-size: .92rem; }
.sticky-buy { display: none; }

/* ---------- Alertas ---------- */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .92rem; }
.alert ul { margin: 4px 0 0; padding-left: 18px; }
.alert--error { background: var(--danger-100); color: var(--danger); border-left: 4px solid var(--danger); }
.alert--success { background: var(--success-100); color: var(--success); border-left: 4px solid var(--success); }
.alert--warn { background: var(--warn-100); color: #8A5300; border-left: 4px solid var(--orange); }

/* ---------- Formulários ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; font-size: .86rem; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(15, 65, 112, .12); }
.field input.is-invalid, .field textarea.is-invalid { border-color: var(--danger); background: var(--danger-100); }
.field input.is-loading { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='20' fill='none' stroke='%23E47326' stroke-width='5' stroke-dasharray='90 60'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='.8s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E") no-repeat right 12px center; }
.field small { color: var(--muted); font-size: .78rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--gray); margin: 6px 0 20px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.check input.is-invalid { outline: 2px solid var(--danger); }

/* ---------- Checkout ---------- */
.is-checkout { background: var(--bg-alt); }
.checkout-wrap { padding-top: 22px; padding-bottom: 48px; }
.checkout-steps { list-style: none; display: flex; justify-content: center; gap: 10px; padding: 0; margin: 0 0 24px; font-size: .86rem; font-weight: 600; color: var(--muted); flex-wrap: wrap; }
.checkout-steps li { display: flex; align-items: center; gap: 8px; }
.checkout-steps li:not(:last-child)::after { content: ''; width: 36px; height: 2px; background: var(--line); margin-left: 6px; }
.checkout-steps span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-size: .78rem; }
.checkout-steps .is-done span { background: var(--success); border-color: var(--success); color: #fff; }
.checkout-steps .is-current { color: var(--navy); }
.checkout-steps .is-current span { background: var(--navy); border-color: var(--navy); color: #fff; }
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 24px; align-items: start; }
.co-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.co-card__title { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; margin-bottom: 18px; }
.co-card__title > span { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.pay-options { display: grid; gap: 12px; }
.pay-option { cursor: pointer; display: block; }
.pay-option input { position: absolute; opacity: 0; pointer-events: none; }
.pay-option__box { display: flex; align-items: center; gap: 14px; padding: 16px; border: 2px solid var(--line); border-radius: var(--radius); transition: border-color .15s, background .15s; }
.pay-option input:checked + .pay-option__box { border-color: var(--orange); background: var(--orange-100); }
.pay-option input:focus-visible + .pay-option__box { outline: 3px solid rgba(228,115,38,.4); }
.pay-option__icon { width: 46px; height: 46px; border-radius: 10px; background: var(--navy-100); color: var(--navy); display: grid; place-items: center; flex-shrink: 0; }
.pay-option input:checked + .pay-option__box .pay-option__icon { background: var(--orange); color: #fff; }
.pay-option__text { flex: 1; display: flex; flex-direction: column; }
.pay-option__text strong { color: var(--navy); display: flex; align-items: center; gap: 8px; }
.pay-option__text small { color: var(--muted); font-size: .82rem; }
.pay-option__price { font-family: var(--font-head); font-weight: 800; color: var(--navy); white-space: nowrap; }
.co-note { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; background: var(--bg-alt); border-radius: var(--radius-sm); font-size: .84rem; color: var(--gray); }
.co-note .icon { color: var(--navy); margin-top: 2px; }
.co-note[hidden] { display: none; }
.checkout__side { position: sticky; top: 100px; }
.co-items { list-style: none; padding: 0; margin: 0 0 6px; max-height: 320px; overflow-y: auto; }
.co-items li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.co-items img { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; }
.co-items div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.co-items div span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.co-items small { color: var(--muted); }
.co-items strong { color: var(--navy); white-space: nowrap; }
.co-edit { font-size: .82rem; font-weight: 600; }
.co-totals { margin: 14px 0 18px; }
.co-totals div { display: flex; justify-content: space-between; padding: 6px 0; font-size: .92rem; }
.co-totals dt { color: var(--gray); }
.co-totals dd { margin: 0; font-weight: 600; }
.co-totals__total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px !important; }
.co-totals__total dt { color: var(--navy); font-weight: 700; font-size: 1.05rem; }
.co-totals__total dd { color: var(--navy); font-size: 1.45rem; font-family: var(--font-head); font-weight: 800; }
.co-totals [hidden] { display: none; }
.co-trust { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: .82rem; color: var(--gray); }
.co-trust li { display: flex; align-items: center; gap: 8px; }
.co-trust .icon { color: var(--success); }
.co-legal { margin: 14px 0 0; font-size: .74rem; color: var(--muted); text-align: center; }

/* ---------- Confirmação / Pix ---------- */
.thanks { padding-top: 28px; padding-bottom: 48px; }
.thanks__head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.thanks__head p { color: var(--gray); }
.thanks__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: var(--orange-100); color: var(--orange); }
.thanks__icon--ok { background: var(--success-100); color: var(--success); }
.thanks__icon--warn { background: var(--danger-100); color: var(--danger); }
.thanks__icon--muted { background: var(--bg-alt); color: var(--muted); }
.thanks__grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
.thanks__addr { font-size: .86rem; color: var(--gray); }
.thanks__addr strong { color: var(--navy); }
.pix-box { border: 2px solid var(--orange); }
.pix-box__grid { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: center; margin-bottom: 16px; }
.pix-box__qr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; aspect-ratio: 1; }
.pix-box__qr svg { width: 100%; height: 100%; }
.pix-box__steps { margin: 0; padding-left: 20px; font-size: .9rem; color: var(--gray); display: grid; gap: 8px; }
.pix-box textarea { font-family: ui-monospace, monospace; font-size: .78rem; resize: none; background: var(--bg-alt); margin-bottom: 12px; word-break: break-all; }
.pix-box__status { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 4px; padding: 12px; background: var(--orange-100); border-radius: var(--radius-sm); color: var(--navy); font-weight: 600; font-size: .9rem; text-align: center; }
.pix-box__status.is-paid { background: var(--success-100); color: var(--success); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); flex-shrink: 0; animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(228,115,38,.6); } 70% { box-shadow: 0 0 0 10px rgba(228,115,38,0); } 100% { box-shadow: 0 0 0 0 rgba(228,115,38,0); } }
.pix-box__qr img { width: 100%; height: 100%; object-fit: contain; }
.pix-box__key { text-align: center; font-size: .86rem; color: var(--gray); margin: 12px 0; }
.pix-box .btn--ghost { margin-bottom: 10px; }
.timeline { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 18px 34px; color: var(--muted); font-weight: 600; }
.timeline li span { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--line); background: #fff; }
.timeline li::before { content: ''; position: absolute; left: 9px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline li.is-done { color: var(--navy); }
.timeline li.is-done span { border-color: var(--success); background: var(--success); }
.timeline li.is-done::before { background: var(--success); }
.timeline li.is-current span { box-shadow: 0 0 0 5px var(--success-100); }
.tracking { background: var(--bg-alt); padding: 12px 14px; border-radius: var(--radius-sm); }

/* ---------- Páginas de conteúdo ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy-900), var(--navy-600)); color: #fff; padding: 40px 0; }
.page-hero h1 { color: #fff; margin: 0 0 6px; }
.page-hero p { margin: 0; color: #C9D7E6; max-width: 720px; }
.page-hero .breadcrumb { padding: 0 0 12px; }
.page-hero .breadcrumb, .page-hero .breadcrumb a, .page-hero .breadcrumb span { color: #C9D7E6; }
.page { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding: 40px 0 56px; }
.page__nav { position: sticky; top: 110px; align-self: start; }
.page__nav a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: .9rem; font-weight: 500; }
.page__nav a:hover, .page__nav a.is-active { background: var(--navy-100); color: var(--navy); }
.prose { max-width: 820px; color: #2E3A47; }
.prose h2 { font-size: 1.25rem; margin-top: 1.8em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.02rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .9rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-alt); color: var(--navy); }
.prose .callout { background: var(--orange-100); border-left: 4px solid var(--orange); padding: 14px 18px; border-radius: 8px; margin: 1.2em 0; }
.prose .meta { color: var(--muted); font-size: .85rem; }
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 28px; }
.info-card { background: var(--bg-alt); border-radius: var(--radius); padding: 18px; }
.info-card .icon { color: var(--orange); margin-bottom: 8px; }
.info-card strong { display: block; color: var(--navy); }
.info-card span { font-size: .86rem; color: var(--muted); }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--orange); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details > div { padding: 0 18px 16px; color: var(--gray); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; padding: 40px 0 56px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-alt); padding: 16px; border-radius: var(--radius); }
.contact-list .icon { color: var(--orange); margin-top: 2px; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list span, .contact-list a { font-size: .9rem; }
.narrow { max-width: 620px; margin: 0 auto; padding: 40px 20px 56px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .header__help span { display: none; }
}
@media (max-width: 900px) {
  .announce .announce__extra { display: none; }
  .header__inner { flex-wrap: wrap; gap: 10px 14px; padding: 8px 14px; }
  .header__menu { display: inline-flex; }
  .header__logo { margin-right: auto; }
  .header__logo img { height: 50px; }
  .header__search { order: 3; flex-basis: 100%; max-width: none; }
  .header__search input { padding: 9px 16px; }
  .header__help { display: none; }
  .header__cart { padding: 9px 12px; }
  .header__cart-label { display: none; }
  .header__cart-count { left: 24px; }
  .main-nav { display: none; }
  .site-header--min .header__inner { flex-wrap: nowrap; }
  .hero__mobile { display: block; text-align: center; padding: 22px 20px 26px; }
  .hero__mobile h1 { color: #fff; font-size: 1.35rem; margin-bottom: 14px; }
  .hero__mobile h1 span { color: var(--orange); display: block; }
  .cat-tiles { grid-template-columns: repeat(5, 150px); overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .how { grid-template-columns: 1fr; gap: 24px; }
  .benefits__grid { grid-template-columns: 1fr 1fr; }
  .catalog { grid-template-columns: 1fr; }
  .catalog__side { display: none; }
  .chips-scroll { display: flex; }
  .grid-products, .grid-products--3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pdp { grid-template-columns: 1fr; gap: 20px; }
  .pdp__desc-body { columns: 1; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: #fff; box-shadow: 0 -4px 18px rgba(8,46,78,.14); padding: 10px 16px; align-items: center; justify-content: space-between; gap: 12px; }
  .sticky-buy div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
  .sticky-buy small { color: var(--muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy strong { color: var(--navy); font-family: var(--font-head); font-size: 1.15rem; }
  body:has(.sticky-buy) .wa-float { bottom: 84px; }
  body:has(.sticky-buy) { padding-bottom: 70px; }
  .checkout, .thanks__grid { grid-template-columns: 1fr; }
  .checkout__side { position: static; }
  .page { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
  .page__nav { display: none; }
  .info-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pix-box__grid { grid-template-columns: 1fr; }
  .pix-box__qr { max-width: 240px; margin: 0 auto; }
}
@media (max-width: 560px) {
  body { font-size: 14.5px; }
  .container { padding: 0 14px; }
  .section { padding: 34px 0; }
  .section__head { align-items: center; }
  .grid-products, .grid-products--3 { gap: 10px; }
  .pcard__body { padding: 10px; }
  .pcard__price strong { font-size: 1.12rem; }
  .pcard__title { font-size: .84rem; }
  .how__steps { grid-template-columns: 1fr; }
  .benefits__grid { grid-template-columns: 1fr; gap: 14px; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .form-grid { grid-template-columns: 1fr; }
  .pdp__buy { flex-direction: column; }
  .pdp__buy .qty { align-self: flex-start; }
  .pdp__price { font-size: 1.9rem; }
  .co-card { padding: 16px; }
  .pay-option__box { flex-wrap: wrap; }
  .pay-option__price { width: 100%; text-align: right; }
  .checkout-steps li:not(:last-child)::after { width: 14px; }
  .cookie { left: 10px; right: 10px; bottom: 10px; max-width: none; padding: 12px; font-size: .78rem; gap: 10px; }
}
