@import url("../fonts/roboto.css");

/* ==========================================================================
   AFP Lacres — folha de estilo principal
   Recriação estática do site afplacres.com.br (sem Elementor / WordPress)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --verde-escuro: #0a6331;
  --verde-claro: #0cab53;
  --cinza-menu: #e3e5e7;
  --cinza-menu-dark: #666666;

  --secondary: #54595f;
  --text: #7a7a7a;
  --accent: #61ce70;
  --dark: #333333;
  --card-head: #f0f0f0;

  --container: 1140px;
  --font: "Roboto", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --header-h: 106px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--dark);
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; border: 0; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }

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

.sr-only {
  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: -9999px;
  top: 0;
  z-index: 999;
  background: #fff;
  padding: 10px 16px;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   3. Botões
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: var(--accent);
  border-radius: 22px;
  padding: 15px 70px;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  transition: transform .3s, background-color .3s;
}
.btn:hover { transform: scale(1.1); }

.btn--hero {
  font-size: 18px;
  padding: 10px 50px;
  text-transform: none;
}
.btn--lg { font-size: 18px; }

.btn--card {
  font-size: 15px;
  font-weight: 700;
  color: var(--secondary);
  background: var(--accent);
  border-radius: 32px;
  padding: 8px 40px;
  text-transform: none;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   4. Cabeçalho
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cinza-menu);
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, .28);
}

.site-header__inner {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 2%;
  padding: 10px 0;
}

.site-header__logo {
  flex: 0 0 auto;
  width: 15.073%;
  max-width: 15.073%;
}

.nav { flex: 0 0 auto; }

.nav__list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  text-transform: uppercase;
  color: var(--cinza-menu-dark);
  padding: 19px 20px;
  margin-right: 13.5px;
  transition: color .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--verde-escuro);
  opacity: 0;
  transition: opacity .3s;
}
.nav__link:hover,
.nav__link:focus-visible,
.nav__link.is-active { color: var(--verde-claro); }
.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link.is-active::after { opacity: 1; }

.site-header__selo { flex: 0 1 auto; width: 86px; }

.nav-toggle {
  display: none;
  padding: 8px;
  color: var(--cinza-menu-dark);
}
.nav-toggle svg { width: 28px; height: 28px; display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* --------------------------------------------------------------------------
   5. Blocos de seção genéricos
   -------------------------------------------------------------------------- */
.section { padding-inline: 10px; }
.section--gray { background: var(--cinza-menu); }
.section--white { background: #fff; }

/* Equivale ao .e-con-inner do Elementor: 1140px, padding 10px 0 e gap 20px */
.con-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.con-inner > .row-full { width: 100%; }

.section-title {
  font-family: var(--font);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  color: var(--verde-claro);
  margin-top: 20px;
}

/* O divisor tem margens negativas e o wrapper colapsa para altura 0,
   exatamente como o widget de imagem do Elementor. */
.divider-wrap { width: 486px; max-width: 100%; }
/* top: no Elementor a imagem fica no meio de uma linha de 24px, 6px abaixo */
.divider { position: relative; top: 6px; width: 100%; margin: -20px 0; }

.section__lead {
  width: 41%;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  color: var(--text);
}
.section__lead p { margin: 0 0 14.4px; }   /* 0.9em — o Elementor mantém no último p */

.spacer { display: block; width: 100%; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  min-height: 796px;
  padding: 10px;
  margin-top: -96px;
  background-image: url("../img/202307-engineer-foreman-working-in-container-terminal-in-2021-09-03-02-58-55-utc-1.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #020000 0%, #000000 100%);
  opacity: .55;
}

.hero__title {
  align-self: center;
  width: 48%;
  font-family: var(--font);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  color: #fff;
}

.hero__text {
  align-self: center;
  width: 24%;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  color: #fff;
}

.hero__text p { margin: 0 0 14.4px; }
.hero__cta { align-self: center; margin: 5px; }
.hero__spacer { height: 74px; }

/* --------------------------------------------------------------------------
   7. Segmentos
   -------------------------------------------------------------------------- */
.segmentos__row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  padding: 10px;
}

.imgbox {
  width: 200px;
  text-align: center;
}
.imgbox__fig { display: inline-block; width: 44%; margin: 0; }
.imgbox__fig img { width: 100%; transition: transform .3s; }
.imgbox:hover .imgbox__fig img { transform: scale(1.1); }
.imgbox__title {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--cinza-menu-dark);
  margin: 8px 0 16px;
}

/* --------------------------------------------------------------------------
   8. Produtos
   -------------------------------------------------------------------------- */
