/* Dr. Adilon Cardoso — estilos do site estático */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/assets/fonts/jost-latin.woff2) format('woff2');
  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;
}

:root {
  --navy: #0e2a47;
  --navy-2: #163a5f;
  --ink: #1b2535;
  --muted: #586274;
  --gold: #8a7205;
  --gold-2: #b79a1c;
  --gold-3: #d9c26a;
  --gold-soft: #f5f0dc;
  --cream: #fbf9f3;
  --line: #e7e0c8;
  --white: #fff;
  --green: #128c4b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(14, 42, 71, .35);
  --shadow-sm: 0 6px 18px -10px rgba(14, 42, 71, .25);
  --header-h: 76px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  font-weight: 350;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); font-weight: 450; }
p { margin: 0 0 1em; text-wrap: pretty; }
.accent { color: var(--gold); }
.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
}
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 860px; }
.section { padding-block: clamp(56px, 8vw, 112px); }
.section.tight { padding-block: clamp(40px, 6vw, 72px); }
.section.cream { background: var(--cream); }
.section.lines {
  background:
    linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 22%, rgba(255,255,255,0) 78%, #fff 100%),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(183,154,28,.10) 58px 60px),
    var(--cream);
}
.center { text-align: center; }
.center .lead { margin-inline: auto; max-width: 720px; }
.section-head { margin-bottom: clamp(28px, 4vw, 52px); }
.section-head.center { max-width: 820px; margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .8em 1.6em;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: .98rem; letter-spacing: .06em; text-transform: uppercase;
  line-height: 1.2; text-align: center;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 10px 24px -12px rgba(138, 114, 5, .8); }
