/* ═══════════════════════════════════════════════════
   NOVAMED — DESIGN SYSTEM
   Identidade visual institucional
   Paleta derivada da logo NovaMed (verde #04724D)
   Obs.: os nomes dos tokens (--navy, --blue…) foram
   mantidos do sistema original para compatibilidade;
   os VALORES são os da identidade verde NovaMed.
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── TOKENS ─────────────────────────────────────── */
:root {
  /* Brand — verde NovaMed */
  --ink:      #031A12;   /* quase-preto esverdeado */
  --navy:     #06291D;   /* verde profundo institucional */
  --navy2:    #0A3A29;
  --blue:     #04724D;   /* verde da logo */
  --blue2:    #0A8C60;
  --blue3:    #17A974;   /* verde claro de destaque */
  --blue-lt:  #ECFDF5;
  --gold:     #B8935A;
  --gold2:    #D4A96A;
  --smoke:    #F6F9F7;
  --line:     #E2EBE6;
  --muted:    #83948C;
  --body:     #3B4F47;
  --white:    #FFFFFF;
  --green:    #04724D;
  --green-bg: #ECFDF5;
  --red:      #C0392B;
  --red-bg:   #FEF2F2;

  /* Aliases semânticos (uso novo) */
  --brand:    #04724D;
  --brand-lt: #17A974;

  /* Typography */
  --f-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Radius */
  --r-xs: 4px;  --r-sm: 8px;  --r-md: 14px;
  --r-lg: 20px; --r-xl: 28px; --r-2xl: 40px;

  /* Shadows */
  --s1: 0 1px 3px rgba(3,26,18,.06);
  --s2: 0 4px 16px rgba(3,26,18,.08), 0 1px 4px rgba(3,26,18,.04);
  --s3: 0 12px 40px rgba(3,26,18,.12), 0 4px 12px rgba(3,26,18,.06);
  --s4: 0 24px 64px rgba(3,26,18,.16), 0 8px 24px rgba(3,26,18,.08);

  /* Transitions */
  --tr: .22s ease;
}

/* ── RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: var(--f-sans); }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { line-height: 1.2; }

/* ── LAYOUT ──────────────────────────────────────── */
.container   { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container-sm{ max-width: 880px;  margin: 0 auto; padding: 0 28px; }
.container-xs{ max-width: 680px;  margin: 0 auto; padding: 0 28px; }
.section     { padding: 88px 0; }
.s-smoke     { background: var(--smoke); }
.s-navy      { background: var(--navy); }
.s-ink       { background: var(--ink); }
.divider     { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ── LABEL / SECTION HEADER ─────────────────────── */
.label-tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 700; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--gold);
}
.label-tag::before {
  content: ''; display: block;
  width: 24px; height: 1.5px;
  background: var(--gold); flex-shrink: 0;
}
.label-tag.blue { color: var(--blue2); }
.label-tag.blue::before { background: var(--blue2); }
.label-tag.center { justify-content: center; }

.section-title {
  font-family: var(--f-serif);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700; color: var(--navy);
  line-height: 1.16; letter-spacing: -.5px;
  margin-top: 12px;
}
.section-title.white { color: var(--white); }
.section-sub {
  font-size: 17px; color: var(--muted);
  max-width: 580px; line-height: 1.78; margin-top: 14px;
}
.section-sub.white { color: rgba(255,255,255,.6); }
.sh { margin-bottom: 52px; }
.sh.center { text-align: center; }
.sh.center .section-sub { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600;
  padding: 13px 28px; border-radius: var(--r-sm);
  transition: all var(--tr); cursor: pointer;
  border: 2px solid transparent; white-space: nowrap;
}
.btn-primary {
  background: var(--blue2); color: var(--white);
}
.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10,140,96,.35);
}
.btn-outline {
  background: transparent; color: var(--navy); border-color: var(--line);
}
.btn-outline:hover { border-color: var(--navy); }
.btn-outline-white {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,.4);
}
.btn-outline-white:hover {
  border-color: var(--white); background: rgba(255,255,255,.08);
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184,147,90,.38);
}
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--ink); transform: translateY(-2px); }
.btn-wpp  { background: #1DAB5C; color: var(--white); }
.btn-wpp:hover { background: #179a52; transform: translateY(-2px); }

.btn-sm   { padding: 10px 20px; font-size: 13px; }
.btn-lg   { padding: 16px 36px; font-size: 15px; }
.btn-icon { justify-content: center; gap: 6px; }

/* ── NAVIGATION ──────────────────────────────────── */
#nav {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--tr);
}
#nav.scrolled { box-shadow: var(--s2); }
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; position: relative;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-serif); font-size: 22px; font-weight: 700; color: var(--navy);
  flex-shrink: 0;
}
.nav-logo img { height: 38px; object-fit: contain; }
.nav-logo .logo-text span { color: var(--blue2); }

