/* ============================================================
   Bray Clinic — Dr. Fernando Bray
   Design system: navy profundo + dourado discreto + serif
   ============================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2039-203A;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/playfair-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2039-203A;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/playfair-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2039-203A;
}

:root {
  --navy-950: #0c1526;
  --navy-900: #101d35;
  --navy-800: #17274a;
  --navy-700: #1f3260;
  --navy-100: #dce4f2;
  --blue-soft: #9db8e0;
  --gold: #c4a265;
  --gold-light: #dcc494;
  --ink: #1d2536;
  --muted: #5c6a80;
  --cream: #faf8f4;
  --paper: #ffffff;
  --line: #e6e2d9;
  --line-navy: rgba(255, 255, 255, 0.12);
  --whatsapp: #25d366;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(16, 29, 53, 0.08);
  --shadow-md: 0 6px 24px rgba(16, 29, 53, 0.10);
  --shadow-lg: 0 16px 48px rgba(16, 29, 53, 0.16);
  --radius: 14px;
  --container: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%); color: #fff; }

/* ---------- Tipografia ---------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.section-title { font-size: clamp(30px, 4vw, 42px); margin-bottom: 16px; }
.section-lead { font-size: 18px; color: var(--muted); max-width: 640px; }
.section--navy .section-lead { color: var(--blue-soft); }
.center { text-align: center; }
.center .section-lead { margin: 0 auto; }
.center .eyebrow::after { content: ''; width: 28px; height: 1px; background: var(--gold); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 15.5px; font-weight: 600; line-height: 1;
  cursor: pointer; transition: all 0.22s ease; white-space: nowrap;
}
.btn svg { flex-shrink: 0; }
.btn--primary { background: var(--navy-800); color: #fff; }
.btn--primary:hover { background: var(--navy-700); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold); color: var(--navy-950); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--outline:hover { border-color: var(--navy-800); background: var(--navy-800); color: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,0.35); color: #fff; background: transparent; }
.btn--outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #1fb958; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--sm { padding: 11px 22px; font-size: 14px; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(12, 21, 38, 0.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-navy);
  transition: background 0.3s ease;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.header__logo { flex-shrink: 0; }
.header__logo img { height: 34px; width: auto; max-width: none; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: rgba(255,255,255,0.82);
  transition: color 0.2s; position: relative; padding: 6px 0;
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold); border-radius: 2px;
}
.header__cta { margin-left: 10px; }
.nav .header__cta { display: none; }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.3s; }

/* ---------- Hero (home) ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(63, 90, 145, 0.35), transparent 60%),
    linear-gradient(155deg, var(--navy-950) 0%, var(--navy-900) 45%, var(--navy-800) 100%);
  color: #fff; padding: 170px 0 100px; position: relative; overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 700; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--blue-soft); }
.hero__subtitle { font-size: 21px; color: var(--navy-100); font-weight: 300; margin-bottom: 26px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.badge {
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22); color: var(--navy-100);
  background: rgba(255,255,255,0.05);
}
.badge--gold { border-color: rgba(196,162,101,0.5); color: var(--gold-light); }
.hero__actions { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin-bottom: 44px; }
.hero__info { display: flex; flex-wrap: wrap; gap: 36px; }
.hero__info-item { display: flex; align-items: flex-start; gap: 13px; }
.hero__info-item svg { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.hero__info-item strong { display: block; font-size: 14.5px; font-weight: 600; }
.hero__info-item span { font-size: 13.5px; color: var(--blue-soft); }
.hero__photo { position: relative; }
.hero__photo img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.hero__photo::before {
  content: ''; position: absolute; inset: -14px 14px 14px -14px;
  border: 1px solid rgba(196,162,101,0.4); border-radius: 24px; pointer-events: none;
}
.hero__exp {
  position: absolute; left: -26px; bottom: 30px;
  background: rgba(12, 21, 38, 0.72); backdrop-filter: blur(10px);
  border: 1px solid rgba(196,162,101,0.35); border-radius: 16px;
  padding: 18px 24px; text-align: center;
}
.hero__exp strong { font-family: var(--serif); font-size: 30px; color: var(--gold-light); display: block; line-height: 1; }
.hero__exp span { font-size: 12.5px; color: var(--navy-100); }

/* ---------- Cards de tratamento ---------- */
.treatments-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px;
}
.treatment-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 30px 18px; min-height: 118px;
  background: rgba(255,255,255,0.045);
  border: 1px solid var(--line-navy); border-radius: var(--radius);
  transition: all 0.25s ease;
}
.treatment-card svg { color: var(--gold); opacity: 0.9; }
.treatment-card span { font-size: 14px; font-weight: 600; letter-spacing: 0.06em; color: var(--navy-100); }
.treatment-card:hover {
  background: rgba(255,255,255,0.09); border-color: rgba(196,162,101,0.45);
  transform: translateY(-3px);
}
.treatment-card:hover span { color: #fff; }

/* ---------- Filosofia ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.value-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; transition: all 0.25s ease;
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.value-card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700)); color: var(--gold-light); margin-bottom: 20px;
}
.value-card h3 { font-size: 20px; margin-bottom: 10px; }
.value-card p { font-size: 15px; color: var(--muted); }

/* ---------- Citação ---------- */
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote blockquote {
  font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.55; color: #fff; margin-bottom: 34px;
}
.quote blockquote::before { content: '“'; color: var(--gold); font-size: 1.4em; }
.quote blockquote::after { content: '”'; color: var(--gold); font-size: 1.4em; }
.quote cite { font-style: normal; }
.quote cite strong { display: block; font-family: var(--serif); font-size: 19px; }
.quote cite span { font-size: 14px; color: var(--blue-soft); letter-spacing: 0.06em; }

/* ---------- Hospitais ---------- */
.hospitals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.hospital-card {
  border-radius: var(--radius); overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); transition: all 0.25s ease;
}
.hospital-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.hospital-card img { height: 150px; width: 100%; object-fit: cover; }
.hospital-card figcaption { padding: 18px 20px; }
.hospital-card strong { font-size: 15px; font-weight: 600; display: block; line-height: 1.35; }
.hospital-card span { font-size: 13px; color: var(--muted); }

