/* ============================================================
   Medilea — Services
   Design system (recriado com código próprio)
   ============================================================ */

/* ---------- Fonts (auto-hospedadas: sem cadeia externa bloqueante) ----------
   Mona Sans variável (400–700) em WOFF2. Playfair Display foi removida
   porque não era usada em nenhuma regra. */
@font-face {
  font-family: 'Mona Sans';
  src: url('../assets/fonts/mona-sans-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mona Sans';
  src: url('../assets/fonts/mona-sans-latin-ext.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design tokens ---------- */
:root {
  /* Paleta azul (sem verde). Copper/creme só em detalhes. */
  --navy:        #264195;   /* títulos e UI escura (azul) */
  --light-blue:  #3d72c0;   /* leve escurecida p/ o texto branco do CTA passar em contraste (WCAG AA) */
  --navy-deep:   #0b223b;   /* rodapé */
  --ink:         #55606a;   /* texto corpo (azul-acinzentado) */
  --green:       #264195;   /* cor primária = azul (botões, marcas) */
  --green-600:   #ad5d10;   /* hover / acento = copper */
  --green-050:   #eaeef0;   /* fundo suave (azul claro) */
  --accent:      #ad5d10;   /* copper — detalhes */
  --accent-600:  #8f4a0c;
  --cream:       #e5ceb9;   /* creme — detalhes quentes */
  --muted:       #68777c;   /* azul-acinzentado (escurecido p/ contraste AA em texto pequeno) */
  --line:        #dce1e3;
  --line-soft:   #eef1f2;
  --btn-line:    #cdd4d6;
  --white:       #ffffff;
  --bg:          #ffffff;

  --container:   1360px;
  --content:     1265px;
  --pad:         clamp(20px, 5vw, 50px);
  --radius-lg:   24px;
  --radius:      20px;
  --radius-sm:   12px;
  --stack-top:   40px;

  --font:  "Mona Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input { font: inherit; }

h1, h2, h3, h4 { color: var(--navy); font-weight: 500; line-height: 1.1; }

/* foco visível para navegação por teclado (não aparece no clique de mouse) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Selection + scrollbar (assinatura UX) — copper ---------- */
::selection { background: rgba(173, 93, 16, 0.18); color: var(--navy); }

html { scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent), var(--accent-600));
  border-radius: 20px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-600); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.text-regular { color: var(--ink); }

/* ============================================================
   Buttons
   ============================================================ */
/* Pill primário (verde) com texto roll-up */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 6px 6px 20px;
  background: var(--green);
  color: var(--white);
  border-radius: 10px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background .35s var(--ease);
}
.btn-primary:hover { background: var(--green-600); }

.btn-sec-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 6px 6px 20px;
  background: var(--white);
  color: var(--green);
  border-radius: 10px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background .35s var(--ease);
}
.btn-sec-cta:hover { background: var(--green); color: var(--white); }
/* Botão secundário / outline com seta em círculo */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 6px 6px 20px;
  border: 1px solid var(--btn-line);
  border-radius: 10px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 500;
  background: var(--white);
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.btn-outline:hover { border-color: var(--navy); }

/* texto com efeito roll-up (duas camadas) */
.roll {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  overflow: hidden;
  height: 1.4em;
  line-height: 1.4em;
}
.roll span { display: block; transition: transform .4s var(--ease); }
.roll span:last-child { position: absolute; top: 100%; left: 0; }
.btn-primary:hover .roll span,
.btn-outline:hover .roll span { transform: translateY(-100%); }

/* ícone circular da seta */
.btn-icon {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--white);
  color: var(--green);
  transition: transform .4s var(--ease);
}
.btn-outline .btn-icon { background: var(--green); color: var(--white); }
.btn-primary:hover .btn-icon,
.btn-outline:hover .btn-icon { transform: rotate(45deg); }

