/* ═══════════════════════════════════════════════════════════
   CLÍNICAS DO BAIRRO CARD
   Montserrat/Poppins · Teal #02C0A6 · Purple #5B38B2
   --primary   #5B38B2  (CTA buttons)
   --secondary #02C0A6  (header, accents)
   --accent    #FFB900  (highlight yellow)
═══════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../../_shared/fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../_shared/fonts/pxiEyp8kv8JHgFVrJJfecg.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../../_shared/fonts/pxiGyp8kv8JHgFVrJJLucHtA.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../../_shared/fonts/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --primary:       #5B38B2;
  --primary-dark:  #3d2480;
  --primary-light: #ede9fb;
  --secondary:     #02C0A6;
  --secondary-dark:#017f6e;
  --accent:        #FFB900;
  --header-bg:     #02C0A6;
  --dark:          #111827;
  --dark-2:        #1f2937;
  --text:          #111827;
  --text-soft:     #6B7280;
  --text-lighter:  #9CA3AF;
  --bg:            #FFFFFF;
  --bg-alt:        #F9FAFB;
  --border:        #E5E7EB;
  --header-h:      72px;
  --radius:        14px;
  --radius-sm:     8px;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:     0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:     0 20px 60px rgba(0,0,0,.12);
  --t:             all .28s ease;
  --max-w:         1200px;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; scroll-behavior: smooth; }
body  { font-family: 'Poppins', 'Montserrat', sans-serif; color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img   { display: block; max-width: 100%; height: auto; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button{ cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Container / Layout ────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: 28px; }

.section       { padding-block: 88px; background: var(--bg); }
.section-alt   { background: var(--bg-alt); }

section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* Section header */
.section-header { text-align: center; margin-bottom: 52px; }

.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-subtitle { font-size: .97rem; color: var(--text-soft); max-width: 620px; margin-inline: auto; line-height: 1.75; }

/* ── Scroll animation ──────────────────────────────────── */
.animate-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.animate-in.visible { opacity: 1; transform: none; }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  transition: var(--t);
  white-space: nowrap;
}
.btn i { width: 17px; height: 17px; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(91,56,178,.3);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(91,56,178,.35); }

.btn-header {
  background: #fff;
  color: var(--header-bg);
  padding: 10px 20px;
  font-size: .82rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
  transition: var(--t);
}
.btn-header i { width: 15px; height: 15px; }
.btn-header:hover { background: rgba(255,255,255,.9); transform: translateY(-1px); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: var(--t);
}
.btn-whatsapp:hover { background: #1ebe5c; transform: translateY(-2px); }
.btn-whatsapp i { width: 20px; height: 20px; }

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.45);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: var(--t);
  white-space: nowrap;
}
.btn-hero-ghost i { width: 17px; height: 17px; }
.btn-hero-ghost:hover { background: rgba(255,255,255,.22); border-color: #fff; }

/* ── HEADER ─────────────────────────────────────────────── */
.header {
  z-index: 1000;
  height: var(--header-h);
  background: var(--header-bg);
  transition: box-shadow .3s;
}

/* Home: fixed so hero scrolls under it */
.page-home .header { position: fixed; inset: 0 0 auto; }

/* Subpages: sticky */
.page-subpage .header { position: sticky; top: 0; }

.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.2); }

.nav { display: flex; align-items: center; height: var(--header-h); }
.nav-logo { flex-shrink: 0; margin-right: auto; }
.nav-logo img { height: 42px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 2px; margin-right: 20px; }
.nav-link { font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.9); padding: 6px 12px; border-radius: 7px; transition: var(--t); }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.15); }

/* Hamburger */
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 34px; margin-left: 12px; }
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: var(--t); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(2,10,8,.85) 0%, rgba(2,10,8,.65) 50%, rgba(2,10,8,.2) 100%);
}
.hero-content { position: relative; z-index: 1; padding-block: 80px; }
.hero-text-inner { max-width: 640px; }

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.hero-title em { font-style: normal; color: var(--accent); }

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  line-height: 1.72;
  margin-bottom: 32px;
}
.hero-subtitle strong { color: #fff; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── SOBRE / QUEM SOMOS ─────────────────────────────────── */
.sobre-text .section-label { display: block; margin-bottom: 10px; }
.sobre-text .section-title { text-align: left; max-width: 100%; margin-bottom: 18px; }
.sobre-text p { color: var(--text-soft); margin-bottom: 14px; line-height: 1.78; font-size: .97rem; }

.sobre-image img { width: 100%; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow-lg); }

/* ── ESPECIALIDADES ─────────────────────────────────────── */
.especialidades-tabs { margin-bottom: 40px; }

.tab-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.tab-btn {
  padding: 10px 24px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-soft);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  border: 2px solid transparent;
  border-bottom: none;
  transition: var(--t);
  margin-bottom: -2px;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active {
  background: var(--bg);
  color: var(--primary);
  border-color: var(--border);
  border-bottom-color: var(--bg);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.especialidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.especialidades-grid li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.especialidades-grid li i { width: 16px; height: 16px; color: var(--secondary); flex-shrink: 0; }

.especialidades-image { margin-top: 36px; }
.especialidades-image img { width: 100%; border-radius: var(--radius); object-fit: cover; max-height: 360px; }

/* ── VANTAGENS ──────────────────────────────────────────── */
.vantagens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.vantagem-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}
.vantagem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.vantagem-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.vantagem-icon i { width: 26px; height: 26px; color: var(--primary); }
.vantagem-card h3 { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.3; }
.vantagem-card p  { font-size: .88rem; color: var(--text-soft); line-height: 1.65; }

