/* =============================================================
   MAGNÉTICA — Landing page onepage
   Paleta e medidas extraídas das referências em /base
   Mobile-first: os breakpoints ampliam o layout (min-width)
   ============================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* magenta / vinho */
  --magenta-900: #5E1A4F;
  --magenta-800: #641C51;
  --magenta-700: #7A2359;
  --magenta-600: #95184E;
  /* magenta institucional (topo, ícones) */
  --magenta-500: #A8407A;
  --magenta-400: #B33A73;
  --magenta-300: #CA437D;

  /* azuis */
  --navy-900: #12114A;
  --navy-800: #1A145C;
  /* títulos escuros */
  --navy-700: #1A1054;
  /* texto sobre claro */
  --blue-700: #212F8E;
  --blue-600: #245AE8;
  /* azul vivo */
  --blue-500: #2351D4;
  --blue-panel-a: #1D247B;
  --blue-panel-b: #2351D4;

  /* neutros */
  --ink: #222344;
  --ink-soft: #373D4C;
  --cream: #F5F2EA;
  /* títulos sobre fundo escuro */
  --beige: #DED5C4;
  /* barra de contato */
  --paper: #FFFFFF;
  --paper-soft: #F7F9FA;
  --line: #E3E6EE;

  /* apoio */
  --lime: #9AB206;
  /* padrão de pontos */
  --green-wa: #11883F;
  /* WhatsApp */
  --green-cta: #12B477;
  /* download / newsletter */

  /* gradientes de marca */
  --grad-magenta: linear-gradient(90deg, var(--magenta-800) 0%, var(--magenta-400) 100%);
  --grad-magenta-btn: linear-gradient(90deg, var(--magenta-900) 0%, var(--magenta-300) 100%);
  --grad-blue: linear-gradient(90deg, var(--navy-800) 0%, var(--blue-600) 100%);
  --grad-blue-rev: linear-gradient(90deg, #2F2DB4 0%, #151451 100%);

  /* layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 72px;
  --radius-lg: 28px;
  --radius-md: 16px;

  /* tipografia */
  --font: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
}

.afericao .container {
  display: flex;
  align-items: end;
  flex-direction: column;
}

.afericao-copy.reveal.is-visible {
  background: #ffffff;
  padding: 80px 50px;
  border-radius: 30px;
}

