/* Identidade visual das páginas internas, alinhada ao hero de referência. */
:root {
  --navy-900: #001b35;
  --navy-800: #002743;
  --navy-700: #063c5c;
  --navy-600: #0b5277;
  --navy-50: #edf4f8;
  --gold-600: #e69f00;
  --gold-500: #f7b500;
  --gold-400: #ffc62c;
  --gold-100: #fff5d6;
  --orange-500: #f7b500;
  --cream-50: #fffefa;
  --cream-100: #fbf8f1;
  --cream-200: #eee6d5;
  --ink-900: #00162d;
  --ink-700: #26384d;
  --ink-500: #687789;
  --ink-300: #a6b1bf;
  --font-sans: "Inter", "Segoe UI", Arial, sans-serif;
  --font-serif: var(--font-sans);
  --shadow-sm: 0 3px 12px rgba(0,27,53,.06);
  --shadow-md: 0 10px 28px rgba(0,27,53,.09);
  --shadow-lg: 0 18px 48px rgba(0,27,53,.13);
  --shadow-xl: 0 26px 64px rgba(0,27,53,.18);
  --shadow-gold: 0 9px 24px rgba(247,181,0,.3);
}

body { color: var(--ink-700); background: var(--cream-50); }
h1, h2, h3, h4, h5, h6 { color: var(--navy-800); }
a { color: var(--navy-700); }
a:hover { color: var(--gold-600); }
.container { max-width: 1320px; }

.site-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1002;
  height: 38px;
  color: #fff;
  background: var(--navy-900);
  font-size: .76rem;
}
.site-topbar .container { height: 100%; display: flex; align-items: center; gap: 34px; padding-inline: 24px; }
.site-topbar span { display: inline-flex; align-items: center; gap: 8px; }
.site-topbar svg { color: var(--gold-500); }
.site-topbar-safe { margin-left: auto; }

