/* =========================================================
   RONCHI IMPLEMENTOS AGRÍCOLAS — identidade 2026
   Marinho + vermelho da marca, papel claro do folder,
   folhas de bananeira como assinatura visual.
   ========================================================= */

:root {
  --navy: #121c4d;
  --navy-900: #0b1236;
  --navy-700: #1f2b66;
  --navy-100: #e4e7f2;
  --red: #ee3030;
  --red-700: #c8232a;
  --paper: #f2f3f5;
  --paper-2: #e7e9ee;
  --white: #ffffff;
  --ink: #141936;
  --muted: #5b6178;
  --line: #dcdfe7;
  --red-btn: #d42a2a;
  --red-btn-700: #b51f1f;
  --red-text: #c8232a;
  --whats: #178540;
  --whats-700: #147137;
  /* fundo azul das fotos dos produtos */
  --photo-bg: radial-gradient(ellipse 70% 62% at 50% 56%, rgba(255,255,255,.30), transparent 72%), linear-gradient(160deg, #5677dc 0%, #2c3f9c 55%, #16215c 100%);
  --photo-bg-hover: radial-gradient(ellipse 78% 70% at 50% 54%, rgba(255,255,255,.42), transparent 72%), linear-gradient(160deg, #7193f2 0%, #3651b8 55%, #1d2a70 100%);

  --f-display: "Outfit", "Segoe UI", Arial, sans-serif;
  --f-body: "Figtree", "Segoe UI", Roboto, Arial, sans-serif;
  --f-label: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(18, 28, 77, .06), 0 10px 28px rgba(18, 28, 77, .08);
  --shadow-lg: 0 24px 60px rgba(11, 18, 54, .22);

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .07 0 0 0 0 .11 0 0 0 0 .3 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper) var(--noise);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--navy);
  line-height: 1.08;
  margin: 0 0 .5em;
  letter-spacing: -.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a.sr-only:focus {
  position: fixed; left: 16px; top: 16px; z-index: 2000;
  width: auto; height: auto; clip: auto; overflow: visible;
  background: var(--navy); color: var(--white);
  padding: 12px 18px; border-radius: 10px; font-weight: 700;
}

/* ---------- Rótulos e títulos de assinatura ---------- */
.label {
  font-family: var(--f-label);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red-text);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-label);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: 14px;
}
.kicker img { width: 18px; height: auto; }

/* aba marinho com barra vermelha — vem direto do folder */
.tab-title {
  display: inline-block;
  position: relative;
  background: var(--navy);
  color: var(--white);
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.05;
  padding: .45em 1.1em .45em .9em;
  border-radius: 0 var(--r) var(--r) 0;
  margin: 0;
}
.tab-title::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 18%;
  bottom: 18%;
  width: 6px;
  border-radius: 2px;
  background: var(--red);
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: 0; }

.mark-red {
  background: var(--red);
  color: var(--white);
  padding: 0 .18em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  transition: transform .15s ease, background-color .2s, box-shadow .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { flex-shrink: 0; }

.btn-red { background: var(--red-btn); color: var(--white); box-shadow: 0 10px 24px rgba(212, 42, 42, .3); }
.btn-red:hover { background: var(--red-btn-700); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }
.btn-whats { background: var(--whats); color: var(--white); box-shadow: 0 10px 24px rgba(23, 133, 64, .28); }
.btn-whats:hover { background: var(--whats-700); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: var(--white); color: var(--navy); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn-icon { width: 46px; min-height: 46px; padding: 0; }
.btn-block { width: 100%; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy-900); color: #c3c9e4; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; }
.topbar-list { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; }
.topbar a:hover { color: var(--white); }
.topbar svg { color: var(--red); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand img { height: 46px; width: auto; }

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.main-nav a {
  display: block;
  padding: 10px 14px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  border-radius: 10px;
  position: relative;
}
.main-nav a:hover { background: var(--paper); }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 3px;
  border-radius: 3px;
  background: var(--red);
}
.main-nav .nav-cta { margin-left: 10px; }
.main-nav .nav-cta a { background: var(--whats); color: var(--white); padding: 11px 18px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center; }
.main-nav .nav-cta a:hover { background: var(--whats-700); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 0; border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-overlay { display: none; }

/* ---------- Folhas de bananeira ---------- */
.leaf { position: absolute; pointer-events: none; user-select: none; z-index: 0; }
.leaf img { width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .leaf.sway img { animation: sway 9s ease-in-out infinite alternate; transform-origin: 0% 50%; }
  .leaf.sway.slow img { animation-duration: 12s; }
}
@keyframes sway { from { transform: rotate(-2.5deg); } to { transform: rotate(2.5deg); } }

/* ---------- Topo do Início ----------
   Fundo: vídeo das máquinas trabalhando (teste). A foto do bananal fica guardada por baixo
   e aparece se o vídeo não rodar. Na frente, as máquinas grandes passando, com a descrição ao lado. */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
  padding: 48px 0 34px;
}
.hero-bg, .hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  z-index: 0;
}
.hero-video { object-position: center; opacity: 0; transition: opacity .8s ease; }
.hero-video.on { opacity: 1; }
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(11,18,54,.82) 0%, rgba(11,18,54,.42) 30%, rgba(11,18,54,.28) 62%, rgba(11,18,54,.72) 100%),
    linear-gradient(90deg, rgba(11,18,54,.1), rgba(11,18,54,.4));
}
.hero .container { position: relative; z-index: 2; }
.hero-head { display: grid; grid-template-columns: 1fr auto; gap: 20px 48px; align-items: end; margin-bottom: 4px; }
.hero .kicker { color: #c9d0f0; }
.hero .kicker img { filter: brightness(0) invert(1); }
.hero h1 { color: var(--white); font-size: clamp(1.9rem, 3vw, 2.7rem); margin: 0; max-width: 820px; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-lead { font-size: 1.12rem; color: #dfe3f5; margin-bottom: 16px; line-height: 1.5; }
.hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }

.task-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.task-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
  font-weight: 600;
  color: var(--white);
  transition: background .2s, border-color .2s, transform .15s;
}
.task-chip svg { color: #ff6b6b; }
.task-chip:hover { background: var(--white); color: var(--navy); border-color: var(--white); transform: translateY(-2px); }
.task-chip:hover svg { color: var(--red); }

.hero-stage { position: relative; display: grid; touch-action: pan-y; }
/* todos os produtos ocupam o mesmo lugar (a altura não pula); só o ativo aparece */
.hero-slide {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s linear .7s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s ease; }
.hero-machine {
  height: clamp(340px, calc(100vh - 370px), 560px); padding: 0 56px; border: 0; background: none; cursor: zoom-in;
  display: flex; align-items: center; justify-content: center; min-width: 0;
}
.hero-machine img {
  max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain;
  filter: drop-shadow(0 34px 28px rgba(0,0,0,.6));
  transition: transform .4s ease;
}
.hero-machine:hover img { transform: scale(1.03); }
.hero-slide.is-active .hero-machine img { animation: entra .9s ease both; }
@keyframes entra { from { transform: translateX(-28px) scale(.97); } to { transform: none; } }
.hero-desc {
  background: rgba(11,18,54,.78); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-lg);
  padding: 30px 28px 26px; color: #dfe3f5;
}
.hero-desc .tab-title { font-size: 1.3rem; margin: 0 0 12px -28px; padding-left: 28px; }
.hero-desc .label { display: block; color: #ff9b9b; margin-bottom: 10px; }
.hero-desc-text { margin-bottom: 12px; }
.hero-desc .checks { margin: 0 0 20px; }
.hero-desc .checks li { color: var(--white); }
.hero-desc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* telas de notebook mais baixas: a descrição fica mais compacta para caber inteira */
@media (min-width: 961px) and (max-height: 800px) {
  .hero { padding: 30px 0 22px; }
  .hero-desc { padding: 20px 24px 18px; }
  .hero-desc .tab-title { font-size: 1.15rem; margin: 0 0 8px -24px; padding-left: 24px; }
  .hero-desc .label { margin-bottom: 6px; }
  .hero-desc-text { margin-bottom: 8px; line-height: 1.45; }
  .hero-desc .checks { margin-bottom: 14px; gap: 6px; }
  .hero-desc-actions { flex-wrap: nowrap; gap: 8px; }
  .hero-desc-actions .btn-sm { padding: 0 14px; font-size: .9rem; }
}
/* setas simples, sem bolinha em volta */
.hero-nav {
  position: absolute; top: 45%; z-index: 4; margin-top: -28px;
  width: 44px; height: 56px; border: 0; padding: 0; background: none;
  color: var(--white); display: none; place-items: center; cursor: pointer;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.6));
  transition: color .2s, transform .15s ease;
}
.js .hero-nav { display: grid; }
.hero-nav:hover { color: #ff6b6b; transform: scale(1.12); }
.hero-nav.prev { left: -6px; }
.hero-nav.next { left: calc((100% - 32px) * 1.3 / 2 - 38px); }
.hero-dots { grid-area: 2 / 1; display: flex; justify-content: center; gap: 2px; width: calc((100% - 32px) * 1.3 / 2); margin-top: 4px; }
.hero-dots button { min-width: 22px; height: 22px; padding: 0 3px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.5); transition: width .3s ease, background .3s ease; }
.hero-dots button:hover::before { background: var(--white); }
.hero-dots button[aria-current="true"]::before { width: 24px; background: var(--red); }

