/* ==========================================================================
   Loja Agência Pet — estilos das páginas da loja
   Base visual = Site Brasil (tokens.css + styles-c.css). Cabeçalho/rodapé = layout.css.
   ========================================================================== */

:root {
  --maxw: 1200px;
  --gutter: clamp(16px, 5vw, 48px);
  --hero-night: linear-gradient(155deg, #2b1456 0%, #3a1b73 42%, #4a208a 100%);
}

html { scroll-behavior: smooth; }
body {
  color: var(--fg-1); overflow-x: hidden;
  background: linear-gradient(180deg, #FBFAFE 0%, #F4F2FB 100%);
  background-color: #FBFAFE;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
::selection { background: var(--pet-purple-200); color: var(--pet-purple-900); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 110px); }
.section.tight { padding-block: clamp(40px, 6vw, 72px); }
.section.soft { background: #F6F4FB; }
.prose a, a.link { color: var(--pet-purple-600); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover, a.link:hover { color: var(--pet-purple-700); }

/* ---------- rótulos e títulos (iguais ao Site Brasil) ---------- */
.kicker {
  font-family: var(--font-mono); font-size: var(--fs-13); letter-spacing: .14em; text-transform: uppercase;
  color: var(--pet-teal-600); display: inline-flex; align-items: center; gap: 10px; font-weight: 500;
}
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pet-teal-500); flex: none; }
.hero .kicker, .on-dark .kicker, .kicker.light { color: var(--pet-teal-300); }
.hero .kicker .dot, .on-dark .kicker .dot, .kicker.light .dot { background: var(--pet-teal-300); }
.h-sec {
  font-weight: var(--fw-extrabold); letter-spacing: -0.03em; text-transform: lowercase; margin: 0;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.04; color: var(--fg-1); text-wrap: balance;
}
.on-dark .h-sec { color: #fff; }
.display {
  font-weight: var(--fw-extrabold); letter-spacing: -0.035em; line-height: 0.98;
  text-transform: lowercase; margin: 0; color: #fff; font-size: clamp(2.3rem, 6vw, 4.3rem); text-wrap: balance;
}
.display .hl { color: var(--pet-teal-300); }
.lead { font-size: var(--fs-18); line-height: var(--lh-relaxed); color: var(--fg-2); margin: 0; }
.sec-head { display: flex; flex-direction: column; gap: var(--space-4); max-width: 760px; }
.sec-head.center { align-items: center; text-align: center; margin-inline: auto; }
.sec-head.row { flex-direction: row; justify-content: space-between; align-items: flex-end; max-width: none; flex-wrap: wrap; gap: var(--space-6); }

/* ---------- botões ---------- */
.btn {
  font-weight: 700; font-size: var(--fs-15); padding: 14px 24px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 9px; line-height: 1;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out), border-color var(--dur-base) var(--ease-out);
  text-align: center;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-lg { padding: 17px 30px; font-size: var(--fs-16); }
.btn-sm { padding: 10px 16px; font-size: var(--fs-14); }
.btn-block { width: 100%; }
.btn:focus-visible { outline: none; box-shadow: var(--ring-focus); }
.btn[disabled], .btn.is-loading { opacity: .65; cursor: progress; transform: none !important; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--brand-hover); transform: translateY(-2px); }
.btn-teal { background: var(--pet-teal-500); color: #fff; box-shadow: 0 12px 30px rgba(11,141,153,.28); }
.btn-teal:hover { background: var(--pet-teal-600); transform: translateY(-2px); }
.btn-dark { background: var(--ink-950); color: #fff; }
.btn-dark:hover { background: var(--pet-purple-800); transform: translateY(-2px); }
.btn-wa { background: #1FAE54; color: #fff; box-shadow: 0 10px 26px rgba(31,174,84,.32); }
.btn-wa:hover { background: #189447; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--border-brand); }
.btn-outline:hover { background: var(--brand-soft); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-light { background: #fff; color: var(--pet-purple-700); }
.btn-light:hover { transform: translateY(-2px); background: rgba(255,255,255,.92); }

/* ---------- preço ---------- */
.price-tag { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; line-height: 1; }
.price-tag s { color: var(--fg-3); font-size: var(--fs-15); font-weight: 500; }
.price-tag b { color: var(--pet-purple-700); font-size: var(--fs-24); font-weight: 800; letter-spacing: -.02em; }
.price-tag .free { color: var(--success-500, #2BB673); }
.badge-off {
  display: inline-flex; align-items: center; padding: 5px 10px; border-radius: var(--radius-pill);
  background: var(--pet-teal-500); color: #fff; font-size: var(--fs-12); font-weight: 800; letter-spacing: .02em;
}
.badge-free { background: #2BB673; }

/* ==========================================================================
   HERO da loja
   ========================================================================== */
.hero { position: relative; background: var(--hero-night); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 90% at 85% 10%, rgba(11,141,153,.45), transparent 55%),
              radial-gradient(80% 70% at 0% 100%, rgba(122,69,196,.5), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 5vw, 64px); padding-block: clamp(48px, 7vw, 96px); }
.hero .kicker { margin-bottom: var(--space-6); }
.hero .lead { color: rgba(255,255,255,.82); max-width: 40ch; margin: var(--space-6) 0 var(--space-8); font-size: var(--fs-20); }
.hero .lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin: var(--space-10) 0 0; padding: 0; list-style: none; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-14); color: rgba(255,255,255,.78); font-weight: 600; }
.hero-trust svg { width: 17px; height: 17px; color: var(--pet-teal-300); }

/* capas em leque */
.cover-fan { position: relative; aspect-ratio: 1 / 0.92; width: min(100%, 540px); margin-inline: auto; }
.cover-fan img {
  position: absolute; width: 56%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-xl);
  box-shadow: 0 30px 70px rgba(20,7,46,.55); border: 1px solid rgba(255,255,255,.14);
  transition: transform var(--dur-slow) var(--ease-out);
}
.cover-fan .c1 { left: 0; top: 14%; transform: rotate(-9deg); }
.cover-fan .c2 { left: 22%; top: 0; z-index: 2; transform: rotate(0deg); }
.cover-fan .c3 { right: 0; top: 16%; transform: rotate(8deg); }
.cover-fan:hover .c1 { transform: rotate(-12deg) translateX(-8px); }
.cover-fan:hover .c3 { transform: rotate(11deg) translateX(8px); }
.fan-badge {
  position: absolute; z-index: 3; left: 4%; bottom: 0; background: #fff; color: var(--fg-1);
  border-radius: var(--radius-xl); padding: 14px 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; max-width: 290px;
}
.fan-badge .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--pet-teal-600); flex: none; }
.fan-badge .ic svg { width: 22px; height: 22px; }
.fan-badge .t1 { font-weight: 800; font-size: var(--fs-15); }
.fan-badge .t2 { font-size: var(--fs-13); color: var(--fg-3); }

/* faixa de garantias abaixo do hero */
.trust-band { background: #fff; border-bottom: 1px solid var(--border-1); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); padding-block: var(--space-8); }
.trust-item { display: flex; align-items: center; gap: var(--space-3); }
.trust-item .ic { flex: none; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: var(--brand-soft); color: var(--pet-purple-600); }
.trust-item .ic svg { width: 20px; height: 20px; }
.trust-item b { display: block; font-size: var(--fs-15); font-weight: 800; color: var(--fg-1); }
.trust-item span { font-size: var(--fs-13); color: var(--fg-3); }

/* ==========================================================================
   VITRINE
   ========================================================================== */
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--border-1); background: #fff; color: var(--fg-2); font-weight: 700; font-size: var(--fs-14);
  padding: 10px 18px; border-radius: var(--radius-pill); cursor: pointer; transition: all var(--dur-base) var(--ease-out);
}
.chip:hover { border-color: var(--border-brand); color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--ink-950); border-color: var(--ink-950); color: #fff; }
.chip:focus-visible { outline: none; box-shadow: var(--ring-focus); }

.grid-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); margin-top: var(--space-10); }
.grid-products.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); }
/* poucos produtos (página em espanhol): cards centralizados com largura máxima */
.grid-products.few { grid-template-columns: repeat(auto-fit, minmax(0, 380px)); justify-content: center; }
.pcard {
  position: relative; background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-xl);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcard[hidden] { display: none; }
