/* =========================================================
   OBSERVAMENTE — Desenvolvimento Humano Corporativo
   Design system / global styles
   ========================================================= */

:root {
  /* Brand colors */
  --navy-950: #060b2e;
  --navy-900: #0a1240;
  --navy-800: #121d5c;
  --navy-700: #1c2c78;
  --gold-300: #f6e3ad;
  --gold-400: #ecce80;
  --gold-500: #d9b35c;
  --gold-600: #c19a3e;
  --gold-700: #a3802e;

  --cream: #faf7f0;
  --off-white: #f5f4f2;
  --white: #ffffff;

  --text-dark: #1b1f3b;
  --text-body: #3c4263;
  --text-muted: #6b7090;
  --text-on-dark: #e8e9f5;
  --text-on-dark-muted: #aab0d4;

  --border-light: #e7e4dc;

  /* Gradients */
  --grad-gold: linear-gradient(135deg, var(--gold-700) 0%, var(--gold-400) 50%, var(--gold-300) 100%);
  --grad-navy: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-700) 100%);

  /* Type */
  --font-heading: "Playfair Display", "Georgia", serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 60px -20px rgba(10, 18, 64, 0.25);
  --shadow-card: 0 10px 30px -12px rgba(10, 18, 64, 0.18);

  --transition: 0.3s ease;
}

/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 64px 0;
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 44px 0; }
}

.section--dark {
  background: var(--grad-navy);
  color: var(--text-on-dark);
  position: relative;
}

.section--cream {
  background: var(--cream);
}

.section--white {
  background: var(--white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark p {
  color: var(--text-on-dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}

.section--dark .eyebrow,
.section--dark .eyebrow * {
  color: var(--gold-300);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--grad-gold);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin-bottom: 18px;
}

.section-head p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section--dark .section-head p {
  color: var(--text-on-dark-muted);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-gold);
  color: var(--navy-950);
  box-shadow: 0 12px 30px -10px rgba(201, 162, 39, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(201, 162, 39, 0.7);
}

.btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: var(--text-on-dark);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-300);
}

.btn-outline-dark {
  border: 1.5px solid var(--navy-800);
  color: var(--navy-900);
}

.btn-outline-dark:hover {
  background: var(--navy-900);
  color: var(--white);
}

.btn-dark {
  background: var(--navy-950);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(37, 211, 102, 0.55);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(37, 211, 102, 0.7);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 12px 24px;
  font-size: 0.85rem;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: var(--navy-950);
  padding: 10px 0;
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 54px;
  width: auto;
  transition: height var(--transition);
}

.site-header.is-scrolled .brand img {
  height: 42px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  color: var(--text-on-dark);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  transition: color var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li.is-open > a,
.nav-menu > li > a.is-active {
  color: var(--gold-300);
}

.nav-mobile-only { display: none; }

.nav-avaliacao {
  background: var(--gold-600) !important;
  color: var(--navy-950) !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.02em;
  transition: background var(--transition), opacity var(--transition);
}

.nav-avaliacao:hover {
  background: var(--gold-500) !important;
  color: var(--navy-950) !important;
  opacity: 0.9;
}

.has-dropdown > a svg {
  transition: transform var(--transition);
}

.has-dropdown.is-open > a svg {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 290px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.has-dropdown:hover .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

.dropdown a:hover {
  background: var(--off-white);
  color: var(--navy-900);
}

.dropdown a span.tag {
  font-size: 0.74rem;
  color: var(--gold-600);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-on-dark);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 980px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: min(360px, 86vw);
    background: var(--navy-950);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 110px 32px 40px;
    gap: 22px;
    transition: right var(--transition);
    box-shadow: -20px 0 60px rgba(0,0,0,0.4);
    overflow-y: auto;
  }

  .nav-menu.is-open {
    right: 0;
  }

  .nav-menu > li {
    width: 100%;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255,255,255,0.04);
    display: none;
    width: 100%;
    margin-top: 8px;
  }

  .has-dropdown.is-open .dropdown {
    display: block;
  }

  .dropdown a { color: var(--text-on-dark); }
  .dropdown a:hover { background: rgba(255,255,255,0.08); color: var(--gold-300); }

  .nav-cta .btn-outline { display: none; }

  .nav-mobile-only { display: list-item; }

  .nav-mobile-only a {
    color: var(--text-on-dark);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .nav-mobile-only:first-of-type {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 16px;
    margin-top: 4px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--grad-navy);
  color: var(--text-on-dark);
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(217, 179, 92, 0.18), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(28, 44, 120, 0.55), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 24px;
  color: var(--white);
}

