/* ═══════════════════════════════════════════════════════════
   Saúde Plus+ — css/main.css
   Inter · #074689 · #21252B · gerado por rewrite-website
═══════════════════════════════════════════════════════════ */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../../_shared/fonts/UcC53FwrK3iLTeWgXtc4E_FqZFGAdOqAug.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../../_shared/fonts/UcC53FwrK3iLTcvneQg7Ca725JhhKnNqk6L0UUMJng.woff2) format('woff2'); }

:root {
  /* ── Saúde Plus+ ─────────────────────────────────────── */
  /* dark #21252B · blue #074689                           */
  --primary:        #074689;
  --primary-dark:   #053468;
  --primary-light:  #e0ebf8;
  --secondary:      #074689;
  --header-bg:      #21252B;
  --shadow-primary: 0 8px 32px rgba(7,70,137,.2);

  /* ── Neutros ─────────────────────────────────────────── */
  --dark:         #111827;
  --dark-2:       #1f2937;
  --text:         #111827;
  --text-soft:    #6B7280;
  --text-lighter: #9CA3AF;
  --bg:           #FFFFFF;
  --bg-alt:       #F9FAFB;
  --border:       #E5E7EB;

  /* ── Tokens ──────────────────────────────────────────── */
  --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: 'Inter', 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[id]  { scroll-margin-top: calc(var(--header-h) + 8px); }
.grid-2         { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.grid-2-reverse { grid-template-columns: 1fr 1.1fr; }

/* ── Section headers ─────────────────────────────────────── */
.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-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: .98rem; color: var(--text-soft); max-width: 580px; 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: 'Inter', 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(0,0,0,.18); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.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); }

