:root {
  --background: #f7fbfd;
  --foreground: #16233d;
  --azul-home: #3238a6;
  --azul-claro: #2477bf;
  --ciano: #0dc4d9;
  --dourado: #bf9d36;
  --laranja: #f28705;
  --fundo: #f7fbfd;
  --papel: #ffffff;
  --texto: #16233d;
  --texto-suave: #5e6b80;
  --linha: #dce5f0;
  --sombra: 0 18px 48px rgba(50, 56, 166, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(13, 196, 217, 0.14), transparent 560px),
    var(--fundo);
  color: var(--texto);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body.admin-bar .site-header {
  top: 46px;
}

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

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

main {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 780px;
  font-size: 4.1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 1.1rem;
  font-weight: 780;
  line-height: 1.25;
}

p {
  color: var(--texto-suave);
  font-size: 1rem;
  line-height: 1.72;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  display: grid;
  width: min(1180px, calc(100% - 28px));
  min-height: 72px;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(50, 56, 166, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--sombra);
  transform: translateX(-50%);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--azul-home);
  font-size: 1.08rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: block;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
  overflow: hidden;
}

.brand-copy strong {
  overflow: hidden;
  color: var(--azul-home);
  font-size: 1rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  overflow: hidden;
  color: var(--texto-suave);
  font-size: 0.88rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 30px;
  padding-right: 18px;
  color: #33415f;
  font-size: 18px;
  font-weight: 700;
}

.nav a:hover,
.footer a:hover {
  color: var(--laranja);
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(50, 56, 166, 0.24);
  border-radius: 8px;
  color: var(--azul-home);
  cursor: pointer;
  font-size: 1.18rem;
  font-weight: 840;
  list-style: none;
}

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

.mobile-menu div {
  position: absolute;
  top: calc(100% + 8px);
  right: 12px;
  display: grid;
  min-width: 190px;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(50, 56, 166, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--sombra);
}

.mobile-menu a {
  padding: 10px;
  border-radius: 6px;
  color: #33415f;
  font-size: 0.92rem;
  font-weight: 720;
}

.mobile-menu a:hover {
  background: rgba(13, 196, 217, 0.12);
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn {
  padding: 0 22px;
  border: 1px solid transparent;
}

.primary {
  background: var(--azul-home);
  box-shadow: 0 14px 30px rgba(50, 56, 166, 0.22);
  color: #ffffff;
}

.secondary {
  border-color: rgba(36, 119, 191, 0.26);
  background: #ffffff;
  color: var(--azul-home);
}

.light {
  background: #ffffff;
  color: var(--azul-home);
}

.outline-light {
  border-color: rgba(255, 255, 255, 0.46);
  color: #ffffff;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.center {
  justify-content: center;
}

.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--azul-home);
  font-size: 0.78rem;
  font-weight: 840;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.badge::before {
  display: inline-block;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--laranja);
  content: "";
}

.hero {
  display: grid;
  min-height: 88vh;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  align-items: center;
  gap: 58px;
  padding: 120px max(28px, calc((100vw - 1180px) / 2)) 42px;
}

.hero-copy {
  display: grid;
  min-width: 0;
  gap: 24px;
}

.hero-copy p {
  max-width: 620px;
  font-size: 1.14rem;
}

.hero-media {
  position: relative;
  width: min(100%, 720px);
  min-height: 0;
  aspect-ratio: 4 / 3;
  justify-self: center;
  overflow: hidden;
  border-radius: 8px 58px 8px 58px;
  background: var(--azul-home);
  box-shadow: 0 32px 80px rgba(22, 35, 61, 0.18);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.hero-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(320px, calc(100% - 36px));
  padding: 18px;
  border-radius: 8px 28px 8px 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--sombra);
}

.hero-note strong {
  display: block;
  color: var(--azul-home);
  font-size: 1rem;
}

.hero-note p {
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.section {
  padding: 86px max(28px, calc((100vw - 1180px) / 2));
}

.soft {
  background: rgba(13, 196, 217, 0.08);
}

.gold-soft {
  background: rgba(191, 157, 54, 0.1);
}

.split,
.exams,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 64px;
}

.split > div:last-child,
.exams > div:first-child,
.contact > div:first-child {
  display: grid;
  gap: 20px;
}

