/* ============================================================
   CENTRAL DENTE / Landing Page
   Paleta extraída da identidade visual (fachada azul royal,
   logo azul-petróleo, branco)
   ============================================================ */

:root {
  /* Cores da marca */
  --navy-950: #04101f;
  --navy-900: #071b33;
  --navy-800: #0b2a4d;
  --navy-700: #123a6b;
  --blue-600: #1d5bd8;
  --blue-500: #2b6ef5;
  --blue-400: #4d8bff;
  --blue-300: #8fb8ff;
  --ice-100: #eaf3ff;
  --ice-50: #f4f9ff;
  --white: #ffffff;
  --cyan: #6fd8f2;
  --petrol: #1d4a5e;

  /* Tipografia */
  --font-display: "Fraunces", serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  /* Medidas */
  --container: 1200px;
  --radius: 20px;
  --radius-lg: 28px;

  --shadow-soft: 0 20px 60px -20px rgba(7, 27, 51, 0.25);
  --shadow-card: 0 10px 40px -12px rgba(7, 27, 51, 0.18);
}

/* ============ RESET ============ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--navy-900);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

::selection {
  background: var(--blue-500);
  color: var(--white);
}

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

.container--narrow {
  width: min(100% - 48px, 820px);
}

.section {
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
}

.section--dark {
  background: var(--navy-900);
  color: var(--ice-100);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 18px;
  position: relative;
  padding-left: 34px;
}

.section-tag__ico {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  opacity: 0.85;
}

.section-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 2px;
  background: var(--blue-500);
}

.section-tag--light {
  color: var(--cyan);
}

.section-tag--light::before {
  background: var(--cyan);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.section-title em {
  font-style: italic;
  color: var(--blue-600);
}

.section-title--light {
  color: var(--white);
}

.section-title--light em {
  color: var(--cyan);
}

.section-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: #45587a;
  max-width: 60ch;
  margin-bottom: 16px;
}

.section-lead--light {
  color: #a8c0e0;
}

.section-body {
  color: #5b6d8c;
  max-width: 62ch;
  margin-bottom: 28px;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease;
  will-change: transform;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.02rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: var(--white);
  box-shadow: 0 12px 30px -10px rgba(43, 110, 245, 0.55);
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px -10px rgba(43, 110, 245, 0.7);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}

.btn--outline {
  border-color: var(--blue-500);
  color: var(--blue-600);
  background: transparent;
}

.btn--outline:hover {
  background: var(--blue-500);
  color: var(--white);
  transform: translateY(-3px);
}

.btn--white {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.4);
}

.btn--white:hover {
  transform: translateY(-3px) scale(1.03);
}

.btn--nav {
  padding: 11px 22px;
  font-size: 0.85rem;
}

/* ============ PRELOADER ============ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--navy-950);
  display: grid;
  place-items: center;
}

.preloader__inner {
  text-align: center;
}

.preloader__logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  display: block;
  margin-bottom: 28px;
}

.preloader__logo em {
  font-style: italic;
  color: var(--blue-400);
}

.preloader__bar {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  margin: 0 auto 16px;
  overflow: hidden;
}

.preloader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan));
}

.preloader__hint {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #5b7ba6;
}

/* ============ CURSOR ============ */
.cursor,
.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999;
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--blue-500);
  transform: translate(-50%, -50%);
}

