/* Visao Avancada | tema: azul profundo, amarelo, branco. Mobile first, alto contraste, para leitura confortavel. */

/* ---------- tokens ---------- */
:root {
  --ivory: #f5f9ff;
  --ivory-2: #e8f1fc;
  --paper: #ffffff;
  --ink: #12203a;
  --muted: #465670;
  --green-950: #061341;
  --green-900: #0a1f5c;
  --green-800: #0b2f86;
  --green-700: #0b57b8;
  --green-600: #0b6bcb;
  --green-100: #e3effc;
  --gold: #f4c430;
  --gold-light: #ffe08a;
  --gold-dark: #7a5900;
  --line: #d5e2f3;
  --danger: #b3261e;
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(10, 31, 92, 0.45);
  --font-serif: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, "Segoe UI", Arial, sans-serif;
  --font-sans: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-title: var(--font-serif);
  --font-body: var(--font-sans);
  --fs: 1;
  --ls: 0;
  --bg: var(--ivory);
  --surface: var(--paper);
  --text: var(--ink);
  --link: var(--green-700);
  --header-h: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: calc(100% * var(--fs)); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; max-width: 100%; }
/* links e textos longos (URLs) nunca podem alargar a página no celular */
main a, .prose, .prose a, .prose td, .prose th { overflow-wrap: anywhere; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1.125rem; line-height: 1.75;
  letter-spacing: calc(var(--ls) * 1em); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-title); color: var(--green-800); line-height: 1.15; margin: 0 0 0.6em; font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold-dark); }
ul, ol { padding-left: 1.3em; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

/* foco sempre visivel */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 0.75rem; top: -4rem; z-index: 200; background: var(--green-900); color: #fff; padding: 0.8rem 1.1rem; border-radius: 8px; transition: top 0.2s; }
.skip-link:focus { top: 0.75rem; }
main:focus { outline: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow, .narrow { max-width: 820px; }
.section { padding: clamp(3.2rem, 7vw, 6rem) 0; }
.section-sm { padding: clamp(2.2rem, 5vw, 3.6rem) 0; }

/* ---------- botoes ---------- */
.btn {
  --mx: 50%; --my: 50%;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px; min-width: 48px; padding: 0.8rem 1.6rem;
  border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font-body); letter-spacing: 0.01em; text-decoration: none; cursor: pointer; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.35), transparent 60%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: var(--green-800); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-700); color: #fff; }