.nav-links {
  display: flex; align-items: center; gap: 6px;
}
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button {
  display: flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 500; color: var(--body);
  padding: 8px 12px; border-radius: var(--r-sm);
  transition: color var(--tr), background var(--tr);
  position: relative; cursor: pointer;
}
.nav-links > li > a:hover,
.nav-links > li > button:hover,
.nav-links > li > a.active { color: var(--navy); background: var(--smoke); }
.nav-links > li > a.active { font-weight: 600; }

/* Dropdown */
.nav-dd {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--s3);
  min-width: 220px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all .2s;
  z-index: 100;
}
.nav-dd.open { opacity: 1; visibility: visible; transform: none; }
.nav-dd a {
  display: block; padding: 10px 14px;
  font-size: 14px; color: var(--body);
  border-radius: var(--r-sm); transition: all var(--tr);
}
.nav-dd a:hover { background: var(--smoke); color: var(--navy); }
.nav-dd a.dd-head {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--muted);
  pointer-events: none; margin-top: 4px;
}
.nav-dd-divider { border-top: 1px solid var(--line); margin: 6px 0; }
.dd-arrow { font-size: 10px; transition: transform .2s; }
li.dd-open .dd-arrow { transform: rotate(180deg); }

.nav-actions {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}

/* Mobile nav */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; border-radius: var(--r-sm);
  background: none; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: all .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-menu {
  display: none; position: absolute; top: 72px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--line);
  box-shadow: var(--s3); z-index: 499; max-height: calc(100vh - 72px); overflow-y: auto;
}
.mob-menu.open { display: block; }
.mob-menu a {
  display: block; padding: 14px 28px;
  font-size: 15px; font-weight: 500; color: var(--body);
  border-bottom: 1px solid var(--smoke); transition: all var(--tr);
}
.mob-menu a:hover { color: var(--navy); background: var(--smoke); }
.mob-menu .mob-section {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--muted);
  padding: 16px 28px 8px; pointer-events: none;
}
.mob-cta { padding: 20px 28px; }

