:root {
  --brand-navy: #071f42;
  --brand-navy-deep: #04152f;
  --brand-deepest: #020b1a;
  --brand-blue: #075fcf;
  --brand-orange: #ff7900;
  --brand-orange-hover: #ff8c1f;
  --on-cta: #071f42;
  --accent-ink: #ff7900;
  --accent-on-dark: #ff7900;
  --on-dark-muted: #a9bbd2;
  --radius-btn: 8px;
  --whatsapp: #1da851;
  --ink: #092149;
  --muted: #556982;
  --line: #dbe4ee;
  --page: #f3f7fb;
  --danger: #c62828;
  --success: #12804a;
  --radius: 12px;
  --shadow: 0 24px 60px color-mix(in srgb, var(--brand-navy-deep) 16%, transparent);
  --container: min(1240px, calc(100% - 64px));
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  color-scheme: light;
}

* { box-sizing: border-box; }

/* Barras de rolagem finas, na cor da marca, na página e nas áreas internas (listas, janelas, painéis). */
html { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--brand-navy) 30%, transparent) transparent; }
* { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--brand-navy) 24%, transparent) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 999px; background: color-mix(in srgb, var(--brand-navy) 26%, transparent) padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: color-mix(in srgb, var(--brand-navy) 42%, transparent); }
::-webkit-scrollbar-corner { background: transparent; }

/* Logos com o nome escrito: --wm-h é a altura de referência de cada lugar; --wm-k vem da proporção do arquivo. */
body :is(.is-wordmark, .tile-wordmark) img.wm { display: block; width: auto; max-width: 100%; height: calc(var(--wm-h, 22px) * var(--wm-k, 1)); object-fit: contain; }

html { min-width: 320px; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); }

.container { width: var(--container); margin-inline: auto; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  color: #fff;
  background: var(--brand-blue);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }
.skip-link kbd { margin-left: 6px; padding: 1px 6px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 4px; font: 700 12px/1.4 inherit; }

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-fill { fill: currentColor; stroke: none; }

.nowrap { white-space: nowrap; }

:focus-visible { outline: 3px solid var(--brand-orange); outline-offset: 3px; }

