/* ===========================================================
   COOPSAÚDE BH — LANDING PAGE
   Design system: Poppins (títulos/botões) + Roboto (texto)
   Cores: #1AA899 (verde-água) · #3C4858 (texto) · #FFFFFF / #E5E5E5
   =========================================================== */

:root {
  --teal: #1aa899;
  --teal-dark: #148a7e;
  --teal-light: #e3f4f2;
  --text: #3c4858;
  --text-soft: #6b7684;
  --white: #ffffff;
  --bg: #e5e5e5;
  --bg-soft: #f4f6f6;
  --border: #dfe3e2;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5d;

  --container: 1200px;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(60, 72, 88, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 60, 55, 0.14);

  --poppins: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --roboto: "Roboto", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--roboto);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

h1, h2, h3, h4 {
  font-family: var(--poppins);
  color: var(--text);
  margin: 0;
  line-height: 1.22;
}

p {
  margin: 0;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-family: var(--poppins);
  font-weight: 600;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--poppins);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
  text-decoration: none;
  user-select: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 2px;
}

.btn svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.36);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn--outline-teal {
  background: transparent;
  color: var(--teal-dark);
  border-color: var(--teal);
}

.btn--outline-teal:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

/* ---------- Badge / eyebrow ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-family: var(--poppins);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.badge--on-dark {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.badge--on-dark .badge__dot {
  background: var(--white);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

/* No desktop o cabeçalho rola junto com a página (não fica fixo).
   No mobile continua sticky (usado pelo menu hambúrguer). */
@media (min-width: 901px) {
  .site-header {
    position: static;
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  height: 56px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__panel {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav__link {
  font-family: var(--poppins);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text);
  position: relative;
  padding: 6px 2px;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--teal);
  opacity: 0;
  transform: translateY(2px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.nav__link:hover {
  color: var(--teal-dark);
}

.nav__link:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.header__cta {
  padding: 11px 20px;
  font-size: 0.88rem;
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  flex-shrink: 0;
}

.nav__toggle-line {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  display: block;
}

@media (max-width: 900px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 70px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 20px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    overflow-y: auto;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__panel {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav__link {
    padding: 12px 4px;
    border-bottom: 1px solid var(--border);
  }

  .header__cta {
    justify-content: center;
    margin-top: 8px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: #0f3844;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  filter: saturate(0.78) brightness(1.1) contrast(0.95);
}

/* Camada de degradê azul-petróleo por cima da foto do hero — mais forte à
   esquerda (onde fica o texto) e nunca some de vez, só esmaece bem leve
   sobre o resto da foto. Isso é CSS, não faz parte da imagem: pra trocar
   a foto basta substituir img/hero-desktop.jpg / img/hero-mobile.jpg que
   o tratamento se aplica sozinho, sem precisar editar nada no Photoshop.
   object-position: right center acima também joga o "peso" da foto pra
   direita, sobrando mais espaço neutro à esquerda pro texto. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Faixa sólida larga (0–38%) garante contraste pro texto em QUALQUER
     largura de tela — antes o degradê acompanhava a foto, e em telas bem
     largas (onde a foto cabe inteira, sem corte) ela aparecia sem
     escurecer nada. Agora a % é sempre relativa à largura do hero, não
     ao recorte da imagem, então o efeito "esquerda escura → direita
     clara" fica consistente do celular ao monitor ultrawide. */
  background:
    linear-gradient(90deg, rgba(13, 46, 55, 0.95) 0%, rgba(13, 46, 55, 0.92) 36%, rgba(18, 60, 72, 0.62) 54%, rgba(24, 76, 90, 0.26) 72%, rgba(24, 76, 90, 0.14) 100%),
    linear-gradient(0deg, rgba(15, 52, 62, 0.26) 0%, rgba(15, 52, 62, 0) 22%);
}

.hero__bg--mobile {
  display: none;
}

.hero__bg-mobile-wrap {
  display: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: 76px 64px;
}

.hero__content {
  max-width: 620px;
}

.hero__title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--white);
  margin-top: 18px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.hero__subtitle {
  font-family: var(--roboto);
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 18px;
  max-width: 540px;
  line-height: 1.7;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.hero__actions {
  margin-top: 30px;
}

.hero__checks {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero__checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--white);
  font-size: 0.96rem;
}

.hero__check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal);
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.hero__check-icon svg {
  width: 13px;
  height: 13px;
  fill: var(--white);
}

@media (max-width: 780px) {
  .hero {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__bg {
    display: none;
  }

  .hero::after {
    display: none;
  }

  .hero__bg-mobile-wrap {
    display: block;
    position: relative;
  }

  /* No mobile o texto fica num bloco sólido separado (sem foto atrás),
     então a foto abaixo aparece limpa, em cor natural — sem véu nem
     filtro — igual à referência: bloco de texto + foto completa. */
  .hero__bg--mobile {
    display: block;
    width: 100%;
  }

  .hero__inner {
    padding: 0;
  }

  .hero__content {
    max-width: none;
    padding: 34px 0 44px;
    text-align: center;
  }

  .hero__title {
    font-size: 1.7rem;
  }

  .hero__actions {
    display: flex;
    justify-content: center;
  }

  .hero__checks {
    text-align: left;
  }
}

/* ---------- Stats / credibilidade ---------- */
.stats {
  background: var(--teal-dark);
  padding-block: 28px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
  color: var(--white);
  padding-inline: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.stat:first-child {
  border-left: none;
}

.stat__title {
  font-family: var(--poppins);
  font-weight: 700;
  font-size: 1.15rem;
}

.stat__text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 6px;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 26px;
  }

  .stat:nth-child(3) {
    border-left: none;
  }

  .stat:nth-child(odd) {
    border-left: none;
  }
}

/* ---------- Conheça a CoopSaúde (vídeo) ---------- */
/* Flex simples: vídeo de um lado, bloco de texto+CTA do outro, cada um com
   sua altura natural (align-items:center centraliza o mais curto). Nada de
   grid-row-span aqui — foi isso que empurrava o CTA pra longe do texto
   quando o vídeo (mais alto, por causa do 9:16) "puxava" a altura da
   linha do grid. */
.video-feature {
  display: flex;
  align-items: center;
  gap: 64px;
}

.video-feature__media {
  flex: 0 0 auto;
  width: 100%;
  max-width: 320px;
}

.video-feature__body {
  flex: 1 1 auto;
  min-width: 0;
}

.video-feature__cta {
  margin-top: 28px;
}

/* Caixa 9:16 (YouTube Shorts) — mantém a proporção vertical sem esticar.
   A imagem de capa entra via background-image inline (poster.jpg); o
   iframe do YouTube é injetado por JS só depois do clique em play. */
.video-feature__player {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #000;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}

.video-feature__player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Véu escuro sutil sobre o poster, só antes de tocar — ajuda o botão de
   play a se destacar em cima de qualquer frame de fundo. */
.video-feature__player::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 59, 56, 0.22);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.video-feature__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--white);
  transition: background 0.15s ease, transform 0.15s ease;
}

