/* ═══════════════════════════════════════════════════════════
   ATENDMED CARD — Landing Page
   Fontes: Montserrat (títulos) · Poppins (corpo)
   Paleta:
     --primary   #30ACA9  teal  (color_1)
     --secondary #1667AA  azul  (color_2)
     --accent    #FF8400  laranja (color_3)
     --header-bg #0044A3  azul escuro (color_7)
═══════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../../_shared/fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../../_shared/fonts/pxiEyp8kv8JHgFVrJJfecg.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../../_shared/fonts/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Variables ─────────────────────────────────────────── */
:root {
  --primary:      #30ACA9;
  --primary-dark: #22918e;
  --primary-light:#e6f7f7;
  --secondary:    #1667AA;
  --accent:       #FF8400;
  --header-bg:    #0044A3;
  --dark:         #111827;
  --dark-2:       #1f2937;
  --text:         #383838;
  --text-soft:    #5a6472;
  --bg:           #FFFFFF;
  --bg-alt:       #f5f9ff;
  --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: '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); }

/* ── 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(48,172,169,.3);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(48,172,169,.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); }

.btn-hero-ghost {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  backdrop-filter: blur(4px);
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.25); border-color: #fff; transform: translateY(-2px); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  transition: var(--t);
}
.btn-whatsapp:hover { background: #128c7e; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(37,211,102,.4); }

/* ── Section header ────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }

.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Montserrat', sans-serif;
  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;
}
.section-subtitle-left {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 16px;
  font-weight: 500;
}

/* ── HEADER ────────────────────────────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: transparent;
  transition: background .3s, box-shadow .3s;
}
.header.scrolled,
.page-subpage .header {
  background: var(--header-bg);
  box-shadow: 0 2px 20px rgba(0,0,0,.18);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
.nav-logo { display: flex; align-items: center; margin-right: auto; }
.nav-logo img { height: 40px; width: auto; }
.nav-menu { display: flex; gap: 4px; align-items: center; }
.nav-link {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  transition: var(--t);
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.12); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--t);
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,68,163,.82) 0%, rgba(48,172,169,.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 80px;
}
.hero-text-inner { max-width: 680px; }
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.9);
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── SOBRE NÓS ──────────────────────────────────────────── */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.sobre-text .section-title { text-align: left; }
.sobre-text .section-label { margin-bottom: 12px; }
.sobre-body {
  font-size: 1rem;
  color: var(--text-soft);
  margin-bottom: 28px;
  line-height: 1.75;
}
.sobre-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

/* ── ESPECIALIDADES ─────────────────────────────────────── */
.espec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.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); }
.espec-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary);
}
.espec-icon i { width: 28px; height: 28px; }
.espec-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.35;
}
.espec-card p { font-size: .9rem; color: var(--text-soft); line-height: 1.65; }

/* ── VANTAGENS ──────────────────────────────────────────── */
.vantagens-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 900px;
  margin-inline: auto;
}
.vantagens-list { display: flex; flex-direction: column; gap: 16px; }
.vantagens-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}
.vantagens-list i { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
.vantagens-cta p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

/* ── VÍDEO ──────────────────────────────────────────────── */
.video-section .section-title { margin-bottom: 8px; }
.video-wrapper { max-width: 800px; margin-inline: auto; }
.institutional-video {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  background: #000;
}

/* ── PLANOS ─────────────────────────────────────────────── */
.plans-group-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--header-bg);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.plans-group-note {
  font-size: .85rem;
  color: var(--text-soft);
  text-align: center;
  margin-bottom: 32px;
  font-style: italic;
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.plan-card {
  background: var(--bg);
  border: 2px 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 { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.plan-featured {
  border-color: var(--primary);
  box-shadow: 0 4px 24px rgba(48,172,169,.18);
}
.plan-featured:hover { box-shadow: 0 8px 36px rgba(48,172,169,.28); }

.plan-header {
  background: var(--header-bg);
  color: #fff;
  padding: 28px 28px 20px;
  text-align: center;
}
.plan-featured .plan-header { background: var(--primary); }
.plan-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: .02em;
}
.plan-price { display: flex; align-items: baseline; justify-content: center; gap: 4px; margin-bottom: 8px; }
.plan-amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
}
.plan-period { font-size: .95rem; opacity: .8; }
.plan-note { font-size: .78rem; opacity: .75; }

.plan-body { padding: 24px 28px; flex: 1; }
.plan-benefits-title {
  font-weight: 700;
  font-size: .88rem;
  color: var(--dark);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.plan-features { display: flex; flex-direction: column; gap: 10px; }
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-soft);
  line-height: 1.5;
}
.plan-features i { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }

.plan-actions {
  padding: 0 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-action-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  font-size: .82rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--t);
  text-align: left;
}
.plan-action-link i { width: 15px; height: 15px; flex-shrink: 0; color: var(--secondary); }
.plan-action-link:hover { border-color: var(--primary); color: var(--primary-dark); background: var(--primary-light); }
.plan-action-pix { border-color: var(--accent); color: var(--accent); }
.plan-action-pix i { color: var(--accent); }
.plan-action-pix:hover { background: #fff8f0; border-color: #e07000; color: #e07000; }

/* ── PARCEIROS ──────────────────────────────────────────── */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.partner-logo {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
}
.partner-logo:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.partner-logo img { max-height: 48px; width: auto; object-fit: contain; }
.partners-cta { text-align: center; }

/* ── CTA SECTION ────────────────────────────────────────── */
.cta-section { background: var(--header-bg); }
.cta-inner {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}
.cta-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.3;
}
.cta-body {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 1.75;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding-block: 48px 28px;
  color: rgba(255,255,255,.75);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 36px;
}
.footer-brand img { opacity: .9; }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
}
.footer-contact i { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.85); }
.footer-contact a:hover { color: var(--primary); }
.footer-social {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  transition: var(--t);
}
.footer-social a:hover { color: #fff; border-color: var(--primary); background: var(--primary); }
.footer-social i { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

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

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .espec-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .section { padding-block: 64px; }
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre-img { height: 280px; }
  .vantagens-grid { grid-template-columns: 1fr; gap: 32px; }
  .plans-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-social { justify-content: flex-start; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--header-bg);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-link { color: rgba(255,255,255,.88); width: 100%; }
  .btn-header { display: none; }
  .menu-toggle { display: flex; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  .espec-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-group-label { font-size: 1rem; }
}