/* "O que você precisa fazer?" logo abaixo das vantagens */
.task-strip { background: var(--white); border-bottom: 1px solid var(--line); padding: 18px 0; }
.task-strip .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.task-strip p { margin: 0; font-family: var(--f-display); font-weight: 700; color: var(--navy); }
.task-strip .task-chip { background: var(--paper); border-color: var(--line); color: var(--navy); backdrop-filter: none; }
.task-strip .task-chip svg { color: var(--red); }
.task-strip .task-chip:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.task-strip .task-chip:hover svg { color: #ff8a8a; }

/* ---------- Parte do bananal: duas fotos de máquinas Ronchi trabalhando ---------- */
.bananal { background: var(--white); }
.bananal .container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.bananal-photos { position: relative; padding: 0 0 70px 0; }
.bananal-photos .ph-main { width: 88%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.bananal-photos .ph-small {
  position: absolute; right: 0; bottom: 0;
  width: 48%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r); border: 8px solid var(--white);
  box-shadow: var(--shadow-lg);
}
.bananal .lead { color: var(--muted); font-size: 1.15rem; margin-bottom: 26px; }
.bananal-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bananal-steps a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 14px;
  padding: 16px 20px;
  border-radius: var(--r);
  background: var(--paper);
  border: 1.5px solid transparent;
  transition: border-color .2s, transform .15s, background .2s;
}
.bananal-steps a:hover { border-color: var(--navy); background: var(--white); transform: translateX(4px); }
.bananal-steps strong { font-family: var(--f-display); font-size: 1.12rem; color: var(--navy); }
.bananal-steps span { grid-column: 1; color: var(--muted); font-size: .97rem; }
.bananal-steps svg { grid-column: 2; grid-row: 1 / span 2; color: var(--red); }

/* ---------- Topo das páginas internas com foto ---------- */
.page-hero.photo {
  position: relative;
  color: var(--white);
  padding: 88px 0 80px;
  background-color: var(--navy-900);
  background-size: cover;
  background-blend-mode: normal;
  background-repeat: no-repeat;
}
.page-hero.bg-bananal-topo { background-image: url("../images/bananal/bananal-topo-1000.webp"); }
.page-hero.bg-bananal-paisagem { background-image: url("../images/bananal/bananal-paisagem-1000.webp"); }
.page-hero.bg-fabrica-aerea { background-image: url("../images/sobre/fabrica-aerea-1000.webp"); background-position: center 72%; }
.page-hero.photo.bg-fabrica-aerea::before { background: linear-gradient(90deg, rgba(11,18,54,.93) 0%, rgba(11,18,54,.8) 45%, rgba(11,18,54,.3) 75%, rgba(11,18,54,.15) 100%); }
@media (min-width: 1000px) {
  .page-hero.bg-bananal-topo { background-image: url("../images/bananal/bananal-topo.webp"); }
  .page-hero.bg-bananal-paisagem { background-image: url("../images/bananal/bananal-paisagem.webp"); }
  .page-hero.bg-fabrica-aerea { background-image: url("../images/sobre/fabrica-aerea.webp"); background-size: 140% auto; background-position: 0% 74%; }
}
.page-hero.photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(11,18,54,.93) 0%, rgba(11,18,54,.78) 50%, rgba(11,18,54,.45) 100%);
}
.page-hero.photo h1 { color: var(--white); }
.page-hero.photo p { color: #dfe3f5; }
.page-hero.photo .kicker { color: #c9d0f0; }
.page-hero.photo .kicker img { filter: brightness(0) invert(1); }
.page-hero.photo .crumbs { color: #b9c0e3; }
.page-hero.photo .crumbs a { color: var(--white); }

.story-photo { position: relative; margin: 0; padding-bottom: 40px; }
.story-photo > img:first-child { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.story-photo figcaption { margin-top: 14px; font-family: var(--f-label); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; font-size: .92rem; text-align: center; }
.story-photo .story-product { position: absolute; right: -10px; bottom: 0; height: 62%; width: auto; filter: drop-shadow(0 24px 20px rgba(11,18,54,.45)); }

/* ---------- Faixa de pilares (rodapé do folder) ---------- */
.pillars { background: var(--navy); color: var(--white); padding: 22px 0; overflow: hidden; }
.pillars-row { display: flex; align-items: center; justify-content: space-around; gap: 18px; flex-wrap: wrap; }
.pillars-row span { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.15rem, 2.2vw, 1.6rem); letter-spacing: .04em; }
.pillars-row img { width: 26px; filter: brightness(0) invert(1); opacity: .9; }
.pillars-row img.r-red { filter: none; }

/* ---------- Comparador de pulverizadores ---------- */
.spray { background: var(--white); overflow: hidden; }
.spray-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-bottom: 28px; }
.spray-card {
  position: relative;
  background: var(--paper) var(--noise);
  border-radius: var(--r-lg);
  padding: 30px 30px 26px;
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 8px 20px;
  overflow: hidden;
}
.spray-card .tab-title { font-size: 1.35rem; margin-left: -30px; padding-left: 30px; justify-self: start; }
.spray-card .label { margin: 14px 0 12px; display: block; }
.spray-card img { grid-column: 2; grid-row: 1 / span 3; align-self: end; max-height: 260px; width: auto; margin: 0 auto; filter: drop-shadow(0 18px 16px rgba(11,18,54,.25)); cursor: zoom-in; }
.spray-card .actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .98rem; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--navy); color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; }
.compare thead th:first-child { background: var(--navy-900); }
.compare tbody th { font-family: var(--f-label); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--navy-700); width: 26%; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--navy); font-weight: 600; }
.compare .yes::before { content: "✓"; color: var(--red); font-weight: 800; margin-right: 8px; }
.compare .ask { color: var(--muted); font-style: italic; }
.table-note { color: var(--muted); font-size: .92rem; margin-top: 12px; }

