/* ============================================================
   FISGA OFERTAS — folha de estilo
   Paleta: lago profundo + âmbar de isca, tipografia robusta.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink:      #0E2A2C;   /* fundo profundo, "água escura" */
  --lake:     #123B3B;   /* painéis sobre o fundo escuro */
  --lake-2:   #17504E;
  --paper:    #F6F1E4;   /* cartões / conteúdo claro */
  --paper-2:  #EDE5D0;
  --amber:    #E4A62E;   /* isca / preço / CTA */
  --amber-2:  #C98A1D;
  --coral:    #E0654A;   /* selo de desconto */
  --line:     rgba(246,241,228,0.14);
  --line-dark:#DCD2B4;
  --text-on-dark: #EDEBDF;
  --text-muted-dark: #A9C2BE;
  --text-on-paper: #1B2C2A;
  --text-muted-paper: #5B6E68;
  --radius: 6px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-on-dark);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

h1, h2, h3, .headline {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  color: inherit;
}

a { color: inherit; text-decoration: none; }

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------------- Header ---------------- */

.site-header {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 700;
  white-space: nowrap;
}
.brand .hook { color: var(--amber); }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-size: 0.95rem;
  color: var(--text-muted-dark);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--paper); border-color: var(--amber); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover, .btn-amber:focus-visible { background: var(--amber-2); }
.btn-outline { border-color: var(--line); color: var(--text-on-dark); }
.btn-outline:hover, .btn-outline:focus-visible { border-color: var(--amber); color: var(--amber); }

.nav-toggle { display: none; }

/* ---------------- Hero ---------------- */

.hero {
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber);
  font-size: 0.9rem;
  margin-bottom: 22px;
}
.hero-badge::before { content: "●"; font-size: .6rem; }

.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  max-width: 14ch;
  color: var(--paper);
}

.hero p.lede {
  max-width: 52ch;
  margin-top: 20px;
  font-size: 1.08rem;
  color: var(--text-muted-dark);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--text-on-dark);
  transition: border-color .15s, background .15s;
}
.chip:hover, .chip:focus-visible { border-color: var(--amber); background: rgba(228,166,46,0.08); }

/* wave divider evoking a waterline */
.wave-divider {
  display: block;
  width: 100%;
  height: 44px;
  margin-top: 56px;
}

/* ---------------- Sections on paper ---------------- */

.section-paper {
  background: var(--paper);
  color: var(--text-on-paper);
  padding: 64px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.section-head h2 { font-size: 1.7rem; }
.section-head .see-all {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--amber-2);
  border-bottom: 1px solid var(--amber-2);
  padding-bottom: 2px;
}

.section-lede {
  max-width: 56ch;
  color: var(--text-muted-paper);
  margin-top: -18px;
  margin-bottom: 32px;
}

/* ---------------- Category strip ---------------- */

.cat-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.cat-card {
  background: var(--lake);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  transition: transform .15s, border-color .15s, background .15s;
}
.cat-card:hover, .cat-card:focus-visible {
  border-color: var(--amber);
  background: var(--lake-2);
  transform: translateY(-2px);
}
.cat-card .emoji { font-size: 1.5rem; display: block; margin-bottom: 8px; }
.cat-card .label { font-size: 0.88rem; font-weight: 600; }

/* ---------------- Product grid ---------------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }

.badge-discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--coral);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 4px;
}

.product-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-cat-label {
  font-size: 0.78rem;
  color: var(--amber-2);
  font-weight: 600;
}

.product-title {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  min-height: 2.7em;
}

.product-price-row {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price-now { font-size: 1.18rem; font-weight: 700; color: var(--text-on-paper); }
.price-old { font-size: 0.85rem; color: var(--text-muted-paper); text-decoration: line-through; }
.tag-frete { font-size: 0.76rem; color: var(--lake-2); font-weight: 600; }

.product-cta {
  margin-top: 6px;
  display: inline-flex;
  justify-content: center;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background .15s;
}
.product-cta:hover, .product-cta:focus-visible { background: var(--lake-2); }

/* ---------------- Trust section ---------------- */

.section-dark { background: var(--ink); padding: 64px 0; }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.trust-item .icon { font-size: 1.6rem; margin-bottom: 12px; }
.trust-item h3 { font-size: 1.08rem; color: var(--paper); margin-bottom: 8px; }
.trust-item p { color: var(--text-muted-dark); font-size: 0.94rem; margin: 0; }

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--lake);
  padding: 48px 0 28px;
  color: var(--text-muted-dark);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer-grid h4 {
  color: var(--paper);
  font-size: 0.85rem;
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid a:hover { color: var(--amber); }

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: 1px solid var(--line);
    color: var(--paper);
    border-radius: var(--radius);
    padding: 8px 12px;
    font-size: 1rem;
  }
  .cat-strip { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 520px) {
  .cat-strip { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------- */
/* Blog                                                              */
/* ---------------------------------------------------------------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.blog-card:hover, .blog-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(14,42,44,0.10);
}

.blog-card-icone {
  font-size: 2.4rem;
  padding: 28px 20px 8px;
  background: var(--paper-2);
}

.blog-card-corpo {
  padding: 14px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.blog-card-titulo {
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--text-on-paper);
}

.blog-card-resumo {
  font-size: 0.92rem;
  color: var(--text-muted-paper);
  margin: 0;
  flex: 1;
}

.blog-card-leia-mais {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--amber-2);
}

/* Corpo do artigo: tipografia de leitura confortável */
.artigo-corpo {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-on-paper);
}
.artigo-corpo h2 {
  font-size: 1.35rem;
  margin: 2em 0 0.6em;
}
.artigo-corpo p {
  margin: 0 0 1.1em;
}
.artigo-corpo ul {
  margin: 0 0 1.4em;
  padding-left: 1.3em;
}
.artigo-corpo li {
  margin-bottom: 0.5em;
}
.artigo-corpo strong {
  color: var(--text-on-paper);
}
.artigo-corpo img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  margin: 0.5em 0 1.6em;
}
.artigo-corpo ol {
  margin: 0 0 1.4em;
  padding-left: 1.3em;
}
.artigo-corpo ol li {
  margin-bottom: 0.5em;
}

.cta-artigo {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--paper-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.lead-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.lead-box-inline {
  margin-top: 24px;
  padding: 24px 28px;
  background: var(--lake);
  border-radius: var(--radius);
}

@media (max-width: 860px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .blog-grid { grid-template-columns: 1fr; }
  .cta-artigo, .lead-box { flex-direction: column; align-items: flex-start; }
}