/* ---------- CTA final ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 14px; }
.cta-band p { color: var(--blue-soft); font-size: 17px; max-width: 560px; margin: 0 auto 36px; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Página interna: hero compacto ---------- */
.page-hero {
  background:
    radial-gradient(900px 400px at 80% -20%, rgba(63, 90, 145, 0.3), transparent 60%),
    linear-gradient(155deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: #fff; padding: 150px 0 72px;
}
.page-hero h1 { font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 16px; max-width: 800px; }
.page-hero .lead { font-size: 18px; color: var(--navy-100); max-width: 680px; font-weight: 300; }
.page-hero .hero__badges { margin: 22px 0 0; }

/* ---------- Currículo ---------- */
.timeline { max-width: 800px; margin: 0 auto; position: relative; padding-left: 34px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 1px; background: var(--line);
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -31px; top: 7px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--gold);
}
.timeline-item h3 { font-size: 20px; margin-bottom: 6px; }
.timeline-item .org { font-size: 14.5px; font-weight: 600; color: var(--navy-700); }
.timeline-item .period {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--gold); text-transform: uppercase; margin: 4px 0 10px;
}
.timeline-item p, .timeline-item li { font-size: 15px; color: var(--muted); }
.timeline-item ul { margin-top: 8px; }
.timeline-item ul li { position: relative; padding-left: 18px; margin-bottom: 5px; }
.timeline-item ul li::before { content: '•'; position: absolute; left: 2px; color: var(--gold); }
.timeline-item .thesis { font-style: italic; margin-top: 6px; }
.timeline-item a { color: var(--navy-700); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--gold); }