/* ── HERO BASE ───────────────────────────────────── */
.hero {
  background: var(--navy); position: relative; overflow: hidden;
  padding: 100px 0 88px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy2) 55%, #073A28 100%);
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10,140,96,.18) 0%, transparent 70%);
  top: -200px; right: -100px; pointer-events: none;
}
.hero-glow2 {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(184,147,90,.12) 0%, transparent 70%);
  bottom: -80px; left: -50px; pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-inner.center {
  grid-template-columns: 1fr; text-align: center; max-width: 800px; margin: 0 auto;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--gold2); margin-bottom: 20px;
}
.hero-kicker span { display: inline-block; width: 28px; height: 1.5px; background: var(--gold2); }
.hero h1 {
  font-family: var(--f-serif);
  font-size: clamp(34px, 4.5vw, 58px);
  font-weight: 700; color: var(--white);
  line-height: 1.12; letter-spacing: -.5px; margin-bottom: 20px;
}
.hero h1 em { color: var(--gold2); font-style: normal; }
.hero h1 .b { color: var(--blue3); font-style: normal; }
.hero-lead {
  font-size: 17px; color: rgba(255,255,255,.65);
  line-height: 1.78; margin-bottom: 36px; max-width: 500px;
}
.hero-inner.center .hero-lead { margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-inner.center .hero-btns { justify-content: center; }

/* ── STATS BAR ───────────────────────────────────── */
.stats-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center; padding: 40px 20px;
  border-right: 1px solid var(--line); position: relative; overflow: hidden;
}
.stat-item:last-child { border-right: none; }
.stat-item::after {
  content: ''; position: absolute; bottom: 0; left: 24px; right: 24px;
  height: 3px; background: var(--blue2); border-radius: 3px 3px 0 0;
  transform: scaleX(0); transform-origin: center; transition: transform .35s;
}
.stat-item:hover::after { transform: scaleX(1); }
.stat-num {
  font-family: var(--f-serif); font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700; color: var(--navy); line-height: 1;
}
.stat-num span { color: var(--gold); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* ── FEATURE BLOCKS ──────────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.feature-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px 24px;
  transition: all .28s; position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue2), var(--blue3));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.feature-card:hover {
  box-shadow: var(--s3); transform: translateY(-6px);
  border-color: transparent;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  background: var(--blue-lt);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px; flex-shrink: 0;
}
.feature-title {
  font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px;
}
.feature-desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── COURSE CARDS ────────────────────────────────── */
.courses-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.course-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .28s;
}
.course-card:hover {
  box-shadow: var(--s3); transform: translateY(-6px); border-color: transparent;
}
.course-card-img {
  height: 200px; background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, #04724D 100%);
  position: relative; display: flex; align-items: flex-end; padding: 20px;
  overflow: hidden;
}
.course-card-img::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.course-card-img .c-icon {
  position: absolute; top: 20px; right: 20px;
  font-size: 40px; opacity: .25;
}
.course-badge {
  display: inline-block; padding: 5px 12px;
  border-radius: 100px; font-size: 12px; font-weight: 700;
  background: var(--gold); color: var(--white); z-index: 1;
}
.course-badge.blue { background: var(--blue2); }
.course-badge.green { background: var(--green); }
.course-card-body {
  padding: 24px; flex: 1; display: flex; flex-direction: column;
}
.course-cat {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--blue2); margin-bottom: 10px;
}
.course-title {
  font-family: var(--f-serif); font-size: 20px; font-weight: 700;
  color: var(--navy); line-height: 1.3; margin-bottom: 10px;
}
.course-desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; flex: 1; }
.course-meta {
  display: flex; gap: 16px; margin-bottom: 18px; flex-wrap: wrap;
}
.course-meta span {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--muted); font-weight: 500;
}
.course-meta span em { font-style: normal; font-size: 14px; }
.course-price {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.price-tag { font-family: var(--f-serif); font-size: 22px; font-weight: 700; color: var(--navy); }
.price-tag small { font-size: 12px; font-weight: 500; color: var(--muted); font-family: var(--f-sans); display: block; }
.price-free { color: var(--green); font-size: 15px; font-weight: 700; }

/* ── TESTIMONIALS ────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: box-shadow .25s;
}
.testi-card:hover { box-shadow: var(--s2); }
.testi-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.testi-text {
  font-size: 15px; color: var(--body); line-height: 1.78;
  font-style: italic; flex: 1;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue2), var(--blue3));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--white); font-weight: 700; font-family: var(--f-serif);
  flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.testi-role { font-size: 12px; color: var(--muted); }

/* ── FACULTY CARDS ───────────────────────────────── */
.faculty-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.faculty-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; transition: all .28s; text-align: center;
}
.faculty-card:hover { box-shadow: var(--s3); transform: translateY(-5px); border-color: transparent; }
.faculty-photo {
  height: 200px;
  background: linear-gradient(160deg, var(--navy) 0%, #04724D 100%);
  display: flex; align-items: center; justify-content: center; font-size: 64px;
  position: relative; overflow: hidden;
}
.faculty-photo img { width: 100%; height: 100%; object-fit: cover; }
.faculty-body { padding: 22px 18px; }
.faculty-name {
  font-family: var(--f-serif); font-size: 18px; font-weight: 700;
  color: var(--navy); margin-bottom: 5px;
}
.faculty-area { font-size: 13px; color: var(--blue2); font-weight: 600; margin-bottom: 10px; }
.faculty-bio { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── BLOG CARDS ──────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; transition: all .28s;
  display: flex; flex-direction: column;
}
.blog-card:hover { box-shadow: var(--s3); transform: translateY(-5px); border-color: transparent; }
.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, #04724D 100%);
  display: flex; align-items: center; justify-content: center; font-size: 48px;
  overflow: hidden; flex-shrink: 0;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--blue2); margin-bottom: 10px;
}
.blog-title {
  font-family: var(--f-serif); font-size: 18px; font-weight: 700;
  color: var(--navy); line-height: 1.3; margin-bottom: 10px; flex: 1;
}
.blog-title a:hover { color: var(--blue2); }
.blog-excerpt { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.blog-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--muted); padding-top: 14px;
  border-top: 1px solid var(--line);
}
.blog-meta span { display: flex; align-items: center; gap: 5px; }
.blog-read-more {
  font-size: 13px; font-weight: 600; color: var(--blue2);
  display: flex; align-items: center; gap: 4px; transition: gap var(--tr);
}
.blog-card:hover .blog-read-more { gap: 8px; }

