/* ==========================================================================
   WET Chemical — One Page
   Desktop: referência wet_home_site.png (1440px). Tablet e mobile: bloco
   RESPONSIVO no fim do arquivo (≤ 1279px, ≤ 1023px, ≤ 767px).
   ========================================================================== */

/* ---------- Fontes ---------- */
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("../assets/fonts/sora-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --c-green: #03bb85;
  --c-green-dark: #029e70;
  --c-navy: #0d1d31;
  --c-sand: #e7e5d9;
  --c-gray-100: #efefef;
  --c-gray-200: #d9d9d9;
  --c-text: #000;
  --c-white: #fff;

  --ff: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-display: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1212px;
  --gutter: 24px;
  --header-h: 98px;

  --radius-sm: 6px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-card: 0 4px 6px rgba(0, 0, 0, .12), 0 0 2px rgba(0, 0, 0, .06);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 5l7 7-7 7'/%3E%3C/svg%3E");
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: 20px;
  line-height: 1.75;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, address, figure { margin: 0; }

/* Fonte de títulos (--ff-display): headings + textos com papel de título */
h1, h2, h3,
.banner__text { font-family: var(--ff-display); }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; } /* vale mesmo onde o CSS define display */
address { font-style: normal; }
img, video, svg { display: block; max-width: 100%; }
/* <picture> só escolhe a versão da imagem; quem participa do layout é o <img> */
picture { display: contents; }
picture > source { display: none; } /* sem isso o <source> ocupa uma célula em grids */
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--c-green); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; 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: 16px; top: -60px; z-index: 1000;
  padding: 10px 16px; background: var(--c-navy); color: var(--c-white); border-radius: var(--radius-sm);
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(1185px + var(--gutter) * 2); }

/* ---------- Tipografia comum ---------- */
.section-title {
  font-size: 24px;
  line-height: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.section-title--center { text-align: center; }
.section-title--light { color: var(--c-white); }

/* ---------- Botões ----------
   Padrão único para todos os CTAs do site: mesma altura, padding,
   tipografia e ícone de seta. Variações apenas de cor (.btn--primary). */
.btn {
  --btn-h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--btn-h);
  padding: 0 26px 0 30px;
  border: 0;
  border-radius: 10px;
  font-family: var(--ff);
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.btn::after {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: var(--icon-arrow) center / contain no-repeat;
          mask: var(--icon-arrow) center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }

.btn--primary {
  background: var(--c-green);
  color: var(--c-white);
}
.btn--primary:hover { background: var(--c-green-dark); }


/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: var(--c-white);
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(13, 29, 49, .12); }

/* Estado inicial (topo da página): transparente sobre o vídeo da hero.
   Só ativa com JS, que é quem devolve o fundo branco ao rolar. */
.js .site-header:not(.is-scrolled):not(.site-header--solid) { background: transparent; }
.js .site-header:not(.is-scrolled):not(.site-header--solid) .main-nav a:not(:hover):not(.is-active),
.js .site-header:not(.is-scrolled):not(.site-header--solid) .main-nav__list li + li::before { color: var(--c-white); }
.js .site-header:not(.is-scrolled):not(.site-header--solid) .site-header__logo-img--color { opacity: 0; }
.js .site-header:not(.is-scrolled):not(.site-header--solid) .site-header__logo-img--white { opacity: 1; }
.site-header__inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* colunas laterais iguais = menu no centro exato */
  align-items: center;
  column-gap: 32px;
  padding: 0 32px;
}
.site-header__logo { justify-self: start; }
.btn--header { justify-self: end; margin-right: 25px; }
.site-header__logo { position: relative; }
.site-header__logo img { width: 181px; height: 56px; transition: opacity .3s var(--ease); }
.site-header__logo-img--white { position: absolute; inset: 0; opacity: 0; }

.main-nav__list { display: flex; align-items: center; }
.main-nav__list li { display: flex; align-items: center; }
.main-nav__list li + li::before {
  content: "*";
  margin-inline: 16px;
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
  color: var(--c-text);
  transition: color .3s var(--ease);
  transform: translateY(2px); /* o asterisco fica alto na linha; desce para o centro óptico */
}
.main-nav a {
  font-size: 18px;
  line-height: 1;
  font-weight: 500;
  position: relative;
  transition: color .2s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--c-green); }

