/* Assú Polpas — Catálogo | styles.css */
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Archivo', sans-serif;
  color: #22331F;
  background: #e7e1cf;
}

#root {
  min-height: 100%;
  background: #e7e1cf;
  display: flex;
  justify-content: center;
  padding: 34px 0 60px;
  position: relative;
}

#stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

.page {
  width: 820px;
  height: 1160px;
  background: #FBF7EA;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 26px 60px rgba(14,58,20,.22);
}
.page--flex { display: flex; flex-direction: column; }

/* Export button */
.export-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #1E6E22;
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 14px;
  border: none;
  border-radius: 100px;
  padding: 13px 22px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(14,58,20,.32);
}
.export-btn:hover { background: #175A1D; box-shadow: 0 12px 30px rgba(14,58,20,.42); }
.export-btn .icon { font-size: 16px; }
@media screen and (max-width: 680px) {
  .export-btn { top: 12px; right: 12px; padding: 10px 16px; font-size: 12.5px; gap: 7px; }
  .export-btn .icon { font-size: 14px; }
}
@media screen and (max-width: 420px) {
  .export-btn { padding: 10px; border-radius: 50%; }
  .export-btn .label { display: none; }
}

/* ---------- HERO (Página 1) ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg,#2E8C2E 0%,#1E6E22 60%,#175A1D 100%);
  padding: 34px 44px 30px;
  border-radius: 0 0 30px 30px;
  overflow: hidden;
}
.hero-blob-1 { position: absolute; right: -120px; top: -140px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.06); }
.hero-blob-2 { position: absolute; right: 120px; bottom: -160px; width: 280px; height: 280px; border-radius: 50%; background: rgba(0,0,0,.08); }

.hero-top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.hero-logo { height: 52px; width: auto; display: block; filter: drop-shadow(0 3px 8px rgba(0,0,0,.18)); }
.catalog-badge { border: 1.5px solid rgba(255,255,255,.55); color: #FBF7EA; font-weight: 700; font-size: 12px; letter-spacing: .22em; padding: 8px 16px; border-radius: 100px; }

.hero-main { position: relative; display: flex; align-items: flex-end; justify-content: space-between; margin-top: 22px; }
.hero-copy { max-width: 460px; }
.hero-eyebrow { font-family: 'Caveat', cursive; font-size: 30px; color: #C9E8B6; line-height: 1; margin-bottom: 2px; }
.hero-title { margin: 0; font-size: 62px; font-weight: 900; line-height: .95; color: #fff; letter-spacing: -.01em; }
.hero-desc { margin: 16px 0 0; font-size: 15.5px; line-height: 1.5; color: #E7F3DD; max-width: 420px; }
.hero-photo { width: 190px; height: 210px; object-fit: cover; display: block; margin-bottom: -6px; border-radius: 20px; box-shadow: 0 16px 30px rgba(0,0,0,.32); border: 6px solid rgba(255,255,255,.92); }

.badges-row { position: relative; display: flex; gap: 10px; margin-top: 22px; }
.badge { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; font-weight: 600; font-size: 12.5px; padding: 8px 15px; border-radius: 100px; }

/* ---------- Section headers ---------- */
.section-header { display: flex; align-items: flex-end; justify-content: space-between; padding: 20px 44px 0; }
.section-header--tight { padding-top: 0; }
.section-eyebrow { font-family: 'Caveat', cursive; font-size: 24px; color: #2E8C2E; line-height: 1; }
.section-eyebrow--lg { font-size: 26px; }
.section-title { margin: 1px 0 0; font-size: 30px; font-weight: 900; color: #22331F; letter-spacing: -.01em; }
.section-title--lg { font-size: 34px; margin-top: 2px; }
.section-title--md { font-size: 24px; margin-top: 2px; }
.section-count { background: #EAF3E2; color: #1E6E22; font-weight: 800; font-size: 12.5px; padding: 8px 15px; border-radius: 100px; }
.section-desc { margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; color: #5C6B54; max-width: 600px; }
.page-header { display: flex; align-items: center; justify-content: space-between; padding: 30px 44px 0; }
.page-header-logo { height: 44px; width: auto; }

/* ---------- Flavor grid (Página 1) ---------- */
.flavor-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; padding: 12px 44px 16px; }
.flavor-card {
  border-radius: 18px;
  padding: 12px 12px 14px;
  box-shadow: 0 8px 18px rgba(14,58,20,.06);
  display: flex;
  flex-direction: column;
  height: 145px;
  border: 1px solid;
}
.flavor-photo-wrap { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.flavor-photo { width: 120px; height: 78px; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,.12); }
.flavor-name { font-size: 17px; font-weight: 800; color: #1E6E22; line-height: 1; }
.flavor-tag { font-family: 'Caveat', cursive; font-size: 16px; color: #5C6B54; line-height: 1.05; margin-top: 3px; }

.flavor-card--caju { background: #F9D9B8; border-color: rgba(150,90,30,.22); }
.flavor-card--caja { background: #F6E7A9; border-color: rgba(160,130,20,.22); }
.flavor-card--acerola { background: #F6C9C4; border-color: rgba(170,50,45,.22); }
.flavor-card--goiaba { background: #F7CBD6; border-color: rgba(175,60,90,.22); }
.flavor-card--abacaxi { background: #F5E9A6; border-color: rgba(165,140,25,.22); }
.flavor-card--manga { background: #FADBA1; border-color: rgba(180,110,25,.22); }
.flavor-card--graviola { background: #D9EBC2; border-color: rgba(70,120,45,.22); }
.flavor-card--tamarindo { background: #E7D2B6; border-color: rgba(130,90,45,.24); }
.flavor-card--maracuja { background: #F6E29E; border-color: rgba(175,145,25,.22); }
.flavor-card--morango { background: #F7C7CE; border-color: rgba(180,50,80,.22); }
.flavor-card--uva { background: #DDCBEA; border-color: rgba(110,60,150,.22); }

.cta-card {
  background: linear-gradient(155deg,#2E8C2E,#1A6420);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 22px rgba(14,58,20,.18);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 145px;
  color: #fff;
}
.cta-eyebrow { font-family: 'Caveat', cursive; font-size: 20px; color: #C9E8B6; line-height: 1; }
.cta-title { font-size: 19px; font-weight: 800; line-height: 1.05; margin-top: 2px; }
.cta-phone { margin-top: 12px; display: inline-flex; align-items: center; gap: 7px; background: #fff; color: #1A6420; font-weight: 800; font-size: 12.5px; padding: 8px 12px; border-radius: 100px; align-self: flex-start; }

.page-footnote { position: absolute; bottom: 16px; left: 44px; right: 44px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #8A9682; letter-spacing: .04em; }

/* ---------- Página 2: História / Clientes / Selo ---------- */
.history-row { padding: 22px 44px 0; display: flex; gap: 26px; align-items: stretch; }
.history-text { flex: 1.45; }
.history-text p { margin: 0; font-size: 15px; line-height: 1.6; color: #3B4A36; }
.history-text p + p { margin-top: 14px; }
.history-text strong { color: #1E6E22; }
.history-stats { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.stat-card { border-radius: 16px; padding: 16px 20px; }
.stat-card--primary { background: linear-gradient(155deg,#2E8C2E,#1A6420); color: #fff; box-shadow: 0 8px 18px rgba(14,58,20,.12); }
.stat-card--secondary { background: #fff; border: 1px solid rgba(18,60,24,.10); box-shadow: 0 6px 14px rgba(14,58,20,.05); color: #1E6E22; }
.stat-number { font-size: 38px; font-weight: 900; line-height: 1; }
.stat-card--secondary .stat-number { color: #1E6E22; }
.stat-label { font-size: 12.5px; font-weight: 600; margin-top: 4px; line-height: 1.3; }
.stat-card--primary .stat-label { color: #C9E8B6; }
.stat-card--secondary .stat-label { color: #5C6B54; }

.clients-grid { padding: 16px 44px 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.client-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid rgba(18,60,24,.10); border-radius: 14px; padding: 12px 14px; box-shadow: 0 6px 14px rgba(14,58,20,.05); }
.client-logo { width: 48px; height: 48px; border-radius: 12px; background: #EAF3E2; border: 1px solid rgba(18,60,24,.08); color: #1E6E22; font-weight: 900; font-size: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.client-logo img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.client-logo--empty img { display: none; }
.client-name { font-size: 14px; font-weight: 800; color: #22331F; line-height: 1.1; }
.client-role { font-size: 11.5px; color: #5C6B54; }

.testimonials-grid { padding: 14px 44px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.testimonial-card { background: #fff; border: 1px solid rgba(18,60,24,.10); border-radius: 14px; padding: 14px 16px; box-shadow: 0 6px 14px rgba(14,58,20,.05); }
.testimonial-stars { color: #F2A63B; font-size: 13px; letter-spacing: .1em; }
.testimonial-text { margin: 6px 0 8px; font-size: 12.5px; line-height: 1.45; color: #3B4A36; }
.testimonial-author { font-size: 12px; font-weight: 800; color: #1E6E22; }
.testimonial-author span { color: #8A9682; font-weight: 600; }

.seal-band {
  margin-top: auto;
  background: linear-gradient(160deg,#E8461E,#BE3413);
  color: #fff;
  padding: 26px 44px;
  border-radius: 30px 30px 0 0;
  display: flex;
  align-items: center;
  gap: 26px;
}
.seal-frame { flex-shrink: 0; background: #fff; border-radius: 20px; padding: 12px; box-shadow: 0 12px 26px rgba(0,0,0,.2); }
.seal-img { width: 130px; height: 130px; display: block; border-radius: 10px; }
.seal-eyebrow { font-family: 'Caveat', cursive; font-size: 24px; color: #FFD9CC; line-height: 1; }
.seal-title { margin: 2px 0 0; font-size: 25px; font-weight: 900; line-height: 1.05; }
.seal-tagline { font-size: 14px; font-weight: 700; color: #FFE0D5; margin-top: 3px; }
.seal-desc { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: #FCE9E3; max-width: 520px; }

/* ---------- Página 3: Certificações / Tabelas / Contato ---------- */
.certs-grid { padding: 22px 44px 4px; display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.cert-card { background: #fff; border: 1px solid rgba(18,60,24,.10); border-radius: 16px; padding: 16px 18px; box-shadow: 0 6px 14px rgba(14,58,20,.05); }
.cert-icon { font-size: 22px; }
.cert-title { font-size: 15.5px; font-weight: 800; color: #1E6E22; margin-top: 6px; }
.cert-desc { font-size: 12.5px; color: #5C6B54; margin-top: 2px; line-height: 1.35; }

.tables-header { padding: 22px 44px 0; }
.tables-grid { padding: 14px 44px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.table-card { background: #fff; border: 1px solid rgba(18,60,24,.10); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 18px rgba(14,58,20,.06); }
.table-card-header { background: #1E6E22; color: #fff; padding: 11px 16px; display: flex; justify-content: space-between; align-items: baseline; }
.table-card-header .weight { font-weight: 800; font-size: 15px; }
.table-card-header .pack { font-size: 11px; color: #C9E8B6; font-weight: 600; letter-spacing: .04em; }
.flavor-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.flavor-table thead tr { color: #8A9682; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.flavor-table th { font-weight: 700; }
.flavor-table th:nth-child(1) { text-align: left; padding: 8px 16px 6px; }
.flavor-table th:nth-child(2) { text-align: left; padding: 8px 6px 6px; }
.flavor-table th:nth-child(3) { text-align: right; padding: 8px 16px 6px; }
.flavor-table tbody tr { border-top: 1px solid rgba(18,60,24,.08); }
.flavor-table tbody tr.alt { background: #FBF9F0; }
.flavor-table td { padding: 6px 6px; color: #5C6B54; font-variant-numeric: tabular-nums; }
.flavor-table td.name-cell { padding: 6px 16px; font-weight: 700; color: #22331F; }
.flavor-table td.int-cell { padding: 6px 16px; text-align: right; }
.flavor-cell { display: inline-flex; align-items: center; gap: 10px; }
.flavor-icon { width: 28px; height: 28px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; border: 1px solid rgba(18,60,24,.12); box-shadow: 0 2px 5px rgba(14,58,20,.14); }
.flavor-icon img { width: 100%; height: 100%; object-fit: cover; }
.flavor-icon--caju { background: #F9D9B8; }
.flavor-icon--caja { background: #F6E7A9; }
.flavor-icon--acerola { background: #F6C9C4; }
.flavor-icon--goiaba { background: #F7CBD6; }
.flavor-icon--abacaxi { background: #F5E9A6; }
.flavor-icon--manga { background: #FADBA1; }
.flavor-icon--graviola { background: #D9EBC2; }
.flavor-icon--tamarindo { background: #E7D2B6; }
.flavor-icon--maracuja { background: #F6E29E; }
.flavor-icon--morango { background: #F7C7CE; }
.flavor-icon--uva { background: #DDCBEA; }

.contact-band { margin-top: auto; background: linear-gradient(160deg,#2E8C2E,#175A1D); color: #fff; padding: 24px 44px; border-radius: 30px 30px 0 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.contact-eyebrow { font-family: 'Caveat', cursive; font-size: 24px; color: #C9E8B6; line-height: 1; }
.contact-title { font-size: 21px; font-weight: 900; margin-top: 2px; }
.contact-address { font-size: 13px; color: #E7F3DD; margin-top: 10px; line-height: 1.5; }
.contact-links { display: flex; gap: 20px; margin-top: 8px; font-size: 13.5px; font-weight: 600; flex-wrap: wrap; }
.contact-logo { height: 74px; width: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }

/* ---------- Print ---------- */
@media print {
  @page { size: 210mm 297mm; margin: 0; }
  html, body { margin: 0; padding: 0; background: #fff; }
  #root { background: #fff !important; padding: 0 !important; display: block !important; }
  #stack { zoom: 1 !important; gap: 0 !important; }
  .no-print { display: none !important; }
  .page { zoom: 0.9671; box-shadow: none !important; border-radius: 0 !important; page-break-after: always; break-after: page; }
  .page:last-child { page-break-after: auto; break-after: auto; }
}

/* ---------- Responsive ---------- */
/* #stack zoom is set dynamically by js/script.js (fitStack) so the catalog
   scales smoothly at any viewport width instead of jumping between fixed steps. */