.pcard-media { position: relative; display: block; aspect-ratio: 1; background: var(--pet-purple-50); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.pcard:hover .pcard-media img { transform: scale(1.03); }
.pcard-badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.pcard-tag { display: inline-flex; padding: 5px 10px; border-radius: var(--radius-pill); background: rgba(255,255,255,.94); color: var(--pet-purple-700); font-size: var(--fs-12); font-weight: 800; box-shadow: var(--shadow-xs); }
.pcard-body { padding: var(--space-5) var(--space-6) var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.pcard-autor { font-family: var(--font-mono); font-size: var(--fs-12); letter-spacing: .1em; text-transform: uppercase; color: var(--pet-teal-600); }
.pcard h3 { margin: 0; font-size: var(--fs-18); font-weight: 800; letter-spacing: -.01em; line-height: 1.25; color: var(--fg-1); text-wrap: balance; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pcard h3 a:focus-visible { outline: none; }
.pcard:focus-within { box-shadow: var(--ring-focus), var(--shadow-lg); }
.pcard p { margin: 0; font-size: var(--fs-14); line-height: 1.5; color: var(--fg-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* preço em cima e botão com a largura do card: todos os cards ficam alinhados */
.pcard-foot { margin-top: auto; padding-top: var(--space-4); display: flex; flex-direction: column; align-items: stretch; gap: var(--space-3); }
.pcard-foot .btn { width: 100%; }
/* botão de compra do card fica acima do link "esticado" do título */
.pcard-foot .btn { position: relative; z-index: 2; white-space: nowrap; }
.pcard-foot .btn svg { width: 16px; height: 16px; }
.pcard .alert { position: relative; z-index: 2; margin: var(--space-3) 0 0; font-size: var(--fs-13); }
.empty-msg { text-align: center; color: var(--fg-3); margin-top: var(--space-8); }

/* destaque do combo */
.combo-feature {
  position: relative; overflow: hidden; border-radius: var(--radius-2xl); background: var(--pet-purple-700); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 5vw, 64px);
}
.combo-feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 100% 100%, rgba(11,141,153,.55), transparent 60%); pointer-events: none; }
.combo-feature > * { position: relative; }
.combo-feature .h-sec { color: #fff; margin-top: var(--space-4); }
.combo-feature p { color: rgba(255,255,255,.82); font-size: var(--fs-18); margin: var(--space-5) 0 0; }
.combo-price { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin: var(--space-8) 0 var(--space-6); }
.combo-price s { color: rgba(255,255,255,.6); font-size: var(--fs-18); }
.combo-price b { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.combo-price .save { font-size: var(--fs-14); color: var(--pet-teal-300); font-weight: 700; }
.combo-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }
.combo-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 16px 34px rgba(20,7,46,.4); border: 1px solid rgba(255,255,255,.14); }
.combo-thumbs a { display: block; transition: transform var(--dur-base) var(--ease-out); }
.combo-thumbs a:hover { transform: translateY(-4px) rotate(-1deg); }

/* parceria Sergio Lobato (home) */
.partner-band { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.partner-photo { position: relative; border-radius: var(--radius-2xl); overflow: hidden; aspect-ratio: 1 / 1.08; box-shadow: var(--shadow-xl); }
.partner-photo img { width: 100%; height: 100%; object-fit: cover; }
.partner-photo .logo-chip { position: absolute; left: 16px; bottom: 16px; background: #fff; border-radius: var(--radius-lg); padding: 10px 14px; box-shadow: var(--shadow-md); }
.partner-photo .logo-chip img { height: 26px; width: auto; }
.partner-band .lead { margin-top: var(--space-5); }
.partner-stats { display: flex; flex-wrap: wrap; gap: var(--space-8); margin: var(--space-8) 0; }
.partner-stats .n { font-size: var(--fs-32); font-weight: 800; letter-spacing: -.02em; color: var(--pet-purple-700); line-height: 1; }
.partner-stats .l { font-size: var(--fs-13); color: var(--fg-3); margin-top: 6px; }
.partner-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* como funciona */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-12); counter-reset: step; }
.step { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-xl); padding: var(--space-8) var(--space-6); position: relative; box-shadow: var(--shadow-sm); }
.step .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--pet-purple-600); }
.step .ic svg { width: 25px; height: 25px; }
.step h3 { margin: var(--space-5) 0 var(--space-2); font-size: var(--fs-20); font-weight: 800; letter-spacing: -.01em; }
.step p { margin: 0; font-size: var(--fs-15); }
.step::after { counter-increment: step; content: "0" counter(step); position: absolute; top: var(--space-6); right: var(--space-6); font-family: var(--font-mono); font-size: var(--fs-13); color: var(--fg-3); }