.cursor-follower {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(43, 110, 245, 0.5);
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

.cursor-follower.is-hover {
  width: 64px;
  height: 64px;
  border-color: var(--cyan);
}

@media (hover: none), (max-width: 900px) {
  .cursor,
  .cursor-follower {
    display: none;
  }
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease,
    backdrop-filter 0.4s ease;
}

.nav.is-scrolled {
  padding: 12px 0;
  background: rgba(4, 16, 31, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px -10px rgba(0, 0, 0, 0.4);
}

.nav__inner {
  width: min(100% - 48px, 1320px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  white-space: nowrap;
}

.nav__logo em {
  font-style: italic;
  color: var(--blue-400);
}

.nav__links {
  display: flex;
  gap: 26px;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__burger span {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1080px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(4, 16, 31, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
  }

  .nav__links.is-open {
    opacity: 1;
    pointer-events: all;
  }

  .nav__links .nav__link {
    font-size: 1.4rem;
  }

  .nav__burger {
    display: flex;
    z-index: 101;
  }

  .btn--nav {
    display: none;
  }
}

/* ============ HERO ============ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: radial-gradient(120% 120% at 50% 0%, var(--navy-800) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  overflow: hidden;
  padding: 140px 0 100px;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  will-change: transform;
}

.orb--1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--blue-600), transparent 70%);
  top: -140px;
  left: -120px;
}

.orb--2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  bottom: -160px;
  right: -80px;
  opacity: 0.25;
}

.orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--blue-400), transparent 70%);
  top: 40%;
  right: 18%;
  opacity: 0.3;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(143, 184, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 184, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 50% 40%, black 30%, transparent 100%);
}

.noise {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.04'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Assinatura editorial: serifa itálica + onda desenhada,
   ecoando o swoosh do logo Central Dente */
.hero__eyebrow {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin-bottom: 34px;
}

.hero__eyebrow-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  letter-spacing: 0.03em;
  color: var(--blue-300);
}

.hero__eyebrow-text em {
  font-style: italic;
  font-weight: 600;
  color: var(--cyan);
}

.hero__eyebrow-swoosh {
  width: min(240px, 70%);
  height: 12px;
  overflow: visible;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: clamp(2.6rem, 7.2vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--white);
  max-width: 15ch;
  margin-bottom: 28px;
}

/* O gradiente precisa estar também nos spans/divs criados pelo
   SplitText, senão a palavra fica invisível (fill transparente
   sem background pintado no elemento transformado) */
.hero__title em,
.hero__title em span,
.hero__title em div {
  font-style: italic;
  background: linear-gradient(110deg, var(--blue-400), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  color: #a8c0e0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  max-width: 58ch;
  margin-bottom: 42px;
}

.hero__sub strong {
  color: var(--ice-100);
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: clamp(48px, 7vw, 80px);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 880px;
  padding-top: 36px;
  border-top: 1px solid rgba(143, 184, 255, 0.15);
}

.hero__stat {
  text-align: center;
}

.hero__stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: #7d97bd;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 12px;
  }
}

/* Garante que a borda inferior do hero termine exatamente em
   navy-950, casando com a metade escura da faixa marquee */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(4, 16, 31, 0), var(--navy-950));
  pointer-events: none;
  z-index: 1;
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(143, 184, 255, 0.35);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero__scroll span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--cyan);
  animation: scrollHint 1.8s infinite;
}