.hero h1 em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--text-on-dark-muted);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold-300);
}

.hero-stats div span {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}

.hero-media {
  position: relative;
}

.hero-media .frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.hero-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

.hero-media .badge {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: var(--white);
  color: var(--navy-900);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 280px;
}

.hero-media .badge strong {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  display: block;
  color: var(--navy-900);
}

.hero-media .badge span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .hero { padding-top: 110px; }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-media { order: -1; }
  .hero-media img { height: 360px; }
  .hero-media .badge { left: 16px; bottom: -24px; }
}

/* ---------- Page header (non-home pages) ---------- */
.page-hero {
  background: var(--grad-navy);
  color: var(--text-on-dark);
  padding: 160px 0 90px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 60% at 90% 10%, rgba(217, 179, 92, 0.16), transparent 60%);
}

.page-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 22px;
}

.breadcrumb a { color: var(--gold-300); }
.breadcrumb a:hover { text-decoration: underline; }

.page-hero h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.3rem);
  color: var(--white);
  max-width: 820px;
}

.page-hero .lead {
  margin-top: 18px;
  color: var(--text-on-dark-muted);
  font-size: 1.08rem;
  max-width: 680px;
}

/* ---------- Diferenciais / feature grid ---------- */
.grid {
  display: grid;
  gap: 28px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.feature-card .icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--grad-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--gold-300);
}

.feature-card .icon-wrap svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section--dark .feature-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
}
.section--dark .feature-card p { color: var(--text-on-dark-muted); }
.section--dark .feature-card .icon-wrap {
  background: var(--grad-gold);
  color: var(--navy-950);
}

/* ---------- Program cards ---------- */
.program-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.program-card .program-media {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.program-card .program-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* These portrait photos have their subjects near the top of the frame;
   shift the crop up so heads aren't cut off in the 210px-tall card */
.program-card .program-media img[src*="felipe-apresentando.jpg"],
.program-card .program-media img[src*="felipe-radio-1.jpg"],
.program-card .program-media img[src*="mentoria-executiva.png"] {
  object-position: top;
}

/* These radio-studio photos have faces a bit further down, below the
   ceiling/signage at the very top of the frame */
.program-card .program-media img[src*="felipe-radio-tv.jpg"] {
  object-position: 50% 20%;
}

.program-card .program-media img[src*="felipe-radio-2.jpg"] {
  object-position: 50% 35%;
}

/* This group photo has people seated in the lower half of the frame,
   but the very bottom is empty floor */
.program-card .program-media img[src*="sessao-grupo.jpg"] {
  object-position: 50% 60%;
}

.program-card:hover .program-media img {
  transform: scale(1.06);
}

.program-card .program-media img[src*="pge.png"] {
  object-position: top;
}

.program-card .program-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--grad-gold);
  color: var(--navy-950);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.program-card .program-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.program-card h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.program-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 20px;
  flex: 1;
}

.program-card .program-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy-900);
  transition: gap var(--transition), color var(--transition);
}

.program-card .program-link:hover {
  gap: 14px;
  color: var(--gold-600);
}

/* ---------- Methodology / steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

.step-card {
  position: relative;
  padding: 34px 26px;
  border-radius: var(--radius-md);
  background: var(--off-white);
  border: 1px solid var(--border-light);
}

.step-card .step-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--gold-500);
  margin-bottom: 14px;
  display: block;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* .step-card has its own light background, even inside .section--dark,
   so it needs dark text regardless of the section's light-on-dark defaults */
.section--dark .step-card h3 {
  color: var(--text-dark);
}

.section--dark .step-card p {
  color: var(--text-muted);
}

/* ---------- Media / testimonial section ---------- */
.media-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: stretch;
}

@media (max-width: 980px) {
  .media-grid { grid-template-columns: 1fr; }
}