.photo-panel,
.exam-photo {
  overflow: hidden;
  border-radius: 42px 8px 42px 8px;
  box-shadow: 0 24px 70px rgba(22, 35, 61, 0.14);
}

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

.clinic-carousel {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: 42px 8px 42px 8px;
  box-shadow: 0 24px 70px rgba(22, 35, 61, 0.14);
}

.clinic-carousel-viewport,
.clinic-carousel-slide,
.clinic-carousel-slide img {
  width: 100%;
  height: 100%;
}

.clinic-carousel-viewport {
  position: absolute;
  inset: 0;
}

.clinic-carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 360ms ease,
    transform 520ms ease;
}

.clinic-carousel-slide.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.clinic-carousel-slide img {
  object-fit: cover;
  object-position: center;
}

.clinic-carousel figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: min(300px, calc(100% - 36px));
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--azul-home);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.3;
}

.carousel-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(22, 35, 61, 0.18);
  color: var(--azul-home);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.carousel-control:hover {
  background: var(--laranja);
  color: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.carousel-control-prev {
  left: 14px;
}

.carousel-control-next {
  right: 14px;
}

.carousel-dots {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 18px;
  display: flex;
  gap: 7px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.carousel-dots button.is-active {
  background: var(--laranja);
  transform: scale(1.25);
}

.mini-grid,
.card-grid,
.benefit-grid {
  display: grid;
  gap: 14px;
}

.mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 10px;
}

.mini-card,
.service-card,
.benefit-grid article,
.exam-columns article,
.contact-card {
  border: 1px solid var(--linha);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 42px rgba(22, 35, 61, 0.07);
}

.mini-card {
  display: grid;
  gap: 14px;
  min-height: 118px;
  padding: 20px;
  border-radius: 8px 28px 8px 28px;
}

.mini-card span,
.benefit-grid span {
  width: 30px;
  height: 6px;
  border-radius: 999px;
  background: var(--dourado);
}

.story {
  display: grid;
  max-width: 920px;
  gap: 18px;
  margin-top: 70px;
  padding: 36px;
  border-left: 6px solid var(--laranja);
  border-radius: 0 42px 42px 0;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(22, 35, 61, 0.06);
}

.section-header {
  display: grid;
  max-width: 760px;
  gap: 16px;
  margin-bottom: 34px;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.soft,
.alert-section,
.gold-soft {
  position: relative;
  overflow: hidden;
}

.soft {
  border-radius: 0 0 56px 56px;
}

.alert-section {
  background:
    linear-gradient(180deg, #ffffff 0%, rgba(13, 196, 217, 0.08) 100%);
}

.alert-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: end;
  gap: 36px;
  margin-bottom: 30px;
}

.alert-intro .section-header {
  margin-bottom: 0;
}

.alert-intro p:last-child {
  max-width: 560px;
}

.alert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.alert-card {
  position: relative;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.alert-card:nth-child(2),
.alert-card:nth-child(4) {
  margin-top: 42px;
}

.alert-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 38px 8px 58px 8px;
  box-shadow: 0 22px 54px rgba(36, 119, 191, 0.14);
  object-fit: cover;
}

.alert-card div {
  position: relative;
  display: grid;
  gap: 8px;
  margin: -34px 14px 0;
  padding: 18px;
  border: 1px solid rgba(36, 119, 191, 0.16);
  border-left: 5px solid var(--ciano);
  border-radius: 8px 28px 8px 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(22, 35, 61, 0.09);
}

.alert-card p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.service-card {
  min-height: 240px;
  padding: 24px;
  border: 0;
  border-radius: 8px 34px 8px 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(13, 196, 217, 0.09)),
    #ffffff;
}

.service-card h3 {
  margin-top: 46px;
  font-size: 1.2rem;
}

.service-card p {
  margin-top: 14px;
}

.card-index {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: rgba(13, 196, 217, 0.14);
  color: var(--azul-home);
  font-weight: 840;
  text-transform: uppercase;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 58px max(28px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(90deg, rgba(50, 56, 166, 0.98), rgba(36, 119, 191, 0.96)),
    var(--azul-home);
  color: #ffffff;
}

.cta-band p {
  max-width: 820px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.exam-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.exam-columns article {
  padding: 22px;
  border-radius: 34px 8px 34px 8px;
}

ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

li {
  display: flex;
  gap: 10px;
  color: var(--texto-suave);
  line-height: 1.5;
}

li::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--laranja);
  content: "";
}

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

.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-grid article {
  display: grid;
  min-height: 146px;
  align-content: space-between;
  padding: 22px;
  border: 0;
  border-radius: 34px 8px 34px 8px;
  background: rgba(255, 255, 255, 0.88);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 42px;
  padding: 72px max(28px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(90deg, rgba(50, 56, 166, 0.98), rgba(36, 119, 191, 0.94)),
    var(--azul-home);
  color: #ffffff;
}

.final-cta p {
  max-width: 660px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.final-cta .badge {
  color: #ffffff;
}

.final-cta .badge::before {
  background: var(--laranja);
}

.final-cta .actions {
  margin-top: 24px;
}

.final-art {
  overflow: hidden;
  border-radius: 58px 8px 58px 8px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

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

.contact {
  align-items: start;
}

.contact-card {
  padding: 28px;
  border-radius: 8px 38px 8px 38px;
}

dl {
  display: grid;
  gap: 18px;
  margin: 0;
}

dt {
  color: var(--azul-home);
  font-size: 0.82rem;
  font-weight: 840;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
  color: var(--texto);
  font-size: 1.08rem;
  font-weight: 720;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 36px;
  padding: 52px max(28px, calc((100vw - 1180px) / 2)) 34px;
  background: var(--azul-home);
  color: #ffffff;
}

.footer p,
.footer a {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.footer h2 {
  font-size: 1rem;
}

.footer .brand {
  color: #ffffff;
}

.footer .brand-mark {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.contact-channels {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.footer .contact-channel {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.45;
  transition: color 160ms ease;
}

.contact-channel svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.contact-channel i {
  width: 18px;
  flex: 0 0 18px;
  text-align: center;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.92rem;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  .site-header {
    grid-template-columns: auto 1fr;
  }

  .nav {
    display: none;
  }

  .mobile-menu {
    display: block;
    justify-self: end;
  }

  .hero,
  .split,
  .exams,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-media,
  .hero-media img {
    min-height: 360px;
  }

  .clinic-carousel {
    min-height: 440px;
  }

  .card-grid,
  .alert-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.admin-bar .site-header {
    top: 56px;
  }

  h1 {
    font-size: 2.38rem;
  }

  h2 {
    font-size: 2rem;
  }

  p {
    font-size: 0.98rem;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand-copy {
    max-width: calc(100vw - 150px);
  }

  .brand-copy strong {
    font-size: 0.78rem;
  }

  .brand-copy small {
    font-size: 0.7rem;
  }

  .mobile-menu {
    grid-column: auto;
    grid-row: auto;
  }

  .hero {
    min-height: auto;
    padding: 100px 20px 18px;
    gap: 28px;
  }

  .hero-copy {
    gap: 20px;
  }

  .hero-media,
  .hero-media img {
    min-height: 260px;
  }

  .clinic-carousel {
    min-height: 340px;
    border-radius: 28px 8px 28px 8px;
  }

  .clinic-carousel figcaption {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .carousel-control {
    width: 36px;
    height: 36px;
  }

  .carousel-control-prev {
    left: 10px;
  }

  .carousel-control-next {
    right: 10px;
  }

  .carousel-dots {
    bottom: 12px;
    left: 12px;
  }

  .hero-note {
    position: static;
    width: auto;
    margin: 12px;
  }

  .about {
    padding-top: 46px;
  }

  .section {
    padding: 62px 20px;
  }

  .alert-intro,
  .mini-grid,
  .card-grid,
  .alert-grid,
  .exam-columns,
  .benefit-grid,
  .cta-band,
  .final-cta,
  .footer {
    grid-template-columns: 1fr;
  }

  .cta-band {
    padding: 46px 20px;
  }

  .story {
    padding: 24px;
  }

  .alert-card:nth-child(2),
  .alert-card:nth-child(4) {
    margin-top: 0;
  }

  .contact-actions .btn,
  .actions .btn {
    width: 100%;
  }
}