@keyframes scrollHint {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  70% {
    transform: translateY(12px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* ============ MARQUEE ============ */
/* O contêiner tem fundo dividido (escuro em cima, branco embaixo)
   e a barra azul rotacionada cobre a linha de divisão em toda a
   largura, então a emenda entre as seções nunca aparece */
.marquee {
  position: relative;
  z-index: 3;
  margin-top: -1px; /* elimina linha de subpixel contra o hero */
  padding: 36px 0;
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-950) 50%, var(--white) 50%, var(--white) 100%);
  overflow: hidden;
}

.marquee__bar {
  background: var(--blue-600);
  padding: 20px 0;
  transform: rotate(-1deg) scale(1.06);
  box-shadow: var(--shadow-soft);
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
}

.marquee__track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.marquee__track i {
  color: var(--cyan);
  font-style: normal;
  font-size: 0.9rem;
}

/* ============ SOBRE ============ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.about__media {
  position: relative;
  min-height: 520px;
}

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

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__photo--main {
  width: 78%;
  aspect-ratio: 4 / 5;
}

.about__photo--float {
  position: absolute;
  right: 0;
  bottom: 40px;
  width: 52%;
  aspect-ratio: 1;
  border: 6px solid var(--white);
}

.about__seal {
  position: absolute;
  top: -20px;
  right: 6%;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
}

.about__seal-ring {
  position: absolute;
  inset: 0;
  animation: spin 18s linear infinite;
}

.about__seal text {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  fill: var(--blue-600);
}

.about__seal-icon {
  width: 28px;
  height: 37px;
  color: var(--blue-600);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
  margin-bottom: 28px;
}

.about__features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about__feature-ico {
  color: var(--blue-500);
  font-size: 0.7rem;
  margin-top: 6px;
}

.about__features strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.about__features small {
  color: #5b6d8c;
  font-size: 0.82rem;
  line-height: 1.45;
}

.about__rt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: #8296b5;
  text-transform: uppercase;
  padding-top: 20px;
  border-top: 1px solid #e3ecf8;
}

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

  .about__media {
    min-height: 0;
    max-width: 480px;
  }

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

/* ============ ESPECIALIDADES ============ */
.services {
  overflow: hidden;
}

.services__bg-word {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(5rem, 16vw, 13rem);
  color: rgba(143, 184, 255, 0.045);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

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

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(143, 184, 255, 0.12);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: background 0.4s ease, border-color 0.4s ease;
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(77, 139, 255, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  border-color: rgba(111, 216, 242, 0.4);
}

.service-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(43, 110, 245, 0.25), rgba(111, 216, 242, 0.12));
  color: var(--cyan);
  margin-bottom: 22px;
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.86rem;
  color: #8ba4c9;
  line-height: 1.6;
}

.service-card__num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: rgba(143, 184, 255, 0.3);
}

@media (max-width: 1080px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ============ SEDAÇÃO ============ */
.sedation {
  background: linear-gradient(180deg, var(--white) 0%, var(--ice-50) 100%);
}

.sedation__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.sedation__steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 34px 0 38px;
}

.sedation__step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 22px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid #e8f0fb;
}

.sedation__step-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
}

.sedation__step strong {
  display: block;
  margin-bottom: 4px;
}

.sedation__step p {
  font-size: 0.86rem;
  color: #5b6d8c;
}

.sedation__media {
  position: relative;
}

.sedation__card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.sedation__card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.sedation__card-badge {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  padding: 18px 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.sedation__card-badge strong {
  display: block;
  color: var(--navy-900);
}

.sedation__card-badge span {
  font-size: 0.82rem;
  color: #5b6d8c;
}

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

  .sedation__media {
    max-width: 460px;
  }
}

/* ============ ANTES & DEPOIS ============ */
.results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.ba-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(143, 184, 255, 0.12);
  border-radius: var(--radius);
  padding: 14px;
}

.ba {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
}

.ba__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba__before-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: var(--pos, 50%);
  z-index: 2;
}

.ba__before-wrap .ba__img {
  width: auto;
  min-width: 100%;
  /* largura fixa igual ao contêiner pai .ba para não distorcer */
}

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  background: var(--white);
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.35);
}

.ba__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.ba__handle span::before {
  content: "◂ ▸";
  font-size: 0.8rem;
  color: var(--blue-600);
  letter-spacing: 2px;
}

.ba__tag {
  position: absolute;
  top: 14px;
  z-index: 4;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 99px;
  pointer-events: none;
}

.ba__tag--before {
  left: 14px;
  background: rgba(4, 16, 31, 0.75);
  color: var(--white);
}

.ba__tag--after {
  right: 14px;
  background: var(--cyan);
  color: var(--navy-900);
}

.ba-card figcaption {
  padding: 16px 10px 8px;
}

.ba-card figcaption strong {
  display: block;
  color: var(--white);
  font-size: 0.98rem;
}

.ba-card figcaption span {
  font-size: 0.8rem;
  color: #8ba4c9;
}

.results__note {
  margin-top: 34px;
  font-size: 0.76rem;
  color: #62809f;
  text-align: center;
}

@media (max-width: 980px) {
  .results__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
}

