/* ============================================================
   GranSoy — Landing institucional
   Sistema: "Casa de originação editorial"
   ============================================================ */

:root {
  /* Cores da marca */
  --ink: #0d2b18;          /* verde-profundo (base escura) */
  --ink-2: #0a2213;        /* mais escuro (footer) */
  --ink-soft: #143a22;
  --green: #00a651;        /* verde principal */
  --green-deep: #1a5c2a;
  --gold: #d4a017;         /* dourado-grão */
  --gold-soft: #e6b94a;
  --sand: #f7f4ee;
  --sand-2: #efe8da;
  --paper: #fbfaf6;        /* branco quente */
  --text: #1f2723;
  --muted: #5b6660;
  --line: rgba(31, 39, 35, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  --shadow-md: 0 18px 48px rgba(8, 21, 14, 0.12);
  --shadow-lg: 0 30px 70px rgba(8, 21, 14, 0.22);

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 22px;

  --container: 1240px;
  --header-h: 86px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Tipografia ---------- */
h1, h2, h3 {
  font-family: "Spectral", Georgia, serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 6.4vw, 84px); font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 54px); }
h3 { font-size: clamp(21px, 2vw, 27px); font-weight: 600; }
p { margin: 0; }

.serif-i { font-family: "Spectral", serif; font-style: italic; font-weight: 600; }

/* índice / eyebrow editorial */
.kicker {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}
.kicker .num { color: var(--gold); font-weight: 800; }
.kicker::before {
  content: "";
  width: 34px; height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease, box-shadow 0.35s var(--ease), border-color 0.3s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 26px rgba(0, 166, 81, 0.32); }
.btn-primary:hover { background: #00b859; box-shadow: 0 16px 34px rgba(0, 166, 81, 0.4); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-soft); }
.btn-ghost-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.45); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255,255,255,.7); }
.btn-outline { color: var(--green-deep); border: 1.5px solid var(--green-deep); }
.btn-outline:hover { background: var(--green-deep); color: #fff; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   HEADER  (sticky adaptativo)
   ============================================================ */
.header {
  position: fixed; inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 90;
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s ease, height 0.4s var(--ease);
}
.header .container { display: flex; align-items: center; justify-content: space-between; width: min(calc(100% - 48px), 1320px); }
.brand { display: flex; align-items: center; }
.brand img { height: 38px; width: auto; transition: opacity 0.35s ease; }
.brand .logo-light { display: block; }
.brand .logo-dark { display: none; position: absolute; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-family: "Montserrat", sans-serif;
  font-weight: 600; font-size: 13.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.86);
  position: relative; padding: 4px 0;
  transition: color 0.25s ease;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }

.header-right { display: flex; align-items: center; gap: 18px; }
.header .btn { padding: 11px 20px; font-size: 13px; }

/* estado: rolado (fundo claro) */
.header.scrolled {
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(8, 21, 14, 0.06);
  height: 74px;
}
.header.scrolled .brand .logo-light { display: none; }
.header.scrolled .brand .logo-dark { display: block; position: static; }
.header.scrolled .nav a { color: var(--text); }
.header.scrolled .nav a:hover { color: var(--green-deep); }

