:root {
  --color-navy: #14324a;
  --color-text: #334155;
  --color-muted: #64748b;
  --color-primary: #0e86b7;
  --color-primary-dark: #07658d;
  --color-soft-blue: #eef8fc;
  --color-soft-gray: #f7fafc;
  --color-green: #22a767;
  --color-green-dark: #178454;
  --color-coral: #f59e8b;
  --color-white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(20, 50, 74, 0.12);
  --shadow-card: 0 12px 28px rgba(20, 50, 74, 0.09);
  --border: 1px solid rgba(14, 134, 183, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

address {
  font-style: normal;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-coral);
}

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

h1,
h2,
h3 {
  color: var(--color-navy);
  line-height: 1.12;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(2.45rem, 6vw, 5.35rem);
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

p {
  color: var(--color-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease,
    border-color 180ms ease, color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.btn-whatsapp {
  color: var(--color-white);
  background: var(--color-green);
  box-shadow: 0 12px 24px rgba(34, 167, 103, 0.24);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: var(--color-green-dark);
  box-shadow: 0 16px 30px rgba(34, 167, 103, 0.3);
}

.btn-primary {
  color: var(--color-white);
  background: var(--color-primary);
  box-shadow: 0 12px 24px rgba(14, 134, 183, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-primary-dark);
}

.btn-outline {
  color: var(--color-primary-dark);
  background: var(--color-white);
  border-color: rgba(14, 134, 183, 0.3);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-white);
  border-bottom: 1px solid rgba(14, 134, 183, 0.12);
}

.header-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 82px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(360px, 30vw);
  min-width: 240px;
}

.brand img {
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  color: var(--color-text);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--color-soft-blue);
  box-shadow: 0 8px 18px rgba(20, 50, 74, 0.08);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: #e3f5fb;
  border-color: rgba(14, 134, 183, 0.28);
  outline: none;
  transform: translateY(-1px);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--color-primary-dark);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 82px);
  padding-top: 78px;
  background:
    linear-gradient(120deg, rgba(238, 248, 252, 0.96), rgba(255, 255, 255, 0.94) 55%),
    radial-gradient(circle at 92% 12%, rgba(245, 158, 139, 0.16), transparent 28%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: 64px;
}

.hero-copy > p {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-highlights span {
  padding: 10px 14px;
  border: var(--border);
  border-radius: 999px;
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero-media {
  position: relative;
  width: min(100%, 450px);
  justify-self: end;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  z-index: -1;
  border: 2px solid rgba(14, 134, 183, 0.22);
  border-radius: var(--radius);
}

.doctor-card {
  position: absolute;
  right: -34px;
  bottom: 28px;
  width: min(280px, calc(100% - 28px));
  padding: 18px;
  border: var(--border);
  border-left: 5px solid var(--color-green);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}

.doctor-card small,
.doctor-card strong,
.doctor-card span {
  display: block;
}

.doctor-card small,
.doctor-card span {
  color: var(--color-muted);
  font-weight: 700;
}

.doctor-card strong {
  margin: 6px 0;
  color: var(--color-navy);
  line-height: 1.25;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.service-card,
.testimonial-card,
.benefits-grid article {
  border: var(--border);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.testimonial-card:hover,
.benefits-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 134, 183, 0.32);
  box-shadow: 0 18px 34px rgba(20, 50, 74, 0.13);
}

.service-card {
  min-height: 230px;
  padding: 24px;
}

.icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  color: var(--color-primary);
  background: var(--color-soft-blue);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card:hover .icon {
  color: var(--color-primary-dark);
  background: #e3f5fb;
  transform: translateY(-1px);
}

.service-card p,
.benefits-grid p,
.testimonial-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.about {
  background: var(--color-soft-gray);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.about-photo {
  position: relative;
}

.about-photo::after {
  content: "Cuidado, confiança e precisão";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 16px 18px;
  border-radius: var(--radius);
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
  font-weight: 800;
}

.about-photo img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.about-copy p {
  font-size: 1.03rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--color-navy);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-green);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  width: 7px;
  height: 11px;
  border-right: 2px solid var(--color-white);
  border-bottom: 2px solid var(--color-white);
  transform: rotate(45deg);
}

.benefits {
  background: linear-gradient(135deg, var(--color-navy), #0f6f8c);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.benefits-grid article {
  padding: 26px;
  background: rgba(255, 255, 255, 0.96);
}

.benefits-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--color-navy);
  font-size: 1.05rem;
}

.testimonials {
  background: var(--color-soft-blue);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  padding: 28px;
}

.stars {
  margin-bottom: 16px;
  color: #e8a018;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.testimonial-card p {
  margin-bottom: 22px;
}

.testimonial-card strong {
  color: var(--color-navy);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: 42px;
  align-items: stretch;
}

.location-info {
  padding: 34px;
  border: var(--border);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.location-info address {
  margin: 22px 0;
  color: var(--color-text);
  font-weight: 700;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin: 0 0 28px;
}

.contact-list div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
}

.contact-list dt {
  color: var(--color-navy);
  font-weight: 800;
}

.contact-list dd {
  margin: 0;
  color: var(--color-muted);
}

.contact-list a {
  color: var(--color-primary-dark);
  font-weight: 800;
}

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

.map-frame {
  min-height: 460px;
  overflow: hidden;
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
}

.final-cta {
  color: var(--color-white);
  text-align: center;
  background:
    linear-gradient(rgba(20, 50, 74, 0.9), rgba(20, 50, 74, 0.9)),
    linear-gradient(135deg, var(--color-primary), var(--color-navy));
}

.final-cta .eyebrow,
.final-cta h2,
.final-cta p {
  color: var(--color-white);
}

.final-cta .eyebrow::before {
  background: var(--color-green);
}

.final-cta-content {
  max-width: 780px;
}

.final-cta-content p {
  margin-bottom: 28px;
  font-size: 1.12rem;
  opacity: 0.9;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.82);
  background: #0e2538;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.site-footer p {
  margin: 0;
  color: inherit;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-green);
  box-shadow: 0 16px 34px rgba(34, 167, 103, 0.38);
  transition: transform 180ms ease, background 180ms ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-3px) scale(1.03);
  background: var(--color-green-dark);
  outline: none;
}

.floating-whatsapp svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

@media (max-width: 1060px) {
  .header-content {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
    order: 3;
  }

  .header-cta {
    order: 2;
  }

  .main-nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    display: grid;
    justify-content: stretch;
    gap: 0;
    padding: 18px 20px 24px;
    border-bottom: 1px solid rgba(14, 134, 183, 0.12);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .menu-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(14, 134, 183, 0.1);
  }

  .main-nav a::after {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    justify-self: start;
    width: min(100%, 520px);
  }

  .cards-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 68px 0;
  }

  .site-header {
    position: sticky;
  }

  .header-content {
    min-height: 74px;
    gap: 12px;
  }

  .brand {
    width: min(250px, 64vw);
    min-width: 0;
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    top: 74px;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-actions,
  .location-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-media::before {
    inset: 12px -10px -12px 12px;
  }

  .doctor-card {
    right: 12px;
    bottom: 14px;
  }

  .cards-grid,
  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 34px;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .location-info {
    padding: 24px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 360px;
  }

  .footer-content {
    display: grid;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }
}

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

  .brand {
    width: min(210px, 60vw);
  }

  .hero-highlights {
    display: grid;
  }

  .doctor-card {
    position: static;
    width: 100%;
    margin-top: 12px;
  }
}
