/* ==========================================================
   Laticínios NaturaNata — estilos globais
   Serif elegante + sans neutro, modo escuro, glassmorphism,
   bento grid, animações de scroll, blobs orgânicos.
   ========================================================== */

:root{
  --azul: #1b3f8f;
  --azul-escuro: #102a63;
  --verde: #2e9e4f;
  --verde-escuro: #1a6e34;
  --verde-claro: #eaf7ee;
  --amarelo: #f2b705;
  --ink: #14171f;
  --paper: #faf7f1;
  --paper-2: #f1ede3;
  --texto-claro: #66655f;
  --branco: #ffffff;
  --linha: rgba(20,23,31,.09);

  --raio: 22px;
  --raio-sm: 14px;
  --sombra-sm: 0 6px 18px rgba(20,20,15,.06);
  --sombra: 0 16px 40px rgba(20,20,15,.10);
  --sombra-lg: 0 30px 70px rgba(20,20,15,.18);

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  color-scheme: light;
}

[data-theme="dark"]{
  --ink: #f3f1ea;
  --paper: #0f1115;
  --paper-2: #171a20;
  --texto-claro: #a6a49b;
  --branco: #1a1d23;
  --linha: rgba(255,255,255,.10);
  --verde-claro: #142a1c;
  --sombra-sm: 0 6px 18px rgba(0,0,0,.35);
  --sombra: 0 16px 40px rgba(0,0,0,.45);
  --sombra-lg: 0 30px 70px rgba(0,0,0,.55);
  color-scheme: dark;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

::selection{ background: var(--amarelo); color: var(--ink); }

::-webkit-scrollbar{ width: 10px; }
::-webkit-scrollbar-track{ background: var(--paper); }
::-webkit-scrollbar-thumb{ background: var(--verde); border-radius: 10px; }

.container{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3{
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  font-weight: 600;
}
h2{ font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3{ font-size: 1.2rem; font-weight: 600; }

.accent{
  background: linear-gradient(100deg, var(--verde) 0%, var(--verde-escuro) 60%, var(--azul) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--verde-escuro);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .74rem;
  margin-bottom: 12px;
}
.eyebrow::before{
  content: "";
  width: 22px; height: 2px;
  background: var(--verde);
  display: inline-block;
}

.section{ padding: 110px 0; position: relative; }
.section--tight{ padding: 70px 0; }
.section--tinted{ background: var(--paper-2); }

.center{ text-align: center; }
.lead{ color: var(--texto-claro); font-size: 1.08rem; max-width: 640px; }
.center .lead{ margin: 0 auto 8px; }

.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible{ opacity: 1; transform: none; }
.reveal-delay-1{ transition-delay: .08s; }
.reveal-delay-2{ transition-delay: .16s; }
.reveal-delay-3{ transition-delay: .24s; }
.reveal-delay-4{ transition-delay: .32s; }
.reveal-delay-5{ transition-delay: .4s; }

.blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
  pointer-events: none;
  z-index: 0;
  animation: float 16s ease-in-out infinite;
}
[data-theme="dark"] .blob{ opacity: .22; }
@keyframes float{
  0%, 100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(20px,-30px) scale(1.08); }
}

.grain{
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: .95rem;
  font-family: var(--font-body);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover{ transform: translateY(-3px); }

.btn--primary{ background: var(--verde); color: #fff; box-shadow: var(--sombra-sm); }
.btn--primary:hover{ background: var(--verde-escuro); box-shadow: var(--sombra); }

.btn--outline{ background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline:hover{ background: rgba(255,255,255,.15); }

.btn--dark-outline{ background: transparent; border-color: var(--linha); color: var(--ink); }
.btn--dark-outline:hover{ background: var(--paper-2); }

.btn--whatsapp{ background: #25D366; color: #fff; }
.btn--whatsapp:hover{ background: #1ebc59; }

.btn--sm{ padding: 10px 20px; font-size: .85rem; }

.header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--linha);
  transition: padding .25s ease, box-shadow .25s ease;
}
.header.is-scrolled{ box-shadow: var(--sombra-sm); }
.header__bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  transition: padding .25s ease;
}
.header.is-scrolled .header__bar{ padding: 10px 0; }
.header__logo{ display: flex; align-items: center; gap: 10px; }
.header__logo img{ height: 46px; width: auto; border-radius: 10px; }
.header__tagline{
  position: relative;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 6px 16px 6px 14px;
  border-radius: 50px;
  background: var(--verde-claro);
  animation: tagline-pulse 3.2s ease-in-out infinite;
}
.header__tagline-text{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1rem;
  background-image: linear-gradient(100deg, var(--verde-escuro) 0%, var(--verde) 30%, var(--azul) 55%, var(--verde) 80%, var(--verde-escuro) 100%);
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: tagline-shimmer 7s linear infinite;
}
@keyframes tagline-shimmer{
  to{ background-position: 240% center; }
}
@keyframes tagline-pulse{
  0%, 100%{ box-shadow: 0 0 0 1px var(--linha), 0 0 0 0 rgba(46,158,79,.35); }
  50%{ box-shadow: 0 0 0 1px var(--linha), 0 0 14px 2px rgba(46,158,79,.25); }
}
@media (max-width: 640px){
  .header__tagline{ display: none; }
}

.nav{ display: flex; gap: 30px; align-items: center; }
.nav a{
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  padding: 8px 2px;
  position: relative;
}
.nav a::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--verde);
  transition: width .2s ease;
}
.nav a:hover::after, .nav a.is-active::after{ width: 100%; }
.nav a.is-active{ color: var(--verde-escuro); }

.nav__cta{ background: var(--verde); color: #fff !important; padding: 10px 22px; border-radius: 50px; }
.nav__cta::after{ display: none; }
.nav__cta:hover{ background: var(--verde-escuro); }

.theme-toggle{
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--linha);
  background: var(--paper-2);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform .2s ease, background .2s ease;
}
.theme-toggle:hover{ transform: rotate(18deg); }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span{ width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

.header__right{ display: flex; align-items: center; gap: 18px; }

.hero{ position: relative; overflow: hidden; padding: 30px 0 10px; }
.hero__grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 50px;
  padding: 60px 0 90px;
  position: relative;
  z-index: 1;
}
.hero h1{ font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 22px; }
.hero p.lead{ font-size: 1.15rem; margin-bottom: 32px; }
.hero__actions{ display: flex; gap: 16px; flex-wrap: wrap; }
.hero__badge{
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--branco);
  border-radius: var(--raio-sm);
  box-shadow: var(--sombra-lg);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: .85rem;
  border: 1px solid var(--linha);
}
.hero__badge .dot{ width: 10px; height: 10px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 0 5px rgba(46,158,79,.18); }
.hero__media{ position: relative; }
.hero__media-frame{ border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra-lg); position: relative; }
.hero__media-frame img{ width: 100%; height: 100%; object-fit: cover; }