/* Só no mobile (ver bloco RESPONSIVO) */
.nav-toggle,
.main-nav__cta { display: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  /* Header (fixo, por cima do vídeo) + hero = 90% da altura da tela */
  height: 90vh;
  min-height: calc(var(--header-h) + 440px); /* telas muito baixas: o título não encosta no header */
  color: var(--c-white);
  overflow: hidden;
  background: var(--c-navy);
}
.hero__media { position: absolute; inset: 0; }
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--c-navy) url("../assets/img/hero-poster.webp") center / cover no-repeat;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 8, 20, .55) 0%, rgba(0, 8, 20, .34) 18%, rgba(0, 8, 20, .4) 60%, rgba(0, 8, 20, .72) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--header-h) 24px 0;
  text-align: center;
}
.hero__title {
  max-width: 980px;
  font-size: 72px;
  line-height: 1.05;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.025em;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.hero__text {
  margin: 28px 0 49px;
  font-size: 20px;
  line-height: 35px;
}

/* ==========================================================================
   DESAFIOS
   ========================================================================== */
.challenges { padding: 120px 0 0; }
.challenges .container { max-width: calc(1195px + var(--gutter) * 2); }
.challenges__intro {
  display: grid;
  grid-template-columns: 1fr 520px;
  align-items: start;
  gap: 40px;
  padding-inline: 9px 45px;
  margin-bottom: 46px;
}
.challenges__intro .section-title { margin-top: 4px; } /* compensa a entrelinha maior do parágrafo */
.challenges__lead { font-size: 20px; line-height: 35px; }

.challenges__grid {
  display: grid;
  grid-template-columns: 581px 581px;
  grid-template-rows: 346px 345px;
  column-gap: 33px;
  row-gap: 25px;
}
.challenge-card {
  --card-pad: 40px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  color: var(--c-white);
  background: var(--c-navy);
  isolation: isolate;
}
.challenge-card--tall { grid-row: 1 / span 2; }
.challenge-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .6s var(--ease);
}
.challenge-card__img--membranes { object-position: center 30%; }
.challenge-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .35) 45%, rgba(5, 12, 24, .82) 100%);
}
.challenge-card:hover .challenge-card__img { transform: scale(1.04); }
/* Mesmo respiro nas laterais e na base dos 3 cards. A base desconta a
   meia-entrelinha do texto (35px - 18px) / 2 ≈ 8px para ficar igual visualmente. */
.challenge-card__body {
  position: absolute;
  left: var(--card-pad);
  right: var(--card-pad);
  bottom: calc(var(--card-pad) - 8px);
}
.challenge-card__title {
  font-size: 20px;
  line-height: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.challenge-card__text {
  font-size: 18px;
  line-height: 35px;
}

/* ==========================================================================
   ESTAMOS AQUI PARA AJUDAR
   ========================================================================== */
.help { padding: 139px 0 0; }
.help .container { max-width: calc(1182px + var(--gutter) * 2); }
.help__video { margin-right: 9px; }
.help__grid {
  display: grid;
  grid-template-columns: 645px 473px;
  justify-content: space-between;
  align-items: start;
}
.help__lead {
  margin-top: 18px;
  font-size: 20px;
  line-height: 35px;
}
.help__cards {
  display: grid;
  grid-template-columns: repeat(2, 302px);
  gap: 41px;
  margin-top: 77px;
}
.info-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 361px;
  padding: 28px 35px;
  border-radius: var(--radius-md);
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}
.info-card__avatar {
  width: 47px;
  height: 47px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 22px;
}
.info-card__title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}
.info-card__text {
  font-size: 18px;
  line-height: 22px;
  font-weight: 300;
}

.help__video {
  height: 578px;
  margin-top: 14px;
  border-radius: var(--radius-lg);
  background: var(--c-navy);
  overflow: hidden;
  isolation: isolate; /* garante o recorte arredondado do vídeo no Safari */
}
.help__video-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Capa até o vídeo carregar (versão mobile no bloco RESPONSIVO) */
  background: var(--c-navy) url("../assets/img/apresentacao-poster.webp") center / cover no-repeat;
}

/* ==========================================================================
   MÉTODO — js: initFlowSteps
   Um "tubo" vertical liga as etapas. A água (.flow__water) tem o gradiente
   do tubo inteiro, de turva a limpa, e é revelada até --p (0 a 1), que o JS
   atualiza com a rolagem. Cada etapa acende quando a água chega ao seu nó.
   Sem JS ou com reduced-motion: tubo cheio e todas as etapas visíveis.
   ========================================================================== */
.method { padding: 140px 0 150px; }
.method .container { max-width: calc(1182px + var(--gutter) * 2); }
.method__grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  column-gap: 110px;
  align-items: start;
}
.method__intro { position: sticky; top: calc(var(--header-h) + 56px); }
.method__lead { margin: 20px 0 32px; font-size: 18px; line-height: 31px; }

.flow {
  --p: 1;
  --node-size: 52px;
  position: relative;
}
.flow__tube {
  position: absolute;
  top: calc(var(--node-size) / 2);
  bottom: 0;              /* o JS ajusta para terminar no centro do último nó */
  left: calc(var(--node-size) / 2 - 4px);
  width: 8px;
  border-radius: 4px;
  background: var(--c-gray-100);
}
.flow__water {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #8f8268 0%, #7b8a78 30%, #3f93b4 66%, #03bb85 100%);
  clip-path: inset(0 0 calc((1 - var(--p)) * 100%) 0);
  overflow: hidden;
}
/* Correnteza: listras claras descendo devagar dentro da água */
.flow__water::after {
  content: "";
  position: absolute;
  inset: -40px 0 0;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0) 0 18px, rgba(255, 255, 255, .35) 18px 22px, rgba(255, 255, 255, 0) 22px 40px);
  animation: flow-current 1.6s linear infinite;
}
@keyframes flow-current { to { transform: translateY(40px); } }
/* Gota na frente da água */
.flow__drop {
  position: absolute;
  top: calc(var(--p) * 100%);
  left: 50%;
  width: 16px;
  height: 16px;
  border: 3px solid var(--c-white);
  border-radius: 50%;
  background: #3f93b4;
  box-shadow: 0 0 0 6px rgba(63, 147, 180, .18);
  transform: translate(-50%, -50%);
  opacity: 0;
}
.js .flow:not(.is-complete) .flow__drop { opacity: 1; }