.pub-list { max-width: 800px; margin: 48px auto 0; display: grid; gap: 18px; }
.pub-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px;
}
.pub-card h3 { font-size: 17px; font-family: var(--sans); font-weight: 600; line-height: 1.45; margin-bottom: 8px; }
.pub-card .authors { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.pub-card .journal { font-size: 13.5px; color: var(--navy-700); font-weight: 500; }
.pub-card .pmid { font-size: 12.5px; color: var(--gold); font-weight: 600; letter-spacing: 0.04em; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  font-size: 14px; padding: 10px 18px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line); color: var(--ink);
}

/* ---------- Consultório ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.gallery figure { border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery img { height: 240px; width: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 14px;
  background: linear-gradient(transparent, rgba(12,21,38,0.85));
  color: #fff; font-size: 13.5px; font-weight: 500;
}

.units-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 56px; }
.unit-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.unit-card img { height: 210px; width: 100%; object-fit: cover; }
.unit-card .body { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.unit-card .tag {
  align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; text-transform: uppercase;
}
.tag--now { background: rgba(37, 211, 102, 0.12); color: #128c46; }
.tag--soon { background: rgba(196, 162, 101, 0.15); color: #96742f; }
.unit-card h3 { font-size: 23px; margin-bottom: 10px; }
.unit-card p { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.unit-card address { font-style: normal; font-size: 15px; color: var(--ink); margin: 14px 0; line-height: 1.6; }
.unit-card .actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; padding-top: 18px; }

/* ---------- Ensino ---------- */
.courses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 56px; }
.course-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; display: flex; flex-direction: column; transition: all 0.25s ease;
}
.course-card:hover { box-shadow: var(--shadow-md); }
.course-card .tag--open {
  align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; text-transform: uppercase;
  background: rgba(37, 211, 102, 0.12); color: #128c46;
}
.course-card h3 { font-size: 23px; margin-bottom: 6px; }
.course-card .role { font-size: 14px; color: var(--gold); font-weight: 600; margin-bottom: 14px; }
.course-card p { font-size: 15px; color: var(--muted); margin-bottom: 20px; }
.course-card .btn { align-self: flex-start; margin-top: auto; }

.downloads-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.download-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; text-align: center; transition: all 0.25s ease;
}
.download-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.download-card .icon {
  width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); color: var(--navy-700); border: 1px solid var(--line);
}
.download-card h3 { font-size: 18.5px; margin-bottom: 10px; }
.download-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; }

/* ---------- Blog ---------- */
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 40px 0 48px; }
.blog-filters a {
  font-size: 14px; font-weight: 500; padding: 9px 20px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); transition: all 0.2s;
}
.blog-filters a:hover { border-color: var(--navy-800); color: var(--navy-800); }
.blog-filters a.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: all 0.25s ease;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.article-card .thumb { height: 190px; overflow: hidden; background: var(--cream); }
.article-card .thumb img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.4s ease; }
.article-card:hover .thumb img { transform: scale(1.05); }
.article-card .body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.article-card .cat { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.article-card h3 { font-size: 18.5px; line-height: 1.35; margin-bottom: 10px; }
.article-card p { font-size: 14.5px; color: var(--muted); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card .meta { font-size: 13px; color: var(--muted); margin-top: 16px; display: flex; gap: 14px; }

/* ---------- Artigo ---------- */
.article-hero { padding: 150px 0 56px; }
.article-hero .breadcrumb { font-size: 13.5px; color: var(--blue-soft); margin-bottom: 22px; }
.article-hero .breadcrumb a:hover { color: #fff; }
.article-hero .breadcrumb span { margin: 0 8px; opacity: 0.5; }
.article-hero h1 { font-size: clamp(28px, 4vw, 42px); max-width: 860px; }
.article-hero .meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: 14px; color: var(--blue-soft); }
.article-hero .meta .cat { color: var(--gold-light); font-weight: 600; }

.article-layout { max-width: 760px; margin: 0 auto; }
.article-featured { border-radius: var(--radius); overflow: hidden; margin: -30px auto 48px; box-shadow: var(--shadow-lg); max-width: 760px; }
.article-featured img { width: 100%; }

.prose { font-size: 17.5px; line-height: 1.75; }
.prose h2 { font-size: 27px; margin: 44px 0 18px; }
.prose h3 { font-size: 21px; margin: 36px 0 14px; }
.prose p { margin-bottom: 20px; }
.prose ul, .prose ol { margin: 0 0 20px 24px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 8px; }
.prose img { border-radius: 12px; margin: 30px auto; }
.prose a { color: var(--navy-700); font-weight: 500; border-bottom: 1px solid var(--gold); }
.prose a:hover { color: var(--navy-950); }
.prose strong { font-weight: 650; }
.prose blockquote {
  border-left: 3px solid var(--gold); padding: 6px 0 6px 24px; margin: 28px 0;
  font-style: italic; color: var(--muted);
}
.prose iframe { max-width: 100%; border-radius: 12px; margin: 30px 0; }

.author-box {
  display: flex; gap: 22px; align-items: center;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 30px; margin-top: 56px;
}
.author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: top; flex-shrink: 0; }
.author-box strong { font-family: var(--serif); font-size: 19px; display: block; margin-bottom: 4px; }
.author-box p { font-size: 14px; color: var(--muted); line-height: 1.55; }

.article-cta {
  background: linear-gradient(150deg, var(--navy-900), var(--navy-800));
  color: #fff; border-radius: var(--radius); padding: 40px; margin-top: 34px; text-align: center;
}
.article-cta h3 { font-size: 24px; margin-bottom: 10px; }
.article-cta p { color: var(--blue-soft); font-size: 15px; margin-bottom: 24px; }

.related { margin-top: 80px; }
.related h2 { font-size: 27px; margin-bottom: 30px; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; margin-top: 56px; align-items: start; }
.contact-form {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px;
}
.contact-form h2 { font-size: 24px; margin-bottom: 6px; }
.contact-form > p { font-size: 14.5px; color: var(--muted); margin-bottom: 28px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--sans); font-size: 15.5px; color: var(--ink); background: var(--cream);
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-700); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; }
.form-note a { text-decoration: underline; }

