:root {
    /* ═══ DESIGN TOKENS · Identidade Visual Dr. Heberton Timm v1.3 ═══ */
    --paper:      #FAF6EE;
    --paper-alt:  #F3E8D5;
    --ink:        #182A24;
    --ink-soft:   #44524C;
    --ink-muted:  #7A8881;
    --line:       #E7D9C0;
    --accent:     #006250;
    --accent-deep:#004D40;
    --wa:         #25D366;

    --serif: 'Schibsted Grotesk', Georgia, serif;
    --sans:  'Inter', -apple-system, sans-serif;
    --mono:  'Inter', ui-monospace, monospace;

    --max: 1120px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--sans); background: var(--paper); color: var(--ink); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }

  .skip { position: absolute; top: -40px; left: 0; background: var(--ink); color: var(--paper); padding: 10px 16px; z-index: 999; }
  .skip:focus { top: 0; }

  h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.1; }
  h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--accent-deep); }
  p { color: var(--ink-soft); margin-bottom: 1rem; }
  p strong { color: var(--ink); font-weight: 600; }

  .block { padding: clamp(56px, 9vw, 96px) 0; border-top: 1px solid var(--line); }
  .block.alt { background: var(--paper-alt); }
  .block-content { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
  .eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; font-weight: 600; display: block; }
  .block-title { margin-bottom: 28px; max-width: 720px; font-size: clamp(28px, 4vw, 42px); }
  .block-lede { font-family: var(--serif); font-style: italic; font-size: clamp(17px, 2vw, 21px); color: var(--ink-soft); margin-bottom: 32px; max-width: 940px; line-height: 1.45; }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 32px; border: none; cursor: pointer; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.01em; transition: opacity 0.2s, transform 0.2s, background 0.15s; border-radius: 6px; text-align: center; }
  .btn-wa { background: var(--wa); color: #fff; }
  .btn-wa:hover { opacity: 0.92; transform: translateY(-1px); }

  .header { position: sticky; top: 0; z-index: 50; background: rgba(250,246,238,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .header-inner { max-width: var(--max); margin: 0 auto; padding: 14px clamp(20px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .header-logo { display: flex; align-items: center; gap: 12px; }
  .header-logo img { height: 38px; width: auto; }
  .header-nav { display: flex; gap: 24px; align-items: center; font-size: 14px; }
  .header-nav a { color: var(--ink-soft); transition: color 0.15s; }
  .header-nav a:hover { color: var(--accent-deep); }
  .header-cta { background: var(--wa); color: #fff; padding: 10px 18px; border-radius: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
  .header-cta:hover { opacity: 0.92; color: #fff; }
  .header-toggle { display: none; background: none; border: 1px solid var(--line); width: 40px; height: 40px; border-radius: 6px; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }

  .hero { padding: clamp(48px, 8vw, 80px) 0 clamp(56px, 9vw, 96px); border-top: none; }
  .hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 64px); align-items: center; max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
  .hero-content { max-width: 580px; }
  .hero-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 20px; font-weight: 600; }
  .hero h1 { font-size: clamp(34px, 5.5vw, 58px); font-weight: 400; line-height: 1.05; color: var(--ink); margin-bottom: 24px; letter-spacing: -0.02em; text-wrap: pretty; }
  .hero-lede { font-size: 17px; color: var(--ink-soft); max-width: 540px; margin-bottom: 28px; line-height: 1.55; }
  .hero-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
  .hero-pill { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; background: var(--paper-alt); border: 1px solid var(--line); border-radius: 100px; color: var(--ink-soft); font-weight: 600; }

  .hero-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; border-radius: 6px; background: var(--paper-alt); }
  .hero-illustration { width: 100%; aspect-ratio: 4/5; border-radius: 6px; background: linear-gradient(135deg, var(--paper-alt) 0%, var(--line) 100%); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
  .hero-illustration::before { content: ""; position: absolute; width: 60%; height: 60%; border: 2px solid var(--accent); border-radius: 50%; opacity: 0.18; }
  .hero-illustration::after { content: ""; position: absolute; width: 35%; height: 35%; background: var(--accent); border-radius: 50%; opacity: 0.12; }
  .hero-illustration-mark { position: relative; font-family: var(--serif); font-weight: 300; font-size: clamp(80px, 12vw, 140px); color: var(--accent-deep); opacity: 0.28; letter-spacing: -0.05em; line-height: 1; }

  .sobre-top { max-width: none; }
  .sobre-top p { font-size: 16px; line-height: 1.7; margin-bottom: 16px; max-width: none; }
  .sobre-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; margin-top: 40px; }
  .sobre-content p { font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
  .credenciais-tabela { border-top: 1px solid var(--line); }
  .sobre-side { position: relative; }
  .credenciais-row { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .credenciais-key { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); padding-top: 3px; }
  .credenciais-val { font-size: 15px; color: var(--ink); }
  .sobre-aside { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
  .sobre-aside h3 { font-size: 17px; margin-bottom: 14px; color: var(--ink); }
  .sobre-aside ul { list-style: none; }
  .sobre-aside li { padding: 10px 0 10px 20px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); position: relative; line-height: 1.5; }
  .sobre-aside li:last-child { border-bottom: none; }
  .sobre-aside li::before { content: "·"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; font-size: 18px; line-height: 1.2; }

  .areas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
  .area-card { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 32px 28px; }
  .area-card h3 { font-size: 22px; margin-bottom: 12px; color: var(--ink); }
  .area-card p { font-size: 14.5px; margin-bottom: 18px; line-height: 1.6; }
  .area-card ul { list-style: none; margin-top: 10px; }
  .area-card li { padding: 8px 0 8px 20px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); position: relative; line-height: 1.5; }
  .area-card li:last-child { border-bottom: none; }
  .area-card li::before { content: "·"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; font-size: 18px; line-height: 1.2; }

  .cond { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
  .cond-col > h3 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 20px; font-weight: 600; }
  .cond-fam { margin-bottom: 20px; }
  .cond-fam-label { font-family: var(--serif); font-weight: 600; font-size: 16px; color: var(--ink); margin-bottom: 10px; }
  .cond-tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .cond-tag { font-size: 13px; color: var(--ink-soft); background: var(--paper-alt); border: 1px solid var(--line); border-radius: 100px; padding: 6px 13px; line-height: 1.3; }
  .trat-card { background: var(--paper-alt); border: 1px solid var(--line); border-radius: 6px; padding: 6px 22px; list-style: none; }
  .trat-card li { padding: 13px 0 13px 20px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--ink); position: relative; line-height: 1.4; }
  .trat-card li:last-child { border-bottom: none; }
  .trat-card li::before { content: "·"; position: absolute; left: 2px; color: var(--accent); font-weight: 700; font-size: 18px; line-height: 1.1; }
  @media (max-width: 760px) { .cond { grid-template-columns: 1fr; } }

  .faq-list { max-width: 760px; margin: 0 auto; }
  .faq-item { border-bottom: 1px solid var(--line); }
  .faq-q { width: 100%; background: none; border: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--ink); }
  .faq-q::after { content: "+"; font-family: var(--serif); font-weight: 300; font-size: 28px; line-height: 1; color: var(--accent); flex-shrink: 0; transition: transform 0.2s; }
  .faq-item[open] .faq-q::after { content: "−"; }
  .faq-a { padding-bottom: 24px; }
  .faq-a p { font-size: 15.5px; line-height: 1.65; margin: 0 0 14px; max-width: 64ch; }
  .faq-a p:last-child { margin-bottom: 0; }

  .consultorio-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 56px); align-items: start; }
  .consultorio-info > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
  .consultorio-info > div:last-child { border-bottom: none; }
  .consultorio-info-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; font-weight: 600; }
  .consultorio-info p { font-size: 15.5px; color: var(--ink); margin: 0 0 4px; line-height: 1.5; }
  .consultorio-info p.muted { color: var(--ink-soft); font-size: 14px; }
  .consultorio-info a { color: var(--accent-deep); border-bottom: 1px solid var(--accent); padding-bottom: 1px; transition: color 0.15s; }
  .consultorio-info a:hover { color: var(--accent); }
  .consultorio-map { width: 100%; aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: 6px; }

  .agendamento-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 56px); align-items: center; }
  .agendamento-content p { font-size: 17px; line-height: 1.65; margin-bottom: 18px; }
  .agendamento-content .btn { margin-top: 14px; }
  .pagamento-aside { background: var(--paper); border: 1px solid var(--line); padding: 26px 28px; border-radius: 6px; }
  .pagamento-aside h3 { font-size: 19px; margin-bottom: 12px; }
  .pagamento-aside p { font-size: 14px; line-height: 1.6; margin-bottom: 12px; color: var(--ink-soft); }
  .pagamento-aside p:last-child { margin-bottom: 0; }
  .pagamento-aside strong { color: var(--ink); font-weight: 600; }

  .rodape { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 80px) 0 32px; }
  .rodape-disclaimer { max-width: 1280px; margin: 0 auto 44px; padding: 0 clamp(20px, 5vw, 56px); font-family: var(--serif); font-style: italic; font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,0.65); border-left: 2px solid var(--accent); padding-left: 16px; }
  .rodape-grid { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); display: grid; grid-template-columns: 2.1fr 1fr 1.3fr 1fr; gap: clamp(36px, 5vw, 72px); margin-bottom: 40px; }
  .rodape-brand img { height: 42px; width: auto; margin-bottom: 18px; opacity: 0.95; filter: brightness(0) invert(1); }
  .rodape-brand p { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 9px; max-width: 380px; line-height: 1.6; }
  .rodape-col h4 { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 14px; }
  .rodape-col p { color: rgba(255,255,255,0.85); font-size: 14px; line-height: 1.65; margin-bottom: 8px; }
  .rodape-col a { color: rgba(255,255,255,0.85); transition: color 0.15s; }
  .rodape-col a:hover { color: var(--paper); }

  .rt-bar { max-width: 1280px; margin: 0 auto 24px; padding: 16px 22px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
  .rt-bar-outer { padding: 0 clamp(20px, 5vw, 64px); }
  .rt-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); font-weight: 600; flex: 0 0 auto; }
  .rt-info { color: rgba(255,255,255,0.9); font-size: 13.5px; line-height: 1.5; flex: 1; min-width: 0; }
  .rt-info strong { color: var(--paper); font-weight: 600; }

  .rodape-base { max-width: 1280px; margin: 0 auto; padding: 22px clamp(20px, 5vw, 64px) 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); border-top: 1px solid rgba(255,255,255,0.15); }
  .rodape-cfm { display: block; font-family: var(--serif); font-style: italic; font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 16px; padding: 0 clamp(20px, 5vw, 64px); max-width: 1280px; margin-left: auto; margin-right: auto; text-align: center; }

  .fab-wa { position: fixed; right: clamp(16px, 4vw, 32px); bottom: clamp(16px, 4vw, 32px); width: 64px; height: 64px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; box-shadow: 0 6px 24px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.12); z-index: 100; transition: transform 0.2s, box-shadow 0.2s; }
  .fab-wa:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 10px 32px rgba(0,0,0,0.22), 0 4px 10px rgba(0,0,0,0.14); }
  .fab-wa svg { width: 32px; height: 32px; }
  .fab-wa::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--wa); opacity: 0.4; animation: pulse 2.2s ease-out infinite; }
  @keyframes pulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.4); opacity: 0; } }

  @media (max-width: 960px) {
    .hero-grid, .sobre-grid, .sobre-bottom, .consultorio-grid, .agendamento-grid { grid-template-columns: 1fr; }
    .hero-content { max-width: none; }
    .hero-img, .hero-illustration { max-height: 460px; aspect-ratio: 16/10; }
    .rodape-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  }
  @media (max-width: 640px) {
    .header-nav { display: none; }
    .header-toggle { display: inline-flex; }
    .header-cta { padding: 8px 14px; font-size: 10px; }
    .hero-pills { gap: 6px; }
    .hero-pill { font-size: 10px; padding: 5px 10px; }
    .rodape-grid { grid-template-columns: 1fr; }
    .credenciais-row { grid-template-columns: 1fr; gap: 4px; }
    .rt-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
    .fab-wa { width: 56px; height: 56px; }
    .fab-wa svg { width: 28px; height: 28px; }
  }
  @media print {
    .fab-wa, .header-cta, .header-toggle { display: none; }
    .header { position: static; backdrop-filter: none; background: var(--paper); }
  }