/* ---------- Checklist com caixa vermelha (folder) ---------- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.checks li { position: relative; padding-left: 32px; color: var(--ink); font-weight: 500; line-height: 1.35; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px;
  border: 2px solid var(--red);
  border-radius: 5px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 6.5' fill='none' stroke='%23ee3030' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ---------- Grade de produtos ---------- */
.catalog-tools { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.filter-chip:hover { border-color: var(--navy); }
.filter-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.filter-chip .count { opacity: .6; font-weight: 500; margin-left: 4px; }

.search { position: relative; flex: 0 1 320px; }
.search input {
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  padding: 0 18px 0 46px;
  font: inherit;
  color: var(--ink);
}
.search input:focus { outline: none; border-color: var(--navy); }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.products.cols-4 { grid-template-columns: repeat(4, 1fr); }
/* reserva espaço enquanto o catálogo é montado, para a página não "pular" */
#grid-catalogo:empty { min-height: 100vh; }
.filter-chips:empty { min-height: 52px; flex: 1 1 auto; }

.product {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.product-media {
  position: relative;
  aspect-ratio: 5 / 4;
  background: var(--photo-bg);
  border: 0;
  padding: 18px;
  cursor: zoom-in;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 100%;
}
.product-media > img {
  position: absolute;
  filter: drop-shadow(0 16px 14px rgba(5,10,40,.45));
  left: 20px; right: 20px; top: 50px; bottom: 18px;
  width: calc(100% - 40px); height: calc(100% - 68px);
  object-fit: contain;
  transition: transform .35s ease;
}
/* fotos comuns (não recortadas) preenchem o quadro do card */
.product-media.is-photo { padding: 0; }
.product-media.is-photo > img { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.product-media.is-photo .zoom { z-index: 2; }
.product-media.is-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,18,54,.28), transparent 32%); pointer-events: none; }
.product-media::before {
  content: ""; position: absolute; inset: 0;
  background: var(--photo-bg-hover);
  opacity: 0; transition: opacity .35s ease;
}
.product:hover .product-media::before, .product-media:focus-visible::before { opacity: 1; }
.product-media .badge { z-index: 1; }
.product-media .photo-soon { position: relative; color: #dfe5ff; }
.product-media .photo-soon img { filter: brightness(0) invert(1); opacity: .35; }
.product:hover .product-media img { transform: scale(1.05); }
.product-media .zoom {
  position: absolute; right: 14px; bottom: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: grid; place-items: center;
  opacity: 0; transform: translateY(6px); transition: all .2s;
}
.product:hover .zoom, .product-media:focus-visible .zoom { opacity: 1; transform: none; }

.badge {
  position: absolute; left: 14px; top: 14px;
  font-family: var(--f-label); font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--white); color: var(--navy);
  padding: 4px 11px; border-radius: 8px;
  box-shadow: 0 2px 8px rgba(18,28,77,.1);
}

.photo-soon { display: grid; place-items: center; gap: 10px; text-align: center; color: var(--muted); }
.photo-soon img { width: 64px; filter: none; opacity: .18; }
.photo-soon span { font-family: var(--f-label); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; }

.product-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { margin-bottom: 4px; }
.product-body .label { display: block; margin-bottom: 14px; font-size: .9rem; }
.product-body .checks { margin-bottom: 20px; font-size: .97rem; }
.product-body .actions { margin-top: auto; display: flex; gap: 10px; }
.product-body .actions .btn-navy { flex: 1; }

.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  border: 2px dashed var(--line);
  border-radius: var(--r-lg);
  color: var(--muted);
}
.empty h3 { margin-bottom: 8px; }

/* ---------- Seção "direto com quem fabrica" ---------- */
.maker { background: var(--navy); color: #d5daf0; overflow: hidden; }
.maker .container { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.maker h2 { color: var(--white); }
.maker .kicker { color: #aab3df; }
.maker-badge {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 34px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}
/* adesivo do mascote em destaque, com a frase embaixo */
.maker-badge img { width: min(280px, 100%); height: auto; border-radius: 16px; }
.maker-badge .mascote { width: min(300px, 100%); border-radius: 0; transform-origin: 50% 90%; }
@media (prefers-reduced-motion: no-preference) {
  .maker-badge .mascote { animation: mascote 5s ease-in-out infinite; }
}
@keyframes mascote {
  0%, 100% { transform: translateY(0) rotate(0) scale(1); }
  14% { transform: translateY(-8px) rotate(-3deg) scale(1.03); }
  28% { transform: translateY(0) rotate(0) scale(1); }
  40% { transform: translateY(-4px) rotate(2.5deg) scale(1.015); }
  52% { transform: translateY(0) rotate(0) scale(1); }
}
.maker-badge blockquote { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; color: var(--navy); line-height: 1.3; }
.maker-badge cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--f-label); text-transform: uppercase; letter-spacing: .08em; color: var(--red-text); font-weight: 600; }
.maker-points { display: grid; gap: 22px; margin: 28px 0 34px; padding: 0; list-style: none; }
.maker-points li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.maker-points .ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--red); }
.maker-points strong { display: block; color: var(--white); font-family: var(--f-display); font-size: 1.12rem; margin-bottom: 2px; }

/* ---------- Contato rápido / mapa ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.visit-info { padding: 44px; }
.visit-map { min-height: 380px; background: var(--paper-2); position: relative; }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* cartão com o endereço: aparece por baixo do mapa do Google e fica no lugar dele
   quando o mapa não pode carregar (prévias, sem internet, sem JavaScript) */
