/* ==========================================================================
   Guia do Liquidificador — style.css
   Mobile-first. Sem dependências externas. Fontes do sistema.
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-2: #f6f7f9;
  --color-text: #1c2430;
  --color-text-soft: #5b6574;
  --color-border: #e4e7ec;
  --color-primary: #c9a227;
  --color-primary-dark: #a8861c;
  --color-accent: #0f7a8c;
  --color-ml: #0064d2;
  --color-amazon: #232f3e;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 4px 16px rgba(16, 24, 40, 0.06);
  --shadow-lg: 0 8px 32px rgba(16, 24, 40, 0.1);
  --space: clamp(2.5rem, 6vw, 4.5rem);
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

section[id],
header[id] {
  scroll-margin-top: 70px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1, h2, h3 {
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
}

h2 {
  font-size: clamp(1.4rem, 3.4vw, 2rem);
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container.narrow {
  max-width: 820px;
}

.section-pad {
  padding-top: var(--space);
  padding-bottom: var(--space);
}

.section-alt {
  background: var(--color-surface-2);
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.section-lead {
  color: var(--color-text-soft);
  font-size: 1.05rem;
  max-width: 46rem;
}

/* ==========================================================================
   Botões
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  min-height: 48px;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-text-soft);
}

.btn-ml {
  background: var(--color-ml);
  color: #fff;
}

.btn-ml:hover {
  background: #0057b2;
  color: #fff;
}

.btn-amazon {
  background: var(--color-amazon);
  color: #fff;
}

.btn-amazon:hover {
  background: #121a26;
  color: #fff;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
}

.brand {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  display: none;
}

.main-nav.is-open {
  display: block;
}

.nav-list li a {
  display: block;
  padding: 0.9rem 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
}

.nav-list li a:hover {
  text-decoration: none;
  background: var(--color-surface-2);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: linear-gradient(180deg, #faf9f4 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  gap: 2.25rem;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  color: var(--color-text-soft);
}

.hero-note {
  font-size: 0.95rem;
  color: var(--color-text-soft);
}

.hero-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.hero-product-card {
  margin: 0;
  padding: 0.75rem 0.75rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-product-card img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--color-surface-2);
  border-radius: var(--radius-sm);
  width: 100%;
}

.hero-product-card figcaption {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  color: var(--color-text-soft);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.cards-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.card-criterion h3,
.card-reason h3 {
  margin-top: 0.8rem;
  font-size: 1rem;
}

.card p {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.card-reason-featured {
  grid-column: 1 / -1;
  border-color: var(--color-primary);
  background: #fffdf6;
  box-shadow: var(--shadow-lg);
}

.reason-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.4rem;
}

.winner-text:first-of-type {
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-top: 1.5rem;
}

.criterion-icon,
.reason-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f3e9c9;
  color: var(--color-primary-dark);
}

/* ==========================================================================
   Product cards
   ========================================================================== */

.product-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-figure {
  margin: 0;
  background: var(--color-surface-2);
  padding: 1.25rem;
}

.product-figure img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.product-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-body h3 {
  margin-bottom: 0;
}

.product-desc {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.product-specs li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--color-text-soft);
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.product-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

/* ==========================================================================
   Tabela comparativa
   ========================================================================== */

.table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.compare-table thead th {
  background: var(--color-surface-2);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-soft);
}