/* ── Header ──────────────────────────────────────────────── */
.header            { position: sticky; top: 0; z-index: 1000; height: var(--header-h); background: var(--header-bg); transition: box-shadow .3s; }
.page-home .header { position: fixed; inset: 0 0 auto; }
.hero              { padding-top: var(--header-h); }
.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; object-fit: contain; }
.nav-menu { display: flex; align-items: center; gap: 4px; margin-right: 20px; }
.nav-link { font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.85); padding: 6px 12px; border-radius: 7px; transition: var(--t); }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.15); }
.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; }
.hero-overlay    { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,3,3,.85) 0%, rgba(10,3,3,.68) 50%, rgba(10,3,3,.3) 100%); }
.hero-content    { position: relative; z-index: 1; padding-block: 80px; }
.hero-text-inner { max-width: 620px; }
.hero-title      { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.1; color: #fff; margin-bottom: 20px; letter-spacing: -.02em; }
.hero-title em   { font-style: normal; color: #5aadff; }
.hero-subtitle   { font-size: 1.02rem; color: rgba(255,255,255,.82); line-height: 1.72; margin-bottom: 32px; }
.hero-actions    { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Especialidades ──────────────────────────────────────── */
.especialidades-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.espec-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); }
.espec-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.espec-card i { width: 32px; height: 32px; color: var(--primary); margin-inline: auto; margin-bottom: 16px; }
.espec-card h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.espec-card p { font-size: .84rem; color: var(--text-soft); line-height: 1.65; }

/* ── Benefícios compare ──────────────────────────────────── */
.beneficios-list { display: flex; flex-direction: column; gap: 16px; }
.beneficios-list li { display: flex; align-items: flex-start; gap: 12px; }
.beneficios-list li i { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.beneficios-list li div { display: flex; flex-direction: column; gap: 2px; }
.beneficios-list li strong { font-size: .9rem; color: var(--dark); }
.badge-desconto { font-size: .78rem; color: var(--primary); font-weight: 600; }

/* ── Plan cards ──────────────────────────────────────────── */
.plan-single { max-width: 540px; margin-inline: auto; }
.plan-card   { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: var(--bg); box-shadow: var(--shadow-sm); transition: var(--t); }
.plan-card.destaque { border-color: var(--primary); box-shadow: var(--shadow-primary); }
.plan-header  { padding: 28px 24px 16px; border-bottom: 1px solid var(--border); }
.plan-card.destaque .plan-header { background: var(--primary-light); }
.plan-name    { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.plan-tagline { font-size: .82rem; color: var(--text-soft); }
.plan-body    { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.plan-price   { display: flex; align-items: baseline; gap: 2px; margin-bottom: 4px; }
.price-prefix { font-size: .95rem; font-weight: 700; color: var(--dark); }
.price-value  { font-size: 2.8rem; font-weight: 900; color: var(--dark); line-height: 1; letter-spacing: -.03em; }
.price-period { font-size: .82rem; font-weight: 600; color: var(--text-soft); margin-left: 2px; }
.plan-card.destaque .price-value, .plan-card.destaque .price-prefix { color: var(--primary); }
.plan-payment-label { font-size: .75rem; color: var(--text-lighter); margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.plan-benefits { display: flex; flex-direction: column; gap: 9px; flex: 1; margin-bottom: 20px; }
.plan-benefits li { display: flex; align-items: flex-start; gap: 9px; font-size: .85rem; color: var(--text-soft); line-height: 1.5; }
.plan-benefits li i { flex-shrink: 0; width: 16px; height: 16px; color: var(--primary); stroke-width: 2.5; margin-top: 1px; }
.plan-actions      { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--border); }
.plan-action-link  { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--border); font-size: .85rem; font-weight: 600; color: var(--dark); transition: var(--t); }
.plan-action-link:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.plan-action-link i { width: 14px; height: 14px; }
.plan-action-pix   { background: var(--primary); color: #fff; border-color: var(--primary); }
.plan-action-pix:hover { background: var(--primary-dark); color: #fff; }
.plans-disclaimer { font-size: .75rem; color: var(--text-lighter); font-style: italic; text-align: center; margin-top: 12px; }

/* ── Footer ──────────────────────────────────────────────── */
.footer         { background: var(--dark); color: rgba(255,255,255,.65); }
.footer-content { display: grid; grid-template-columns: 2fr 1.5fr 1fr; gap: 52px; padding-block: 64px; }
.footer-logo    { height: 52px; width: auto; margin-bottom: 14px; object-fit: contain; }
.footer-brand p { font-size: .85rem; line-height: 1.65; margin-bottom: 18px; }
.footer-contato h4, .footer-nav h4 { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-contato p   { display: flex; align-items: flex-start; gap: 8px; font-size: .85rem; margin-bottom: 10px; }
.footer-contato i   { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.footer-contato a:hover { color: #fff; }
.footer-nav ul  { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a   { font-size: .85rem; transition: var(--t); }
.footer-nav a:hover { color: #fff; padding-left: 6px; }
.footer-bottom  { border-top: 1px solid rgba(255,255,255,.08); padding-block: 20px; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-credit  { color: rgba(255,255,255,.35) !important; }
.footer-credit strong { color: rgba(255,255,255,.55); }

/* ── WhatsApp Float ──────────────────────────────────────── */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 4px 22px rgba(37,211,102,.55); z-index: 999; transition: var(--t); }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.65); }

/* ══ RESPONSIVO ═════════════════════════════════════════════ */
@media (max-width: 960px) {
  .grid-2, .grid-2-reverse { grid-template-columns: 1fr; gap: 44px; }
  .especialidades-grid { grid-template-columns: 1fr 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding-block: 60px; }
  .nav-menu { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--header-bg); flex-direction: column; gap: 0; padding: 12px 0 20px; border-bottom: 1px solid rgba(255,255,255,.1); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-link { display: block; padding: 12px 28px; border-radius: 0; font-size: .95rem; }
  .nav-link:hover { background: rgba(255,255,255,.1); }
  .btn-header { display: none; }
  .menu-toggle { display: flex; }
  .hero { min-height: 100svh; }
  .hero-title { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .especialidades-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
}
