/* ═══════════════════════════════════════════════════
   AGRO RÁFIA CENTRO OESTE — folha de estilos
   Paleta: verdes profundos + oliva do logo + creme
   ═══════════════════════════════════════════════════ */

:root {
  --verde-950: #0d1f14;
  --verde-900: #14291c;
  --verde-800: #1c3a27;
  --verde-700: #245234;
  --oliva: #7c9a3f;
  --oliva-escuro: #5f7a2c;
  --lima: #c4dd58;
  --creme: #f6f3ec;
  --areia: #eae4d5;
  --marrom: #4b4237;
  --cinza-texto: #5c5a52;
  --branco: #ffffff;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, sans-serif;

  --container: 1180px;
  --radius: 20px;
  --shadow-lg: 0 24px 60px -18px rgba(13, 31, 20, .35);
  --shadow-md: 0 12px 32px -12px rgba(13, 31, 20, .22);
  --transition: .45s cubic-bezier(.22, .61, .36, 1);
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--verde-900);
  background: var(--creme);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--lima); color: var(--verde-900); }

.container { width: min(var(--container), 92vw); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

/* ── Tipografia de seção ───────────────────────── */
.section__kicker {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--oliva-escuro);
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.1rem;
}
.section__kicker::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--oliva);
  border-radius: 2px;
}
.section__kicker--light { color: var(--lima); }
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  max-width: 21ch;
  margin-bottom: 1.2rem;
}
.section__title em {
  font-style: italic;
  color: var(--oliva-escuro);
}
.section__title--light { color: var(--creme); }
.section__title--light em { color: var(--lima); }