.btn-gold { background: var(--gold-light); color: var(--green-950); border-color: var(--gold); box-shadow: 0 14px 30px -18px rgba(122, 92, 20, 0.8); }
.btn-gold:hover { background: #e6cb85; color: var(--green-950); }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn-outline:hover { background: var(--green-800); color: #fff; }
.btn-link { background: none; color: var(--link); text-decoration: underline; min-height: 44px; padding-inline: 0.6rem; }
.btn-sm { white-space: nowrap; min-height: 44px; padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.link-button { background: none; border: 0; padding: 0.4rem 0.2rem; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; min-height: 44px; }

/* ---------- cabecalho ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--ivory) 97%, transparent); border-bottom: 1px solid var(--line); transition: box-shadow 0.3s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(10, 43, 31, 0.6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--green-800); min-height: 48px; }
.brand-mark { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { white-space: nowrap; font-family: var(--font-serif); font-size: 1.28rem; font-weight: 700; color: var(--green-800); }
.brand-sub { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; margin-top: 3px; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 24px; height: 2px; background: var(--green-800); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
.main-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.5rem; display: none; max-height: calc(100vh - var(--header-h)); overflow: auto; box-shadow: var(--shadow); }
.main-nav.is-open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav li a { white-space: nowrap; display: flex; align-items: center; min-height: 52px; padding: 0.4rem 0.2rem; color: var(--green-900); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.main-nav li a[aria-current="page"] { color: var(--gold-dark); }
.nav-actions { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }
.lang-switch details { position: relative; }
.lang-switch summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; min-width: 52px; min-height: 48px; padding: 0 0.9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 700; color: var(--green-800); cursor: pointer; letter-spacing: 0.06em; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch ul { position: absolute; z-index: 5; min-width: 170px; list-style: none; margin: 0.4rem 0 0; padding: 0.4rem; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.lang-switch ul a { display: flex; min-height: 48px; align-items: center; padding: 0 0.8rem; border-radius: 8px; text-decoration: none; color: var(--green-900); }
.lang-switch ul a:hover, .lang-switch ul a[aria-current] { background: var(--green-100); }
.a11y-open { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--green-800); cursor: pointer; }
.a11y-open:hover { background: var(--green-100); }

/* celular: gaveta de tela cheia, itens grandes e botao de WhatsApp em destaque */
.brand { flex: none; }
.main-nav li a { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 700; }
.nav-actions .btn { flex: 1 1 100%; }
.nav-actions .lang-switch, .nav-actions .a11y-open { flex: none; }

/* desktop: so a partir de 1280px o menu fica na linha do logo (evita sobreposicao) */
@media (min-width: 1280px) {
  .header-inner { max-width: 1360px; }
  .nav-toggle { display: none; }
  .main-nav { position: static; display: flex; align-items: center; gap: 1rem; background: none; border: 0; box-shadow: none; padding: 0; max-height: none; overflow: visible; min-width: 0; }
  .main-nav ul { display: flex; gap: 0.1rem; flex-wrap: nowrap; }
  .main-nav li a { border: 0; min-height: 48px; padding: 0.4rem 0.7rem; border-radius: 999px; position: relative; font-family: var(--font-body); font-size: 0.93rem; font-weight: 600; }
  .main-nav li a::after { content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: 6px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
  .main-nav li a:hover::after, .main-nav li a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-actions { margin-top: 0; flex-wrap: nowrap; }
  .nav-actions .btn { flex: none; }
  .brand-name { display: none; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  .main-nav { gap: 0.6rem; }
  .main-nav li a { padding: 0.4rem 0.5rem; font-size: 0.88rem; }
  .nav-actions { gap: 0.4rem; }
}
@media (min-width: 1640px) { .brand-name { display: block; } }

/* ---------- secoes ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(1.8rem, 4vw, 3rem); }
.section-title { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.section-title.light { color: #fff; }
.section-lead { font-size: 1.12rem; color: var(--muted); }
.ornament { display: block; width: 90px; height: 14px; margin: 0.9rem auto 0; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent) center / 100% 1px no-repeat; position: relative; }
.ornament::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; background: var(--ivory); border: 1.5px solid var(--gold); transform: translate(-50%, -50%) rotate(45deg); }
.page-hero .ornament { margin-left: 0; margin-right: 0; }
.page-hero.error-page .ornament { margin-inline: auto; }


/* faq */
.faq-list { display: grid; gap: 0.8rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.05rem 3.2rem 1.05rem 1.3rem; font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--green-800); position: relative; min-height: 56px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; color: var(--gold-dark); font-family: var(--font-sans); font-size: 1.2rem; line-height: 1; transition: transform 0.3s; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] { border-color: var(--gold); }
.faq-answer { padding: 0 1.3rem 1.2rem; color: var(--text); }

/* instagram */
.insta { text-align: center; }
.insta-grid { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
@media (min-width: 760px) { .insta-grid { grid-template-columns: repeat(6, 1fr); } }
.insta-grid img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 10px; }

/* contato */
.contact { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-grid { display: grid; gap: 2rem; }
.contact address p { margin-bottom: 1rem; }
.map-box { position: relative; min-height: 320px; border-radius: var(--radius); overflow: hidden; background: var(--green-100); border: 1px solid var(--line); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 0.6rem; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; background: repeating-linear-gradient(45deg, var(--green-100), var(--green-100) 14px, #dbe9e0 14px, #dbe9e0 28px); }
.map-placeholder p { max-width: 36ch; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: stretch; } }

/* newsletter */
.newsletter { background: radial-gradient(circle at 20% 0%, var(--green-700), var(--green-900) 60%); color: #f4efe2; text-align: center; }
.newsletter p { color: #e8e2d1; }
.news-form { display: grid; gap: 0.9rem; text-align: left; margin-top: 1.4rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.3rem; font-size: 0.95rem; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 0.75rem 1rem; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.95rem; }
.check input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.req { color: var(--gold-dark); }
.newsletter .req { color: var(--gold-light); }
.form-msg { margin: 0; font-weight: 600; min-height: 1.5em; }
.form-msg.is-ok { color: #1c6b46; }
.form-msg.is-err { color: var(--danger); }
.newsletter .form-msg.is-ok { color: #bff0d3; }
.newsletter .form-msg.is-err { color: #ffd1d1; }
@media (min-width: 700px) { .news-form { grid-template-columns: 1fr 1fr; } .news-form .check, .news-form .form-msg, .news-form button { grid-column: 1 / -1; } .news-form button { justify-self: start; } }

/* faixa CTA */
.cta-band { background: var(--green-900); color: #fff; }
.cta-title { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 1rem; color: #f4efe2; }

/* ---------- paginas internas ---------- */
.page-hero { background: linear-gradient(180deg, var(--green-100), var(--ivory)); padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(1.6rem, 3vw, 2.4rem); border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-bottom: 0.2em; }
.page-intro { margin-top: 1rem; }
.post-meta { color: var(--muted); font-size: 0.95rem; margin: 0.4rem 0 0; }
.badge-review { display: inline-block; margin-top: 0.8rem; padding: 0.25rem 0.8rem; border: 1px solid var(--gold); border-radius: 999px; font-size: 0.8rem; color: var(--gold-dark); background: var(--paper); }
.breadcrumb { margin-bottom: 1.2rem; font-size: 0.9rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; color: var(--gold); margin-right: 0.5rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current] { color: var(--green-800); font-weight: 600; }

.prose { font-size: 1.1rem; max-width: 70ch; }
.page-layout .prose { max-width: none; }
.prose h2 { font-size: clamp(1.8rem, 4vw, 2.3rem); margin-top: 2.2em; }
.prose h3 { font-size: clamp(1.45rem, 3.2vw, 1.8rem); margin-top: 1.8em; }
.prose h4 { font-size: 1.3rem; margin-top: 1.6em; }
.prose h5, .prose h6 { font-family: var(--font-body); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 1.4em; }
.prose img { border-radius: 12px; margin: 1.6rem auto; box-shadow: var(--shadow); }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 1.6rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--gold); background: var(--paper); border-radius: 0 12px 12px 0; font-family: var(--font-serif); font-size: 1.3rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: 1rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.7rem 0.9rem; text-align: left; vertical-align: top; }
.prose th, .prose tr:first-child td { background: var(--green-100); }
.prose hr { margin: 2.2rem 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.prose .leia-tambem { padding: 0.9rem 1.2rem; border: 1px solid var(--gold); border-radius: 12px; background: var(--paper); font-weight: 600; }
.prose .aligncenter { display: block; margin-inline: auto; }
.post-cover { margin: 0 0 2rem; }
.post-cover img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: baseline; margin: 2rem 0; font-size: 0.92rem; }
.tag-list ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.tag-list a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 0.8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); text-decoration: none; color: var(--green-800); }
.doctor-card { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; padding: 1.4rem; margin: 2.4rem 0; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); }
.doctor-card img { width: 110px; height: auto; }
.doctor-name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700; color: var(--green-800); margin: 0; }
.doctor-meta { margin: 0.2rem 0 0.8rem; color: var(--muted); font-size: 0.95rem; }
.comments { margin-top: 2.4rem; }
.comment-list, .comment-replies { list-style: none; padding: 0; }
.comment-list > li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.comment-replies { margin: 0.8rem 0 0 1.2rem; padding-left: 1rem; border-left: 3px solid var(--gold-light); }
.comment-author { font-weight: 700; margin-bottom: 0.2rem; }

/* blog */
.chips ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2rem; padding: 0; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); text-decoration: none; color: var(--green-800); font-weight: 600; font-size: 0.95rem; }
.chips a:hover, .chips a[aria-current] { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.post-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-100); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.post-card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.1rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card-kicker { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; margin: 0 0 0.4rem; }
.card-kicker a { color: var(--gold-dark); text-decoration: none; }
.card-title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.card-title a { color: var(--green-800); text-decoration: none; }
.card-title a:hover { color: var(--gold-dark); }
.card-text { color: var(--muted); font-size: 0.98rem; flex: 1; }
.card-meta { margin: 0.4rem 0 0; font-size: 0.85rem; color: var(--muted); }
.pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; padding: 0; margin: 1rem 0; }
.pagination a, .pagination .gap { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 0.9rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--green-800); text-decoration: none; font-weight: 600; }
.pagination a:hover, .pagination a[aria-current] { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.pagination .gap { border: 0; background: none; }

/* blog: busca, categorias, arquivo por periodo, calendario e tags (celular primeiro) */
.blog-layout { display: grid; gap: 1.1rem; grid-template-columns: minmax(0, 1fr); grid-template-areas: "busca" "cats" "main" "lateral"; }
.blog-search { grid-area: busca; position: relative; display: flex; }
.blog-cats { grid-area: cats; min-width: 0; }
.blog-main { grid-area: main; min-width: 0; margin-top: 0.4rem; }
.blog-side { grid-area: lateral; display: grid; gap: 1.2rem; align-content: start; min-width: 0; }
.blog-search-input { flex: 1; min-width: 0; min-height: 56px; padding: 0.7rem 4rem 0.7rem 1.3rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 1.05rem; -webkit-appearance: none; appearance: none; box-shadow: 0 10px 24px -20px rgba(10, 43, 31, 0.6); }
.blog-search-input:focus { border-color: var(--gold); outline-offset: 2px; }
.blog-search-btn { position: absolute; right: 6px; top: 6px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--green-800); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background 0.25s, transform 0.2s; }
.blog-search-btn:hover { background: var(--green-700); transform: scale(1.05); }
.blog-cats .widget-title { display: none; }
.blog-cats ul { flex-wrap: nowrap; overflow-x: auto; margin: 0 -1.25rem; padding: 0 1.25rem 0.5rem; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.blog-cats ul::-webkit-scrollbar { display: none; }
.blog-cats li { flex: none; scroll-snap-align: start; }
.chip-n { margin-left: 0.3rem; font-size: 0.78em; font-weight: 600; opacity: 0.7; }
.widget { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.2rem 1.3rem; box-shadow: var(--shadow); }
.widget-title { font-size: 1.45rem; margin: 0 0 0.7rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--line); }
.arq-anos, .arq-meses, .tag-cloud { list-style: none; margin: 0; padding: 0; }
.arq-anos > li + li { border-top: 1px solid var(--line); }
.arq-anos summary { list-style: none; cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding-right: 0.2rem; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--green-800); }
.arq-anos summary::-webkit-details-marker { display: none; }
.arq-anos summary::after { content: "+"; display: grid; place-items: center; width: 26px; height: 26px; margin-left: auto; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-dark); font: 1.1rem/1 var(--font-sans); }
.arq-anos details[open] summary::after { content: "\2212"; }
.arq-anos summary .chip-n { margin-right: 0.6rem; }
.arq-meses { padding: 0 0 0.6rem 0.2rem; }
.arq-meses a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 0.4rem; border-radius: 8px; color: var(--green-900); text-decoration: none; }
.arq-meses a:hover { background: var(--green-100); }
.cal { width: 100%; border-collapse: collapse; text-align: center; font-size: 0.95rem; table-layout: fixed; }
.cal caption { padding: 0 0 0.4rem; }
.cal-nav { display: flex; align-items: center; justify-content: space-between; }
.cal-titulo { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--green-800); text-decoration: none; }
.cal-seta { display: grid; place-items: center; min-width: 44px; min-height: 44px; font-size: 1.7rem; line-height: 1; color: var(--green-800); text-decoration: none; border-radius: 50%; }
.cal-seta.is-off { opacity: 0.25; }
.cal th { padding: 0.3rem 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; color: var(--muted); }
.cal td { height: 40px; padding: 0; color: var(--muted); }
.cal td a { display: grid; place-items: center; width: 38px; height: 38px; margin: 0 auto; border-radius: 50%; background: var(--green-800); color: #fff; font-weight: 700; text-decoration: none; transition: background 0.25s, transform 0.2s; }
.cal td a:hover { background: var(--gold-dark); transform: scale(1.08); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem 0.55rem; }
.tag-cloud a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.95rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--green-800); font-weight: 600; text-decoration: none; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.tag-cloud a:hover { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.tag-cloud .peso-1 { font-size: 0.82rem; } .tag-cloud .peso-2 { font-size: 0.9rem; } .tag-cloud .peso-3 { font-size: 1rem; } .tag-cloud .peso-4 { font-size: 1.08rem; } .tag-cloud .peso-5 { font-size: 1.18rem; }
@media (min-width: 1024px) {
  .blog-layout { grid-template-columns: minmax(0, 1fr) 340px; grid-template-areas: "main busca" "main cats" "main lateral"; grid-template-rows: auto auto 1fr; column-gap: 2.6rem; row-gap: 1.2rem; align-items: start; }
  .blog-main { margin-top: 0; }
  .blog-layout .post-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-cats { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.2rem 1.3rem; box-shadow: var(--shadow); }
  .blog-cats .widget-title { display: block; }
  .blog-cats ul { display: grid; gap: 0.35rem; margin: 0; padding: 0; overflow: visible; }
  .blog-cats a { justify-content: space-between; width: 100%; border-radius: 12px; }
}
/* ---------- blog: destaque (carrossel dos artigos mais recentes) ---------- */
.blog-top { padding: 1rem 0 0.6rem; }
.blog-top .breadcrumb { margin-bottom: 0.3rem; }
.blog-top-title { margin: 0 0 0.5rem; font-size: clamp(1.7rem, 4.5vw, 2.3rem); }
.blog-intro { padding-top: 1.4rem; }
.bh { position: relative; isolation: isolate; overflow: hidden; padding: 0 0 1.4rem; color: #f4efe2; background: radial-gradient(120% 90% at 85% 0%, #1d6b4b 0%, #0f3d2b 42%, #071f16 100%); }
.bh::before { content: ""; position: absolute; inset: -90px; z-index: -1; pointer-events: none; background: radial-gradient(circle at 20% 30%, rgba(217, 187, 108, 0.2) 0 1.4px, transparent 2px) 0 0 / 90px 90px, radial-gradient(circle at 70% 60%, rgba(217, 187, 108, 0.16) 0 1px, transparent 1.6px) 0 0 / 140px 140px; animation: bhPoeira 70s linear infinite; }
@keyframes bhPoeira { to { transform: translate3d(-90px, -90px, 0); } }
.bh .bh-grid { display: grid; gap: 1rem; padding-inline: 0; }
.bh-stage { position: relative; min-width: 0; }
.bh-slides { list-style: none; margin: 0; padding: 0; display: flex; position: relative; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.bh-slides::-webkit-scrollbar { display: none; }
.bh-slide { position: relative; flex: 0 0 100%; min-height: 440px; max-height: 80vh; aspect-ratio: 4 / 5; overflow: hidden; scroll-snap-align: start; background: #0a2b1f; }
.bh-photo { position: absolute; inset: 0; display: block; }
.bh-photo img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 40%; }
.bh-slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(7, 31, 22, 0.08) 20%, rgba(7, 31, 22, 0.6) 55%, rgba(7, 31, 22, 0.95) 100%); }
.bh-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.2rem 1.25rem 4.8rem; }
.bh-kicker { margin: 0 0 0.5rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.bh-kicker a { color: var(--gold-light); text-decoration: none; }
.bh-title { margin: 0 0 0.6rem; font-size: clamp(1.75rem, 6.4vw, 2.6rem); line-height: 1.08; color: #fff; text-wrap: balance; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }
.bh-title a { color: inherit; text-decoration: none; }
.bh-title a:hover { color: var(--gold-light); }
.bh-resumo { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 56ch; margin: 0 0 0.9rem; color: #ece6d5; font-size: 1rem; line-height: 1.55; }
.bh-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin: 0; font-size: 0.88rem; color: #d9d2bd; }
.bh-ctrl { position: absolute; left: 0; right: 0; bottom: 0.9rem; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 0.3rem; padding: 0 0.9rem; }
.bh-arrow { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(244, 239, 226, 0.5); background: rgba(7, 31, 22, 0.5); color: #fff; cursor: pointer; transition: background 0.25s, border-color 0.25s, transform 0.2s; }
.bh-arrow:hover { background: rgba(217, 187, 108, 0.35); border-color: var(--gold-light); transform: scale(1.06); }
.bh-dots { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; }
.bh-dot { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.bh-dot svg { overflow: visible; }
.bh-ring-track { stroke: rgba(244, 239, 226, 0.3); }
.bh-ring-fill { stroke: var(--gold-light); stroke-dasharray: 69.12; stroke-dashoffset: 69.12; }
.bh-pupil { fill: rgba(244, 239, 226, 0.6); transform-origin: 14px 14px; transition: fill 0.3s, transform 0.3s; }
.bh-glint { fill: #fff; opacity: 0; transition: opacity 0.3s; }
.bh-dot.is-active .bh-pupil { fill: #04140d; stroke: var(--gold-light); stroke-width: 1.5; transform: scale(1.25); }
.bh-dot.is-active .bh-glint { opacity: 0.95; }
.bh-lista { display: none; }
@keyframes bhAnel { to { stroke-dashoffset: 0; } }
@keyframes bhZoom { from { transform: scale(1.02); } to { transform: scale(1.14); } }
@keyframes bhTexto { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .bh-dot.is-active .bh-ring-fill { animation: bhAnel 7s linear forwards; }
  .bh-slide.is-active .bh-photo { animation: abrirOlho 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .bh-slide.is-active .bh-photo img { animation: bhZoom 11s ease-out both; }
  .bh-slide.is-active .bh-info > * { animation: bhTexto 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .bh-slide.is-active .bh-info > :nth-child(2) { animation-delay: 0.1s; }
  .bh-slide.is-active .bh-info > :nth-child(3) { animation-delay: 0.2s; }
  .bh-slide.is-active .bh-info > :nth-child(4) { animation-delay: 0.3s; }
  .bh.is-paused .bh-ring-fill, .bh.is-off .bh-ring-fill, .bh.is-paused .bh-photo img, .bh.is-off .bh-photo img { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .bh::before { animation: none; }
  .bh-dot.is-active .bh-ring-fill { stroke-dashoffset: 0; }
}
@media (min-width: 1024px) {
  .bh { padding: 2.2rem 0 2.4rem; }
  .bh .bh-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 1.7rem; align-items: stretch; padding-inline: 1.25rem; }
  .bh-stage { overflow: hidden; border: 1px solid rgba(217, 187, 108, 0.4); border-radius: 20px; box-shadow: 0 34px 60px -32px rgba(0, 0, 0, 0.7); }
  .bh-slide { min-height: 0; max-height: 620px; aspect-ratio: 16 / 10; }
  .bh-info { max-width: 680px; padding: 2rem 2.4rem 5.2rem; }
  .bh-title { font-size: clamp(2rem, 3.2vw, 3rem); }
  .bh-resumo { -webkit-line-clamp: 3; font-size: 1.08rem; }
  .bh-ctrl { bottom: 1.1rem; padding: 0 1.6rem; }
  .bh-lista { display: flex; flex-direction: column; }
  .bh-lista-t { margin: 0 0 0.8rem; font: 700 0.78rem/1.2 var(--font-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); }
  .bh-lista ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
  .bh-item { display: flex; align-items: center; gap: 0.8rem; width: 100%; padding: 0.55rem; text-align: left; color: #f4efe2; border: 1px solid rgba(244, 239, 226, 0.16); border-radius: 14px; background: rgba(255, 255, 255, 0.04); cursor: pointer; transition: background 0.25s, border-color 0.25s, transform 0.25s; }
  .bh-item:hover { background: rgba(255, 255, 255, 0.1); transform: translateX(3px); }
  .bh-item.is-active { border-color: var(--gold-light); background: rgba(217, 187, 108, 0.14); }
  .bh-item img { flex: none; width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
  .bh-item-txt { display: grid; gap: 0.15rem; min-width: 0; }
  .bh-item-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 600 0.95rem/1.28 var(--font-sans); }
  .bh-item-d { font-size: 0.78rem; color: #cfc8b4; }
}
/* "Pausar video e animacoes" (painel de acessibilidade) */
.a11y-wide { grid-column: 1 / -1; }
html.a11y-calm *, html.a11y-calm *::before, html.a11y-calm *::after { animation: none !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
html.a11y-calm .hero-media, html.a11y-calm .bh-photo, html.a11y-calm .service-media, html.a11y-calm .about-photo .about-img, html.a11y-calm .card-media { clip-path: none !important; }
html.a11y-calm .bh-dot.is-active .bh-ring-fill { stroke-dashoffset: 0; }
html.a11y-calm .cursor-glow { display: none; }
html.a11y-hc .bh { background: #000; }
html.a11y-hc .bh::before { display: none; }
html.a11y-hc .widget, html.a11y-hc .blog-cats { background: #000; border: 2px solid #fff; }
html.a11y-hc .tag-cloud a, html.a11y-hc .blog-search-input { background: #000; color: #fff; border-color: #fff; }
html.a11y-hc .cal td a { background: #ffe14d; color: #000; }

/* tira-duvidas */
.card-form { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); margin: 2rem 0; display: grid; gap: 1rem; }
.form-note { font-size: 0.88rem; color: var(--muted); margin: 0; }
.qa-list { margin-top: 2.5rem; }
.qa-item { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.qa-author { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.3rem; }
.qa-question { font-weight: 600; }
.qa-answer { margin-top: 0.6rem; padding: 0.9rem 1.1rem; background: var(--green-100); border-radius: 12px; border-left: 4px solid var(--green-700); }
.qa-answer-label { font-weight: 700; color: var(--green-800); margin-bottom: 0.2rem; }

/* ---------- rodape ---------- */
.site-footer { background: var(--green-950); color: #e7e1d0; padding: 3.4rem 0 1.6rem; margin-top: 0; }
.site-footer a { color: #f0e4bd; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 2rem; }
.footer-mark { width: 150px; height: auto; margin-bottom: 0.8rem; }
.footer-name { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700; color: #fff; margin: 0; }
.footer-sub { color: var(--gold-light); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; margin: 0.2rem 0 0.4rem; }
.footer-reg { color: #cdc6b0; font-size: 0.92rem; }
.footer-h { color: var(--gold-light); font-size: 1.3rem; }
.footer-nav ul, .social-list { list-style: none; padding: 0; margin: 0; }
.footer-nav a, .social-list a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-contact p { margin-bottom: 0.7rem; }
.footer-legal { border-top: 1px solid rgba(217, 187, 108, 0.35); margin-top: 2.2rem; padding-top: 1.4rem; font-size: 0.88rem; color: #cfc8b4; }
.footer-disclaimer { max-width: 80ch; }
.footer-links .link-button { color: #f0e4bd; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr 0.8fr 1.4fr; } }

/* ---------- widgets ---------- */
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 70; width: 60px; height: 60px; border-radius: 50%; background: #1f8f4c; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.5); transition: transform 0.25s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.a11y-panel { position: fixed; right: 1rem; top: calc(var(--header-h) + 0.5rem); z-index: 90; width: min(360px, calc(100vw - 2rem)); background: var(--paper); color: var(--ink); border: 1px solid var(--gold); border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55); padding: 1.1rem; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; }
.a11y-head h2 { font-size: 1.4rem; margin: 0; }
.a11y-close { width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--green-800); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin: 0.6rem 0; }
.a11y-btn { min-height: 52px; padding: 0.4rem 0.6rem; border: 1.5px solid var(--green-800); border-radius: 12px; background: #fff; color: var(--green-900); font: 600 0.95rem var(--font-body); cursor: pointer; }
.a11y-btn[aria-pressed="true"] { background: var(--green-800); color: #fff; }
.a11y-reset { min-height: 48px; width: 100%; border: 0; background: none; text-decoration: underline; color: var(--green-800); cursor: pointer; font: inherit; }
.a11y-hint, .a11y-status { font-size: 0.85rem; color: var(--muted); margin: 0.4rem 0 0; }
.cookie-banner { position: fixed; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; z-index: 100; max-width: 880px; margin: 0 auto; background: var(--paper); border: 1px solid var(--gold); border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6); }
.cookie-inner { padding: 1.2rem 1.3rem; }
.cookie-inner h2 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.cookie-inner p { font-size: 0.95rem; margin-bottom: 0.8rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.cookie-options { border: 0; padding: 0; margin: 0 0 0.8rem; display: grid; gap: 0.5rem; }
.cookie-options label { display: flex; gap: 0.6rem; align-items: center; min-height: 44px; }
.cookie-options input { width: 22px; height: 22px; accent-color: var(--green-700); }

/* ---------- efeitos ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }
.cursor-glow { position: fixed; left: 0; top: 0; width: 260px; height: 260px; margin: -130px 0 0 -130px; border-radius: 50%; pointer-events: none; z-index: 55; background: radial-gradient(circle, rgba(217, 187, 108, 0.2), rgba(217, 187, 108, 0) 62%); opacity: 0; transition: opacity 0.4s; will-change: transform; }
.cursor-glow.is-on { opacity: 1; }
.a11y-hc .cursor-glow { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .service-img, .about-img { transform: none !important; }
  .cursor-glow { display: none; }
}

/* palpebra abrindo: o banner e as imagens "abrem" como um olho ao carregar/rolar (so com JS e movimento permitido) */
@keyframes abrirOlho { from { clip-path: ellipse(70% 2% at 50% 50%); } to { clip-path: ellipse(90% 90% at 50% 50%); } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-media { animation: abrirOlho 1.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  /* o recorte vai sempre num elemento FILHO do que e observado (.reveal); recortar o proprio observado impede que ele seja considerado visivel */
  .js .service-card .service-media, .js .about-photo .about-img, .js .post-card .card-media { clip-path: ellipse(90% 90% at 50% 50%); transition: clip-path 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s; }
  .js .service-card.reveal:not(.is-visible) .service-media, .js .about-photo.reveal:not(.is-visible) .about-img { clip-path: ellipse(70% 3% at 50% 50%); }
}

/* ---------- preferencias de acessibilidade (baixa visao) ---------- */
html.a11y-sans { --font-title: var(--font-sans); }
html.a11y-sans .brand-name, html.a11y-sans .prose blockquote, html.a11y-sans .footer-name { font-family: var(--font-sans); }
html.a11y-spacing { --ls: 0.04; }
html.a11y-spacing body { line-height: 1.95; word-spacing: 0.16em; }
html.a11y-spacing p, html.a11y-spacing li { margin-bottom: 1.4em; }
html.a11y-hc {
  --bg: #000; --surface: #000; --text: #fff; --link: #ffe14d; --ivory: #000; --ivory-2: #000; --paper: #000; --ink: #fff; --muted: #f0f0f0; --line: #fff;
  --green-100: #111; --green-800: #ffe14d; --green-700: #ffe14d; --green-900: #000; --green-950: #000; --gold: #ffe14d; --gold-light: #ffe14d; --gold-dark: #ffe14d;
}
html.a11y-hc body { background: #000; color: #fff; }
html.a11y-hc a { color: #ffe14d; text-decoration: underline; }
html.a11y-hc .btn-primary, html.a11y-hc .btn-gold { background: #ffe14d; color: #000; border-color: #fff; }
html.a11y-hc .btn-outline { color: #ffe14d; border-color: #ffe14d; }
html.a11y-hc .btn-outline:hover { background: #ffe14d; color: #000; }
html.a11y-hc .site-header, html.a11y-hc .main-nav { background: #000; border-color: #fff; }
html.a11y-hc .newsletter, html.a11y-hc .cta-band, html.a11y-hc .site-footer, html.a11y-hc .sim, html.a11y-hc .about, html.a11y-hc .page-hero, html.a11y-hc .hero, html.a11y-hc .contact { background: #000; }
html.a11y-hc .card, html.a11y-hc .service-card, html.a11y-hc .faq-item, html.a11y-hc .sim-panel, html.a11y-hc .hero-card, html.a11y-hc .doctor-card, html.a11y-hc .a11y-panel, html.a11y-hc .cookie-banner, html.a11y-hc .card-form { background: #000; border: 2px solid #fff; }
html.a11y-hc .sim-step, html.a11y-hc .a11y-btn, html.a11y-hc .chips a, html.a11y-hc .pagination a { background: #000; color: #fff; border-color: #fff; }
html.a11y-hc .sim-step.is-active, html.a11y-hc .a11y-btn[aria-pressed="true"], html.a11y-hc .chips a[aria-current], html.a11y-hc .pagination a[aria-current] { background: #ffe14d; color: #000; }
html.a11y-hc .field input, html.a11y-hc .field textarea { background: #000; color: #fff; border: 2px solid #fff; }
html.a11y-hc .sim-disclaimer, html.a11y-hc .qa-answer, html.a11y-hc .prose blockquote, html.a11y-hc .prose .leia-tambem { background: #111; }
html.a11y-hc :focus-visible { outline: 4px solid #fff; box-shadow: 0 0 0 7px #000; }
html.a11y-hc .brand-mark, html.a11y-hc .footer-mark { filter: invert(1) hue-rotate(180deg) brightness(1.4); }

@media (max-width: 1759px) { .brand-sub { display: none; } }
@media (max-width: 1279px) { .brand-name { font-size: 1.1rem; } }
@media (max-width: 380px) { .brand-name { font-size: 0.98rem; } .brand-mark { height: 38px; } }
@media print { .site-header, .site-footer, .wa-float, .cookie-banner, .a11y-panel, .newsletter, .hero, .cursor-glow { display: none !important; } body { background: #fff; color: #000; } }



@media (max-width: 600px) {
  .cookie-banner { left: 0.5rem; right: 0.5rem; bottom: 0.5rem; }
  .cookie-inner { padding: 0.7rem 0.8rem 0.75rem; }
  .cookie-inner h2 { margin: 0 0 0.15rem; font-size: 1rem; }
  .cookie-inner p { font-size: 0.78rem; line-height: 1.4; margin-bottom: 0.5rem; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
  .cookie-actions [data-cookie-accept] { grid-column: 1 / -1; }
  .cookie-actions .btn { width: 100%; min-height: 44px; padding: 0.35rem 0.6rem; font-size: 0.88rem; }
  .cookie-actions .btn-link { text-decoration: none; border: 1.5px dashed var(--line); border-radius: 999px; }
  .hero-copy { margin-top: -1.4rem; }
}


.bio-photo { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow); max-width: 820px; }
.bio-photo .about-img { object-position: 50% 28%; }

/* =====================================================================
   Visao Avancada: componentes novos (home, comparador, testes, avaliacao)
   ===================================================================== */
.ico { width: 1.25em; height: 1.25em; flex: none; }
.brand-logo { height: 54px; width: auto; display: block; }
.btn-lg { min-height: 56px; padding: 0.95rem 1.9rem; font-size: 1.08rem; }
.btn-ghost-light { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-ghost-light:hover { background: #fff; color: var(--green-900); }
.btn-gold { background: var(--gold); color: var(--green-950); border-color: var(--gold); box-shadow: 0 14px 30px -14px rgba(244, 196, 48, 0.9); }
.btn-gold:hover { background: #ffd24d; color: var(--green-950); }
.eyebrow { color: var(--green-700); letter-spacing: 0.14em; font-size: 0.82rem; }
.eyebrow-light { color: var(--gold-light); }
.lead { font-size: 1.2rem; color: var(--muted); }
.lead.light { color: #dbe8fb; }
.section-title { color: var(--green-900); }
.section-head { max-width: 800px; }
.band-soft { background: var(--ivory-2); }
.band-blue { background: linear-gradient(160deg, var(--green-900), var(--green-700)); color: #fff; }
.small { font-size: 0.92rem; }
.light { color: #dbe8fb; }
.side-title { font-size: 1.25rem; margin: 1.2rem 0 0.4rem; }
.site-header { background: rgba(255, 255, 255, 0.96); }
.main-nav li a { font-family: var(--font-body); font-size: 1.15rem; }
@media (min-width: 1280px) { .main-nav li a { font-size: 0.98rem; } .brand-logo { height: 56px; } }
.a11y-open { width: auto; min-width: 48px; padding: 0 0.9rem; gap: 0.45rem; border-radius: 999px; font-weight: 700; font-size: 0.92rem; }
.a11y-open-text { display: none; }
@media (min-width: 1500px) { .a11y-open-text { display: inline; } }

/* ---------- hero (video toca uma vez e fica no ultimo quadro) ---------- */
.hero { position: relative; overflow: hidden; background: var(--ivory); color: var(--ink); isolation: isolate; }
.hero-media { position: relative; width: 100%; aspect-ratio: 16 / 10; background: #dbe8f7; overflow: hidden; }
.hero-media picture { position: absolute; inset: 0; display: block; }
.hero-poster, .hero-fim, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 74% center; }
.hero-poster { animation: respira 14s ease-out both; }
@keyframes respira { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-fim-pic { opacity: 0; transition: opacity 0.8s ease; }
.hero-media.use-fim .hero-fim-pic { opacity: 1; }
.hero-media.use-fim .hero-video { display: none; }
.hero-video { opacity: 0; transition: opacity 0.9s ease; background: transparent; }
.hero-media.is-playing .hero-video { opacity: 1; }
.hero-veil { display: none; }
.hero-grid { position: relative; z-index: 2; padding-top: 1.6rem; padding-bottom: 2.2rem; }
.hero-logo { display: none; }
.hero-title { color: var(--green-900); font-size: clamp(2.1rem, 8vw, 3.3rem); line-height: 1.06; margin: 0 0 0.45em; font-weight: 800; letter-spacing: -0.015em; }
.hero-lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--ink); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.4rem; }
.hero-badges { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; }
.hero-badges li { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 700; color: var(--green-900); }
.hero-badges .ico { color: #1c8a4f; }
@media (min-width: 900px) {
  .hero { min-height: clamp(580px, 88vh, 900px); display: flex; align-items: center; }
  .hero-media { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero-veil { display: block; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(245, 249, 255, 0.97) 0%, rgba(245, 249, 255, 0.92) 28%, rgba(245, 249, 255, 0.6) 44%, rgba(245, 249, 255, 0) 60%); }
  .hero-grid { width: 100%; padding-top: 3rem; padding-bottom: 3rem; }
  .hero-copy-block { max-width: 500px; }
  .hero-title { font-size: clamp(2.2rem, 3.9vw, 3.2rem); }
  .hero-lead { font-size: 1.1rem; line-height: 1.6; }
  .hero-actions { margin-top: 1.1rem; }
  .hero-badges { margin-top: 1.1rem; }
  .hero-logo { display: block; width: 210px; height: auto; margin-bottom: 0.9rem; }
  .hero-poster, .hero-fim, .hero-video { transform: translateX(5%) scale(1.05); transform-origin: right center; }
  .hero-poster { animation: none; }
  .view-home .site-header:not(.is-scrolled) .brand-logo { opacity: 0; }
  .brand-logo { transition: opacity 0.4s; }
}
@media (min-width: 1500px) { .hero-copy-block { max-width: 560px; } }
/* entrada em sequencia do texto (logo, frase, titulo, texto, botoes, selos) */
.js .hero .seq { opacity: 0; transform: translateY(14px); filter: blur(8px); }
.js .hero.is-in .seq { animation: seqEntra 0.9s ease forwards; animation-delay: calc(var(--s, 0) * 0.17s + 0.1s); }
@keyframes seqEntra { to { opacity: 1; transform: none; filter: blur(0); } }
html.a11y-calm .hero .seq { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
html.a11y-calm .hero-poster { animation: none; }
.compare-band { background: var(--paper); }
.compare-wrap { max-width: 880px; margin: 1.6rem auto 1rem; }

/* ---------- tela de abertura: comeca embacada e ganha nitidez ---------- */
.splash { position: fixed; inset: 0; z-index: 400; display: none; place-items: center; background: radial-gradient(circle at 50% 38%, #ffffff 0%, #e3effc 70%); transition: opacity 0.6s ease, visibility 0.6s ease; }
html.splash-on .splash { display: grid; }
html.splash-on { overflow: hidden; }
.splash.is-done { opacity: 0; visibility: hidden; }
.splash-inner { text-align: center; padding: 1.5rem; max-width: 560px; }
.splash-logo { width: min(280px, 66vw); height: auto; margin: 0 auto; filter: blur(var(--b, 18px)); transition: filter 0.15s linear; }
.splash-text { margin: 1.4rem 0 0; font-size: clamp(1.15rem, 3.6vw, 1.5rem); font-weight: 800; color: var(--green-900); filter: blur(calc(var(--b, 18px) * 0.35)); transition: filter 0.15s linear; }
.splash-bar { width: min(320px, 72vw); height: 7px; margin: 1.3rem auto 0.9rem; border-radius: 99px; background: #cfe0f6; overflow: hidden; }
.splash-bar span { display: block; height: 100%; width: var(--p, 4%); border-radius: 99px; background: linear-gradient(90deg, var(--green-600), var(--gold)); transition: width 0.2s linear; }
.splash-skip { min-height: 44px; padding: 0.4rem 1rem; border: 0; background: none; color: var(--muted); font: 600 0.95rem var(--font-body); text-decoration: underline; cursor: pointer; }
noscript + .splash, html:not(.js) .splash { display: none !important; }
html.a11y-calm .splash { display: none !important; }
/* ---------- comparador antes/depois ---------- */
.compare { position: relative; width: 100%; aspect-ratio: var(--ratio, 16 / 9); border-radius: 18px; overflow: hidden; background: #cfd9ea; user-select: none; touch-action: pan-y; box-shadow: var(--shadow); }
.compare-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare-clip { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 12px rgba(0, 0, 0, 0.35); pointer-events: none; }
.compare-knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--green-950); display: grid; place-items: center; transform: translate(-50%, -50%); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); border: 3px solid #fff; }
.compare-tag { position: absolute; top: 0.7rem; padding: 0.3rem 0.8rem; border-radius: 999px; background: rgba(6, 19, 65, 0.82); color: #fff; font-weight: 700; font-size: 0.9rem; pointer-events: none; max-width: 46%; }
.compare-tag-a { left: 0.7rem; }
.compare-tag-b { right: 0.7rem; background: rgba(244, 196, 48, 0.95); color: var(--green-950); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: none; }
.compare:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- caminhos e cartoes ---------- */
.path-grid, .test-grid, .lens-grid, .stat-grid, .story-grid, .steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.path-grid { grid-template-columns: 1fr; margin-top: 1.6rem; }
@media (min-width: 640px) { .path-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .path-grid { grid-template-columns: repeat(4, 1fr); } }
.path-card a, .test-card a { display: flex; flex-direction: column; gap: 0.5rem; height: 100%; padding: 1.5rem 1.4rem; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--text); box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.path-card a:hover, .test-card a:hover { transform: translateY(-6px); border-color: var(--green-600); box-shadow: 0 28px 48px -24px rgba(10, 31, 92, 0.55); }
.path-ico { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--green-100); color: var(--green-700); }
.path-ico .ico { width: 30px; height: 30px; }
.path-title { font-size: 1.28rem; font-weight: 800; color: var(--green-900); line-height: 1.2; }
.path-text { color: var(--muted); font-size: 1rem; }
.path-more { margin-top: auto; padding-top: 0.5rem; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 800; color: var(--green-700); }
.test-card a { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); color: #fff; box-shadow: none; }
.test-card .path-title, .test-card .path-more { color: #fff; }
.test-card .path-text { color: #dbe8fb; }
.test-card .path-ico { background: rgba(255, 255, 255, 0.18); color: var(--gold); }
.test-card a:hover { background: rgba(255, 255, 255, 0.2); border-color: var(--gold); }
.test-grid { grid-template-columns: 1fr; margin: 1.6rem 0; }
@media (min-width: 700px) { .test-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .test-grid { grid-template-columns: repeat(5, 1fr); } }

/* ---------- catarata ---------- */
.cat-grid { display: grid; gap: 2.4rem; align-items: start; }
@media (min-width: 960px) { .cat-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; } }
.prose .fonte, .fonte { font-size: 0.9rem; color: var(--muted); }
.cat-eye { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 1.4rem; box-shadow: var(--shadow); }
.eye-lab { background: radial-gradient(circle at 50% 40%, #fff, var(--green-100)); border-radius: 20px; padding: 0.8rem; }
.eye-svg { width: 100%; height: auto; display: block; }
.eye-cloud { transition: opacity 1s ease; }
.cat-eye[data-state="clear"] .eye-cloud { opacity: 0; }
.eye-ctrl { display: flex; gap: 0.6rem; justify-content: center; margin: 0.9rem 0 0.2rem; flex-wrap: wrap; }
.chip { min-height: 48px; padding: 0.55rem 1.1rem; border-radius: 999px; border: 2px solid var(--green-700); background: var(--paper); color: var(--green-800); font: 700 1rem var(--font-body); cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.2s; }
.chip:hover { background: var(--green-100); }
.chip[aria-pressed="true"], .chip.is-on { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.symptoms { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 0.5rem; }
.symptoms li { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 600; }
.symptoms .ico { color: #1c8a4f; margin-top: 0.15em; }
.stat-grid { grid-template-columns: repeat(2, 1fr); margin-top: 2.6rem; }
@media (min-width: 900px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: linear-gradient(160deg, var(--green-800), var(--green-900)); color: #fff; border-radius: 22px; padding: 1.4rem 1.2rem; display: flex; flex-direction: column; gap: 0.3rem; box-shadow: var(--shadow); }
.stat-v { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; line-height: 1; color: var(--gold); }
.stat-t { font-weight: 700; line-height: 1.3; }
.stat-f { font-size: 0.82rem; color: #b9cdf0; margin-top: auto; }

/* ---------- cirurgia ---------- */
.steps { grid-template-columns: 1fr; counter-reset: passo; position: relative; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 1.6rem 1.3rem 1.3rem; box-shadow: var(--shadow); }
.step-n { position: absolute; top: -16px; left: 1.2rem; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); color: var(--green-950); font-weight: 800; display: grid; place-items: center; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.5); }
.step-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--green-100); color: var(--green-700); margin-bottom: 0.8rem; }
.step-ico .ico { width: 28px; height: 28px; }
.step-title { font-size: 1.25rem; margin-bottom: 0.4rem; }
.step p { margin: 0; color: var(--muted); }
.video-row { display: grid; gap: 1rem; margin: 2.4rem 0 0.8rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .video-row { grid-template-columns: repeat(2, 1fr); } }
.yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: pointer; background: #000; box-shadow: var(--shadow); }
.yt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: transform 0.5s, opacity 0.3s; }
.yt:hover img { transform: scale(1.04); opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; border-radius: 50%; background: var(--gold); color: var(--green-950); display: grid; place-items: center; transform: translate(-50%, -50%); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45); transition: transform 0.25s; }
.yt-play .ico { width: 34px; height: 34px; fill: currentColor; margin-left: 4px; }
.yt:hover .yt-play { transform: translate(-50%, -50%) scale(1.1); }
.yt-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1rem 0.7rem; text-align: left; color: #fff; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, 0.75)); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- lentes ---------- */
.lens-grid { grid-template-columns: 1fr; }
@media (min-width: 700px) { .lens-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .lens-grid { grid-template-columns: repeat(3, 1fr); } }
.lens-card { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 1.5rem; box-shadow: var(--shadow); border-top: 5px solid var(--green-600); }
.lens-type { font-size: 0.82rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-700); margin-bottom: 0.2rem; }
.lens-name { font-size: 1.45rem; margin-bottom: 0.5rem; }
.dist-chips { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.dist { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--green-100); color: var(--green-800); font-weight: 700; font-size: 0.92rem; }
.dist-perto { background: #fff3c4; color: #6b4d00; }
.dist-meio { background: #d9f2e3; color: #0f5a33; }
.dist-astigmatismo { background: #efe1fb; color: #55238a; }
.lens-table { margin: 2.2rem auto; max-width: 880px; text-align: center; }
.lens-table img { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }
.hoya { max-width: 820px; margin: 0 auto 2rem; }

/* ---------- simulador ---------- */
.sim-teaser-grid { display: grid; gap: 2.2rem; align-items: center; }
@media (min-width: 960px) { .sim-teaser-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.sim-controls { display: grid; gap: 1.2rem; margin-bottom: 1.4rem; }
.chip-group { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip-group legend { font-weight: 800; margin-bottom: 0.5rem; color: var(--green-900); padding: 0; }
.chip-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-radio .par-rotulo { display: inline-flex; align-items: center; gap: 0.3rem; min-height: 48px; padding: 0.55rem 1.1rem; border-radius: 999px; border: 2px solid var(--green-700); background: var(--paper); color: var(--green-800); font-weight: 700; cursor: pointer; transition: background 0.2s; }
.chip-radio:hover .par-rotulo { background: var(--green-100); }
.chip-radio input:checked + .par-rotulo { background: var(--green-800); color: #fff; border-color: var(--green-800); }
.chip-radio input:focus-visible + .par-rotulo { outline: 3px solid var(--gold); outline-offset: 3px; }
.sim-stage { max-width: 1000px; margin: 0 auto; }
.sim-how { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; color: var(--muted); font-weight: 600; justify-content: center; }

/* ---------- depoimentos ---------- */
.story-grid { grid-template-columns: 1fr; }
@media (min-width: 700px) { .story-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .story-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- chamada final ---------- */
.cta-final { padding-top: 0; }
.cta-box { display: grid; gap: 1.6rem; align-items: center; background: linear-gradient(135deg, var(--green-900), var(--green-700)); color: #fff; border-radius: 32px; padding: clamp(1.8rem, 5vw, 3.2rem); position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(244, 196, 48, 0.55), transparent 65%); }
.cta-box > * { position: relative; z-index: 1; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
@media (min-width: 960px) { .cta-box { grid-template-columns: 1.2fr 1fr; } .cta-actions { justify-content: flex-end; } }

/* ---------- paginas internas ---------- */
.page-hero-blue { background: linear-gradient(150deg, var(--green-900), var(--green-700)); color: #fff; padding: clamp(2rem, 5vw, 3.6rem) 0 clamp(2rem, 5vw, 3.4rem); border: 0; }
.page-hero-blue .page-title, .page-hero-blue h1 { color: #fff; }
.page-hero-blue .breadcrumb, .page-hero-blue .breadcrumb a { color: #cfe0fb; }
.alert-soft { display: flex; gap: 0.7rem; align-items: flex-start; background: #fff8dc; border: 1px solid #ecd37a; border-radius: 14px; padding: 0.9rem 1.1rem; color: #5b4400; font-weight: 600; }
.alert-soft .ico { margin-top: 0.2em; }

/* ---------- testes ---------- */
.test { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.2rem, 4vw, 2rem); margin: 1.4rem 0; box-shadow: var(--shadow); }
.test h2 { display: flex; align-items: center; gap: 0.7rem; font-size: 1.6rem; }
.test-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--green-100); color: var(--green-700); }
.test-answers { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.test-result { margin: 0.6rem 0 0; font-weight: 700; padding: 0; border-radius: 12px; }
.test-result.is-shown { padding: 0.9rem 1.1rem; background: var(--green-100); color: var(--green-900); }
.test-result.is-alert { background: #fff3c4; color: #5b4400; }
.chart-contrast { display: grid; gap: 0.6rem; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem; }
.chart-contrast .cline { display: flex; align-items: center; gap: 1rem; font-family: Arial, Helvetica, sans-serif; font-weight: 700; font-size: clamp(1.7rem, 7vw, 2.6rem); letter-spacing: 0.35em; }
.chart-contrast .cnum { font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0; color: var(--muted); width: 4.5rem; flex: none; }
.night { position: relative; height: 200px; border-radius: 16px; overflow: hidden; background: linear-gradient(#050a1c, #0d1a3a 70%, #1a2342); margin: 1rem 0; }
.night .lamp { position: absolute; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 2px #fff, 0 0 40px 18px rgba(255, 247, 210, 0.85), 0 0 90px 45px rgba(255, 230, 150, 0.45), 0 0 160px 80px rgba(255, 220, 120, 0.2); }
.night .l1 { width: 12px; height: 12px; left: 22%; top: 46%; }
.night .l2 { width: 12px; height: 12px; left: 38%; top: 50%; }
.night .l3 { width: 20px; height: 20px; left: 66%; top: 44%; }
.night .road { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(#1a1f2e, #0b0e18); }
.amsler { width: min(360px, 100%); height: auto; display: block; margin: 1rem auto; border: 2px solid #111; border-radius: 4px; }
.read-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 0.8rem; }
.read-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.8rem 1rem; border: 1px solid var(--line); border-radius: 14px; }
.read-sample { font-weight: 600; }
.check-list { display: grid; gap: 0.6rem; margin: 1rem 0; }
.check-big { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.9rem 1rem; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 600; background: var(--paper); }
.check-big:has(input:checked) { border-color: var(--green-700); background: var(--green-100); }
.check-big input { width: 26px; height: 26px; accent-color: var(--green-700); flex: none; margin-top: 2px; }
.test-final { text-align: center; background: linear-gradient(150deg, var(--green-900), var(--green-700)); color: #fff; border-radius: 24px; padding: 2rem 1.4rem; margin: 1.6rem 0; }
.test-final h2 { color: #fff; }

/* ---------- avaliacao (anamnese) ---------- */
.anam { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.2rem, 4vw, 2.2rem); box-shadow: var(--shadow); }
.anam-progress { height: 10px; border-radius: 99px; background: var(--green-100); overflow: hidden; }
.anam-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--green-600), var(--gold)); border-radius: 99px; transition: width 0.4s ease; }
.anam-step-label { font-weight: 800; color: var(--green-700); margin: 0.8rem 0 0.2rem; }
.anam-step { border: 0; padding: 0; margin: 0; }
.anam-step legend { font-size: 1.6rem; font-weight: 800; color: var(--green-900); padding: 0; margin-bottom: 1rem; }
.q { font-weight: 800; margin: 1.2rem 0 0.5rem; color: var(--green-900); }
.field-row { display: grid; gap: 0.9rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 2fr; } }
.opt-grid { display: grid; gap: 0.6rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .opt-grid { grid-template-columns: repeat(2, 1fr); } }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span { display: flex; align-items: center; min-height: 56px; padding: 0.6rem 1rem; border: 2px solid var(--line); border-radius: 14px; font-weight: 600; cursor: pointer; background: var(--paper); transition: border-color 0.2s, background 0.2s; }
.opt:hover span { border-color: var(--green-600); }
.opt input:checked + span { border-color: var(--green-700); background: var(--green-100); color: var(--green-900); box-shadow: inset 0 0 0 1px var(--green-700); }
.opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.consent { margin-top: 1.4rem; }
.anam-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; margin-top: 1.6rem; }
.field input, .field textarea, .field select { border-color: #aebfd8; }
.field input:invalid.touched { border-color: var(--danger); }

/* ---------- acessibilidade: modos extras ---------- */
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 3px !important; background: rgba(244, 196, 48, 0.35); color: #000 !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath d='M6 4l32 16-14 4 8 16-6 3-8-16-10 10z' fill='%23000' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E") 6 4, auto !important; }
html.a11y-gray body { filter: grayscale(1); }
html.a11y-invert body { filter: invert(1) hue-rotate(180deg); }
html.a11y-invert img, html.a11y-invert video, html.a11y-invert .compare { filter: invert(1) hue-rotate(180deg); }
html.a11y-gray.a11y-invert body { filter: grayscale(1) invert(1); }
html.a11y-dys body, html.a11y-dys button, html.a11y-dys input, html.a11y-dys textarea { font-family: "Comic Sans MS", "Trebuchet MS", Verdana, sans-serif !important; letter-spacing: 0.04em; word-spacing: 0.12em; }
html.a11y-noimg .hero-orbs, html.a11y-noimg .hero-media, html.a11y-noimg .path-ico, html.a11y-noimg .step-ico, html.a11y-noimg .test-ico { display: none !important; }
.a11y-guide-line { position: fixed; left: 0; right: 0; height: 56px; pointer-events: none; z-index: 120; background: rgba(244, 196, 48, 0.18); border-top: 2px solid rgba(0, 0, 0, 0.6); border-bottom: 2px solid rgba(0, 0, 0, 0.6); box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.35); clip-path: inset(-100vmax 0); }
.a11y-sub { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green-700); margin: 0.9rem 0 0.3rem; }
html.a11y-hc .path-card a, html.a11y-hc .step, html.a11y-hc .lens-card, html.a11y-hc .test, html.a11y-hc .anam, html.a11y-hc .cat-eye { background: #000; color: #fff; border: 2px solid #fff; }
html.a11y-hc .path-title, html.a11y-hc .lens-name, html.a11y-hc .step-title { color: #ffeb3b; }
html.a11y-hc .path-text, html.a11y-hc .step p, html.a11y-hc .lens-card p { color: #fff; }
html.a11y-calm .hero-orbs span, html.a11y-calm .focus-in { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .hero-orbs span, .focus-in { animation: none !important; } }
.path-text, .lens-card p, .step p, .stat-t { line-height: 1.55; }

.page-hero-blue .breadcrumb [aria-current], .page-hero-blue .breadcrumb span { color: #fff; }
.page-hero-blue .breadcrumb a { color: #cfe0fb; }
@media (min-width: 900px) { .hero-actions .btn-lg { padding: 0.85rem 1.25rem; font-size: 1rem; } .hero-copy-block { max-width: 520px; } }

/* ---------- localizador de lentes (mobile first) ---------- */
.finder { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 1.2rem; box-shadow: var(--shadow); margin-bottom: 1.4rem; }
.finder-title { font-size: 1.35rem; margin: 0 0 0.2rem; }
.need-grid { display: grid; gap: 0.6rem; grid-template-columns: 1fr; margin: 1rem 0 0.4rem; }
@media (min-width: 560px) { .need-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .need-grid { grid-template-columns: repeat(4, 1fr); } }
.need { position: relative; display: flex; align-items: center; gap: 0.8rem; min-height: 68px; padding: 0.7rem 0.9rem; text-align: left; border: 2px solid var(--line); border-radius: 18px; background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.15s; }
.need:active { transform: scale(0.98); }
.need-ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--green-100); color: var(--green-700); }
.need-ico .ico { width: 28px; height: 28px; }
.need-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.need-txt strong { color: var(--green-900); font-size: 1.05rem; }
.need-txt small { color: var(--muted); font-size: 0.85rem; }
.need-check { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; flex: none; transition: all 0.2s; }
.need[aria-pressed="true"] { border-color: var(--green-700); background: var(--green-100); }
.need[aria-pressed="true"] .need-check { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.need[aria-pressed="true"] .need-ico { background: var(--green-700); color: #fff; }
.finder-live { min-height: 1.4em; margin: 0.4rem 0 0; font-weight: 700; color: var(--green-700); }
.lens-card { transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.lens-card.is-best { border-color: #1c8a4f; box-shadow: 0 0 0 3px rgba(28, 138, 79, 0.25), var(--shadow); border-top-color: #1c8a4f; }
.lens-card.is-dim { opacity: 0.6; }
.cap-grid { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.cap { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.6rem; border-radius: 14px; border: 1.5px solid var(--line); font-weight: 700; font-size: 0.9rem; line-height: 1.15; min-height: 54px; }
.cap-ico { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--green-100); color: var(--green-700); }
.cap-ico .ico { width: 22px; height: 22px; }
.cap-name { flex: 1; min-width: 0; }
.cap-state { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-weight: 800; }
.cap.is-on { background: #eefaf3; border-color: #a9dcbf; }
.cap.is-on .cap-state { background: #1c8a4f; color: #fff; }
.cap.is-on .cap-state .ico { width: 16px; height: 16px; }
.cap.is-off { opacity: 0.55; background: #f4f6fa; }
.cap.is-off .cap-state { color: var(--muted); }
.cap.is-wanted { outline: 3px solid var(--gold); outline-offset: 1px; }
.match { margin: 0.9rem 0 0; padding: 0.6rem 0.8rem; border-radius: 12px; font-weight: 700; font-size: 0.95rem; }
.match-ok { background: #dff3e6; color: #0d4a28; }
.match-part { background: #fff3c4; color: #5b4400; }
.lens-table-box { max-width: 980px; margin: 1.6rem auto; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.lens-table-box summary { cursor: pointer; list-style: none; padding: 1rem 1.2rem; font-weight: 800; color: var(--green-900); min-height: 56px; display: flex; align-items: center; justify-content: space-between; }
.lens-table-box summary::-webkit-details-marker { display: none; }
.lens-table-box summary::after { content: "+"; font-size: 1.5rem; color: var(--green-700); }
.lens-table-box[open] summary::after { content: "\2212"; }
.table-scroll { overflow-x: auto; padding: 0 0.6rem 1rem; }
.lens-table-html { width: 100%; min-width: 560px; border-collapse: collapse; }
.lens-table-html th, .lens-table-html td { padding: 0.7rem 0.6rem; border-bottom: 1px solid var(--line); text-align: center; }
.lens-table-html thead th { background: var(--green-900); color: #fff; font-size: 0.85rem; }
.lens-table-html tbody th { text-align: left; font-weight: 800; color: var(--green-900); }
.lens-table-html td.yes { color: #1c8a4f; } .lens-table-html td.no { color: var(--muted); }
.lens-table-html td .ico { width: 22px; height: 22px; }

/* ---------- mobile first: barra de acoes fixa, campos sem zoom no iPhone, areas de toque maiores ---------- */
input, select, textarea { font-size: 16px; }
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; gap: 0.5rem; padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(10, 31, 92, 0.5); backdrop-filter: blur(8px); }
.mbar a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 52px; border-radius: 14px; font-weight: 800; font-size: 0.98rem; text-decoration: none; border: 2px solid transparent; }
.mbar .mb-main { background: var(--green-800); color: #fff; }
.mbar .mb-wa { background: #1fa855; color: #fff; }
.mbar .mb-alt { background: var(--paper); color: var(--green-800); border-color: var(--green-700); }
body.has-mbar { padding-bottom: 76px; }
.wa-float { bottom: 88px; }
@media (min-width: 900px) { .mbar { display: none; } body.has-mbar { padding-bottom: 0; } .wa-float { bottom: 1.2rem; } }
html.splash-on .mbar { display: none; }
.cookie-banner { z-index: 90; }
.btn, .chip, .need, .opt span, .check-big { -webkit-tap-highlight-color: rgba(11, 107, 203, 0.15); }
@media (max-width: 899px) {
  .section { padding: 2.6rem 0; }
  .container { padding: 0 1.1rem; }
  .btn-lg { width: 100%; }
  .hero-actions .btn-lg, .cta-actions .btn-lg { width: 100%; }
  .test-answers .chip { flex: 1 1 calc(50% - 0.6rem); }
  .path-card a, .test-card a { padding: 1.2rem; }
  .a11y-panel { left: 0.6rem; right: 0.6rem; width: auto; max-height: calc(100vh - var(--header-h) - 1rem); overflow: auto; }
  .main-nav li a { min-height: 56px; }
}
.lens-card, .path-card, .step, .stat, .story, .test-card, .cap, .need, .finder, .test, .anam { min-width: 0; } .lens-grid, .path-grid, .steps, .stat-grid, .story-grid, .test-grid { min-width: 0; }

/* areas de toque minimas (44px) em links de texto */
.footer-nav a, .breadcrumb a, .footer-links a, .cookie-inner p a, .small a, address a, .footer-contact a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0.4rem 0.3rem; box-sizing: border-box; }
.footer-nav ul { display: grid; gap: 0.1rem; }


.hero .hero-grid { padding-top: 1.7rem; padding-bottom: 2.2rem; }
@media (min-width: 900px) { .hero .hero-grid { padding-top: 3rem; padding-bottom: 3rem; } }


.cap-grid { grid-template-columns: 1fr; }
@media (min-width: 480px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } .cap { font-size: 0.86rem; } }


/* ---------- ilustracoes das distancias (imagens da tabela original) ---------- */
.need-ico { background: #fff; border: 1px solid var(--line); width: 56px; height: 56px; border-radius: 16px; }
.need-ico img { width: 40px; height: 40px; object-fit: contain; }
.need[aria-pressed="true"] .need-ico { background: #fff; border-color: var(--green-700); }
.cap-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.6rem; }
.cap { position: relative; flex-direction: column; justify-content: flex-start; text-align: center; gap: 0.35rem; padding: 0.8rem 0.4rem 0.7rem; min-height: 0; }
.cap-ico { width: 100%; height: 64px; background: transparent; border-radius: 0; }
.cap-ico img { width: auto; max-width: 92%; height: 100%; object-fit: contain; }
.cap-name { flex: none; font-size: 0.9rem; }
.cap-state { position: absolute; top: 0.4rem; right: 0.4rem; width: 26px; height: 26px; }
.cap.is-off .cap-ico img { filter: grayscale(1); opacity: 0.35; }
.cap.is-off { opacity: 1; }
.cap.is-off .cap-name { opacity: 0.55; }
@media (min-width: 480px) { .cap { font-size: 0.9rem; } }

.cap-ico { height: auto; display: flex; justify-content: center; align-items: center; }
.cap-ico img { height: 60px; width: auto; max-width: 92%; object-fit: contain; }
.cap-name { display: block; line-height: 1.15; }