/* ── FORMS ───────────────────────────────────────── */
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--s3);
  padding: 48px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-full { grid-column: 1 / -1; }
.fg { display: flex; flex-direction: column; gap: 7px; }
.fg label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .8px; color: var(--muted);
}
.fg label .req { color: var(--red); }
.finput, .fselect, .ftextarea {
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 16px; font-size: 14px; color: var(--navy);
  transition: border-color .18s, box-shadow .18s; background: var(--white);
  width: 100%;
}
.finput:focus, .fselect:focus, .ftextarea:focus {
  outline: none; border-color: var(--blue2);
  box-shadow: 0 0 0 3px rgba(10,140,96,.08);
}
.fselect {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238892AA' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.ftextarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form-notice {
  display: flex; align-items: flex-start; gap: 11px;
  background: var(--blue-lt); border: 1px solid #B9EBD5;
  border-radius: var(--r-md); padding: 14px 16px;
  font-size: 13px; color: var(--blue); line-height: 1.65;
}
.form-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; padding-top: 24px;
  border-top: 1px solid var(--line); margin-top: 8px;
}
.form-hint { font-size: 12px; color: var(--muted); }
.btn-submit {
  background: var(--blue2); color: var(--white);
  padding: 14px 40px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: all var(--tr); display: flex; align-items: center; gap: 9px;
  border: none;
}
.btn-submit:hover { background: var(--blue); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(10,140,96,.35); }
.btn-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ── FAQ ─────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; padding: 20px 0;
  font-size: 15px; font-weight: 600; color: var(--navy);
  background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color var(--tr);
}
.faq-q:hover { color: var(--blue2); }
.faq-chevron {
  font-size: 20px; color: var(--muted);
  transition: transform .25s; flex-shrink: 0;
  font-weight: 300; font-family: var(--f-sans);
}
.faq-a {
  font-size: 14px; color: var(--body); line-height: 1.78;
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .25s;
}
.faq-a.open { max-height: 500px; padding-bottom: 20px; }