/* ============ EQUIPE ============ */
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--white);
  border: 1px solid #e8f0fb;
  border-radius: var(--radius);
  padding: 18px 18px 26px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.team-card__photo {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 18px;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-card:hover .team-card__photo img {
  transform: scale(1.06);
}

.team-card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.team-card__role {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-600);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.team-card p {
  font-size: 0.78rem;
  color: #8296b5;
}

.team-card--more {
  background: linear-gradient(150deg, var(--blue-600), var(--navy-800));
  border: none;
  display: grid;
  place-items: center;
  color: var(--white);
}

.team-card__more-inner {
  padding: 20px;
}

.team-card__more-inner span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3rem;
  display: block;
  margin-bottom: 10px;
}

.team-card__more-inner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.team-card__link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--cyan);
}

@media (max-width: 980px) {
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .team__grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-inline: auto;
  }
}

/* ============ UNIDADES ============ */
.units__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.unit-card {
  background: var(--white);
  border: 1px solid #e8f0fb;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.unit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.unit-card--featured {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  border: none;
  position: relative;
  overflow: hidden;
}

.unit-card--featured::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 139, 255, 0.35), transparent 70%);
}

.unit-card__num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 12px;
}

.unit-card--featured .unit-card__num {
  color: var(--cyan);
}

.unit-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  margin-bottom: 14px;
}

.unit-card__addr {
  font-size: 0.9rem;
  color: #5b6d8c;
  margin-bottom: 18px;
}

.unit-card--featured .unit-card__addr {
  color: #a8c0e0;
}

.unit-card__info {
  margin-bottom: 28px;
  flex-grow: 1;
}

.unit-card__info li {
  font-size: 0.84rem;
  color: #8296b5;
  padding: 7px 0;
  border-bottom: 1px dashed #e3ecf8;
}

.unit-card--featured .unit-card__info li {
  color: #8ba4c9;
  border-color: rgba(143, 184, 255, 0.15);
}

.unit-card .btn {
  justify-content: center;
}

@media (max-width: 940px) {
  .units__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
}

/* ============ DEPOIMENTOS ============ */
.reviews {
  overflow: hidden;
}

.reviews__rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 54px;
}

.reviews__row {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

.review-card {
  width: 380px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(143, 184, 255, 0.14);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(6px);
}

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

.review-card__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--white);
  background: linear-gradient(135deg, hsl(var(--hue, 210), 80%, 55%), hsl(calc(var(--hue, 210) + 30), 75%, 40%));
  flex-shrink: 0;
}

.review-card__head strong {
  display: block;
  color: var(--white);
  font-size: 0.94rem;
}

.review-card__head span:not(.review-card__avatar):not(.review-card__stars) {
  font-size: 0.76rem;
  color: #7d97bd;
}

.review-card__stars {
  margin-left: auto;
  color: #ffc555;
  font-size: 0.82rem;
  letter-spacing: 2px;
}

.review-card p {
  font-size: 0.88rem;
  color: #a8c0e0;
  line-height: 1.65;
}

.reviews__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
}

.reviews__cta p {
  color: #a8c0e0;
  font-size: 0.95rem;
}

.reviews__cta strong {
  color: var(--white);
}

@media (max-width: 560px) {
  .review-card {
    width: 300px;
    padding: 20px;
  }
}

/* ============ FAQ ============ */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  background: var(--white);
  border: 1px solid #e8f0fb;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq__item[open] {
  border-color: var(--blue-400);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: var(--blue-600);
  transform: translate(-50%, -50%);
  transition: transform 0.35s ease;
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq__answer {
  padding: 0 26px;
  overflow: hidden;
}

.faq__answer p {
  padding-bottom: 24px;
  color: #5b6d8c;
  font-size: 0.92rem;
  max-width: 60ch;
}

/* ============ CTA FINAL ============ */
.cta {
  overflow: hidden;
  background: radial-gradient(110% 140% at 50% 110%, var(--blue-600) 0%, var(--navy-800) 50%, var(--navy-900) 100%);
}

/* Termina em navy-950 para casar com o rodapé e o botão voltar-ao-topo */
.cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(4, 16, 31, 0), var(--navy-950));
  pointer-events: none;
  z-index: 0;
}