.map-card {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 32px 24px; text-align: center; color: var(--white);
  justify-content: flex-start; padding-top: 34px;
  /* foto de drone da fábrica vista de cima; o texto fica no alto, sobre o mato, e a fábrica aparece inteira */
  background:
    linear-gradient(0deg, rgba(11,18,54,0) 62%, rgba(11,18,54,.55) 82%, rgba(11,18,54,.82) 100%),
    url("../images/contato/fabrica-de-cima.webp") 46% 88% / cover no-repeat,
    var(--navy);
}
@media (max-width: 700px) {
  .map-card { background:
    linear-gradient(0deg, rgba(11,18,54,0) 50%, rgba(11,18,54,.6) 78%, rgba(11,18,54,.85) 100%),
    url("../images/contato/fabrica-de-cima-800.webp") 46% 88% / cover no-repeat,
    var(--navy); }
}
.map-card strong { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.2; }
.map-card .map-address { color: #c3c9e4; }
.map-card .btn { margin-top: 10px; }
.map-card:hover .btn { background: var(--red-btn-700); transform: translateY(-2px); }
.map-pin {
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 2px;
  display: grid; place-items: center; background: var(--red); color: var(--white);
  box-shadow: 0 0 0 8px rgba(238,48,48,.25);
}
.map-pin svg { width: 26px; height: 26px; }
.map-card strong, .map-card .map-address { text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.map-card .map-address { color: #e1e5f5; }
.visit-map iframe { z-index: 1; }

.contact-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--white); display: grid; place-items: center; }
.contact-list strong { display: block; font-family: var(--f-label); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; font-size: .88rem; color: var(--muted); }
.contact-list a, .contact-list span { display: inline-block; padding: 4px 0; color: var(--navy); font-weight: 600; font-size: 1.05rem; }
.contact-list a:hover { color: var(--red); }

/* ---------- Cabeçalho de páginas internas ---------- */
.page-hero { padding: 64px 0 56px; overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 14px; }
.page-hero p { color: var(--muted); font-size: 1.18rem; max-width: 620px; margin: 0; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--navy); font-weight: 600; }
.crumbs a:hover { color: var(--red); }

/* ---------- Sobre ---------- */
.mvv { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mvv-card { background: var(--white); border-radius: var(--r-lg); padding: 36px; border: 1px solid var(--line); }
.mvv-card .tab-title { font-size: 1.15rem; margin: 0 0 20px -36px; padding-left: 36px; }
.mvv-card p { font-size: 1.1rem; margin: 0; }
.values { grid-column: 1 / -1; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.values-grid h3 { font-size: 1.12rem; margin-bottom: 6px; }
.values-grid h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 3px; background: var(--red); margin-bottom: 12px; }
.values-grid p { font-size: .98rem; color: var(--muted); }
.values-foot { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--navy); font-weight: 600; }

.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.story p { font-size: 1.12rem; }
.story-figure { position: relative; background: var(--white); border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; overflow: hidden; }
.story-figure img { max-height: 220px; width: auto; margin: 0 auto; filter: drop-shadow(0 12px 12px rgba(11,18,54,.2)); }
.story-figure figcaption { grid-column: 1 / -1; font-family: var(--f-label); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; font-size: .9rem; text-align: center; margin-top: 8px; }