.media-feature {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 420px;
}

/* For portrait/vertical source video: shrink to a phone-like 9:16 box
   instead of letting object-fit: cover crop most of the frame away */
.media-feature--portrait {
  width: 100%;
  min-height: 0;
  aspect-ratio: 9 / 16;
  max-width: 360px;
  margin: 0 auto;
  align-self: start;
}

@media (max-width: 980px) {
  .media-feature--portrait { max-width: 320px; }
}

.media-feature img,
.media-feature video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

/* This group photo has its subject near the top of the frame; shift
   the crop up so heads aren't cut off in this wide panel */
.media-feature img[src*="equipe-treinamento.jpg"] {
  object-position: top;
}

/* These radio-studio photos have faces a bit further down, below the
   ceiling/signage at the very top of the frame */
.media-feature img[src*="felipe-radio-tv.jpg"],
.media-feature video[poster*="felipe-radio-tv.jpg"] {
  object-position: 50% 20%;
}

.media-feature img[src*="felipe-radio-2.jpg"] {
  object-position: 50% 35%;
}

.media-feature .media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 30px 60px;
  background: linear-gradient(0deg, rgba(6,11,46,0.92), transparent);
  color: var(--white);
  z-index: 2;
  pointer-events: none;
}

.media-side {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border-light);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-card p.quote {
  font-size: 1.02rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 18px;
}

.testimonial-card .author {
  display: flex;
  flex-direction: column;
}

.testimonial-card .author strong {
  font-size: 0.95rem;
  color: var(--navy-900);
}

.testimonial-card .author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars {
  color: var(--gold-500);
  margin-bottom: 14px;
  letter-spacing: 3px;
}

.testimonial-card .author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.testimonial-card .author-row img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-navy);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

/* ---------- Carrossel de depoimentos ---------- */
.testimonials-carousel {
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s ease;
}

.testimonials-page {
  flex: 0 0 100%;
  min-width: 100%;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.testimonials-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: var(--border-light);
  transition: background var(--transition), transform var(--transition);
}

.testimonials-dots button.is-active {
  background: var(--gold-500);
  transform: scale(1.3);
}

/* ---------- Stats / números ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--gold-300);
  margin-bottom: 8px;
}

.stat-item span {
  font-size: 0.95rem;
  color: var(--text-on-dark-muted);
}

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
}

/* ---------- Challenge / pain points list ---------- */
.check-list {
  display: grid;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.97rem;
}

.check-list li .bullet {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.check-list.is-problem li .bullet {
  background: rgba(217, 92, 92, 0.12);
  color: #c14848;
}

.check-list.is-solution li .bullet {
  background: var(--grad-gold);
  color: var(--navy-950);
}

.check-list.is-solution.on-dark li .bullet {
  background: var(--grad-gold);
}

.check-list.on-dark li { color: var(--text-on-dark-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--grad-gold);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy-950);
  max-width: 520px;
}

.cta-band p {
  color: rgba(10,18,64,0.75);
  margin-top: 10px;
  max-width: 480px;
}

@media (max-width: 768px) {
  .cta-band { padding: 40px 28px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--text-on-dark-muted);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

.footer-brand img {
  height: 64px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 320px;
  color: var(--text-on-dark-muted);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--grad-gold);
  color: var(--navy-950);
  border-color: transparent;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* ---------- Floating WhatsApp button ---------- */
.float-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2ecc71 0%, #25d366 50%, #128c7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5), 0 2px 8px rgba(0,0,0,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: wa-pulse 2.6s ease-in-out infinite;
}

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5), 0 2px 8px rgba(0,0,0,0.18), 0 0 0 0 rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 6px 24px rgba(37,211,102,0.5), 0 2px 8px rgba(0,0,0,0.18), 0 0 0 10px rgba(37,211,102,0); }
}

.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.65), 0 4px 12px rgba(0,0,0,0.2);
  animation: none;
}

.float-whatsapp svg,
.float-whatsapp img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Program detail page ---------- */
.program-hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-top: -50px;
  position: relative;
  z-index: 3;
}

.program-hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* This banner is very wide relative to its height, so portrait photos
   get cropped hard; shift up to keep subjects' heads in frame */