/* ── CTA SECTION ─────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy2) 55%, #073A28 100%);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.cta-inner { position: relative; text-align: center; padding: 88px 0; }
.cta-inner h2 {
  font-family: var(--f-serif); font-size: clamp(30px, 4vw, 50px);
  font-weight: 700; color: var(--white); margin-bottom: 16px;
}
.cta-inner h2 em { color: var(--gold2); font-style: normal; }
.cta-inner p { font-size: 18px; color: rgba(255,255,255,.6); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--ink); padding: 72px 0 0;
}
.foot-grid {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px;
}
.foot-brand { }
.foot-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.foot-logo img { height: 36px; object-fit: contain; filter: brightness(0) invert(1); }
.foot-logo-text {
  font-family: var(--f-serif); font-size: 22px; font-weight: 700; color: var(--white);
}
.foot-accent { width: 36px; height: 2px; background: var(--gold); border-radius: 2px; margin: 14px 0; }
.foot-desc { font-size: 14px; color: rgba(255,255,255,.4); line-height: 1.78; max-width: 260px; }
.foot-socials { display: flex; gap: 9px; margin-top: 20px; }
.fsoc {
  width: 36px; height: 36px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45); font-size: 15px; transition: all var(--tr);
}
.fsoc:hover { background: var(--blue2); color: var(--white); border-color: var(--blue2); }
.foot-col h5 {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 20px;
}
.foot-col ul { display: flex; flex-direction: column; gap: 11px; }
.foot-col a {
  font-size: 14px; color: rgba(255,255,255,.5); transition: color var(--tr);
}
.foot-col a:hover { color: var(--white); }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 24px 0 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
}
.foot-copy { font-size: 13px; color: rgba(255,255,255,.28); }
.foot-links { display: flex; gap: 20px; }
.foot-links a { font-size: 13px; color: rgba(255,255,255,.35); transition: color var(--tr); }
.foot-links a:hover { color: rgba(255,255,255,.65); }

/* ── WHATSAPP FLOAT ──────────────────────────────── */
.wpp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 300;
}
.wpp-float a {
  display: flex; align-items: center; gap: 9px;
  background: #1DAB5C; color: var(--white);
  padding: 14px 22px; border-radius: 100px;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 4px 24px rgba(29,171,92,.4);
  transition: transform .22s, box-shadow .22s;
}
.wpp-float a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(29,171,92,.5);
}
.wpp-float .wpp-icon { font-size: 20px; }

/* ── BREADCRUMB ──────────────────────────────────── */
.breadcrumb {
  background: var(--smoke); border-bottom: 1px solid var(--line); padding: 12px 0;
}
.breadcrumb-inner {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted);
}
.breadcrumb-inner a { color: var(--blue2); }
.breadcrumb-inner a:hover { color: var(--blue); }
.breadcrumb-sep { color: var(--line); }

/* ── PAGE HERO (smaller) ─────────────────────────── */
.page-hero { padding: 72px 0 64px; }
.page-hero h1 { font-size: clamp(28px, 3.5vw, 46px); }

/* ── TABS ────────────────────────────────────────── */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
  padding: 12px 22px; font-size: 14px; font-weight: 600;
  color: var(--muted); border-radius: var(--r-sm) var(--r-sm) 0 0;
  background: none; border: none; cursor: pointer; transition: all var(--tr);
  position: relative; border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.tab-btn:hover { color: var(--navy); background: var(--smoke); }
.tab-btn.active { color: var(--blue2); border-bottom-color: var(--blue2); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── FILTERS ─────────────────────────────────────── */
.filter-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 36px;
}
.filter-btn {
  padding: 9px 20px; border-radius: 100px; font-size: 13px; font-weight: 600;
  background: var(--smoke); color: var(--body); border: 1.5px solid var(--line);
  cursor: pointer; transition: all var(--tr);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--blue2); color: var(--white); border-color: var(--blue2);
}
.search-bar {
  display: flex; gap: 10px; margin-bottom: 36px;
  position: relative; align-items: center;
}
.search-icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; color: var(--muted); pointer-events: none;
}
.search-input {
  flex: 1; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 18px; font-size: 15px; color: var(--navy);
  transition: border-color .18s, box-shadow .18s;
}
.search-bar .search-icon + .search-input { padding-left: 44px; }
.search-input:focus { outline: none; border-color: var(--blue2); box-shadow: 0 0 0 3px rgba(10,140,96,.08); }