/* ---------- Formulário ---------- */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 32px; align-items: start; }
.panel { background: var(--white); border-radius: var(--r-lg); border: 1px solid var(--line); padding: 38px; }
.panel.navy { background: var(--navy); border-color: var(--navy); color: #d5daf0; }
.panel.navy h2, .panel.navy h3 { color: var(--white); }
.panel.navy .contact-list .ic { background: rgba(255,255,255,.1); color: var(--red); }
.panel.navy .contact-list strong { color: #9ea7d4; }
.panel.navy .contact-list a, .panel.navy .contact-list span { color: var(--white); }
.panel.navy .contact-list a:hover { color: #ffb3b3; }
.panel.navy .btn-ghost-light { margin-top: 4px; }
.legal { font-size: .88rem; color: #9ea7d4; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; margin-top: 26px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .95rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 50px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  padding: 12px 15px;
  font: inherit;
  color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); }
.field .error { display: none; color: var(--red-700); font-size: .88rem; margin-top: 6px; font-weight: 600; }
.field.invalid input, .field.invalid textarea { border-color: var(--red); }
.field.invalid .error { display: block; }
.form-actions { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
/* campo "Qual assunto?" (aparece quando escolhe "Outro assunto") e anexo de arquivo */
.campo-isca { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.label-like { display: block; font-weight: 700; font-size: .95rem; color: var(--navy); margin-bottom: 7px; }
.field .arquivo-caixa {
  display: flex; align-items: center; gap: 14px; cursor: pointer; margin: 0;
  padding: 14px 16px; border-radius: 12px;
  border: 1.5px dashed #b9bfd0; background: var(--paper); color: var(--navy);
  transition: border-color .2s, background .2s;
}
.arquivo-caixa:hover, .campo-arquivo input:focus-visible + .arquivo-caixa { border-color: var(--navy); background: var(--white); }
.campo-arquivo input:focus-visible + .arquivo-caixa { outline: 3px solid var(--red); outline-offset: 3px; }
.arquivo-caixa svg { flex: none; }
.arquivo-caixa strong { display: block; font-size: .98rem; }
.arquivo-caixa small { display: block; color: var(--muted); font-size: .86rem; font-weight: 500; margin-top: 1px; }
.arquivo-lista { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.arquivo-lista li { display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 14px; border-radius: 10px; background: var(--navy-100); color: var(--navy); font-size: .93rem; }
.arquivo-lista .nome { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.arquivo-lista .tam { color: var(--muted); white-space: nowrap; }
.arquivo-lista button { flex: none; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.arquivo-lista button:hover { background: rgba(18,28,77,.1); }
.campo-arquivo.invalid .arquivo-caixa { border-color: var(--red); }
.campo-arquivo input[type="file"] { width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; }
.form-note { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Faixa CTA ---------- */
.cta { background: var(--red-btn); color: var(--white); padding: 72px 0; overflow: hidden; }
.cta .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: var(--white); margin: 0 0 8px; }
.cta p { margin: 0; color: var(--white); font-size: 1.15rem; }
.cta .btn-navy { box-shadow: 0 12px 28px rgba(11,18,54,.35); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-900); color: #a9b0d3; padding: 72px 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
/* e-mail longo quebra a linha em vez de alargar a página no celular */
.footer-grid > *, .contact-grid > *, .footer-contact li > *, .contact-list li > * { min-width: 0; }
.footer-contact a[href^="mailto:"], .contact-list a[href^="mailto:"] { overflow-wrap: anywhere; }
.footer-grid h2 { color: var(--white); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; margin-bottom: 14px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-links a, .footer-contact a { display: inline-block; padding: 4px 0; }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.footer-contact svg { color: var(--red); margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: var(--white); transition: background .2s; }
.socials a:hover { background: var(--red); }
/* embaixo sobra lugar para o botão flutuante do WhatsApp não cobrir o texto nem o link da Política de Privacidade */
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0 108px; display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; font-size: .86rem; color: #7d86b3; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--whats); color: var(--white);
  border-radius: 999px;
  padding: 0 24px 0 18px; min-height: 64px;
  font-family: var(--f-display); font-weight: 700; font-size: 1.08rem;
  box-shadow: 0 16px 36px rgba(23,133,64,.5);
  transition: transform .2s, background .2s;
}
.whats-float:hover { transform: translateY(-3px); background: var(--whats-700); }
@media (prefers-reduced-motion: no-preference) {
  .whats-float::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit;
    animation: ping 2s ease-out infinite; box-shadow: 0 0 0 0 rgba(29,168,81,.6);
  }
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(29,168,81,.6); } 80%, 100% { box-shadow: 0 0 0 22px rgba(29,168,81,0); } }
.whats-float svg { width: 28px; height: 28px; }

/* ---------- Modal do produto ---------- */
.modal {
  position: fixed; inset: 0; z-index: 1200;
  display: grid; place-items: center;
  padding: 24px;
  background: rgba(11, 18, 54, .72);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .25s ease, visibility 0s .25s;
}
.modal.open { opacity: 1; pointer-events: auto; visibility: visible; transition: opacity .25s ease; }
.modal-card {
  position: relative;
  width: 100%; max-width: 1040px; max-height: calc(100vh - 48px);
  overflow: hidden;
  background: var(--white);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
  box-shadow: 0 40px 90px rgba(0,0,0,.4);
  transform: translateY(18px) scale(.985);
  transition: transform .3s ease;
}
/* o conteúdo rola por dentro; o botão de fechar fica sempre à vista */
.modal-scroll { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; display: grid; grid-template-columns: 1.1fr 1fr; }
/* cada faixa da grade cresce até caber tudo: a foto nunca fica por cima das miniaturas */
.modal-scroll { grid-auto-rows: max-content; }
.modal.open .modal-card { transform: none; }
.modal-gallery { background: var(--photo-bg); padding: 28px; display: grid; grid-template-rows: 1fr auto; gap: 16px; min-height: 460px; }
.modal-main { display: grid; place-items: center; min-height: 340px; }
.modal-stage { position: relative; display: grid; }
.gal-nav {
  position: absolute; top: 50%; margin-top: -23px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.94); color: var(--navy);
  display: none; place-items: center; cursor: pointer;
  box-shadow: 0 6px 18px rgba(5,10,40,.3);
  transition: transform .15s ease, background .2s, color .2s;
}
.modal-gallery.multi .gal-nav { display: grid; }
.gal-nav:hover { background: var(--red); color: var(--white); transform: scale(1.06); }
.gal-nav.prev { left: -8px; }
.gal-nav.next { right: -8px; }
.modal-main img { max-height: 420px; width: auto; max-width: 100%; filter: drop-shadow(0 22px 18px rgba(5,10,40,.45)); }
.modal-gallery.is-photo .modal-main img { filter: none; border-radius: 14px; box-shadow: 0 18px 40px rgba(5,10,40,.35); }
.modal-thumbs button.is-photo img { object-fit: cover; border-radius: 6px; }
.modal-main .photo-soon { color: #dfe5ff; }
.modal-main .photo-soon img { filter: brightness(0) invert(1); opacity: .35; }
/* Foto na janela do produto: clique (ou toque) para abrir em tela cheia */
.zoom-box {
  position: relative; width: 100%; height: 100%; min-height: 340px;
  display: grid; place-items: center;
  border: 0; padding: 0; background: none; border-radius: var(--r);
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.zoom-box img { transition: transform .3s ease; }
.zoom-box:hover img { transform: scale(1.03); }
.zoom-box:focus-visible { outline: 3px solid var(--white); outline-offset: -3px; }
.zoom-hint {
  position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(11,18,54,.72); color: var(--white);
  font-size: .85rem; font-weight: 600; white-space: nowrap; pointer-events: none;
}
.zoom-hint svg { width: 16px; height: 16px; flex: none; }
.zoom-hint .t-touch, .viewer-hint .t-touch { display: none; }
@media (hover: none) {
  .zoom-hint .t-mouse, .viewer-hint .t-mouse { display: none; }
  .zoom-hint .t-touch, .viewer-hint .t-touch { display: inline; }
}

/* ---------- Foto em tela cheia, com zoom ---------- */
.viewer {
  position: fixed; inset: 0; z-index: 1250;
  background: var(--photo-bg), var(--navy-900);
  opacity: 0; visibility: hidden; pointer-events: none; touch-action: none;
  transition: opacity .2s ease, visibility 0s .2s;
}
.viewer.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .2s ease; }
.viewer.loading .viewer-img { visibility: hidden; }
.viewer.loading .viewer-stage::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; border: 4px solid rgba(255,255,255,.3); border-top-color: var(--white);
  animation: viewer-spin .8s linear infinite;
}
@keyframes viewer-spin { to { transform: rotate(360deg); } }
.viewer-stage {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  overflow: hidden; touch-action: none; cursor: zoom-in;
  user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}
.viewer.zoomed .viewer-stage { cursor: grab; }
.viewer.zoomed .viewer-stage.dragging { cursor: grabbing; }
.viewer-img {
  max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  width: auto; height: auto;
  transform-origin: 50% 50%; will-change: transform;
  filter: drop-shadow(0 26px 22px rgba(5,10,40,.45));
  -webkit-user-drag: none; pointer-events: none;
}
.viewer-img.anim { transition: transform .25s ease; }
.viewer-tools { position: absolute; top: 16px; right: 16px; display: flex; gap: 10px; z-index: 1; }
.viewer-tools button, .viewer-nav {
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--white); color: var(--navy);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 18px rgba(5,10,40,.3);
  transition: transform .15s ease, opacity .15s ease;
}
.viewer-tools button:hover, .viewer-nav:hover { transform: scale(1.06); }
.viewer-tools { cursor: default; }
.viewer-tools button[aria-disabled="true"] { opacity: 0; cursor: default; transform: none; }
.viewer-tools button[aria-disabled="true"]:focus-visible { opacity: .5; }
.viewer-tools button:focus-visible, .viewer-nav:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.viewer-nav { position: absolute; top: 50%; margin-top: -24px; z-index: 1; display: none; }
.viewer.multi .viewer-nav { display: grid; }
.viewer-nav.prev { left: 16px; }
.viewer-nav.next { right: 16px; }
.viewer-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 32px); margin: 0;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(11,18,54,.72); color: var(--white);
  font-size: .9rem; font-weight: 600; text-align: center; pointer-events: none;
  transition: opacity .25s ease;
}
.viewer.zoomed .viewer-hint, .viewer.hint-off .viewer-hint { opacity: 0; }
/* com a página ampliada por pinça, botões, setas e aviso mantêm o tamanho normal na tela */
.viewer-tools, .viewer-nav, .viewer-hint, .viewer.loading .viewer-stage::after { zoom: var(--vk, 1); }
.modal-thumbs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.modal-thumbs button { width: 64px; height: 64px; border-radius: 12px; border: 2px solid var(--line); background: var(--white); padding: 5px; cursor: pointer; }
.modal-thumbs button img { width: 100%; height: 100%; object-fit: contain; }
.modal-thumbs button[aria-current="true"] { border-color: var(--red); }
.modal-body { padding: 40px 36px 34px; display: flex; flex-direction: column; }
.modal-body .tab-title { font-size: 1.45rem; margin-left: -36px; padding-left: 36px; align-self: flex-start; margin-right: 40px; }
.modal-body .label { margin: 18px 0 14px; display: block; }
.modal-body .desc { color: var(--muted); font-size: 1.05rem; }
.modal-body .checks { margin-bottom: 26px; }
.modal-actions { margin-top: auto; display: grid; gap: 10px; }
/* botões da janela do produto quebram linha em vez de alargar a janela em celulares pequenos */
.modal-actions .btn { white-space: normal; text-align: center; line-height: 1.2; padding-top: 8px; padding-bottom: 8px; }
@media (max-width: 400px) {
  .modal-actions .btn { padding-left: 16px; padding-right: 16px; gap: 8px; font-size: .92rem; }
}
/* ---------- Ficha técnica ---------- */
.spec-jump, .spec-link {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--red-text);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px;
}
.spec-jump:hover, .spec-link:hover { color: var(--navy); }
.spec-jump { margin: -8px 0 22px; }
.spec-link { margin: -6px 0 16px; font-size: .95rem; }
.modal-spec { grid-column: 1 / -1; padding: 30px 36px 36px; background: var(--paper); border-top: 1px solid var(--line); }
.spec-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 18px; }
.spec-head h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.3rem; color: var(--navy); outline: none; }
.spec-head h3 svg { color: var(--red); width: 22px; height: 22px; }
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: .98rem; line-height: 1.45; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 32%; background: #f7f8fb; font-family: var(--f-label); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem; color: var(--muted); }
.spec-table td { color: var(--ink); }
@media (max-width: 640px) {
  .modal-spec { padding: 24px 18px 28px; }
  .spec-head .btn { width: 100%; }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: auto; }
  .spec-table tr { border-bottom: 1px solid var(--line); }
  .spec-table tr:last-child { border-bottom: 0; }
  .spec-table th, .spec-table td { border-bottom: 0; padding: 0 16px; }
  .spec-table th { background: none; padding-top: 12px; font-size: .85rem; }
  .spec-table td { padding-bottom: 12px; padding-top: 2px; }
}