.navbar-custom,
.navbar-custom.scrolled {
  top: 38px;
  padding: 0;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid rgba(247,181,0,.22);
  backdrop-filter: blur(15px);
}
.navbar-custom .container,
.navbar-custom.scrolled .container {
  max-width: 1420px;
  min-height: 100px;
  padding: 6px 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.navbar-custom .container > .d-flex,
.navbar-custom.scrolled .container > .d-flex {
  min-height: 88px;
  padding-top: 0;
}
.nav-logo-img,
.navbar-custom.scrolled .nav-logo-img { width: auto; height: 92px; max-height: 92px; object-fit: contain; }
.nav-links { gap: 12px; }
.nav-links a { padding: 11px 8px; color: var(--ink-900); font-size: .88rem; font-weight: 600; background: transparent !important; }
.nav-links a:hover { color: var(--gold-600); }
.nav-cta-pill { color: var(--ink-900); padding: 9px 18px; background: linear-gradient(135deg,#ffc527,#f2ab00); box-shadow: var(--shadow-gold); }
.nav-cta-icon { width: 28px; height: 28px; background: transparent; border: 1.5px solid rgba(255,255,255,.82); }
.nav-cta-text small { display: none; }
.nav-cta-text strong { color: var(--ink-900); font-size: .84rem; }

.page-hero,
.page-hero[style] {
  min-height: 390px;
  padding: 185px 0 70px !important;
  color: var(--ink-700);
  background:
    radial-gradient(circle at 88% 5%, rgba(247,181,0,.14), transparent 24%),
    radial-gradient(circle at 8% 90%, rgba(0,39,67,.09), transparent 27%),
    linear-gradient(135deg,#fffefa,#f8f3e8);
  border-radius: 0 0 14px 14px;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -110px;
  bottom: auto;
  width: 560px;
  height: 560px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(118, 186, 80, .16) 0%,
    rgba(118, 186, 80, .08) 34%,
    rgba(118, 186, 80, .025) 56%,
    transparent 72%
  );
  filter: blur(10px);
  opacity: .9;
  pointer-events: none;
}
.page-hero::before { display: none !important; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb { margin-bottom: 20px; }
.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a,
.page-hero .breadcrumb-item.active { color: var(--ink-500) !important; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: var(--gold-500); }
.page-hero .kicker,
.page-hero .kicker.on-dark {
  display: inline-flex;
  padding: 6px 13px;
  color: var(--navy-700) !important;
  background: #fff;
  border: 1px solid #dce7f1;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.page-hero h1 { max-width: 900px; color: var(--navy-800) !important; font-family: var(--font-serif); font-size: clamp(2.5rem,4.5vw,4.3rem); font-weight: 500 !important; line-height: 1.05; }
.page-hero .lead,
.page-hero p.lead { max-width: 760px; color: var(--ink-700) !important; font-size: 1.05rem; line-height: 1.65; }

.section,
.article-single,
.clinic-body-section,
.clinic-gallery { background: #fff; }
.article-single { padding-top: 72px; }
.article-hero-img,
.article-list-card,
.blog-card,
.clinic-card,
.sidebar-box,
.unit-card,
.form-card { border-color: #dce6ef !important; border-radius: 12px !important; box-shadow: var(--shadow-sm); }
.article-hero-img { border-radius: 20px 20px 20px 65px !important; overflow: hidden; }
.article-content h2,
.article-content h3,
.article-content h4 { color: var(--navy-800); font-family: var(--font-serif); font-weight: 500; }
.article-content a { color: var(--gold-600); text-decoration-color: rgba(66,140,40,.35); }
.article-content blockquote { border-left-color: var(--orange-500); background: #fff8ef; }

.btn { border-radius: 9px; }
.btn-gold { color: #fff; background: linear-gradient(180deg,#0c63bd,#074c9a); border-color: #0755a8; box-shadow: 0 8px 20px rgba(7,82,162,.22); }
.btn-gold:hover { background: linear-gradient(180deg,#1774d1,#0756aa); }
.btn-whatsapp { background: var(--gold-500); border-color: var(--gold-500); }
.btn-outline-gold { color: var(--gold-600); border-color: var(--gold-500); }
.btn-outline-gold:hover { color: #fff; background: var(--gold-500); border-color: var(--gold-500); }
.kicker { color: var(--navy-700); }
.kicker::before,
.kicker::after { background: var(--gold-500); }

.article-list-card .meta .cat,
.blog-tag,
.clinic-badge { color: var(--gold-600) !important; background: var(--gold-100) !important; }
.article-list-card .read-link,
.clinic-cta { color: var(--gold-600) !important; }
.pagination-custom .active span,
.pagination-custom a:hover { color: #fff; background: var(--navy-700); border-color: var(--navy-700); }

.contact-info-card {
  color: rgba(255,255,255,.86);
  background:
    radial-gradient(circle at 100% 0, rgba(118,186,80,.22), transparent 35%),
    linear-gradient(135deg,var(--navy-700),var(--navy-900));
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.contact-info-card h3 { color: #fff; font-family: var(--font-serif); }
.contact-info-card .icon { color: var(--gold-400); background: rgba(255,255,255,.12); }
.contact-info-card .contact-item { border-color: rgba(255,255,255,.13); }
.help-banner { background: linear-gradient(110deg,var(--navy-700),var(--navy-900)); border-radius: 12px; }
.help-banner-icon { color: var(--gold-600); background: #fff; }

.form-card label { color: var(--navy-800); }
.form-control { border-color: #d7e2ec; border-radius: 9px; background: #fbfdff; }
.form-control:focus { border-color: var(--navy-600); box-shadow: 0 0 0 .2rem rgba(23,108,194,.12); }

.clinic-gallery-grid { gap: 14px; }
.clinic-gallery-grid .main-img,
.clinic-gallery-grid .thumb-stack img { border-radius: 14px; }
.clinic-body h3,
.clinic-body h4 { font-family: var(--font-serif); color: var(--navy-800); }

.cta-band {
  position: relative;
  padding: 85px 0 0;
  background: var(--white);
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -8%;
  bottom: -110px;
  width: 53%;
  height: 300px;
  background: var(--navy-900);
  border-radius: 60% 0 0 0;
  transform: rotate(3deg);
}

.cta-band .container { position: relative; z-index: 1; }

.cta-inner.cta-inner-home {
  grid-template-columns: minmax(0,49%) minmax(0,51%);
  min-height: 390px;
  padding: 48px 0 48px 60px;
  color: var(--ink-700);
  background: var(--white);
  border: 1px solid rgba(247,181,0,.3);
  border-radius: 28px 110px 28px 28px;
  box-shadow: var(--shadow-lg);
}

.cta-inner-home::before {
  content: '';
  position: absolute;
  top: -110px;
  right: 28%;
  width: 360px;
  height: 260px;
  background: radial-gradient(circle,rgba(247,181,0,.12),transparent 70%);
  pointer-events: none;
}

.cta-inner-home::after {
  content: '';
  position: absolute;
  z-index: 0;
  right: -8%;
  bottom: -125px;
  width: 58%;
  height: 245px;
  background: var(--navy-900);
  border-top: 3px solid var(--gold-500);
  border-radius: 60% 0 0 0;
  transform: rotate(5deg);
  pointer-events: none;
}

.cta-inner-home .cta-content {
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  max-width: 520px;
}
.cta-inner-home .cta-mark { width: 42px; height: 42px; color: var(--white); background: var(--gold-500); }
.cta-inner-home .cta-mark svg { width: 20px; height: 20px; }
.cta-inner-home .cta-copy h3 {
  margin: 0 0 13px;
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-size: clamp(2rem,3.1vw,3.25rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.cta-inner-home .cta-copy h3 .accent { color: var(--gold-600); font-size: 1.08em; font-family: var(--font-serif); font-style: italic; }
.cta-inner-home .cta-copy p { max-width: 500px; margin: 0; color: var(--ink-700); font-size: .82rem; line-height: 1.55; }
.cta-inner-home .cta-actions {
  grid-column: 1;
  flex-direction: row;
  gap: 12px;
  align-self: start;
  margin-top: 0;
}
.cta-inner-home .cta-actions .btn {
  min-width: 190px;
  min-height: 54px;
  padding: 10px 16px;
  justify-content: flex-start;
  border-radius: 10px;
  font-size: .88rem;
}
.cta-inner-home .cta-actions .btn-whatsapp {
  color: var(--ink-900);
  background: linear-gradient(135deg,#ffc527,#f2ab00);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-gold);
}
.cta-inner-home .cta-actions .btn-whatsapp:hover {
  color: var(--ink-900);
  background: linear-gradient(135deg,#ffd04e,#f7b500);
  border-color: var(--gold-400);
  box-shadow: 0 12px 28px rgba(247,181,0,.4);
}
.cta-inner-home .cta-actions .btn-gold { color: var(--ink-900); background: var(--white); border-color: var(--gold-500); box-shadow: none; }
.cta-inner-home .cta-actions .btn > span { display: block; text-align: left; line-height: 1.1; }
.cta-inner-home .cta-actions strong,
.cta-inner-home .cta-actions small { display: block; }
.cta-inner-home .cta-actions strong { font-size: .73rem; }
.cta-inner-home .cta-actions small { margin-top: 4px; font-size: .55rem; font-weight: 500; opacity: .8; }
.cta-visual {
  position: absolute;
  z-index: 2;
  top: 25px;
  right: 55px;
  width: 340px;
  height: 340px;
  padding: 5px;
  background: var(--gold-500);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 50%; }

.footer { margin: 0 7px 7px; color: var(--ink-500); background: #fff; border-radius: 14px; box-shadow: inset 0 1px 0 #e6edf3; }
.footer-grid { border-color: #dfe7ee; }
.footer .nav-logo-img { filter: none; }
.footer-brand p,
.footer-links a,
.footer-contact li,
.footer-contact a { color: var(--ink-500); }
.footer-col h2 { color: var(--navy-700); }
.footer-links li::before { content: "•"; margin-right: 7px; color: var(--gold-500); }
.social-btn { color: var(--navy-700); background: #fff; border-color: #cfdce7; }
.footer-bottom { color: var(--ink-500); border-color: #dfe7ee; }
.footer-bottom a { color: var(--navy-700); font-weight: 600; }
.footer-bottom a:hover { color: var(--gold-600); }

@media (max-width: 991px) {
  .site-topbar-safe { display: none !important; }
  .navbar-custom,
  .navbar-custom.scrolled { top: 38px; padding: 0; }
  .navbar-custom .container,
  .navbar-custom.scrolled .container { min-height: 84px; padding: 4px 16px; }
  .navbar-custom .container > .d-flex,
  .navbar-custom.scrolled .container > .d-flex { min-height: 76px; padding-top: 0; }
  .nav-logo-img,
  .navbar-custom.scrolled .nav-logo-img { height: 80px; max-height: 80px; }
  .page-hero,
  .page-hero[style] { min-height: 350px; padding: 155px 0 54px !important; }
  .page-hero h1 { font-size: clamp(2.25rem,7vw,3.5rem); }

  .cta-inner.cta-inner-home {
    grid-template-columns: 1fr;
    min-height: 610px;
    padding: 38px 34px 285px;
    border-radius: 45px 45px 18px 45px;
    text-align: left;
  }
  .cta-inner-home .cta-content { align-items: flex-start; text-align: left; }
  .cta-inner-home .cta-actions {
    grid-column: 1;
    flex-direction: row;
    align-items: stretch;
    align-self: auto;
    width: auto;
    margin-top: 0;
  }
  .cta-visual {
    top: auto;
    right: 50%;
    bottom: 18px;
    width: 245px;
    height: 245px;
    transform: translateX(50%);
  }
}

@media (max-width: 640px) {
  .site-topbar { height: 34px; }
  .site-topbar .container { justify-content: center; gap: 18px; padding-inline: 10px; font-size: .65rem; }
  .navbar-custom,
  .navbar-custom.scrolled { top: 34px; }
  .page-hero,
  .page-hero[style] { min-height: 320px; padding: 142px 0 44px !important; }
  .page-hero h1 { font-size: 2.25rem; }
  .page-hero .lead { font-size: .94rem; }
  .cta-band { padding-top: 50px; }
  .cta-band::after { display: none; }
  .cta-inner.cta-inner-home { min-height: 700px; padding: 30px 20px 255px; }
  .cta-inner-home .cta-copy h3 { font-size: clamp(1.9rem,10vw,2.55rem); white-space: normal; }
  .cta-inner-home .cta-actions { flex-direction: column; width: 100%; }
  .cta-inner-home .cta-actions .btn { width: 100%; min-width: 0; justify-content: flex-start; }
  .cta-visual { width: 210px; height: 210px; }
  .footer { margin-inline: 5px; }
}