.marquee{
  border-top: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
  padding: 22px 0;
  overflow: hidden;
  white-space: nowrap;
  background: var(--paper-2);
}
.marquee__track{
  display: inline-flex;
  gap: 46px;
  animation: marquee 26s linear infinite;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--texto-claro);
}
.marquee__track span{ display: inline-flex; align-items: center; gap: 46px; }
.marquee__track .dotsep{ color: var(--verde); }
@keyframes marquee{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

.bento{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 22px;
  margin-top: 44px;
}
.bento__item{
  position: relative;
  border-radius: var(--raio);
  overflow: hidden;
  background: var(--branco);
  border: 1px solid var(--linha);
  box-shadow: var(--sombra-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.bento__item:hover{ transform: translateY(-6px); box-shadow: var(--sombra); }
.bento__item--big{ grid-column: span 2; grid-row: span 2; }
.bento__item img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.bento__item:hover img{ transform: scale(1.08); }
.bento__item::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,15,10,.72) 0%, rgba(10,15,10,.05) 55%);
  z-index: 1;
}
.bento__label{ position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 20px; color: #fff; }
.bento__label h3{ color: #fff; margin: 0 0 4px; font-size: 1.15rem; }
.bento__label p{ margin: 0; font-size: .85rem; color: rgba(255,255,255,.85); }
.bento__item--big .bento__label h3{ font-size: 1.5rem; }

.grid{ display: grid; gap: 24px; margin-top: 40px; }
.grid--4{ grid-template-columns: repeat(4, 1fr); }
.grid--3{ grid-template-columns: repeat(3, 1fr); }

.feature{
  text-align: left;
  padding: 30px 26px;
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover{ transform: translateY(-6px); box-shadow: var(--sombra); }
.feature__icon{
  width: 54px; height: 54px;
  border-radius: 16px;
  background: var(--verde-claro);
  color: var(--verde-escuro);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.feature p{ color: var(--texto-claro); font-size: .93rem; margin: 0; }

.card{
  background: var(--branco);
  border-radius: var(--raio);
  border: 1px solid var(--linha);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--sombra); }
.card__media{
  aspect-ratio: 4/3;
  background: var(--paper-2);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: 18px;
}
.card__media img{ width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.card:hover .card__media img{ transform: scale(1.06); }
.card__body{ padding: 22px; }
.card__body h3{ font-size: 1.05rem; margin-bottom: 6px; }
.card__body p{ color: var(--texto-claro); font-size: .9rem; margin: 0; }
.card__tag{
  display: inline-block;
  background: var(--verde-claro);
  color: var(--verde-escuro);
  font-weight: 700;
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.page-hero{ position: relative; padding: 130px 0 110px; text-align: center; overflow: hidden; }
.page-hero h1{ font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.page-hero p{ color: var(--texto-claro); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.page-hero .container{ position: relative; z-index: 1; }

.split{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img{ border-radius: var(--raio); box-shadow: var(--sombra); }
.split.reverse .split__media{ order: 2; }

.value-list{ list-style: none; padding: 0; margin: 22px 0; }
.value-list li{ padding-left: 32px; position: relative; margin-bottom: 14px; color: var(--texto-claro); }
.value-list li::before{
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--verde-claro);
  color: var(--verde-escuro);
  font-weight: 900;
  font-size: .7rem;
  display: flex; align-items: center; justify-content: center;
}

.cta-band{
  position: relative;
  background: linear-gradient(120deg, var(--verde-escuro), var(--verde) 60%, var(--azul));
  color: #fff;
  padding: 80px 0;
  text-align: center;
  overflow: hidden;
}
.cta-band h2{ color: #fff; }
.cta-band p{ color: rgba(255,255,255,.85); }

.contact-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.contact-card{
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  padding: 30px;
  text-align: left;
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-card:hover{ transform: translateY(-6px); box-shadow: var(--sombra); }
.contact-card .icon{
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--verde-claro);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.contact-card h3{ font-size: 1rem; margin-bottom: 6px; }
.contact-card p, .contact-card a{ color: var(--texto-claro); font-size: .95rem; }
.contact-card a:hover{ color: var(--verde-escuro); }

.note-box{
  background: var(--paper-2);
  border: 1px dashed var(--linha);
  border-radius: var(--raio-sm);
  padding: 18px 22px;
  font-size: .9rem;
  color: var(--texto-claro);
  margin-top: 34px;
}

.map-wrap{ border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); margin-top: 44px; }
.map-wrap iframe{ width: 100%; height: 380px; border: 0; display: block; filter: saturate(.9); }

.sac-form{
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
  padding: 40px;
  margin-top: 44px;
}
.sac-form__grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group{ display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group--full{ grid-column: 1 / -1; }
.form-group label{ font-weight: 600; font-size: .88rem; color: var(--ink); }
.form-group input,
.form-group select,
.form-group textarea{
  font-family: inherit;
  font-size: .95rem;
  padding: 13px 16px;
  border: 1px solid var(--linha);
  border-radius: var(--raio-sm);
  color: var(--ink);
  background: var(--paper-2);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  outline: none;
  border-color: var(--verde);
  background: var(--branco);
  box-shadow: 0 0 0 4px var(--verde-claro);
}
.form-group textarea{ resize: vertical; min-height: 130px; }
.sac-form__honey{ position: absolute; left: -9999px; }
.sac-form__submit{ border: none; cursor: pointer; width: 100%; justify-content: center; }

@media (max-width: 700px){
  .sac-form__grid{ grid-template-columns: 1fr; }
  .sac-form{ padding: 26px; }
}

.footer{ position: relative; background: var(--ink); color: #cfcdc4; padding: 70px 0 26px; overflow: hidden; }
[data-theme="dark"] .footer{ background: #05070a; }
.footer__grid{ display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; position: relative; z-index: 1; }
.footer h4{ color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .04em; text-transform: uppercase; }
.footer p{ color: #9d9b93; font-size: .9rem; }
.footer ul{ list-style: none; padding: 0; margin: 0; }
.footer li{ margin-bottom: 11px; }
.footer a{ color: #cfcdc4; font-size: .92rem; }
.footer a:hover{ color: var(--amarelo); }
.footer__logo{ height: 44px; margin-bottom: 14px; border-radius: 8px; }
.footer__bottom{
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 44px;
  padding-top: 20px;
  text-align: center;
  font-size: .8rem;
  color: #6d6c66;
  position: relative;
  z-index: 1;
}
.footer__wordmark{
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: min(22vw, 210px);
  color: rgba(255,255,255,.04);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}

.whatsapp-float{
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 90;
  background: #25D366;
  color: #fff;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--sombra);
  transition: transform .2s ease;
}
.whatsapp-float:hover{ transform: scale(1.1) rotate(6deg); }

@media (max-width: 980px){
  .bento{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .bento__item--big{ grid-column: span 2; grid-row: span 1; }
  .grid--4{ grid-template-columns: repeat(2, 1fr); }
  .grid--3{ grid-template-columns: repeat(2, 1fr); }
  .hero__grid{ grid-template-columns: 1fr; text-align: center; padding: 30px 0 70px; }
  .hero__actions{ justify-content: center; }
  .hero__badge{ left: 50%; transform: translateX(-50%); }
  .split{ grid-template-columns: 1fr; }
  .split.reverse .split__media{ order: 0; }
  .footer__grid{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .nav{
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px 26px;
    gap: 18px;
    box-shadow: var(--sombra);
    display: none;
    border-bottom: 1px solid var(--linha);
  }
  .nav.is-open{ display: flex; }
  .nav-toggle{ display: flex; }
  .nav__cta{ width: 100%; text-align: center; justify-content: center; display: flex; }
  .section{ padding: 70px 0; }
}

@media (max-width: 560px){
  .grid--4, .grid--3{ grid-template-columns: 1fr 1fr; }
  .bento{ grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
}