/* ============================================================
   Header / Navbar
   ============================================================ */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding-top: 20px;
}
.site-header.is-fixed {
  position: fixed;
  padding-top: 10px;
  animation: dropIn .5s var(--ease);
}
@keyframes dropIn { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* pill branco encaixotado (navbar-main da referência) */
.navbar-main {
  background: var(--white);
  border-radius: 10px;
  padding: 10px 10px 10px 24px;
  box-shadow: 0 20px 44px -30px rgba(15, 30, 76, .3);
}
.site-header.is-fixed .navbar-main { box-shadow: 0 18px 46px -20px rgba(15, 30, 76, .35); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand-logo { height: 56px; width: auto; display: block; }
.brand .mark {
  width: 40px; height: 40px;
  flex: none;
  display: grid; place-items: center;
  background: var(--green);
  color: #fff;
  border-radius: 10px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 18px; font-weight: 600; }
.brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 10px 16px;
  color: var(--navy);
  font-weight: 500;
  border-radius: 8px;
  transition: color .25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

/* dropdown */
.nav-item { position: relative; }
.nav-dd {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  box-shadow: 0 24px 60px -24px rgba(15,30,76,.25);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav-item:hover .nav-dd { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dd a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 500;
  transition: background .2s;
}
.nav-dd a:hover { background: var(--green-050); color: var(--green); }
.nav-caret { transition: transform .25s var(--ease); }
.nav-item:hover .nav-caret { transform: rotate(180deg); }

.nav-cta { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  place-items: center;
  color: var(--navy);
}

/* mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(88vw, 360px);
  background: #fff;
  z-index: 90;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
  padding: 90px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: -30px 0 80px -30px rgba(15,30,76,.35);
}
.nav-drawer.open { transform: translateX(0); }
.nav-drawer a {
  padding: 14px 8px;
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--line-soft);
}
.nav-drawer .btn-primary { margin-top: 20px; justify-content: center; }
.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(7,17,47,.45);
  backdrop-filter: blur(2px);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}
.nav-scrim.open { opacity: 1; visibility: visible; }
.nav-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--navy);
}

/* ============================================================
   Hero — fundo escuro, texto branco à esquerda, retrato à direita
   ============================================================ */
.hero {
  position: relative;
}
.hero-box {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(580px, 88vh, 730px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* véu escuro para legibilidade do texto branco (mais forte à esquerda) */
.hero-box::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(4,32,63,.9) 0%, rgba(4,32,63,.74) 44%, rgba(38,65,149,.32) 100%);
}
/* retrato do Dr. Diego, ancorado embaixo à direita */
.hero-portrait-wrap {
  position: absolute;
  right: clamp(8px, 3vw, 60px);
  bottom: 0;
  z-index: 2;
  height: 94%;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.hero-portrait {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom;
  filter: drop-shadow(0 24px 46px rgba(0,0,0,.4));
}
.hero-head {
  position: relative;
  z-index: 3;
  max-width: 600px;
  margin: 0;
  padding: 120px clamp(24px, 5vw, 60px) 64px;
  text-align: left;
}
.hero-title {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero-lead {
  font-size: clamp(1rem, 1.4vw, 18px);
  color: rgba(255,255,255,.86);
  max-width: 520px;
  margin-inline: 0;
}
.hero-cta { margin-top: 32px; }

/* botão de acento (copper) — usado no hero e nos flutuantes */
.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px 12px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.btn-accent:hover { background: var(--accent-600); transform: translateY(-2px); }
.btn-accent .btn-icon { background: #fff; color: var(--accent); }

/* reveal palavra-a-palavra (a classe só é aplicada pelo JS) */
.reveal-words span {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.5em);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.reveal-words.in span { opacity: 1; transform: translateY(0); }
/* números do contador não mudam de largura ao animar (evita CLS) */
.counter { font-variant-numeric: tabular-nums; }

/* fade-up genérico — só esconde se houver JS para revelar (sem JS, nada fica oculto) */
.js .fade-up { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .fade-up.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   Services — stacking sections
   ============================================================ */
.services {
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(60px, 8vw, 110px);
}
.services-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}
.services-head h2 {
  font-size: clamp(2rem, 4.5vw, 52px);
  letter-spacing: -0.02em;
  max-width: 620px;
}

.stack { position: relative; }

/* cada item “gruda” no topo e o próximo desliza por cima */
.stack-item {
  position: sticky;
  top: var(--stack-top);
  padding-bottom: 24px;
}
.stack-item:last-child { padding-bottom: 0; }

.service-card {
  display: grid;
  grid-template-columns: 1fr 46%;
  gap: 50px;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 10px 10px 50px;
  min-height: 420px;
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(15,30,76,.28);
}

.service-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 40px 0;
}
.service-title { font-size: clamp(1.6rem, 3.5vw, 34px); letter-spacing: -0.01em; }
.service-desc { max-width: 480px; }

.service-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
  max-width: 500px;
}
.service-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 15px;
}
.service-tag .tick {
  width: 26px; height: 26px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 8px;
  background: var(--green-050);
  color: var(--green);
}

.service-media {
  border-radius: 16px;
  overflow: hidden;
  min-height: 340px;
  background: var(--green-050);
  position: relative;
}
.service-media svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  margin: clamp(20px,4vw,40px) auto 0;
}
.cta-inner {
  background: var(--light-blue);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 44px); letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,.96); max-width: 520px; margin: 0 auto 30px; }