.flow__steps { position: relative; margin: 0; padding: 0; list-style: none; }
.flow__step {
  position: relative;
  padding: 0 0 88px calc(var(--node-size) + 40px);
}
.flow__step:last-child { padding-bottom: 0; }
.flow__node {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--node-size);
  height: var(--node-size);
  border: 2px solid var(--node);
  border-radius: 50%;
  background: var(--node);
  color: var(--c-white);
  font-family: var(--ff-display);
  font-size: 15px;
  font-weight: 700;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.flow__label {
  padding-top: 4px;
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-green-dark);
}
.flow__title { margin-top: 8px; font-size: 26px; line-height: 32px; font-weight: 600; }
.flow__text { max-width: 560px; margin-top: 12px; font-size: 17px; line-height: 30px; }
.flow__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.flow__tags li {
  padding: 6px 14px;
  border: 1px solid var(--c-gray-200);
  border-radius: 999px;
  font-size: 13px;
  line-height: 18px;
}
.flow__label, .flow__title, .flow__text, .flow__tags { transition: opacity .5s var(--ease), transform .5s var(--ease); }

/* Etapa ainda não alcançada pela água */
.js .flow__step:not(.is-active) .flow__node { border-color: var(--c-gray-200); background: var(--c-white); color: #9aa1aa; }
.js .flow__step:not(.is-active) :is(.flow__label, .flow__title, .flow__text, .flow__tags) { opacity: .3; transform: translateY(8px); }

@media (prefers-reduced-motion: reduce) {
  .flow__water::after { animation: none; }
}

/* ==========================================================================
   BANNER
   ========================================================================== */
.banner {
  position: relative;
  height: 525px;
  margin-top: 110px;
  overflow: hidden;
  color: var(--c-white);
  background: var(--c-navy);
  isolation: isolate;
}
.banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  z-index: -2;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 10, 20, .58) 0%, rgba(4, 10, 20, .62) 70%, rgba(4, 10, 20, .8) 100%);
}
.banner__inner {
  max-width: 1089px;
  margin-inline: auto;
  padding-top: 120px;
}
.banner__text {
  font-size: 24px;
  line-height: 35px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.banner__text--right {
  max-width: 1000px;
  margin: 147px 0 0 auto;
  text-align: right;
}

/* ==========================================================================
   SOLUÇÕES / CARROSSEL
   ========================================================================== */
.solutions { padding: 118px 0 0; }
.solutions .container { max-width: calc(1206px + var(--gutter) * 2); }
.solutions__title {
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -.01em;
}

/* A trilha é recortada na borda esquerda do container (as cópias do loop
   ficam escondidas) e "vaza" até a borda direita da janela.
   --carousel-bleed: folga para a sombra do card não ser cortada. */
.carousel {
  --carousel-bleed: 6px;
  margin-top: 32px;
  /* % = largura da seção (sem a barra de rolagem), alinhando ao título */
  margin-left: calc(max(var(--gutter), (100% - 1206px) / 2) - var(--carousel-bleed));
}
.carousel__track {
  display: flex;
  gap: 42px;
  padding: 4px var(--gutter) 12px var(--carousel-bleed);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--carousel-bleed);
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: -3px; }

.solution-card {
  flex: 0 0 302px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}
.solution-card__img {
  width: 100%;
  height: 164px;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.solution-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 22px 35px 32px;
}
.solution-card__title {
  font-size: 20px;
  line-height: 24px;
  font-weight: 700;
  margin-bottom: 9px;
}
.solution-card__text {
  font-size: 18px;
  line-height: 22px;
  font-weight: 300;
}

.solutions__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 44px;
}
.carousel__nav { display: flex; gap: 20px; margin-right: 20px; }
.carousel__arrow {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--c-gray-200);
  color: var(--c-white);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.carousel__arrow:hover { background: var(--c-green); }
.carousel__arrow:active { transform: scale(.94); }

/* ==========================================================================
   WET NEWS
   ========================================================================== */
.news {
  margin-top: 129px;
  padding: 69px 0 69px;
  background: var(--c-navy);
  color: var(--c-white);
}
.news .container { max-width: calc(1192px + var(--gutter) * 2); }
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 348px);
  justify-content: space-between;
  margin-top: 47px;
}
.news-card__link { display: block; }
.news-card__thumb {
  position: relative;
  height: 182px;
  border-radius: 20px;
  background: var(--c-gray-200);
  overflow: hidden;
  transition: transform .3s var(--ease);
}
.news-card__link:hover .news-card__thumb { transform: translateY(-4px); }
.news-card__link:hover .news-card__title { color: var(--c-green); }
.news-card__cat {
  position: absolute;
  left: 25px;
  bottom: 18px;
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--c-white);
}
.news-card__title {
  margin: 26px 6px 8px;
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  transition: color .2s var(--ease);
}
.news-card__excerpt {
  margin-inline: 6px 0;
  font-size: 16px;
  line-height: 30px;
}
.news__cta { display: flex; justify-content: center; margin-top: 77px; }

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.newsletter { padding-top: 90px; }
/* Espaçamento interno único: --nl-pad nas 4 bordas do card e --nl-gap
   entre todos os elementos (título → texto, campo → campo → botão). */
