/* ═══════════════════════════════════════════════════════════
   CEMOG VIDA — Clínica Saúde, Estética e Bem-Estar
   Poppins · Azul #006bdc · Laranja #faa30d
   Header bg: #006bdc
═══════════════════════════════════════════════════════════ */
@import url('./fonts.css');

:root {
  --primary:       #006bdc;
  --primary-dark:  #0050ad;
  --primary-light: #e6f0fc;
  --secondary:     #faa30d;
  --secondary-dark:#c87e00;
  --header-bg:     #006bdc;
  --dark:          #111827;
  --dark-2:        #1f2937;
  --text:          #111827;
  --text-soft:     #6B7280;
  --bg:            #FFFFFF;
  --bg-alt:        #F4F8FF;
  --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,.10);
  --shadow-lg:     0 20px 60px rgba(0,0,0,.14);
  --shadow-blue:   0 8px 32px rgba(0,107,220,.22);
  --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', 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: 96px; background: var(--bg); }
.section-alt{ background: var(--bg-alt); }
.section-dark   { background: #0a1e3d; color: #fff; }
.section-primary{ background: var(--primary); color: #fff; }
section[id]     { scroll-margin-top: calc(var(--header-h) + 8px); }

/* Section header */
.section-header { text-align: center; margin-bottom: 56px; }
.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-label-dark {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}
.section-label-orange {
  display: inline-block;
  background: rgba(250,163,13,.2);
  color: var(--secondary);
  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-title-dark  { font-size: clamp(1.65rem, 3vw, 2.2rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 14px; }
.section-subtitle    { font-size: .98rem; color: var(--text-soft); max-width: 600px; margin-inline: auto; line-height: 1.75; }
.section-subtitle-dark{ font-size: .98rem; color: rgba(255,255,255,.72); max-width: 600px; margin-inline: auto; line-height: 1.75; }

/* Grid 2-col */
.grid-2         { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.grid-2-reverse { grid-template-columns: 1fr 1.1fr; }

/* ── 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-size: .92rem; font-weight: 700; cursor: pointer;
  transition: var(--t); border: 2px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-blue); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--secondary-dark); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-header { background: #fff; color: var(--header-bg); font-size: .85rem; padding: 10px 20px; }
.btn-header:hover { background: var(--primary-light); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1da851; transform: translateY(-2px); }

/* ── Header ────────────────────────────────────────────── */
.header {
  background: var(--header-bg);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,.12);
  transition: box-shadow .28s;
}
.page-home .header { position: fixed; inset: 0 0 auto; }
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.18); }

.nav { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.nav-logo img { height: 44px; width: auto; object-fit: contain; }
.nav-menu {
  display: flex; align-items: center; gap: 4px;
  margin-left: auto; list-style: none;
}
.nav-menu li { position: relative; }
.nav-link {
  display: block; padding: 8px 12px;
  font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.88);
  border-radius: 8px; transition: var(--t);
  background: none; border: none; cursor: pointer; font-family: inherit;
  white-space: nowrap;
}
.nav-link:hover, .nav-link-active { background: rgba(255,255,255,.14); color: #fff; }
.nav-link-active { color: #fff; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { display: flex; align-items: center; gap: 4px; }
.nav-dropdown-toggle i { width: 14px; height: 14px; transition: transform .22s; }
.nav-dropdown.open .nav-dropdown-toggle i { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none; position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--primary-dark); border-radius: 10px;
  min-width: 220px; box-shadow: 0 8px 28px rgba(0,0,0,.28);
  z-index: 200; overflow: hidden;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open  .nav-dropdown-menu { display: block; }
.nav-dropdown-item {
  display: block; padding: 11px 18px;
  font-size: .84rem; font-weight: 600;
  color: rgba(255,255,255,.82);
  transition: var(--t);
}
.nav-dropdown-item:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-dropdown-item-active { background: rgba(255,255,255,.12); color: #fff !important; }

.header .btn-header { margin-left: 8px; white-space: nowrap; }
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 4px; margin-left: auto; background: none; border: none; cursor: pointer;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--t); }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: url('../images/familia-jovem-e-feliz-se-unindo-em-casa-1920w.jpg') center/cover no-repeat;
  padding-top: var(--header-h);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,32,90,.78) 0%, rgba(0,80,180,.60) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; padding-block: 80px;
  max-width: 800px; margin-inline: auto;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900;
  color: #fff; line-height: 1.15; margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255,255,255,.88);
  max-width: 640px; margin-inline: auto; margin-bottom: 36px; line-height: 1.7;
}

/* ── Especialidades cards ──────────────────────────────── */
.especialidades-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; justify-content: center;
}
.especialidade-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px;
  text-align: center; transition: var(--t);
  box-shadow: var(--shadow-sm);
}
.especialidade-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.especialidade-card .card-icon { color: var(--primary); margin-inline: auto; margin-bottom: 20px; width: 40px; height: 40px; }
.especialidade-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.especialidade-card p  { font-size: .875rem; color: var(--text-soft); line-height: 1.6; }