/* chamada para o espanhol */
.lang-cta { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; padding: var(--space-8) clamp(24px, 4vw, 48px); border-radius: var(--radius-2xl); background: #fff; border: 1px solid var(--border-1); box-shadow: var(--shadow-sm); }
.lang-cta .flag { font-size: 2rem; line-height: 1; }
.lang-cta .txt { display: flex; align-items: center; gap: var(--space-4); }
.lang-cta h3 { margin: 0; font-size: var(--fs-20); font-weight: 800; }
.lang-cta p { margin: 4px 0 0; font-size: var(--fs-15); }

/* perguntas frequentes (mesmo padrão do Site Brasil) */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-12); align-items: start; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border-1); }
.faq-list details { border-bottom: 1px solid var(--border-1); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-6) 0; font-size: var(--fs-18); font-weight: 800; letter-spacing: -.01em; color: var(--fg-1); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .pm { flex: none; width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--pet-purple-50); color: var(--pet-purple-600); transition: transform var(--dur-base) var(--ease-out), background var(--dur-base); }
.faq-list summary .pm svg { width: 16px; height: 16px; }
.faq-list details[open] summary .pm { transform: rotate(45deg); background: var(--pet-purple-600); color: #fff; }
.faq-list summary:focus-visible { outline: none; box-shadow: var(--ring-focus); border-radius: var(--radius-sm); }
.faq-list details p { margin: 0 0 var(--space-6); max-width: 62ch; }
.faq-list details p a { color: var(--pet-purple-600); text-decoration: underline; }

/* chamada final escura */
.final { background: var(--hero-night); color: #fff; border-radius: var(--radius-2xl); overflow: hidden; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: var(--space-8); padding: clamp(28px, 5vw, 64px); }
.final .h-sec { color: #fff; margin-top: var(--space-4); }
.final .lead { color: rgba(255,255,255,.82); margin: var(--space-5) 0 var(--space-8); }
.final img { width: min(100%, 320px); margin-inline: auto; border-radius: var(--radius-xl); box-shadow: 0 30px 60px rgba(20,7,46,.5); transform: rotate(3deg); }

/* ==========================================================================
   PÁGINA DE PRODUTO
   ========================================================================== */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--fs-13); color: var(--fg-3); padding-top: var(--space-6); }
.crumbs a:hover { color: var(--brand); }
.crumbs svg { width: 14px; height: 14px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: var(--space-8) clamp(48px, 7vw, 96px); }
.gallery { position: sticky; top: calc(var(--ap-header-h) + 24px); }
.gallery-main { position: relative; border-radius: var(--radius-2xl); overflow: hidden; background: var(--pet-purple-50); aspect-ratio: 1; box-shadow: var(--shadow-lg); border: 1px solid var(--border-1); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .pcard-badges { top: 18px; left: 18px; }
.thumbs { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.thumbs button { width: 76px; height: 76px; padding: 0; border-radius: var(--radius-md); overflow: hidden; border: 2px solid transparent; cursor: pointer; background: none; opacity: .7; transition: all var(--dur-base) var(--ease-out); }
.thumbs button[aria-current="true"] { border-color: var(--brand); opacity: 1; }
.thumbs button:hover { opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info h1 { margin: var(--space-4) 0 0; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; text-wrap: balance; }
.pdp-info .lead { margin-top: var(--space-5); }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-5); }
.meta-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--border-1); font-size: var(--fs-13); font-weight: 600; color: var(--fg-2); }
.meta-pill svg { width: 15px; height: 15px; color: var(--pet-teal-600); }