/* ── Botões ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  font-size: .95rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1rem 2rem; font-size: 1.02rem; }
.btn--lime {
  background: var(--lima);
  color: var(--verde-900);
  box-shadow: 0 10px 30px -8px rgba(196, 221, 88, .55);
}
.btn--lime:hover { background: #d3e96e; box-shadow: 0 16px 38px -8px rgba(196, 221, 88, .65); }
.btn--ghost {
  color: var(--creme);
  border: 1.5px solid rgba(246, 243, 236, .45);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { border-color: var(--creme); background: rgba(246, 243, 236, .08); }
.btn--whats {
  background: #23a455;
  color: #fff;
  box-shadow: 0 10px 28px -8px rgba(35, 164, 85, .55);
}
.btn--whats:hover { background: #1e9049; }
.btn--outline {
  border: 1.5px solid var(--verde-800);
  color: var(--verde-800);
}
.btn--outline:hover { background: var(--verde-800); color: var(--creme); }

/* ── Navegação ─────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 1.1rem 0;
}
.nav--solid {
  background: rgba(246, 243, 236, .92);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px -12px rgba(13, 31, 20, .25);
  padding: .55rem 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__brand { display: flex; align-items: center; gap: .7rem; }
.nav__brand-mark {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 6px 18px -6px rgba(13, 31, 20, .45);
  overflow: hidden;
}
.nav__brand-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 9px;
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav__brand-text strong {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--creme);
  transition: color var(--transition);
}
.nav__brand-text small {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--lima);
  transition: color var(--transition);
}
.nav--solid .nav__brand-text strong { color: var(--verde-900); }
.nav--solid .nav__brand-text small { color: var(--oliva-escuro); }
.nav__links {
  display: flex;
  gap: 1.7rem;
  margin-left: auto;
}
.nav__links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(246, 243, 236, .85);
  transition: color var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 2px;
  background: var(--lima);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav__links a:hover::after { width: 100%; }
.nav--solid .nav__links a { color: var(--verde-800); }
.nav__cta { font-size: .88rem; padding: .65rem 1.25rem; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .4rem;
  margin-left: auto;
}
.nav__burger span {
  width: 26px; height: 2.5px;
  border-radius: 2px;
  background: var(--creme);
  transition: var(--transition);
}
.nav--solid .nav__burger span, .nav--open .nav__burger span { background: var(--verde-900); }

/* ── Hero ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--creme);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(78deg, rgba(13, 31, 20, .94) 0%, rgba(13, 31, 20, .72) 42%, rgba(13, 31, 20, .38) 75%, rgba(13, 31, 20, .55) 100%),
    linear-gradient(to top, rgba(13, 31, 20, .85) 0%, transparent 35%);
}
.hero__content { padding-top: 5.5rem; }
.hero__kicker {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--lima);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.hero__kicker::before {
  content: "";
  width: 42px; height: 2px;
  background: var(--lima);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -.015em;
  margin-bottom: 1.6rem;
  max-width: 15ch;
}
.hero__title em {
  font-style: italic;
  color: var(--lima);
}
.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: rgba(246, 243, 236, .82);
  max-width: 52ch;
  margin-bottom: 2.4rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.8rem;
}
.hero__badges li {
  font-size: .84rem;
  font-weight: 600;
  color: rgba(246, 243, 236, .75);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.hero__badges li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--lima);
  box-shadow: 0 0 12px var(--lima);
}
.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(246, 243, 236, .4);
  border-radius: 14px;
}
.hero__scroll span {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--lima);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(14px); opacity: 0; }
}

/* ── Marquee ───────────────────────────────────── */
.marquee {
  background: var(--verde-900);
  color: var(--areia);
  overflow: hidden;
  padding: 1.05rem 0;
  border-block: 1px solid rgba(196, 221, 88, .18);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: .04em;
}
.marquee__track i { color: var(--oliva); font-size: .7rem; font-style: normal; }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Nossa História ────────────────────────────── */
.historia { position: relative; }
.historia__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.historia__media { position: relative; }
.historia__photo { border-radius: var(--radius); overflow: hidden; }
.historia__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.historia__photo:hover img { transform: scale(1.04); }
.historia__photo--main {
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-lg);
}
.historia__photo--float {
  position: absolute;
  right: -8%;
  bottom: -9%;
  width: 58%;
  aspect-ratio: 16 / 10;
  border: 6px solid var(--creme);
  box-shadow: var(--shadow-md);
}
.historia__stamp {
  position: absolute;
  top: -46px; right: 4%;
  color: var(--oliva-escuro);
  animation: spin 22s linear infinite;
}
.historia__stamp text {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  fill: currentColor;
  text-transform: uppercase;
  font-family: var(--font-body);
}
@keyframes spin { to { transform: rotate(360deg); } }
.historia__story p { color: var(--cinza-texto); margin-bottom: 1rem; max-width: 56ch; }
.historia__story strong { color: var(--verde-800); }
.historia__values {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 2rem;
}
.historia__values li { display: flex; gap: .9rem; align-items: flex-start; }
.historia__value-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(124, 154, 63, .13);
  color: var(--oliva-escuro);
}
.historia__values strong { font-size: .95rem; display: block; margin-bottom: .15rem; }
.historia__values p { font-size: .84rem; color: var(--cinza-texto); line-height: 1.5; }

/* ── Frase ─────────────────────────────────────── */
.quote {
  background: var(--verde-900);
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.quote::before {
  content: "“";
  position: absolute;
  top: -.35em; left: 4%;
  font-family: var(--font-display);
  font-size: 22rem;
  color: rgba(196, 221, 88, .07);
  line-height: 1;
  pointer-events: none;
}
.quote blockquote { max-width: 830px; margin-inline: auto; text-align: center; }
.quote p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.3;
  color: var(--creme);
  margin-bottom: 1.6rem;
}
.quote em { font-style: italic; color: var(--lima); }
.quote cite {
  font-style: normal;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, .55);
}