/* ── Sobre nós ─────────────────────────────────────────── */
.sobre-content { max-width: 760px; margin-inline: auto; text-align: center; }
.sobre-content p { font-size: 1rem; color: rgba(255,255,255,.82); line-height: 1.8; margin-bottom: 16px; }
.sobre-cta { margin-top: 36px; }

/* ── Diferenciais ──────────────────────────────────────── */
.diferenciais-content { max-width: 720px; margin-inline: auto; text-align: center; }
.diferenciais-content p { font-size: 1rem; color: rgba(255,255,255,.88); line-height: 1.8; margin-bottom: 14px; }
.diferenciais-destaque { font-size: 1.05rem; font-weight: 600; color: #fff; margin-top: 8px; margin-bottom: 28px !important; }

/* ── Testimonials ──────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.testimonial-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-sm); transition: var(--t);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-quote { color: var(--primary); margin-bottom: 16px; }
.testimonial-quote i { width: 32px; height: 32px; }
.testimonial-card h4 { font-size: .95rem; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.testimonial-card p  { font-size: .875rem; color: var(--text-soft); line-height: 1.7; font-style: italic; }

/* ── Planos (index page cards) ─────────────────────────── */
.planos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.plano-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius); padding: 36px 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: var(--t);
}
.plano-card:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.plano-card h2 { font-size: 1.3rem; font-weight: 800; color: var(--secondary); }
.plano-card h4 { font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.9); }
.plano-card p  { font-size: .875rem; color: rgba(255,255,255,.75); line-height: 1.7; flex: 1; }
.plano-card .btn { align-self: flex-start; margin-top: auto; }

/* ── Plan cards (subpages) ─────────────────────────────── */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.plan-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px;
  transition: var(--t);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.plan-price { color: var(--primary); font-size: 1rem; font-weight: 700; }
.plan-price strong { font-size: 2rem; color: var(--secondary); }
.plan-name { font-size: 1.05rem; font-weight: 800; color: var(--primary); }
.plan-sem-taxa { font-size: .78rem; color: var(--text-soft); font-weight: 600; }
.plan-benefits { margin-top: 4px; }
.plan-benefits p { font-size: .8rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.plan-benefits ul { list-style: disc; padding-left: 18px; }
.plan-benefits li { font-size: .8rem; color: var(--text-soft); line-height: 1.5; margin-bottom: 4px; }
.plan-actions { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.plan-action-link {
  display: block; text-align: center; padding: 10px 16px;
  background: var(--primary); color: #fff;
  border-radius: 50px; font-size: .78rem; font-weight: 700;
  transition: var(--t);
}
.plan-action-link:hover { background: var(--primary-dark); }
.plan-action-pix { background: #00a76f; }
.plan-action-pix:hover { background: #008358; }

/* ── Ambientes ─────────────────────────────────────────── */
.ambientes-text { }
.ambientes-text .section-title { color: var(--primary); }
.ambientes-text .section-title strong { color: var(--dark); }
.ambientes-sub { color: var(--text-soft); font-size: 1rem; margin-bottom: 24px; line-height: 1.7; }
.ambientes-lista { margin-bottom: 36px; }
.ambientes-lista li {
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: .95rem; color: var(--text); font-weight: 500;
}
.ambientes-lista li:last-child { border-bottom: none; }
.ambientes-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; max-height: 480px; }

/* ── Clube de Parcerias ────────────────────────────────── */
.parcerias-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  margin-bottom: 48px;
}
.parceiro {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm); padding: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--t);
}
.parceiro:hover { background: rgba(255,255,255,.16); }
.parceiro img { max-height: 40px; max-width: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.parcerias-cta { text-align: center; }

/* ── Contact CTA ───────────────────────────────────────── */
.contato-box {
  max-width: 680px; margin-inline: auto; text-align: center;
  padding: 64px 48px; background: var(--bg-alt); border-radius: 20px;
  border: 1px solid var(--border);
}
.contato-box h2 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); font-weight: 800; color: var(--dark); margin-bottom: 20px; line-height: 1.3; }
.contato-box p  { font-size: .95rem; color: var(--text-soft); margin-bottom: 12px; line-height: 1.6; }
.contato-box .btn { margin-top: 24px; }

