:root {
  --ac-navy: #0b2a6f;
  --ac-navy-dark: #081f55;
  --ac-yellow: #ffc61a;
  --ac-soft: #eef2fb;
  --ac-text: #2b3550;
}

.script { font-family: 'Yellowtail', cursive; font-weight: 400; display: block; line-height: 1; }
.script--navy { color: var(--ac-navy); font-size: 1.5em; }
/* amarelo um pouco mais escuro + contorno fino azul para não sumir sobre fundo claro */
.script--yellow { color: #f5a800; font-size: 1.5em; -webkit-text-stroke: .6px rgba(11,42,111,.35); }

/* ---------- Botões ---------- */
.btn-acolher {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 40px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 14px;
  text-decoration: none; border: 2px solid transparent;
  transition: all .25s ease; cursor: pointer;
}
.btn-acolher--navy { background: var(--ac-navy); color: #fff; }
.btn-acolher--navy:hover { background: var(--ac-navy-dark); color: #fff; }
.btn-acolher--outline { background: #fff; color: var(--ac-navy); border-color: var(--ac-navy); }
.btn-acolher--outline:hover { background: var(--ac-navy); color: #fff; }
.btn-acolher--yellow { background: var(--ac-yellow); color: var(--ac-navy); }
.btn-acolher--yellow:hover { background: #fff; color: var(--ac-navy); }
.btn-acolher--lg { padding: 18px 36px; font-size: 16px; }

.readmore--yellow a { background: var(--ac-yellow); color: var(--ac-navy); text-transform: none; font-size: 15px; padding: 16px 32px; }
.readmore--yellow a:hover { background: var(--ac-navy); color: #fff; }

.section-title-acolher {
  text-align: center; color: var(--ac-navy);
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 32px;
  margin-bottom: 40px; position: relative;
}
.section-title-acolher:after {
  content: ""; display: block; width: 90px; height: 3px;
  background: var(--ac-yellow); border-radius: 3px; margin: 14px auto 0;
}

/* ---------- Hero ---------- */
.hero-acolher { position: relative; width: 100%; overflow: hidden; background: #fff; }
/* Slides na mesma célula; só o ativo fica visível (e focável) */
.hero-acolher__slides { display: grid; position: relative; }
.hero-slide {
  grid-area: 1 / 1; position: relative; display: grid;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .8s ease, visibility 0s linear .8s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; transition-delay: 0s; }

/* A imagem mantém a proporção original: nada é cortado ao alargar a tela.
   O texto ocupa a mesma célula da imagem; se ele precisar de mais altura do que a imagem tem
   (telas estreitas ou frases longas), o hero cresce e a imagem é recortada pelas laterais, preservando
   o lado direito. Em telas ultralargas há uma altura máxima, e o recorte é só em cima e embaixo. */
.hero-slide__pic, .hero-slide__link { grid-area: 1 / 1; display: block; width: 100%; height: 100%; }
.hero-slide__pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
@media (min-width: 768px) {
  .hero-slide__pic img { max-height: 780px; }
}

/* Texto e véu SÓ existem quando o banner tem frase (has-text) */
.hero-slide__content { grid-area: 1 / 1; position: relative; z-index: 2; display: flex; align-items: center; pointer-events: none; }
.hero-slide__content a { pointer-events: auto; }
.hero-slide__content > .container { width: 100%; } /* alinha o texto à esquerda do container em qualquer versão do Bootstrap */
.hero-slide.has-text::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 30%,
    rgba(255,255,255,.55) 48%, rgba(255,255,255,0) 68%);
}
.hero-acolher__text { max-width: 640px; padding: 36px 0; }

/* Frase de cima, título e frase de baixo */
.hero-acolher__eyebrow {
  margin: 0 0 14px; font: 600 14px/1.2 'Montserrat', sans-serif;
  letter-spacing: .24em; text-transform: uppercase; color: #c28a00;
}
.hero-acolher__title {
  margin: 0 0 22px; font-family: 'Montserrat', sans-serif; font-weight: 800;
  color: var(--ac-navy); font-size: clamp(34px, 5vw, 72px); line-height: 1.02; letter-spacing: -.02em;
  text-shadow: 0 0 12px rgba(255,255,255,.9), 0 0 3px rgba(255,255,255,.8);
}
.hero-acolher__sub {
  margin: 0 0 30px; max-width: 520px; color: #3f4658;
  font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65;
}
.hero-acolher__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-hero {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px;
  background: #fff; color: var(--ac-navy); border: 2px solid #dfe3ec; border-radius: 12px;
  font: 600 15px/1 'Montserrat', sans-serif; text-decoration: none; transition: all .25s ease;
}
.btn-hero:hover { background: var(--ac-navy); border-color: var(--ac-navy); color: #fff; }

.hero-acolher__dots { position: absolute; bottom: 14px; right: 24px; z-index: 5; display: flex; gap: 8px; }
.hero-acolher__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.8); box-shadow: 0 0 4px rgba(0,0,0,.35); cursor: pointer; }
.hero-acolher__dots button.is-active { background: var(--ac-yellow); }

/* ---------- Fases ---------- */
.fases-wrap { padding: 60px 0 50px; background: #fff; }
.fase-card {
  display: block; position: relative; background: #fff; text-align: center;
  border-radius: 18px; overflow: hidden; text-decoration: none;
  box-shadow: 0 6px 22px rgba(11, 42, 111, .12);
  transition: transform .3s ease, box-shadow .3s ease; margin-bottom: 24px;
}
.fase-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(11, 42, 111, .2); }
.fase-card__img { display: block; height: 170px; overflow: hidden; }
.fase-card__img img { width: 100%; height: 100%; object-fit: cover; }
.fase-card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; margin: -27px auto 0; position: relative;
  background: #fff; color: var(--ac-navy); border-radius: 50%; font-size: 22px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .12);
}
.fase-card__body { display: block; padding: 10px 14px 22px; }
.fase-card__body strong { display: block; color: var(--ac-navy); font-family: 'Montserrat', sans-serif; font-size: 18px; }
.fase-card__body small { display: block; color: var(--ac-text); font-size: 13px; margin-top: 4px; }

/* ---------- Muito além ---------- */
.alem-wrap { background: linear-gradient(90deg, #fff 0%, var(--ac-soft) 100%); padding: 50px 0; overflow: hidden; }
.alem-title { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--ac-navy); font-size: 34px; line-height: 1.1; margin-bottom: 14px; }
.alem-text { color: var(--ac-text); font-size: 16px; margin-bottom: 0; }
.alem-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 16px; margin: 0; padding: 0 0 0 20px; list-style: none; }
.alem-icons li { text-align: center; }
.alem-icons a, .alem-icons__item { text-decoration: none; color: var(--ac-navy); display: block; }
.alem-icons i { display: block; font-size: 38px; margin-bottom: 10px; }
.alem-icons span { font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 15px; line-height: 1.25; }
.alem-icons a:hover i { color: var(--ac-yellow); }

/* ---------- Estrutura ---------- */
.estrutura-wrap { padding: 40px 0 20px; }
.estrutura-box {
  display: flex; align-items: center; gap: 40px;
  background: var(--ac-soft); border-radius: 28px; overflow: hidden; padding-right: 40px;
}
.estrutura-box__img { flex: 0 0 48%; }
.estrutura-box__img img { display: block; width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.estrutura-box__text h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--ac-navy); font-size: 32px; line-height: 1.15; }
.estrutura-box__text p { color: var(--ac-text); font-size: 17px; margin: 10px 0 0; }
.estrutura-box__line { display: block; width: 80px; height: 3px; background: var(--ac-yellow); border-radius: 3px; margin-top: 12px; }

/* ---------- Depoimentos escritos ---------- */
.depo-wrap { padding: 30px 0; }
.depo-wrap .container > .owl-carousel { background: var(--ac-soft); border-radius: 28px; padding: 24px 40px; }
.depo-item { display: flex; align-items: center; gap: 24px; }
.depo-item__quote { font-size: 44px; color: var(--ac-yellow); }
.depo-item__text { flex: 1; margin: 0; padding: 0; background: none; font-style: italic; color: var(--ac-navy); font-size: 18px; }
.depo-item__text:before { display: none; }
.depo-item__text footer { font-style: normal; font-size: 13px; margin-top: 8px; }
.depo-item__foto { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; }
.depo-owl .owl-dots { text-align: right; margin-top: 8px; }
.depo-owl .owl-dots button.owl-dot span { display: block; width: 10px; height: 10px; margin: 0 4px; border-radius: 50%; background: #c6cde0; }
.depo-owl .owl-dots button.owl-dot.active span { background: var(--ac-yellow); }

.depo-stars { display: block; margin-bottom: 8px; font-size: 15px; color: #f5a800; }
.depo-stars .far { color: #c6cde0; }
.depo-item__texto { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.depo-item__text footer { color: var(--ac-text); }
.depo-google { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--ac-text); }
.depo-google i { color: var(--ac-navy); margin-right: 4px; }
.depo-google a { color: var(--ac-navy); text-decoration: underline; }

/* ---------- Links úteis ---------- */
.links-uteis { padding: 10px 0 50px; text-align: center; }
.links-uteis .btn-acolher { margin: 6px; }

/* ---------- CTA final ---------- */
.cta-final { background: var(--ac-navy); color: #fff; padding: 36px 0; position: relative; }
.cta-final__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta-final__plane { font-size: 54px; color: #fff; opacity: .85; }
.cta-final__text { flex: 1; }
.cta-final__text h2 { color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 30px; margin-bottom: 6px; }
.cta-final__text p { color: #dbe3f7; font-size: 15px; margin: 0; line-height: 1.5; }

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
  .alem-icons { margin: 30px 0 0; padding: 0; }
  .estrutura-box { flex-direction: column; padding: 0 0 30px; gap: 20px; text-align: center; }
  .estrutura-box__img { flex: none; width: 100%; }
  .estrutura-box__line { margin-left: auto; margin-right: auto; }
  .cta-final__inner { flex-direction: column; text-align: center; }
}

/* ---------- Mobile: imagem 9:16 própria, sem recorte; frase sobre a parte de baixo da imagem ---------- */
@media (max-width: 767px) {
  .hero-slide.has-text::after {
    background: linear-gradient(0deg,
      rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 34%,
      rgba(255,255,255,.55) 56%, rgba(255,255,255,0) 78%);
  }
  .hero-slide__content { align-items: flex-end; padding: 0 0 40px; }
  .hero-acolher__text { max-width: none; padding: 0; }
  .hero-acolher__eyebrow { font-size: 12px; margin-bottom: 10px; }
  .hero-acolher__title { font-size: 32px; margin-bottom: 14px; }
  .hero-acolher__sub { font-size: 15px; line-height: 1.55; margin-bottom: 20px; }
  .btn-hero { width: 100%; justify-content: center; }
  .hero-acolher__dots { right: 50%; transform: translateX(50%); bottom: 12px; }

  /* Sem imagem mobile cadastrada: usa a do desktop e o texto vai para baixo da imagem (não cabe por cima) */
  .hero-slide.mobile-fallback { display: block; }
  .hero-slide.mobile-fallback .hero-slide__pic,
  .hero-slide.mobile-fallback .hero-slide__pic img { height: auto; }
  .hero-slide.mobile-fallback.has-text::after { display: none; }
  .hero-slide.mobile-fallback .hero-slide__content { padding: 24px 0 44px; pointer-events: auto; }

  .section-title-acolher { font-size: 24px; }
  .alem-title { font-size: 28px; }
  .alem-icons { grid-template-columns: repeat(2, 1fr); }
  .depo-wrap .container > .owl-carousel { padding: 20px; }
  .depo-item { flex-direction: column; text-align: center; gap: 12px; }
  .depo-item__quote { display: none; }
  .depo-owl .owl-dots { text-align: center; }
  .cta-final__text h2 { font-size: 24px; }
  .cta-final__plane { display: none; }
}

/* ---------- Banner popup ---------- */
.popup-acolher {
  position: fixed; inset: 0; z-index: 2147483000; /* abaixo da faixa de cookies, acima do resto */
  display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(8, 31, 85, .72);
  animation: popupFade .3s ease;
}
.popup-acolher[hidden] { display: none; }
.popup-acolher__box { position: relative; max-width: min(92vw, 640px); max-height: 90vh; }
.popup-acolher__box img { display: block; max-width: 100%; max-height: 90vh; width: auto; height: auto; margin: 0 auto; border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.popup-acolher__close {
  position: absolute; top: -14px; right: -14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--ac-navy); font-size: 28px; line-height: 38px; padding: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,.35);
}
.popup-acolher__close:hover { background: var(--ac-yellow); }
body.popup-aberto { overflow: hidden; }
@keyframes popupFade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 767px) { .popup-acolher__close { top: -10px; right: -6px; } }

/* ---------- Fade suave ao rolar (uma vez por seção) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: none; }
}