.btn-gold:hover { background: #745f03; transform: translateY(-1px); }
.btn-outline { border-color: var(--gold-2); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--gold-soft); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: #0d7a40; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; color: var(--gold); font-weight: 500; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Bandeiras ---------- */
.flag { width: 22px; height: 16px; border-radius: 3px; overflow: hidden; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(14,42,71,.5); }
.site-header .container { max-width: 1360px; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { flex: none; display: block; }
.brand img { width: clamp(150px, 16vw, 200px); height: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: clamp(4px, 1vw, 12px); margin: 0; padding: 0; }
.main-nav a, .main-nav .dd-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 8px; font-size: .95rem; font-weight: 400; color: var(--navy);
  background: none; border: 0; border-radius: 8px; white-space: nowrap;
}
.main-nav a:hover, .main-nav .dd-toggle:hover, .main-nav a[aria-current="page"] { color: var(--gold); }
.dd-toggle svg { width: 16px; height: 16px; transition: transform .2s; }
.has-dd { position: relative; }
.dd {
  position: absolute; top: calc(100% + 6px); left: 50%; translate: -50% 0;
  min-width: 260px; list-style: none; margin: 0; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.dd a { display: flex; width: 100%; padding: 10px 12px; }
.dd a:hover { background: var(--cream); }
.has-dd:hover .dd, .has-dd:focus-within .dd, .has-dd.open .dd { opacity: 1; visibility: visible; transform: none; }
.has-dd:hover .dd-toggle svg, .has-dd.open .dd-toggle svg { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { min-height: 42px; padding: .55em 1.1em; font-size: .82rem; white-space: nowrap; }
.main-nav .nav-home { display: none; }
@media (max-width: 1320px) { .header-actions .btn { display: none; } }

.lang { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-size: .85rem; font-weight: 500; color: var(--navy);
}
.lang-toggle svg.chev { width: 14px; height: 14px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 5;
  list-style: none; margin: 0; padding: 6px; min-width: 190px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.lang.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: .95rem; color: var(--navy); }
.lang-menu a:hover { background: var(--cream); }
.lang-menu a[aria-current="true"] { background: var(--gold-soft); font-weight: 500; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  align-items: center; justify-content: center; color: var(--navy);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-menu { display: none; }
.nav-open .nav-toggle .i-close { display: block; }

.mobile-panel { display: none; }

@media (max-width: 1180px) {
  .main-nav, .header-actions .lang, .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .mobile-panel {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    background: #fff; overflow-y: auto; overscroll-behavior: contain;
    padding: 12px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .22s ease;
  }
  .nav-open .mobile-panel { opacity: 1; visibility: visible; transform: none; }
  .nav-open { overflow: hidden; }
}
.mobile-panel ul { list-style: none; margin: 0; padding: 0; }
.mobile-panel > ul > li > a, .mobile-panel summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  font-size: 1.12rem; color: var(--navy); list-style: none; cursor: pointer;
}
.mobile-panel summary::-webkit-details-marker { display: none; }
.mobile-panel summary svg { width: 18px; height: 18px; transition: transform .2s; }
.mobile-panel details[open] summary svg { transform: rotate(180deg); }
.mobile-panel details ul { padding: 6px 0 10px 12px; border-bottom: 1px solid var(--line); }
.mobile-panel details a { display: block; padding: 10px 4px; color: var(--muted); }
.mobile-langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0 18px; }
.mobile-langs a {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px; border: 1px solid var(--line); border-radius: 14px; font-size: .9rem; color: var(--navy);
}
.mobile-langs a[aria-current="true"] { border-color: var(--gold-2); background: var(--gold-soft); font-weight: 500; }
.mobile-langs .flag { width: 30px; height: 21px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, calc(100svh - var(--header-h)), 860px);
  display: flex; align-items: flex-end;
  background: #e9e6df;
}
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 30%, rgba(251,249,243,.82) 68%, #fbf9f3 100%),
    linear-gradient(90deg, rgba(251,249,243,.55), rgba(251,249,243,0) 60%);
}
.hero-content { padding-block: 48px clamp(40px, 6vw, 72px); width: 100%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: end; }
.hero h1 { text-transform: uppercase; font-weight: 400; margin: 0; font-size: clamp(1.9rem, 1.1rem + 2.9vw, 3.4rem); letter-spacing: .005em; }
.hero-side { border-left: 2px solid var(--gold-2); padding-left: clamp(16px, 2vw, 28px); }
.hero-side p { color: var(--ink); margin-bottom: 1.2em; }
@media (max-width: 860px) {
  .hero { min-height: clamp(560px, calc(100svh - var(--header-h)), 760px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(180deg, rgba(255,255,255,0) 20%, rgba(251,249,243,.9) 58%, #fbf9f3 100%); }
}

/* ---------- Médico / Sobre ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.doctor-card {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4 / 5; background: var(--navy);
}
.doctor-card img { width: 100%; height: 100%; object-fit: cover; }
.doctor-card figcaption {
  position: absolute; inset: auto 0 0 0; padding: 56px 24px 22px; color: #fff;
  background: linear-gradient(180deg, rgba(14,42,71,0), rgba(14,42,71,.92));
}
.doctor-card strong { display: block; font-size: 1.4rem; font-weight: 500; }
.doctor-card span { display: block; color: var(--gold-3); font-size: .95rem; letter-spacing: .04em; }
.doctor-card small { display: block; font-size: .92rem; opacity: .85; margin-top: 2px; }
.cred-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cred-list li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.cred-list .ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.cred-list .ico svg { width: 22px; height: 22px; }
.cred-list b { font-weight: 600; color: var(--gold); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .doctor-card { max-width: 460px; width: 100%; margin-inline: auto; }
}

/* ---------- Vídeo institucional ---------- */
.video-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: #ddd center / cover no-repeat; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.sound-btn {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; border: 0; background: rgba(14,42,71,.75); color: #fff; font-size: .85rem;
  backdrop-filter: blur(6px);
}
.sound-btn svg { width: 18px; height: 18px; }
.sound-btn .i-on { display: none; }
.sound-btn[aria-pressed="true"] .i-on { display: block; }
.sound-btn[aria-pressed="true"] .i-off { display: none; }

.check-grid { text-align: left; list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.check-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.check-grid li { display: flex; gap: 10px; align-items: flex-start; }
.check-grid svg { width: 22px; height: 22px; color: var(--gold-2); flex: none; margin-top: 2px; }
.check-grid.center-list { max-width: 760px; margin-inline: auto; }
@media (max-width: 860px) { .check-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .check-grid, .check-grid.three { grid-template-columns: 1fr; } }

/* ---------- Cards de especialidades ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-3); }
.card-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--cream); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .35em; }
.card-body p { color: var(--muted); flex: 1; }
.mini-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(16px, 2.4vw, 28px); }
.mini-card {
  display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; transition: border-color .2s, box-shadow .2s;
}
.mini-card:hover { border-color: var(--gold-3); box-shadow: var(--shadow-sm); }
.mini-card .ico { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.mini-card .ico svg { width: 22px; height: 22px; }
.mini-card span { font-weight: 450; color: var(--navy); line-height: 1.25; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mini-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .mini-cards { grid-template-columns: 1fr; } }

/* ---------- Split (imagem + texto) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* ---------- Números ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.stat {
  text-align: center; padding: clamp(24px, 3vw, 36px) 20px; background: #fff; border: 1px solid var(--gold-3);
  border-radius: var(--radius);
}
.stat .ico { width: 52px; height: 52px; margin: 0 auto 12px; color: var(--gold-2); }
.stat .ico svg { width: 100%; height: 100%; }
.stat strong { display: block; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 400; color: var(--navy); line-height: 1.15; }
.stat span { color: var(--muted); }
@media (max-width: 720px) { .stats { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 4px; cursor: pointer; list-style: none; font-size: 1.08rem; font-weight: 450; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold-3); display: grid; place-items: center; color: var(--gold); transition: transform .25s, background .25s; }
.faq summary .pm svg { width: 16px; height: 16px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--gold-soft); }
.faq .answer { padding: 0 4px 22px; color: var(--muted); max-width: 760px; }

/* ---------- CTA ---------- */
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  max-width: 920px; margin-inline: auto; padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px);
  background: #fff; border: 1px solid var(--gold-3); border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 70% at 50% 0%, var(--gold-soft), transparent 60%);
}
.cta-box > * { position: relative; }
.cta-box .btn-row { justify-content: center; margin-top: 8px; }
.ethics { margin-top: 28px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Página interna: hero ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); }
.page-hero .lead { max-width: 760px; }
.page-hero.center .lead { margin-inline: auto; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero.center .btn-row { justify-content: center; }
.subtitle { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: var(--gold); letter-spacing: .08em; text-transform: uppercase; margin: -.2em 0 1em; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { margin-inline: 6px; opacity: .6; }

.spec-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.spec-grid .doctor-card { position: sticky; top: calc(var(--header-h) + 24px); }
.spec-body p { color: var(--ink); }
.spec-body h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); margin-top: 1.2em; }
.spec-body .check-grid { margin-top: 18px; }
@media (max-width: 860px) {
  .spec-grid { grid-template-columns: 1fr; }
  .spec-grid .doctor-card { position: relative; top: 0; max-width: 420px; margin-inline: auto; aspect-ratio: 1 / 1; }
}