.compare-table tbody th {
  font-weight: 700;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-cards {
  display: none;
}

.compare-card h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.compare-card dl {
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.compare-card dt {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-soft);
}

.compare-card dd {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

/* ==========================================================================
   Curiosidade
   ========================================================================== */

.curiosity {
  margin-top: 3rem;
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.curiosity p {
  color: var(--color-text-soft);
  max-width: 38rem;
  margin: 0 auto 1.5rem;
}

/* ==========================================================================
   Vídeo
   ========================================================================== */

.video-section p {
  color: var(--color-text-soft);
}

.video-component {
  margin: 2rem 0 1.5rem;
  position: relative;
  width: 100%;
}

.local-video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: #000;
}

.video-after {
  text-align: center;
  color: var(--color-text-soft);
}

.video-section > .container.narrow > .btn {
  display: flex;
  margin: 0 auto;
}

/* ==========================================================================
   Revelação / Nossa escolha
   ========================================================================== */

.reveal-section {
  background: linear-gradient(180deg, #fffdf6 0%, #ffffff 60%);
}

.winner-content {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.winner-media {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.25rem;
}

.winner-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.winner-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.winner-checks {
  margin: 1.25rem 0;
}

.winner-checks li {
  margin-bottom: 0.55rem;
  font-weight: 600;
}

.winner-text {
  color: var(--color-text-soft);
}

.buy-zone {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.buy-zone-title {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.buy-buttons {
  display: grid;
  gap: 0.75rem;
}

.buy-buttons .btn {
  width: 100%;
}

/* ==========================================================================
   Outros modelos
   ========================================================================== */

.buy-buttons-secondary {
  margin-top: 1.25rem;
}

.buy-buttons-single {
  grid-template-columns: 1fr;
}

/* ==========================================================================
   Escolher
   ========================================================================== */

.choose-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.choose-card p {
  color: var(--color-text-soft);
  font-size: 0.95rem;
}

.choose-badge {
  align-self: flex-start;
  margin-top: auto;
  background: #f3e9c9;
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

/* ==========================================================================
   CTA final
   ========================================================================== */

.cta-section {
  background: linear-gradient(160deg, #fffdf6 0%, #f6f7f9 100%);
}

.cta-content {
  display: grid;
  gap: 2rem;
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.cta-media img {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
  font-size: 1rem;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: none;
  border: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  min-height: 48px;
}

.faq-question:hover {
  background: var(--color-surface-2);
}

.faq-icon {
  flex: 0 0 auto;
  position: relative;
  width: 18px;
  height: 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--color-text-soft);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.faq-icon::before {
  top: 8px;
  left: 2px;
  width: 14px;
  height: 2px;
}

.faq-icon::after {
  top: 2px;
  left: 8px;
  width: 2px;
  height: 14px;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: scaleY(0);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
  margin: 0;
  color: var(--color-text-soft);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #121a26;
  color: #b6bfcc;
  padding: 2.5rem 0;
  margin-top: var(--space);
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand {
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.footer-nav a {
  color: #b6bfcc;
  font-size: 0.9rem;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-disclosure {
  font-size: 0.82rem;
  color: #7d8794;
  max-width: 44rem;
  margin: 0 auto;
  line-height: 1.5;
}

/* ==========================================================================
   Páginas secundárias (privacidade / termos / contato)
   ========================================================================== */

.page-main .container.narrow {
  padding-top: var(--space);
  padding-bottom: var(--space);
}

.page-main h1 {
  margin-bottom: 0.4em;
}

.page-main .page-updated {
  color: var(--color-text-soft);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.page-main h2 {
  font-size: 1.3rem;
  margin-top: 2rem;
}

.page-main ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1em;
}

.page-main ul li {
  margin-bottom: 0.4rem;
}

.contact-methods {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-card {
  display: block;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-weight: 700;
  color: var(--color-text);
}

.contact-card span {
  display: block;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  margin-top: 0.3rem;
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

@media (min-width: 640px) {
  .buy-buttons {
    grid-template-columns: 1fr 1fr;
  }

  .cta-content {
    grid-template-columns: 260px 1fr;
  }

  .cta-media img {
    width: 260px;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    display: block;
    border: 0;
    box-shadow: none;
    background: none;
  }

  .nav-list {
    display: flex;
    gap: 0.25rem;
  }

  .nav-list li a {
    display: block;
    padding: 0.55rem 0.85rem;
    border-top: 0;
    border-radius: 8px;
    font-size: 0.92rem;
  }

  .nav-list li a:hover {
    background: var(--color-surface-2);
  }

  .cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .cards-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .winner-content {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (max-width: 899px) {
  .compare-table {
    display: none;
  }

  .table-wrap {
    display: none;
  }

  .compare-cards {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
  }
}

/* ==========================================================================
   Acessibilidade
   ========================================================================== */

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}