/* ── PAGE-SPECIFIC: COURSE DETAIL ───────────────── */
.course-detail-layout {
  display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start;
}
.course-detail-sidebar {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); box-shadow: var(--s3);
  padding: 32px; position: sticky; top: 92px;
}
.cd-price {
  font-family: var(--f-serif); font-size: 36px; font-weight: 700; color: var(--navy);
}
.cd-price-old { font-size: 15px; color: var(--muted); text-decoration: line-through; }
.cd-price-parcel { font-size: 14px; color: var(--muted); }
.cd-badge { display: flex; align-items: center; gap: 8px; margin: 12px 0 20px; }
.cd-badge span {
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 100px;
  background: var(--green-bg); color: var(--green);
}
.cd-features { display: flex; flex-direction: column; gap: 12px; margin: 20px 0; }
.cd-feat { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--body); }
.cd-feat em { font-style: normal; font-size: 18px; }
.cd-divider { border: none; border-top: 1px solid var(--line); margin: 20px 0; }

/* ── ACCORDION (content) ────────────────────────── */
.accordion { display: flex; flex-direction: column; gap: 8px; }
.acc-item {
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.acc-q {
  width: 100%; text-align: left; padding: 18px 20px;
  font-size: 15px; font-weight: 600; color: var(--navy);
  background: var(--smoke); border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: background var(--tr);
}
.acc-q:hover { background: var(--line); }
.acc-q .acc-chevron { font-size: 18px; color: var(--muted); transition: transform .25s; }
.acc-body {
  max-height: 0; overflow: hidden; transition: max-height .35s ease;
  font-size: 14px; color: var(--body); line-height: 1.75;
}
.acc-body.open { max-height: 600px; }
.acc-body-inner { padding: 16px 20px 20px; }

/* ── BADGE / TAG ─────────────────────────────────── */
.badge {
  display: inline-block; padding: 5px 14px;
  border-radius: 100px; font-size: 12px; font-weight: 700;
}
.badge-blue { background: var(--blue-lt); color: var(--blue2); }
.badge-gold { background: #FEF3DC; color: var(--gold); }
.badge-green { background: var(--green-bg); color: var(--green); }
.badge-navy { background: #EEF0F6; color: var(--navy); }

/* ── ICON BOXES ──────────────────────────────────── */
.icon-box {
  display: flex; align-items: flex-start; gap: 16px; padding: 24px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); transition: box-shadow .22s;
}
.icon-box:hover { box-shadow: var(--s2); }
.ib-icon {
  width: 48px; height: 48px; border-radius: var(--r-sm);
  background: var(--blue-lt); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.ib-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.ib-desc  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── CONTENT PROSE ───────────────────────────────── */
.prose { font-size: 16px; line-height: 1.8; color: var(--body); }
.prose h2 { font-family: var(--f-serif); font-size: clamp(22px,2.5vw,30px); color: var(--navy); margin: 40px 0 16px; }
.prose h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 30px 0 12px; }
.prose p  { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 18px 24px; }
.prose li { margin-bottom: 6px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose strong { color: var(--navy); }
.prose a { color: var(--blue2); text-decoration: underline; }
.prose a:hover { color: var(--blue); }
.prose blockquote {
  border-left: 3px solid var(--blue2); padding-left: 20px;
  margin: 24px 0; color: var(--muted); font-style: italic;
}
.prose hr { border: none; border-top: 1px solid var(--line); margin: 32px 0; }

/* ── PROCESS STEPS ───────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.step {
  text-align: center; padding: 40px 24px;
  border-right: 1px solid var(--line); position: relative;
}
.step:last-child { border-right: none; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue2); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-serif); font-size: 22px; font-weight: 700;
  margin: 0 auto 18px;
}
.step-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-desc  { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-fade-up { animation: fadeUp .6s ease both; }
.animate-fade-up.d1 { animation-delay: .1s; }
.animate-fade-up.d2 { animation-delay: .2s; }
.animate-fade-up.d3 { animation-delay: .3s; }

/* ── MISC UTILS ──────────────────────────────────── */
.text-center { text-align: center; }
.text-blue   { color: var(--blue2); }
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.text-muted  { color: var(--muted); }
.fw-bold     { font-weight: 700; }
.mb-0 { margin-bottom: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.gap-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid  { grid-template-columns: repeat(2,1fr); }
  .courses-grid   { grid-template-columns: repeat(2,1fr); }
  .faculty-grid   { grid-template-columns: repeat(3,1fr); }
  .testi-grid     { grid-template-columns: repeat(2,1fr); }
  .blog-grid      { grid-template-columns: repeat(2,1fr); }
  .stats-grid     { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) { border-top: 1px solid var(--line); }
  .foot-grid      { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps          { grid-template-columns: repeat(2,1fr); }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(3),
  .step:nth-child(4) { border-top: 1px solid var(--line); }
  .course-detail-layout { grid-template-columns: 1fr; }
  .course-detail-sidebar { position: static; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .container, .container-sm, .container-xs { padding: 0 20px; }
  .hero { padding: 72px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: flex; }
  .courses-grid  { grid-template-columns: 1fr; }
  .testi-grid    { grid-template-columns: 1fr; }
  .blog-grid     { grid-template-columns: 1fr; }
  .faculty-grid  { grid-template-columns: repeat(2,1fr); }
  .features-grid { grid-template-columns: repeat(2,1fr); }
  .foot-grid     { grid-template-columns: 1fr; gap: 20px; }
  .foot-bottom   { flex-direction: column; align-items: flex-start; }
  .steps         { grid-template-columns: 1fr; }
  .step          { border-right: none; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: none; }
  .form-card     { padding: 28px 20px; }
  .form-grid     { grid-template-columns: 1fr; }
  .wpp-float a   { padding: 12px 16px; }
  .wpp-float .wpp-label { display: none; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .faculty-grid  { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: 1fr 1fr; }
  .hero-btns     { flex-direction: column; }
  .cta-btns      { flex-direction: column; align-items: center; }
  .tabs          { overflow-x: auto; }
}

/* ══════════════════════════════════════════════════════════
   COURSE CARD — PHOTO BACKGROUNDS
   Overlays a colour-tinted gradient on top of a real photo.
   !important overrides the inline style="background:…" on
   each card's .course-card-img element.
══════════════════════════════════════════════════════════ */

/* ── Fotos por área (NovaMed) ─────────────────────────
   Cada card de curso recebe uma foto de capa com overlay
   verde. Trocar a URL do Unsplash pela imagem própria da
   marca quando houver banco de imagens definido. */

/* ── Emergência e Suporte de Vida ─────────────────── */
#emergencia .course-card:nth-child(1) .course-card-img {
  background: linear-gradient(to bottom,rgba(3,26,18,.45),rgba(4,114,77,.82)),
    url('https://images.unsplash.com/photo-1581595220892-b0739db3ba8c?w=600&q=75&auto=format') center/cover no-repeat !important;
}
#emergencia .course-card:nth-child(2) .course-card-img {
  background: linear-gradient(to bottom,rgba(3,26,18,.45),rgba(4,114,77,.82)),
    url('https://images.unsplash.com/photo-1551601651-2a8555f1a136?w=600&q=75&auto=format') center/cover no-repeat !important;
}

/* ── Toxina Botulínica ────────────────────────────── */
#toxina .course-card:nth-child(1) .course-card-img {
  background: linear-gradient(to bottom,rgba(3,26,18,.45),rgba(4,114,77,.82)),
    url('https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=600&q=75&auto=format') center/cover no-repeat !important;
}
#toxina .course-card:nth-child(2) .course-card-img {
  background: linear-gradient(to bottom,rgba(3,26,18,.45),rgba(4,114,77,.82)),
    url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?w=600&q=75&auto=format') center/cover no-repeat !important;
}

/* ── Em breve ─────────────────────────────────────── */
#embreve .course-card:nth-child(1) .course-card-img {
  background: linear-gradient(to bottom,rgba(3,26,18,.45),rgba(4,114,77,.82)),
    url('https://images.unsplash.com/photo-1481627834876-b7833e8f5570?w=600&q=75&auto=format') center/cover no-repeat !important;
}
#embreve .course-card:nth-child(2) .course-card-img {
  background: linear-gradient(to bottom,rgba(3,26,18,.45),rgba(4,114,77,.82)),
    url('https://images.unsplash.com/photo-1538108149393-fbbd81895907?w=600&q=75&auto=format') center/cover no-repeat !important;
}
#embreve .course-card:nth-child(3) .course-card-img {
  background: linear-gradient(to bottom,rgba(3,26,18,.45),rgba(4,114,77,.82)),
    url('https://images.unsplash.com/photo-1666214280557-f1b5022eb634?w=600&q=75&auto=format') center/cover no-repeat !important;
}
#embreve .course-card:nth-child(4) .course-card-img {
  background: linear-gradient(to bottom,rgba(3,26,18,.45),rgba(4,114,77,.82)),
    url('https://images.unsplash.com/photo-1516549655169-df83a0774514?w=600&q=75&auto=format') center/cover no-repeat !important;
}
#embreve .course-card:nth-child(5) .course-card-img {
  background: linear-gradient(to bottom,rgba(3,26,18,.45),rgba(4,114,77,.82)),
    url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=600&q=75&auto=format') center/cover no-repeat !important;
}

