/* =========================================================
   AMS Creative · Base visual compartilhada (v1.8)
   Marca: preto + CMYK (ciano, magenta, amarelo) da gráfica.
   ========================================================= */

@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-500.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-700.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-700.woff") format("woff"); }

:root {
  --ink: #15121a;
  --ink-2: #2a2530;
  --ink-soft: #4a4450;
  --muted: #6c6572;
  --paper: #faf7f2;
  --paper-2: #f3eee6;
  --surface: #ffffff;
  --line: #e7e0d6;
  --line-strong: #d6cdc1;

  --magenta: #d4007d;        /* texto e botões (contraste AA) */
  --magenta-bright: #ed018a; /* cor da marca, decorativa */
  --magenta-deep: #a8005f;
  --magenta-tint: #fde8f3;
  --cyan: #01a2f0;
  --cyan-deep: #0074ad;
  --cyan-tint: #e3f4fd;
  --yellow: #fee505;
  --yellow-tint: #fff9cc;
  --green: #12805c;
  --green-tint: #e2f4ec;
  --amber: #a35a00;
  --amber-tint: #fff1dc;
  --red: #c0262d;
  --red-tint: #fdeaea;
  --wa: #1f9d55;

  --font-display: "Poppins", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(21, 18, 26, 0.06), 0 1px 1px rgba(21, 18, 26, 0.04);
  --shadow: 0 10px 30px -12px rgba(21, 18, 26, 0.18), 0 2px 6px rgba(21, 18, 26, 0.05);
  --shadow-lg: 0 30px 60px -24px rgba(21, 18, 26, 0.32);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 76px;
  --stripe: linear-gradient(90deg, var(--cyan) 0 33.33%, var(--magenta-bright) 33.33% 66.66%, var(--yellow) 66.66% 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--magenta-bright); color: #fff; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.no-scroll { overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1220px, 100% - 40px); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 14px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--magenta);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--stripe); }
.eyebrow.on-dark { color: #ff7ac1; }
.stripe { height: 4px; background: var(--stripe); }
.hl { color: var(--magenta); }
.hl-under { background: linear-gradient(transparent 68%, var(--yellow) 68% 92%, transparent 92%); padding: 0 0.06em; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15px; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s, color 0.18s, border-color 0.18s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(21, 18, 26, 0.45); }
.btn:active { transform: translateY(0); }
.btn svg { width: 19px; height: 19px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }
.btn-main { --bg: var(--magenta); }
.btn-main:hover { --bg: var(--magenta-deep); box-shadow: 0 12px 26px -10px rgba(212, 0, 125, 0.55); }
.btn-dark { --bg: var(--ink); }
.btn-wa { --bg: var(--wa); }
.btn-wa:hover { --bg: #17854a; }
.btn-shop { --bg: #ee4d2d; }
.btn-line { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.btn-line:hover { --bd: var(--ink); --bg: var(--surface); }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-ghost-light { --bg: rgba(255, 255, 255, 0.08); --fg: #fff; --bd: rgba(255, 255, 255, 0.28); }
.btn-ghost-light:hover { --bg: rgba(255, 255, 255, 0.16); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn.full { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--magenta); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Formulários ---------- */
.field, label.field { display: grid; align-content: start; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], input[type="date"], input[type="password"], input:not([type]), select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line-strong);
  background: var(--surface); font-size: 15px; font-weight: 400; color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(1, 162, 240, 0.18); }
select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%2315121a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--magenta); width: 18px; height: 18px; }

/* ---------- Faixa de aviso + header ---------- */
.announce { background: var(--ink); color: rgba(255, 255, 255, 0.86); font-size: 13px; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 38px; text-align: center; }
.announce a { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.announce a:hover { text-decoration: underline; }
.announce .show-sm { display: none; }
.announce .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); flex: none; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(250, 247, 242, 0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(21, 18, 26, 0.35); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: 168px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a { position: relative; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--ink-soft); text-decoration: none; transition: color 0.15s, background 0.15s; }
.main-nav a:hover { color: var(--ink); background: rgba(21, 18, 26, 0.05); }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.main-nav .nav-account { display: none; }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--stripe); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn, .cart-btn, .menu-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color 0.15s, transform 0.15s;
}
.icon-btn:hover, .cart-btn:hover, .menu-btn:hover { border-color: var(--ink); }
.icon-btn svg, .cart-btn svg, .menu-btn svg { width: 20px; height: 20px; }
.cart-btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.cart-btn [data-cart-count] { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--magenta-bright); color: #fff; font-size: 12px; font-weight: 700; }
.cart-btn [data-cart-count="0"] { background: rgba(255, 255, 255, 0.18); }
.cart-btn.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }
.menu-btn { display: none; padding: 0; width: 44px; justify-content: center; }