.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; position: relative; transition: background .3s; }
.menu-toggle span::before, .menu-toggle span::after { content:""; position:absolute; left:0; width:24px; height:2px; background:inherit; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.header.scrolled .menu-toggle span,
.header.scrolled .menu-toggle span::before,
.header.scrolled .menu-toggle span::after { background: var(--text); }

/* ============================================================
   HERO  (cinematográfico, escuro)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 0;
}
.hero-stage { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease;
  will-change: opacity, transform;
}
.hero-slide.active { opacity: 1; animation: kenburns 8s linear forwards; }
@keyframes kenburns {
  from { transform: scale(1.04); }
  to   { transform: scale(1.16); }
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(13,43,24,0.50) 0%, rgba(13,43,24,0.30) 38%, rgba(13,43,24,0.82) 100%),
    linear-gradient(90deg, rgba(13,43,24,0.78) 0%, rgba(13,43,24,0.25) 55%, rgba(13,43,24,0.1) 100%);
}
.grain { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0.08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero .container { position: relative; z-index: 3; padding-bottom: 56px; width: min(calc(100% - 48px), 1320px); }
.hero-eyebrow {
  font-family: "Montserrat", sans-serif; font-weight: 700;
  font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-soft);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 26px;
}
.hero-eyebrow::before { content:""; width: 40px; height: 1px; background: var(--gold); opacity:.7; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1 em { color: var(--gold-soft); font-weight: 700; }
.hero-lead {
  margin-top: 26px; max-width: 56ch;
  font-size: clamp(17px, 1.4vw, 20px);
  color: rgba(255,255,255,0.82); line-height: 1.6;
}
.hero-ctas { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

/* reveal de linhas do título */
.reveal-line { display: block; overflow: hidden; }
.reveal-line > span { display: block; transform: translateY(110%); transition: transform 0.9s var(--ease); }
.hero.loaded .reveal-line > span { transform: translateY(0); }
.hero.loaded .reveal-line:nth-child(2) > span { transition-delay: 0.12s; }
.hero.loaded .reveal-line:nth-child(3) > span { transition-delay: 0.24s; }
.fade-up-hero { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero.loaded .fade-up-hero { opacity: 1; transform: none; }
.hero.loaded .hero-lead { transition-delay: 0.4s; }
.hero.loaded .hero-ctas { transition-delay: 0.52s; }
.hero.loaded .hero-meta { transition-delay: 0.62s; }

/* meta inferior do hero (legenda + indicadores) */
.hero-meta {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-top: 52px; flex-wrap: wrap;
  border-top: 1px solid var(--line-light); padding-top: 22px;
}
.hero-caption { font-family: "Montserrat", sans-serif; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.hero-caption b { color: #fff; font-weight: 700; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.28); transition: background .3s; }
.hero-dots button.active { background: var(--gold); }

/* ticker de commodities */
.ticker {
  background: var(--ink-2); color: rgba(255,255,255,0.6);
  border-top: 1px solid var(--line-light);
  overflow: hidden; white-space: nowrap;
  font-family: "Montserrat", sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
}
.ticker-track { display: inline-flex; gap: 0; padding: 16px 0; animation: ticker 34s linear infinite; }
.ticker-track span { padding: 0 30px; display: inline-flex; align-items: center; gap: 30px; }
.ticker-track span::after { content: "◆"; color: var(--gold); font-size: 9px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   SEÇÕES — base
   ============================================================ */
section { position: relative; }
.block { padding: clamp(80px, 11vh, 140px) 0; }
.block.tight { padding: clamp(64px, 8vh, 100px) 0; }
.bg-paper { background: var(--paper); }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }
.bg-ink .kicker { color: rgba(255,255,255,0.6); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vh, 72px); }
.section-head .kicker { margin-bottom: 22px; }
.section-head .lead { margin-top: 22px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 60ch; }
.bg-ink .section-head .lead { color: rgba(255,255,255,0.78); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.4s; }

/* ============================================================
   SOBRE
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 84px); align-items: center;
}
.about-copy h2 { margin-bottom: 26px; }
.about-copy h2 em { color: var(--green-deep); }
.about-copy p { color: var(--muted); margin-bottom: 18px; max-width: 52ch; }
.about-facts { display: flex; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.about-facts li { flex: 1; padding-top: 20px; border-right: 1px solid var(--line); padding-right: 18px; }
.about-facts li:last-child { border-right: 0; }
.about-facts .ff-n { font-family: "Spectral", serif; font-weight: 800; font-size: clamp(30px, 3vw, 40px); color: var(--green-deep); line-height: 1; }
.about-facts .ff-l { font-family: "Montserrat", sans-serif; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.about-visual { position: relative; }
.about-visual .frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; width: 80%; margin-left: auto; }
.about-visual .frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.about-tag {
  position: absolute; left: -22px; bottom: 34px; z-index: 2;
  background: var(--ink); color: #fff; padding: 18px 24px;
  border-radius: var(--r-md); box-shadow: var(--shadow-lg); max-width: 230px;
}
.about-tag .t { font-family: "Spectral", serif; font-weight: 700; font-size: 19px; }
.about-tag .s { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 4px; }
.about-tag .bar { width: 30px; height: 3px; background: var(--gold); margin-bottom: 12px; border-radius: 2px; }

/* ============================================================
   SERVIÇOS  (cards com foto)
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service {
  background: var(--paper); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-img { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.service:hover .service-img img { transform: scale(1.06); }
.service-img::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 50%, rgba(13,43,24,0.35)); }
.service-num { position: absolute; top: 16px; left: 18px; z-index: 2; font-family: "Spectral", serif; font-weight: 800; font-size: 17px; color: #fff; background: rgba(13,43,24,0.55); backdrop-filter: blur(4px); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; }
.service-body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service-body h3 { color: var(--text); }
.service-body p { color: var(--muted); font-size: 15.5px; }
.service-body .more { margin-top: auto; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-deep); display: inline-flex; align-items: center; gap: 8px; }
.service-body .more svg { width: 16px; transition: transform 0.3s var(--ease); }
.service:hover .service-body .more svg { transform: translateX(5px); }

/* ============================================================
   PRODUTOS
   ============================================================ */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
  display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.product-img { aspect-ratio: 16/10; background: var(--sand); display: grid; place-items: center; overflow: hidden; }
.product-img img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.6s var(--ease); }
.product:hover .product-img img { transform: scale(1.07); }
.product-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.product-body h3 { font-size: 21px; color: var(--text); }
.product-body p { color: var(--muted); font-size: 14.5px; }
.product-tag {
  align-self: flex-start; margin-top: 10px;
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green-deep); background: var(--sand-2);
  padding: 6px 12px; border-radius: 999px;
}

/* ============================================================
   DIFERENCIAIS  (dark, cards com foto de fundo)
   ============================================================ */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.diff {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  min-height: 320px; display: flex; align-items: flex-end;
  isolation: isolate;
}
.diff img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease); }
.diff::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(10,34,19,0.15) 0%, rgba(10,34,19,0.55) 55%, rgba(10,34,19,0.93) 100%); transition: background 0.5s ease; }
.diff:hover img { transform: scale(1.08); }
.diff:hover::after { background: linear-gradient(180deg, rgba(10,34,19,0.1) 0%, rgba(10,34,19,0.4) 45%, rgba(10,34,19,0.88) 100%); }
.diff-body { padding: 28px; z-index: 1; }
.diff-body .bar { width: 30px; height: 3px; background: var(--gold); border-radius: 2px; margin-bottom: 14px; transition: width 0.4s var(--ease); }
.diff:hover .diff-body .bar { width: 54px; }
.diff-body h3 { color: #fff; font-size: 24px; }
.diff-body p { color: rgba(255,255,255,0.78); font-size: 14.5px; margin-top: 8px; max-width: 34ch; }

/* ============================================================
   NÚMEROS
   ============================================================ */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.kpi { padding: 8px 4px; border-left: 1px solid var(--line-light); padding-left: 26px; }
.kpi-n { font-family: "Spectral", serif; font-weight: 800; font-size: clamp(48px, 6vw, 78px); color: var(--gold-soft); line-height: 0.95; letter-spacing: -0.02em; }
.kpi-n .suf { color: var(--green); font-size: 0.6em; }
.kpi-l { font-family: "Montserrat", sans-serif; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.72); margin-top: 14px; line-height: 1.4; }

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 32px;
  display: flex; flex-direction: column; gap: 22px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote .mark { font-family: "Spectral", serif; font-size: 60px; line-height: 0.5; color: var(--gold); height: 26px; }