.tech-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.tech-card {
  display: grid; grid-template-columns: 1fr 150px; gap: 16px; align-items: center;
  padding: clamp(22px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.tech-card img { width: 150px; height: auto; }
.tech-card h3 { margin-bottom: .4em; }
.tech-card p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .tech-cards { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .tech-card { grid-template-columns: 1fr 96px; } .tech-card img { width: 96px; } }

.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.feature { padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); margin-bottom: 16px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } }

.quiz-banner {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  padding: 22px 26px; margin-top: 32px; border-radius: var(--radius); background: var(--navy); color: #fff;
}
.quiz-banner .ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(217,194,106,.16); color: var(--gold-3); }
.quiz-banner .ico svg { width: 26px; height: 26px; }
.quiz-banner strong { display: block; font-weight: 500; font-size: 1.1rem; }
.quiz-banner span { opacity: .8; font-size: .95rem; }
.quiz-banner .btn { background: var(--gold-3); color: var(--navy); }
.quiz-banner .btn:hover { background: #e6d38a; }
@media (max-width: 680px) { .quiz-banner { grid-template-columns: 1fr; text-align: left; } .quiz-banner .ico { display: none; } }

/* ---------- Pós-operatório ---------- */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.team-card { padding: clamp(24px, 3vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.team-card.featured { background: var(--navy); color: #fff; border-color: var(--navy); }
.team-card.featured h3 { color: #fff; }
.team-card.featured .eyebrow { color: var(--gold-3); }
.team-card .head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.team-card .head .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); flex: none; }
.team-card.featured .head .ico { background: rgba(217,194,106,.16); color: var(--gold-3); }
.team-card .head .ico svg { width: 24px; height: 24px; }
.team-card h3 { margin: 0; }
.team-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.team-card li { display: flex; gap: 10px; }
.team-card li svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--gold-2); }
.facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.fact { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--gold-soft); color: var(--navy); font-weight: 450; }
.fact svg { width: 20px; height: 20px; color: var(--gold); }
@media (max-width: 760px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.info-list li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.info-list .ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list small { display: block; color: var(--muted); font-size: .85rem; }
.info-list a:hover { color: var(--gold); }
.form-card { padding: clamp(22px, 4vw, 40px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-size: .92rem; font-weight: 500; color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1px solid #d9d3bd; border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 4px rgba(183,154,28,.15); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 12px; display: flex; gap: 8px; }
.form-note svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--green); }
.counter { font-size: .8rem; color: var(--muted); text-align: right; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Área do paciente ---------- */
.action-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2.4vw, 24px); }
.action { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.action:hover { border-color: var(--gold-3); box-shadow: var(--shadow-sm); }
.action .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.action .ico svg { width: 24px; height: 24px; }
.action h3 { margin: 6px 0 0; }
.action p { color: var(--muted); margin: 0; flex: 1; }
.action .quiz-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.action .quiz-links a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--gold-3); font-size: .9rem; color: var(--navy); }
.action .quiz-links a:hover { background: var(--gold-soft); }
@media (max-width: 720px) { .action-grid { grid-template-columns: 1fr; } }