.info-stack { display: grid; gap: 18px; }
.info-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px;
}
.info-card h3 { font-size: 18px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.info-card h3 svg { color: var(--gold); }
.info-card p, .info-card address { font-style: normal; font-size: 15px; color: var(--muted); line-height: 1.7; }
.info-card .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- Concierge ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .content h2 { font-size: clamp(28px, 3.4vw, 36px); margin-bottom: 20px; }
.split .content p { color: var(--muted); margin-bottom: 16px; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,0.75); padding: 72px 0 0; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 48px; padding-bottom: 56px; }
.footer h4 {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer__brand img { height: 34px; margin-bottom: 18px; }
.footer__brand p { font-size: 14px; line-height: 1.7; }
.footer__brand .rqe { font-size: 12.5px; color: rgba(255,255,255,0.5); margin-top: 14px; }
.footer li { margin-bottom: 11px; font-size: 14.5px; }
.footer address { font-style: normal; font-size: 14.5px; line-height: 1.8; }
.footer__bottom {
  border-top: 1px solid var(--line-navy); padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(255,255,255,0.5);
}
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(18, 140, 70, 0.4);
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .treatments-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid, .hospitals-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid, .gallery, .downloads-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__photo { max-width: 480px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  /* o backdrop-filter do header vira containing block: usar absolute ancorado nele */
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; height: calc(100vh - 76px);
    background: var(--navy-950); flex-direction: column; align-items: flex-start;
    padding: 36px 28px; gap: 8px; display: none; overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav a { font-size: 19px; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line-navy); }
  .nav a.active::after { display: none; }
  .header__inner > .header__cta { display: none; }
  .nav .header__cta { display: inline-flex; margin: 18px 0 0; }
  .nav-toggle { display: flex; }
}
@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .units-grid, .courses-grid, .contact-grid, .split { grid-template-columns: 1fr; }
  .articles-grid, .gallery, .downloads-grid { grid-template-columns: 1fr; }
  .values-grid, .hospitals-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero { padding: 130px 0 72px; }
  .hero__exp { left: 12px; bottom: 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .author-box { flex-direction: column; text-align: center; }
  .article-featured { margin-top: 0; }
}
