/* ═══════════════════════════════════════════════════════════
   Nova Saúde Integrativa RENOVA — css/main.css
   Inter · #3FD4D2 · gerado por rewrite-website
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  /* ── Marca ─────────────────────────────────────────────── */
  --primary:        #3FD4D2;
  --primary-dark:   #29A8A6;
  --primary-light:  #e6f8f8;
  --secondary:      #71ACE8;
  --header-bg:      #21252B;
  --shadow-primary: 0 8px 32px rgba(63,212,210,.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; }
.section-label-dark    { display: inline-block; background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; }
.section-title-dark    { font-size: clamp(1.65rem, 3vw, 2.2rem); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 14px; }
.section-subtitle-dark { font-size: .98rem; color: rgba(255,255,255,.65); 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-outline { background: transparent; color: var(--dark); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.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-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: 'Inter', 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-hero-ghost { 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; background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.45); color: #fff; backdrop-filter: blur(6px); transition: var(--t); white-space: nowrap; }
.btn-hero-ghost i { width: 17px; height: 17px; }
.btn-hero-ghost:hover { background: rgba(255,255,255,.22); border-color: #fff; }
.btn-plan { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; border-radius: 50px; font-family: 'Inter', sans-serif; font-size: .88rem; font-weight: 700; border: 2px solid var(--border); color: var(--dark); margin-top: auto; transition: var(--t); }
.btn-plan i { width: 15px; height: 15px; }
.btn-plan:hover { border-color: var(--primary); color: var(--primary); }
.btn-plan-destaque { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.btn-plan-destaque:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-2px); }

/* ── 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: 38px; 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); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: var(--primary-dark); border-radius: 8px; min-width: 220px; box-shadow: 0 8px 28px rgba(0,0,0,.28); z-index: 200; overflow: hidden; }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-item { display: block; padding: 11px 18px; font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.82); }
.nav-dropdown-item:hover { background: rgba(255,255,255,.1); color: #fff; }
.nav-dropdown-item-active { background: rgba(255,255,255,.12); color: #fff !important; }
.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 top; }
.hero-overlay    { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,3,3,.82) 0%, rgba(10,3,3,.65) 50%, rgba(10,3,3,.2) 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: var(--primary-light); }
.hero-subtitle   { font-size: 1.02rem; color: rgba(255,255,255,.82); line-height: 1.72; margin-bottom: 10px; }
.hero-actions    { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

/* ── 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: 100px; width: auto; margin-bottom: 14px; }
.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: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-bottom a:hover { color: #fff; }
.footer-credit  { color: rgba(255,255,255,.35) !important; }
.footer-credit strong { color: rgba(255,255,255,.55); }
.footer-disclaimer { font-size: .75rem; color: rgba(255,255,255,.35); font-style: italic; text-align: center; padding-top: 8px; }

/* ── 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); }

/* ══ SEÇÕES ESPECÍFICAS ══════════════════════════════════════ */

/* Sobre */
.sobre-text .teal { color: var(--primary); }

/* Especialidades */
.especialidades-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.espec-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; cursor: default; }
.espec-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.espec-card:hover img { transform: scale(1.05); }
.espec-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.3) 50%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; }
.espec-card-overlay h3 { font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.espec-card-overlay p { font-size: .75rem; color: rgba(255,255,255,.78); line-height: 1.4; }

/* Accordion */
.accordion-item { border-bottom: 1px solid var(--secondary); }
.accordion-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; cursor: pointer; color: var(--text); font-weight: 600; font-size: .95rem; }
.accordion-header:hover { color: var(--primary); }
.accordion-arrow { width: 20px; height: 20px; color: var(--secondary); transition: transform .3s; flex-shrink: 0; }
.accordion-item.open .accordion-arrow { transform: rotate(180deg); }
.accordion-body { display: none; padding: 0 0 16px; font-size: .9rem; color: var(--text-soft); line-height: 1.75; }
.accordion-item.open .accordion-body { display: block; }

/* Vantagens grid (accordion + image) */
.vantagens-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.vantagens-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.vantagens-img img { width: 100%; object-fit: cover; max-height: 520px; }
.vantagens-text h1 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; color: var(--dark); line-height: 1.2; margin-bottom: 28px; }

/* Parceiros */
.parceiros-logos { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 28px; }
.parceiros-logos img { height: 60px; width: auto; object-fit: contain; border-radius: 8px; border: 1px solid var(--border); padding: 6px; background: var(--bg); }
.parceiros-link { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--primary); margin-top: 18px; transition: var(--t); }
.parceiros-link:hover { color: var(--primary-dark); text-decoration: underline; }

