/* =====================================================================
   SERGIPET — SITE DO CATÁLOGO
   Organização:
   1. Tokens
   2. Reset básico
   3. Utilitários (container, botões, badge, animação)
   4. Cabeçalho / navegação
   5. Hero
   6. Valores
   7. Padrão de rosca + diferenciais
   8. Sobre
   9. Rodapé + botão voltar ao topo
   10. Responsividade
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. TOKENS
--------------------------------------------------------------------- */
:root {
  --color-forest: #123c25;
  --color-forest-dark: #0c2c1b;
  --color-forest-soft: #0f4a2a;
  --color-leaf: #6fbe44;
  --color-leaf-dark: #55a02f;
  --color-white: #ffffff;
  --color-mist: #f6f8f5;
  --color-line: #e3e8e0;
  --color-ink: #1f251f;
  --color-slate: #626b60;

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 20px 45px -20px rgba(18, 60, 37, 0.28);
  --shadow-card: 0 30px 60px -25px rgba(18, 60, 37, 0.32);
  --container-w: 1160px;
  --transition: 200ms ease;
}

/* ---------------------------------------------------------------------
   2. RESET
--------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.15; }
p { margin: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--color-leaf);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------------------
   3. UTILITÁRIOS
--------------------------------------------------------------------- */
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--color-forest); color: var(--color-white);
  padding: 12px 18px; border-radius: 0 0 var(--radius-sm) 0; z-index: 200;
}
.skip-link:focus { left: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.02em;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--color-leaf-dark); color: var(--color-white); box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--color-forest-soft); }

.btn--secondary { background: var(--color-white); color: var(--color-forest); border-color: var(--color-line); }
.btn--secondary:hover { border-color: var(--color-forest); background: var(--color-mist); }

.btn--whatsapp {
  background: var(--color-forest); color: var(--color-white);
  padding: 11px 20px; font-size: 0.8rem; text-transform: none;
}
.btn--whatsapp:hover { background: var(--color-forest-dark); }

.badge {
  display: inline-block;
  background: var(--color-leaf);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 700ms ease, transform 700ms ease; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------------
   4. CABEÇALHO / NAVEGAÇÃO
--------------------------------------------------------------------- */
.header {
  position: relative;
  z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--color-line);
}

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { height: 46px; width: auto; display: block; }
.brand__mark { color: var(--color-forest); display: inline-flex; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; }
.brand__name--dark { color: var(--color-forest); }
.brand__name--light { color: var(--color-leaf); }
.brand__name--light-inverted { color: var(--color-white); }
.brand__tagline { font-size: 0.7rem; color: var(--color-slate); }

.nav { display: flex; align-items: center; gap: 28px; flex: 1; justify-content: center; }
.nav a { font-size: 0.92rem; font-weight: 500; color: var(--color-ink); transition: color var(--transition); }
.nav a:hover { color: var(--color-leaf-dark); }

.nav__toggle { display: none; color: var(--color-forest); padding: 4px; }
.nav-mobile { display: none; flex-direction: column; padding: 8px 24px 16px; border-top: 1px solid var(--color-line); }
.nav-mobile a { padding: 10px 0; font-weight: 500; border-bottom: 1px solid var(--color-line); }
.nav-mobile a:last-child { border-bottom: none; }
.header.nav-open .nav-mobile { display: flex; }