@media (min-width:960px) {
  :root {
    --header-h: 90px;
  }
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

/* O offset do menu fixo é aplicado por CSS; o JS só complementa */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0 0 1em;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0;
  top: -100%;
  z-index: 200;
  background: var(--magenta-600);
  color: #fff;
  padding: .75rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.center {
  text-align: center;
}

/* ---------- 3. Tipografia de marca ---------- */

/* Títulos display em caixa alta, peso 800 */
.h-display {
  font-size: clamp(1.9rem, 6.2vw, 3.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0 0 .45em;
}

/* Título fino (ex.: "Contato", "Siga-nos online") */
.h-title {
  font-size: clamp(1.9rem, 5.4vw, 3.2rem);
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -.015em;
  margin: 0 0 .4em;
}

.h-title-sm {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-top: 2.5rem;
}

/* Subtítulo grande e leve ("A ciência a serviço do campo") */
.h-sub {
  font-size: clamp(1.5rem, 4.6vw, 2.6rem);
  line-height: 1.18;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin: 0 0 1.1em;
}

/* O gradiente é pintado sobre a caixa do elemento; sem fit-content um título
   curto ocuparia só o começo da rampa e sairia quase monocromático. */
.h-display,
.h-title,
.h-sub {
  width: fit-content;
  max-width: 100%;
}

.h-display.center,
.h-title.center,
.h-sub.center {
  margin-inline: auto;
}

/* Preenchimentos em gradiente (background-clip:text) */
.h-magenta,
.h-blue,
.h-blue-rev {
  background-image: var(--grad-magenta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h-blue {
  background-image: var(--grad-blue);
}

.h-blue-rev {
  background-image: var(--grad-blue-rev);
}

.h-cream {
  color: var(--cream);
}

/* "Siga-nos online": o gradiente do bloco já escurece o início
   e clareia o fim, reproduzindo o efeito de duas cores da referência. */
.h-title.h-blue {
  color: transparent;
}

.kicker {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-size: clamp(.95rem, 2.4vw, 1.05rem);
  margin-bottom: 1.4em;
}

.kicker-dark {
  color: var(--navy-700);
}

.lead-strong {
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 1.4em;
}

.strong-block {
  font-weight: 700;
  color: var(--navy-700);
}

/* Listas */
.list-bullet {
  margin: 0 0 1.25em;
  padding-left: 1.35em;
  list-style: disc;
}

.list-bullet li {
  margin-bottom: .9em;
}

.list-dot {
  margin: 0 0 1.25em;
}

.list-dot li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: 1.1em;
}

.list-dot li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: currentColor;
}

/* ---------- 4. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65em;
  padding: .85em 1.9em;
  border: 0;
  border-radius: 999px;
  font-size: clamp(.95rem, 2.3vw, 1.02rem);
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgb(0 0 0 / .22);
}

.btn:active {
  transform: translateY(0);
}

.btn-magenta {
  background: var(--grad-magenta-btn);
  min-width: min(240px, 100%);
}

.btn-green {
  background: var(--green-cta);
  border-radius: 4px;
  padding: .8em 1.4em;
}

.btn-whatsapp {
  background: var(--green-wa);
  font-weight: 500;
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 1.9em;
  height: 1.9em;
  flex: none;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 50%;
  color: var(--green-wa);
}

.btn-icon svg {
  width: 1.15em;
  height: 1.15em;
}

/* --- Estado "enviando": spinner + botão travado --- */
.btn[disabled] {
  cursor: not-allowed;
  opacity: .75;
}

.btn[disabled]:hover {
  transform: none;
  box-shadow: none;
}

.btn-spinner {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  display: none;
  border: 2px solid rgb(255 255 255 / .35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin .7s linear infinite;
}

.btn.is-loading .btn-spinner {
  display: block;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Campo isca para bots: fora da tela, sem display:none (bots ignoram ocultos). */
.hp {
  position: absolute !important;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- 5. Padrão de pontos (lime) ---------- */
.dots {
  position: absolute;
  background-image: radial-gradient(circle, var(--lime) 1.8px, transparent 1.9px);
  background-size: 15px 15px;
  pointer-events: none;
  opacity: .9;
}

/* ---------- 6. Header / navegação ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--magenta-600);
  transition: box-shadow .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 26px rgb(0 0 0 / .25);
}

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Cartão branco do logo, com cantos inferiores arredondados */
.brand {
  display: flex;
  align-items: center;
  flex: none;
  background: #fff;
  padding: .55rem 1rem;
  margin-left: calc(var(--gutter) * -1 + .5rem);
  border-radius: 0 0 18px 18px;
  align-self: stretch;
}

.brand img {
  width: auto;
  height: clamp(30px, 7vw, 44px);
}

/* --- Navegação --- */
.main-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 1.9vw, 1.9rem);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: .6rem 0;
  color: #fff;
  font-size: clamp(.88rem, 1.15vw, 1rem);
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: .25rem;
  height: 2px;
  background: var(--beige);
  transition: right .28s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  right: 0;
}

.sub-toggle {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: var(--beige);
  cursor: pointer;
  display: grid;
  place-items: center;
}

.sub-toggle svg {
  width: 12px;
  height: 8px;
  transition: transform .25s ease;
}

.submenu {
  position: absolute;
  top: 100%;
  left: -1rem;
  z-index: 20;
  min-width: 250px;
  background: #fff;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 40px rgb(0 0 0 / .2);
  padding: .5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.has-sub {
  position: relative;
}

.has-sub:hover>.submenu,
.has-sub:focus-within>.submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: .65rem 1.2rem;
  color: var(--navy-700);
  font-size: .94rem;
  text-decoration: none;
}

.submenu a:hover {
  background: var(--paper-soft);
  color: var(--magenta-600);
}

.nav-only-mobile {
  display: none;
}

/* --- Seletor de idioma --- */
.lang-switch {
  flex: none;
  align-self: stretch;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  background: #F7EEF2;
  padding: .5rem 1.4rem .7rem;
  margin-right: calc(var(--gutter) * -1 + .5rem);
  border-radius: 0 0 18px 18px;
}

.lang-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--magenta-600);
  white-space: nowrap;
}

.lang-flags {
  display: flex;
  gap: .5rem;
}

.flag {
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  opacity: .55;
  transition: opacity .2s ease, transform .2s ease;
}

.flag svg,
.flag img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  object-fit: cover;
}