.buy-box { margin-top: var(--space-8); background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-2xl); padding: var(--space-6) var(--space-8) var(--space-8); box-shadow: var(--shadow-md); }
.buy-price { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 6px 14px; }
.buy-price .old { width: 100%; font-size: var(--fs-14); color: var(--fg-3); }
.buy-price .old s { font-weight: 600; }
.buy-price .now { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; color: var(--pet-purple-700); line-height: 1; }
.buy-price .now small { font-size: .45em; letter-spacing: 0; margin-right: 4px; vertical-align: .55em; }
.buy-price .badge-off { margin-bottom: 8px; }
.buy-sub { margin: var(--space-3) 0 var(--space-6); font-size: var(--fs-14); color: var(--fg-3); }
.buy-box .btn { width: 100%; }
.buy-list { list-style: none; margin: var(--space-6) 0 0; padding: var(--space-5) 0 0; border-top: 1px solid var(--border-1); display: grid; gap: var(--space-3); font-size: var(--fs-14); color: var(--fg-2); }
.buy-list li { display: flex; align-items: center; gap: 10px; }
.buy-list svg { width: 18px; height: 18px; color: var(--pet-teal-600); flex: none; }
.pay-logos { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: var(--space-5); }
.pay-logo { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-12); font-weight: 700; color: var(--fg-2); padding: 6px 10px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--border-1); }
.pay-logo svg { width: 15px; height: 15px; }