.video-feature__play:hover {
  background: rgba(255, 255, 255, 0.34);
  transform: scale(1.06);
}

.video-feature__play svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  margin-left: 3px;
}

.video-feature__player.is-playing::before,
.video-feature__player.is-playing .video-feature__play {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  .video-feature {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  /* "Desaparece" como caixa — título/texto e CTA viram itens soltos do
     flex do .video-feature, podendo cada um ter seu próprio order. */
  .video-feature__body {
    display: contents;
  }

  .video-feature__text {
    order: 1;
    text-align: center;
  }

  .video-feature__media {
    order: 2;
    max-width: 320px;
    margin-inline: auto;
  }

  .video-feature__cta {
    order: 3;
    margin-top: 0;
    text-align: center;
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: 88px;
}

.section--soft {
  background: var(--bg-soft);
}

.section--tinted {
  background: var(--teal-light);
}

.section__header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section__header--center {
  margin-inline: auto;
  text-align: center;
}

/* No mobile, todo cabeçalho de seção (badge + título + texto de apoio)
   fica centralizado — independente da seção usar --center ou
   --center-desktop no desktop. */
@media (max-width: 780px) {
  .section__header {
    margin-inline: auto;
    text-align: center;
  }
}

/* Centralizado só no desktop — no mobile mantém alinhado à esquerda */
@media (min-width: 781px) {
  .section__header--center-desktop {
    margin-inline: auto;
    text-align: center;
  }
}

.section__title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  margin-top: 16px;
}

.section__intro {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.75;
}

.section__intro + .section__intro {
  margin-top: 12px;
}

.section__cta {
  margin-top: 52px;
  text-align: center;
}

@media (max-width: 640px) {
  .section {
    padding-block: 60px;
  }

  .section__header {
    margin-bottom: 36px;
  }
}

/* ---------- Cards: para quem é o atendimento ---------- */
.grid--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.audience-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.audience-card__media {
  aspect-ratio: 4 / 3;
  position: relative;
  background: #0d3b38;
  overflow: hidden;
}

.audience-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.75) contrast(1.02);
}

