/* =========================================================
   Mais Café — Grupo Empresarial
   Design system + seções da Home
   ========================================================= */

:root {
  /* Base */
  --cream: #F6F1E7;
  --cream-2: #EFE8DA;
  --paper: #FFFDF8;
  --ink: #24211D;
  --ink-2: #61615F;   /* cinza do wordmark Mais Café */
  --muted: #8C877E;
  --line: #E4DCCC;

  /* Pétalas do logo (cores oficiais do SVG) */
  --green: #236E36;
  --green-d: #1A5229;
  --green-dd: #0F3519;
  --green-l: #E3EEE5;
  --yellow: #FDED00;
  --yellow-l: #FEF9C8;
  --red: #B30D15;
  --red-l: #F9E2E3;
  --grey-petal: #E4E5E4;

  /* Marcas (cores dos logos oficiais) */
  --coq: #EB6E00;   --coq-d: #1F4A43;
  --pm: #3A6639;    --pm-d: #2B4D2C;
  --pmg: #264433;   --pmg-gold: #9D8355;
  --mun: #F2C62B;   --mun-d: #3F2413;
  --pop: #B03838;   --pop-d: #1F2442;

  --radius: 22px;
  --radius-lg: 36px;
  --shadow-sm: 0 1px 2px rgba(36, 33, 29, .05), 0 4px 14px rgba(36, 33, 29, .05);
  --shadow: 0 2px 4px rgba(36, 33, 29, .04), 0 18px 40px -12px rgba(36, 33, 29, .16);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);

  --f-display: "Sora", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; margin: 0; }
p { margin: 0; }

/* ---------- Scroll progress (tricolor do logo) ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100; pointer-events: none; }
.progress span {
  display: block; height: 100%; width: 100%;
  /* o degradê ocupa a largura toda e é revelado conforme a rolagem (mesmo da linha do tempo) */
  clip-path: inset(0 calc((1 - var(--p, 0)) * 100%) 0 0);
  background: linear-gradient(90deg, var(--green), var(--yellow), var(--red));
}

/* ---------- Eyebrow pill ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: var(--paper); border: 0;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.eyebrow svg { width: 22px; height: 14px; }
.eyebrow.on-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.85); box-shadow: none; }

.sec-head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); display: grid; justify-items: center; gap: 18px; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 50px); }
.sec-head p { color: var(--ink-2); font-size: 17px; max-width: 560px; }
/* destaque nos títulos: só a cor verde (sem sublinhado) */
.hl { white-space: nowrap; color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--paper); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 22px 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 15px; white-space: nowrap;
  box-shadow: var(--shadow-sm); overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--hover, rgba(0,0,0,.05)); transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: var(--shadow); }