/* Comparação de preços */
.price-comparison { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0; max-width: 700px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.price-row { display: contents; }
.price-row > div { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.price-row:last-child > div { border-bottom: none; }
.price-row-header > div { background: rgba(255,255,255,.08); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); padding: 10px 16px; }
.price-label { color: rgba(255,255,255,.85); font-size: .9rem; }
.price-normal { color: rgba(255,255,255,.5); font-size: .88rem; text-decoration: line-through; }
.price-assinante { color: var(--primary); font-size: .95rem; font-weight: 700; }

/* Planos categoria */
.plan-category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 600px; margin: 0 auto; }
.plan-category-card { border: 2px solid var(--border); border-radius: var(--radius); padding: 36px 28px; text-align: center; transition: var(--t); }
.plan-category-card:hover { border-color: var(--primary); box-shadow: var(--shadow-primary); transform: translateY(-3px); }
.plan-category-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--dark); margin-bottom: 16px; }

/* Depoimentos */
.depo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.depo-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.depo-text { font-size: .9rem; color: var(--text-soft); line-height: 1.75; font-style: italic; flex: 1; }
.depo-author { font-size: .82rem; font-weight: 700; color: var(--dark); }
.depo-footer { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.depo-photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* Clínica */
.clinica-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.clinica-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.clinica-img img { width: 100%; object-fit: cover; max-height: 520px; }
.clinica-text h1 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; color: var(--dark); line-height: 1.2; margin-bottom: 12px; }
.clinica-text h5 { font-size: 1rem; font-weight: 600; color: var(--primary); margin-bottom: 18px; }
.clinica-text p { font-size: .95rem; color: var(--text-soft); line-height: 1.75; margin-bottom: 14px; }

/* Subpáginas — planos */
.subpage-plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.subpage-plan-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: var(--t); }
.subpage-plan-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.subpage-plan-header { padding: 20px 20px 14px; border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.subpage-plan-img { width: 100%; height: 160px; object-fit: cover; }
.subpage-plan-label { font-size: .72rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.subpage-plan-price { display: flex; align-items: baseline; gap: 2px; margin-top: 8px; }
.subpage-price-val { font-size: 2.4rem; font-weight: 900; color: var(--primary); line-height: 1; }
.subpage-price-pfx { font-size: .9rem; font-weight: 700; color: var(--text-soft); }
.subpage-price-suf { font-size: .8rem; color: var(--text-lighter); margin-left: 2px; }
.subpage-plan-body { padding: 16px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.subpage-plan-benefits { display: flex; flex-direction: column; gap: 7px; flex: 1; margin-bottom: 14px; }
.subpage-plan-benefits li { display: flex; align-items: flex-start; gap: 7px; font-size: .82rem; color: var(--text-soft); line-height: 1.5; }
.subpage-plan-benefits li i { flex-shrink: 0; width: 14px; height: 14px; color: var(--primary); stroke-width: 2.5; margin-top: 1px; }
.subpage-plan-opt { font-size: .75rem; color: var(--text-lighter); font-style: italic; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.subpage-plan-actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.subpage-btn { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: var(--radius-sm); font-family: 'Inter', sans-serif; font-size: .8rem; font-weight: 600; transition: var(--t); border: 1px solid var(--border); color: var(--dark); background: var(--bg-alt); }
.subpage-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.subpage-btn i { width: 13px; height: 13px; }
.subpage-btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.subpage-btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.subpage-plan-note { font-size: .8rem; color: var(--text-lighter); text-align: center; margin-top: 24px; font-style: italic; }

/* Page banner (subpáginas) */
.page-banner { background: var(--header-bg); padding-block: 60px; }
.page-banner .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 52px; align-items: center; }
.page-banner h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; color: #fff; line-height: 1.2; }
.page-banner h1 span { color: var(--secondary); }
.page-banner-img { border-radius: var(--radius); overflow: hidden; }
.page-banner-img img { width: 100%; object-fit: cover; max-height: 340px; }

/* Section dark */
.section-dark { background: var(--dark-2); padding-block: 96px; }
.section-dark .section-subtitle { color: rgba(255,255,255,.65); }

/* ══ RESPONSIVO ═════════════════════════════════════════════ */
@media (max-width: 960px) {
  .grid-2, .grid-2-reverse { grid-template-columns: 1fr; gap: 44px; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .especialidades-grid { grid-template-columns: repeat(2, 1fr); }
  .vantagens-grid { grid-template-columns: 1fr; gap: 36px; }
  .clinica-grid { grid-template-columns: 1fr; gap: 36px; }
  .depo-grid { grid-template-columns: 1fr; }
  .plan-category-grid { grid-template-columns: 1fr; }
  .subpage-plan-grid { grid-template-columns: 1fr 1fr; }
  .page-banner .container { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding-block: 60px; }
  .section-dark { padding-block: 60px; }
  .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, .nav-link-active { background: var(--primary-light); color: var(--primary-dark); }
  .btn-header { display: none; }
  .menu-toggle { display: flex; }
  .hero { min-height: 100svh; }
  .hero-content { padding-block: 48px; }
  .hero-title { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .especialidades-grid { grid-template-columns: repeat(2, 1fr); }
  .subpage-plan-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; }
  .page-banner .container { grid-template-columns: 1fr; gap: 28px; }
}