.newsletter__box {
  --nl-pad: 64px;
  --nl-gap: 16px;
  display: grid;
  grid-template-columns: 360px 539px;
  justify-content: space-between;
  align-items: start;
  padding: var(--nl-pad);
  border-radius: var(--radius-lg);
  background: var(--c-sand);
}
.newsletter .section-title { line-height: 35px; }
/* Título (2 × 35) + 16 + texto (5 × 32) = 246px, a mesma altura do formulário
   (61 + 16 + 61 + 16 + 52 + 20 + aviso 20): as duas colunas começam e terminam alinhadas. */
.newsletter__text {
  margin-top: var(--nl-gap);
  font-size: 20px;
  line-height: 32px;
}
.newsletter__form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--nl-gap);
}
.newsletter__form .btn { width: 100%; justify-content: center; }
.newsletter__legal {
  margin-top: 4px; /* + gap = 20px abaixo do botão */
  font-size: 14px;
  line-height: 20px;
  opacity: .8;
}
.field {
  width: 100%;
  height: 61px;
  padding: 0 28px;
  border: 1px solid var(--c-navy);
  border-radius: 31px;
  background: transparent;
  font-size: 20px;
  outline: 0;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field::placeholder { color: var(--c-text); opacity: 1; text-transform: uppercase; }
.field:focus { border-color: var(--c-green); box-shadow: 0 0 0 3px rgba(3, 187, 133, .2); }
.field.is-invalid { border-color: #c0392b; }
/* Fora do fluxo: a mensagem aparece sob o botão sem alterar o espaçamento do card */
.newsletter__feedback {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 12px;
  font-size: 16px;
  line-height: 24px;
}
.newsletter__feedback.is-error { color: #c0392b; }

/* ---------- Versão temporária: faixa azul-marinho no lugar da WET News ----------
   Enquanto a seção WET News estiver oculta (atributo hidden), a newsletter
   ocupa o lugar dela: fundo azul-marinho de ponta a ponta, sem o card bege.
   Para voltar ao original basta remover "hidden" da seção #wet-news (e do item
   do menu); estas regras deixam de valer sozinhas. */
.news[hidden] + .newsletter {
  margin-top: 129px;
  padding: 88px 0;
  background: var(--c-navy);
  color: var(--c-white);
}
.news[hidden] + .newsletter .newsletter__box { --nl-pad: 0; border-radius: 0; background: none; }
.news[hidden] + .newsletter .newsletter__text { color: rgba(255, 255, 255, .85); }
.news[hidden] + .newsletter .newsletter__legal { opacity: .75; }
.news[hidden] + .newsletter .newsletter__legal a:hover { color: var(--c-green); }
.news[hidden] + .newsletter .newsletter__feedback { color: var(--c-green); }
.news[hidden] + .newsletter .newsletter__feedback.is-error { color: #ff8a7a; }
.news[hidden] + .newsletter .field { border-color: rgba(255, 255, 255, .45); color: var(--c-white); }
.news[hidden] + .newsletter .field::placeholder { color: rgba(255, 255, 255, .8); }
.news[hidden] + .newsletter .field.is-invalid,
.news[hidden] + .newsletter .field.is-invalid:focus { border-color: #ff8a7a; }
.news[hidden] + .newsletter .field:-webkit-autofill {
  -webkit-text-fill-color: var(--c-white);
  box-shadow: 0 0 0 100px var(--c-navy) inset;
  caret-color: var(--c-white);
}

/* ==========================================================================
   FALE COM ESPECIALISTA
   ========================================================================== */
.specialist { padding: 104px 0 85px; }
.specialist__box {
  display: grid;
  grid-template-columns: 564px 1fr;
  gap: 76px;
  align-items: start;
  padding: 36px 36px 42px 42px;
  border-radius: var(--radius-lg);
  background: var(--c-navy);
  color: var(--c-white);
}
.specialist__img {
  width: 564px;
  height: 340px;
  object-fit: cover;
  border-radius: var(--radius-md);
  align-self: start;
}
.specialist__content { padding-top: 28px; }
.specialist__text {
  margin: 16px 0 29px;
  font-size: 20px;
  line-height: 35px;
}

/* ==========================================================================
   POP-UP DE CONTATO (criado pelo JS em initContactModal)
   ========================================================================== */
.contact-modal {
  width: min(640px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--c-navy);
  color: var(--c-white);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .4);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.contact-modal::backdrop { background: rgba(0, 8, 20, .65); backdrop-filter: blur(4px); }
.contact-modal[open] { animation: modal-in .35s var(--ease); }
.contact-modal[open]::backdrop { animation: modal-fade .35s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes modal-fade { from { opacity: 0; } }

.contact-modal__box { position: relative; padding: 56px; }
.contact-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--c-white);
  transition: background-color .2s var(--ease);
}
.contact-modal__close:hover { background: rgba(255, 255, 255, .12); }
.contact-modal__title {
  padding-right: 40px; /* não passa por baixo do botão fechar */
  font-size: 32px;
  line-height: 38px;
  font-weight: 700;
  text-transform: uppercase;
}
.contact-modal__text { margin-top: 12px; font-size: 17px; line-height: 28px; opacity: .85; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.contact-form__full { grid-column: 1 / -1; }
.contact-form .field { font-size: 17px; }
.contact-form .btn { justify-content: center; margin-top: 4px; }
.contact-form__legal { font-size: 14px; line-height: 20px; opacity: .75; }
.contact-form__legal a { text-decoration: underline; text-underline-offset: 2px; }
.contact-form__legal a:hover { color: var(--c-green); }
.contact-form__feedback { font-size: 15px; line-height: 24px; color: var(--c-green); }
.contact-form__feedback:not(:empty) { margin-top: 8px; }
.contact-form__feedback.is-error { color: #ff8a7a; }

/* Campos sobre fundo escuro */
.field--dark { border-color: rgba(255, 255, 255, .45); color: var(--c-white); }
.field--dark::placeholder { color: rgba(255, 255, 255, .8); }
.field--dark.is-invalid, .field--dark.is-invalid:focus { border-color: #ff8a7a; }
.field--dark:-webkit-autofill {
  -webkit-text-fill-color: var(--c-white);
  box-shadow: 0 0 0 100px var(--c-navy) inset;
  caret-color: var(--c-white);
}

/* ==========================================================================
   PÁGINAS LEGAIS (politica-de-privacidade.html)
   ========================================================================== */
.legal { padding: calc(var(--header-h) + 80px) 0 120px; }
.legal__container { max-width: calc(820px + var(--gutter) * 2); }
.legal__head { padding-bottom: 32px; margin-bottom: 40px; border-bottom: 1px solid var(--c-gray-200); }
.legal__title {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.legal__updated { margin-top: 16px; font-size: 15px; line-height: 24px; opacity: .7; }
.legal__body { font-size: 17px; line-height: 30px; }
.legal__body > * + * { margin-top: 20px; }
.legal__body section { padding-top: 24px; }
.legal__body h2 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
}
.legal__body p + p, .legal__body p + ul, .legal__body ul + p { margin-top: 12px; }
.legal__body ul { padding-left: 22px; list-style: disc; }
.legal__body li + li { margin-top: 8px; }
.legal__body li::marker { color: var(--c-green); }
.legal__body a { color: var(--c-green-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--c-green); }
.legal__toc {
  padding: 28px 32px;
  border-radius: var(--radius-md);
  background: var(--c-sand);
}
.legal__toc-title { margin-bottom: 8px; font-weight: 600; text-transform: uppercase; font-size: 14px; letter-spacing: .06em; }
.legal__toc ol { columns: 2; column-gap: 32px; padding-left: 22px; list-style: decimal; font-size: 16px; line-height: 28px; }
.legal__toc li + li { margin-top: 0; }
.legal__toc li::marker { color: var(--c-green-dark); font-weight: 600; }
.legal__toc a { color: inherit; text-decoration: none; }
.legal__toc a:hover { color: var(--c-green-dark); text-decoration: underline; }

/* Aviso de LGPD da newsletter (index.html) */
.newsletter__legal a { text-decoration: underline; text-underline-offset: 2px; }
.newsletter__legal a:hover { color: var(--c-green-dark); }

/* ==========================================================================
   FOOTER
   Marca à esquerda; Endereço e Contato agrupados à direita. As bordas do
   bloco principal coincidem com as da faixa inferior (copyright × links).
   ========================================================================== */
.site-footer {
  padding-top: 72px;
  background: var(--c-navy);
  color: var(--c-white);
}
.site-footer .container { max-width: calc(1184px + var(--gutter) * 2); }
.site-footer__main {
  display: grid;
  grid-template-columns: 1fr auto auto;
  column-gap: 96px;
  align-items: start;
  padding-bottom: 64px;
}
.site-footer__brand { max-width: 360px; }
.site-footer__logo { display: block; width: 145px; height: 45px; }
.site-footer__tagline {
  margin-top: 20px;
  font-size: 15px;
  line-height: 24px;
  color: rgba(255, 255, 255, .72);
}
/* Rótulos pequenos em caixa alta: hierarquia clara sem competir com a marca */
.site-footer__title {
  margin-bottom: 16px;
  font-family: var(--ff);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-green);
}
.site-footer__text { font-size: 15px; line-height: 26px; font-style: normal; }
.site-footer__contact li + li { margin-top: 2px; }
.site-footer a { transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease); }
.site-footer a:hover { color: var(--c-green); }

.social { display: flex; gap: 10px; margin-top: 28px; }
.social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
}
.social a:hover { border-color: var(--c-green); background: var(--c-green); color: var(--c-white); }

/* Faixa inferior: copyright + links legais */
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  font-size: 13px;
  line-height: 20px;
}
.site-footer__bottom-inner p { color: rgba(255, 255, 255, .6); }
.site-footer__legal { display: flex; gap: 32px; }
.site-footer__legal a { color: rgba(255, 255, 255, .8); }
.site-footer__legal a:hover, .site-footer__legal a[aria-current="page"] { color: var(--c-green); }

/* ==========================================================================
   BANNER DE COOKIES (criado pelo JS em initCookieBanner)
   Desktop: card no canto inferior esquerdo (o botão flutuante fica à direita).
   Celular: ocupa a largura da tela e o botão flutuante some até a escolha.
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 28px;
  bottom: 28px;
  z-index: 95;
  width: min(520px, calc(100% - 56px));
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--c-navy);
  color: var(--c-white);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
  animation: cookie-in .45s var(--ease) both;
}
.cookie-banner.is-hiding { opacity: 0; transform: translateY(16px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } }
.cookie-banner__text { font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, .88); }
.cookie-banner__text a { color: var(--c-white); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__text a:hover { color: var(--c-green); }
.cookie-banner__actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 18px; }
.cookie-banner__btn { --btn-h: 44px; padding: 0 22px; font-size: 13px; }
.cookie-banner__btn::after { content: none; } /* sem seta: são respostas, não navegação */

/* Botão secundário (contorno) para fundo escuro */
.btn--ghost { border: 1px solid rgba(255, 255, 255, .45); background: transparent; color: var(--c-white); }
.btn--ghost:hover { border-color: var(--c-white); background: rgba(255, 255, 255, .08); }

/* ==========================================================================
   BOTÃO FLUTUANTE
   ========================================================================== */
.float-contact {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border: 5px solid var(--c-white);
  border-radius: 50%;
  background: #7cc34a;
  color: var(--c-white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
  transition: transform .25s var(--ease);
}
.float-contact svg { width: 38px; height: 38px; }
.float-contact:hover { transform: scale(1.06); }

/* ==========================================================================
   ANIMAÇÕES DE ENTRADA (ativadas via JS — sem JS o conteúdo fica visível)
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

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

/* ==========================================================================
   RESPONSIVO
   O desktop (≥ 1280px) não é afetado por nada abaixo.
   ≤ 1279px  laptops pequenos: colunas fixas viram flexíveis
   ≤ 1023px  tablet: menu em painel, seções empilhadas
   ≤ 767px   celular: uma coluna, tipografia e espaçamentos compactos
   ========================================================================== */
/* Abaixo de ~1400px o botão flutuante passa por cima dos links legais do
   rodapé: a faixa inferior ganha um respiro à direita */
@media (max-width: 1399px) {
  .site-footer__bottom-inner { padding-right: calc(var(--gutter) + 96px); }
}

@media (max-width: 1279px) {
  .site-header__inner { padding-inline: 24px; }
  .btn--header { margin-right: 0; }
  .main-nav a { font-size: 15px; }
  .main-nav__list li + li::before { margin-inline: 12px; }

  .challenges__intro { grid-template-columns: 1fr 1fr; padding-inline: 0; }
  .challenges__grid { grid-template-columns: 1fr 1fr; column-gap: 24px; row-gap: 24px; }

  .help__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); column-gap: 40px; }
  .help__cards { grid-template-columns: 1fr 1fr; gap: 20px; }
  .info-card { padding: 26px 24px; }
  .info-card__title br { display: none; }
  .help__video { height: auto; aspect-ratio: 464 / 578; margin-right: 0; }

  .method__grid { grid-template-columns: 340px 1fr; column-gap: 64px; }

  .banner__inner { padding-inline: 48px; }

  .news__grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }

  .newsletter__box { --nl-pad: 48px; grid-template-columns: 1fr 1fr; gap: 48px; }
  .newsletter__text { line-height: 30px; }

  .specialist__box { grid-template-columns: 1fr 1fr; gap: 48px; }
  .specialist__img { width: 100%; height: auto; aspect-ratio: 564 / 340; }

  .site-footer__main { column-gap: 56px; }
}

@media (max-width: 1023px) {
  :root { --header-h: 72px; --gutter: 32px; }

  body { font-size: 17px; }

  /* ---------- Header + menu em painel ---------- */
  .site-header__inner { grid-template-columns: 1fr auto; padding-inline: var(--gutter); }
  .site-header__logo img { width: 142px; height: 44px; }
  .btn--header { display: none; }

  .nav-toggle {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-right: -10px; /* área de toque de 44px, ícone alinhado à margem */
    color: var(--c-navy);
  }
  .nav-toggle__bar {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .3s var(--ease), opacity .2s var(--ease);
  }
  .nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .js .site-header:not(.is-scrolled):not(.site-header--solid) .nav-toggle,
  .nav-open .site-header .nav-toggle { color: var(--c-white); }

  /* Com o menu aberto o header vira parte do painel (azul-marinho) */
  .nav-open { overflow: hidden; }
  .nav-open .site-header,
  .js.nav-open .site-header:not(.is-scrolled):not(.site-header--solid) { background: var(--c-navy); box-shadow: none; }
  .nav-open .site-header .site-header__logo-img--color { opacity: 0; }
  .nav-open .site-header .site-header__logo-img--white { opacity: 1; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    display: flex;
    flex-direction: column;
    padding: 16px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: var(--c-navy);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-open .main-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .main-nav__list { flex-direction: column; align-items: stretch; }
  .main-nav__list li { display: block; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .main-nav__list li + li::before { content: none; }
  .main-nav__list a,
  .js .site-header:not(.is-scrolled):not(.site-header--solid) .main-nav__list a:not(:hover):not(.is-active) {
    display: block;
    padding: 20px 0;
    font-family: var(--ff-display);
    font-size: 22px;
    line-height: 28px;
    font-weight: 600;
    color: var(--c-white);
  }
  .main-nav .main-nav__list a.is-active { color: var(--c-green); }
  .main-nav .main-nav__cta {
    display: inline-flex;
    width: 100%;
    margin-top: auto;
    padding: 0 24px;
    font-family: var(--ff);
    font-size: 15px;
    line-height: 1;
  }

  /* ---------- Hero ---------- */
  .hero { height: 90vh; height: 90svh; min-height: 520px; }
  .hero__title { font-size: 56px; }

  /* ---------- Seções empilhadas ---------- */
  .challenges { padding-top: 96px; }
  .challenges__intro { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .challenges__intro .section-title { margin-top: 0; }
  .challenges__lead { font-size: 18px; line-height: 31px; }
  .challenges__grid { grid-template-rows: 300px 300px; }
  .challenge-card { --card-pad: 28px; }
  .challenge-card__text { font-size: 16px; line-height: 26px; }

  .help { padding-top: 104px; }
  .help__grid { grid-template-columns: 1fr; row-gap: 48px; }
  .help__lead { font-size: 18px; line-height: 31px; }
  .help__cards { margin-top: 40px; }
  .info-card { min-height: 0; }
  .help__video { aspect-ratio: 16 / 10; margin-top: 0; }

  .method { padding: 104px 0; }
  .method__grid { grid-template-columns: 1fr; row-gap: 48px; }
  .method__intro { position: static; }
  .method__lead { max-width: 560px; }

  .banner { height: auto; margin-top: 0; padding: 96px 0; }
  .banner__inner { padding: 0 var(--gutter); }
  .banner__text { font-size: 22px; line-height: 32px; }
  .banner__text br { display: none; }
  .banner__text--right { margin-top: 48px; }

  .solutions { padding-top: 96px; }
  .solutions__title { font-size: 28px; line-height: 36px; }

  .news { margin-top: 104px; padding: 64px 0; }
  .news__grid { gap: 24px; }

  .newsletter { padding-top: 96px; }
  .news[hidden] + .newsletter { margin-top: 104px; padding: 72px 0; }
  .newsletter__box { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .newsletter__text { max-width: 560px; }

  .specialist { padding: 72px 0 96px; }
  .specialist__box { grid-template-columns: minmax(0, 1fr); row-gap: 32px; padding: 24px 24px 40px; }
  .specialist__content { padding: 0 16px; }

  .site-footer__main { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .site-footer__brand { grid-column: 1 / -1; }
  /* Faixa inferior empilhada, com respiro para o botão flutuante não cobrir o copyright */
  .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding-block: 20px calc(100px + env(safe-area-inset-bottom)); padding-right: var(--gutter); }
  .site-footer__legal { flex-wrap: wrap; gap: 8px 24px; }
  .site-footer__legal a { display: inline-block; padding-block: 4px; }

  .float-contact { right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); width: 68px; height: 68px; border-width: 4px; }
  .float-contact svg { width: 32px; height: 32px; }

  .legal { padding: calc(var(--header-h) + 56px) 0 96px; }
  .legal__title { font-size: 40px; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; }

  body { font-size: 16px; }
  .section-title { font-size: 20px; line-height: 26px; }

  /* Sem "levantar" no toque: no celular o hover fica preso após tocar */
  .btn:hover, .btn:active { transform: none; }
  /* Botões longos quebram em 2 linhas em vez de vazar da tela */
  .btn { height: auto; min-height: var(--btn-h); padding: 14px 20px; font-size: 14px; letter-spacing: .05em; white-space: normal; line-height: 1.3; text-align: center; }

  /* ---------- Hero ---------- */
  /* Capas no formato dos vídeos mobile (vertical na hero, 4:3 na apresentação) */
  .hero__video { background-image: url("../assets/img/hero-poster-mobile.webp"); }
  .help__video-media { background-image: url("../assets/img/apresentacao-poster-mobile.webp"); }
  .hero__content { padding-inline: var(--gutter); }
  .hero__title { font-size: 38px; line-height: 1.08; letter-spacing: -.02em; }
  .hero__text { margin: 20px 0 32px; font-size: 16px; line-height: 26px; }
  .hero__text br { display: none; }

  /* ---------- Desafios ---------- */
  .challenges { padding-top: 72px; }
  .challenges__intro { margin-bottom: 32px; }
  .challenges__intro .section-title br { display: none; }
  .challenges__lead { font-size: 16px; line-height: 27px; }
  .challenges__grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 320px; row-gap: 16px; }
  .challenge-card--tall { grid-row: auto; }
  .challenge-card { --card-pad: 24px; }
  .challenge-card__body { bottom: var(--card-pad); }
  .challenge-card__title { font-size: 17px; line-height: 24px; margin-bottom: 8px; }
  .challenge-card__text { font-size: 15px; line-height: 23px; }

  /* ---------- Como atuamos ---------- */
  .help { padding-top: 80px; }
  .help__lead { margin-top: 14px; font-size: 16px; line-height: 27px; }
  .help__cards { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .info-card { padding: 24px; }
  .info-card__avatar { margin-bottom: 16px; }
  .info-card__title { font-size: 18px; }
  .info-card__title br { display: none; }
  .info-card__text { font-size: 16px; line-height: 24px; }
  .help__video { aspect-ratio: 4 / 3; border-radius: var(--radius-md); }

  /* ---------- Método ---------- */
  .method { padding: 80px 0; }
  .method__grid { row-gap: 40px; }
  .method__lead { margin: 14px 0 24px; font-size: 16px; line-height: 27px; }
  .method__intro .btn { width: 100%; }
  .flow { --node-size: 40px; }
  .flow__step { padding: 0 0 56px calc(var(--node-size) + 20px); }
  .flow__node { font-size: 13px; }
  .flow__label { padding-top: 0; font-size: 12px; }
  .flow__title { margin-top: 6px; font-size: 21px; line-height: 28px; }
  .flow__text { margin-top: 8px; font-size: 15px; line-height: 25px; }
  .flow__tags { gap: 6px; margin-top: 14px; }
  .flow__tags li { padding: 5px 12px; font-size: 12px; line-height: 16px; }

  /* ---------- Banner ---------- */
  .banner { padding: 72px 0; }
  .banner__text { font-size: 18px; line-height: 27px; }
  .banner__text--right { margin-top: 32px; text-align: left; }

  /* ---------- Soluções: card ocupa ~80% da tela e o próximo "espia" ---------- */
  .solutions { padding-top: 80px; }
  .solutions__title { font-size: 22px; line-height: 29px; }
  .carousel { --carousel-bleed: 0px; margin-top: 24px; margin-left: 0; }
  /* gap > margem lateral: o card anterior (e sua sombra) fica fora da tela */
  .carousel__track { gap: calc(var(--gutter) + 8px); padding: 4px var(--gutter) 12px; scroll-padding-left: var(--gutter); }
  .solution-card { flex-basis: min(80vw, 302px); }
  .solution-card__img { height: 150px; }
  .solution-card__body { padding: 20px 24px 28px; }
  .solution-card__title { font-size: 18px; line-height: 23px; }
  .solution-card__text { font-size: 15px; line-height: 21px; }
  .solutions__footer { margin-top: 28px; }
  .solutions__footer .btn { width: 100%; }
  .carousel__nav { display: none; } /* no toque, arrastar é o gesto natural */

  /* ---------- WET News ---------- */
  .news { margin-top: 80px; padding: 56px 0; }
  .news__grid { grid-template-columns: 1fr; gap: 40px; margin-top: 32px; }
  .news-card__thumb { height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-md); }
  .news-card__title { margin: 18px 0 6px; font-size: 18px; }
  .news-card__excerpt { margin: 0; font-size: 15px; line-height: 25px; }
  .news__cta { margin-top: 48px; }
  .news__cta .btn { width: 100%; }

  /* ---------- Newsletter ---------- */
  .newsletter { padding-top: 72px; }
  .news[hidden] + .newsletter { margin-top: 80px; padding: 56px 0; }
  .newsletter__box { --nl-pad: 28px 20px; --nl-gap: 12px; row-gap: 28px; border-radius: var(--radius-md); }
  .newsletter .section-title { line-height: 26px; }
  .newsletter__text { font-size: 16px; line-height: 26px; }
  .newsletter__legal { margin-top: 2px; font-size: 13px; line-height: 19px; }
  .newsletter__feedback { position: static; margin-top: 0; font-size: 15px; }
  .newsletter__feedback:empty { display: none; }
  /* 16px nos campos: abaixo disso o iOS dá zoom ao focar */
  .field { height: 54px; padding: 0 22px; font-size: 16px; }

  /* ---------- Fale com especialista ---------- */
  .specialist { padding: 56px 0 80px; }
  .specialist__box { row-gap: 24px; padding: 12px 12px 28px; border-radius: var(--radius-md); }
  .specialist__img { border-radius: 12px; }
  .specialist__content { padding: 0 12px; }
  .specialist__text { margin: 12px 0 24px; font-size: 16px; line-height: 27px; }
  .specialist__content .btn { width: 100%; }

  /* ---------- Pop-up de contato ---------- */
  .contact-modal { width: calc(100% - 24px); max-height: calc(100vh - 24px); max-height: calc(100svh - 24px); border-radius: var(--radius-md); }
  .contact-modal__box { padding: 32px 20px 24px; }
  .contact-modal__close { top: 12px; right: 12px; width: 44px; height: 44px; }
  .contact-modal__title { font-size: 24px; line-height: 30px; }
  .contact-modal__text { font-size: 15px; line-height: 24px; }
  .contact-form { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
  .contact-form .field { font-size: 16px; }
  .contact-form__legal { font-size: 13px; line-height: 19px; }

  /* ---------- Footer ---------- */
  .site-footer { padding-top: 56px; }
  .site-footer__main { grid-template-columns: 1fr; row-gap: 36px; padding-bottom: 48px; }
  .site-footer__title { margin-bottom: 10px; }

  /* ---------- Banner de cookies ---------- */
  .cookie-banner { left: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: calc(100% - 24px); padding: 20px; }
  .cookie-banner__text { font-size: 13px; line-height: 20px; }
  .cookie-banner__actions { margin-top: 16px; }
  .cookie-banner__btn { flex: 1; padding: 0 12px; }
  .has-cookie-banner .float-contact { visibility: hidden; opacity: 0; }

  /* ---------- Botão flutuante ---------- */
  .float-contact { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 60px; height: 60px; border-width: 3px; }
  .float-contact svg { width: 28px; height: 28px; }

  /* ---------- Páginas legais ---------- */
  .legal { padding: calc(var(--header-h) + 40px) 0 80px; }
  .legal__title { font-size: 28px; }
  .legal__head { padding-bottom: 24px; margin-bottom: 28px; }
  .legal__body { font-size: 16px; line-height: 27px; }
  .legal__body h2 { font-size: 19px; line-height: 26px; }
  .legal__toc { padding: 22px 20px; }
  .legal__toc ol { columns: 1; font-size: 15px; }
}

/* Celulares estreitos (iPhone SE / Galaxy S8: 320–375px) */
@media (max-width: 374px) {
  .hero__title { font-size: 32px; }
  .challenges__grid { grid-auto-rows: 340px; }
}
