/* =========================================================
   CONFIGURAÇÕES DO CORPO (base tipografia)
   ========================================================= */
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  background: #ffffff;
  color: #333333;
}

html, body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #27373f;
}

/* =========================================================
   HEADER
   ========================================================= */
/* barra sobre o banner (gradiente) */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: linear-gradient(
    180deg,
    rgba(14, 62, 153, .85) 0%,
    rgba(14, 62, 153, .55) 55%,
    rgba(14, 62, 153, 0) 100%
  );
}

/* container do header */
.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* navegação principal */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
}

.nav a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  padding: 8px 0;
  transition: all .2s ease;
}

/* hover e estado ativo (guia) */
.nav a:hover {
  color: #034aa6;
  background: #f2b705;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
}

.nav a.is-active {
  color: #ffffff;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 12px;
  border: 2px solid #f2b705;
}

/* dropdown — Trabalhe Conosco */
.nav__item { 
  position: relative; 
}

.nav__item,
.nav__item .dropdown { 
  overflow: visible;
}

.nav__item .dropdown {
  position: absolute;
  white-space: nowrap;   /* evita quebra de linha */
  top: 100%;
  left: 0;
  z-index: 99;
  display: none;
  flex-direction: column;
  gap: 12px;
  padding-top: 10px;
  background: transparent;
  box-shadow: none;
}

/* indicador gráfico no hover (ElementoMenus_31x31.png) */
.nav__item .dropdown a::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 50%;
  width: 31px;
  height: 31px;
  transform: translateY(-50%);
  background: url("../img/ElementoMenus_31x31.png") center/contain no-repeat;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity .15s ease;
}

.nav__item .dropdown a:hover::before,
.nav__item .dropdown a.is-active::before {
  opacity: 1;
}

.nav__item:hover .dropdown { 
  display: flex; 
}

.dropdown a:hover {
  border: 3px solid #f2b705;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
}

/* header / menu — responsivo */
@media (max-width: 960px) {
  .header__inner { 
    padding: 12px 16px; 
  }
  .header__logo img { 
    height: 40px; 
  }
  .nav { 
    gap: 16px; 
  }
  .nav a { 
    font-size: 16px; 
  }
}

/* =========================================================
   TELA PRINCIPAL (Hero / Banner)
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__banner {
  width: 100%;
  height: auto;
  display: block;
  opacity: 1;
  transition: opacity .6s ease;
}

/* classe aplicada durante a troca de imagens */
.hero__banner.is-fading {
  opacity: 0;
}

/* navegação (bolinhas) sobre o banner */
.hero__nav {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 2.5vw, 26px);
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 5;
}

.hero__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #c8d2d8;
  opacity: .9;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}

.hero__dot:is(:hover,:focus-visible) { 
  transform: scale(1.08); 
  opacity: 1; 
}

.hero__dot.is-active:nth-child(1) { 
  background: #f2b705; 
}

.hero__dot.is-active:nth-child(2) { 
  background: #37b2ff; 
}

.hero__dot:focus-visible { 
  outline: 3px solid rgba(255,255,255,.8); 
  outline-offset: 2px; 
}

/* =========================================================
   SERVIÇOS
   ========================================================= */
/* seções base */
.section { 
  padding: clamp(36px, 6vw, 72px) 0; 
}

.section .container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 20px; 
}

.section__title {
  text-align: center;
  margin: 0 0 28px;
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 40px);
  color: #27373f;
}

/* grid da seção: intro à esquerda + 2 cards à direita */
.services .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.services__intro { 
  grid-column: 1; 
}

.services__intro h2 {
  margin: 0 0 12px;
  font-weight: 700;
  color: #4e6c7f;
  font-size: clamp(24px, 3vw, 32px);

}

.section__title services__title {
  margin: 20px 0    ;
}

.services .lead { 
  margin-top: 16px; 
  max-width: 46ch; 
  font-size: 24px;
  color: #4e6c7f;
}

/* lista com ícone (ElementoMenus) — 27pt, sem afastamento extra */
.list-check { 
  list-style: none;
  margin: 10px 0 0; 
  padding: 0; 
  white-space: nowrap;
}

.list-check li {
  position: relative; 
  padding-left: 44px;            /* espaço para o ícone + respiro */
  margin: 10px 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 400;              /* Regular */
  font-size: 20pt;
  color: #4e6c7f;
  line-height: 1;                /* sem afastamento entre linhas */
}

.list-check li::before {
  content: "";
  position: absolute; 
  left: 0; 
  top: 50%;
  width: 31px; 
  height: 31px; 
  transform: translateY(-50%);
  background: url("../img/ElementoMenus_31x31.png") center/contain no-repeat;
}