.flag:hover {
  opacity: .85;
  transform: scale(1.06);
}

.flag.is-active {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--magenta-600);
}

/* --- Botão hambúrguer --- */
.nav-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-content: center;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Navegação em telas pequenas --- */
@media (max-width:1099px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--magenta-600);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    margin: 0;
  }

  .main-nav.is-open {
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem var(--gutter) 1.5rem;
  }

  .nav-list>li {
    border-bottom: 1px solid rgb(255 255 255 / .16);
  }

  .nav-link {
    justify-content: space-between;
    padding: 1rem 0;
    font-size: 1.05rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.is-active {
    color: var(--beige);
  }

  .sub-toggle {
    padding: .5rem;
    margin: -.5rem;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: none;
    box-shadow: none;
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height .3s ease;
  }

  .has-sub.is-open>.submenu {
    max-height: 320px;
    padding-bottom: .75rem;
  }

  .has-sub.is-open .sub-toggle svg {
    transform: rotate(180deg);
  }

  .submenu a {
    color: rgb(255 255 255 / .82);
    padding: .55rem 0 .55rem 1rem;
  }

  .submenu a:hover {
    background: none;
    color: #fff;
  }

  .nav-only-mobile {
    display: block;
  }
}

@media (min-width:1100px) {
  .nav-toggle {
    display: none;
  }

  .lang-switch {
    display: flex;
  }

  .main-nav {
    margin-left: auto;
    margin-right: 1.5rem;
  }
}

/* ---------- 7. HERO ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Mobile: apenas o degradê magenta. A arte completa (hero.jpg), que já traz
     as fotos e os círculos embutidos, entra a partir de 900px. */
  background:
    radial-gradient(120% 130% at 88% 18%, #8C2A63 0%, #732757 32%, #5D224F 66%, #4C2049 100%);
}

/* Marca d'água discreta de círculos, como na referência */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 78% 22%, rgb(255 255 255 / .07) 0 62px, transparent 63px),
    radial-gradient(circle at 26% 86%, rgb(255 255 255 / .05) 0 44px, transparent 45px),
    radial-gradient(circle at 8% 30%, rgb(255 255 255 / .04) 0 90px, transparent 91px);
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-copy {
  color: #fff;
  padding: clamp(2.5rem, 7vw, 4.25rem) 0 clamp(2.75rem, 7vw, 4.5rem);
  max-width: 640px;
}

.hero-copy h1 {
  font-size: clamp(1.95rem, 5.6vw, 2.9rem);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .7em;
}

.hero-lead {
  font-size: clamp(.98rem, 2.3vw, 1.06rem);
  line-height: 1.55;
  color: rgb(255 255 255 / .93);
  margin-bottom: 1.15em;
  max-width: 44ch;
}

.hero-copy .btn {
  margin-top: .75rem;
}

