@import url('fonts.css');

/* ═══════════════════════════════════════════════════════════
   BANDEIRANTES BENEFÍCIOS
   Montserrat · Header #00cdcf (cyan) · Primary #007c7d (teal)
   --primary    #007c7d   CTA buttons, accents
   --secondary  #00cdcf   header bg, price numbers
   --header-bg  #00cdcf   matches Header bg
═══════════════════════════════════════════════════════════ */

:root {
  --primary:       #007c7d;
  --primary-dark:  #005a5b;
  --primary-light: #e0f5f5;
  --secondary:     #00cdcf;
  --header-bg:     #00cdcf;
  --gold:          #ffb900;
  --dark:          #111827;
  --text:          #383838;
  --text-soft:     #6B7280;
  --bg:            #FFFFFF;
  --bg-alt:        #F4FCFC;
  --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: '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: 80px; background: var(--bg); }
.section-alt { background: var(--bg-alt); }

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-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: 'Montserrat', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  transition: var(--t);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn i { width: 17px; height: 17px; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,124,125,.3);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,124,125,.35); }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-hero-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }

.btn-header {
  background: #fff;
  color: var(--header-bg);
  font-size: .82rem;
  padding: 10px 20px;
}
.btn-header:hover { background: rgba(255,255,255,.88); transform: translateY(-1px); }

.btn-plan { width: 100%; justify-content: center; }

/* ── Header + Nav ─────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  height: var(--header-h);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
  transition: background .28s ease;
}
.page-home .header { position: fixed; inset: 0 0 auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 48px; width: auto; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-menu li { list-style: none; }

.nav-link {
  display: block;
  padding: 8px 14px;
  font-size: .88rem;
  font-weight: 600;
  color: #fff;
  border-radius: var(--radius-sm);
  transition: var(--t);
}
.nav-link:hover { background: rgba(255,255,255,.18); }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.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: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 124, 125, 0.8);
}
.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;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.88);
  margin-bottom: 36px;
  line-height: 1.6;
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Plans Grid ─────────────────────────────────────────── */
.plans-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.plan-card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 0 0 calc(33.333% - 16px);
  max-width: 360px;
  min-width: 260px;
  transition: transform .28s ease, box-shadow .28s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* Plan header */
.plan-header {
  background: var(--primary);
  padding: 28px 24px 20px;
  text-align: center;
  color: #fff;
}
.plan-header-gold { background: linear-gradient(135deg, var(--primary) 0%, #005a5b 100%); }

.plan-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 2px;
}
.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.plan-from {
  font-size: .78rem;
  font-weight: 600;
  opacity: .8;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.plan-price-block {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  margin-bottom: 8px;
}
.plan-currency { font-size: 1.1rem; font-weight: 700; color: rgba(255,255,255,.85); align-self: flex-start; padding-top: 6px; }
.plan-amount   { font-size: 3rem; font-weight: 800; color: var(--secondary); line-height: 1; }
.plan-period   { font-size: 1rem; font-weight: 600; color: rgba(255,255,255,.85); align-self: flex-end; padding-bottom: 4px; }

.plan-billing  { font-size: .78rem; color: rgba(255,255,255,.72); margin-bottom: 4px; }
.plan-adhesion { font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.9); }

/* Plan body */
.plan-body {
  padding: 20px 20px 0;
  flex: 1;
}
.plan-benefits-title {
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.plan-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .875rem;
  color: var(--text);
  line-height: 1.5;
}
.plan-benefits li { padding-left: 18px; position: relative; }
.plan-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: .8rem;
}
.plan-sub-list {
  list-style: none;
  margin-top: 4px;
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.plan-sub-list li { padding-left: 12px; font-size: .84rem; color: var(--text-soft); }
.plan-sub-list li::before { content: '›'; font-weight: 700; left: 0; color: var(--secondary); }

/* E muito mais */
.plan-more {
  margin-top: 12px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}
.plan-more summary {
  font-size: .82rem;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
  padding: 4px 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.plan-more summary::after { content: ' ▸'; font-size: .7rem; }
.plan-more[open] summary::after { content: ' ▾'; }
.plan-extra { margin-top: 8px; }

/* Plan actions */
.plan-actions {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-action-link {
  display: block;
  text-align: center;
  padding: 11px 16px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  border: 2px solid var(--primary);
  transition: var(--t);
}
.plan-action-link:hover { background: var(--primary); color: #fff; }
.plan-action-pix { background: var(--primary); color: #fff; border-color: var(--primary-dark); }
.plan-action-pix:hover { background: var(--primary-dark); }

/* Empresarial plan form */
.plan-empresarial-actions { padding-top: 12px; }

.empresarial-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.empresarial-form label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
}
.empresarial-form select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23007c7d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.empresarial-form select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,124,125,.15); }
.empresarial-form select:hover { border-color: var(--secondary); }

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--primary-dark);
  padding-block: 56px 24px;
  color: rgba(255,255,255,.85);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
  align-items: start;
}
.footer-logo { max-height: 56px; width: auto; }

.footer-contact-title {
  font-weight: 700;
  font-size: .88rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.footer-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  color: #fff;
  margin-bottom: 6px;
}
.footer-phone i { width: 15px; height: 15px; color: var(--secondary); }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-link {
  font-size: .88rem;
  color: rgba(255,255,255,.72);
  transition: color .2s ease;
}
.footer-link:hover { color: var(--secondary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: var(--secondary); }
.footer-bottom a:hover { text-decoration: underline; }

/* ── 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 12px rgba(0,0,0,.3);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float a:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.whatsapp-float img { width: 100%; height: 100%; object-fit: cover; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .plan-card { flex: 0 0 calc(50% - 12px); max-width: none; }
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .container { padding-inline: 16px; }

  .header { height: 60px; }

  .btn-header { display: none; }

  .menu-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--header-bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-link { color: var(--text); padding: 12px 8px; border-radius: var(--radius-sm); }
  .nav-link:hover { background: rgba(0,0,0,.06); }

  .hero { min-height: 520px; }
  .hero-title { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .section { padding-block: 56px; }

  .plan-card { flex: 0 0 100%; max-width: none; }

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