/* ── index.html — destaques ───────────────────────── */
#destaques .course-card:nth-child(1) .course-card-img {
  background: linear-gradient(to bottom,rgba(3,26,18,.45),rgba(4,114,77,.82)),
    url('https://images.unsplash.com/photo-1581595220892-b0739db3ba8c?w=600&q=75&auto=format') center/cover no-repeat !important;
}
#destaques .course-card:nth-child(2) .course-card-img {
  background: linear-gradient(to bottom,rgba(3,26,18,.45),rgba(4,114,77,.82)),
    url('https://images.unsplash.com/photo-1551601651-2a8555f1a136?w=600&q=75&auto=format') center/cover no-repeat !important;
}
#destaques .course-card:nth-child(3) .course-card-img {
  background: linear-gradient(to bottom,rgba(3,26,18,.45),rgba(4,114,77,.82)),
    url('https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=600&q=75&auto=format') center/cover no-repeat !important;
}
#destaques .course-card:nth-child(4) .course-card-img {
  background: linear-gradient(to bottom,rgba(3,26,18,.45),rgba(4,114,77,.82)),
    url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?w=600&q=75&auto=format') center/cover no-repeat !important;
}

/* Cards “em breve”: capa em tom mais baixo, sem convidar ao clique imediato */
#embreve .course-card-img { filter: saturate(.6) brightness(.85); }

/* ── LOGO NOVAMED ────────────────────────────────
   A arte da logo já traz o nome "NOVA MED", então o
   texto duplicado ao lado é ocultado em todo o site. */
.nav-logo .logo-text,
.foot-logo .foot-logo-text { display: none; }
.nav-logo img  { height: 40px; }
.foot-logo img { height: 42px; object-fit: contain; }

/* ── AVISO DE CONTEÚDO PROVISÓRIO ───────────────── */
.draft-notice {
  display: block; padding: 18px 22px; margin-bottom: 36px;
  background: #FEF3DC; border: 1px solid var(--gold2); border-radius: var(--r-md);
  font-size: 13.5px; color: var(--body); line-height: 1.65;
}
.draft-notice strong { color: var(--navy); }

/* ── FAIXA "EM BREVE" ───────────────────────────── */
.embreve-bar {
  background: var(--gold); color: #fff; font-size: 14px;
  padding: 13px 0; text-align: center;
}
.embreve-bar strong { font-weight: 800; }
.embreve-bar a { text-decoration: underline; font-weight: 600; }