.share-panel { margin-top: 14px; padding: 16px; border-radius: var(--r); background: var(--paper); display: grid; gap: 12px; }
.share-title { margin: 0; font-weight: 600; color: var(--navy); font-size: .97rem; }
.share-copy { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.share-url { min-width: 0; min-height: 42px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--white); padding: 0 12px; font: inherit; font-size: .9rem; color: var(--muted); }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--paper); color: var(--navy);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 0 0 4px var(--white), 0 4px 14px rgba(11,18,54,.18); /* separa do conteúdo que rola por baixo */
}
.modal-close:hover { background: var(--red); color: var(--white); }

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 1300;
  transform: translate(-50%, 16px);
  background: var(--navy); color: var(--white);
  padding: 13px 22px; border-radius: 999px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: all .3s;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Entrada suave ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .main-nav a { padding: 10px 10px; font-size: .96rem; }
  .products.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  section { padding: 72px 0; }
  .maker .container, .story, .contact-grid { grid-template-columns: 1fr; }
  .hero-head { grid-template-columns: 1fr; margin-bottom: 18px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-slide { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .hero-machine { height: 380px; padding: 0 48px; }
  .hero-nav { top: 190px; }
  .hero-nav.next { left: auto; right: -6px; }
  .hero-dots { grid-area: auto; width: auto; position: absolute; left: 0; right: 0; top: 384px; margin: 0; }
  .hero-desc { margin-top: 26px; }
  .bananal .container { grid-template-columns: 1fr; gap: 40px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .spray-grid { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr; }
  .visit-map { min-height: 400px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  /* no celular as partes ficam uma embaixo da outra (bloco comum, sem grade que aperta a foto) */
  .modal-scroll { display: block; }
  .modal-gallery { min-height: 0; }
  .modal-main { min-height: 240px; }
  .modal-main img { max-height: 280px; }
  .zoom-box { min-height: 260px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; top: 0; right: 0; z-index: 300;
    height: 100vh; height: 100dvh; width: min(84vw, 340px);
    background: var(--white);
    padding: 96px 22px 28px;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -20px 0 50px rgba(11,18,54,.2);
    overflow-y: auto;
  }
  .main-nav.open { transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { padding: 14px 16px; font-size: 1.1rem; }
  .main-nav a[aria-current="page"] { background: var(--paper); }
  .main-nav a[aria-current="page"]::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 4px; height: auto; }
  .main-nav .nav-cta { margin: 12px 0 0; }
  .main-nav .nav-cta a { display: flex; justify-content: center; padding: 15px; }
  .nav-overlay { position: fixed; inset: 0; z-index: 99; background: rgba(11,18,54,.5); }
  .nav-toggle { position: relative; z-index: 301; }
  .nav-overlay.open { display: block; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { padding: 0 18px; }
  section { padding: 56px 0; }
  .topbar .hide-sm { display: none; }
  .brand img { height: 38px; }
  .hero { padding-top: 28px; }
  .hero h1 { font-size: 1.85rem; }
  .hero .kicker { font-size: .86rem; letter-spacing: .06em; }
  .hero-lead { font-size: 1.05rem; }
  .hero-machine { height: 290px; padding: 0 36px; }
  .hero-nav { top: 145px; width: 36px; }
  .hero-dots { top: 294px; }
  .hero-desc { padding: 24px 20px 20px; }
  .hero-desc .tab-title { font-size: 1.1rem; margin-left: -20px; padding-left: 20px; }
  .hero-desc .checks { display: none; }
  .task-strip .task-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 0 18px 4px; scrollbar-width: none; }
  .task-strip .task-chip { white-space: nowrap; }
  .bananal-photos { padding-bottom: 50px; }
  .page-hero.photo { padding: 60px 0 54px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .products, .products.cols-4 { grid-template-columns: 1fr; }
  .spray-card { grid-template-columns: 1fr; padding: 26px 22px 22px; }
  .spray-card .tab-title { margin-left: -22px; padding-left: 22px; }
  .spray-card img { grid-column: 1; grid-row: auto; max-height: 220px; }
  .mvv { grid-template-columns: 1fr; }
  .mvv-card { padding: 28px 24px; }
  .mvv-card .tab-title { margin-left: -24px; padding-left: 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .maker-badge { padding: 26px; }
  .maker-badge img { width: min(240px, 100%); }
  .visit-info, .panel { padding: 28px 22px; }
  .form-row, .form-actions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .whats-float { padding: 0; width: 64px; justify-content: center; }
  .whats-float span { display: none; }
  .modal { padding: 0; align-items: end; }
  .modal-card { max-height: 94vh; border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .modal-body { padding: 28px 22px 24px; }
  .modal-body .tab-title { margin-left: -22px; padding-left: 22px; font-size: 1.2rem; }
  .catalog-tools { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .search { flex: 1 1 auto; }
  .filter-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin: 0 -18px; padding-left: 18px; padding-right: 18px; scrollbar-width: none; }
  .filter-chip { white-space: nowrap; }
}

/* ---------- Faixa de vantagens (logo abaixo do topo) ---------- */
.perks { background: var(--navy); color: var(--white); padding: 26px 0; position: relative; z-index: 2; }
.perks-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 28px; }
.perk { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; }
.perk .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--red); color: var(--white); display: grid; place-items: center; }
.perk strong { display: block; font-family: var(--f-display); font-size: 1.12rem; line-height: 1.2; }
.perk div > span { display: block; color: #b9c0e3; font-size: .93rem; line-height: 1.35; margin-top: 3px; }

/* ---------- Máquinas trabalhando (fotos e vídeo em pé, lado a lado) ---------- */
.campo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.campo-item { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 9 / 16; background: var(--navy-900); box-shadow: var(--shadow-lg); }
.campo-item img, .campo-item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.campo-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 48px 18px 16px; color: var(--white);
  font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; line-height: 1.25;
  background: linear-gradient(0deg, rgba(11,18,54,.88), rgba(11,18,54,0));
  pointer-events: none;
}
/* no vídeo a legenda fica em cima, para não cobrir os controles */
.campo-video figcaption { top: 0; bottom: auto; padding: 16px 18px 48px; background: linear-gradient(180deg, rgba(11,18,54,.85), rgba(11,18,54,0)); }
.campo-tag {
  display: flex; width: fit-content; align-items: center; gap: 6px; margin-bottom: 8px;
  background: var(--red); color: var(--white); border-radius: 999px; padding: 3px 12px 3px 9px;
  font-family: var(--f-label); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem;
}
.campo-tag svg { width: 14px; height: 14px; }
.campo-more { margin: 26px 0 0; text-align: center; color: var(--muted); }
.campo-more a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.campo-more a:hover { color: var(--red); }
#trabalhando { scroll-margin-top: 20px; }

/* ---------- Agende o seu teste ---------- */
.teste-band {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #d5daf0; border-radius: var(--r-lg); padding: 40px 48px;
  box-shadow: var(--shadow-lg);
}
.teste-img { width: 100%; height: auto; max-height: 380px; object-fit: contain; margin: -100px 0 -40px; filter: drop-shadow(0 24px 22px rgba(0,0,0,.5)); }
.teste-band .kicker { color: #ffb3b3; }
.teste-band h2 { color: var(--white); margin-bottom: 12px; }
.teste-band p { font-size: 1.15rem; max-width: 600px; }
.teste-band strong { color: var(--white); }
.teste-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.teste-actions .btn { white-space: normal; text-align: center; max-width: 100%; line-height: 1.3; padding-top: 10px; padding-bottom: 10px; }

/* ---------- Soluções personalizadas ---------- */
.custom-band {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-left: 8px solid var(--red);
  border-radius: var(--r-lg); padding: 38px 44px; box-shadow: var(--shadow);
}
.custom-mark { width: 72px; height: 72px; border-radius: 20px; background: var(--navy); display: grid; place-items: center; }
.custom-mark img { width: 34px; filter: brightness(0) invert(1); }
.custom-band .kicker { margin-bottom: 8px; color: var(--red-text); }
.custom-band h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.custom-band p { color: var(--muted); margin: 0; max-width: 640px; }

/* ---------- Produtos: pulverizadores no topo da página ---------- */
/* Produtos: as máquinas são grandes, então aparecem grandes; o texto fica mais enxuto do lado */
.page-hero.with-machines { padding: 40px 0 28px; }
.page-hero.with-machines .container { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: center; }
.page-hero.with-machines h1 { font-size: clamp(2rem, 3.6vw, 3rem); }
.page-hero.with-machines p { font-size: 1.08rem; }
.page-hero-machines { position: relative; height: clamp(380px, 52vh, 500px); }
.page-hero-machines img { position: absolute; bottom: 0; width: auto; max-width: 62%; object-fit: contain; filter: drop-shadow(0 30px 26px rgba(0,0,0,.55)); transition: transform .3s ease; }
.page-hero-machines img:hover { transform: scale(1.03); }
.page-hero-machines .m1 { left: 0; height: 100%; z-index: 1; }
.page-hero-machines .m2 { right: 0; height: 88%; }

@media (max-width: 1080px) {
  .perks-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .campo-grid { grid-template-columns: repeat(2, 1fr); }
  .campo-item { aspect-ratio: 3 / 4; }
  .teste-band { grid-template-columns: 200px 1fr; padding: 34px 30px; gap: 26px; }
  .teste-img { margin: -60px 0 -20px; max-height: 300px; }
  .custom-band { grid-template-columns: 1fr; padding: 30px 26px; gap: 18px; }
  .page-hero.with-machines .container { grid-template-columns: 1fr; }
  .page-hero-machines { height: 360px; }
  .page-hero-machines .m1 { left: 8%; }
  .page-hero-machines .m2 { right: 6%; }
}
@media (max-width: 640px) {
  .perks { padding: 22px 0; }
  .perks-row { grid-template-columns: 1fr; gap: 14px; }
  .perk { grid-template-columns: 46px 1fr; }
  .perk .ic { width: 46px; height: 46px; }
  .campo-grid { gap: 12px; }
  .campo-item { aspect-ratio: 9 / 16; border-radius: var(--r); }
  .campo-item figcaption { font-size: .92rem; padding: 36px 12px 12px; }
  .campo-video figcaption { padding: 12px 12px 36px; }
  .teste-band { grid-template-columns: 1fr; padding: 28px 22px; }
  .teste-img { margin: -10px auto 0; max-height: 230px; width: auto; }
  .teste-actions .btn { flex: 1 1 100%; }
  .page-hero.with-machines .container { grid-template-columns: 1fr; }
  .page-hero-machines { height: 270px; margin-top: 6px; }
  .page-hero-machines .m1 { left: 0; }
  .page-hero-machines .m2 { right: 0; }
}

/* ---------- Cards com mais de uma foto: setas para ver cada lado ---------- */
.media-wrap { position: relative; }
.card-nav {
  position: absolute; top: 50%; margin-top: -19px; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.94); color: var(--navy);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 4px 12px rgba(5,10,40,.3);
  transition: transform .15s ease, background .2s, color .2s;
}
.card-nav svg { width: 18px; height: 18px; }
.card-nav:hover { background: var(--red); color: var(--white); transform: scale(1.08); }
.card-nav.prev { left: 10px; }
.card-nav.next { right: 10px; }
.card-count {
  position: absolute; left: 14px; bottom: 14px; z-index: 3; pointer-events: none;
  background: rgba(11,18,54,.78); color: var(--white); border-radius: 8px; padding: 3px 9px;
  font-family: var(--f-label); font-weight: 600; letter-spacing: .06em; font-size: .85rem;
}

/* ---------- "Em campo": quadros clicáveis e tela grande ---------- */
.campo-open { display: none; position: absolute; inset: 0; z-index: 2; border: 0; background: none; cursor: zoom-in; border-radius: inherit; }
.js .campo-open { display: block; }
.campo-open:focus-visible { outline: 3px solid var(--white); outline-offset: -6px; }
.campo-item img { transition: transform .35s ease; }
.campo-item:hover img { transform: scale(1.04); }
.campo-play {
  position: absolute; left: 50%; top: 50%; z-index: 1; transform: translate(-50%, -50%);
  width: 70px; height: 70px; border-radius: 50%; background: var(--red); color: var(--white);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); pointer-events: none;
  transition: transform .2s ease;
}
.campo-play svg { margin-left: 4px; }
.campo-video:hover .campo-play { transform: translate(-50%, -50%) scale(1.1); }

.campo-viewer {
  position: fixed; inset: 0; z-index: 1250;
  background: rgba(5,8,28,.95);
  display: none; grid-template-rows: 1fr auto; justify-items: center; align-items: center;
  padding: 64px 72px 20px;
}
.campo-viewer.open { display: grid; }
.cv-stage { width: 100%; height: 100%; min-height: 0; display: grid; place-items: center; }
.cv-stage video, .cv-stage img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #000; }
.cv-caption { margin: 14px 0 0; color: var(--white); font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; text-align: center; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: center; }
.cv-count { font-family: var(--f-label); text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; background: var(--red); border-radius: 999px; padding: 2px 10px; }
.cv-close, .cv-nav {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0;
  background: var(--white); color: var(--navy); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.35); transition: transform .15s ease, background .2s, color .2s;
}
.cv-close:hover, .cv-nav:hover { background: var(--red); color: var(--white); transform: scale(1.06); }
.cv-close { top: 12px; right: 12px; }
.cv-nav { top: 50%; margin-top: -45px; display: none; }
.campo-viewer.multi .cv-nav { display: grid; }
.cv-nav.prev { left: 12px; }
.cv-nav.next { right: 12px; }
@media (max-width: 640px) {
  .campo-viewer { padding: 66px 10px 16px; }
  .cv-nav { top: auto; bottom: 14px; margin-top: 0; width: 46px; height: 46px; }
  .cv-caption { font-size: .98rem; padding: 0 56px; min-height: 46px; }
  .cv-stage video, .cv-stage img { max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); }
  .campo-play { width: 56px; height: 56px; }
}