/* ---------------------------------------------------------------------
   5. HERO
--------------------------------------------------------------------- */
.hero { position: relative; background: linear-gradient(180deg, var(--color-mist), #eef2ec); overflow: hidden; padding-bottom: 40px; }

.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px;
  padding: 56px 24px 40px;
}

.hero__title { font-size: clamp(2rem, 3.6vw, 2.7rem); font-weight: 800; margin-bottom: 18px; }
.hero__title-dark { color: var(--color-forest); display: block; }
.hero__title-accent { color: var(--color-leaf); display: block; }

.hero__subtitle { color: var(--color-slate); font-size: 1.02rem; max-width: 42ch; margin-bottom: 30px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { position: relative; display: flex; justify-content: center; }

.rosca-badge {
  position: absolute; top: -18px; right: 6%;
  width: 108px; height: 108px; border-radius: 50%;
  border: 1.5px solid var(--color-leaf);
  background: rgba(255, 255, 255, 0.75);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--color-forest); text-align: center; font-size: 0.68rem; font-weight: 700;
  line-height: 1.25; z-index: 3;
}

.hero__bottles { position: relative; width: min(100%, 360px); margin-top: 40px; }
.hero__photo { width: 100%; height: auto; filter: drop-shadow(0 22px 24px rgba(18, 60, 37, 0.25)); }

.cap-pill {
  position: absolute; bottom: -16px; transform: translateX(-50%);
  background: var(--color-leaf); color: var(--color-white);
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}

.hero__wave { position: relative; z-index: 1; display: block; width: 100%; height: 130px; margin-top: -6px; }
.hero__wave path { fill: var(--color-forest); }

/* ---------------------------------------------------------------------
   6. VALORES
--------------------------------------------------------------------- */
.values-section { background: var(--color-white); padding: 56px 0; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.values__item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.values__icon {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--color-mist); color: var(--color-forest);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.values__title { font-weight: 700; color: var(--color-forest); font-size: 0.98rem; }
.values__desc { color: var(--color-slate); font-size: 0.85rem; }

/* ---------------------------------------------------------------------
   7. PADRÃO DE ROSCA + DIFERENCIAIS
--------------------------------------------------------------------- */
.rosca-section { padding: 0 0 70px; }

.rosca-card {
  background: var(--color-forest);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 24px;
}

.rosca-card__intro { border-right: 1px solid rgba(255, 255, 255, 0.15); padding-right: 24px; }
.rosca-card__icon { color: var(--color-leaf); display: inline-flex; margin-bottom: 10px; }
.rosca-card__label { font-size: 0.8rem; color: var(--color-leaf); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.rosca-card__title { font-size: 1.6rem; font-weight: 800; margin: 4px 0 10px; }
.rosca-card__text { font-size: 0.9rem; color: rgba(255, 255, 255, 0.75); }

.rosca-card__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.rosca-card__grid li { display: flex; flex-direction: column; gap: 6px; }
.rosca-card__grid svg { color: var(--color-leaf); margin-bottom: 4px; }
.rosca-card__grid strong { font-size: 0.95rem; font-weight: 700; }
.rosca-card__grid span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); }

.benefits-card {
  background: var(--color-forest-soft);
  border-radius: var(--radius-lg);
  padding: 30px 36px;
}
.benefits-card ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.benefits-card li { display: flex; gap: 14px; align-items: flex-start; }
.benefits-card svg { color: var(--color-white); flex-shrink: 0; margin-top: 2px; }
.benefits-card strong { display: block; color: var(--color-white); font-size: 0.98rem; margin-bottom: 4px; }
.benefits-card span { color: rgba(255, 255, 255, 0.75); font-size: 0.85rem; }

/* ---------------------------------------------------------------------
   8. SOBRE
--------------------------------------------------------------------- */
.about { padding: 20px 0 80px; }
.about__inner { max-width: 760px; }
.about__title { font-size: 1.8rem; color: var(--color-forest); margin-bottom: 14px; }
.about__text { color: var(--color-slate); font-size: 1.02rem; }

/* ---------------------------------------------------------------------
   9. RODAPÉ + VOLTAR AO TOPO
--------------------------------------------------------------------- */
.footer { background: var(--color-forest-dark); color: rgba(255, 255, 255, 0.85); padding: 56px 0 0; }

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer__col h3 { color: var(--color-white); font-size: 1rem; margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.footer__col a { transition: color var(--transition); }
.footer__col a:hover { color: var(--color-leaf); }
.footer__col svg { flex-shrink: 0; color: var(--color-leaf); }

.footer__tagline { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); margin: 4px 0 14px; }
.footer__desc { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); max-width: 34ch; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 24px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-leaf); color: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--color-leaf-dark); }

/* ---------------------------------------------------------------------
   7.5 APLICAÇÕES (palavras-chave: água de coco, açaí, suco...)
--------------------------------------------------------------------- */
.applications { padding: 10px 0 70px; }
.applications__title { font-size: 1.6rem; color: var(--color-forest); max-width: 46ch; margin-bottom: 14px; }
.applications__text { color: var(--color-slate); max-width: 60ch; margin-bottom: 26px; }
.applications__text--volumes { margin-top: 34px; }

.tag-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-grid li {
  background: var(--color-mist);
  border: 1px solid var(--color-line);
  color: var(--color-forest);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background var(--transition), border-color var(--transition);
}
.tag-grid li:hover { background: #eaf3e4; border-color: var(--color-leaf); }

/* ---------------------------------------------------------------------
   8.5 LOCALIZAÇÃO / MAPA
--------------------------------------------------------------------- */
.location { padding: 0 0 80px; }

.location__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.location__card {
  background: var(--color-white);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.location__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-leaf-dark);
}

.location__title { font-size: 1.5rem; color: var(--color-forest); margin-bottom: 6px; }

.location__details { display: flex; flex-direction: column; gap: 14px; margin-bottom: 8px; }
.location__details li { display: flex; align-items: flex-start; gap: 10px; color: var(--color-slate); font-size: 0.92rem; }
.location__details svg { color: var(--color-leaf-dark); flex-shrink: 0; margin-top: 2px; }
.location__details a { font-weight: 600; color: var(--color-forest); }
.location__details a:hover { color: var(--color-leaf-dark); }

.location__map { min-height: 340px; background: var(--color-mist); }
.location__map iframe { width: 100%; height: 100%; min-height: 340px; display: block; }

/* ---------------------------------------------------------------------
   10. RESPONSIVIDADE
--------------------------------------------------------------------- */
@media (max-width: 980px) {
  .nav { display: none; }
  .nav__toggle { display: inline-flex; }
  .rosca-card { grid-template-columns: 1fr; }
  .rosca-card__intro { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding-right: 0; padding-bottom: 20px; }
  .rosca-card__grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-card ul { grid-template-columns: 1fr; gap: 20px; }
  .values { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; padding-top: 32px; }
  .hero__visual { order: -1; margin-bottom: 12px; }
  .rosca-badge { top: -10px; right: 0; width: 90px; height: 90px; font-size: 0.62rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .location__inner { grid-template-columns: 1fr; }
  .location__map { min-height: 280px; }
}

@media (max-width: 560px) {
  .brand__tagline { display: none; }
  .brand__logo { height: 36px; }
  .header__inner { padding: 10px 16px; }
  .btn--whatsapp span { display: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .rosca-card { padding: 26px 20px; }
  .rosca-card__grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .cap-pill { font-size: 0.6rem; padding: 4px 9px; }
}