.program-hero-image img[src*="felipe-apresentando.jpg"] {
  object-position: top;
}

.program-hero-image img[src*="equipe-treinamento.jpg"] {
  object-position: 50% 42%;
}

/* These radio-studio photos have faces a bit further down, below the
   ceiling/signage at the very top of the frame */
.program-hero-image img[src*="felipe-radio-1.jpg"] {
  object-position: 50% 20%;
}

.program-hero-image img[src*="felipe-radio-tv.jpg"] {
  object-position: 50% 25%;
}

.program-hero-image img[src*="felipe-radio-2.jpg"] {
  object-position: 50% 35%;
}

/* This group photo has people seated in the lower half of the frame,
   but the very bottom is empty floor */
.program-hero-image img[src*="sessao-grupo.jpg"] {
  object-position: 50% 55%;
}


@media (max-width: 768px) {
  .program-hero-image img { height: 260px; }
  .program-hero-image { margin-top: -40px; }
}

.program-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  margin-top: 70px;
  align-items: start;
}

@media (max-width: 980px) {
  .program-layout { grid-template-columns: 1fr; }
}

.program-content h2 {
  font-size: 1.7rem;
  margin: 44px 0 18px;
}

.program-content h2:first-child { margin-top: 0; }

.program-content p {
  margin-bottom: 16px;
  color: var(--text-body);
}

.program-content .check-list {
  margin: 18px 0 8px;
}

.program-sidebar {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border-light);
  position: sticky;
  top: 110px;
}

.program-sidebar h3 {
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.sidebar-fact {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
}

.sidebar-fact:last-of-type { border-bottom: none; }

.sidebar-fact span:first-child {
  color: var(--text-muted);
}

.sidebar-fact span:last-child {
  font-weight: 600;
  color: var(--navy-900);
  text-align: right;
}

.program-sidebar .btn { margin-top: 22px; }

.tag-pill {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  margin: 4px 6px 0 0;
  color: var(--text-body);
}

.related-programs {
  margin-top: 26px;
}

.related-programs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy-900);
  transition: color var(--transition);
}

.related-programs a:last-child { border-bottom: none; }
.related-programs a:hover { color: var(--gold-600); }

/* ---------- Form ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 768px) {
  .form-card { padding: 28px; }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color var(--transition), background var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: var(--white);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 30px;
  margin-bottom: 14px;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--gold-400);
}

.faq-item summary {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gold-600);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* ---------- Misc ---------- */
.text-gold { color: var(--gold-600); }
.mt-0 { margin-top: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* These portrait photos have the subject near the top of the frame */
.about-image img[src*="felipe-apresentando.jpg"],
.about-image img[src*="pge.png"],
.about-image img[src*="mentoria-executiva.png"] {
  object-position: top;
}

.about-image img[src*="equipe-treinamento.jpg"] {
  object-position: 50% 42%;
}

.about-image img[src*="quem-somos.png"] {
  object-position: 50% 8%;
}

.about-image img[src*="quem-somos-pi.png"] {
  object-position: 50% 8%;
}

@media (max-width: 768px) {
  .about-image img { height: 360px; }
}

.about-image .float-card {
  position: absolute;
  bottom: 24px;
  right: -24px;
  background: var(--white);
  padding: 18px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  max-width: 230px;
}

@media (max-width: 768px) {
  .about-image .float-card { right: 12px; bottom: 12px; }
}

.about-image .float-card strong {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy-900);
  display: block;
}

.about-image .float-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.logo-strip span {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.value-list {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.value-list li {
  display: flex;
  gap: 18px;
}

.value-list .num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold-600);
  flex-shrink: 0;
  width: 40px;
}

.value-list h4 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.value-list p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* =========================================================
   ÁREA DE MEMBROS (LMS)
   ========================================================= */

/* ---------- Nav: usuário logado ---------- */
.nav-user {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-on-dark);
}

.nav-user svg {
  color: var(--gold-300);
}

@media (max-width: 980px) {
  .nav-user { display: none; }
}

/* ---------- Cards do dashboard (Meus Cursos) ---------- */
.dashboard-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.dashboard-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
}

.dashboard-card__media {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--grad-navy);
}

