:root {
  --green: #00a859;
  --green-dark: #0b6b34;
  --green-deep: #086b38;
  --ink: #2a2a2a;
  --muted: #5e6872;
  --line: #e6e6e6;
  --soft: #f3f5f4;
  --white: #fff;
  --header: 118px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Poppins, "Segoe UI", sans-serif;
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-deep); }
button, input, select, textarea { font: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--green);
  color: #fff;
  padding: 8px 12px;
  z-index: 10000;
}
.skip:focus { top: 12px; }
section[id] { scroll-margin-top: 120px; }

.topbar {
  background: var(--green);
  color: #fff;
  min-height: 36px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  padding: 6px 28px;
}
.topbar a { color: #fff; display: inline-flex; }
.topbar svg { width: 16px; height: 16px; fill: currentColor; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo img { width: 196px; height: auto; }
.header-inner { min-height: 100px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav a {
  color: var(--green);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav a:hover, .nav a:focus-visible { color: var(--green-dark); }
.icon-btn {
  border: 0;
  background: transparent;
  color: var(--green);
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.menu-toggle { display: none; }

.search-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 16px 20px 20px;
}
.search-panel.open { display: block; }
.search-panel form, .search-box { max-width: 720px; margin: 0 auto; }
.search-panel input, .field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #d7d7d7;
  border-radius: 6px;
  padding: 12px 14px;
  background: #fff;
}
.search-results { list-style: none; margin: 10px auto 0; padding: 0; max-width: 720px; }
.search-results a { display: block; padding: 8px 0; text-decoration: none; }
.search-results li[hidden] { display: none; }

.slider { position: relative; aspect-ratio: 1920 / 720; background: #d7eadf; overflow: hidden; }
.slides, .slide { height: 100%; }
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
  transition: opacity .5s ease-in-out;
}
.slide.is-active { opacity: 1; z-index: 2; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 54px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
  transition: opacity .2s ease, left .2s ease, right .2s ease;
}
.slider-btn.prev { left: -22px; }
.slider-btn.next { right: -22px; }
.slider:hover .slider-btn.prev,
.slider:focus-within .slider-btn.prev { left: 22px; opacity: 1; }
.slider:hover .slider-btn.next,
.slider:focus-within .slider-btn.next { right: 22px; opacity: 1; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 72px 20px; }
.about {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
}
.about h1 {
  margin: 0 0 18px;
  padding-bottom: 10px;
  color: #333;
  font-family: Poppins, sans-serif;
  font-weight: 600;
  font-size: 42px;
  line-height: 1.2;
  letter-spacing: normal;
}
.about p { margin: 0 0 12px; color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 28px 8px 20px;
  min-height: 48px;
  font-family: Montserrat, Poppins, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn:hover, .btn:focus-visible { background: var(--green-dark); }
.about-photo {
  margin-left: 30px;
  border-radius: 384px 0 0 30px;
  overflow: hidden;
  box-shadow: -30px 0 0 0 rgb(110, 200, 210);
}
.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}

.band { background: transparent; }
#exames { background: #efefef; }
#nosso-time, #depoimentos { background: #f1f5f7; }
.section-title {
  margin: 0 0 36px;
  text-align: center;
  color: #333;
  font-family: Montserrat, Poppins, sans-serif;
  font-weight: 300;
  font-size: 40px;
  letter-spacing: normal;
  text-transform: none;
}
#exames .section-title {
  font-family: Oswald, Montserrat, sans-serif;
  font-weight: 500;
  color: #00631f;
  letter-spacing: 2px;
  text-transform: uppercase;
}
#blog .section-title,
#procedimentos .section-title,
#especialidades-medicas .section-title { text-align: left; }
#blog .lead { text-align: left; margin-top: 0; }
.exams {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 28px;
}
.exam { text-align: left; }
.exam img {
  width: 100%;
  height: auto;
  aspect-ratio: 625 / 375;
  object-fit: cover;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, .3);
}
.exam h3 {
  margin: 14px 0 0;
  color: #666;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.exam svg { width: 22px; height: 22px; flex: none; fill: var(--green-deep); }

.lead { text-align: center; color: var(--muted); margin-top: -18px; }
.ig-embed {
  display: block;
  width: 100%;
  max-width: 1080px;
  margin: 8px auto 0;
}
.ig-embed .instagram-media,
.ig-embed iframe {
  width: 100% !important;
  max-width: 1080px !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.center { text-align: center; margin-top: 22px; }

.procs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.procs-photo img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border-radius: 0 30px 288px 0;
  box-shadow: 0 30px 80px -30px rgba(102, 141, 186, .7);
}
.procs-copy .section-title { margin-bottom: 18px; }
.proc {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
}
.proc h3 { margin: 0; font-size: 20px; font-weight: 500; color: #333; }
.proc-ico { width: 51px; height: 51px; fill: var(--green); flex: none; }

.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
}
.spec {
  background: #f1f5f7;
  border-radius: 0 42px;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, .3);
  text-align: center;
  padding: 24px 14px 18px;
}
.spec svg { width: 39px; height: 39px; fill: #0fa85f; display: block; margin: 0 auto 8px; }
.spec h3 { margin: 0; font-size: 16px; font-weight: 600; color: #333; line-height: 1.35; }

.photo-gallery {
  background-color: #00a859;
  background-image: url("/img/galeria-fundo.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: soft-light;
  padding: 54px 20px;
}
.gallery-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.gallery-grid figure {
  margin: 0;
  background: #fff;
  border: 8px solid #fff;
  box-shadow: 0 12px 18px -6px rgba(0, 0, 0, .3);
}
.gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 516;
  object-fit: cover;
}

.team-head { text-align: center; }
.team-head .section-title { margin: 0; text-align: center; }
.team-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 28px;
}
.team-card { text-align: center; }
.team-photo { background: rgba(124, 218, 36, .13); }
.team-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 320 / 427;
  object-fit: cover;
  object-position: top;
}
.team-info {
  position: relative;
  z-index: 1;
  margin: -58px 0 0;
  background: #fff;
  border-radius: 0 0 25px 25px;
  padding: 28px 18px 24px;
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .1);
}
.team-info h3 { margin: 0 0 8px; font-size: 20px; font-weight: 500; color: #333; }
.team-info p { margin: 0; color: #666; font-size: 14px; line-height: 1.45; }

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quote {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.quote img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.quote p { color: var(--muted); }
.quote strong { display: block; margin-top: 8px; }

.logo-carousel { position: relative; max-width: 1080px; margin: 0 auto; padding: 0 48px 28px; }
.logo-viewport { overflow: hidden; }
.logo-track { display: flex; align-items: center; transition: transform .45s ease; }
.logo-slide { flex: 0 0 16.666%; display: grid; place-items: center; padding: 8px 12px; }
.logo-slide img { width: 100%; max-height: 72px; object-fit: contain; }
.logo-arrow {
  position: absolute;
  top: 28px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #3aa0e8;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.logo-arrow.prev { left: 0; }
.logo-arrow.next { right: 0; }
.logo-dots { display: flex; justify-content: center; gap: 7px; margin-top: 16px; }
.logo-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #d0d0d0;
  cursor: pointer;
}
.logo-dots button[aria-current="true"] { background: #3aa0e8; }

[data-anim].will-anim { opacity: 0; }
[data-anim].is-in { animation-duration: 1s; animation-fill-mode: both; animation-timing-function: ease; }
[data-anim="fold"].is-in { animation-name: foldIn; }
[data-anim="up"].is-in { animation-name: slideUp; }
[data-anim="down"].is-in { animation-name: slideDown; }
[data-anim="left"].is-in { animation-name: slideLeft; }
[data-anim="fade"].is-in { animation-name: fadeIn; }
@keyframes foldIn {
  from { opacity: 0; transform: perspective(900px) rotateX(-70deg); transform-origin: top center; }
  to { opacity: 1; transform: none; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(48px); }
  to { opacity: 1; transform: none; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-36px); }
  to { opacity: 1; transform: none; }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-48px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.contact {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 40px;
}
#contato {
  max-width: none;
  padding: 54px 20px;
  background: linear-gradient(#0fa85f 0%, #29c4a9 100%);
  color: #fff;
}
#contato .contact { max-width: 1140px; margin: 0 auto; }
#contato .section-title { color: #fff; font-size: 55px; text-align: center; margin-bottom: 12px; }
#contato a { color: #fff; }
#contato .field input,
#contato .field select,
#contato .field textarea { color: #333; background: #fff; }
#contato .form-msg.ok { color: #fff; }
#contato .btn { background: #fff; color: #0b6b34; }
#contato .btn:hover, #contato .btn:focus-visible { background: #f4fff9; color: #086b38; }
.phones { font-weight: 700; }
.form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; }
.form-msg { min-height: 1.4em; font-weight: 600; }
.form-msg.ok { color: var(--green-deep); }
.form-msg.err { color: #a12626; }

.footer { background: #0e3d24; color: #e7f6ee; }
.footer a { color: #fff; text-decoration: none; }
.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 20px;
  display: grid;
  grid-template-columns: 1.3fr .7fr 1fr;
  gap: 28px;
}
.footer h2 { margin: 0 0 12px; font-size: 28px; color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 6px 0; }
.map-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.copy {
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
  padding: 16px;
  font-size: 14px;
}

.wa, .totop {
  position: fixed;
  z-index: 30;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(0,0,0,.18);
}
.wa { left: 18px; bottom: 18px; background: #0fa85f; }
.wa svg { width: 30px; height: 30px; fill: #fff; }
.totop { right: 18px; bottom: 18px; text-decoration: none; font-size: 22px; }
.wa span {
  position: absolute;
  left: 64px;
  background: #163;
  color: #fff;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}
.wa:hover span, .wa:focus-visible span { opacity: 1; }

.cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: #2b2b2b;
  color: #fff;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  font-size: 14px;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; max-width: 820px; }
.cookie button {
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}
.cookie .ok { background: #3cba8b; color: #fff; }
.cookie .no { background: transparent; color: #fff; font-size: 20px; }

.page-hero { background: var(--soft); padding: 48px 20px 20px; }
.page-hero h1 { margin: 0 auto; max-width: 900px; font-size: clamp(32px, 4vw, 46px); }
.article { max-width: 860px; }
.video { position: relative; padding-top: 56.25%; background: #111; margin-top: 18px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.news { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.news a {
  display: block;
  background: #fff;
  padding: 22px;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
}
.crumbs { color: var(--muted); font-size: 14px; }

:focus-visible { outline: 3px solid #0b6b34; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 18px;
    border-bottom: 1px solid var(--line);
    gap: 12px;
  }
  .nav.open { display: flex; }
  .header { position: sticky; }
  .header-inner { position: relative; }
  .about, .contact, .footer-grid, .quotes, .procs-layout, .news { grid-template-columns: 1fr; }
  .exams, .specs, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-info { margin-top: -36px; }
  .ig-embed { padding-inline: 0; }
  .slider-btn { opacity: 1; }
  .slider-btn.prev { left: 8px; }
  .slider-btn.next { right: 8px; }
  .about h1 { font-size: 34px; }
  .section-title, #contato .section-title { font-size: 32px; }
  .about-photo { margin-left: 16px; border-radius: 180px 0 0 24px; }
  .procs-photo img { border-radius: 0 24px 120px 0; max-height: none; }
  .team-head { align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .team-head .section-title { font-size: 28px; }
}
@media (max-width: 640px) {
  .exams, .specs, .gallery-grid, .team-grid, .map-links { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .cookie { flex-direction: column; text-align: center; }
  .topbar { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-anim], [data-anim].will-anim, [data-anim].is-in { opacity: 1; animation: none; transform: none; }
  .logo-track { transition: none; }
}