.cta-inner .btn-primary { background: var(--green); }
/* botões do CTA de fechamento ~30% maiores (pedido do cliente) */
.cta-inner .btn-sec-cta { font-size: 1.3rem; padding: 10px 10px 10px 28px; gap: 18px; }
.cta-inner .btn-sec-cta .btn-icon { width: 48px; height: 48px; }
.cta-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.28), transparent 65%);
  top: -180px; right: -120px;
  pointer-events: none;
}

/* ============================================================
   Footer
   ============================================================ */
:root { --footer-gray: #C5C5C5; }

/* seção = foto de fundo; caixa azul encaixotada por cima (referência) */
.site-footer {
  position: relative;
  overflow: hidden;
  color: var(--footer-gray);
  /* faixa de foto visível acima da caixa (~320px no desktop) e 40px abaixo */
  padding: clamp(200px, 20vw, 330px) 0 40px;
  margin-top: clamp(40px, 6vw, 80px);
  background: #cfd8dc; /* tom da foto enquanto carrega */
}
.footer-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* véu suave p/ acalmar a foto */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, .25);
}
.site-footer .container { position: relative; z-index: 2; }

/* caixa azul (footer-content-wrapper da referência)
   cor igual ao fundo do logo negativo p/ blend perfeito */
.footer-box {
  background: #041d3b;
  border-radius: var(--radius);
  padding: clamp(30px, 4.5vw, 60px) clamp(24px, 4.5vw, 60px) 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.15fr;
  gap: 40px;
  align-items: stretch;
}

/* ---- Coluna 1 ---- */
.footer-card { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.footer-top { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; letter-spacing: -0.01em; }
.footer-logo-img { height: 74px; width: auto; display: block; border-radius: 8px; }
.footer-logo .mark { width: 40px; height: 40px; flex: none; display: grid; place-items: center; background: var(--green); border-radius: 10px; }
.footer-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.footer-logo-text .brand-name { font-size: 20px; font-weight: 600; color: #fff; }
.footer-logo-text .brand-sub { font-size: 11px; font-weight: 500; color: var(--green); letter-spacing: .04em; text-transform: uppercase; }
.footer-tagline { max-width: 300px; color: var(--footer-gray); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-label { color: var(--footer-gray); }
.footer-email { font-size: clamp(1.25rem, 2.5vw, 24px); font-weight: 500; color: #fff; transition: color .25s; }
.footer-email:hover { color: var(--green); }

/* ---- Coluna 2 ---- */
.footer-menu-title { color: #fff; font-weight: 500; font-size: clamp(1.6rem, 3vw, 34px); letter-spacing: -0.01em; margin-bottom: 30px; }
.footer-menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.footer-menu-col { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

/* link com roll-up branco -> verde (igual referência) */
.footer-link { display: inline-block; }
.footer-link .roll { height: 1.5em; line-height: 1.5em; }
.footer-link .roll span { white-space: nowrap; }
.footer-link .roll span:first-child { color: #fff; }
.footer-link .roll span:last-child { color: var(--green); }
.footer-link:hover .roll span { transform: translateY(-100%); }

/* ---- Coluna 3 ---- */
.footer-social-card { display: flex; flex-direction: column; justify-content: space-between; gap: 60px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.footer-social a:hover { background: var(--green); border-color: var(--green); transform: translateY(-3px); }

.newsletter-title { color: #fff; font-weight: 500; font-size: clamp(1.25rem, 2.5vw, 24px); margin-bottom: 12px; }
.newsletter-sub { color: var(--footer-gray); margin-bottom: 20px; max-width: 360px; }
.newsletter-form { display: flex; gap: 8px; background: #fff; border-radius: var(--radius-sm); padding: 6px; max-width: 400px; }
.newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px 16px;
  color: #111;
  background: transparent;
}
.newsletter-form button {
  background: var(--green);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .3s;
}
.newsletter-form button:hover { background: var(--green-600); }

.footer-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--green);
  color: #fff;
  border-radius: 10px;
  font-weight: 500;
  transition: background .3s var(--ease), gap .3s var(--ease);
}
.footer-cta-link:hover { background: var(--green-600); gap: 14px; }

/* ---- Copyright (dentro da caixa azul, centrado) ---- */
.footer-copyright {
  margin-top: clamp(40px, 6vw, 70px);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  font-size: 14px;
  color: var(--footer-gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-legal { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.footer-legal a { color: #fff; transition: color .25s; }
.footer-legal a:hover { color: var(--accent); }

/* ============================================================
   Eyebrow em pill (About / Medical Services)
   ============================================================ */
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 30px;
  background: #fff;
  font-weight: 500;
  color: var(--navy);
  font-size: 15px;
}
.tag-pill::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* ============================================================
   About Us — "Committed to better health outcomes"
   ============================================================ */
.about { padding: clamp(70px, 9vw, 120px) 0; }
.about-top {
  max-width: 640px;
  margin-bottom: clamp(40px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about-title {
  font-size: clamp(2.1rem, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 4vw, 60px);
  align-items: stretch;
}
.about-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 440px;
  background: var(--green-050);
}
.about-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-award {
  position: absolute;
  left: 20px; right: 20px; bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -24px rgba(15,30,76,.4);
}
.about-award .medal {
  width: 42px; height: 42px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
}
.about-award span { color: var(--navy); font-weight: 500; line-height: 1.3; }

.about-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.counter {
  font-size: clamp(3rem, 7vw, 72px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.counter .plus { color: var(--accent); }
.counter-block { display: flex; align-items: center; gap: 16px; }
.counter-label {
  font-size: clamp(0.95rem, 1.4vw, 17px);
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}
.about-author {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.about-author img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; flex: none; }
.about-author h3 { font-size: clamp(1.1rem, 2.2vw, 22px); font-weight: 500; color: var(--navy); line-height: 1.25; }
.about-summary { color: var(--ink); max-width: 520px; }

/* ============================================================
   Medical Services — "Complete care for every patient" (tabs)
   ============================================================ */
.medserv {
  background: var(--green-050);
  padding: clamp(70px, 9vw, 120px) 0;
}
.medserv-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.medserv-head { display: flex; flex-direction: column; gap: 20px; }
.medserv-title {
  font-size: clamp(2.1rem, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 560px;
}

.tabs {
  display: grid;
  grid-template-columns: 356px 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}
.tab-menu { display: flex; flex-direction: column; }
.tab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: clamp(1.3rem, 3vw, 26px);
  font-weight: 500;
  color: #222;
  padding: 0 4px 26px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
  transition: color .3s var(--ease);
}
.tab-menu .tab-btn:last-child { margin-bottom: 0; }
.tab-btn:hover { color: var(--green-600); }
.tab-btn.active { color: var(--green); }
.tab-btn .chev {
  color: var(--green);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.tab-btn.active .chev { opacity: 1; transform: none; }

.tab-panes { position: relative; }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadePane .5s var(--ease); }
@keyframes fadePane { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* o card interno reutiliza o visual de .service-card */
.tab-pane .service-card { box-shadow: 0 30px 60px -44px rgba(15,30,76,.3); }

/* ============================================================
   CTA — botão secundário + par de ações
   ============================================================ */
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 6px 6px 6px 20px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 10px;
  color: #fff;
  font-weight: 500;
  background: transparent;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost .btn-icon { background: #fff; color: var(--navy); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: clamp(70px, 9vw, 120px) 0; }
.faq-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.faq-title {
  font-size: clamp(2.1rem, 5vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 60px);
  align-items: start;
}
.faq-cat {
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: .02em;
  margin-bottom: 18px;
}
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item[open] {
  border-color: var(--green);
  box-shadow: 0 24px 50px -34px rgba(9,115,92,.4);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark {
  position: relative;
  width: 20px; height: 20px;
  flex: none;
}
.faq-mark::before, .faq-mark::after {
  content: "";
  position: absolute;
  background: var(--green);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq-mark::before { top: 9px; left: 2px; width: 16px; height: 2px; }
.faq-mark::after { top: 2px; left: 9px; width: 2px; height: 16px; }
.faq-item[open] .faq-mark::after { transform: rotate(90deg); opacity: 0; }
.faq-body {
  padding: 0 24px 22px;
  color: var(--ink);
  max-width: 52ch;
}

/* ============================================================
   Convênios — marquee infinito arrastável
   ============================================================ */
.convenios { padding: clamp(60px, 8vw, 100px) 0 0; }
.conv-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 640px;
  margin-bottom: clamp(30px, 4vw, 46px);
}
.conv-title {
  font-size: clamp(1.8rem, 4vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.conv-sub { color: var(--ink); }

.marquee {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;            /* arrasto horizontal p/ nós; vertical rola a página */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee.dragging { cursor: grabbing; }
.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
  padding: 6px 0 clamp(10px, 2vw, 20px);
}
.conv-card {
  flex: none;
  width: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.conv-card:hover {
  border-color: var(--green);
  box-shadow: 0 22px 44px -30px rgba(9,115,92,.45);
  transform: translateY(-3px);
}
.conv-logo {
  height: 46px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.conv-meta { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.conv-name { font-weight: 600; color: var(--navy); font-size: 14px; }
.conv-phone { font-size: 13px; color: var(--ink); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
  .nav-menu, .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .service-card { grid-template-columns: 1fr; padding: 12px; }
  .service-content { padding: 28px 18px; gap: 22px; order: 2; }
  .service-media { order: 1; min-height: 240px; aspect-ratio: 16/10; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-social-card { grid-column: 1 / -1; flex-direction: column; gap: 40px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-figure { min-height: 360px; }
  .medserv-top { flex-direction: column; align-items: flex-start; }
  .tabs { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid { grid-template-columns: 1fr; }

  /* hero: esconde o retrato e usa largura total no texto */
  .hero-portrait-wrap { opacity: .28; right: -8%; }
  .hero-head { max-width: none; }
  .hero-box::before { background: linear-gradient(90deg, rgba(4,32,63,.9) 0%, rgba(38,65,149,.78) 100%); }
}

@media (max-width: 640px) {
  :root { --stack-top: 20px; }
  .navbar-main { padding: 8px 8px 8px 16px; }
  .nav { height: 56px; }
  .brand-logo { height: 44px; }
  .hero-box { min-height: 540px; }
  .hero-portrait-wrap { display: none; }
  .hero-head { padding: 104px 20px 48px; }
  .services-head { flex-direction: column; align-items: flex-start; }
  .service-tags { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-card { gap: 28px; }
  .newsletter-form { max-width: none; }
}

/* respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  .reveal-words span, .fade-up { opacity: 1 !important; transform: none !important; transition: none; }
  .stack-item { position: relative; top: auto; }
}

/* ============================================================
   Acentos em copper (detalhes pequenos)
   ============================================================ */
.eyebrow { color: var(--accent); }
.eyebrow::before { background: var(--accent); }
.tag-pill::before { background: var(--accent); }
.service-tag .tick { color: var(--accent); }
.tab-btn.active { color: var(--accent); }
.faq-cat { color: var(--accent); }
.footer-logo-text .brand-sub, .brand-sub { color: var(--accent); }

/* ============================================================
   Fotos dos procedimentos (substituem as ilustrações SVG)
   ============================================================ */
.service-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   Botões flutuantes (WhatsApp + Instagram) — canto inferior direito
   ============================================================ */
.floaters {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 14px 32px -10px rgba(11,34,41,.55);
  transition: transform .25s var(--ease), background .25s;
  cursor: pointer;
}
.float-btn svg { width: 28px; height: 28px; }
.float-btn:hover { transform: translateY(-3px) scale(1.05); }
.float-wpp { background: var(--accent); }
.float-wpp:hover { background: var(--accent-600); }
.float-insta { background: var(--navy); }
.float-insta:hover { background: #143a46; }

/* ============================================================
   Barra de aviso de cookies
   ============================================================ */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
  padding: 16px clamp(16px, 4vw, 40px);
  background: var(--navy-deep);
  border-top: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 -10px 30px -12px rgba(11, 34, 59, .45);
  transform: translateY(100%);
  transition: transform .45s var(--ease);
}
.cookie-bar.is-visible { transform: translateY(0); }

.cookie-text {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 15px;
  line-height: 1.45;
  max-width: 720px;
}
.cookie-text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: color .25s;
}
.cookie-text a:hover { color: var(--accent); }

.cookie-accept {
  flex: none;
  padding: 12px 32px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.cookie-accept:hover { background: var(--accent-600); transform: translateY(-2px); }

/* enquanto a barra está visível, sobe os botões flutuantes */
body.has-cookie-bar .floaters { bottom: calc(clamp(16px, 3vw, 28px) + 86px); }

@media (max-width: 640px) {
  .cookie-bar { justify-content: flex-start; gap: 14px; padding: 14px 18px 16px; }
  .cookie-text { font-size: 14px; }
  .cookie-accept { width: 100%; padding: 13px 24px; }
  body.has-cookie-bar .floaters { bottom: calc(clamp(16px, 3vw, 28px) + 148px); }
}

/* ============================================================
   Modal de WhatsApp (escolha da clínica)
   ============================================================ */
.wpp-modal {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.wpp-modal.open { display: flex; }
.wpp-scrim { position: absolute; inset: 0; background: rgba(11,34,41,.55); backdrop-filter: blur(3px); }
.wpp-dialog {
  position: relative; z-index: 1;
  width: 100%; max-width: 440px;
  background: #fff; border-radius: 20px;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 40px 90px -30px rgba(11,34,41,.5);
  animation: modalIn .3s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.wpp-dialog h3 { font-size: clamp(1.3rem, 3vw, 26px); margin-bottom: 6px; }
.wpp-dialog > p { color: var(--ink); margin-bottom: 22px; font-size: 15px; }
.wpp-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 10px;
  border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy);
  transition: border-color .2s, color .2s;
}
.wpp-close:hover { border-color: var(--accent); color: var(--accent); }
.wpp-options { display: flex; flex-direction: column; gap: 12px; }
.wpp-option {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.wpp-option:hover { border-color: var(--accent); background: var(--green-050); transform: translateX(3px); }
.wpp-option .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.wpp-option b { color: var(--navy); font-size: 16px; display: block; }
.wpp-option span { color: var(--ink); font-size: 13px; }

/* ============================================================
   Avaliações do Google Maps
   ============================================================ */
.reviews { padding: clamp(70px, 9vw, 120px) 0; }
.reviews-head {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 4vw, 52px);
}
.reviews-title { font-size: clamp(1.8rem, 4vw, 44px); letter-spacing: -0.02em; line-height: 1.1; }
.google-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px; border: 1px solid var(--line); border-radius: 30px;
  color: var(--navy); font-weight: 500;
}
.google-badge .rating { font-weight: 700; }
.google-badge .stars { color: #f5a623; letter-spacing: 1px; }
.google-badge .count { color: var(--muted); font-size: 14px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.review-card:hover { border-color: var(--muted); box-shadow: 0 24px 50px -34px rgba(11,34,41,.3); transform: translateY(-3px); }
.review-top { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green-050); color: var(--navy); display: grid; place-items: center; font-weight: 600; flex: none; }
.review-name { font-weight: 600; color: var(--navy); font-size: 15px; }
.review-date { font-size: 13px; color: var(--muted); }
.review-stars { color: #f5a623; letter-spacing: 2px; font-size: 15px; }
.review-text { color: var(--ink); font-size: 15px; }
.review-gicon { margin-left: auto; }

/* ============================================================
   Página 404
   ============================================================ */
.notfound {
  min-height: 72vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 20px; padding: 170px 24px 110px;
}
.notfound .code { font-size: clamp(4rem, 15vw, 130px); color: var(--navy); line-height: .9; letter-spacing: -0.03em; font-weight: 600; }
.notfound h1 { font-size: clamp(1.6rem, 4vw, 34px); }
.notfound p { color: var(--ink); max-width: 460px; }
.notfound .btn-primary { margin-top: 10px; }

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

/* ============================================================
   Navegação — dropdown ativo + drawer (subpáginas)
   ============================================================ */
.nav-link--active { color: var(--accent); }
.drawer-group {
  padding: 16px 8px 6px;
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.nav-drawer a.drawer-sub { padding: 10px 8px 10px 20px; font-size: 15px; }

/* ============================================================
   Subpáginas — hero encaixotado
   ============================================================ */
.subhero { position: relative; }
.subhero-box {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(360px, 52vh, 460px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
}
.subhero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.subhero-box::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(11,34,59,.92) 0%, rgba(11,34,59,.72) 46%, rgba(11,34,59,.4) 100%);
}
.subhero-content {
  position: relative; z-index: 2;
  padding: clamp(120px, 14vw, 152px) clamp(24px, 5vw, 60px) clamp(36px, 5vw, 52px);
  max-width: 720px;
}
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,.72); margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,.72); transition: color .2s; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: .5; }
.subhero-content h1 { color: #fff; font-size: clamp(2rem, 5vw, 52px); line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 16px; }
.subhero-content p { color: rgba(255,255,255,.86); max-width: 560px; margin-bottom: 26px; }

/* ============================================================
   Tratamento — corpo + aside
   ============================================================ */
.treat { padding: clamp(56px, 8vw, 96px) 0; }
.treat-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(40px, 5vw, 70px); align-items: start; }
.treat-main h2 { font-size: clamp(1.5rem, 3.5vw, 32px); letter-spacing: -0.01em; margin-bottom: 16px; }
.treat-main h2 + p, .treat-main p { color: var(--ink); margin-bottom: 18px; max-width: 64ch; }
.treat-block { margin-top: 40px; }
.treat-list { display: flex; flex-direction: column; gap: 12px; margin: 6px 0; }
.treat-list li { display: flex; gap: 12px; color: var(--ink); align-items: flex-start; }
.treat-list .tick {
  width: 24px; height: 24px; flex: none; margin-top: 1px;
  display: grid; place-items: center; border-radius: 7px;
  background: var(--green-050); color: var(--accent);
}
.treat-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.treat-card { background: var(--green-050); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.treat-card h3 { font-size: 19px; margin-bottom: 10px; }
.treat-card p { font-size: 14px; color: var(--ink); margin-bottom: 16px; }
.treat-card .btn-primary { width: 100%; justify-content: space-between; }
.related-title { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.related-list { display: flex; flex-direction: column; }
.related-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 500; font-size: 15px; transition: color .2s, padding .2s; }
.related-list a:last-child { border-bottom: 0; }
.related-list a:hover { color: var(--accent); padding-left: 4px; }
.related-list a svg { color: var(--accent); flex: none; }

/* ============================================================
   Sobre — página
   ============================================================ */
.sobre-body { padding: clamp(56px, 8vw, 96px) 0; }
.sobre-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 5vw, 70px); align-items: start; }
.sobre-photo { border-radius: var(--radius); overflow: hidden; position: sticky; top: 100px; aspect-ratio: 4 / 5; }
/* preserva a proporção da foto: recorta nas laterais em vez de distorcer */
.sobre-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.sobre-text h2 { font-size: clamp(1.5rem, 3.5vw, 32px); letter-spacing: -0.01em; margin: 34px 0 16px; }
.sobre-text h2:first-child { margin-top: 0; }
.sobre-text p { color: var(--ink); margin-bottom: 18px; max-width: 66ch; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.cred { border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.cred b { color: var(--navy); font-size: 15px; display: block; margin-bottom: 2px; }
.cred span { font-size: 13px; color: var(--ink); }

/* ============================================================
   Páginas legais (política de privacidade / termos)
   ============================================================ */
.legal { padding: clamp(56px, 8vw, 96px) 0; }
.legal-wrap { max-width: 780px; }
.legal-updated { font-size: 14px; color: var(--muted); margin-bottom: 34px; }
.legal-wrap h2 {
  font-size: clamp(1.35rem, 3vw, 28px);
  letter-spacing: -0.01em;
  margin: 38px 0 14px;
}
.legal-wrap h2:first-of-type { margin-top: 0; }
.legal-wrap h3 { font-size: 18px; margin: 24px 0 10px; }
.legal-wrap p { color: var(--ink); margin-bottom: 16px; }
.legal-wrap ul { display: flex; flex-direction: column; gap: 10px; margin: 0 0 18px; }
.legal-wrap ul li { display: flex; gap: 12px; color: var(--ink); align-items: flex-start; }
.legal-wrap ul li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex: none; margin-top: 9px;
}
.legal-wrap a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-wrap a:hover { color: var(--accent-600); }
.legal-note {
  margin-top: 34px; padding: 22px 24px;
  background: var(--green-050); border-left: 3px solid var(--accent);
  border-radius: 12px; color: var(--ink); font-size: 15px;
}

/* ============================================================
   Contato — página
   ============================================================ */
.contact { padding: clamp(56px, 8vw, 96px) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.clinic-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.clinic-map { width: 100%; aspect-ratio: 16/10; border: 0; display: block; filter: saturate(.95); }
.clinic-body { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.clinic-body h2 { font-size: 22px; }
.clinic-tag { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.clinic-row { display: flex; gap: 12px; color: var(--ink); font-size: 15px; align-items: flex-start; }
.clinic-row svg { color: var(--accent); flex: none; margin-top: 2px; }
.clinic-actions { margin-top: 6px; display: flex; gap: 10px; flex-wrap: wrap; }
.contact-note { margin-top: 30px; text-align: center; color: var(--ink); font-size: 15px; }

@media (max-width: 900px) {
  .treat-grid { grid-template-columns: 1fr; }
  .treat-aside { position: static; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-photo { position: static; max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr 1fr; }
}