/* Botões */

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-lg { min-height: 54px; padding-inline: 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { color: var(--on-cta); background: var(--brand-orange); }
.btn-primary:hover { background: var(--brand-orange-hover); }
.btn-outline { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand-blue); color: var(--brand-blue); }
.btn-ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand-blue); }
.btn-ghost .icon-fill { color: var(--whatsapp); }
.btn-ghost-light { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .3); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-whatsapp { color: #fff; background: #15803d; }
.btn-whatsapp:hover { background: #166534; }
.btn-dark { color: #fff; background: var(--brand-navy); }
.btn-dark:hover { background: var(--brand-blue); }

/* Barra de utilidades */

.utility-bar {
  color: var(--on-dark-muted);
  background: var(--brand-navy-deep);
  font-size: 13px;
}
.utility-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.utility-inner p { margin: 0; }
.utility-inner a { color: #fff; text-decoration: none; font-weight: 600; }
.utility-inner a:hover { color: var(--brand-orange); }
.utility-inner nav { display: flex; align-items: center; gap: 22px; }
.utility-inner nav a { display: inline-flex; align-items: center; gap: 6px; }
.utility-inner .icon { width: 15px; height: 15px; }
.utility-sep { margin-inline: 4px; color: color-mix(in srgb, var(--brand-navy) 67%, #fff); }

/* Cabeçalho */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: var(--brand-navy);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px color-mix(in srgb, var(--brand-navy-deep) 30%, transparent); }

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { width: auto; height: 60px; max-width: 200px; object-fit: contain; object-position: left center; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}
.main-nav a {
  padding: 10px 14px;
  border-radius: 8px;
  color: color-mix(in srgb, var(--brand-blue) 19%, #fff);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.main-nav .main-nav-mobile { display: none; }
.main-nav a { display: inline-flex; align-items: center; gap: 8px; }
.main-nav .nav-icon { width: 18px; height: 18px; flex: 0 0 auto; color: var(--brand-orange); stroke-width: 1.8; }
.menu-com-icones .main-nav a { padding-inline: 12px; }
.main-nav a, .header-phone-copy strong, .header-cta { white-space: nowrap; }
@media (min-width: 1181px) and (max-width: 1420px) {
  .header-inner { gap: 18px; }
  .header-actions { gap: 16px; }
  .main-nav { gap: 2px; }
  .main-nav a, .menu-com-icones .main-nav a { padding-inline: 9px; gap: 6px; font-size: 14px; }
  .header-phone-copy strong { font-size: 16px; }
}

/* Pré-visualização de modelo (somente administradores) */
.preview-bar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 16px;
  color: #1b1300;
  background: #ffd84d;
  font-size: 14px;
  text-align: center;
}
.preview-bar .icon { width: 18px; height: 18px; flex: 0 0 auto; }
.preview-bar a { color: inherit; font-weight: 700; }
.preview-bar + .utility-bar + .site-header { top: 40px; }

.header-actions { display: flex; align-items: center; gap: 24px; }

.header-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.header-phone-icon {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  border-radius: 50%;
  color: var(--on-cta);
  background: var(--brand-orange);
}
.header-phone-icon .icon { width: 19px; height: 19px; stroke-width: 2; }
.header-phone-copy { display: grid; gap: 1px; line-height: 1.2; }
.header-phone-copy span { color: var(--on-dark-muted); font-size: 12px; }
.header-phone-copy strong { font-size: 17px; letter-spacing: .01em; }
.header-phone:hover .header-phone-icon { background: var(--brand-orange-hover); }

.nav-toggle {
  width: 44px; height: 44px;
  display: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  color: #fff;
  background: transparent;
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Menu que não coube na largura (site.js): primeiro compacta, depois recolhe no botão de menu */
body .site-header.is-compacto .header-inner { gap: 16px; }
body .site-header.is-compacto .header-actions { gap: 14px; }
body .site-header.is-compacto .main-nav { gap: 0; }
body .site-header.is-compacto .main-nav a { gap: 6px; padding-inline: 8px; font-size: 14px; }
body .site-header.is-compacto .header-phone-copy span { display: none; }
body .site-header.is-enxuto .main-nav .nav-icon { display: none; }
body .site-header.is-recolhido .header-inner { justify-content: space-between; }
body .site-header.is-recolhido .nav-toggle { display: grid; }
body .site-header.is-recolhido .main-nav {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  display: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 8px calc((100% - var(--container)) / 2) 20px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  border-radius: 0;
  background: var(--brand-navy);
  box-shadow: 0 18px 30px color-mix(in srgb, var(--brand-navy-deep) 35%, transparent);
}
body .site-header.is-recolhido .main-nav.is-open { display: flex; }
body .site-header.is-recolhido .main-nav a { flex-direction: row; padding: 14px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; font-size: 16px; }
body .site-header.is-recolhido .main-nav .nav-icon { display: inline-block; }
body .site-header.is-recolhido .main-nav .main-nav-mobile { display: flex; }
body.cabecalho-claro .site-header.is-recolhido .main-nav { background: #fff; border-bottom-color: var(--line); }
body.cabecalho-claro .site-header.is-recolhido .main-nav a { border-bottom-color: var(--line); }

.site-header-checkout .header-inner { justify-content: space-between; }
.checkout-header-info { display: flex; align-items: center; gap: 28px; }
.secure-badge { display: inline-flex; align-items: center; gap: 8px; color: color-mix(in srgb, var(--brand-navy) 20%, #fff); font-size: 14px; font-weight: 600; }
.secure-badge .icon { width: 18px; height: 18px; color: var(--brand-orange); }

/* Formulários (compartilhado com o carrinho) */

.field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-content: start; min-width: 0; }
.field > span { color: var(--ink); font-size: 14px; font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--brand-navy) 20%, #fff);
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 96px; resize: vertical; }
/* Safari no iPhone ignora a largura do campo de data e o deixa vazar sobre os vizinhos. */
.field input[type="date"] { display: block; min-width: 0; }
@supports (-webkit-touch-callout: none) {
  .field input[type="date"] { -webkit-appearance: none; appearance: none; text-align: left; }
  .field input[type="date"]::-webkit-date-and-time-value { min-height: 1.5em; text-align: left; }
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-blue) 15%, transparent);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: var(--danger); }
.field-hint { margin: 8px 0 0; color: var(--danger); font-size: 13px; }

/* Rodapé */

.footer-main { color: color-mix(in srgb, var(--brand-navy) 29%, #fff); background: var(--brand-navy-deep); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-block: 64px;
}
.footer-logo { width: auto; height: 60px; max-width: 200px; object-fit: contain; object-position: left center; }
.footer-brand p { max-width: 300px; margin: 18px 0 0; font-size: 14px; line-height: 1.6; }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.footer-social a {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, .04);
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-social a:hover,
.footer-social a:focus-visible { color: var(--on-cta); border-color: var(--brand-orange); background: var(--brand-orange); }
.footer-social .icon { width: 19px; height: 19px; }
/* Selos Google Play / App Store (vetor) */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 7px 16px 7px 12px;
  border: 1.5px solid transparent;
  border-radius: 9px;
  text-decoration: none;
  line-height: 1.05;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.store-badge-logo { flex: none; display: block; }
.store-badge-txt { display: grid; gap: 1px; min-width: 0; }
.store-badge-txt small {
  font-size: 9.5px;
  font-weight: 560;
  letter-spacing: .04em;
  line-height: 1.2;
  white-space: nowrap;
}
.store-badge-txt strong {
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}
a.store-badge:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .22); }
.store-badge.is-soon { cursor: default; opacity: .72; }

/* Preto */
.store-badges--preto .store-badge,
.store-badges--pill .store-badge {
  color: #fff;
  background: #0b0b0b;
  border-color: #0b0b0b;
}
.store-badges--preto .store-badge-txt small,
.store-badges--pill .store-badge-txt small { color: rgba(255, 255, 255, .78); }

/* Branco */
.store-badges--branco .store-badge {
  color: #111;
  background: #fff;
  border-color: #111;
}
.store-badges--branco .store-badge-txt small { color: #444; }
.store-badges--branco a.store-badge:hover { box-shadow: 0 10px 22px rgba(0, 0, 0, .12); }

/* Contorno — adapta ao fundo */
.store-badges--contorno .store-badge {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
}
.store-badges--contorno .store-badge-txt small { color: rgba(255, 255, 255, .75); }
.rodape-claro .store-badges--contorno .store-badge,
.store-badges-on-light .store-badges--contorno .store-badge {
  color: #111;
  border-color: #111;
}
.rodape-claro .store-badges--contorno .store-badge-txt small,
.store-badges-on-light .store-badges--contorno .store-badge-txt small { color: #444; }

/* Pílula */
.store-badges--pill .store-badge { border-radius: 999px; padding-inline: 18px 20px; }

.footer-app-title { margin: 22px 0 10px !important; color: #fff; font-size: 13px !important; font-weight: 700; }
.store-badges-footer { gap: 8px; }
.store-badges-footer .store-badge { min-height: 40px; padding: 6px 14px 6px 10px; }
.store-badges-footer .store-badge-logo { width: 22px; height: 22px; }
.store-badges-footer .store-badge-txt small { font-size: 8.5px; }
.store-badges-footer .store-badge-txt strong { font-size: 13.5px; }
.footer-link-button { padding: 0; border: 0; color: #fff; background: none; font: inherit; text-align: left; cursor: pointer; }
.footer-link-button:hover { color: var(--brand-orange); }
.footer-docs a { display: inline-flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.footer-docs .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--brand-orange); }

.footer-block h2 { margin: 0 0 16px; color: #fff; font-size: 15px; font-weight: 700; }
.footer-block .footer-subtitle { margin-top: 22px; }
.footer-links,
.footer-contacts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.footer-links.has-icons a,
.footer-links.has-icons .footer-link-button { display: inline-flex; gap: 8px; align-items: flex-start; }
.footer-links.has-icons .icon { width: 16px; height: 16px; margin-top: 2px; flex: none; color: var(--brand-orange); opacity: .95; }
.footer-links a,
.footer-contacts a { color: #fff; text-decoration: none; }
.footer-links a:hover,
.footer-contacts a:hover { color: var(--brand-orange); }
.footer-contacts li { display: grid; gap: 2px; }
.footer-contacts a { font-weight: 700; }
.footer-contacts small { font-size: 13px; }
.footer-block address,
.footer-block p { margin: 0; font-size: 14px; font-style: normal; line-height: 1.6; }
.footer-block address + p { margin-top: 10px; }
.footer-stores { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.footer-stores a { display: grid; gap: 1px; color: inherit; text-decoration: none; }
.footer-stores strong { color: #fff; font-weight: 700; }
.footer-stores span { opacity: .85; line-height: 1.45; }
.footer-stores a:hover strong { color: var(--brand-orange); }
.footer-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: inherit; font-size: 13.5px; font-weight: 700; }
.footer-more .icon { width: 16px; height: 16px; }

.footer-bottom { color: color-mix(in srgb, var(--brand-navy) 40%, #6b7280); background: #fff; }
.footer-bottom-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  font-size: 13px;
}
.legal { display: grid; gap: 2px; margin: 0; line-height: 1.5; }
.anatel-ato { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; }
.anatel-ato img { width: 34px; height: 34px; flex: none; }
.tech-credit { display: inline-flex; align-items: center; gap: 12px; color: color-mix(in srgb, var(--brand-navy) 40%, #6b7280); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.tech-credit img { width: auto; height: 32px; opacity: .9; }

/* Consentimento de cookies */

.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  width: min(460px, calc(100% - 32px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 60px color-mix(in srgb, var(--brand-navy-deep) 28%, transparent);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .25s ease, transform .25s ease;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-main { display: flex; gap: 14px; align-items: flex-start; }
.cookie-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--brand-navy);
  background: color-mix(in srgb, var(--brand-orange) 11%, #fff);
}
.cookie-icon .icon { width: 24px; height: 24px; color: var(--brand-orange); }
.cookie-banner h2 { margin: 0 0 4px; font-size: 17px; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.cookie-banner p a { color: var(--brand-blue); font-weight: 600; }
.cookie-prefs { display: grid; gap: 10px; margin-top: 16px; }
.cookie-prefs[hidden] { display: none; }
.cookie-option {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.cookie-option > span:first-child { display: grid; gap: 2px; }
.cookie-option strong { font-size: 14px; }
.cookie-option small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.cookie-option input { position: absolute; opacity: 0; }
.cookie-switch {
  position: relative;
  width: 40px;
  height: 24px;
  flex: 0 0 40px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-navy) 20%, #fff);
  transition: background .2s ease;
}
.cookie-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px color-mix(in srgb, var(--brand-navy-deep) 25%, transparent);
  transition: transform .2s ease;
}
.cookie-option input:checked + .cookie-switch { background: var(--brand-blue); }
.cookie-option input:checked + .cookie-switch::after { transform: translateX(16px); }
.cookie-option input:disabled + .cookie-switch { opacity: .6; }
.cookie-option input:focus-visible + .cookie-switch { outline: 3px solid color-mix(in srgb, var(--brand-blue) 35%, transparent); outline-offset: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cookie-actions .btn { flex: 1 1 auto; min-height: 42px; padding: 8px 14px; font-size: 14px; }
.cookie-actions [hidden] { display: none; }

/* Responsivo */

@media (max-width: 1180px) {
  .header-phone { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .header-inner { gap: 16px; justify-content: space-between; }
  .nav-toggle { display: grid; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 16px 20px;
    background: var(--brand-navy);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 18px 30px color-mix(in srgb, var(--brand-navy-deep) 35%, transparent);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); border-radius: 0; font-size: 16px; }
  .main-nav .main-nav-mobile { display: flex; }
  .header-actions { gap: 12px; }
}

@media (max-width: 760px) {
  :root { --container: min(100% - 32px, 620px); }
  .utility-inner p { display: none; }
  .utility-inner { justify-content: flex-end; }
  .header-inner { min-height: 68px; }
  .brand img { height: 50px; max-width: 160px; }
  .header-cta { min-height: 42px; padding-inline: 16px; }
  .checkout-header-info .secure-badge { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 48px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding-block: 18px; }
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 18px; }
  .cookie-actions .btn { flex-basis: 100%; }

}

@media (max-width: 420px) {
  :root { --container: calc(100% - 24px); }
  .header-cta { display: none; }
}

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

/* Caixa de confirmação (assets/js/confirmar.js) */
@keyframes confirma-fade { from { opacity: 0; } }
@keyframes confirma-sobe { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.confirma { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; }
.confirma[hidden] { display: none; }
.confirma-fundo { position: absolute; inset: 0; background: rgba(2, 11, 26, .55); animation: confirma-fade .16s ease; }
.confirma-janela { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; width: min(440px, 100%); padding: 24px 24px 20px; border-radius: 16px; background: #fff; box-shadow: 0 24px 64px rgba(2, 11, 26, .3); animation: confirma-sobe .2s cubic-bezier(.2, .8, .3, 1); }
.confirma-icone { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: var(--brand-blue); background: color-mix(in srgb, var(--brand-blue) 10%, #fff); }
.confirma-icone svg { width: 22px; height: 22px; }
.confirma.is-perigo .confirma-icone { color: var(--danger); background: #fdeeee; }
.confirma h2 { margin: 2px 0 0; color: var(--ink); font-family: var(--font-display); font-size: 18px; line-height: 1.35; letter-spacing: 0; }
.confirma p { margin: 6px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.confirma-acoes { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.confirma-btn { min-height: 42px; padding: 0 18px; border: 1px solid transparent; border-radius: var(--radius-btn); font: inherit; font-size: 14.5px; font-weight: 650; cursor: pointer; transition: background-color .15s, border-color .15s; }
.confirma-nao { color: var(--ink); background: #fff; border-color: var(--line); }
.confirma-nao:hover { background: #f5f8fc; border-color: #b8c7d8; }
.confirma-sim { color: #fff; background: var(--brand-navy); }
.confirma-sim:hover { background: var(--brand-navy-deep); }
.confirma.is-perigo .confirma-sim { background: var(--danger); }
.confirma.is-perigo .confirma-sim:hover { background: #a61f1f; }
.confirma-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-blue) 35%, transparent); outline-offset: 2px; }
@media (max-width: 520px) {
  .confirma { padding: 16px; }
  .confirma-janela { grid-template-columns: 1fr; justify-items: center; padding: 24px 20px 20px; border-radius: 20px; text-align: center; }
  .confirma-icone { margin-bottom: 12px; }
  .confirma-conteudo { width: 100%; }
  .confirma-acoes { flex-direction: column-reverse; width: 100%; margin-top: 20px; }
  .confirma-btn { width: 100%; min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .confirma-fundo, .confirma-janela { animation: none; }
}

/* Pop-up de aviso (app/views/popup.php) */
html.popup-aberto { overflow: hidden; }
.site-popup { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 20px; }
.site-popup[hidden] { display: none; }
.site-popup-fundo { position: absolute; inset: 0; background: rgba(2, 11, 26, .6); opacity: 0; transition: opacity .22s ease; }
.site-popup-janela { position: relative; display: flex; flex-direction: column; width: min(520px, 100%); max-height: calc(100dvh - 40px); overflow: auto; border-radius: 18px; background: #fff; box-shadow: 0 30px 80px rgba(2, 11, 26, .35); opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .22s ease, transform .22s cubic-bezier(.2, .8, .3, 1); }
.site-popup-janela:focus { outline: none; }
.site-popup.is-open .site-popup-fundo, .site-popup.is-open .site-popup-janela { opacity: 1; transform: none; }
.site-popup-fechar { position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; color: var(--ink); background: rgba(255, 255, 255, .92); box-shadow: 0 4px 14px rgba(2, 11, 26, .18); cursor: pointer; }
.site-popup-fechar:hover { background: #fff; }
.site-popup-fechar:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand-blue) 40%, transparent); outline-offset: 2px; }
.site-popup-fechar .icon { width: 18px; height: 18px; }
.site-popup-midia { display: grid; place-items: center; flex: none; background: color-mix(in srgb, var(--ink) 6%, #fff); }
.site-popup-img { display: block; width: 100%; height: auto; max-height: min(42dvh, 340px); object-fit: contain; }
.site-popup-retrato .site-popup-img { width: auto; max-width: 100%; }
@media (min-width: 761px) {
  .site-popup-retrato .site-popup-janela { flex-direction: row; width: min(820px, 100%); max-height: min(560px, calc(100dvh - 40px)); overflow: hidden; }
  .site-popup-retrato .site-popup-midia { flex: 0 1 46%; min-width: 0; }
  .site-popup-retrato .site-popup-img { width: 100%; height: 100%; max-height: min(560px, calc(100dvh - 40px)); }
  .site-popup-retrato .site-popup-corpo { flex: 1 1 54%; align-content: center; padding: 40px 36px; overflow-y: auto; }
}
.site-popup-imagem .site-popup-janela { width: min(480px, 100%); background: transparent; box-shadow: none; overflow: visible; }
.site-popup-imagem .site-popup-midia { background: none; }
.site-popup-imagem .site-popup-img, .site-popup-imagem-link img { display: block; width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; border-radius: 16px; box-shadow: 0 30px 80px rgba(2, 11, 26, .35); }
.site-popup-imagem .site-popup-fechar { top: -14px; right: -14px; }
.site-popup-imagem .site-popup-corpo { padding: 14px 0 0; text-align: center; }
.site-popup-imagem-link { display: block; }
.site-popup-corpo { display: grid; justify-items: start; gap: 12px; padding: 26px 28px 28px; }
.site-popup-texto .site-popup-corpo { padding-top: 34px; padding-right: 56px; }
.site-popup-corpo h2 { margin: 0; color: var(--ink); font-family: var(--font-display); font-size: clamp(19px, 2.6vw, 23px); line-height: 1.25; }
.site-popup-corpo p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.site-popup-botao { margin-top: 6px; }
.site-popup-tempo { position: absolute; right: 0; bottom: 0; left: 0; height: 4px; background: color-mix(in srgb, var(--brand-blue) 12%, transparent); }
.site-popup-imagem .site-popup-tempo { bottom: -10px; border-radius: 4px; }
.site-popup-tempo span { display: block; height: 100%; background: var(--brand-orange); transform-origin: left; animation: site-popup-tempo linear forwards; animation-play-state: paused; }
.site-popup.is-open .site-popup-tempo span { animation-play-state: running; }
@keyframes site-popup-tempo { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (max-width: 520px) {
  .site-popup { padding: 16px; }
  .site-popup-corpo { padding: 22px 20px 24px; }
  .site-popup-botao { width: 100%; justify-content: center; }
  .site-popup-imagem .site-popup-fechar { top: 8px; right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-popup-fundo, .site-popup-janela { transition: none; }
}