/* formulário de download grátis (e-book gratuito) */
.free-form { display: grid; gap: var(--space-4); }
.free-form .ok { display: none; }
.free-form.done .ok { display: block; }
.free-form.done .fields { display: none; }

.learn { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-10); }
.learn.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.learn-card { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-xl); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); box-shadow: var(--shadow-sm); }
.learn-card .ic { width: 44px; height: 44px; border-radius: var(--radius-lg); display: grid; place-items: center; background: var(--pet-purple-50); color: var(--pet-purple-600); }
.learn-card .ic svg { width: 22px; height: 22px; }
.learn-card h3 { margin: var(--space-2) 0 0; font-size: var(--fs-16); font-weight: 800; line-height: 1.35; color: var(--fg-1); text-wrap: pretty; }
.learn-card p { margin: 0; font-size: var(--fs-14); }
.learn-card:nth-child(4n) { background: var(--ink-950); border-color: var(--ink-950); }
.learn-card:nth-child(4n) h3 { color: #fff; }
.learn-card:nth-child(4n) p { color: rgba(255,255,255,.72); }
.learn-card:nth-child(4n) .ic { background: var(--pet-teal-500); color: #fff; }

.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-grid .prose p:first-of-type { font-size: var(--fs-18); color: var(--fg-1); }
.who-list { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-3); }
.who-list li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-16); color: var(--fg-1); font-weight: 600; background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); }
.who-list .ic { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.who-list .ic svg { width: 15px; height: 15px; }

.author-box { display: flex; gap: var(--space-6); align-items: center; padding: var(--space-8); border-radius: var(--radius-2xl); background: var(--pet-purple-700); color: #fff; position: relative; overflow: hidden; }
.author-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 100%, rgba(11,141,153,.5), transparent 60%); }
.author-box > * { position: relative; }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid rgba(255,255,255,.2); background: #fff; }
.author-box img.contain { object-fit: contain; padding: 12px; }
.author-box .nm { font-size: var(--fs-20); font-weight: 800; }
.author-box .rl { font-size: var(--fs-14); color: var(--pet-teal-300); font-weight: 600; margin-top: 2px; }
.author-box p { color: rgba(255,255,255,.82); margin: var(--space-3) 0 0; font-size: var(--fs-15); }
.author-box a.more { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-3); font-weight: 700; font-size: var(--fs-14); color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* barra fixa de compra no celular */
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--border-1); box-shadow: 0 -8px 24px rgba(38,15,71,.08); padding: 12px var(--gutter); display: none; align-items: center; justify-content: space-between; gap: var(--space-4); transform: translateY(110%); transition: transform var(--dur-slow) var(--ease-out); }
.sticky-buy.show { transform: none; }
.sticky-buy .t { font-size: var(--fs-13); color: var(--fg-3); line-height: 1.2; }
.sticky-buy .p { font-weight: 800; font-size: var(--fs-20); color: var(--pet-purple-700); line-height: 1.1; }

/* ==========================================================================
   CHECKOUT
   ========================================================================== */
