/* ═══════════════════════════════════════════════════════════
   CLUBE DE BENEFÍCIOS BIOLAB
   Poppins · Vermelho #a6180e · Header dark red #761812
   color_1 #d8d167 (yellow) · color_2 #a6180e (red accent)
   color_7 #761812 (header bg/dark red)
═══════════════════════════════════════════════════════════ */

@import url('fonts.css');

:root {
  --primary:      #a6180e;
  --primary-dark: #761812;
  --primary-light:#fdf0ef;
  --header-bg:    #761812;
  --secondary:    #d8d167;
  --accent:       #ff8400;
  --dark:         #111827;
  --dark-2:       #1f2937;
  --text:         #383838;
  --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);
  --shadow-primary: 0 8px 32px rgba(166,24,14,.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[id]  { scroll-margin-top: calc(var(--header-h) + 8px); }

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

/* 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-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: '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(166,24,14,.3);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(166,24,14,.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); box-shadow: 0 4px 16px rgba(0,0,0,.15); }

.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); box-shadow: 0 10px 32px rgba(37,211,102,.5); }

.btn-plan {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  border: 2px solid var(--primary);
  color: var(--primary);
  margin-top: auto;
  transition: var(--t);
}
.btn-plan i { width: 15px; height: 15px; }
.btn-plan:hover { background: var(--primary); color: #fff; }

/* ── 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; }
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.3); }

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

.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;
  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: linear-gradient(105deg, rgba(60,5,5,.85) 0%, rgba(60,5,5,.65) 50%, rgba(60,5,5,.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.15;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

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

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

/* ── SOBRE ───────────────────────────────────────────────── */
.sobre-inner { max-width: 780px; }
.sobre-text p { color: var(--text-soft); margin-bottom: 14px; line-height: 1.78; font-size: .97rem; }
.sobre-text p:last-child { margin-bottom: 0; color: var(--dark); }
.sobre-btn { margin-top: 28px; }

/* ── ESPECIALIDADES ─────────────────────────────────────── */
.especialidades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.especialidade-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--t);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.especialidade-card:hover { border-top-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }

.especialidade-icon { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; }
.especialidade-icon img { width: 100%; height: 100%; object-fit: contain; }

.especialidade-card h3 { font-size: .95rem; font-weight: 700; color: var(--dark); line-height: 1.3; }
.especialidade-card p  { font-size: .84rem; color: var(--text-soft); line-height: 1.65; }

/* ── VANTAGENS ───────────────────────────────────────────── */
.vantagens-image img { width: 100%; border-radius: var(--radius); object-fit: cover; filter: drop-shadow(0 20px 60px rgba(0,0,0,.12)); }

.vantagens-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.vantagens-list li { display: flex; align-items: flex-start; gap: 14px; }

.vantagem-check { flex-shrink: 0; width: 22px; height: 22px; color: var(--primary); margin-top: 2px; stroke-width: 2; }

.vantagens-list li strong { display: block; font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.vantagens-list li p { font-size: .85rem; color: var(--text-soft); }

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

.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:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.plan-header {
  padding: 28px 24px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.plan-name-label {
  font-size: .7rem;
  font-weight: 700;
  color: var(--text-lighter);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 6px;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
}

.plan-tagline { font-size: .78rem; 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(--primary); font-family: 'Montserrat', sans-serif; line-height: 1; letter-spacing: -.03em; }
.price-period { font-size: .82rem; font-weight: 600; color: var(--text-soft); margin-left: 2px; }

.plan-benefits-label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 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: .84rem;
  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-benefits li strong { color: var(--dark); font-weight: 700; }

.plan-disclaimer {
  font-size: .74rem;
  color: var(--text-lighter);
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ── PARCERIAS ───────────────────────────────────────────── */
.parcerias-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 44px;
}

.parceiro-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3/2;
  transition: var(--t);
}
.parceiro-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.parceiro-item img { max-height: 48px; width: auto; object-fit: contain; }

.parcerias-cta { text-align: center; }

/* ── CTA FINAL ───────────────────────────────────────────── */
.cta-final { border-top: 1px solid var(--border); }

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 620px;
  margin-inline: auto;
}

.cta-icon-wrap {
  width: 64px; height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.cta-icon-wrap i { width: 28px; height: 28px; color: var(--primary); }

.cta-inner h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; color: var(--dark); line-height: 1.25; }
.cta-inner p  { font-size: .97rem; color: var(--text-soft); }
.cta-inner strong { color: var(--dark); }

/* ── 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: 80px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .85rem; line-height: 1.65; margin-bottom: 18px; }

.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; transition: var(--t);
}
.footer-social a i { width: 17px; height: 17px; }
.footer-social a:hover { background: var(--primary); }

.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: center; gap: 8px; font-size: .85rem; margin-bottom: 10px; }
.footer-contato i { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }
.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); }

/* ── RESPONSIVE — TABLET (≤ 960px) ─────────────────────── */
@media (max-width: 960px) {
  .hero-content { padding-block: 60px; }
  .hero-text-inner { max-width: 100%; }
  .hero-overlay { background: linear-gradient(160deg, rgba(60,5,5,.88) 0%, rgba(60,5,5,.65) 60%, rgba(60,5,5,.25) 100%); }

  .grid-2 { grid-template-columns: 1fr; gap: 44px; }
  .vantagens-content { order: 2; text-align: center; }
  .vantagens-image { order: 1; max-width: 480px; margin-inline: auto; }
  .vantagens-list li { align-items: flex-start; }
  .vantagens-content .btn { display: inline-flex; }
  .vantagens-content .section-title,
  .vantagens-content .section-subtitle { text-align: center !important; margin-inline: auto !important; }

  .especialidades-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .parcerias-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

/* ── RESPONSIVE — MOBILE (≤ 640px) ─────────────────────── */
@media (max-width: 640px) {
  .section { padding-block: 60px; }

  /* Header */
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 12px 0 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-link { display: block; padding: 12px 28px; border-radius: 0; font-size: .95rem; color: var(--text); }
  .nav-link:hover { background: var(--primary-light); color: var(--primary-dark); }
  .btn-header { display: none; }
  .menu-toggle { display: flex; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero-content { padding-block: 48px; }
  .hero-title { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-overlay { background: linear-gradient(160deg, rgba(60,5,5,.9) 0%, rgba(60,5,5,.75) 70%, rgba(60,5,5,.35) 100%); }

  /* Sections */
  .especialidades-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
  .parcerias-grid { grid-template-columns: repeat(3, 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; }
}