/* ── Produção ──────────────────────────────────── */
.producao { background: var(--areia); }
.producao__steps {
  margin-top: 3.2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.producao__step {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 26px -14px rgba(13, 31, 20, .2);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.producao__step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.producao__img { aspect-ratio: 4 / 3; overflow: hidden; }
.producao__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.producao__step:hover .producao__img img { transform: scale(1.07); }
.producao__info { padding: 1.5rem 1.5rem 1.7rem; position: relative; flex: 1; }
.producao__num {
  position: absolute;
  top: -1.55rem;
  right: 1.2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.9rem;
  font-weight: 300;
  color: var(--oliva);
  background: var(--branco);
  padding: 0 .5rem;
  border-radius: 12px;
  line-height: 1.1;
}
.producao__info h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  margin-bottom: .5rem;
}
.producao__info p { font-size: .87rem; color: var(--cinza-texto); }

/* ── Produtos ──────────────────────────────────── */
.produtos {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(124, 154, 63, .25), transparent 60%),
    var(--verde-900);
}
.produtos__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.produto {
  background: rgba(246, 243, 236, .045);
  border: 1px solid rgba(246, 243, 236, .1);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  color: var(--creme);
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.produto:hover {
  transform: translateY(-6px);
  background: rgba(246, 243, 236, .08);
  border-color: rgba(196, 221, 88, .35);
}
.produto__icon {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: rgba(196, 221, 88, .12);
  color: var(--lima);
  margin-bottom: 1.2rem;
}
.produto h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: .55rem;
}
.produto p { font-size: .89rem; color: rgba(246, 243, 236, .72); margin-bottom: 1.1rem; }
.produto__tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.produto__tags li {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(196, 221, 88, .4);
  color: var(--lima);
}
.produto--destaque {
  grid-column: span 2;
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 1.6rem;
  padding: 0;
  overflow: hidden;
  align-items: center;
  background: linear-gradient(120deg, rgba(196, 221, 88, .14), rgba(246, 243, 236, .05));
}
.produto--destaque:hover { transform: translateY(-6px); }
.produto__foto { height: 100%; min-height: 260px; }
.produto__foto img { width: 100%; height: 100%; object-fit: cover; }
.produto__destaque-body { padding: 1.9rem 1.9rem 1.9rem 0; }
.produto--destaque h3 { font-size: 1.5rem; }

/* ── Aplicações ────────────────────────────────── */
.aplicacoes__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.aplicacao {
  background: var(--branco);
  border: 1px solid rgba(13, 31, 20, .07);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.aplicacao:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.aplicacao span { font-size: 2rem; display: block; margin-bottom: .9rem; }
.aplicacao h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  margin-bottom: .4rem;
}
.aplicacao p { font-size: .86rem; color: var(--cinza-texto); }

/* ── Galeria ───────────────────────────────────── */
.galeria { background: var(--areia); }
.galeria__grid {
  margin-top: 3rem;
  columns: 4 240px;
  column-gap: 1rem;
}
.galeria__grid figure {
  margin-bottom: 1rem;
  border-radius: 16px;
  overflow: hidden;
  break-inside: avoid;
  position: relative;
  box-shadow: 0 8px 22px -14px rgba(13, 31, 20, .3);
}
.galeria__grid img {
  width: 100%;
  transition: transform .9s ease, filter .9s ease;
}
.galeria__grid figure:hover img { transform: scale(1.06); filter: brightness(1.05); }
.galeria__cta { text-align: center; margin-top: 2.2rem; }

/* ── Contato ───────────────────────────────────── */
.contato {
  background:
    radial-gradient(900px 480px at 12% 110%, rgba(124, 154, 63, .3), transparent 55%),
    var(--verde-950);
  color: var(--creme);
}
.contato__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.contato__lead { color: rgba(246, 243, 236, .75); max-width: 46ch; margin-bottom: 2rem; }
.contato__list { display: grid; gap: 1.4rem; margin-bottom: 2.4rem; }
.contato__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contato__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(196, 221, 88, .12);
  color: var(--lima);
}
.contato__list strong {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(246, 243, 236, .55);
  margin-bottom: .2rem;
}
.contato__list a, .contato__list span { font-size: 1.02rem; color: var(--creme); }
.contato__list a:hover { color: var(--lima); }
.contato__mapa {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(246, 243, 236, .12);
  aspect-ratio: 4 / 3.4;
}
.contato__mapa iframe {
  width: 100%; height: 100%;
  border: 0;
  filter: saturate(.85) contrast(1.02);
}