@media (min-width:900px) {
  .hero {
    min-height: clamp(420px, 46vw, 520px);
    display: flex;
    align-items: center;
  }

  .hero-inner {
    width: 100%;
  }

  .hero-copy {
    max-width: min(56%, 620px);
  }

  /* Base magenta amostrada da borda esquerda da arte: estende a área de texto
     em telas largas sem depender do recorte da imagem. */
  .hero-bg {
    background:
      linear-gradient(to bottom,
        #994167 0%, #883259 10%, #7F2C58 25%, #722956 50%,
        #632151 75%, #5F2150 90%, #612352 100%);
  }

  /* Arte do hero ancorada à direita. O aspect-ratio dá à caixa exatamente a
     largura natural da imagem (altura × 16/9), então ela nunca é cortada na
     vertical e a máscara dissolve a borda esquerda no degradê — sem emenda. */
  .hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    aspect-ratio: 1920/1080;
    background: url("assets/hero.jpg") center/cover no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20%);
    mask-image: linear-gradient(90deg, transparent 0, #000 20%);
  }

  /* Os círculos de marca d'água já vêm desenhados na arte. */
  .hero-bg::after {
    content: none;
  }
}

/* ---------- 8. Barra de contato rápido ---------- */
.info-bar {
  position: relative;
  z-index: 3;
  margin-top: clamp(-1.5rem, -2vw, -1rem);
  background: var(--beige);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3.4vw, 1.75rem) clamp(1.25rem, 3.4vw, 2.25rem);
  display: grid;
  gap: 1.15rem 1.5rem;
  grid-template-columns: 1fr;
}

.info-bar li {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.info-ico {
  width: clamp(38px, 4.4vw, 50px);
  aspect-ratio: 1;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--magenta-600);
  color: #fff;
  border-radius: 50%;
}

.info-ico svg {
  width: 52%;
  height: 52%;
}

.info-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.info-txt strong {
  font-size: clamp(1rem, 2.3vw, 1.15rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.info-txt a,
.info-txt span {
  font-size: clamp(.82rem, 1.8vw, .9rem);
  color: var(--ink-soft);
  text-decoration: none;
  overflow-wrap: break-word;
}

.info-txt a:hover {
  text-decoration: underline;
}

@media (min-width:640px) {
  .info-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* A última coluna é maior: o e-mail é o texto mais longo da barra. */
@media (min-width:1000px) {
  .info-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.35fr);
  }
}

/* ---------- 9. Sobre ---------- */
.sobre {
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 8vw, 5.5rem);
}

.sobre-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

/* As regras de corpo de texto abaixo usam :where() de propósito: assim elas
   ficam com especificidade zero e nunca sobrescrevem as classes de título
   (.h-display, .h-sub, .kicker…) aplicadas a um <p> dentro da mesma seção. */
:where(.sobre-copy) p {
  font-size: clamp(.98rem, 2.2vw, 1.06rem);
  color: var(--ink);
}

.sobre-copy strong {
  color: var(--navy-700);
}

.sobre-media {
  position: relative;
  display: grid;
  gap: 0;
}

.sobre-media img {
  width: 100%;
}

.dots-sobre {
  inset: auto auto 100% 0;
  width: 130px;
  height: 190px;
  display: none;
}

.dots-sobre-2 {
  inset: 22% -34px auto auto;
  width: 110px;
  height: 200px;
  display: none;
}

@media (min-width:900px) {
  .sobre-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .sobre-media {
    position: relative;
  }

  .dots-sobre,
  .dots-sobre-2 {
    display: block;
  }

  .dots-sobre {
    inset: -30px auto auto -105px;
    width: 120px;
    height: 230px;
  }
}

/* ---------- 10. Soluções ---------- */
.solucoes {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 9vw, 6rem);
  /* A imagem de fundo já vem com o véu claro da referência: o overlay aqui
     apenas garante contraste do texto. Véu leve — a folhagem precisa ficar
     visível em toda a seção, senão o fundo lê como um vazio branco. */
  background: linear-gradient(rgb(250 249 246 / .15), rgb(250 249 246 / .15)),
    url("assets/fundo-solucoes.jpg") center/cover no-repeat;
  background-color: #eceade;
}

.solucoes-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}

:where(.solucoes-grid) :is(p, li) {
  font-size: clamp(.95rem, 2.1vw, 1.02rem);
}