@media (max-width: 1080px) {
  .main-nav a { padding: 10px 10px; font-size: 14px; }
  .icon-btn .label { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand img { width: 136px; }
  .menu-btn { display: inline-flex; }
  .cart-btn .label { display: none; }
  .header-actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + var(--announce-h, 0px)) 0 auto 0; z-index: 59; margin: 0; padding: 12px 20px 24px;
    flex-direction: column; align-items: stretch; gap: 2px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(21, 18, 26, 0.4);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0.2s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 8px; font-size: 17px; border-radius: 10px; border-bottom: 1px solid var(--line); }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav .nav-account { display: block; color: var(--magenta); font-weight: 600; }
  .icon-btn { display: none; }
  .announce .hide-sm { display: none; }
  .announce .show-sm { display: inline; }
}

/* ---------- Rodapé ---------- */
.site-foot { position: relative; background: var(--ink); color: rgba(255, 255, 255, 0.72); padding: 72px 0 0; margin-top: 0; font-size: 15px; }
.site-foot::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--stripe); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand img { width: 190px; margin-bottom: 18px; }
.foot-brand p { max-width: 34ch; }
.site-foot h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-foot a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.site-foot a:hover { color: #fff; }
.foot-links { display: grid; gap: 10px; justify-items: start; }
.foot-social a { display: inline-flex; align-items: center; gap: 10px; }
.foot-social svg { width: 18px; height: 18px; }
.foot-social a span:first-child { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.foot-link-button { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, 0.78); font-size: 15px; }
.foot-link-button:hover { color: #fff; }
.foot-link-button svg { width: 18px; height: 18px; }
.company-legal { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.55); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.foot-bottom .credit { display: inline-flex; align-items: center; gap: 8px; }
.staff-access { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; opacity: 0.45; }
.staff-access:hover { opacity: 1; background: rgba(255, 255, 255, 0.08); }
.staff-access svg { width: 13px; height: 13px; }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-foot { padding-top: 56px; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Avisos ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; display: flex; align-items: center; gap: 10px; max-width: calc(100% - 32px);
  padding: 14px 20px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; box-shadow: var(--shadow-lg);
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.3s var(--ease);
}
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error::before { background: #ff6b6b; }
.status-banner { display: none; padding: 12px 20px; text-align: center; background: var(--amber-tint); color: var(--amber); font-size: 14px; font-weight: 500; }
.status-banner.show { display: block; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 50; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(31, 157, 85, 0.7); transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.6s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Cookies ---------- */
.cookie-banner {
  position: fixed; left: 20px; bottom: 20px; z-index: 110; width: min(440px, calc(100% - 40px)); padding: 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(16px); opacity: 0; transition: opacity 0.25s, transform 0.3s var(--ease);
}
.cookie-banner.show { transform: none; opacity: 1; }
.cookie-banner h2 { font-size: 18px; margin-bottom: 6px; }
.cookie-banner p { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.cookie-banner a { font-size: 13px; font-weight: 600; color: var(--magenta); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie-actions .btn { flex: 1 1 auto; min-height: 42px; padding: 0 14px; font-size: 14px; }
.cookie-modal { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 20px; background: rgba(21, 18, 26, 0.55); opacity: 0; transition: opacity 0.2s; }
.cookie-modal.show { opacity: 1; }
.cookie-modal-card { width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 26px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-lg); }
.cookie-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.cookie-modal-head h2 { font-size: 20px; margin: 0; }
.cookie-modal-head button, .x { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper-2); font-size: 22px; line-height: 1; }
.cookie-modal-card > p { color: var(--muted); font-size: 14px; }
.cookie-option { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
.cookie-option b { display: block; font-size: 15px; }
.cookie-option small { color: var(--muted); font-size: 13px; }
.cookie-modal-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.link-arrow svg { width: 18px; height: 18px; flex: none; }

/* ---------- Seletor de quantidade ---------- */
.stepper { display: inline-flex; align-items: center; height: 52px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--surface); }
.stepper button { width: 46px; height: 100%; border: 0; background: none; font-size: 22px; line-height: 1; border-radius: 999px; }
.stepper button:hover { background: var(--paper-2); }
.stepper input { width: 70px; min-height: 0; height: 100%; padding: 0; border: 0; text-align: center; font-weight: 700; font-size: 17px; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper input:focus { box-shadow: none; }
.stepper.sm { height: 42px; }
.stepper.sm button { width: 36px; font-size: 18px; }
.stepper.sm input { width: 52px; font-size: 15px; }
.text-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; background: none; color: var(--magenta); font-size: 14px; font-weight: 600; }
.text-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.form-error { min-height: 0; margin: 8px 0 0; color: var(--red); font-size: 14px; font-weight: 500; }
.form-error:empty { display: none; }

/* ---------- Campos de senha ---------- */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 92px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); padding: 8px 12px; border: 0; border-radius: 8px; background: var(--paper-2); font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.pw-toggle:hover { color: var(--ink); }
.pw-hint { margin-top: -6px; color: var(--muted); font-size: 12px; }