.produtos-intro { padding-bottom: 0; }

.group-title {
  width: 72%;
  max-width: var(--container);
  margin-inline: auto;
  padding: 5px;
  background: var(--cinza-menu);
  font-family: var(--font);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  color: var(--dark);
}

.group-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
}
.group-title-spacer { height: 22px; }

.prod-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 882px;
  margin-inline: auto;
  padding: 0 0 40px;
}

.card {
  display: flex;
  flex-direction: column;
  width: 33.3333%;
  padding: 30px;
}

.card__head {
  display: flex;
  flex-direction: column;      /* faz o título encolher para a largura da maior linha */
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 0 10px;
  background: var(--card-head);
  border-radius: 40px 40px 0 0;
}

.card__title {
  font-family: var(--font);
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  color: var(--secondary);
}

.card__media {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  border-radius: 0 0 40px 40px;
}
.card__media img {
  align-self: center;        /* como o widget de imagem: largura do atributo, até 100% */
  max-width: 100%;
  border-radius: 0 0 40px 40px;
}

.card__cta { align-self: center; }

/* --------------------------------------------------------------------------
   9. Faixas de CTA / vídeo
   -------------------------------------------------------------------------- */
.cta-btn-band {
  display: flex;
  justify-content: center;
}
.cta-btn-band--1 { padding: 35px 10px 75px; }   /* 156px de altura total */
.cta-btn-band--2 { padding: 25px; }              /*  96px */
.cta-btn-band--3 { padding: 35px; }              /* 116px */

.video-band {
  position: relative;
  overflow: hidden;
  min-height: 365px;
  padding-inline: 10px;
  background-image: url("../img/202307-COVER-THUMB-SESSION-PARALAX-AFPLACRES.jpg");
  background-size: cover;
  background-position: center center;
}
.video-band--tall { min-height: 648px; }

.video-band__frame {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 0;
}
.video-band__frame iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;          /* 16:9 */
  min-height: 100%;
  min-width: 177.77vh;      /* 16:9 */
  transform: translate(-50%, -50%);
  border: 0;
}

.cta-band {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding-inline: 10px;
  background-image: url("../img/202307-3265461-scaled.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #234934;
  opacity: .6;
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 0;
}
.cta-band__title {
  font-family: var(--font);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  color: #fff;
}
.cta-band__text {
  align-self: center;
  width: 46%;
  font-family: var(--font);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  color: var(--cinza-menu);
}
.cta-band__text { line-height: 31.5px; }
.cta-band__text p { margin: 0 0 14.4px; }
.cta-band__cta { align-self: center; margin: 5px; }
.cta-band__inner::after { content: ""; margin-top: 1px; }  /* item vazio que o container do Elementor tem no fim (+20px de gap) */

/* --------------------------------------------------------------------------
   10. Empresa / Valores
   -------------------------------------------------------------------------- */
.empresa__row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;                 /* colunas de 550px dentro de 1140, como no ar */
  width: 100%;
  padding: 10px;
}
.empresa__media { width: 50%; padding: 20px; }
.empresa__text {
  width: 50%;
  padding: 25px 120px 0 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  color: var(--text);
}
.empresa__text p { margin: 0 0 14.4px; }
.empresa__spacer { height: 10px; }

.valores {
  display: flex;
  flex-direction: row;
  gap: 0;
  width: 100%;
}
.valores__col {
  display: flex;
  flex-direction: column;
  width: 50%;
}
.valores__col--list { justify-content: flex-start; gap: 20px; margin: 10px; padding: 20px; }
.valores__col--media { padding: 10px; }
.valores__col--media .empresa__media { width: 100%; }

.valorbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 10px 0 0 30px;
}
.valorbox__fig { flex: 0 1 auto; width: 14%; margin-right: 29px; }
.valorbox__title {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--cinza-menu-dark);
  margin: 8px 0 16px;
}

/* --------------------------------------------------------------------------
   11. Confiança e Qualidade
   -------------------------------------------------------------------------- */
.qualbox {
  display: flex;
  align-items: center;
  width: 55%;
  min-height: 100px;
}
.qualbox--right { flex-direction: row-reverse; }
.qualbox--right .qualbox__fig { margin-left: 13px; }
.qualbox--left { flex-direction: row; padding-right: 50px; }
.qualbox--left .qualbox__fig { margin-right: 13px; }
.qualbox__fig { flex: 0 1 auto; width: 19%; align-self: flex-start; }
.qualbox--left .qualbox__fig { width: 21%; }
/* Image box do Elementor: imagem com largura em % e texto com 100%, os dois encolhem
   juntos (flex-shrink) — é isso que dá o tamanho final do ícone */