/* ── PLANOS ─────────────────────────────────────────────── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.plan-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--t);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.plan-card.plan-destaque {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary), var(--shadow-md);
}

.plan-header {
  background: var(--secondary);
  color: #fff;
  padding: 32px 24px 24px;
  text-align: center;
}
.plan-card.plan-destaque .plan-header { background: var(--primary); }

.plan-price-label { font-size: .75rem; font-weight: 600; opacity: .85; margin-bottom: 4px; }
.plan-price {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
  color: #fff;
}
.plan-currency { font-size: 1.2rem; vertical-align: super; font-weight: 700; }
.plan-period   { font-size: 1rem; font-weight: 600; }

.plan-name  { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.plan-seats { font-size: .82rem; color: rgba(255,255,255,.8); margin-bottom: 4px; }
.plan-taxa  { font-size: .8rem;  color: rgba(255,255,255,.75); }

.plan-body { padding: 24px; flex: 1; }
.plan-features-title { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-soft); margin-bottom: 14px; }
.plan-features { display: flex; flex-direction: column; gap: 10px; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .88rem;
  color: var(--text);
  line-height: 1.5;
}
.plan-features li i { width: 16px; height: 16px; color: var(--secondary); flex-shrink: 0; margin-top: 2px; }
.plan-card.plan-destaque .plan-features li i { color: var(--primary); }

.plan-actions { padding: 0 24px 24px; display: flex; flex-direction: column; gap: 8px; }
.plan-action-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-size: .84rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(91,56,178,.2);
  transition: var(--t);
}
.plan-action-link i { width: 15px; height: 15px; flex-shrink: 0; }
.plan-action-link:hover { background: var(--primary); color: #fff; }

.plan-action-pix {
  background: #f0fdf4;
  color: #16a34a;
  border-color: rgba(22,163,74,.2);
}
.plan-action-pix:hover { background: #16a34a; color: #fff; }

/* ── PARCEIROS ──────────────────────────────────────────── */
.parceiros-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: center;
  margin-bottom: 40px;
}
.parceiros-grid img {
  width: 100%;
  max-height: 56px;
  object-fit: contain;
  filter: grayscale(1) opacity(.65);
  transition: var(--t);
}
.parceiros-grid img:hover { filter: grayscale(0) opacity(1); }
.parceiros-cta { text-align: center; }

/* ── CTA SECTION ─────────────────────────────────────────── */
.cta-section { background: var(--bg-alt); }
.cta-inner {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}
.cta-logo { margin-bottom: 24px; }
.cta-logo img { height: 60px; margin-inline: auto; }
.cta-title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 32px;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding-block: 56px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px;
  margin-bottom: 40px;
  align-items: start;
}
.footer-logo { height: 44px; width: auto; margin-bottom: 20px; }
.footer-address { font-size: .88rem; line-height: 1.75; margin-bottom: 12px; }
.footer-address strong { color: #fff; }
.footer-contact { font-size: .88rem; line-height: 1.75; }
.footer-contact strong { color: #fff; }

.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a  { font-size: .88rem; color: rgba(255,255,255,.7); transition: var(--t); }
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }

/* ── WHATSAPP FLOAT ─────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}
.whatsapp-float a {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform .2s;
}
.whatsapp-float a:hover { transform: scale(1.08); }
.whatsapp-float img { width: 100%; height: 100%; object-fit: cover; }

/* ── PAGE TITLE SECTION ─────────────────────────────────── */
.page-title-section { padding-block: 56px; }

/* ── BENEFÍCIOS ─────────────────────────────────────────── */
.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.beneficio-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}
.beneficio-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.beneficio-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.beneficio-icon i { width: 24px; height: 24px; color: var(--primary); }
.beneficio-card h2 { font-size: 1.1rem; font-weight: 700; color: var(--dark); }
.beneficio-card p  { font-size: .92rem; color: var(--text-soft); line-height: 1.7; flex: 1; }
.beneficio-card .btn { align-self: flex-start; }

/* Nav active link (subpages) */
.nav-link-active { color: #fff !important; background: rgba(255,255,255,.2) !important; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .vantagens-grid { grid-template-columns: repeat(2, 1fr); }
  .parceiros-grid { grid-template-columns: repeat(4, 1fr); }
  .plans-grid     { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .section { padding-block: 60px; }
  .vantagens-grid  { grid-template-columns: 1fr 1fr; }
  .parceiros-grid  { grid-template-columns: repeat(3, 1fr); }
  .beneficios-grid { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--header-bg);
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-link { color: var(--text); background: #fff; border-radius: var(--radius-sm); padding: 12px 16px; }
  .nav-link:hover { background: var(--primary-light); color: var(--primary); }
  .menu-toggle { display: flex; }
  .btn-header   { display: none; }

  .vantagens-grid { grid-template-columns: 1fr; }
  .parceiros-grid { grid-template-columns: repeat(2, 1fr); }
  .especialidades-grid { grid-template-columns: 1fr 1fr; }

  .tab-nav { flex-wrap: wrap; }
  .tab-btn { font-size: .8rem; padding: 8px 14px; }

  .hero-title { font-size: clamp(1.7rem, 6vw, 2.2rem); }
  .section-title { font-size: 1.5rem; }
}