/* ---------- Vídeo do produto trabalhando (janela do produto e card) ---------- */
.modal-main video { max-height: 420px; max-width: 100%; width: auto; border-radius: 14px; background: #000; box-shadow: 0 18px 40px rgba(5,10,40,.35); }
.modal-thumbs button.is-video { position: relative; }
.thumb-play { position: absolute; inset: 5px; border-radius: 6px; display: grid; place-items: center; color: var(--white); background: rgba(11,18,54,.45); }
.thumb-play svg { width: 22px; height: 22px; }
.card-video {
  position: absolute; right: 14px; top: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 3px;
  background: var(--red); color: var(--white); border-radius: 8px; padding: 3px 10px 3px 5px;
  font-family: var(--f-label); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem;
}
.card-video svg { width: 15px; height: 15px; }
@media (max-width: 960px) {
  .modal-main video { max-height: 280px; }
}

/* ---------- "Aqui, ouvimos o seu problema": vídeo do Sidemar em destaque ---------- */
.ouvimos {
  position: relative; overflow: hidden; color: #dfe3f5;
  background:
    radial-gradient(circle at 85% 20%, rgba(220,38,38,.18), transparent 45%),
    linear-gradient(160deg, #1d2b78 0%, var(--navy) 55%, var(--navy-900) 100%);
}
.ouvimos .container { display: grid; grid-template-columns: 1fr minmax(280px, 400px); gap: 64px; align-items: center; }
.ouvimos .kicker { color: #c9d0f0; }
.ouvimos .kicker img { filter: brightness(0) invert(1); }
.ouvimos h2 { color: var(--white); font-size: clamp(2.1rem, 4.2vw, 3.4rem); line-height: 1.12; margin: 0 0 20px; }
.ouvimos .lead { color: #dfe3f5; font-size: 1.15rem; margin-bottom: 22px; max-width: 560px; }
.ouvimos .checks { margin-bottom: 28px; }
.ouvimos .checks li { color: var(--white); }
.ouvimos-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ouvimos-video {
  position: relative; aspect-ratio: 9 / 16; justify-self: center;
  width: min(100%, 380px, calc(80vh * 9 / 16));
  border-radius: var(--r-lg); overflow: hidden; background: #000;
  box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 6px rgba(255,255,255,.08);
}
.ouvimos-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ouvimos-play {
  position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: linear-gradient(180deg, rgba(11,18,54,0) 40%, rgba(11,18,54,.55) 100%);
  color: var(--white);
}
.js .ouvimos-play { display: flex; }
.ouvimos-play.oculto { display: none !important; }
.ouvimos-play-icon {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 10px rgba(220,38,38,.25);
  transition: transform .2s ease;
}
.ouvimos-play-icon svg { margin-left: 4px; }
.ouvimos-play:hover .ouvimos-play-icon { transform: scale(1.08); }
.ouvimos-play-text { font-family: var(--f-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .95rem; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
@media (max-width: 960px) {
  .ouvimos .container { grid-template-columns: 1fr; gap: 32px; }
  .ouvimos-video { width: min(100%, 360px); margin: 0 auto; }
}
@media (max-width: 640px) {
  .ouvimos h2 { font-size: 2rem; }
  .ouvimos .lead { font-size: 1.05rem; }
  .ouvimos-video { width: min(100%, 320px); }
}

/* Política de Privacidade */
.legal-texto { max-width: 780px; }
.legal-texto h2 { font-size: 1.45rem; margin: 36px 0 10px; }
.legal-texto p, .legal-texto li { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.legal-texto ul { padding-left: 1.2em; margin: 0 0 14px; }
.legal-texto li { margin-bottom: 6px; }
.legal-texto a { color: var(--red, #d42a2a); text-decoration: underline; }
.footer-bottom a { color: inherit; text-decoration: underline; }
.form-note a { color: inherit; font-weight: 600; text-decoration: underline; }