/* ── Footer ────────────────────────────────────────────── */
.footer { background: #060e1e; color: rgba(255,255,255,.7); padding-block: 64px 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.2fr 1fr; gap: 56px; margin-bottom: 48px; }
.footer-logo { height: 48px; width: auto; object-fit: contain; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65); transition: var(--t);
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-social i { width: 18px; height: 18px; }
.footer-info p { font-size: .875rem; margin-bottom: 12px; line-height: 1.5; }
.footer-info strong { color: rgba(255,255,255,.9); }
.footer-info a { color: rgba(255,255,255,.7); }
.footer-info a:hover { color: var(--secondary); }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: .875rem; color: rgba(255,255,255,.65); transition: var(--t); }
.footer-nav a:hover { color: var(--secondary); }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px;
  text-align: center; font-size: .8rem; color: rgba(255,255,255,.4);
}
.footer-copy a { color: rgba(255,255,255,.55); }
.footer-copy a:hover { color: var(--secondary); }

/* ── 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,.3);
  transition: transform .22s;
}
.whatsapp-float a:hover { transform: scale(1.08); }
.whatsapp-float img { width: 100%; height: 100%; object-fit: cover; }

/* ── Subpage hero banner ───────────────────────────────── */
.page-subpage .header { position: sticky; top: 0; }
.page-banner {
  background: var(--primary); padding: 64px 0 56px;
  text-align: center;
}
.page-banner h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; color: #fff; margin-bottom: 12px; }
.page-banner p  { font-size: 1rem; color: rgba(255,255,255,.82); max-width: 600px; margin-inline: auto; line-height: 1.7; }
.page-banner .section-label { margin-bottom: 16px; }

/* ── Benefícios page ───────────────────────────────────── */
.beneficios-content { max-width: 800px; margin-inline: auto; }
.beneficio-section { margin-bottom: 64px; }
.beneficio-section h2 { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.beneficio-section h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 12px; }
.beneficio-section p  { font-size: .95rem; color: var(--text-soft); line-height: 1.75; margin-bottom: 12px; }
.beneficio-section ol { padding-left: 20px; }
.beneficio-section ol li { font-size: .95rem; color: var(--text-soft); line-height: 1.7; margin-bottom: 8px; }
.beneficio-section ul { list-style: disc; padding-left: 20px; }
.beneficio-section ul li { font-size: .95rem; color: var(--text-soft); line-height: 1.7; margin-bottom: 6px; }
.beneficio-box {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; margin-bottom: 32px;
}
.beneficio-box h2 { color: var(--primary); font-size: 1.3rem; margin-bottom: 16px; }
.telemed-image { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); margin-block: 28px; }
.parceiros-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-block: 28px; }
.parceiros-logos .parceiro { background: var(--bg-alt); border: 1px solid var(--border); }
.parceiros-logos .parceiro img { filter: none; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .especialidades-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .parcerias-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-2 .ambientes-img { order: -1; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .planos-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .parceiros-logos { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .section { padding-block: 64px; }
  .container { padding-inline: 20px; }

  /* Nav mobile */
  .nav-menu {
    display: none; position: fixed; inset: var(--header-h) 0 0;
    flex-direction: column; align-items: stretch;
    background: var(--header-bg); padding: 24px 20px;
    overflow-y: auto; gap: 4px; margin-left: 0;
  }
  .nav-menu.open { display: flex; }
  .nav-link { color: var(--text); background: #fff; border-radius: 8px; padding: 12px 16px; }
  .nav-link:hover, .nav-link-active { background: var(--primary-light); color: var(--primary-dark); }
  .menu-toggle { display: flex; }
  .header .btn-header { display: none; }

  /* Dropdown mobile */
  .nav-dropdown { width: 100%; }
  .nav-dropdown-menu { position: static; box-shadow: none; background: var(--primary-light); border-radius: 8px; margin-top: 4px; min-width: auto; }
  .nav-dropdown-item { color: var(--primary-dark); padding: 10px 16px; font-size: .84rem; }
  .nav-dropdown-item:hover { background: rgba(0,107,220,.1); }

  .especialidades-grid { grid-template-columns: 1fr; }
  .parcerias-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contato-box { padding: 40px 24px; }
  .hero-content { padding-block: 60px; }

  .plans-grid { grid-template-columns: 1fr; }
}
