:root {
  --bg: #e7f1fb;
  --surface: #ffffff;
  --txt: #000000;
  --muted: #333333;
  --muted2: #858181;
  --muted3: #85818191;
  --brand: #ffe374;
  --brand2: #f7c915;
  --brand3: #ffcf0d28;
  --brand-2: #e7f1fb;
  --line: #e6ecf3;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(27, 39, 53, 0.08);
  --reveal-stagger: 120ms;
  --header-h: 80px;
  --border-bottom: 1px solid #eee;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
}

.site-header .nav-wrap {
  padding-block: 10px;
  min-height: unset;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
[id] {
  scroll-margin-top: calc(var(--header-h) + 2px);
}

body {
  font: 16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--muted);
  text-decoration: none;
}
.container {
  max-width: 1140px;
  margin: auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  transition: 0.2s;
  cursor: pointer;
  font-weight: 600;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--brand);
  color: var(--muted2);
  border-color: transparent;
  box-shadow: 0 6px 0 var(--brand-600);
}
.btn-primary:hover {
  filter: brightness(0.98);
  color: var(--surface);
  text-shadow: 1px 1px 1px var(--muted3);
  scale: 1.02;
}
.btn-outline {
  background: #fff;
  border-color: #f5d46a;
  color: var(--muted2);
}
.btn-outline:hover {
  scale: 1.02;
}
.w-100 {
  width: 100%;
}
#btn-whats {
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: var(--header-border) solid #eee;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin: 10px 0 20px 0;
}
.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid var(--brand);
  border-radius: 100%;
  padding: 5px;
  box-shadow: var(--shadow);
}
.brand-mark svg {
  width: 18px;
  height: 18px;
}

.brand-texts {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  color: var(--brand);
  text-shadow: 1px 1px 1px var(--muted2);
}

.brand-title {
  font-family: "Dancing Script", cursive;
  font-size: 28px;
}
.brand-sub {
  font-size: 15px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav a {
  padding: 8px 4px;
  color: var(--muted2);
}
.nav-cta {
  margin-left: 8px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #eee;
  background: #fff;
  border-radius: 10px;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #111;
}

@media (max-width: 880px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 30;
    background: #fff;
    padding: 26px 20px;
    display: grid;
    gap: 10px;
    border-bottom: 1px solid #eee;

    max-height: calc(100svh - var(--header-h));
    overflow: auto;
    -webkit-overflow-scrolling: touch;

    transform: translate3d(0, calc(-100% - 2px), 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .nav-toggle {
    display: flex;
  }
  body.nav-open .nav {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-wrap {
    justify-content: space-around;
  }
  .site-header .nav-wrap {
    padding-block: 14px;
    min-height: unset;
  }
}

.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  background: radial-gradient(
      900px 400px at 90% 90%,
      #fff0c5 0%,
      rgba(199, 229, 249, 0) 60%
    ),
    radial-gradient(
      900px 400px at 0% 0%,
      #fff0c5 0%,
      rgba(255, 240, 197, 0) 60%
    );
  overflow: clip;
}
.hero-inner {
  max-width: 940px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  will-change: transform, opacity, filter;
}
.hero h1 {
  font-size: clamp(2.2rem, 4vw + 1rem, 4rem);
  line-height: 1.1;
  color: var(--muted);
  margin: 0 0 10px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #e1bf2b, #8dbf8b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.125rem;
  color: #667085;
  max-width: 780px;
  margin: 0 0 22px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}
.hero-features li {
  text-align: center;
}
.feat-icon {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff4cd;
  margin: 0 auto 10px;
}
.feat-icon img {
  width: 28px;
  height: 28px;
}
.hero-features h3 {
  margin: 0 0 4px;
  color: #1f2937;
  font-size: 1rem;
}
.hero-features p {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 20px 0 24px;
  }
  .hero-features {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-inner {
    margin: 0 0 120px 0;
  }
}

.scroll-down {
  width: 50px;
  position: absolute;
  bottom: 16px;
  left: 50%;
  translate: -50% 0;
  background: transparent;
  border: 0;
  font-size: 24px;
  cursor: pointer;
  animation: bounceY 1.6s ease-in-out infinite;
}

.scroll-down img {
  transform: rotate(90deg);
  transition: transform 0.3s;
}

@keyframes bounceY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

#after-hero {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.has-js #after-hero {
  opacity: 0;
  transform: translateY(24px);
}
.has-js #after-hero.show {
  opacity: 1;
  transform: none;
}

#after-hero.show {
  opacity: 1;
  transform: none;
}

html {
  scroll-snap-type: auto;
}