.dashboard-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-card__body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dashboard-card__body h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.dashboard-card__body p {
  color: var(--text-muted);
  font-size: 0.93rem;
  margin-bottom: 18px;
  flex: 1;
}

.dashboard-card__body .course-progress-bar {
  margin-top: 6px;
}

.dashboard-card__body .badge {
  margin-top: 12px;
  align-self: flex-start;
}

/* ---------- Barra de progresso ---------- */
.course-progress-bar {
  height: 10px;
  border-radius: 999px;
  background: var(--off-white);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.course-progress-bar__fill {
  height: 100%;
  background: var(--grad-gold);
  border-radius: 999px;
  transition: width var(--transition);
}

.page-hero .course-progress-bar {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

/* ---------- Badges de status ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge--success {
  background: rgba(37, 211, 102, 0.12);
  color: #1f9d54;
}

.badge--muted {
  background: var(--off-white);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

/* ---------- Lista de aulas (módulos) ---------- */
.lesson-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.lesson-item a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color var(--transition), background var(--transition);
}

.lesson-item a:hover {
  border-color: var(--gold-400);
  background: var(--white);
}

.lesson-item a .icon {
  color: var(--gold-600);
  flex-shrink: 0;
}

.lesson-item.is-complete a {
  border-color: rgba(37, 211, 102, 0.3);
}

.lesson-item.is-complete a .icon {
  color: #1f9d54;
}

/* ---------- Acordeão de módulos (extends .faq-item) ---------- */
.module-accordion summary {
  font-size: 1.05rem;
}

/* ---------- Player de vídeo ---------- */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: var(--shadow-card);
}

.video-wrapper video,
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-wrapper p {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark-muted);
}

/* ---------- Certificado ---------- */
.certificate {
  max-width: 920px;
  margin: 0 auto;
  background: var(--white);
  border: 10px solid var(--gold-500);
  border-radius: var(--radius-lg);
  padding: 72px 60px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

img.certificate__logo {
  height: 56px;
  width: auto;
  margin: 0 auto 28px;
}

.certificate__eyebrow {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 22px;
}

.certificate__text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.certificate__name {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy-950);
  margin: 8px 0 18px;
}

.certificate__course {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 30px;
}

.certificate__date,
.certificate__code {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.certificate__code {
  margin-top: 6px;
  font-family: monospace;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .certificate { padding: 44px 24px; border-width: 6px; }
}

@media print {
  .no-print { display: none !important; }
  .site-header, .site-footer { display: none !important; }
  body { padding-top: 0 !important; display: block !important; }
  .certificate {
    box-shadow: none;
    border: 2px solid var(--gold-500);
  }
}

/* ---------- Tabelas administrativas ---------- */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-light);
}

.admin-table th {
  background: var(--off-white);
  font-weight: 700;
  color: var(--navy-900);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: var(--off-white);
}

/* ====== MÓDULO COM SENHA ====== */
.module-lock-icon {
  display: inline-flex;
  vertical-align: middle;
  margin-right: 6px;
  opacity: 0.55;
}

.module-progress-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--border-light);
  border-radius: 20px;
  line-height: 1.6;
  flex-shrink: 0;
}

.module-progress-badge--done {
  background: #d1f0dd;
  color: #166534;
}

.module-locked-gate {
  padding: 20px 24px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  margin: 8px 0 4px;
}

.module-locked-gate > p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: 14px;
}

.module-unlock-form input[type="text"] {
  padding: 10px 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: #fff;
  transition: border-color .2s;
}

.module-unlock-form input[type="text"]:focus {
  outline: none;
  border-color: var(--gold-500);
}

/* ====== ANEXOS DE AULA ====== */
.lesson-attachments {
  margin-top: 32px;
  padding: 24px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.lesson-attachments h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--navy-900);
}

.attachment-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.attachment-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.attachment-item .icon {
  flex-shrink: 0;
  color: var(--navy-500);
}

.attachment-name {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
  word-break: break-all;
  color: var(--navy-900);
}

.attachment-size {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-icon-danger {
  background: none;
  border: none;
  cursor: pointer;
  color: #b3261e;
  padding: 4px;
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: background .15s;
  flex-shrink: 0;
}

.btn-icon-danger:hover {
  background: #fce8e6;
}