.co-header { background: #fff; border-bottom: 1px solid var(--border-1); }
.co-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: var(--space-4); }
.co-header img { height: 36px; width: auto; }
.co-secure { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-13); font-weight: 700; color: var(--fg-2); }
.co-secure svg { width: 17px; height: 17px; color: #2BB673; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding-block: clamp(28px, 5vw, 56px) clamp(48px, 7vw, 96px); }
.co-grid h1 { margin: 0 0 var(--space-2); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; text-transform: lowercase; }
.co-grid > div > .lead { font-size: var(--fs-15); margin-bottom: var(--space-8); }
.co-card { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-xl); padding: var(--space-6); box-shadow: var(--shadow-sm); }
.co-card + .co-card { margin-top: var(--space-5); }
.co-step { display: flex; align-items: center; gap: 12px; margin: 0 0 var(--space-5); font-size: var(--fs-18); font-weight: 800; letter-spacing: -.01em; }
.co-step .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: var(--fs-14); flex: none; }
.co-step .edit { margin-left: auto; font-size: var(--fs-13); font-weight: 700; color: var(--brand); background: none; border: none; cursor: pointer; text-decoration: underline; }
.co-card.locked { opacity: .55; pointer-events: none; }
.co-card.locked .co-step .n { background: var(--ink-400); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.f { display: flex; flex-direction: column; gap: 6px; }
.f.full { grid-column: 1 / -1; }
.f label { font-size: var(--fs-14); font-weight: 700; color: var(--fg-1); }
.f input, .f select {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-md); border: 1.5px solid var(--border-2); background: #fff; color: var(--fg-1);
  font-size: var(--fs-16); transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.f input:focus, .f select:focus { outline: none; border-color: var(--pet-purple-400); box-shadow: var(--ring-focus); }
.f input[aria-invalid="true"], .f select[aria-invalid="true"] { border-color: var(--danger-500, #D44C4C); }
.f .err { font-size: var(--fs-13); color: var(--danger-500, #D44C4C); }
.f .err:empty { display: none; }
.f .hint { font-size: var(--fs-13); color: var(--fg-3); }
.radio-inline { display: flex; gap: var(--space-5); padding-top: 4px; }
.radio-inline label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.radio-inline input { accent-color: var(--brand); width: 18px; height: 18px; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-14); color: var(--fg-2); cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--brand); width: 17px; height: 17px; flex: none; }
.check a { color: var(--brand); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: var(--space-5); }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-md); font-size: var(--fs-14); font-weight: 600; margin-top: var(--space-4); }
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.alert-error { background: #FCEDED; color: #9C2B2B; border: 1px solid #F3C4C4; }
.alert-ok { background: #E6F7EF; color: #1B7A4C; border: 1px solid #B6E6CC; }
.alert-info { background: var(--accent-soft); color: var(--pet-teal-700); border: 1px solid var(--pet-teal-100); }
.alert[hidden] { display: none; }

.brick-box { min-height: 120px; }
.brick-loading { display: flex; align-items: center; gap: 10px; color: var(--fg-3); font-size: var(--fs-14); padding: var(--space-4) 0; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--border-1); border-top-color: var(--brand); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.summary { position: sticky; top: 24px; }
.summary-head { display: flex; gap: var(--space-4); align-items: center; }
.summary-head img { width: 84px; height: 84px; border-radius: var(--radius-md); object-fit: cover; flex: none; border: 1px solid var(--border-1); }
.summary-head .t { font-weight: 800; font-size: var(--fs-16); line-height: 1.3; }
.summary-head .a { font-size: var(--fs-13); color: var(--fg-3); margin-top: 4px; }
.summary-rows { list-style: none; margin: var(--space-6) 0 0; padding: var(--space-5) 0 0; border-top: 1px solid var(--border-1); display: grid; gap: var(--space-3); font-size: var(--fs-15); color: var(--fg-2); }
.summary-rows li { display: flex; justify-content: space-between; gap: var(--space-4); }
.summary-rows .disc { color: #1B7A4C; font-weight: 600; }
.summary-rows .total { padding-top: var(--space-4); border-top: 1px dashed var(--border-2); color: var(--fg-1); font-weight: 800; font-size: var(--fs-20); }
.summary-rows .total span:last-child { color: var(--pet-purple-700); }
.summary-includes { margin: var(--space-5) 0 0; padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--bg-2); font-size: var(--fs-13); color: var(--fg-2); }
.summary-includes ul { margin: 6px 0 0; padding-left: 18px; }
.summary-trust { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; gap: var(--space-3); font-size: var(--fs-13); color: var(--fg-2); }
.summary-trust li { display: flex; gap: 8px; align-items: center; }
.summary-trust svg { width: 16px; height: 16px; color: var(--pet-teal-600); flex: none; }

/* Pix */
.pix-box { text-align: center; }
.pix-box img.qr { width: 220px; height: 220px; margin: var(--space-4) auto; border-radius: var(--radius-md); border: 1px solid var(--border-1); padding: 8px; background: #fff; image-rendering: pixelated; }
.pix-code { display: flex; gap: 8px; margin-top: var(--space-4); }
.pix-code input { flex: 1; min-width: 0; padding: 12px 14px; border-radius: var(--radius-md); border: 1.5px solid var(--border-2); font-family: var(--font-mono); font-size: var(--fs-13); background: var(--bg-2); color: var(--fg-2); }
.pix-wait { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--space-5); font-size: var(--fs-14); color: var(--fg-2); font-weight: 600; }
.pix-steps { text-align: left; margin: var(--space-5) auto 0; max-width: 420px; padding-left: 20px; font-size: var(--fs-14); color: var(--fg-2); line-height: 1.7; }

/* ==========================================================================
   OBRIGADO / DOWNLOAD
   ========================================================================== */
.thanks { max-width: 720px; margin-inline: auto; padding-block: clamp(40px, 7vw, 96px); }
.thanks-card { background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-2xl); padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow-lg); text-align: center; }
.thanks-ic { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto var(--space-5); background: #E6F7EF; color: #2BB673; }
.thanks-ic svg { width: 36px; height: 36px; }
.thanks-ic.wait { background: var(--accent-soft); color: var(--pet-teal-600); }
.thanks-ic.bad { background: #FCEDED; color: #D44C4C; }
.thanks-card h1 { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; text-transform: lowercase; }
.thanks-card > p { margin: var(--space-4) auto 0; max-width: 52ch; }
.dl-list { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; gap: var(--space-3); text-align: left; }
.dl-list li a { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); border-radius: var(--radius-lg); border: 1.5px solid var(--border-1); background: var(--bg-2); font-weight: 700; transition: all var(--dur-base) var(--ease-out); }
.dl-list li a:hover { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.dl-list .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; flex: none; }
.dl-list .ic svg { width: 20px; height: 20px; }
.dl-list .go { margin-left: auto; color: var(--brand); }
.dl-list .go svg { width: 20px; height: 20px; }
.thanks-note { margin-top: var(--space-6); font-size: var(--fs-14); color: var(--fg-3); }
.thanks-actions { display: flex; justify-content: center; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-8); }
[data-state] { display: none; }
[data-state].on { display: block; }

/* ==========================================================================
   PÁGINA DO PARCEIRO (Sergio Lobato)
   ========================================================================== */
.partner-hero .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.logos-row { display: inline-flex; align-items: center; gap: var(--space-4); background: #fff; border-radius: var(--radius-pill); padding: 10px 22px; margin-bottom: var(--space-8); box-shadow: var(--shadow-md); flex-wrap: wrap; }
.logos-row span { font-family: var(--font-mono); font-size: var(--fs-12); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.logos-row img { height: 26px; width: auto; }
.logos-row .amp { font-family: var(--font-sans); font-size: var(--fs-20); font-weight: 800; color: var(--pet-purple-600); letter-spacing: 0; }
.portrait { position: relative; width: min(100%, 440px); margin-inline: auto; }
.portrait .frame { border-radius: var(--radius-2xl); overflow: hidden; aspect-ratio: 480 / 520; box-shadow: 0 40px 90px rgba(20,7,46,.55); border: 1px solid rgba(255,255,255,.14); }
.portrait .frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait .fan-badge { left: -18px; bottom: 26px; }

.lead-magnet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.lead-magnet .media { border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-lg); background: #E7E5E3; }
.lead-magnet .media img { width: 100%; }
.lead-magnet .prose p { margin: var(--space-4) 0 0; }
.lead-magnet .prose p strong { color: var(--fg-1); }
.lm-points { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: grid; gap: var(--space-3); }
.lm-points li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; color: var(--fg-1); }
.lm-points .ic { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.lm-points .ic svg { width: 15px; height: 15px; }
.lm-form { margin-top: var(--space-8); }
.lm-form h3 { margin: 0 0 var(--space-5); font-size: var(--fs-20); font-weight: 800; }
.phone-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }

.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.contact-card { border-radius: var(--radius-2xl); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: var(--space-4); min-height: 280px; position: relative; overflow: hidden; color: #fff; }
.contact-card.teal { background: var(--pet-teal-500); }
.contact-card.purple { background: var(--pet-purple-600); }
.contact-card h3 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; text-transform: lowercase; line-height: 1.08; }
.contact-card p { color: rgba(255,255,255,.86); margin: 0; flex: 1; }
.contact-card .btn { align-self: flex-start; }
.contact-card.teal .btn-light { color: var(--pet-teal-700); }
.contact-card .ghost { position: absolute; right: -8px; bottom: -36px; font-size: 10rem; font-weight: 800; opacity: .12; line-height: 1; letter-spacing: -.05em; pointer-events: none; }

/* ==========================================================================
   TEXTO LONGO (termos)
   ========================================================================== */
.doc { max-width: 780px; margin-inline: auto; padding-block: clamp(40px, 6vw, 80px); }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; text-transform: lowercase; margin: var(--space-4) 0 var(--space-3); }
.doc h2 { font-size: var(--fs-20); font-weight: 800; margin: var(--space-10) 0 var(--space-3); }
.doc li { color: var(--fg-2); line-height: var(--lh-relaxed); margin-bottom: 6px; }
.doc .updated { font-size: var(--fs-14); color: var(--fg-3); }

/* ---------- rodapé da loja (complementa layout.css) ---------- */
.ap-footer .foot-store { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: clamp(28px, 5vw, 64px); }
.ap-footer .foot-store p { color: rgba(255,255,255,.7); margin: 0; font-size: var(--fs-15); }
.ap-footer .foot-store ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ap-footer .foot-store ul a { color: rgba(255,255,255,.72); font-size: var(--fs-15); }
.ap-footer .foot-store ul a:hover { color: #fff; }
.ap-footer .foot-pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: var(--space-5); }
.ap-footer .foot-pay span { font-size: var(--fs-12); font-weight: 700; color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-sm); padding: 5px 9px; }
.ap-header .ap-nav-link.ext svg { width: 13px; height: 13px; }
/* submenu "sergio lobato" (português / español) */
.ap-header .ap-dropdown-panel { min-width: 180px; }
.ap-mobile-menu .ap-mobile-group { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; text-transform: lowercase; color: var(--ink-950); padding: 16px 0 4px; }
.ap-mobile-menu .ap-mobile-group.active { color: var(--pet-purple-600); }
.ap-brand { display: flex; align-items: center; gap: 10px; }
.ap-brand .store-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--pet-teal-600); border: 1px solid var(--pet-teal-200); border-radius: 999px; padding: 4px 9px; font-weight: 500; }