.quote .q { font-family: "Spectral", serif; font-size: 19px; line-height: 1.5; color: var(--text); font-weight: 500; }
.quote .who { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote .av { width: 46px; height: 46px; border-radius: 50%; background: var(--green-deep); color: #fff; display: grid; place-items: center; font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 15px; flex: none; }
.quote .who b { display: block; font-family: "Montserrat", sans-serif; font-size: 14px; color: var(--text); }
.quote .who span { font-size: 13px; color: var(--muted); }

/* ============================================================
   CONTATO  (WhatsApp)
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.contact-copy h2 { color: #fff; margin-bottom: 22px; }
.contact-copy h2 em { color: var(--gold-soft); }
.contact-copy .lead { color: rgba(255,255,255,0.8); font-size: clamp(17px, 1.4vw, 20px); max-width: 50ch; }
.wa-main {
  margin-top: 34px; display: inline-flex; align-items: center; gap: 14px;
  background: #25d366; color: #04270f; padding: 18px 30px; border-radius: 999px;
  font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 16px;
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.34);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.wa-main:hover { transform: translateY(-3px); box-shadow: 0 20px 46px rgba(37, 211, 102, 0.45); }
.wa-main svg { width: 26px; height: 26px; }
.contact-micro { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,0.6); }
.contact-micro a { color: var(--gold-soft); }

.contact-card { background: rgba(255,255,255,0.04); border: 1px solid var(--line-light); border-radius: var(--r-lg); overflow: hidden; }
.contact-card .ph { aspect-ratio: 16/10; overflow: hidden; }
.contact-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.contact-card .lines { padding: 26px 28px 30px; }
.contact-card .lines h3 { color: #fff; font-size: 20px; margin-bottom: 18px; }
.wa-list li { border-top: 1px solid var(--line-light); }
.wa-list li:first-child { border-top: 0; }
.wa-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; color: rgba(255,255,255,0.9); transition: color 0.25s ease, padding 0.3s var(--ease); }
.wa-list a:hover { color: #fff; padding-left: 6px; }
.wa-list .lab { font-family: "Montserrat", sans-serif; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.wa-list .num { font-family: "Spectral", serif; font-weight: 600; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.wa-list .num svg { width: 18px; height: 18px; color: #25d366; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink-2); color: rgba(255,255,255,0.7); padding: 80px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer-brand img { height: 40px; margin-bottom: 20px; }
.footer-brand p { font-size: 14.5px; line-height: 1.6; max-width: 34ch; color: rgba(255,255,255,0.62); }
.footer-col h4 { font-family: "Montserrat", sans-serif; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.66); transition: color 0.25s ease; }
.footer-col a:hover { color: var(--gold-soft); }
.socials { display: flex; gap: 12px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.07); display: grid; place-items: center; color: #fff; transition: background 0.3s ease, transform 0.3s var(--ease); }
.socials a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: rgba(255,255,255,0.45); }

/* botão flutuante whatsapp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  transform: translateY(120px); opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s ease, box-shadow 0.3s ease;
}
.wa-float.show { transform: none; opacity: 1; }
.wa-float:hover { box-shadow: 0 16px 40px rgba(37, 211, 102, 0.6); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content:""; position:absolute; inset:0; border-radius:50%; border:2px solid #25d366; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity:.6;} 100% { transform: scale(1.6); opacity:0;} }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .nav, .header .header-right .btn { display: none; }
  .menu-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .quotes { grid-template-columns: 1fr; max-width: 560px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .services-grid, .products-grid, .diff-grid { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .about-facts { flex-wrap: wrap; gap: 20px; }
  .about-facts li { flex: 1 1 40%; border-right: 0; }
  .about-tag { left: 16px; right: 16px; max-width: none; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-meta { gap: 18px; }
  .product-img img { mix-blend-mode: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-slide.active { animation: none; }
}

/* menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 40px;
  opacity: 0; pointer-events: none; transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu a { font-family: "Spectral", serif; font-size: 30px; font-weight: 600; padding: 10px 0; border-bottom: 1px solid var(--line-light); }
.mobile-menu .close { position: absolute; top: 26px; right: 26px; font-size: 34px; font-family: "Inter"; }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }
