/* ===========================================================================
 * Angiocentro: folha de estilo principal (v2, tema claro)
 * Medicina Vascular: excelência e tecnologia. João Pessoa/PB.
 *
 * Paleta da marca: navy #2f5073 (botões, painéis/áreas de texto, rodapé),
 * sky #5e9dce (acento), gelo #f4fdff (fundo). Fundo geral claro; navy
 * reservado a botões e áreas de texto. Fonte: Poppins.
 * Tokens em OKLCH. JS vanilla, mobile-first, respeita reduced-motion.
 * =========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  /* superfícies claras */
  --ice: oklch(0.984 0.009 220);       /* fundo da página */
  --paper: oklch(0.998 0.003 220);     /* cards / superfícies */
  --mist: oklch(0.955 0.017 232);      /* seção alternada azul bem clara */
  --sky-soft: oklch(0.93 0.035 235);   /* tinta suave de sky */

  /* marca */
  --navy: oklch(0.42 0.062 250);       /* #2f5073 aprox: botões, painéis */
  --navy-deep: oklch(0.33 0.055 253);  /* navy profundo: rodapé, faixas */
  --sky: oklch(0.66 0.10 245);         /* acento decorativo / grandes */
  --sky-ink: oklch(0.52 0.11 250);     /* sky escuro o bastante p/ texto pequeno */

  /* texto */
  --ink: oklch(0.32 0.045 252);        /* corpo sobre claro */
  --ink-soft: oklch(0.48 0.032 250);   /* secundário sobre claro */
  --on-navy: oklch(0.975 0.008 220);   /* texto sobre navy */
  --on-navy-soft: oklch(0.85 0.02 228);/* secundário sobre navy */

  /* linhas */
  --line: oklch(0.905 0.018 240);
  --line-strong: oklch(0.85 0.028 242);

  --radius: 20px;
  --radius-sm: 13px;
  --radius-lg: 28px;
  --shadow-sm: 0 6px 20px -12px oklch(0.42 0.06 250 / 0.35);
  --shadow: 0 22px 50px -26px oklch(0.42 0.06 250 / 0.45);
  --shadow-lg: 0 40px 80px -40px oklch(0.40 0.06 250 / 0.5);

  --container: 1200px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ------------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--ice);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
picture img { width: 100%; height: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: none; }
:focus-visible { outline: 3px solid var(--sky-ink); outline-offset: 3px; border-radius: 5px; }

h1, h2, h3, h4 { line-height: 1.12; font-weight: 600; letter-spacing: -.018em; color: var(--ink); }

.container { width: min(100% - 44px, var(--container)); margin-inline: auto; }
.section { padding: clamp(66px, 9vw, 122px) 0; position: relative; }
.section--mist { background: var(--mist); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 999; background: var(--navy); color: var(--on-navy); padding: 10px 18px; border-radius: 0 0 10px 10px; font-weight: 600; transition: top .2s var(--ease); }
.skip-link:focus { top: 0; }

/* --------------------------------------------------------- eyebrow / heads */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .76rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--sky-ink); margin-bottom: 15px; }
.eyebrow::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.eyebrow.on-navy { color: oklch(0.80 0.09 240); }

.section-head { max-width: 730px; margin-bottom: clamp(38px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.9vw, 2.95rem); }
.section-head p { color: var(--ink-soft); margin-top: 15px; font-size: 1.06rem; max-width: 62ch; }
.section-head.center p { margin-inline: auto; }

/* --------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .97rem; border: 1.5px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease); white-space: nowrap; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--primary { background: var(--navy); color: var(--on-navy); box-shadow: var(--shadow-sm); }
.btn--primary:hover { transform: translateY(-2px); background: var(--navy-deep); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--navy); background: var(--paper); }
.btn--on-navy { background: var(--paper); color: var(--navy); }
.btn--on-navy:hover { transform: translateY(-2px); background: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 1.02rem; }

/* --------------------------------------------------------------- navbar */
.site-nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); background: oklch(0.984 0.009 220 / 0.86); backdrop-filter: saturate(150%) blur(12px); -webkit-backdrop-filter: saturate(150%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.site-nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px oklch(0.42 0.06 250 / 0.5); }
.nav-in { display: flex; align-items: center; gap: 20px; height: 100%; }
.brand { display: inline-flex; align-items: center; color: var(--navy); }
.brand-logo { height: 38px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 2px; margin-left: auto; list-style: none; padding: 0; }
.nav-menu a:not(.btn) { display: block; padding: 9px 14px; border-radius: 999px; font-size: .94rem; color: var(--ink-soft); font-weight: 500; transition: color .2s var(--ease), background .2s var(--ease); }
.nav-menu a:not(.btn):hover { color: var(--navy); background: oklch(0.66 0.10 245 / 0.10); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-right .btn { padding: 11px 20px; }
.nav-cta-mobile { display: none; } /* só aparece no menu mobile aberto */
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--paper); position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: var(--navy); transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------- hero slider (moldura) */
.hero2 { position: relative; padding: clamp(28px, 5vw, 60px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.hero2::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(58% 55% at 88% 12%, oklch(0.66 0.10 245 / 0.14), transparent 70%), radial-gradient(50% 55% at -5% 95%, oklch(0.66 0.10 245 / 0.09), transparent 70%); }
/* slides sobrepostos na mesma célula do grid (crossfade sem posição absoluta) */
.hs-track { display: grid; }
.hs-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility .7s var(--ease); }
.hs-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .hs-slide { transition: none; } }
.hs-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.hs-text { max-width: 520px; }
.hs-title { color: var(--navy); font-size: clamp(1.85rem, 3.6vw, 3rem); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
.hs-text .btn { margin-top: clamp(22px, 3vw, 32px); }
/* moldura da foto: proporção 4:5 fixa (a foto já é 4:5, então nada é cortado em runtime) */
.hs-frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--mist); }
.hs-frame::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; background: url("../img/petal-navy.svg") center / contain no-repeat; opacity: .06; pointer-events: none; }
.hs-frame picture, .hs-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* controles */
.hs-controls { display: flex; align-items: center; gap: 14px; margin-top: clamp(24px, 3vw, 34px); }
.hs-arrow { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line-strong); color: var(--navy); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.hs-arrow:hover { border-color: var(--navy); transform: scale(1.06); }
.hs-arrow svg { width: 20px; height: 20px; }
.hs-dots { display: flex; align-items: center; gap: 8px; }
.hs-dots button { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); border: 0; transition: background .2s var(--ease), width .2s var(--ease); }
.hs-dots button.is-active { background: var(--navy); width: 24px; border-radius: 5px; }
@media (max-width: 900px) {
  .hs-inner { grid-template-columns: 1fr; gap: clamp(22px, 5vw, 32px); }
  .hs-frame { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .hs-text { max-width: 100%; text-align: center; }
  .hs-controls { justify-content: center; }
}

/* --------------------------------------------------- diferenciais (navy) */
.diff { background: var(--navy-deep); color: var(--on-navy); position: relative; overflow: hidden; }
.diff::after { content: ""; position: absolute; right: -80px; bottom: -100px; width: 360px; height: 360px; background: url("../img/petal.svg") center / contain no-repeat; opacity: .06; }
.diff h2 { color: #fff; }
.diff-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.diff-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4; }
.diff-media picture, .diff-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.diff-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; }
.diff-list li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid oklch(0.97 0.01 220 / 0.14); }
.diff-list li:first-child { border-top: 0; }
.diff-list .n { font-size: 1.05rem; font-weight: 700; color: oklch(0.80 0.10 240); font-variant-numeric: tabular-nums; padding-top: 2px; }
.diff-list b { display: block; font-size: 1.12rem; color: #fff; margin-bottom: 4px; font-weight: 600; }
.diff-list span { color: var(--on-navy-soft); font-size: .95rem; }

/* --------------------------------------------------------- quem somos */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(34px, 5vw, 68px); align-items: center; }
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 11; }
.about-media picture, .about-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-copy p { color: var(--ink-soft); font-size: 1.05rem; }
.about-copy p + p { margin-top: 16px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; margin-top: 30px; }
.value { display: flex; gap: 13px; align-items: flex-start; }
.value .v-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--sky-soft); display: grid; place-items: center; color: var(--sky-ink); flex: none; }
.value .v-ic svg { width: 21px; height: 21px; }
.value b { display: block; font-size: 1rem; color: var(--ink); }
.value span { font-size: .88rem; color: var(--ink-soft); }

/* ---------------------------------------------- serviços (editorial) */
.svc-featured { display: flex; flex-direction: column; gap: clamp(26px, 4vw, 54px); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.svc-row.rev .svc-figure { order: 2; }
.svc-figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 11; }
.svc-figure picture, .svc-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-body .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-ink); margin-bottom: 12px; }
.svc-body .kicker .k-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--sky-soft); display: grid; place-items: center; }
.svc-body .kicker .k-ic svg { width: 17px; height: 17px; }
.svc-body h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-bottom: 10px; }
.svc-body p { color: var(--ink-soft); font-size: 1.02rem; max-width: 52ch; }

.svc-more { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); padding-top: clamp(34px, 4vw, 52px); }
.svc-more h3 { text-align: center; font-size: 1.2rem; margin-bottom: 30px; color: var(--ink); }
.svc-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px 40px; max-width: 900px; margin-inline: auto; }
.svc-group h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-ink); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.svc-group ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.svc-group li { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.svc-group li .li-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); display: grid; place-items: center; color: var(--sky-ink); flex: none; }
.svc-group li .li-ic svg { width: 18px; height: 18px; }
.svc-group li b { display: block; font-size: .97rem; color: var(--ink); font-weight: 600; line-height: 1.3; }
.svc-group li span { font-size: .85rem; color: var(--ink-soft); }

/* --------------------------------------------------------- equipe */
.team-list { display: flex; flex-direction: column; gap: 24px; }
.doctor { display: grid; grid-template-columns: 300px 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.doctor:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.doctor-photo { position: relative; background: var(--mist); min-height: 340px; }
.doctor-photo picture, .doctor-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.doctor-body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.doctor-body h3 { font-size: 1.35rem; }
.doctor-badge { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin-bottom: 12px; padding: 6px 14px; border-radius: 999px; background: var(--navy); color: var(--on-navy); font-size: .78rem; font-weight: 600; letter-spacing: .01em; box-shadow: var(--shadow-sm); }
.doctor-badge svg { width: 16px; height: 16px; flex: none; }
.doctor-role { display: inline-flex; align-self: flex-start; margin: 10px 0 10px; padding: 5px 13px; border-radius: 999px; background: var(--sky-soft); color: var(--navy); font-size: .82rem; font-weight: 600; }
.doctor-cred { display: block; font-size: .8rem; color: var(--ink-soft); font-weight: 500; margin-bottom: 16px; letter-spacing: .01em; }
.doctor-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.doctor-chips .chip { font-size: .76rem; font-weight: 500; color: var(--ink-soft); background: var(--ice); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; }
.doctor-bio { color: var(--ink-soft); font-size: .95rem; margin-bottom: 20px; }
.doctor-cta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.doctor-crm { font-size: .82rem; color: var(--ink-soft); font-weight: 500; }

/* --------------------------------------------------------- FAQ */
.faq-wrap { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 4px; font-size: 1.06rem; font-weight: 600; color: var(--ink); }
.faq-q .ico { width: 26px; height: 26px; flex: none; position: relative; }
.faq-q .ico::before, .faq-q .ico::after { content: ""; position: absolute; background: var(--sky-ink); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-q .ico::before { top: 12px; left: 4px; right: 4px; height: 2px; }
.faq-q .ico::after { left: 12px; top: 4px; bottom: 4px; width: 2px; }
.faq-q[aria-expanded="true"] .ico::after { transform: scaleY(0); }
.faq-a { overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--ink-soft); font-size: 1rem; padding: 0 4px 24px; max-width: 70ch; }

/* --------------------------------------------------------- contato */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4vw, 48px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; gap: 15px; align-items: flex-start; padding: 20px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.contact-row:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.contact-row .c-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--sky-soft); display: grid; place-items: center; color: var(--sky-ink); flex: none; }
.contact-row .c-ic svg { width: 21px; height: 21px; }
.contact-row .c-body b { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sky-ink); margin-bottom: 4px; }
.contact-row .c-body a, .contact-row .c-body span { color: var(--ink); font-size: .98rem; }
.contact-row .c-body a:hover { color: var(--sky-ink); }
.contact-row .c-body .sub { display: block; color: var(--ink-soft); font-size: .88rem; }
.contact-row .c-body { min-width: 0; } /* deixa o flex-child encolher */
.contact-row .c-body a, .contact-row .c-body span { overflow-wrap: anywhere; } /* quebra e-mail/endereço longos no mobile */
.contact-side { display: flex; flex-direction: column; gap: 20px; }
.hours-card { padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.hours-card h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.hours-card h3 svg { width: 20px; height: 20px; color: var(--sky-ink); }
.hours-list { list-style: none; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; padding: 9px 0; font-size: .93rem; border-bottom: 1px solid var(--line); }
.hours-list li:last-child { border-bottom: 0; }
.hours-list li span:first-child { color: var(--ink-soft); }
.hours-list li.closed span:last-child { color: oklch(0.62 0.02 250); }
.hours-list li.today { font-weight: 600; }
.hours-list li.today span { color: var(--navy); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 250px; border: 0; display: block; }

/* --------------------------------------------------------- CTA band (navy) */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); text-align: center; background: var(--navy); color: var(--on-navy); box-shadow: var(--shadow); }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -70px; width: 300px; height: 300px; background: url("../img/petal.svg") center / contain no-repeat; opacity: .08; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.3vw, 2.4rem); position: relative; }
.cta-band p { color: var(--on-navy-soft); max-width: 54ch; margin: 14px auto 28px; position: relative; }
.cta-band .cta-actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; position: relative; }

/* --------------------------------------------------------- footer (navy) */
.site-footer { background: var(--navy-deep); color: var(--on-navy-soft); padding: 62px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .brand { color: #fff; margin-bottom: 15px; }
.footer-brand .brand-logo { height: 34px; }
.footer-brand p { color: var(--on-navy-soft); font-size: .92rem; max-width: 330px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: oklch(0.97 0.01 220 / 0.06); border: 1px solid oklch(0.97 0.01 220 / 0.14); color: var(--on-navy-soft); transition: color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.footer-social a:hover { color: #fff; border-color: var(--sky); transform: translateY(-2px); }
.footer-social a svg { width: 19px; height: 19px; }
.foot-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: oklch(0.80 0.09 240); margin-bottom: 15px; }
.foot-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col ul a { color: var(--on-navy-soft); font-size: .93rem; transition: color .2s var(--ease); }
.foot-col ul a:hover { color: #fff; }
.foot-contact { font-style: normal; color: var(--on-navy-soft); font-size: .93rem; line-height: 1.85; }
.foot-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid oklch(0.97 0.01 220 / 0.12); padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .84rem; color: oklch(0.78 0.02 228); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .fb-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* --------------------------------------------------------- whatsapp float */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -8px oklch(0.72 0.19 150 / 0.6); transition: transform .25s var(--ease); animation: wa-in .4s var(--ease) both; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes wa-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }

/* --------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* --------------------------------------------------------- páginas legais */
.legal-hero { padding: clamp(56px, 9vw, 92px) 0 0; background: var(--mist); border-bottom: 1px solid var(--line); }
.legal-hero .eyebrow { justify-content: flex-start; }
.legal-hero h1 { font-size: clamp(1.85rem, 4vw, 2.7rem); font-weight: 700; color: var(--navy); }
.legal-hero p { color: var(--ink-soft); margin-top: 12px; }
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 1.4rem; margin: 40px 0 14px; color: var(--navy); }
.prose h3 { font-size: 1.1rem; margin: 26px 0 10px; color: var(--sky-ink); }
.prose p { color: var(--ink-soft); margin-bottom: 15px; font-size: 1rem; max-width: 72ch; }
.prose ul, .prose ol { color: var(--ink-soft); margin: 0 0 18px 22px; display: flex; flex-direction: column; gap: 8px; }
.prose a { color: var(--sky-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose .legal-updated { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-soft); }

/* --------------------------------------------------------- 404 */
.error404-main { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.error404-main h1 { font-size: clamp(3rem, 12vw, 7rem); color: var(--sky-ink); }
.error404-main p { color: var(--ink-soft); margin: 12px 0 28px; }

/* =================================================================== responsive */
@media (max-width: 1000px) {
  .diff-grid, .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .diff-media { order: -1; }
  .svc-row, .svc-row.rev { grid-template-columns: 1fr; gap: 24px; }
  .svc-row.rev .svc-figure { order: -1; }
  .svc-row .svc-figure { order: -1; }
  .svc-groups { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-menu, .nav-right .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.is-open { display: flex; position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 3px; padding: 16px 22px 24px; background: oklch(0.984 0.009 220 / 0.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); animation: menu-in .25s var(--ease) both; }
  @keyframes menu-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
  .nav-menu.is-open a:not(.btn) { padding: 13px 12px; font-size: 1rem; border-radius: 12px; }
  .nav-menu.is-open .nav-cta-mobile { display: block; margin-top: 10px; }
  .nav-cta-mobile { display: none; }
  .doctor { grid-template-columns: 1fr; }
  .doctor-photo { min-height: 300px; aspect-ratio: 4 / 3; }
  .about-values { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
  .hs-text .btn { width: 100%; }
  .doctor-photo { aspect-ratio: 1 / 1; }
  .brand-logo { height: 32px; }
}