/* ---------- aviso de cookies ---------- */
.consent {
  position: fixed; z-index: 120; left: 16px; right: 16px; bottom: 16px; margin-inline: auto; max-width: 760px;
  background: #fff; border: 1px solid var(--border-1); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl);
  padding: var(--space-5) var(--space-6); display: flex; align-items: center; gap: var(--space-5);
}
.consent p { margin: 0; font-size: var(--fs-14); line-height: 1.5; color: var(--fg-2); flex: 1; }
.consent p a { color: var(--brand); text-decoration: underline; }
.consent-actions { display: flex; gap: var(--space-2); flex: none; }
body.has-consent .ap-wa-float, body.has-consent .ap-to-top { display: none; }
.foot-linkbtn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: var(--fs-15); color: rgba(255,255,255,.72); text-align: left; }
.foot-linkbtn:hover { color: #fff; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--pet-purple-600); text-decoration: underline; text-underline-offset: 3px; }

/* tabela de cookies */
.table-wrap { overflow-x: auto; margin: var(--space-4) 0; border: 1px solid var(--border-1); border-radius: var(--radius-lg); background: #fff; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: var(--fs-14); min-width: 560px; }
.cookie-table th, .cookie-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border-1); vertical-align: top; color: var(--fg-2); }
.cookie-table th { background: var(--bg-2); color: var(--fg-1); font-weight: 800; }
.cookie-table tr:last-child td { border-bottom: 0; }
.cookie-table code { white-space: nowrap; }