/* ---------- Texto longo (política) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #344055; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; overflow: hidden; background: #f4f2ec; border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px); }
.site-footer::after {
  content: ""; position: absolute; right: -10%; bottom: -30%; width: 60%; height: 120%; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 18px, rgba(183,154,28,.12) 18px 20px);
  mask-image: radial-gradient(closest-side, #000, transparent);
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
}
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 40px; }
.footer-brand img.logo { width: 240px; }
.footer-brand p { color: var(--muted); margin-top: 12px; }
.footer-quote { border-left: 1px solid var(--gold-3); padding-left: 24px; }
.footer-quote svg.q { width: 28px; height: 28px; color: var(--gold-2); }
.footer-quote p { font-size: 1.1rem; color: var(--navy); margin: 8px 0 10px; line-height: 1.4; }
.footer-quote img { width: 170px; opacity: .85; }
.footer-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-info li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink); }
.footer-info svg { width: 20px; height: 20px; flex: none; color: var(--gold); margin-top: 3px; }
.footer-info a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; transition: background .2s; }
.socials a:hover { background: var(--gold); }
.socials svg { width: 20px; height: 20px; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-langs a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .88rem; }
.footer-langs a[aria-current="true"] { border-color: var(--gold-2); background: var(--gold-soft); }
.footer-bottom { position: relative; z-index: 1; border-top: 1px solid var(--line); padding-block: 20px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: .88rem; color: var(--muted); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom a:hover { color: var(--gold); }
.dev { display: inline-flex; align-items: center; gap: 8px; }
.dev img { width: 92px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .footer-quote { border-left: 0; padding-left: 0; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Botão flutuante WhatsApp ---------- */
.fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--green); color: #fff; font-weight: 500; font-size: .95rem; box-shadow: 0 14px 30px -12px rgba(18,140,75,.7);
  transition: transform .2s, opacity .3s;
}
.fab:hover { transform: translateY(-2px); }
.fab svg { width: 26px; height: 26px; }
@media (max-width: 600px) { .fab { width: 56px; padding: 0; justify-content: center; } .fab span { display: none; } }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-size: clamp(4rem, 3rem + 6vw, 8rem); color: var(--gold-3); line-height: 1; font-weight: 300; }