/* cards centralizados como no layout */
.services__cards  { 
  grid-column: 2 / span 2; 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: clamp(16px, 3vw, 24px); 
}

.service-card { 
  text-align: center;
  background: #f7fafb;
  border: 2px solid #d9e4ea;
  border-radius: 14px;
  padding: clamp(18px, 2.5vw, 26px);
  color: #27373f;
  box-shadow: 0 2px 0 rgba(0,0,0,.04) inset;
}

.service-card header { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 10px; 
  margin-bottom: 8px; 
}

.service-card header img {        
  height: clamp(56px, 7vw, 72px);
  width: auto;
}

.service-card h3 { 
  margin: 0; 
  font-weight: 700;
  font-size: clamp(25px, 2.4vw, 20px); 
}

.service-card p { 
  margin: 0; 
  font-size: 20px; 
  line-height: 1.6; 
  text-align: justify;
}

/* responsivo — serviços */
@media (max-width: 960px) {
  .services .container { 
    grid-template-columns: 1fr; 
  }
  .services__cards { 
    grid-column: 1; 
    grid-template-columns: 1fr; 
  }
}

/* =========================================================
   DIFERENCIAIS
   ========================================================= */
.diff__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 28px);
  text-align: center;
}

.diff__item img { 
  height: clamp(56px, 8vw, 88px); 
  width: auto; 
}

.diff__item h3 { 
  margin: 10px 0 6px; 
  font-size: clamp(26px, 2.4vw, 20px); 
}

.diff__item p { 
  margin: 0 auto; 
  max-width: 36ch; 
  font-size: 18px; 
}

/* responsivo — diferenciais */
@media (max-width: 960px) {
  .services .container { 
    grid-template-columns: 1fr; 
  }
}

@media (max-width: 720px) {
  .diff__grid { 
    grid-template-columns: 1fr 1fr; 
  }
}

@media (max-width: 480px) {
  .diff__grid { 
    grid-template-columns: 1fr; 
  }
}

/* =========================================================
   WHATSAPP (FAB)
   ========================================================= */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 30;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
}

.whatsapp-fab img,
.whatsapp-fab svg {
  width: 100%;
  height: 100%;
  display: block;
}

@media (hover:hover) {
  .whatsapp-fab:hover {
    transform: translateY(-2px);
    transition: transform .2s ease;
  }
}

@media (max-width: 768px) {
  .whatsapp-fab {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 68px;
    height: 68px;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #EEF2F1;
  padding: 48px 24px 28px;
}

.site-footer .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto; /* logo na última coluna */
  column-gap: 48px;
  align-items: start;
}

/* títulos dos blocos */
.site-footer h3 {
  margin: 0 0 14px;
  font-weight: 500;             /* Montserrat Medium */
  font-size: 30px;
  line-height: 1.05;
  color: #27373f;
}

/* mapa do site */
.site-footer ul { 
  margin: 0; 
  padding: 0; 
  list-style: none; 
}

.site-footer li { 
  margin: 8px 0; 
}

.site-footer a {
  text-decoration: none;
  color: #27373f;
  font-weight: 300;             /* Montserrat Light */
  font-size: 24px;
  line-height: 1.15;
}

/* contato e @vava.bene */
.footer__contact p,
.footer__social span {
  display: flex;
  align-items: start;
  gap: 10px;
  margin: 10px 0;
  font-weight: 500;
  font-size: 20px;
  color: #27373f;
}

/* ícones sociais */
.footer__social a { 
  display: inline-block; 
  margin-right: 12px; 
}

.footer__brand { 
  justify-self: end; 
  align-self: center; 
}

.footer__brand img { 
  max-width: 316px; 
  height: auto; 
}

/* barra legal/credits */
.footer__legal {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: #6a767a;
}

/* responsivo — footer */
@media (max-width: 1200px) {
  .site-footer h3 { 
    font-size: 26px; 
  }
  .site-footer a,
  .footer__contact p,
  .footer__social span { 
    font-size: 22px; 
  }
}

@media (max-width: 1100px) {
  .site-footer .container {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }
  .footer__brand { 
    grid-column: 1 / -1; 
    justify-self: center; 
  }
  .footer__brand img { 
    max-width: 260px; 
  }
}

@media (max-width: 640px) {
  .site-footer .container { 
    grid-template-columns: 1fr; 
  }
  .footer__brand { 
    order: 4; 
  }
  .site-footer h3 { 
    font-size: 22px; 
  }
  .site-footer a,
  .footer__contact p,
  .footer__social span { 
    font-size: 18px; 
  }
  .footer__brand img { 
    max-width: 220px; 
  }
}