.brand-logo {
  width: clamp(200px, 32vw, 330px);
  margin-bottom: 1.75rem;
}

.conclusao-card {
  margin-top: clamp(2rem, 5vw, 3rem);
  max-width: 520px;
  background: var(--grad-magenta);
  color: #fff;
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  font-size: clamp(1rem, 2.3vw, 1.1rem);
  line-height: 1.5;
}

@media (min-width:900px) {
  .solucoes-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* ---------- 11. VEXXART ---------- */
.vexxart {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(3rem, 8vw, 5rem);
  background: linear-gradient(rgb(255 255 255 / .5), rgb(255 255 255 / .5)),
    url("assets/fundo-vexxart.jpg") center/cover no-repeat;
}

.vexxart-logo {
  width: clamp(190px, 30vw, 320px);
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.vexxart-panel {
  background: var(--grad-magenta);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4.5vw, 3rem);
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  color: #fff;
}

.vexxart-card .lead-strong {
  color: #fff;
  margin-bottom: 1.6em;
}

.vexxart-card li {
  margin-bottom: 1.05em;
}

.vexxart-visual {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.vexxart-visual img {
  width: clamp(180px, 42vw, 330px);
}

.vexxart-note {
  margin: 0;
  font-size: clamp(.95rem, 2.1vw, 1.05rem);
  line-height: 1.5;
}

@media (min-width:900px) {
  .vexxart-panel {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .vexxart-visual {
    margin-top: clamp(-6rem, -7vw, -3rem);
  }
}

/* ---------- 12. Pulverização eletrostática ---------- */
.eletro {
  position: relative;
  padding: clamp(3.25rem, 8vw, 5.5rem) 0;
  /* O recorte de fundo já traz o véu magenta da referência; o gradiente
     apenas reforça o degradê da esquerda (roxo) para a direita (rosa). */
  background:
    linear-gradient(105deg, rgb(110 32 84 / .62) 0%, rgb(168 64 122 / .45) 55%, rgb(198 84 142 / .45) 100%),
    url("assets/fundo-sistema-de--pulverizacao.jpg") center/cover no-repeat;
  color: #fff;
}

.eletro-lead {
  color: var(--cream);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  max-width: 56ch;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.eletro-cards {
  display: grid;
  gap: clamp(1rem, 2.6vw, 1.75rem);
  grid-template-columns: 1fr;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.eletro-cards li {
  border: 1.5px solid rgb(255 255 255 / .8);
  border-radius: 2px;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 1.5rem);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: clamp(.95rem, 2.2vw, 1.05rem);
  min-height: clamp(120px, 18vw, 200px);
}

.eletro-foot {
  color: var(--cream);
  max-width: 66ch;
  margin-inline: auto;
  font-size: clamp(.98rem, 2.3vw, 1.12rem);
}

@media (min-width:760px) {
  .eletro-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- 13. Aferição e calibração ---------- */
.afericao {
  position: relative;
  padding: clamp(3.25rem, 8vw, 5.5rem) 0 clamp(11rem, 26vw, 17rem);
  /* Ancorada embaixo: é onde estão o pulverizador e a lavoura da referência. */
  background:
    linear-gradient(rgb(255 255 255 / .5), rgb(255 255 255 / .12)),
    url("assets/bg-afericao-e-calibracao.jpg") center top/cover no-repeat;
}

.afericao-copy {
  max-width: 520px;
}

:where(.afericao-copy) :is(p, li) {
  color: var(--ink);
  font-size: clamp(.95rem, 2.1vw, 1.02rem);
}

/* O novo fundo já traz a malha de pontos lime desenhada na mesma posição. */
.dots-afericao {
  display: none;
}

/* ---------- 14. Treinamento ---------- */
.treino {
  padding: clamp(3.25rem, 8vw, 5.5rem) 0;
}

.treino-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.treino-grid>div {
  position: relative;
}

:where(.treino-grid) p {
  font-size: clamp(.98rem, 2.2vw, 1.06rem);
  max-width: 44ch;
}

.treino-media img {
  width: 100%;
  border-radius: 2px;
}

.dots-treino {
  left: 0;
  bottom: -150px;
  width: 170px;
  height: 110px;
  display: none;
}

@media (min-width:900px) {
  .treino-grid {
    grid-template-columns: 1fr 1.25fr;
  }

  .dots-treino {
    display: block;
  }
}

/* ---------- 15. Tecnologia de aplicação (painel azul) ---------- */
.tecno {
  position: relative;
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(3rem, 8vw, 5rem);
}

.dots-tecno {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 210px;
  height: 110px;
  display: none;
}

@media (min-width:760px) {
  .dots-tecno {
    display: block;
  }
}

.tecno-panel {
  margin-top: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(100deg, var(--blue-panel-a) 0%, #1F2E96 45%, var(--blue-panel-b) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  gap: 0;
  color: #fff;
}

.tecno-visual {
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 2rem);
}

.tecno-visual img {
  width: clamp(200px, 55vw, 460px);
  border-radius: 36px;
}

.tecno-copy {
  padding: clamp(1.5rem, 4.5vw, 3.25rem);
  align-self: center;
}

.tecno-copy .kicker {
  color: #fff;
}

:where(.tecno-copy) p {
  font-size: clamp(.95rem, 2.1vw, 1.05rem);
  color: rgb(255 255 255 / .93);
}

@media (min-width:900px) {
  .tecno-panel {
    grid-template-columns: .9fr 1.1fr;
    align-items: stretch;
  }

  .tecno-visual {
    padding: 0;
  }

  /* A arte já traz o fundo azul do painel; a máscara dissolve a borda direita
     para que ela se funda no gradiente em vez de criar uma emenda visível. */
  .tecno-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 72%, transparent 100%);
  }
}

/* ---------- 16. Dados de campo ---------- */
.dados {
  position: relative;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0 0;
}

.dados-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:where(.dados-copy) :is(p, li) {
  font-size: clamp(.95rem, 2.1vw, 1.02rem);
}

.dados-media {
  position: relative;
}

.dados-media img {
  width: 100%;
}

.dots-dados {
  left: -46px;
  top: 6%;
  width: 120px;
  height: 210px;
  display: none;
}

.faixa-final {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: clamp(-1.5rem, -3vw, -1rem) auto 0;
  background: var(--grad-magenta);
  color: #fff;
  text-align: center;
  padding: clamp(1rem, 2.6vw, 1.35rem) clamp(1.25rem, 4vw, 2.5rem);
  font-size: clamp(1rem, 2.4vw, 1.18rem);
  border-radius: 2px;
}

@media (min-width:900px) {
  .dados-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }

  .dots-dados {
    display: block;
  }

  .faixa-final {
    margin-top: -3.5rem;
  }
}

/* ---------- 17. SEÇÃO 2 — Conteúdo técnico ---------- */
.videos {
  position: relative;
  padding: clamp(3.5rem, 9vw, 6rem) 0 clamp(2.5rem, 7vw, 4rem);
}

.dots-videos {
  right: 0;
  top: 0;
  width: 260px;
  height: 220px;
  display: none;
}

@media (min-width:900px) {
  .dots-videos {
    display: block;
  }
}

:where(.videos > .container)>p {
  font-size: clamp(.98rem, 2.2vw, 1.08rem);
  color: var(--navy-700);
  max-width: 70ch;
}

.video-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: 1fr;
  margin: clamp(2rem, 5vw, 3.25rem) 0;
}

.video-card {
  min-width: 0;
}

.video-thumb {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2px;
  transition: transform .22s ease, box-shadow .22s ease;
}

.video-thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgb(0 0 0 / .14);
}