/* ── Rodapé ────────────────────────────────────── */
.footer {
  background: var(--verde-950);
  color: rgba(246, 243, 236, .6);
  border-top: 1px solid rgba(246, 243, 236, .08);
  padding: 2.6rem 0;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 3rem;
  align-items: center;
}
.footer__brand { display: flex; gap: .8rem; align-items: center; }
.footer__brand strong {
  font-family: var(--font-display);
  color: var(--creme);
  font-weight: 600;
  display: block;
}
.footer__brand p { font-size: .8rem; }
.footer__nav { display: flex; gap: 1.4rem; margin-left: auto; }
.footer__nav a { font-size: .85rem; transition: color var(--transition); }
.footer__nav a:hover { color: var(--lima); }
.footer__copy { width: 100%; font-size: .76rem; border-top: 1px solid rgba(246, 243, 236, .07); padding-top: 1.4rem; }

/* ── Lojinha ───────────────────────────────────── */
.loja { background: var(--creme); }
.loja__lead { color: var(--cinza-texto); max-width: 52ch; margin-bottom: 2.6rem; }
.loja__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}
.loja-card {
  background: var(--branco);
  border: 1px solid rgba(13, 31, 20, .08);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.loja-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.loja-card__img { aspect-ratio: 16 / 10; overflow: hidden; }
.loja-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.loja-card:hover .loja-card__img img { transform: scale(1.06); }
.loja-card__body { padding: 1.2rem 1.2rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.loja-card__body h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: .35rem; }
.loja-card__body > p { font-size: .82rem; color: var(--cinza-texto); margin-bottom: .8rem; flex: 1; }
.loja-card .produto__tags { margin-bottom: 1rem; }
.loja-card .produto__tags li { border-color: rgba(124, 154, 63, .5); color: var(--oliva-escuro); }
.loja-card__actions { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.loja-card__add { padding: .6rem 1.1rem; font-size: .85rem; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(13, 31, 20, .15);
  border-radius: 999px;
  overflow: hidden;
}
.qty__btn {
  border: 0; background: none; cursor: pointer;
  width: 30px; height: 34px;
  font-size: 1.05rem; font-weight: 700;
  color: var(--oliva-escuro);
  transition: background var(--transition);
}
.qty__btn:hover { background: rgba(124, 154, 63, .12); }
.qty__input {
  width: 52px; border: 0; text-align: center;
  font: 600 .9rem var(--font-body); color: var(--verde-900);
  background: transparent;
  -moz-appearance: textfield; appearance: textfield;
}
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm .qty__btn { width: 26px; height: 28px; font-size: .95rem; }
.qty--sm .qty__input { width: 46px; font-size: .84rem; }

/* Carrinho flutuante */
.fab-cart {
  position: fixed;
  right: 1.4rem; bottom: 6.4rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--verde-800);
  color: var(--creme);
  box-shadow: 0 14px 34px -8px rgba(13, 31, 20, .55);
  transition: transform var(--transition), background var(--transition);
}
.fab-cart:hover { transform: scale(1.1); background: var(--verde-700); }
.fab-cart__badge[hidden] { display: none; }
.fab-cart__badge {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 22px; height: 22px;
  padding: 0 5px;
  display: grid; place-items: center;
  background: var(--lima);
  color: var(--verde-900);
  font: 700 .72rem var(--font-body);
  border-radius: 999px;
  border: 2px solid var(--creme);
}

/* Drawer */
.cart-overlay {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(13, 31, 20, .5);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .35s ease;
}
.cart-overlay--on { opacity: 1; }
.cart {
  position: fixed;
  top: 0; right: 0; z-index: 130;
  height: 100dvh;
  width: min(92vw, 420px);
  background: var(--creme);
  display: flex;
  flex-direction: column;
  box-shadow: -24px 0 70px rgba(13, 31, 20, .35);
  transform: translateX(105%);
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.cart--open { transform: none; }
.cart__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid rgba(13, 31, 20, .1);
}
.cart__head h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.cart__close {
  border: 0; background: none; cursor: pointer;
  font-size: 1.1rem; color: var(--cinza-texto);
  width: 36px; height: 36px; border-radius: 50%;
  transition: background var(--transition);
}
.cart__close:hover { background: rgba(13, 31, 20, .08); }
.cart__items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; display: grid; gap: 1rem; align-content: start; }
.cart__item {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: .9rem;
  align-items: center;
  background: var(--branco);
  border: 1px solid rgba(13, 31, 20, .08);
  border-radius: 14px;
  padding: .7rem;
}
.cart__item img { width: 62px; height: 62px; object-fit: cover; border-radius: 10px; }
.cart__item-info strong { font-size: .86rem; display: block; margin-bottom: .4rem; line-height: 1.3; }
.cart__unid { font-size: .74rem; color: var(--cinza-texto); margin-left: .4rem; }
.cart__remove {
  border: 0; background: none; cursor: pointer;
  font-size: 1rem; opacity: .55;
  transition: opacity var(--transition), transform var(--transition);
}
.cart__remove:hover { opacity: 1; transform: scale(1.15); }
.cart__empty { text-align: center; color: var(--cinza-texto); padding: 2.5rem 1.5rem; font-size: .95rem; }
.cart__foot { padding: 1.2rem 1.5rem 1.5rem; border-top: 1px solid rgba(13, 31, 20, .1); }
.cart__note { font-size: .78rem; color: var(--cinza-texto); margin-bottom: .9rem; }
.cart__send { width: 100%; justify-content: center; }