.section-title {
  color: var(--txt);
  font-size: clamp(1.6rem, 1.4rem + 1.5vw, 2.4rem);
  margin: 0 0 8px;
  text-shadow: 1px 1px 1px var(--muted3);
}
.section-title.center {
  text-align: center;
}
.section-sub {
  color: #7c8a9a;
  margin: 6px 0 28px;
  max-width: 820px;
}
.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.brand-emph {
  color: #f2bf2b;
  text-shadow: 1px 1px 1px var(--muted3);
}

.container-bull li {
  color: var(--muted);
}
.container-bull li::marker {
  color: var(--brand2);
  font-size: 1.5em;
}

.sobre {
  padding: 64px 0;
}
.sobre-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  opacity: 0;
  transform: translate3d(0, 60px, 0);
  filter: blur(2px);
  will-change: transform, opacity, filter;
}
.sobre-text p {
  margin: 10px 0;
}

.container-bull > &bull {
  color: var(--brand2);
}

.sobre-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.info-card {
  background: #fff;
  border: 1px solid #f0e6c9;
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.info-card h4 {
  margin: 10px 0 4px;
  color: #1f2937;
}
.info-card p {
  margin: 0;
  color: #1f2937;
}
.badge {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff4cd;
  border: 1px solid #f5e3a6;
  padding: 9px;
}
.sobre-card-grad {
  background: linear-gradient(180deg, #fff2c9 0%, #d6edf7 100%);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  text-align: center;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #1f2937;
}
.sobre-card-grad .avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.sobre-card-grad .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sobre-card-grad h3 {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .sobre-grid {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
@media (max-width: 1024px) {
  .sobre-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .sobre {
    padding: 20px 0;
  }
  .info-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

.servicos {
  padding: 64px 0;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background: linear-gradient(180deg, #edf0e1 0%, #e8f5fc 100%);
  border: 1px solid #f0e6c9;
  border-radius: 16px;
  padding: 25px;
  box-shadow: var(--shadow);
  position: relative;
}
.service-card .service-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-card .badge {
  width: 48px;
  height: 48px;
}
.service-card h3 {
  margin: 8px 0 6px;
  color: #1f2937;
}
.service-card p {
  margin: 6px 0 12px;
}
.bullets {
  margin: 0 0 14px 18px;
  color: #475569;
}
.bullets li {
  margin: 6px 0;
}
.service-card.highlight {
  background: linear-gradient(180deg, #edf0e1 0%, #e8f5fc 100%);
}

@media (max-width: 960px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .servicos {
    padding: 20px 0;
  }
}

.cta {
  padding: 50px 0;
  color: var(--muted2);
}
.cta-card {
  background: #f6fafc;
  border: 1px solid #dcecf5;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  text-align: center;
}
.cta-card h3,
p {
  margin: 0 0 6px;
  color: var(--muted2);
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.abordagem {
  padding: 64px 0;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 18px 0 26px;
}
.pillar {
  background: #fff;
  border: 1px solid #f0e6c9;
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.pillar h4 {
  margin: 10px 0 6px;
  color: #1f2937;
}
.steps {
  background: #e9f5ff;
  border: 1px solid #cfe7f9;
  border-radius: 14px;
  padding: 18px;
}
.steps h3 {
  text-align: center;
  margin: 0 0 14px;
  color: #1f2937;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  text-align: center;
  background: #fff;
  border: 1px solid #e6f0fa;
  border-radius: 12px;
  padding: 16px;
}
.step .num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f4cf4d;
  margin-bottom: 8px;
  font-weight: 800;
}

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

.localizacao {
  overflow-x: clip;
  isolation: isolate;
}

.localizacao .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  margin: 80px auto;
}

.localizacao-texto,
.foto-clinica,
.mapa {
  min-width: 0;
  max-width: 100%;
}
.kicker {
  color: var(--muted2);
}

.localizacao-texto h2 {
  background: linear-gradient(90deg, #e1bf2b, #cfd1cf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0 0 6px;
}

.mapa {
  margin-top: 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 220px;
}
.mapa iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  max-width: 100%;
}

.foto-clinica {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: 100%;
  max-height: 50%;
}
.foto-clinica img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-inline: auto;
  display: block;
}

.localizacao-acoes {
  margin: 35px 0 70px 0;
}
.localizacao-info {
  padding: 0;
  color: var(--muted2);
}

.localizacao-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 10px;
  padding: 0;
  font-size: 0.9rem;
}
.localizacao-info .icon {
  width: 27px;
}

@media (max-width: 980px) {
  .localizacao .container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "texto"
      "midia";
  }
}
@media (max-width: 880px) {
  .localizacao-texto {
    text-align: center;
  }
  .localizacao-info li {
    justify-content: center;
    text-align: center;
  }
}

.contato {
  padding: 80px 0;
}
.contato-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

@media (max-width: 780px) {
  .contato {
    padding: 20px 0;
  }
}
.form-card {
  background: #fff;
  border: 1px solid #f0e6c9;
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.form h3,
.form-card h3 {
  margin: 0 0 12px;
  color: #1f2937;
}
.form label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin: 10px 0 6px;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-side {
  display: grid;
  gap: 12px;
  align-content: start;
}
.side-card {
  background: #fff;
  border: 1px solid #e8eff6;
  border-radius: 14px;
  padding: 16px;
}
.side-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.promo {
  background: #f6fafc;
  border: 1px solid #dbeaf4;
  border-radius: 14px;
  padding: 16px;
}

@media (max-width: 1024px) {
  .contato-grid {
    grid-template-columns: 1fr;
    padding: 20px 10px;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.footer {
  background: radial-gradient(
      900px 400px at 90% 90%,
      #ffcd45 0%,
      rgba(231, 190, 77, 0.774) 60%
    ),
    radial-gradient(
      900px 400px at 0% 0%,
      #e7bb43 0%,
      rgba(197, 167, 83, 0.774) 60%
    );
  color: #d7dee8;
  margin-top: 32px;
  padding-top: 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}
.footer a {
  font-weight: 500;
  color: var(--muted2);
}

.f-links {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.f-links li {
  margin: 8px 0;
  text-align: left;
}
.footer-bottom {
  border-top: 1px solid var(--brand2);
  margin-top: 18px;
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted2);
}

.f-col p,
h4,
li {
  color: var(--muted2);
  text-shadow: 1px 1px 1px var(--muted3);
}

.icons {
  display: flex;
}

.icon {
  width: 50px;
  height: 20px;
  object-fit: contain;
}

#mapa-nota {
  color: var(--muted3);
}

@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .brand {
    justify-content: center;
  }
  .f-col p,
  h2,
  h3,
  h4,
  li {
    text-align: center;
  }
  .service-card p {
    text-align: center;
  }
  .service-card ul {
    padding: 0;
  }
  .f-links {
    text-align: center;
  }
  .f-links li {
    text-align: center;
  }
  .icons {
    justify-content: center;
  }
}

.depoimentos {
  padding: 64px 0;
}

.cliente {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #e9efff;
  font-weight: 700;
}
.depoimentos .t-carousel {
  position: relative;
}
.metrics {
  text-align: center;
  margin: 20px 0;
}
.t-nav {
  position: absolute;
  top: 95%;
  translate: 0 -50%;
  z-index: 2;
  border: 0;
  background: var(--brand);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.t-nav.prev {
  left: 8px;
}
.t-nav.next {
  right: 8px;
}

.t-viewport {
  overflow: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 25px 0;
}

.t-track {
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.t-slide {
  flex: 0 0 85%;
  scroll-snap-align: center;
}

@media (min-width: 768px) {
  .t-slide {
    flex-basis: 60%;
  }
}
@media (min-width: 1024px) {
  .t-slide {
    flex-basis: 45%;
  }
}

@media (max-width: 780px) {
  .depoimentos {
    padding: 20px 0;
  }
}

.t-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: grid;
  gap: 12px;
}

.author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-mini {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: #e9efff;
  color: #3b5ed7;
  font-weight: 700;
}

blockquote {
  margin: 0;
  color: #333;
  line-height: 1.6;
}

.stars {
  margin: 0;
  letter-spacing: 2px;
  color: #f5a623;
}

.t-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.t-dots > button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: #d8d8d8;
  cursor: pointer;
}
.t-dots > button[aria-selected="true"] {
  width: 22px;
  border-radius: 6px;
  background: #3b5ed7;
}

.whatsapp-fab {
  position: fixed;
  right: max(50px, env(safe-area-inset-right));
  bottom: max(50px, env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa-green);
  box-shadow: 0 8px 20px var(--wa-shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 9999;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 24px var(--wa-shadow);
  outline: none;
}

.whatsapp-fab__label {
  position: absolute;
  right: 64px;
  white-space: nowrap;
  background: #111;
  color: #fff;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 999px;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-fab:hover .whatsapp-fab__label,
.whatsapp-fab:focus-visible .whatsapp-fab__label {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
  animation: wa-pulse 2.4s ease-out infinite;
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .whatsapp-fab__label {
    display: none;
  }
  .whatsapp-fab {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }
}