.video-thumb img {
  width: 100%;
}

.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgb(0 0 0 / .55);
  color: #fff;
  border-radius: 50%;
  transition: background .2s ease, transform .2s ease;
}

.video-thumb:hover .video-play {
  background: var(--magenta-600);
  transform: scale(1.08);
}

.video-play svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

@media (min-width:760px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Blog --- */
.blog {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 9vw, 6rem);
}

:where(.blog > .container)>p {
  font-size: clamp(.98rem, 2.2vw, 1.08rem);
  color: var(--navy-700);
  max-width: 70ch;
}

.blog-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  grid-template-columns: 1fr;
  margin: clamp(2rem, 5vw, 3.25rem) 0;
}

.blog-card a {
  text-decoration: none;
  display: block;
  height: 100%;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.15rem;
  transition: transform .3s ease;
}

.blog-card a:hover img {
  transform: scale(1.02);
}

.blog-card h3 {
  font-size: clamp(1.02rem, 2.3vw, 1.13rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-800);
  margin-bottom: .7em;
}

.blog-card p {
  font-size: .9rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

.blog-card a:hover h3 {
  color: var(--blue-600);
}

@media (min-width:760px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

/* --- Calendário / newsletter --- */
.download-cta {
  position: relative;
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(4rem, 12vw, 8rem);
  background: url("assets/download-bg.jpg") center/cover no-repeat;
}

.download-panel {
  background: linear-gradient(100deg, rgb(30 36 114 / .93) 0%, rgb(35 81 212 / .88) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5.5vw, 3.5rem) clamp(1.5rem, 5vw, 3.5rem);
  color: #fff;
}

.download-pill {
  width: clamp(190px, 32vw, 290px);
  margin: 0 auto clamp(1rem, 2.5vw, 1.5rem);
}

.download-panel .h-display {
  font-size: clamp(1.35rem, 4.4vw, 2.35rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.download-row {
  display: grid;
  gap: clamp(1.25rem, 3.5vw, 2.5rem);
  align-items: center;
}

.download-text {
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.35;
  margin: 0;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .6rem;
  align-items: stretch;
}

.newsletter-form input {
  min-width: 0;
  background: transparent;
  border: 1.5px solid rgb(255 255 255 / .85);
  border-radius: 3px;
  padding: .8em 1em;
  color: #fff;
  font: inherit;
  font-size: .95rem;
}

.newsletter-form input::placeholder {
  color: rgb(255 255 255 / .85);
}

.newsletter-form .form-msg {
  grid-column: 1 / -1;
}

@media (min-width:900px) {
  .download-row {
    grid-template-columns: 1fr 1.1fr;
  }
}

/* ---------- 18. SEÇÃO 3 — Contato ---------- */
.section-contacto {
  position: relative;
  padding: clamp(3.5rem, 9vw, 6rem) 0 clamp(3.5rem, 9vw, 6rem);
  background:
    linear-gradient(rgb(247 250 252 / .96) 0%, rgb(243 248 251 / .86) 55%, rgb(240 246 250 / .55) 100%),
    url("assets/bg-contato.jpg") center top/cover no-repeat;
}

.contacto-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: start;
}

.contacto-lead {
  font-size: clamp(1.02rem, 2.5vw, 1.24rem);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 2.25em;
}

.contacto-lead strong {
  color: var(--ink);
}

.contacto-list {
  display: grid;
  gap: 1.35rem;
  margin-bottom: 1rem;
}

.contacto-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* :where() mantém a regra de texto com especificidade zero para que ela não
   sobrescreva a cor magenta de .contacto-ico, que também é um <span>. */
:where(.contacto-list) :is(a, span) {
  font-size: clamp(1rem, 2.3vw, 1.1rem);
  color: var(--ink-soft);
  text-decoration: none;
}

.contacto-ico {
  width: 34px;
  height: 34px;
  flex: none;
  color: var(--magenta-600);
}

.contacto-ico svg {
  width: 100%;
  height: 100%;
}

.contacto-list a:hover {
  color: var(--magenta-600);
  text-decoration: underline;
}

.social-list {
  display: grid;
  gap: .4rem;
  margin-bottom: 2.25rem;
}

.social-list a {
  font-size: clamp(1rem, 2.3vw, 1.1rem);
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.social-list a:hover {
  color: var(--magenta-600);
}

/* --- Formulário --- */
.contacto-form-wrap {
  position: relative;
}

.contact-form {
  background: rgb(255 255 255 / .92);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4.5vw, 2.5rem);
  box-shadow: 0 20px 50px rgb(26 20 92 / .1);
  display: grid;
  gap: 1.1rem;
}

.form-title {
  font-size: clamp(1.15rem, 3vw, 1.4rem);
  font-weight: 700;
  color: var(--navy-800);
  margin: 0;
}

.field {
  display: grid;
  gap: .35rem;
  min-width: 0;
}

.field-row {
  display: grid;
  gap: 1.1rem;
}

.field label {
  font-size: .86rem;
  font-weight: 600;
  color: var(--navy-700);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .72em .9em;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgb(36 90 232 / .14);
  outline: none;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #C8305A;
}

.field-error {
  font-size: .78rem;
  color: #C8305A;
  min-height: 1em;
}

.field-check {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .86rem;
  color: var(--ink-soft);
}

.field-check input {
  margin-top: .25em;
  accent-color: var(--magenta-600);
  flex: none;
}

.form-msg {
  margin: .25rem 0 0;
  font-size: .88rem;
  min-height: 1.2em;
}

/* Sem mensagem não sobra espaço morto no fim do card (o gap do grid some junto). */
.form-msg:empty {
  display: none;
}

.form-msg.is-ok {
  color: #0F7B4F;
  font-weight: 600;
}

.form-msg.is-err {
  color: #C8305A;
  font-weight: 600;
}

/* --- Painel de sucesso do formulário de contato --- */
.form-body {
  display: grid;
  gap: 1.1rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 1rem 0 .5rem;
}

.contact-form.is-sent .form-body {
  display: none;
}

.contact-form.is-sent .form-success {
  display: grid;
  justify-items: center;
  gap: .35rem;
}

.form-success h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 700;
  color: var(--navy-800);
  margin: .5rem 0 0;
}

.form-success p {
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
  max-width: 36ch;
}

.success-check svg {
  width: 76px;
  height: 76px;
}

.success-check circle,
.success-check path {
  fill: none;
  stroke: #0F7B4F;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-check circle {
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: check-ring .5s cubic-bezier(.65, 0, .45, 1) forwards;
}

.success-check path {
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: check-tick .3s cubic-bezier(.65, 0, .45, 1) .45s forwards;
}

@keyframes check-ring {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes check-tick {
  to {
    stroke-dashoffset: 0;
  }
}

.newsletter-form .form-msg.is-ok {
  color: #8CF3C6;
}

.newsletter-form .form-msg.is-err {
  color: #FFC9D6;
}

@media (min-width:560px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width:960px) {
  .contacto-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- 19. Footer ---------- */
.site-footer {
  position: relative;
  padding: clamp(3.5rem, 10vw, 6.5rem) 0;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgb(150 68 124 / .82), rgb(122 45 96 / .88)),
    url("assets/footer-bg.jpg") center/cover no-repeat;
}

.footer-logo {
  margin: 0 auto 1.5rem;
  opacity: .95;
}

.site-footer p {
  margin: 0;
  font-size: clamp(.95rem, 2.2vw, 1.08rem);
  line-height: 1.7;
  color: rgb(255 255 255 / .95);
}

/* ---------- 20. Voltar ao topo ---------- */
.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--magenta-600);
  color: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgb(0 0 0 / .28);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

@media (min-width:900px) {
  .to-top {
    right: 1.75rem;
    bottom: 1.75rem;
  }
}

/* ---------- 21. Animação de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.22, .9, .3, 1);
}

@media (prefers-reduced-motion:reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  .btn:hover,
  .video-thumb:hover,
  .blog-card a:hover img {
    transform: none;
  }

  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- 22. Impressão ---------- */
@media print {

  .site-header,
  .to-top,
  .video-play {
    display: none !important;
  }

  body {
    color: #000;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}