:root {
  /* Identidade: azul clássico do logo (confiança) + off-white/areia (acolhimento) + verde-sálvia suave.
     Layout mobile-first: coluna única, cartões largos, barra de contato fixa no rodapé do celular. */
  --ink: #18294a;
  --ink-soft: #4f5d72;
  --paper: #fbf8f3;          /* off-white quente */
  --sand: #f1e9dc;           /* areia */
  --surface: #ffffff;
  --line: #e6ddcf;
  --accent: #1f5aa6;         /* azul do logo */
  --accent-deep: #163f78;
  --accent-ink: #ffffff;
  --sage: #6f9f8b;           /* verde suave */
  --sage-soft: #e3eee8;
  --peach: #f6dccb;
  --alert-bg: #fbeee4;
  --font-display: "Marcellus", "Gill Sans", "Trebuchet MS", serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step-0: 1.0625rem;
  --step-1: 1.2rem;
  --step-2: clamp(1.4rem, 3.6vw, 1.7rem);
  --step-3: clamp(1.75rem, 5vw, 2.3rem);
  --step-4: clamp(2rem, 7vw, 3.2rem);
  --radius: 20px;
  --wrap: 1120px;
  --gutter: clamp(18px, 4.5vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.18; text-wrap: balance; margin: 0; }
h1 { font-size: var(--step-4); letter-spacing: -0.005em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-family: var(--font-body); font-weight: 700; line-height: 1.3; }
p { margin: 0; max-width: 65ch; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.stack { display: grid; gap: 14px; align-content: start; }
.muted { color: var(--ink-soft); }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }
.head { display: grid; gap: 12px; margin-bottom: 28px; }
.head p { color: var(--ink-soft); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; background: var(--accent); color: var(--accent-ink); font-weight: 700; padding: 15px 24px; border-radius: 999px; font-size: 1rem; border: 0; min-height: 52px; text-align: center; }
.btn:hover { background: var(--accent-deep); }
.btn.soft { background: var(--surface); color: var(--accent); border: 1.5px solid var(--line); }
.btn.soft:hover { border-color: var(--accent); background: var(--surface); }
.btn svg { width: 20px; height: 20px; flex: none; }
.actions { display: grid; gap: 10px; }
@media (min-width: 560px) { .actions { display: flex; flex-wrap: wrap; } }

/* Cabeçalho */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 10px; line-height: 1.15; min-width: 0; }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand .bt { display: flex; flex-direction: column; min-width: 0; }
.brand strong { font-family: var(--font-display); font-weight: 400; font-size: 1.02rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.brand .bt > span { font-family: var(--font-display); font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; color: #3f86d6; white-space: nowrap; }
.nav { display: flex; gap: 22px; align-items: center; font-size: 0.95rem; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .btn { padding: 10px 18px; min-height: 0; font-size: 0.9rem; color: var(--accent-ink); }
@media (max-width: 920px) { .nav a:not(.btn) { display: none; } }
@media (max-width: 400px) { .brand .bt > span { display: none; } .nav .btn { padding: 9px 14px; } }

/* Barra fixa de contato (celular) */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 96%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(24,41,74,.35); }
  .mbar .btn { min-height: 48px; padding: 10px 12px; font-size: 0.92rem; }
  body { padding-bottom: 84px; }
}

/* Hero */
.hero { padding: 22px 0 40px; background: linear-gradient(180deg, var(--sand) 0%, var(--paper) 100%); }
.hero .wrap { display: grid; gap: 26px; }
.hero-photo { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-photo .frame { aspect-ratio: 4 / 4.4; border-radius: 999px 999px 28px 28px; overflow: hidden; background: #ddd5c8; box-shadow: 0 30px 60px -32px rgba(24,41,74,.55); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero-photo .seal { position: absolute; right: -6px; bottom: 22px; background: var(--surface); border-radius: 16px; padding: 10px 14px; box-shadow: 0 14px 30px -14px rgba(24,41,74,.35); display: grid; line-height: 1.25; }
.hero-photo .seal b { font-family: var(--font-display); font-weight: 400; color: var(--accent); font-size: 1.35rem; }
.hero-photo .seal span { font-size: 0.78rem; color: var(--ink-soft); }
.hero-text { display: grid; gap: 18px; }
.hero-name { display: grid; gap: 4px; }
.hero-name strong { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; letter-spacing: 0.04em; color: var(--accent); }
.hero-name span { font-size: 0.95rem; color: var(--ink-soft); }
.hero .lead { font-size: var(--step-1); color: var(--ink-soft); }
.creds { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.creds li { display: inline-flex; align-items: center; gap: 7px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.creds li svg { width: 16px; height: 16px; color: var(--sage); flex: none; }
.creds li.key { background: var(--accent); border-color: var(--accent); color: #fff; }
.creds li.key svg { color: #fff; }
@media (min-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero .wrap { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 56px; }
  .hero-photo { order: 2; }
}

/* Faixa de confiança */
.trust { background: var(--accent-deep); color: #eaf1fb; }
.trust .wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 12px; padding-top: 26px; padding-bottom: 26px; }
.trust div { display: grid; gap: 2px; }
.trust b { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: #fff; }
.trust span { font-size: 0.84rem; color: #c6d6ee; line-height: 1.35; }
@media (min-width: 760px) { .trust .wrap { grid-template-columns: repeat(4, 1fr); } }

/* Seções */
section.band { padding: clamp(52px, 9vw, 96px) 0; }
section.band.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
section.band.sand { background: var(--sand); }
.grid-2 { display: grid; gap: 28px; }
.grid-3 { display: grid; gap: 14px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; } .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 18px; } }

/* Sobre */
.about-photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.about-photo figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 8px; }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 16px; border-radius: 50%; background: var(--sage-soft); box-shadow: inset 0 0 0 5px var(--sage); }
.ticks a, .article a { color: var(--accent); }
.cred-box { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; background: var(--sand); border-radius: var(--radius); padding: 18px; margin-top: 6px; }
.cred-box b { font-weight: 700; }
.cred-box p { font-size: 0.95rem; color: var(--ink-soft); margin-top: 4px; }
.cred-num { display: grid; text-align: center; padding-right: 16px; border-right: 1px solid var(--line); }
.cred-num b { font-family: var(--font-display); font-weight: 400; font-size: 1.8rem; color: var(--accent); }
.cred-num span { font-size: 0.74rem; color: var(--ink-soft); max-width: 12ch; }

/* Cartões */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
section.band.alt .card { background: var(--paper); }
.card p { font-size: 0.98rem; color: var(--ink-soft); }
.card .tag { font-size: 0.74rem; font-weight: 700; color: var(--sage); letter-spacing: 0.1em; text-transform: uppercase; }
.ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sage-soft); color: var(--sage); }
.ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico.b { background: #e5eefa; color: var(--accent); }
.ico.p { background: var(--peach); color: #a4603a; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--accent); }
a.more, .card .more { color: var(--accent); font-weight: 700; text-decoration: none; font-size: 0.95rem; }

/* Segurança */
.safe-list { display: grid; gap: 12px; }
.safe { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.safe h3 { font-size: 1.05rem; margin-bottom: 4px; }
.safe p { font-size: 0.96rem; color: var(--ink-soft); }
@media (min-width: 760px) { .safe-list { grid-template-columns: 1fr 1fr; gap: 16px; } }
.checklist { margin-top: 22px; background: var(--accent-deep); color: #eaf1fb; border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
.checklist h3 { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: var(--step-2); }
.checklist p { color: #c6d6ee; }
.checklist ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.checklist li svg { width: 22px; height: 22px; color: #9fd0bc; margin-top: 2px; }
@media (min-width: 760px) { .checklist ul { grid-template-columns: 1fr 1fr; gap: 12px 24px; } }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: 22px; padding-bottom: 6px; }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img, .strip video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.strip figcaption { font-size: 0.82rem; color: var(--ink-soft); margin-top: 6px; }
@media (min-width: 760px) { .strip { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; } }

/* Jornada */
.journey { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; position: relative; }
.journey li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; position: relative; padding-bottom: 26px; }
.journey li:last-child { padding-bottom: 0; }
.journey li::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--line); }
.journey li:last-child::before { display: none; }
.journey .num { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.3rem; z-index: 1; }
.journey li:nth-child(2) .num { background: var(--sage); }
.journey li:nth-child(3) .num { background: #c98a63; }
.journey li:nth-child(4) .num { background: var(--accent-deep); }
.journey h3 { font-size: 1.1rem; margin: 10px 0 6px; }
.journey p { color: var(--ink-soft); font-size: 0.98rem; }
.journey .note { display: inline-block; margin-top: 10px; background: var(--sage-soft); color: #2f5f4c; font-weight: 700; font-size: 0.86rem; border-radius: 10px; padding: 8px 12px; }
@media (min-width: 900px) {
  .journey { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .journey li { grid-template-columns: 1fr; padding-bottom: 0; }
  .journey li::before { left: 48px; right: -20px; top: 23px; bottom: auto; width: auto; height: 2px; }
}

/* Destaque humano */
.feature { background: #141414; color: #f1f1f1; }
.feature .wrap { display: grid; gap: 26px; padding-top: clamp(48px, 8vw, 88px); padding-bottom: clamp(48px, 8vw, 88px); }
.feature img { width: 100%; max-width: 460px; border-radius: var(--radius); justify-self: center; }
.feature h2 { color: #fff; }
.feature p { color: #cfcfcf; }
.feature .eyebrow { color: #9fd0bc; }
@media (min-width: 760px) { .feature .wrap { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 56px; } }

/* Depoimentos */
.quotes { display: grid; gap: 14px; }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; align-content: start; position: relative; }
.quote::before { content: "\201C"; font-family: var(--font-display); font-size: 3.4rem; line-height: 0.6; color: var(--sage); }
.quote p { color: var(--ink); }
.quote footer { font-size: 0.88rem; color: var(--ink-soft); }
.quote .sample { position: absolute; top: 14px; right: 14px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--alert-bg); color: #a4603a; border-radius: 999px; padding: 4px 9px; }
.ethics { margin-top: 18px; font-size: 0.86rem; color: var(--ink-soft); }

/* Tabela de lentes */
.lens-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.lens-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.lens-table th, .lens-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lens-table tr:last-child td { border-bottom: 0; }
.lens-table th { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.lens-table td { color: var(--ink-soft); }
.lens-table td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }

/* Alerta */
.alert { background: var(--alert-bg); border-left: 4px solid #c98a63; border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 20px; display: grid; gap: 6px; margin-top: 24px; }
.alert h3 { font-size: 1.02rem; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 2px 18px; }
section.band.alt .faq details { background: var(--paper); }
.faq summary { cursor: pointer; font-weight: 700; padding: 15px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; color: var(--ink-soft); }

/* Onde atendo */
.place { display: grid; gap: 14px; }
.place .city { font-family: var(--font-display); font-size: var(--step-2); }
.clinic { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.clinic b { font-weight: 700; }
.clinic p { font-size: 0.95rem; color: var(--ink-soft); }
.clinic .links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 4px; }
.clinic .links a { color: var(--accent); font-weight: 700; text-decoration: none; }
.clinic-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .clinic-grid { grid-template-columns: repeat(3, 1fr); } }

/* CTA final */
.cta { background: var(--accent-deep); color: #eef3fb; }
.cta .wrap { display: grid; gap: 22px; }
.cta h2 { color: #fff; }
.cta p { color: #c6d6ee; }
.cta .btn { background: #fff; color: var(--accent-deep); }
.cta .btn.soft { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
@media (min-width: 760px) { .cta .wrap { grid-template-columns: 1.3fr 0.7fr; align-items: center; } }

/* Páginas internas */
.page-hero { background: linear-gradient(180deg, var(--sand) 0%, var(--paper) 100%); padding: clamp(28px, 6vw, 64px) 0; border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; gap: 24px; }
.page-hero .lead { font-size: var(--step-1); color: var(--ink-soft); }
.page-hero .cred { font-size: 0.9rem; color: var(--ink-soft); }
.page-photo { margin: 0; justify-self: center; width: min(100%, 360px); }
.page-photo img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); width: 100%; }
@media (min-width: 860px) { .page-hero .wrap.has-photo { grid-template-columns: 1.2fr 0.8fr; align-items: center; } }
@media (max-width: 859px) { .page-photo { order: -1; max-width: 260px; } }
.crumbs { font-size: 0.86rem; color: var(--ink-soft); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--accent); text-decoration: none; }
.article { max-width: 760px; }
.article h2 { font-size: var(--step-2); margin: 40px 0 12px; }
.article h2:first-child { margin-top: 0; }
.article p { margin: 0 0 14px; color: var(--ink-soft); }
.article ul { margin: 0 0 16px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.article li { padding-left: 26px; position: relative; color: var(--ink-soft); }
.article li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; border-radius: 50%; background: var(--sage); }
.article li strong, .article p strong { color: var(--ink); }
.article .lens-wrap { margin: 8px 0 16px; }
.card.rel h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; }

/* Rodapé */
.site-foot { background: var(--surface); border-top: 1px solid var(--line); padding: 44px 0 30px; font-size: 0.92rem; color: var(--ink-soft); }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 32px; } }
.foot-grid .stack { gap: 10px; }
.foot-grid b { color: var(--ink); }
.foot-logo { width: 230px; height: auto; }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-foot a { color: var(--accent); text-decoration: none; }
.foot-note { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.84rem; }

/* Ajustes mobile */
@media (max-width: 760px) {
  .nav .btn { display: none; }
  .hero { padding-top: 18px; }
  .hero-photo { width: min(78%, 320px); }
  .hero-photo .frame { aspect-ratio: 1 / 1.08; }
  .hero-photo .seal { right: -14%; bottom: 14px; padding: 8px 12px; }
  .hero-photo .seal b { font-size: 1.15rem; }
  .hero-name { text-align: center; justify-items: center; }
  .creds { justify-content: center; }
  .hero h1 { font-size: 1.85rem; text-align: center; }
  .hero .lead { text-align: center; font-size: 1.08rem; }
  .cred-box { grid-template-columns: 1fr; text-align: left; }
  .cred-num { border-right: 0; padding-right: 0; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .cred-num span { max-width: none; }
}

@media (max-width: 859px) { .page-photo { max-width: 200px; } }