.cta__orb {
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 216, 242, 0.18), transparent 65%);
  filter: blur(50px);
}

.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.cta__title {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: clamp(2.2rem, 5.6vw, 4.2rem);
  line-height: 1.08;
  color: var(--white);
  max-width: 18ch;
}

.cta__title em {
  font-style: italic;
  color: var(--cyan);
}

.cta__inner > p {
  color: #a8c0e0;
  max-width: 46ch;
}

.cta__phone {
  font-size: 0.84rem;
  color: #7d97bd;
  letter-spacing: 0.06em;
}

/* ============ FOOTER ============ */
.footer__back-top {
  position: relative;
  z-index: 3;
  display: grid;
  width: 58px;
  height: 58px;
  margin: -29px auto;
  place-items: center;
  border: 6px solid var(--navy-950);
  border-radius: 50%;
  background: var(--cyan);
  color: var(--navy-900);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(4, 16, 31, 0.35);
  transition: background-color 180ms ease, transform 180ms ease;
}

.footer__back-top:hover {
  background: var(--white);
  transform: translateY(-4px);
}

.footer {
  position: relative;
  padding: clamp(54px, 7vw, 100px);
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 10%, rgba(43, 110, 245, 0.16), transparent 30%),
    var(--navy-950);
  color: var(--white);
}

.footer__main,
.footer__bottom {
  position: relative;
  z-index: 2;
}

.footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: clamp(70px, 12vw, 190px);
  align-items: start;
}

.footer__logo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--white);
  line-height: 1;
}

.footer__logo em {
  font-style: italic;
  color: var(--blue-400);
}

.footer__brand p {
  max-width: 430px;
  margin: 28px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(0.96rem, 1.4vw, 1.1rem);
}

.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(111, 216, 242, 0.65);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: gap 180ms ease, color 180ms ease;
}

.footer__cta:hover {
  gap: 26px;
  color: var(--cyan);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  padding-top: 6px;
}

.footer__nav div {
  display: grid;
  gap: 14px;
}

.footer__nav div > span {
  margin-bottom: 10px;
  color: var(--cyan);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.footer__nav a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: clamp(70px, 9vw, 120px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
}

.footer__developer {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}

.footer__bottom .footer__developer {
  font-size: 0.8rem;
}

.footer__developer-link {
  display: inline-flex;
  border-radius: 4px;
}

.footer__developer-link img {
  width: 78px;
  height: auto;
  opacity: 0.72;
  filter: invert(1);
  transition: filter 220ms ease, opacity 220ms ease, transform 220ms ease;
}

.footer__developer-link:hover img {
  opacity: 1;
  filter: invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.9))
    drop-shadow(0 0 18px rgba(111, 216, 242, 0.65));
  transform: scale(1.04);
}

.footer__watermark {
  position: absolute;
  right: 0;
  bottom: 0;
  color: rgba(255, 255, 255, 0.025);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(5rem, 15vw, 14rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.05em;
  white-space: nowrap;
  pointer-events: none;
}

@media (max-width: 940px) {
  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

@media (max-width: 700px) {
  .footer {
    padding: 54px 24px 32px;
    text-align: center;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 52px;
    justify-items: center;
  }

  .footer__brand p {
    margin: 24px 0;
  }

  .footer__nav {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer__nav div {
    justify-items: center;
  }

  .footer__bottom {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 10px;
    margin-top: 64px;
  }

  .footer__developer {
    justify-content: center;
    white-space: normal;
  }

  .footer__watermark {
    font-size: 6rem;
  }
}

/* ============ WHATSAPP FLUTUANTE ============ */
.whats-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 90;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 12px 32px -8px rgba(37, 211, 102, 0.6);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.whats-float:hover {
  transform: scale(1.12) rotate(8deg);
}

/* ============ ESTADOS DE ANIMAÇÃO (JS) ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}

[data-hero-fade] {
  opacity: 0;
}

.no-js [data-reveal],
.no-js [data-hero-fade] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-hero-fade] {
    opacity: 1 !important;
    transform: none !important;
  }
}