/* Camada de degradê verde-água por cima das fotos — além de reforçar a
   identidade visual da marca, uniformiza o tom das imagens (geradas por
   IA) para que leiam como um ensaio fotográfico tratado, e não fotos
   soltas. Overlay em alpha simples (sem mix-blend-mode): mais forte e
   sempre visível, sem depender de blend mode + filter se combinarem bem
   entre navegadores. */
.audience-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(13, 59, 56, 0.62) 0%, rgba(26, 168, 153, 0.32) 55%, rgba(26, 168, 153, 0.14) 100%);
}

.audience-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.14), transparent 55%);
}

.audience-card__body {
  padding: 26px 26px 30px;
}

.audience-card__title {
  font-size: 1.1rem;
  font-weight: 600;
}

.audience-card__text {
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ---------- Serviços ---------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  height: 100%;
}

.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--teal-light);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--teal-dark);
}

.service-card__title {
  font-size: 1.08rem;
  font-weight: 600;
}

.service-card__text {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ---------- Cuidador x Enfermagem ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.compare-card {
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  background: var(--white);
  border: 1px solid var(--border);
}

.compare-card--highlight {
  background: var(--teal-dark);
  color: var(--white);
  border: none;
  box-shadow: var(--shadow-lg);
}

.compare-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.compare-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal-light);
  flex-shrink: 0;
}

.compare-card--highlight .compare-card__icon {
  background: rgba(255, 255, 255, 0.16);
}

.compare-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--teal-dark);
}

.compare-card--highlight .compare-card__icon svg {
  stroke: var(--white);
}

.compare-card__title {
  font-size: 1.18rem;
  font-weight: 600;
}

.compare-card--highlight .compare-card__title {
  color: var(--white);
}

.compare-card__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.compare-card__list li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.compare-card__list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.compare-card--highlight .compare-card__list li::before {
  background: var(--white);
}

.compare-card--highlight .compare-card__list li {
  color: rgba(255, 255, 255, 0.92);
}

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