/* ── WhatsApp flutuante ────────────────────────── */
.fab-whats {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #23a455;
  color: #fff;
  box-shadow: 0 14px 34px -8px rgba(35, 164, 85, .65);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fabPulse 2.6s ease-in-out infinite;
}
.fab-whats:hover { transform: scale(1.1); animation-play-state: paused; }
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 14px 34px -8px rgba(35, 164, 85, .65), 0 0 0 0 rgba(35, 164, 85, .4); }
  50% { box-shadow: 0 14px 34px -8px rgba(35, 164, 85, .65), 0 0 0 16px rgba(35, 164, 85, 0); }
}

/* ── Animações de entrada ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, .61, .36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; transform: none; }
  .marquee__track { animation-duration: 80s; }
}

/* ── Responsivo ────────────────────────────────── */
@media (max-width: 1024px) {
  .producao__steps { grid-template-columns: 1fr 1fr; }
  .produtos__grid { grid-template-columns: 1fr 1fr; }
  .produto--destaque { grid-column: span 2; }
  .aplicacoes__grid { grid-template-columns: 1fr 1fr; }
  .loja__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(78vw, 340px);
    background: var(--creme);
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2.4rem;
    gap: 1.6rem;
    box-shadow: -20px 0 60px rgba(13, 31, 20, .25);
    transform: translateX(110%);
    transition: transform .5s cubic-bezier(.22, .61, .36, 1);
  }
  .nav__links a { color: var(--verde-900); font-size: 1.2rem; font-family: var(--font-display); }
  .nav--open .nav__links { transform: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; z-index: 110; }
  .nav--open .nav__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav--open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav--open .nav__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .loja__grid { grid-template-columns: 1fr 1fr; }
  .historia__grid { grid-template-columns: 1fr; }
  .historia__media { max-width: 480px; }
  .historia__values { grid-template-columns: 1fr; }
  .contato__grid { grid-template-columns: 1fr; }
  .footer__nav { margin-left: 0; }
}

@media (max-width: 560px) {
  .producao__steps { grid-template-columns: 1fr; }
  .produtos__grid { grid-template-columns: 1fr; }
  .produto--destaque { grid-column: span 1; grid-template-columns: 1fr; }
  .produto__destaque-body { padding: 0 1.7rem 1.9rem; }
  .aplicacoes__grid { grid-template-columns: 1fr; }
  .loja__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .historia__photo--float { right: 0; }
  .galeria__grid { columns: 2 150px; }
}