.valorbox__title, .qualbox__title { width: 100%; flex: 0 1 auto; }
/* imagem em linha, como no image-box do Elementor (a caixa ganha o respiro da linha) */
.valorbox__fig { font-size: 16px; line-height: 1.5; }
.valorbox__fig img { display: inline-block; }
.qualbox__title {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--cinza-menu-dark);
  margin: 8px 0 16px;
}
.qualbox--right .qualbox__title { text-align: right; }

.banner-band { padding-inline: 10px; }
.banner-band img { margin: 40px; width: calc(100% - 80px); }
.banner-band .con-inner { padding: 10px 0; }

/* --------------------------------------------------------------------------
   12. Carrossel de clientes
   -------------------------------------------------------------------------- */
.clientes { padding-inline: 10px; }

.carousel { position: relative; overflow: hidden; }
.carousel__track {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform .6s ease;
  will-change: transform;
}
.carousel__slide {
  flex: 0 0 calc((100% - 4 * 12px) / 5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel__slide img { width: 100%; height: auto; }
/* mesmos pontos de quebra do Logo Carousel do site: 5 / 4 / 3 / 2 / 1 por vez */
@media (max-width: 1199px) { .carousel__slide { flex-basis: calc((100% - 3 * 12px) / 4); } }
@media (max-width: 979px)  { .carousel__slide { flex-basis: calc((100% - 2 * 12px) / 3); } }
@media (max-width: 735px)  { .carousel__slide { flex-basis: calc((100% - 12px) / 2); } }
@media (max-width: 479px)  { .carousel__slide { flex-basis: 100%; } }

.carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5d5d5;
  transition: background-color .3s;
}
.carousel__dot.is-active { background: var(--verde-claro); }

/* --------------------------------------------------------------------------
   13. Formulário de contato
   -------------------------------------------------------------------------- */
.contato {
  position: relative;
  isolation: isolate;
  min-height: 454px;
  margin-top: 30px;
  padding: 0;
  background-image: url("../img/202307-3265461-scaled.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.contato::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #3b855b;
  opacity: .6;
}
.contato__inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;       /* a coluna da direita fica da altura do card: a seta se ancora no fundo dele */
  gap: 20px;
  padding: 50px 0;
}

.form-card {
  position: relative;
  flex: 0 1 auto;
  align-self: flex-start;
  width: 38.75%;            /* 441,75px dentro de 1140 */
  margin-left: 20px;
  padding: 30px;
  background: #fff;
  border-radius: 20px;
}

.field { margin: 0 -5px 10px; padding: 0 5px; }
.field__label {
  display: block;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  color: var(--verde-claro);
  padding-bottom: 7px;
}
/* asterisco de campo obrigatório via CSS, como o Elementor */
.field--required .field__label::after { content: " *"; padding-left: .2em; }

.field__input,
.field__textarea {
  display: block;
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
  background: var(--cinza-menu);
  border: 1px solid var(--verde-escuro);
  border-radius: 16px;
  padding: 8px 16px;
  min-height: 40px;
}
.field__textarea { padding: 5px 14px; height: 96px; resize: vertical; }
.field__input:focus,
.field__textarea:focus { outline: 2px solid var(--verde-claro); outline-offset: 1px; }

.form-submit {
  display: block;
  width: 100%;
  min-height: 40px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #fff;
  background: var(--accent);
  border-radius: 20px;
  padding: 0;
  line-height: 15px;
  transition: background-color .3s;
}
.form-submit:hover { background: var(--verde-claro); }

/* fora do fluxo, no respiro de baixo do card: a mensagem não muda a altura do card (e a seta não sai do botão) */
.form-status { position: absolute; left: 30px; right: 30px; bottom: 7px; margin: 0; font-size: 14px; line-height: 1.2; color: var(--secondary); }

.contato__aside {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 10px;
}
.contato__aside > * { width: 500px; max-width: 100%; }
.contato__title {
  font-family: var(--font);
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  color: #fff;
}
.contato__text {
  font-family: var(--font);
  font-size: 21px;
  font-weight: 500;
  line-height: 31.5px;
  text-align: center;
  color: var(--cinza-menu);
}
.contato__text p { margin: 0 0 14.4px; }
.contato__title .so-mobile { display: none; }
/* Seta apontando para o ENVIAR. Sem o reCAPTCHA o card ficou 93px mais baixo, então
   a seta é ancorada no fundo do card (= fundo desta coluna): a ponta, que fica a 13,9%
   da altura da imagem acima da base, cai no centro do botão (30px de padding + 20px
   de meio botão). Ela fica um pouco menor que no Elementor (175px contra 226px) para
   a cauda não encostar no texto, que agora está mais perto. */
.contato__seta-wrap {
  position: absolute;
  left: calc(50% - 300px);    /* mesma posição horizontal do original (-50px da coluna de 500px) */
  bottom: calc(50px - 175px * 239 / 297 * .139);
  width: 175px;
}
.contato__seta { width: 100%; margin: 0; }

/* --------------------------------------------------------------------------
   14. Rodapé
   -------------------------------------------------------------------------- */
.site-footer__main { background: var(--cinza-menu); }
.site-footer__inner {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
}
.site-footer__logo { width: 15%; flex: 0 1 auto; }
.site-footer__address {
  flex: 1 0 auto;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  color: var(--secondary);
}
.site-footer__address p { margin: 0 0 14.4px; }
.site-footer__social-head {
  flex: 0 1 auto;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: var(--secondary);
}
.social {
  display: flex;
  flex: 0 1 auto;
  gap: 5px;
}
.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  transition: transform .3s;
}
.social__link:hover { transform: scale(1.1); }
.social__link svg { width: 17px; height: 17px; fill: currentColor; }
.social__link--linkedin { background: #0077b5; }
.social__link--facebook { background: #3b5998; }
.social__link--instagram { background: #d22f86; }

.site-footer__bar {
  background: var(--verde-claro);
  padding: 10px 0;
}
/* crédito no padrão das páginas da V4: caixa alta pequena, nome em destaque, link para o WhatsApp da agência */
.site-footer__credit { text-align: center; }
.site-footer__credit a {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  transition: color .2s;
}
.site-footer__credit strong { font-weight: 800; color: #fff; transition: color .2s; }
.site-footer__credit a:hover,
.site-footer__credit a:hover strong { color: var(--verde-escuro); }

/* --------------------------------------------------------------------------
   15. Popups de produto
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;               /* como no Elementor: no celular o popup ocupa a largura toda */
  background: rgba(0, 0, 0, .8);
  overflow-y: auto;
}
.modal-overlay.is-open { display: flex; }
body.modal-open { overflow: hidden; }

.modal {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: auto;
  box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, .2);
  animation: modal-in .3s ease;
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* mesmo "×" de 15px do popup do Elementor (top/right 20px), com área de toque maior */
.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  z-index: 2;
}
.modal__close svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.modal__close:hover { color: var(--verde-escuro); }

/* O conteúdo dos popups é a marcação do Elementor do site no ar; o CSS dele
   está em assets/css/popups.css + <style> de cada <template>. */

/* --------------------------------------------------------------------------
   16. Botão flutuante do WhatsApp
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  background: #25d366;
  color: #fff;
  box-shadow: 1px 6px 24px 0 rgba(7, 94, 84, .24);
  transition: transform .3s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 34px; height: 34px; fill: currentColor; }

/* --------------------------------------------------------------------------
   17. Animações de entrada
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .6s ease, transform .6s ease;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }
  .btn:hover, .social__link:hover, .wa-float:hover,
  .imgbox:hover .imgbox__fig img { transform: none; }
  .carousel__track { transition: none; }
}

/* --------------------------------------------------------------------------
   18. Responsivo — tablet (<= 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .site-header__inner { padding: 10px; }
  .site-header__logo { width: 160px; max-width: 160px; }
  .nav__link { font-size: 15px; padding: 14px 10px; margin-right: 0; }

  .hero__title { width: 622px; max-width: 100%; }
  .hero__text { width: 329px; max-width: 100%; }

  .segmentos__row { justify-content: center; gap: 0; }
  .segmentos__row + .segmentos__row { width: 563px; max-width: 100%; margin-inline: auto; justify-content: space-evenly; gap: 20px; }

  .card { padding: 20px; }

  .empresa__media { padding: 0; }
  .empresa__text { padding: 0; }

  .valores { align-items: center; }
  .valores__col--list { margin: 0; padding: 10px; justify-content: flex-start; }
  .valores__col--media { padding: 10px; }
  .valorbox { margin: 0; }
  .valorbox__fig { width: 17%; }
  .empresa__media img { height: 401px; object-fit: cover; object-position: center; }

  .video-band--tall { min-height: 596px; }
  .qualbox { min-height: 0; }
  .qualbox__fig { font-size: 16px; line-height: 1.5; }
  .qualbox__fig img { display: inline-block; }
  .qualbox:nth-child(4) { width: 474px; }
  .qualbox:nth-child(4) .qualbox__fig { width: 24%; }
  .qualbox:nth-child(5), .qualbox:nth-child(7) { width: 432px; }
  .qualbox:nth-child(5) .qualbox__fig, .qualbox:nth-child(7) .qualbox__fig { width: 31%; }
  .qualbox:nth-child(6) { width: 474px; padding-left: 50px; }
  .qualbox:nth-child(6) .qualbox__fig { width: 27%; }

  .cta-band__text { width: 475px; max-width: 100%; }

  /* como no Elementor: card com base de 585px e coluna com base de 100%, os dois encolhem */
  .contato__inner { padding: 50px 10px; }
  .form-card { flex: 0 1 585px; width: 585px; margin-left: 20px; }
  .contato__aside { flex: 1 1 calc(100% + 20px); }   /* base de conteúdo 100% + padding, como o e-con */
  .contato__text { width: 475px; }
  .contato__seta-wrap { left: calc(50% - 275px); width: 160px; bottom: calc(50px - 160px * 239 / 297 * .139); }

}

/* --------------------------------------------------------------------------
   19. Responsivo — mobile (<= 767px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .nav-toggle { display: block; }

  .site-header__inner { justify-content: space-between; gap: 10px; }
  .site-header__logo { width: 108px; max-width: 108px; }
  .site-header__selo { width: 56px; }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--cinza-menu);
    box-shadow: 0 8px 12px rgba(0, 0, 0, .18);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link {
    justify-content: center;
    padding: 14px 20px;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
  }
  .nav__link::after { display: none; }

  .hero__title { width: 100%; }

  .section__lead { width: 310px !important; max-width: 100%; }   /* vence a largura inline do desktop */
  .group-title-spacer { height: 10px; }

  /* no ar os segmentos viram uma coluna só, com caixas de 200px */
  .segmentos__row { flex-wrap: wrap; justify-content: center; }
  .segmentos__row + .segmentos__row { flex-direction: column; align-items: center; width: 100%; }

  .group-title-wrap .group-title { width: 274px; font-size: 25px; }

  .prod-grid { padding: 20px 10px 40px; }
  .card { width: 100%; padding: 20px; }

  .video-band { display: none; }

  .cta-band { padding: 70px 0 50px; }
  .cta-band__title { font-size: 23px; }
  .cta-band__text { width: 100%; line-height: 1.1; }
  .cta-band__cta { align-self: stretch; margin: 0 20px 20px; white-space: normal; text-align: center; }

  .empresa__row { flex-direction: column; }
  .empresa__media, .empresa__text { width: 100%; }
  .empresa__text { text-align: center; }

  .valores { flex-direction: column; }
  .valores__col { width: 100%; }
  .valores__col--list { gap: 20px; }
  .valorbox { flex-direction: column; text-align: center; }
  .valorbox__fig { margin: 0; }
  .empresa__media img { height: 215px; }

  /* image box no celular: ícone em cima, texto centralizado */
  .qualbox, .qualbox--right, .qualbox--left,
  .qualbox:nth-child(n) { flex-direction: column; align-items: center; width: 100%; padding: 20px; text-align: center; }
  .qualbox:nth-child(4) { padding: 0; }
  .qualbox--right .qualbox__title { text-align: center; }
  .qualbox__fig, .qualbox--left .qualbox__fig, .qualbox--right .qualbox__fig { align-self: center; margin: 0; }
  .qualbox:nth-child(4) .qualbox__fig { width: 26%; }
  .qualbox:nth-child(6) .qualbox__fig { width: 31%; }

  .banner-band img { margin: 0; width: 100%; }

  /* como no ar: título acima do formulário, texto abaixo e sem a seta */
  .contato__inner { flex-direction: column; align-items: stretch; justify-content: center; padding: 50px 10px; }
  .form-card { flex: none; width: 100%; margin-left: 0; align-self: stretch; }
  .contato__aside { display: contents; }
  .contato__aside > * { width: 100%; }
  .contato__title { order: -1; width: 99%; align-self: center; margin-bottom: 20px; font-size: 23px; }
  .contato__title .so-mobile { display: inline; }
  .contato__text { width: 100%; padding: 0 10px; line-height: 1.1; }
  .contato__seta-wrap { display: none; }

  .site-footer__inner { flex-direction: column; text-align: center; padding: 20px 10px; }
  .site-footer__logo { width: 140px; }
  .social { justify-content: center; }



  .wa-float { width: 54px; height: 54px; }
}
