/* ═══════════════════════════════════════════════════════════
   CARTÃO ATIVAMAX SAÚDE — Landing Page
   Paleta: #0f5365 (teal/primary) · #d9b000 (gold/secondary)
   Fonte: Montserrat + Poppins (local _shared/fonts)
═══════════════════════════════════════════════════════════ */

/* ── Font faces ─────────────────────────────────────────── */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../../_shared/fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../_shared/fonts/pxiEyp8kv8JHgFVrJJfecg.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../../_shared/fonts/pxiGyp8kv8JHgFVrJJLucHtA.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../../_shared/fonts/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2') format('woff2');
}

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  /* Brand: #0f5365 teal | #d9b000 gold | #35403a dark-green */
  --primary:       #0f5365;
  --primary-dark:  #093c4b;
  --primary-light: rgba(15,83,101,.12);
  --secondary:     #d9b000;
  --secondary-dark:#b89800;
  --accent:        #35403a;
  --header-bg:     #0f5365;

  --dark:          #111827;
  --text:          #374151;
  --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);
  --shadow-md:     0 4px 20px rgba(0,0,0,.1);
  --shadow-lg:     0 20px 60px rgba(0,0,0,.15);
  --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: 88px; background: var(--bg); }
.section-alt   { background: var(--bg-alt); }
.section-dark  { background: var(--primary); }
.section-plans { background: var(--primary-dark); }

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: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.22;
  margin-bottom: 12px;
}
.section-subtitle { font-size: .97rem; color: var(--text-soft); max-width: 600px; margin-inline: auto; line-height: 1.75; }

/* Dark variants */
.section-label-dark {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-title-dark   { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: #fff; line-height: 1.22; margin-bottom: 12px; }
.section-subtitle-dark{ font-size: .97rem; color: rgba(255,255,255,.72); max-width: 600px; margin-inline: auto; line-height: 1.75; }

/* ── Scroll animation ──────────────────────────────────── */
.animate-in {
  opacity: 0;
  transform: translateY(26px);
  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(15,83,101,.3);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,83,101,.35); }

.btn-gold {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(217,176,0,.35);
}
.btn-gold:hover { background: var(--secondary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217,176,0,.4); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.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-sm { padding: 11px 22px; font-size: .84rem; }

.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); }

/* ── HEADER ─────────────────────────────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: var(--header-bg);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.2); }

/* page-home: fixed header over hero; page-subpage: sticky header */
.page-home  .header { position: fixed; inset: 0 0 auto; }
.page-subpage .header { position: sticky; top: 0; }
.page-subpage .header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.2); }

.nav { display: flex; align-items: center; height: var(--header-h); gap: 0; }
.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: 16px; }
.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); }

/* 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;
  padding-top: var(--header-h);
  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: rgba(15,83,101,.82);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 80px;
  width: 100%;
  text-align: center;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -.02em;
  max-width: 760px;
  margin-inline: auto;
}
.hero-subtitle {
  font-size: 1.06rem;
  color: rgba(255,255,255,.88);
  line-height: 1.72;
  margin-bottom: 8px;
  max-width: 640px;
  margin-inline: auto;
}
.hero-subtitle-2 {
  font-size: 1.02rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 36px;
  max-width: 600px;
  margin-inline: auto;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── SOBRE NÓS ───────────────────────────────────────────── */
.sobre-dark {
  background: var(--primary);
  padding-block: 88px;
}
.sobre-image-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.28);
  aspect-ratio: 4/3;
}
.sobre-image-card img { width: 100%; height: 100%; object-fit: cover; }

.sobre-text-dark { color: rgba(255,255,255,.88); }

.sobre-label {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.sobre-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
}
.sobre-lead {
  font-size: 1rem;
  color: rgba(255,255,255,.88);
  line-height: 1.7;
  margin-bottom: 14px;
  font-weight: 600;
}
.sobre-body { font-size: .95rem; color: rgba(255,255,255,.78); line-height: 1.75; margin-bottom: 10px; }

/* ── VANTAGENS ───────────────────────────────────────────── */
.vantagens-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-block: 32px;
  max-width: 800px;
  margin-inline: auto;
}
.vantagem-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  padding: 18px;
}
.vantagem-icon {
  width: 38px;
  height: 38px;
  background: var(--secondary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vantagem-icon i { width: 20px; height: 20px; color: #fff; }
.vantagem-text strong { display: block; font-size: .92rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.vantagem-text span { font-size: .84rem; color: rgba(255,255,255,.72); line-height: 1.55; }

/* ── TELEMEDICINA ────────────────────────────────────────── */
.tele-subtitle {
  font-size: .88rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tele-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
}
.tele-col li {
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  padding: 6px 0 6px 16px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.08);
  line-height: 1.45;
}
.tele-col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}
.tele-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tele-images img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
}

/* ── PLANOS ──────────────────────────────────────────────── */
.plans-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
}

.plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--t);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.plan-header {
  padding: 24px 22px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.plan-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--secondary-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.plan-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.plan-price span { font-size: .95rem; font-weight: 600; color: var(--text-soft); }
.plan-billing { font-size: .8rem; color: var(--text-soft); margin-top: 4px; }
.plan-adesao { font-size: .82rem; color: var(--text-soft); margin-top: 6px; }
.plan-adesao strong { color: var(--text); font-weight: 700; }

.plan-body { padding: 20px 22px; flex: 1; }
.plan-benefits-title { font-size: .8rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 12px; }

.plan-features { display: flex; flex-direction: column; gap: 0; }
.plan-features li {
  font-size: .84rem;
  color: var(--text);
  padding: 8px 0 8px 18px;
  position: relative;
  border-bottom: 1px solid var(--bg-alt);
  line-height: 1.5;
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--secondary);
}
.plan-features li strong { font-weight: 700; color: var(--primary-dark); }
.plan-features li em { font-style: italic; color: var(--text-soft); }

.plan-footer {
  padding: 16px 22px 22px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.btn-contratar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  transition: var(--t);
  box-shadow: 0 4px 14px rgba(15,83,101,.25);
}
.btn-contratar:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15,83,101,.3); }

/* ── INOVAR ABA ──────────────────────────────────────────── */
.inovar-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: 12px;
}
.inovar-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--primary); line-height: 1.22; margin-bottom: 14px; }
.inovar-body { font-size: .95rem; color: var(--text-soft); line-height: 1.76; margin-bottom: 10px; }
.inovar-lead { font-size: .97rem; font-weight: 600; color: var(--primary); line-height: 1.65; margin-block: 14px; }

.inovar-checks { display: flex; flex-direction: column; gap: 10px; margin-block: 22px; }
.inovar-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: var(--text);
  line-height: 1.55;
}
.inovar-check-icon {
  width: 24px;
  height: 24px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.inovar-check-icon i { width: 13px; height: 13px; color: #fff; }

.inovar-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.inovar-img-main {
  grid-column: 1 / -1;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.inovar-img-main img { width: 100%; height: 100%; object-fit: cover; }
.inovar-img-sm {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.inovar-img-sm img { width: 100%; height: 100%; object-fit: cover; }

/* ── CLUBE DE PARCERIAS ──────────────────────────────────── */
.parcerias-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-block: 36px;
}
.parceria-item {
  background: rgba(255,255,255,.95);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3/2;
  transition: var(--t);
}
.parceria-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.parceria-item img { max-height: 40px; width: auto; object-fit: contain; }

/* ── CONTATO / CTA ───────────────────────────────────────── */
.contato-title { font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 800; color: var(--primary); line-height: 1.3; margin-bottom: 14px; max-width: 700px; margin-inline: auto; }
.contato-sub { font-size: .97rem; color: var(--text-soft); margin-bottom: 10px; }
.contato-sub2 { font-size: .95rem; color: var(--text); margin-bottom: 28px; }
.contato-sub2 strong { color: var(--primary); }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.85);
  padding-block: 52px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 52px; width: auto; }
.footer-tagline { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.65; }

.footer-socials { display: flex; gap: 12px; margin-top: 18px; }
.footer-social {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--t);
}
.footer-social:hover { background: var(--secondary); }
.footer-social i { width: 17px; height: 17px; color: #fff; }

.footer-heading { font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.9); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 16px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 12px;
  line-height: 1.55;
}
.footer-contact li i { width: 15px; height: 15px; color: var(--secondary); flex-shrink: 0; margin-top: 2px; }

.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: .88rem; color: rgba(255,255,255,.68); transition: var(--t); }
.footer-nav a:hover { color: var(--secondary); }

.footer-bottom {
  text-align: center;
  padding-top: 22px;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--secondary); }

/* ── WHATSAPP FLOAT ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}
.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: var(--t);
}
.whatsapp-float a:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.whatsapp-float img { width: 100%; height: 100%; object-fit: cover; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .plans-grid-4 { grid-template-columns: 1fr 1fr; }
  .parcerias-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .section { padding-block: 60px; }
  .sobre-dark { padding-block: 60px; }

  .header { height: 62px; --header-h: 62px; }
  .nav-menu { display: none; position: fixed; inset: 62px 0 auto; background: var(--header-bg); flex-direction: column; gap: 0; padding: 12px 0 20px; margin: 0; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
  .nav-menu.open { display: flex; }
  .nav-link { width: 100%; padding: 12px 24px; border-radius: 0; color: var(--text); font-size: .95rem; background: #fff; }
  .nav-link:hover { background: var(--bg-alt); color: var(--primary-dark); }
  .btn-header { display: none; }
  .menu-toggle { display: flex; }

  .hero-title { font-size: 1.9rem; }
  .hero-subtitle { font-size: .94rem; }

  .grid-2 { grid-template-columns: 1fr; gap: 36px; }

  .vantagens-list { grid-template-columns: 1fr; }

  .tele-cols { grid-template-columns: 1fr; }
  .tele-images { grid-template-columns: 1fr 1fr; }

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

  .inovar-images { grid-template-columns: 1fr; }
  .inovar-img-main { aspect-ratio: 4/3; }

  .parcerias-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