.btn:active { transform: scale(.97); }
.btn .ico { width: 18px; height: 18px; }
.btn .arr { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--arr-bg, rgba(0,0,0,.06)); overflow: hidden; margin-right: -8px; }
.btn .arr .ico { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.btn:hover .arr .ico { animation: arrow-loop .55s var(--ease); }
@keyframes arrow-loop { 0% { transform: translateX(0); } 49% { transform: translateX(150%); } 50% { transform: translateX(-150%); } 100% { transform: translateX(0); } }
.btn-green { --bg: var(--green); --fg: #fff; --hover: var(--green-d); --arr-bg: rgba(255,255,255,.16); }
.btn-ink { --bg: var(--ink); --fg: #fff; --hover: #000; --arr-bg: rgba(255,255,255,.14); }
.btn-brand { --bg: var(--bbg, var(--green)); --fg: var(--bfg, #fff); --hover: color-mix(in srgb, var(--bbg, var(--green)) 82%, #000); --arr-bg: color-mix(in srgb, var(--bfg, #fff) 18%, transparent); }
.btn-yellow { --bg: var(--yellow); --fg: var(--ink); --hover: #E6C800; }
.btn-ghost { --bg: transparent; --fg: #fff; --hover: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-sm { height: 44px; padding: 0 18px 0 14px; font-size: 14px; }

.icon-tile {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--tile-bg, var(--green-l)); color: var(--tile-fg, var(--green));
}
.icon-tile .ico { width: 24px; height: 24px; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 90;
  transition: transform .5s var(--ease);
}
.nav.is-hidden { transform: translateY(-130%); }
.nav-inner {
  display: flex; align-items: center; gap: 20px; height: 61px; padding: 0 10px 0 18px;
  border-radius: 999px; background: rgba(255, 253, 248, .78);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border: 0;
  transition: box-shadow .4s, background .4s;
}
.nav.is-scrolled .nav-inner { box-shadow: var(--shadow); background: rgba(255, 253, 248, .92); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand img { height: 41px; width: auto; }
.nav-links { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-links a {
  position: relative; display: block; padding: 8px 14px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--ink); background: rgba(36, 33, 29, .05); }
.nav-links a.is-active { color: var(--green); }
.nav-links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--green);
}
.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
@media (min-width: 921px) {
  .nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav-inner > nav { justify-self: center; }
  .nav-cta { justify-self: end; margin-left: 0; }
}
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .35s var(--ease), background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav.is-open .burger span { background: transparent; }
.nav.is-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; padding: 120px 0 clamp(40px, 6vw, 72px); overflow-x: clip; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 56px); align-items: center; }
.hero-copy { position: relative; z-index: 2; display: grid; gap: 28px; }
.hero h1 { font-size: clamp(38px, 4.9vw, 66px); font-weight: 600; letter-spacing: -.04em; line-height: .98; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
/* depois da entrada do texto, libera o corte para a sombra dos ícones aparecer inteira */
.hero h1.is-done .line { overflow: visible; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * .1s + .15s); }
@keyframes rise { to { transform: none; } }
.h-chips { display: inline-flex; vertical-align: middle; margin: 0 -.04em 0 0; transform: translateY(-.06em); }
.h-chip {
  display: grid; place-items: center; width: .92em; height: .92em; border-radius: 50%;
  border: .06em solid var(--cream); margin-left: -.18em; box-shadow: 0 6px 16px -6px rgba(0,0,0,.3);
  animation: chip-pop .7s var(--ease-back) both; animation-delay: calc(var(--i) * .12s + .7s);
}
.h-chip { flex: none; }
.h-chip:first-child { margin-left: 0; }
.h-chip svg { width: 56%; height: 56%; }
.h-chip .flor-chip { width: 74%; height: 50%; color: #fff; margin-top: 4%; }
.h-chip.c1 { background: var(--green); color: #fff; }
.h-chip.c2 { background: var(--yellow); color: var(--ink); }
.h-chip.c3 { background: var(--red); color: #fff; }
.h-chip.c3 .ico { stroke-width: 2.2; }
@keyframes chip-pop { from { transform: scale(0) rotate(-40deg); } to { transform: none; } }
.hero-lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 520px; }
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fade-up { opacity: 0; transform: translateY(20px); animation: fade-up .9s var(--ease) forwards; animation-delay: var(--d, .5s); }
@keyframes fade-up { to { opacity: 1; transform: none; } }

/* Palco verde */
.hero-stage {
  position: relative; height: clamp(540px, calc(100svh - 190px), 660px);
  background: radial-gradient(120% 90% at 30% 20%, #2C8445 0%, var(--green) 45%, var(--green-d) 100%);
  border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  box-shadow: 0 30px 60px -30px rgba(15, 53, 25, .45);
}
.hero-stage .stage-flor { position: absolute; left: 50%; top: 46%; width: 170%; height: auto; translate: -50% -50%; color: #2FA04E; overflow: visible; }
@keyframes slow-spin { to { transform: rotate(360deg); } }
.stage-grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent); }
.hero-visual { position: absolute; inset: 0; z-index: 2; }
.packs { position: absolute; inset: 0; }
.pack {
  position: absolute; width: var(--w, 38%); left: var(--x); bottom: var(--y);
  transform: translate3d(calc(var(--mx, 0) * var(--depth) * 1px), calc(var(--my, 0) * var(--depth) * 1px), 0) rotate(var(--rot));
  transition: transform .6s var(--ease);
  filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .3));
}
.pack img { width: 100%; animation: pack-in 1.2s var(--ease-back) both, bob 6s ease-in-out infinite; animation-delay: var(--d), calc(var(--d) + 1.2s); }
@keyframes pack-in { from { opacity: 0; transform: translateY(80px) scale(.8); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255,255,255,.96); box-shadow: var(--shadow);
  font-size: 13px; line-height: 1.25; color: var(--ink-2);
  animation: fade-up .9s var(--ease) both, bob 7s ease-in-out infinite; animation-delay: var(--d), calc(var(--d) + 1s);
}
.float-card strong { display: block; color: var(--ink); font-size: 15px; font-family: var(--f-display); }
.float-card .icon-tile { width: 40px; height: 40px; border-radius: 12px; }
.float-card .icon-tile .ico { width: 20px; height: 20px; }
/* Cards ficam fora do fundo verde, "pendurados" nas bordas */
.hero-media { position: relative; --out: -40px; }
.fc-2 { right: var(--out); top: 7%; --d: 1.5s; padding: 14px 16px; display: block; }
.fc-2 svg { width: 120px; height: 44px; margin-top: 6px; overflow: visible; }
.fc-2 .spark { stroke: var(--green); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.6s var(--ease) 2s forwards; }
.fc-2 .spark-fill { fill: url(#sparkFill); opacity: 0; animation: fade-in 1s ease 2.8s forwards; }
.fc-2 .spark-dot { fill: var(--green); transform-box: fill-box; transform-origin: center; transform: scale(0); animation: chip-pop .5s var(--ease-back) 3.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
.fc-3 { left: var(--out); bottom: 12%; --d: 1.7s; }
@media (max-width: 1340px) { .hero-media { --out: -18px; } }
.badge-38 {
  position: absolute; z-index: 3; left: -46px; bottom: 15%; width: 132px; height: 132px; border-radius: 50%;
  background: var(--yellow); display: grid; place-items: center; box-shadow: var(--shadow);
  animation: chip-pop .9s var(--ease-back) 1.9s both;
}
.badge-38 .ring { position: absolute; inset: 6px; animation: slow-spin 18s linear infinite; }
.badge-38 .ring text { font: 700 10.5px var(--f-body); letter-spacing: .2em; fill: var(--ink); }
.badge-38 b { font-family: var(--f-display); font-size: 40px; line-height: 1; letter-spacing: -.04em; text-align: center; }
.badge-38 b small { display: block; font-size: 11px; letter-spacing: .1em; font-family: var(--f-body); text-transform: uppercase; }

/* =========================================================
   MARQUEE (marcas)
   ========================================================= */
.marquee { position: relative; overflow: hidden; display: flex; user-select: none; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; flex: none; align-items: center; gap: var(--gap, 56px); padding-right: var(--gap, 56px); animation: marquee var(--speed, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
/* o ticker de frases nunca para, nem com o mouse em cima */
.phrases .marquee:hover .marquee-track { animation-play-state: running; }
@keyframes marquee { to { transform: translateX(-100%); } }

.brands-strip { padding: 34px 0; }
.bs-item { display: flex; align-items: center; filter: grayscale(1) contrast(.9); opacity: .55; transition: filter .45s, opacity .45s, transform .5s var(--ease-back); }
.bs-item img { width: auto; max-width: none; }
.bs-item:hover { filter: none; opacity: 1; transform: scale(1.06) rotate(-2deg); }
.bs-item small { display: block; font: 600 10px var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* =========================================================
   PILARES
   ========================================================= */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pillar {
  --c: var(--green); --cl: var(--green-l);
  position: relative; padding: 28px 26px 30px; border-radius: var(--radius); background: var(--paper);
  border: 0; box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; gap: 18px; min-height: 360px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.pillar .icon-tile { --tile-bg: var(--cl); --tile-fg: var(--c); transition: transform .5s var(--ease-back); }
.pillar:hover .icon-tile { transform: scale(1.12); }
.pillar h3 { font-size: 21px; margin-top: 14px; }
.pillar .dash { width: 28px; height: 3px; border-radius: 3px; background: var(--c); margin-top: auto; transition: width .5s var(--ease); }
.pillar:hover .dash { width: 64px; }
.pillar p { color: var(--ink-2); font-size: 15px; }
.pillar.yellow { --c: #A68E00; --cl: var(--yellow-l); }
.pillar.red { --c: var(--red); --cl: var(--red-l); }
.pillar.ink { --c: var(--ink); --cl: var(--cream-2); }
/* micro animações dos ícones */
@keyframes tick { 0% { stroke-dasharray: 30; stroke-dashoffset: 30; } 100% { stroke-dasharray: 30; stroke-dashoffset: 0; } }
@keyframes spin-once { to { transform: rotate(360deg); } }
@keyframes bounce { 30% { transform: translateY(-4px); } 60% { transform: translateY(1px); } }

/* =========================================================
   NÚMEROS (container com recorte)
   ========================================================= */
.numbers-shell { position: relative; background: var(--paper); border-radius: var(--radius-lg); padding: clamp(72px, 9vw, 110px) clamp(16px, 3vw, 34px) clamp(16px, 3vw, 34px); margin: 0 auto; max-width: calc(var(--wrap) - 2 * var(--gutter) + 40px); }
.notch { position: absolute; left: 50%; top: -1px; width: 240px; height: 44px; transform: translateX(-50%); color: var(--cream); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; grid-auto-rows: minmax(250px, auto); gap: 14px; }
.stat {
  --bg: var(--green); --fg: #fff;
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px; background: var(--bg); color: var(--fg);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; isolation: isolate;
  transition: transform .5s var(--ease);
}
.stat:hover { transform: translateY(-4px); }
.stat .num { font-family: var(--f-display); font-size: clamp(44px, 4.9vw, 62px); font-weight: 600; letter-spacing: -.05em; line-height: .9; display: flex; align-items: baseline; }
.stat .num small { font-size: .45em; letter-spacing: -.02em; margin-left: 6px; }
.stat p { font-size: 15px; opacity: .85; max-width: 220px; line-height: 1.4; }
.stat.s-yellow { --bg: var(--yellow); --fg: var(--ink); }
.stat.s-ink { --bg: var(--ink); }
.stat.s-red { --bg: var(--red); }
.stat.s-cream { --bg: var(--cream); --fg: var(--ink); }
.stat.s-dgreen { --bg: var(--green-dd); }
.stat-photo { grid-column: 4; grid-row: 1 / span 2; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--green-l); min-height: 420px; }
.stat-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.stat-photo:hover img { transform: scale(1.05); }
.stat-photo .tag { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); font-size: 13px; color: var(--ink-2); line-height: 1.35; display: flex; gap: 12px; align-items: center; }
.stat-photo .tag strong { display: block; font-family: var(--f-display); color: var(--ink); font-size: 16px; }
.stat-wide { grid-column: span 2; }

/* Ícones animados dos cards de números (todos à esquerda, mesmo tamanho) */
.anim-ico { position: absolute; left: 24px; top: 22px; width: 60px; height: 60px; overflow: visible; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.anim-ico .soft { fill: currentColor; fill-opacity: .16; }
/* medalha */
.ai-float { animation: ai-float 3.2s ease-in-out infinite; }
@keyframes ai-float { 50% { transform: translateY(-3px); } }
.ai-tick { stroke-dasharray: 24; stroke-dashoffset: 24; animation: ai-tick 3.2s ease-in-out infinite; }
@keyframes ai-tick { 0%, 12% { stroke-dashoffset: 24; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 24; } }
.ai-twinkle { transform-box: fill-box; transform-origin: center; animation: ai-twinkle 2.4s ease-in-out infinite; }
@keyframes ai-twinkle { 0%, 100% { opacity: 0; transform: scale(.3); } 50% { opacity: 1; transform: scale(1); } }
/* pessoas */
.ai-bob { animation: ai-float 2.4s ease-in-out infinite; }
/* pin (cidades) */
.ai-pin { animation: ai-pin 1.8s var(--ease) infinite; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes ai-pin { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-6px); } 50% { transform: translateY(0) scaleY(.94); } 60% { transform: translateY(0); } }
.ai-ring { fill: none; transform-box: fill-box; transform-origin: center; animation: ai-ring 2s ease-out infinite; }
@keyframes ai-ring { from { transform: scale(.3); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.ai-heart { fill: currentColor; stroke: none; transform-box: fill-box; transform-origin: center; animation: ai-heart 1.6s ease-in-out infinite; }
@keyframes ai-heart { 0%, 100% { transform: scale(.85); opacity: .7; } 25% { transform: scale(1.15); opacity: 1; } 45% { transform: scale(.95); } }
/* grão de café (marcas) */
.ai-bean { transform-box: fill-box; transform-origin: center; animation: ai-bean 3.2s ease-in-out infinite; }
@keyframes ai-bean { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.05); } }
/* caixa (itens) */
.ai-lid { animation: ai-lid 2.8s ease-in-out infinite; }
@keyframes ai-lid { 0%, 100% { transform: translateY(0); } 25%, 65% { transform: translateY(-7px); } }
.ai-item { animation: ai-item 2.8s ease-in-out infinite; }
@keyframes ai-item { 0%, 15% { transform: translateY(12px); } 40%, 65% { transform: translateY(-5px); } 90%, 100% { transform: translateY(12px); } }
/* xícara */
.inf-cup .steam { stroke-dasharray: 4 30; animation: steam 2.4s linear infinite; }
.inf-cup .steam:nth-child(2) { animation-delay: .5s; } .inf-cup .steam:nth-child(3) { animation-delay: 1s; }
@keyframes steam { from { stroke-dashoffset: 34; opacity: 0; } 30% { opacity: 1; } to { stroke-dashoffset: 0; opacity: 0; } }

/* =========================================================
   FRASES (marquee com chips)
   ========================================================= */
.phrases { padding: 40px 0; }
.phrase { font-family: var(--f-display); font-size: clamp(34px, 4.6vw, 60px); font-weight: 500; letter-spacing: -.035em; white-space: nowrap; color: var(--ink); }
/* Contorno: preenchimento na cor do fundo + traço desenhado por baixo do preenchimento.
   Com fill transparente, as sobreposições internas dos glifos aparecem e o traço "quebra". */
.phrase.o { color: var(--cream); -webkit-text-stroke: 2.4px var(--ink-2); paint-order: stroke fill; }
.p-chip { width: clamp(56px, 6vw, 78px); height: clamp(56px, 6vw, 78px); border-radius: 20px; overflow: hidden; flex: none; transform: rotate(var(--r, -6deg)); box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.p-chip img { width: 100%; height: 100%; object-fit: cover; }
.p-chip.flor { background: var(--paper); }
.p-chip.flor svg { width: 74%; }
.p-chip.pk { background: var(--yellow-l); }
.p-chip.pk img { object-fit: contain; padding: 6px; }

/* =========================================================
   MARCAS (abas + flor interativa)
   ========================================================= */
.tabs { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: clamp(36px, 5vw, 60px); flex-wrap: wrap; }
.tab {
  display: flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; cursor: pointer;
  background: var(--cream-2); border: 1px solid transparent; font-weight: 600; font-size: 15px; color: var(--ink-2);
  transition: background .35s, color .35s, box-shadow .35s, border-color .35s;
}
.tab:hover { color: var(--ink); background: var(--paper); border-color: transparent; }
/* só um ponto pequeno na cor da marca (sem o círculo em volta) */
.tab .t-dot { display: grid; place-items: center; }
.tab .t-dot i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); transition: transform .4s var(--ease-back); }
.tab[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); border-color: transparent; }
.tab[aria-selected="true"] .t-dot i { transform: scale(1.25); }

.brand-panel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.bp-copy { display: grid; gap: 22px; align-content: start; }
.bp-copy > * { transition: opacity .45s var(--ease), transform .55s var(--ease); }
.bp-copy.is-swapping > * { opacity: 0; transform: translateY(14px); }
.bp-copy h3 { font-size: clamp(28px, 3vw, 39px); }
.bp-copy h3 em { font-style: normal; color: var(--bc); }
.bp-copy > p { color: var(--ink-2); font-size: 17px; max-width: 520px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--paper); border: 0; box-shadow: var(--shadow-sm); color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.chips span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bc); }
.bp-copy .btn { justify-self: start; }

/* Card colorido da marca: produtos dentro de um fundo na cor da marca,
   sangrando pelas bordas — mesma linguagem do card verde do hero. */
.brand-panel { grid-template-columns: .9fr 1.1fr; align-items: start; }
.brand-card {
  --card: var(--green);
  position: relative; overflow: hidden; isolation: isolate; container-type: size;
  height: clamp(340px, 29vw, 410px); border-radius: 56px;
  background-color: var(--card);
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--card) 70%, transparent);
  transition: background-color .6s var(--ease), box-shadow .6s var(--ease);
}
/* logo da marca: centralizado no topo */
.bc-logo {
  /* z-index 1: o logo fica atrás dos produtos (z 2), assim a etiqueta do hover passa por cima dele */
  position: absolute; z-index: 1; left: 50%; translate: -50% 0; top: clamp(34px, 7.5cqw, 52px);
  height: calc(var(--lh, 90) * .95px); width: auto; max-width: 62%; object-fit: contain; object-position: center top;
  transition: opacity .3s var(--ease), transform .45s var(--ease);
}
.bc-logo.is-white { filter: brightness(0) invert(1); }
.brand-card.is-swapping .bc-logo { opacity: 0; transform: translateY(-10px); }
/* produtos: maiores, ancorados embaixo e cortados pela borda inferior */
.bc-products {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: -7cqh; height: 78cqh;
  display: flex; justify-content: center; align-items: flex-end;
}
.pd-item {
  position: relative; flex: none; margin: 0 -3.4%; z-index: var(--z);
  translate: calc(var(--mx, 0) * var(--dp, 10) * 1px) calc(var(--my, 0) * var(--dp, 10) * .6px);
  transition: translate .6s var(--ease);
  animation: pd-in .8s var(--ease-back) both; animation-delay: calc(var(--i) * 90ms + 60ms);
  outline: none; cursor: default;
}
.pd-item:hover, .pd-item:focus-visible { z-index: 20; }
/* filtros e coadores (acessórios) ficam mais "encaixados" nos pacotes vizinhos */
.pd-item.is-acc { margin: 0 -6%; }
.pd-item img {
  display: block; width: auto; height: calc(66cqh * var(--s));
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .3));
  transform-origin: 50% 100%; transition: transform .5s var(--ease-back);
}
.pd-item:hover img, .pd-item:focus-visible img { transform: translateY(-14px) scale(1.04); }
.pd-item figcaption {
  position: absolute; left: 50%; bottom: 100%; z-index: 3; translate: -50% 10px; opacity: 0; pointer-events: none;
  padding: 8px 12px; border-radius: 12px; background: #fff; color: var(--ink); white-space: nowrap; text-align: center;
  font-size: 12.5px; line-height: 1.25; box-shadow: var(--shadow); transition: opacity .3s, translate .4s var(--ease);
}
.pd-item figcaption b { display: block; font-size: 13.5px; }
.pd-item figcaption small { color: var(--ink-2); }
.pd-item:hover figcaption, .pd-item:focus-visible figcaption { opacity: 1; translate: -50% -18px; }
.brand-card.is-swapping .pd-item { animation: pd-out .28s var(--ease) forwards; }
@keyframes pd-in { from { opacity: 0; transform: translateY(60px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes pd-out { to { opacity: 0; transform: translateY(24px) scale(.96); } }


/* =========================================================
   PROCESSO — do grão à gôndola
   ========================================================= */
/* Card verde; detalhes de café (grãos, chama, pó) em marrom quando a etapa acende */
.process {
  --pc-bg: var(--green-dd); --pc-node: var(--green-d); --pc-light: var(--green-l); --bean: #6B3F24;
  position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-lg);
  background: var(--pc-bg); padding: clamp(64px, 9vw, 110px) clamp(20px, 4vw, 56px);
}
/* Pin: a seção fica alta, o card trava no centro (sticky) e o scroll vira a animação.
   --e (0→1) = entrada: o card cresce e aparece até chegar no centro da tela. */
.process-pin { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.process-pin.is-pinned { height: 360vh; padding: 0; }
.process-pin.is-pinned .process-sticky { position: sticky; top: 0; height: 100vh; display: grid; align-items: center; }
.process-pin.is-pinned .process {
  padding-block: clamp(48px, 8vh, 88px);
  transform: scale(calc(.8 + .2 * var(--e, 1))); opacity: calc(.1 + .9 * var(--e, 1));
  transform-origin: 50% 50%; will-change: transform, opacity;
}
.process .sec-head p { color: rgba(255,255,255,.7); }
.process .hl { color: var(--yellow); }
.route { position: relative; margin-top: 10px; }
/* --x0/--x1 = centros do 1º e do último ícone (medidos no JS): o caminhão começa e termina escondido atrás deles */
.route-line { position: absolute; left: var(--x0, 6%); width: calc(var(--x1, 94%) - var(--x0, 6%)); top: 46px; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 8px, transparent 8px 16px); }
.route-line i { position: absolute; inset: 0; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); border-radius: 2px; }
.route-truck { position: absolute; top: 20px; left: calc(var(--x0, 6%) + var(--p, 0) * (var(--x1, 94%) - var(--x0, 6%))); width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(242,211,0,.15); transition: left .15s linear; z-index: 0; }
.steps { z-index: 1; }
.route-truck .ico { width: 26px; height: 26px; animation: rumble .5s ease-in-out infinite; }
@keyframes rumble { 50% { transform: translateY(-1.5px); } }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.step { display: grid; justify-items: center; text-align: center; gap: 14px; padding-top: 0; }
.step .node { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: var(--pc-node); border: 1.5px solid rgba(255,255,255,.12); position: relative; transition: background .5s, border-color .5s, transform .6s var(--ease-back); }
.step .node svg { width: 56px; height: 56px; }
.step.is-on .node { background: #fff; border-color: #fff; transform: scale(1.04); }
.step .n { font: 600 12px var(--f-body); letter-spacing: .14em; color: var(--yellow); }
.step h4 { font-size: 19px; }
/* textos ficam apagados até o caminhão chegar na etapa */
.step .n, .step h4, .step p { opacity: .28; transition: opacity .6s var(--ease); }
.step.is-on .n, .step.is-on h4, .step.is-on p { opacity: 1; }
.step p { font-size: 14px; color: rgba(255,255,255,.65); max-width: 210px; }
/* ilustrações dos passos */
.ill { overflow: visible; }
.ill .st { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
.ill .fl { fill: rgba(255,255,255,.14); transition: fill .5s; }
.ill .ac { fill: var(--yellow); }
.step.is-on .ill .st { stroke: var(--pc-node); }
.step.is-on .ill .fl { fill: var(--pc-light); }
.step.is-on .ill .ac { fill: var(--bean); }
.step.is-on .ill .leaf { animation: sway 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: 0% 100%; }
@keyframes sway { 50% { transform: rotate(8deg); } }
.step.is-on .ill .flame { animation: flick .4s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes flick { to { transform: scaleY(1.15) scaleX(.92); } }
.step.is-on .ill .crank { animation: spin-once 1.6s linear infinite; transform-box: fill-box; transform-origin: 0% 100%; }
.step.is-on .ill .drop { animation: drop 1.2s ease-in infinite; }
@keyframes drop { 0% { transform: translateY(-6px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
.step.is-on .ill .pop { animation: bounce 1.4s var(--ease) infinite; }

/* =========================================================
   PARCERIA B2B
   ========================================================= */
.b2b { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.b2b-copy { display: grid; gap: 24px; }
.b2b-copy h2 { font-size: clamp(32px, 4.2vw, 50px); }
.b2b-copy > p { color: var(--ink-2); font-size: 17px; }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.benefits li:last-child { border: 0; }
.benefits .ck { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; flex: none; margin-top: 2px; }
.benefits .ck .ico { width: 15px; height: 15px; stroke-width: 2.6; }
.benefits b { display: block; font-size: 16px; }
.benefits span { color: var(--ink-2); font-size: 14.5px; }

.shelf-card { position: relative; background: var(--paper); border: 0; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.shelf-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 10px; flex-wrap: wrap; }
.shelf-top b { font-family: var(--f-display); font-size: 20px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--green); background: var(--green-l); padding: 6px 12px; border-radius: 99px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(15,107,53,.5); } 100% { box-shadow: 0 0 0 10px rgba(15,107,53,0); } }
.shelf { width: 100%; height: auto; overflow: visible; }
.shelf .bag { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .6s var(--ease-back), opacity .4s; }
.shelf .bag.out { transform: translateY(-40px) scale(.6); opacity: 0; transition: transform .45s var(--ease), opacity .35s; }
.shelf .bag.in { animation: bag-in .7s var(--ease-back); }
@keyframes bag-in { from { transform: translateY(-60px); opacity: 0; } }
.shelf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.shelf-stats div { background: var(--cream); border-radius: 14px; padding: 12px 14px; }
.shelf-stats b { display: block; font-family: var(--f-display); font-size: 26px; letter-spacing: -.03em; line-height: 1.1; }
.shelf-stats small { font-size: 12px; color: var(--ink-2); line-height: 1.3; display: block; }
.shelf-float { position: absolute; left: -36px; bottom: 120px; background: var(--ink); color: #fff; border-radius: 16px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-size: 13px; box-shadow: var(--shadow); line-height: 1.3; }
.shelf-float .ico { color: var(--yellow); }
.shelf-float b { display: block; font-size: 14px; }
.shelf-float.bump { animation: bump .5s var(--ease-back); }
@keyframes bump { 40% { transform: scale(1.08); } }

/* =========================================================
   HISTÓRIA
   ========================================================= */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.story-media { position: sticky; top: 110px; }
.story-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.8; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.story-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 51, 26, .75)); }
.story-photo .cap { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; color: #fff; font-size: 14px; display: flex; gap: 10px; align-items: center; }
.story-photo .cap .ico { color: var(--yellow); }
.story-photo .cap { line-height: 1.55; font-size: 14.5px; }
.story-photo .cap b { font-weight: 700; margin-right: 4px; }
.seal { position: absolute; z-index: 3; right: -28px; top: -28px; width: 128px; height: 128px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.seal svg.ring { position: absolute; inset: 6px; animation: slow-spin 22s linear infinite reverse; }
.seal text { font: 700 10px var(--f-body); letter-spacing: .22em; fill: #fff; }
.seal .s-cup { width: 40px; height: 40px; }
.story-copy { display: grid; gap: 22px; }
.story-copy h2 { font-size: clamp(32px, 4.2vw, 50px); }
.story-copy > p { color: var(--ink-2); font-size: 17px; }
.timeline { position: relative; margin-top: 12px; padding-left: 64px; display: grid; gap: 14px; }
/* --y0/--y1 = centro do 1º e do último ícone (medidos no JS): a linha nasce e termina dentro deles */
.timeline::before { content: ""; position: absolute; left: 23px; top: var(--y0, 10px); height: calc(var(--y1, 100%) - var(--y0, 10px)); width: 2px; background: var(--line); }
.timeline .tl-fill { position: absolute; left: 23px; top: var(--y0, 10px); width: 2px; height: calc(var(--p, 0) * (var(--y1, 100%) - var(--y0, 10px))); background: linear-gradient(var(--green), var(--yellow), var(--red)); border-radius: 2px; }
.tl-item { position: relative; background: var(--paper); border: 0; box-shadow: var(--shadow-sm); border-radius: var(--radius); padding: 22px 24px; transition: transform .5s var(--ease), box-shadow .5s; }
.tl-item:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.tl-item .tl-ico { position: absolute; left: -64px; top: 18px; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); box-shadow: var(--shadow-sm); border: 2px solid transparent; display: grid; place-items: center; color: var(--muted); transition: all .5s var(--ease-back); }
.tl-item.is-on .tl-ico { background: var(--c, var(--green)); border-color: var(--c, var(--green)); color: #fff; transform: scale(1.08); }
.tl-item .yr { font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .04em; color: var(--c, var(--green)); }
.tl-item h4 { font-size: 19px; margin: 4px 0 6px; }
.tl-item p { color: var(--ink-2); font-size: 15px; }

/* =========================================================
   DEPOIMENTOS
   ========================================================= */
.testis { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 14px; }
.testi { position: relative; border-radius: var(--radius); padding: 30px; background: var(--paper); border: 0; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 22px; transition: transform .5s var(--ease), box-shadow .5s; overflow: hidden; }
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi .q { width: 40px; height: 40px; color: var(--c, var(--green)); }
.testi blockquote { margin: 0; font-family: var(--f-display); font-size: 21px; line-height: 1.35; letter-spacing: -.015em; font-weight: 500; }
.testi .stars { display: flex; gap: 3px; color: #E8B500; }
.testi .stars svg { width: 16px; height: 16px; fill: currentColor; }
.testi .who { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--line); }
.testi .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--c, var(--green)); overflow: hidden; }
.testi .av img { width: 100%; height: 100%; object-fit: cover; }
.testi .who b { display: block; font-size: 15px; line-height: 1.2; }
.testi .who small { color: var(--muted); font-size: 13px; }
.testi.feature { background: var(--green); color: #fff; border-color: var(--green); --c: var(--yellow); }
.testi.feature .who { border-color: rgba(255,255,255,.2); }
.testi.feature .who small { color: rgba(255,255,255,.65); }
.testi.feature .av { color: var(--ink); }
.testi.feature .t-flor { position: absolute; right: -70px; bottom: -40px; width: 260px; color: #fff; opacity: .07; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-head { display: grid; gap: 20px; position: sticky; top: 110px; }
.faq-head h2 { font-size: clamp(30px, 4vw, 46px); }
.faq-head p { color: var(--ink-2); font-size: 17px; }
.faq-head .btn { justify-self: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--paper); border: 0; box-shadow: var(--shadow-sm); border-radius: 20px; transition: box-shadow .4s, border-color .4s; }
.faq-list details[open] { box-shadow: var(--shadow-sm); border-color: transparent; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-family: var(--f-display); font-weight: 600; font-size: 18px; line-height: 1.3; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--green-l); transition: background .3s, transform .45s var(--ease-back); }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--green); transition: background .3s; }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i { background: var(--green); transform: rotate(45deg); }
.faq-list details[open] summary i::before, .faq-list details[open] summary i::after { background: #fff; }
.faq-list details p { padding: 0 22px 22px; color: var(--ink-2); font-size: 15.5px; }
.faq-list details[open] p { animation: fade-up .45s var(--ease) both; --d: 0s; }

/* =========================================================
   CONTATO / CTA
   ========================================================= */
.cta { position: relative; border-radius: var(--radius-lg); background: var(--ink); color: #fff; padding: clamp(36px, 6vw, 72px); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); isolation: isolate; }
.cta h2 { font-size: clamp(32px, 4.2vw, 52px); }
.cta h2 em { font-style: normal; color: var(--yellow); }
.cta-copy { display: grid; gap: 24px; align-content: start; }
.cta-copy > p { color: rgba(255,255,255,.7); font-size: 17px; }
.contact-list { display: grid; gap: 10px; }
.contact-list > a, .contact-list > div { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); transition: background .3s, transform .4s var(--ease); }
.contact-list > a:hover { background: rgba(255,255,255,.12); transform: translateX(4px); }
.contact-list .icon-tile { --tile-bg: rgba(255,255,255,.1); --tile-fg: var(--yellow); width: 44px; height: 44px; border-radius: 12px; }
.contact-list small { display: block; font-size: 12px; color: rgba(255,255,255,.55); }
.contact-list b { font-weight: 600; font-size: 15.5px; overflow-wrap: anywhere; }
.contact-list > a > div, .contact-list > div > div { min-width: 0; }

.form { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; align-content: start; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.form h3 { font-size: 23px; }
.form > p { color: var(--ink-2); font-size: 14.5px; margin-top: -6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; height: 58px; padding: 22px 16px 6px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--cream); outline: none;
  font-size: 15px; transition: border-color .3s, background .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field textarea { height: 110px; resize: vertical; padding-top: 26px; }
.field label { position: absolute; left: 17px; top: 18px; font-size: 15px; color: var(--muted); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(15,107,53,.1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--green); }
.field .chev { position: absolute; right: 16px; top: 20px; width: 18px; height: 18px; pointer-events: none; color: var(--muted); }
.form .btn { justify-self: stretch; justify-content: center; }
.form .note { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; justify-content: center; }
.form .note .ico { width: 16px; height: 16px; color: var(--green); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 80px 0 30px; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.f-about { display: grid; gap: 18px; align-content: start; max-width: 320px; }
.f-about img { height: 74px; width: auto; }
.f-about p { color: var(--ink-2); font-size: 14.5px; }
.f-about hr { width: 28px; border: 0; border-top: 2px solid var(--line); margin: 0; }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .4s var(--ease-back), background .3s; }
.socials a:hover { transform: translateY(-3px) rotate(-8deg); background: var(--green); }
.socials .ico { width: 18px; height: 18px; }
.f-col h5 { margin: 0 0 16px; font: 500 14px var(--f-body); color: var(--muted); }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.f-col a { font-size: 15px; font-weight: 500; position: relative; }
.f-col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--green); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .4s var(--ease); }
.f-col a:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.f-bottom { margin-top: 60px; padding-top: 26px; border-top: 1.5px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.to-top { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); background: none; border: 0; cursor: pointer; padding: 0; }
.to-top span { width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; transition: transform .4s var(--ease-back); }
.to-top:hover span { transform: translateY(-4px); }
.to-top .ico { width: 15px; height: 15px; stroke-width: 2.4; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .4s var(--ease-back); transform: scale(0); }
.wa-float.show { transform: scale(1); }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float .ico { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.2s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* =========================================================
   Flor animada (pétalas abrindo)
   ========================================================= */
/* origem de cada pétala = ponto onde todas convergem no logo (~622, 482) */
.flor-anim .pt { transform-box: fill-box; transform-origin: var(--ox) var(--oy); transform: rotate(var(--r0)) scale(.45); opacity: 0; transition: transform 1.5s var(--ease-back), opacity .6s ease; transition-delay: calc(var(--k) * .12s + .1s); }
.flor-anim.is-in .pt { transform: none; opacity: 1; }
.pt-re { --ox: 100%; --oy: 100%; --r0: 0deg; }
.pt-ye { --ox: 102%; --oy: 92.6%; --r0: 32deg; }
.pt-gr { --ox: 103%; --oy: 62.6%; --r0: 62deg; }
.pt-g1 { --ox: -1.4%; --oy: 100%; --r0: 0deg; }
.pt-g2 { --ox: -3.4%; --oy: 99%; --r0: -32deg; }
.pt-g3 { --ox: -4.1%; --oy: 62.6%; --r0: -62deg; }

/* =========================================================
   Reveal on scroll
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 1s); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1100px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar { min-height: 300px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .stat-photo { grid-column: auto; grid-row: span 2; }
  .steps { grid-template-columns: repeat(5, minmax(150px, 1fr)); }
  .testis { grid-template-columns: 1fr 1fr; }
  .testi.feature { grid-column: span 2; }
}
@media (max-width: 920px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: grid; margin-left: auto; }
  .nav-cta { margin-left: 0; }
  .nav-inner { flex-wrap: wrap; }
  .mobile-menu { display: grid !important; }
  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { height: 520px; border-radius: 28px; }
  .badge-38 { left: 16px; bottom: 20px; width: 110px; height: 110px; }
  .badge-38 b { font-size: 32px; }
  /* minmax(0, 1fr): a coluna nunca passa da largura do card (o e-mail longo empurrava o conteúdo para fora) */
  .brand-panel, .b2b, .story, .cta, .faq { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
  .story-media { position: relative; top: 0; }
  .seal { right: 12px; top: -30px; }
  .route { overflow-x: auto; padding-bottom: 10px; scrollbar-width: none; }
  /* no tablet/celular o cartão fica sobre a parte de baixo da gôndola, longe do botão acima */
  .shelf-float { left: 14px; top: auto; bottom: 118px; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-about { grid-column: span 2; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(36px, 11vw, 50px); }
  .hero-stage { height: 440px; }
  .hero-media { --out: -10px; }
  .fc-2 { top: -22px; }
  .fc-3 { bottom: -18px; }
  .pillars, .bento, .testis { grid-template-columns: 1fr; }
  .stat { min-height: 200px; }
  .stat-photo { grid-row: auto; min-height: 380px; }
  .stat-wide { grid-column: auto; }
  .testi.feature { grid-column: auto; }
  .tab { padding-right: 16px; font-size: 14px; }
  /* sem a rolagem lateral do tablet: ela cortava o ícone quando ele cresce ao acender */
  .route { overflow: visible; padding: 0 0 0 4px; }
  .steps { display: grid; grid-template-columns: 1fr; gap: 44px; }
  .route-truck { display: none; }
  /* barra de progresso vertical, do centro do 1º ícone ao do último (--y0/--y1 medidos no JS) */
  .route-line {
    left: var(--x0, 44px); width: 2px; margin-left: -1px; top: var(--y0, 40px); height: calc(var(--y1, 100%) - var(--y0, 40px));
    background: repeating-linear-gradient(180deg, rgba(255,255,255,.25) 0 8px, transparent 8px 16px);
  }
  .route-line i { transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .step { grid-template-columns: 80px 1fr; justify-items: start; text-align: left; gap: 4px 18px; align-items: center; }
  .step .node { grid-row: span 3; width: 80px; height: 80px; }
  .step p { max-width: none; }
  .row2 { grid-template-columns: 1fr; }
  .shelf-stats b { font-size: 21px; }
  .f-grid { grid-template-columns: 1fr; }
  .f-about { grid-column: auto; }
  .numbers-shell { border-radius: 28px; }
}

/* Menu mobile */
.mobile-menu { display: none !important; width: 100%; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.mobile-menu > div { overflow: hidden; }
.nav.is-open .mobile-menu { grid-template-rows: 1fr; }
.nav.is-open .nav-inner { border-radius: 28px; height: auto; padding-top: 10px; padding-bottom: 10px; }
.mobile-menu ul { list-style: none; margin: 0; padding: 10px 6px 14px; display: grid; gap: 2px; }
.mobile-menu a { display: flex; justify-content: space-between; align-items: center; padding: 14px 10px; font-family: var(--f-display); font-size: 24px; font-weight: 600; border-bottom: 1px dashed var(--line); }
.mobile-menu .btn { margin: 8px 6px 6px; justify-content: center; display: flex; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