/* ---------- animação de entrada (sempre visível; só desloca) ---------- */
.reveal.in { animation: revealRise .6s var(--ease-out); }
@keyframes revealRise { from { transform: translateY(18px); } to { transform: none; } }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1080px) {
  .grid-products.cols-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .learn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .partner-hero .hero-grid, .combo-feature, .partner-band, .pdp, .about-grid, .faq, .final, .co-grid, .lead-magnet, .contact-split { grid-template-columns: minmax(0, 1fr); }
  .grid-products, .grid-products.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .learn.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .gallery, .summary { position: static; }
  .cover-fan { width: min(100%, 420px); }
  .partner-photo { max-width: 420px; }
  .sticky-buy { display: flex; }
  .final img { display: none; }
  .co-grid .summary { order: -1; }
  .ap-footer .foot-store { grid-template-columns: 1fr; }
  body.has-sticky .ap-wa-float { bottom: 88px; }
  body.has-sticky .ap-to-top { bottom: 156px; }
  /* aviso de cookies acima da barra fixa de compra */
  body.has-sticky .consent { bottom: 84px; }
}
@media (max-width: 600px) {
  .grid-products, .grid-products.cols-4, .learn, .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .buy-box { padding: var(--space-5); }
  .author-box { flex-direction: column; align-items: flex-start; padding: var(--space-6); }
  .fan-badge { left: 0; max-width: 250px; padding: 12px 14px; }
  .portrait .fan-badge { left: 8px; }
  .thumbs button { width: 64px; height: 64px; }
  .hero .lead { font-size: var(--fs-18); }
  .lang-cta { padding: var(--space-6); }
  .ap-brand .store-tag { display: none; }
  .consent { flex-direction: column; align-items: stretch; padding: var(--space-5); left: 12px; right: 12px; bottom: 12px; }
  .consent-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