/* ---------- Como funciona (timeline) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--border);
}

.step {
  position: relative;
  text-align: center;
}

.step__num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: var(--poppins);
  font-weight: 700;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 24px rgba(26, 168, 153, 0.32);
}

.step__title {
  font-size: 1.02rem;
  font-weight: 600;
}

.step__text {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

@media (max-width: 860px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
  }

  .step__num {
    margin: 0;
    flex-shrink: 0;
  }

  .step__content {
    flex: 1 1 auto;
    min-width: 0;
  }
}

/* ---------- Sobre ---------- */
.about {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.about__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__text p {
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.8;
  margin-top: 16px;
}

.about__text p:first-of-type {
  margin-top: 18px;
}

.about__cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.about-video {
  margin-top: 72px;
}

.about-stats {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 132px;
}

.about-stat__title {
  font-family: var(--poppins);
  font-weight: 700;
  color: var(--teal-dark);
  font-size: 1.05rem;
}

.about-stat__text {
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--text-soft);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Avaliações Google (carrossel) ---------- */
.reviews-carousel {
  position: relative;
}

.reviews-viewport {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reviews-viewport::-webkit-scrollbar {
  display: none;
}

.reviews-track {
  display: flex;
  gap: 24px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.reviews-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.reviews-nav-btn:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-1px);
}

.reviews-nav-btn svg {
  width: 20px;
  height: 20px;
}

.reviews-google-link {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.reviews-google-link a {
  color: var(--teal-dark);
  font-weight: 600;
  text-decoration: underline;
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-family: var(--poppins);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-card__name {
  font-family: var(--poppins);
  font-weight: 600;
  font-size: 0.95rem;
}

.review-card__meta {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-top: 2px;
}

.review-card__stars {
  margin-top: 14px;
  display: flex;
  gap: 3px;
}

.review-card__stars svg {
  width: 16px;
  height: 16px;
  fill: #f5b400;
}

.review-card__text {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

@media (max-width: 900px) {
  .review-card {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 640px) {
  .review-card {
    flex-basis: 88%;
  }
}

/* ---------- FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 840px;
  margin-inline: auto;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 24px;
}

.faq__item[open] {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.faq__question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-family: var(--poppins);
  font-weight: 600;
  font-size: 0.98rem;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__icon {
  order: -1;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  position: relative;
  font-size: 1.1rem;
  line-height: 1;
}

.faq__icon::after {
  content: "+";
}

.faq__item[open] .faq__icon::after {
  content: "\2212";
}

.faq__answer {
  padding: 0 0 20px;
  color: var(--text-soft);
  font-size: 0.94rem;
  line-height: 1.75;
}

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(120deg, #0d3b38 0%, var(--teal-dark) 100%);
  padding-block: 84px;
  text-align: center;
}

.cta-final__title {
  color: var(--white);
  margin-top: 18px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  max-width: 760px;
  margin-inline: auto;
}

.cta-final__text {
  color: rgba(255, 255, 255, 0.86);
  max-width: 620px;
  margin: 20px auto 0;
  font-size: 1rem;
  line-height: 1.75;
}

.cta-final__actions {
  margin-top: 34px;
}

.cta-final__foot {
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: #0b2e2b;
  color: rgba(255, 255, 255, 0.82);
  padding-block: 64px 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 44px;
}

.footer__brand img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.footer__desc {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.68);
}

.footer__social {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.footer__social a {
  height: 38px;
  padding: 0 16px;
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.footer__social a:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__heading {
  font-family: var(--poppins);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.footer__list a:hover {
  color: var(--white);
}

.footer__map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  height: 200px;
}

.footer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}

.footer__map-link {
  position: absolute;
  inset: 0;
  display: block;
}

.footer__map-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  color: var(--teal-dark);
  font-family: var(--poppins);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 9px 15px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.footer__map-badge svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.footer__map-link:hover .footer__map-badge {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
}

.footer__bottom {
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer__bottom a {
  font-weight: 400;
}

.footer__bottom a:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.42);
  transition: transform 0.16s ease, background 0.16s ease;
}

.wa-float:hover {
  background: var(--whatsapp-dark);
  transform: scale(1.08);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

/* ---------- Modal / mini formulário WhatsApp ---------- */
.wa-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 46, 43, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.wa-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wa-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(11, 46, 43, 0.38);
  padding: 34px;
  transform: translateY(16px);
  transition: transform 0.2s ease;
}

.wa-modal-overlay.is-open .wa-modal {
  transform: translateY(0);
}

.wa-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-soft);
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.wa-modal-close:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.wa-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  padding-right: 26px;
}

.wa-modal-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 22%;
  background: var(--whatsapp);
  display: grid;
  place-items: center;
}

.wa-modal-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.wa-modal-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.wa-modal-header p {
  font-family: var(--roboto);
  font-size: 0.86rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.wa-modal-field {
  margin-bottom: 18px;
}

.wa-modal-field label {
  display: block;
  font-family: var(--poppins);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}

.wa-modal-field input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  font-family: var(--roboto);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wa-modal-field input::placeholder {
  color: rgba(107, 118, 132, 0.6);
}

.wa-modal-field input:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(26, 168, 153, 0.18);
  background: var(--white);
}

.wa-modal-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  background: var(--whatsapp);
  color: #fff;
  font-family: var(--poppins);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 24px;
  min-height: 56px;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
  margin-top: 6px;
}

.wa-modal-submit svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  flex-shrink: 0;
}

.wa-modal-submit:not(:disabled):hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.38);
}

.wa-modal-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.wa-modal-foot {
  margin-top: 16px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.wa-modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 4px 8px;
}

.wa-modal-success svg {
  width: 52px;
  height: 52px;
  fill: var(--whatsapp);
  margin-bottom: 16px;
}

.wa-modal-success p {
  font-family: var(--poppins);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.wa-modal-overlay.is-success .wa-modal-form-view {
  display: none;
}

.wa-modal-overlay.is-success .wa-modal-success {
  display: flex;
}

@media (max-width: 480px) {
  .wa-modal {
    padding: 28px 22px;
  }
}

/* ---------- Responsivo geral ---------- */
@media (max-width: 900px) {
  .grid--3 {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }
}
