/* =====================================================================
   Instituto Motivar e Humanizar · site.css
   Paleta: azul-petróleo profundo, dourado e verde institucional
   ===================================================================== */

:root {
  --navy-900: #071d28;
  --navy-800: #0b2634;
  --navy-700: #0d2c3d;
  --navy-600: #123a4f;
  --navy-500: #17506b;
  --gold: #d3a04a;
  --gold-light: #efc77d;
  --gold-dark: #b3822f;
  --teal: #17806a;
  --teal-dark: #116354;
  --cream: #f7f3ea;
  --cream-2: #efe9dc;
  --ink: #14232c;
  --muted: #55676f;
  --line: rgba(13, 44, 61, .12);
  --shadow-sm: 0 2px 10px rgba(7, 29, 40, .07);
  --shadow-md: 0 12px 32px rgba(7, 29, 40, .12);
  --shadow-lg: 0 24px 60px rgba(7, 29, 40, .18);
  --radius: 10px;
  --header-h: 76px;
}

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, .stat-number, .program-num {
  font-family: "Barlow Condensed", "Inter", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: 1.02;
  margin: 0 0 .55em;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: .01em; }
h3 { font-size: 1.35rem; letter-spacing: .02em; }
.h2-tight { max-width: 22ch; margin-inline: auto; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--gold); color: #fff; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--gold); color: #fff; padding: .7rem 1.1rem; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* ---------- cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1030;
  background: linear-gradient(180deg, rgba(7, 29, 40, .92), rgba(7, 29, 40, .72));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(7, 29, 40, .98);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .25);
}
.site-header .navbar { padding: .55rem 0; min-height: var(--header-h); }

.navbar-brand { display: flex; align-items: center; gap: .75rem; padding: 0; }
.brand-chip {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 8px; padding: .35rem .55rem;
  box-shadow: var(--shadow-sm);
}
.brand-chip img { height: 34px; width: auto; }
.brand-text { display: none; flex-direction: column; line-height: 1.15; }
@media (min-width: 576px) { .brand-text { display: flex; } }
.brand-text strong {
  color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}
.brand-text small { color: var(--gold-light); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }

.navbar .nav-link {
  color: rgba(255, 255, 255, .82); font-size: .78rem; font-weight: 600;
  letter-spacing: .11em; text-transform: uppercase; padding: .6rem .7rem;
  border-radius: 6px; transition: color .2s ease, background .2s ease;
}
.navbar .nav-link:hover, .navbar .nav-link:focus { color: #fff; background: rgba(255, 255, 255, .07); }
.navbar .nav-link.active { color: var(--gold-light); }

.navbar-toggler {
  border-color: rgba(255, 255, 255, .3); padding: .4rem .55rem;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,.9)' stroke-width='2.4' stroke-linecap='round' d='M4 8h22M4 15h22M4 22h22'/%3E%3C/svg%3E");
}

@media (max-width: 1199.98px) {
  .site-header .navbar-collapse {
    background: var(--navy-800); border-radius: var(--radius);
    margin-top: .6rem; padding: .6rem .6rem 1rem;
    border: 1px solid rgba(255, 255, 255, .08);
  }
  .navbar .nav-link { padding: .75rem .8rem; }
  .navbar .btn-gold { display: block; text-align: center; margin-top: .4rem; }
}

/* ---------- botões ---------- */
.btn {
  font-weight: 600; letter-spacing: .04em; border-radius: 8px;
  padding: .7rem 1.4rem; border-width: 2px; transition: all .2s ease;
}
.btn-lg { padding: .85rem 1.7rem; font-size: 1rem; }
.btn-sm { padding: .45rem .95rem; font-size: .82rem; }

.btn-gold {
  background: var(--gold); border-color: var(--gold); color: #1d1405;
  box-shadow: 0 8px 20px rgba(211, 160, 74, .28);
}
.btn-gold:hover, .btn-gold:focus { background: var(--gold-light); border-color: var(--gold-light); color: #1d1405; transform: translateY(-1px); }

.btn-outline-light.btn-ghost { background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-outline-light.btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }

.btn-navy { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.btn-navy:hover, .btn-navy:focus { background: var(--navy-600); border-color: var(--navy-600); color: #fff; transform: translateY(-1px); }

.btn-whats { background: #1faa59; border-color: #1faa59; color: #fff; display: inline-flex; align-items: center; gap: .55rem; }
.btn-whats:hover, .btn-whats:focus { background: #179148; border-color: #179148; color: #fff; transform: translateY(-1px); }

/* ---------- hero ---------- */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: min(88vh, 820px);
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  overflow: hidden; background: var(--navy-900);
}
/* a foto fica nítida, ancorada à esquerda: o orador aparece inteiro e nada de texto sobre ele.
   o texto vive na cortina escura da direita, sobre a plateia. */
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 58%; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(270deg, rgba(6, 22, 32, .97) 0%, rgba(6, 22, 32, .92) 20%, rgba(6, 22, 32, .66) 40%, rgba(6, 22, 32, .16) 58%, rgba(6, 22, 32, 0) 70%),
    linear-gradient(180deg, rgba(6, 22, 32, .30) 0%, rgba(6, 22, 32, 0) 20%);
}
.hero-wrap { position: relative; z-index: 2; width: 100%; }

.hero-card { max-width: 34rem; margin-left: auto; padding: 0; }
.hero-card .eyebrow { margin-bottom: .7rem; }
.hero h1 {
  color: #fff; font-size: clamp(1.95rem, 3.1vw, 2.7rem); line-height: 1.04;
  margin-bottom: 1.3rem; letter-spacing: .01em;
}
.hero h1 .gold { color: var(--gold-light); }

.hero-carousel { position: relative; margin-bottom: 1.5rem; }
.hero-prompt {
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-light); margin: 0 0 .45rem; font-weight: 600;
}
.hero-carousel .carousel-inner { display: grid; }
.hero-carousel .carousel-item {
  display: block; grid-area: 1 / 1; width: 100%;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .55s ease, visibility 0s linear .55s;
}
.hero-carousel .carousel-item.active {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity .55s ease, visibility 0s linear 0s;
}
.hero-phrase {
  font-family: "Barlow Condensed", "Inter", sans-serif;
  font-size: clamp(1.12rem, 1.75vw, 1.5rem); line-height: 1.28;
  color: rgba(255, 255, 255, .92); margin: 0; letter-spacing: .005em;
}
.hero-phrase strong { color: var(--gold-light); font-weight: 600; }

.hero-dots {
  position: static; margin: .9rem 0 0; display: flex; gap: .4rem; justify-content: flex-start;
}
.hero-dots [data-bs-target] {
  width: 26px; height: 4px; border-radius: 2px; border: 0; padding: 0;
  background: rgba(255, 255, 255, .28); opacity: 1; transition: background .2s ease, width .2s ease;
}
.hero-dots .active { background: var(--gold); width: 40px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.15rem; }
.hero-foot {
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .58); margin: 0;
}

/* ---------- seções ---------- */
.section { padding: clamp(3.2rem, 7vw, 5.6rem) 0; }
.section-cream { background: var(--cream); }
.section-white { background: #fff; }
.section-dark { background: var(--navy-700); color: #fff; }
.section-navy-soft { background: linear-gradient(180deg, var(--navy-800), var(--navy-700)); color: #fff; }
.section-dark h2, .section-navy-soft h2 { color: #fff; }
.section-dark p, .section-navy-soft p { color: rgba(255, 255, 255, .82); }
.section-dark .lead-text, .section-navy-soft .lead-text { color: rgba(255, 255, 255, .88); }

.section-head { max-width: 46rem; margin-bottom: 2.4rem; }
.section-head .lead-text { color: var(--muted); }
.section-dark .section-head .lead-text, .section-navy-soft .section-head .lead-text { color: rgba(255, 255, 255, .8); }

.eyebrow {
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: .9rem; display: block;
}
.eyebrow-dark { color: var(--gold-dark); }

.lead-text { font-size: 1.06rem; color: var(--muted); }

/* ---------- números ---------- */
.stats {
  background: var(--cream); border-top: 4px solid var(--gold);
  padding: 2.6rem 0 2rem;
}
.stat-number {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem); color: var(--navy-700); margin: 0 0 .2rem; line-height: 1;
}
.stat-label {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); font-weight: 600; margin: 0; line-height: 1.5;
}
.stat-label span { color: var(--muted); font-weight: 500; }
.stat-note {
  font-size: .74rem; color: var(--muted); margin: .35rem 0 0; line-height: 1.4;
}

/* ---------- passos ---------- */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  flex: 0 0 2.4rem; height: 2.4rem; display: grid; place-items: center;
  border-radius: 50%; background: var(--navy-700); color: var(--gold-light);
  font-family: "Barlow Condensed", sans-serif; font-size: 1.2rem; font-weight: 700;
}
.steps h3 { font-size: 1.12rem; margin-bottom: .25rem; color: var(--navy-700); }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- cartões de vídeo ---------- */
.video-card {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--navy-900); box-shadow: var(--shadow-md);
}
.video-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-card-tall img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.video-card-1999 img { aspect-ratio: 4 / 3; }
.video-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(4, 18, 26, .92) 0%, rgba(4, 18, 26, .15) 45%, rgba(4, 18, 26, 0) 70%);
}
.video-card figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1.1rem 1.2rem;
  color: #fff; display: grid; gap: .2rem;
}
.video-card figcaption strong { font-size: .98rem; line-height: 1.35; }
.video-card figcaption span { font-size: .82rem; color: rgba(255, 255, 255, .78); }

.play-btn {
  position: absolute; z-index: 3; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 4.5rem; height: 4.5rem; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: var(--navy-700);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  transition: transform .2s ease, background .2s ease;
}
.play-btn:hover, .play-btn:focus { transform: translate(-50%, -50%) scale(1.08); background: var(--gold); }
.play-icon {
  width: 0; height: 0; margin-left: .3rem;
  border-left: 1.05rem solid currentColor;
  border-top: .68rem solid transparent;
  border-bottom: .68rem solid transparent;
}
.play-btn.play-sm { width: 3.2rem; height: 3.2rem; }
.play-btn.play-sm .play-icon { border-left-width: .8rem; border-top-width: .52rem; border-bottom-width: .52rem; }

/* ---------- pilares ---------- */
.pillar {
  height: 100%; padding: 1.6rem 1.4rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-top: 3px solid var(--gold);
}
.pillar h3 { color: var(--gold-light); font-size: 1.25rem; }
.pillar p { font-size: .95rem; color: rgba(255, 255, 255, .8); margin: 0; }

.manifesto {
  margin: 3rem auto 0; max-width: 44rem; text-align: center;
  border: 0; padding: 1.8rem 1rem 0; border-top: 1px solid rgba(255, 255, 255, .18);
}
.manifesto p {
  font-family: "Barlow Condensed", sans-serif; font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  text-transform: uppercase; color: #fff; letter-spacing: .02em; line-height: 1.2;
}
.manifesto cite { font-style: normal; font-size: .78rem; letter-spacing: .2em; color: var(--gold-light); text-transform: uppercase; }

/* ---------- programas ---------- */
.program-card {
  height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.program-media { position: relative; background: var(--navy-900); }
.program-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* barra "assistir" na base da imagem, como na página 4 da peça aprovada */
.program-video {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: .55rem; width: 100%;
  padding: .72rem 1rem; border: 0; text-align: left; cursor: pointer;
  font-size: .72rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  color: #fff; background: linear-gradient(0deg, rgba(7, 29, 40, .97), rgba(7, 29, 40, .84));
  transition: color .2s ease, background .2s ease;
}
.program-video .play-icon {
  border-left-width: .58rem; border-top-width: .4rem; border-bottom-width: .4rem;
  margin-left: .1rem; color: var(--gold-light);
}
.program-video:hover, .program-video:focus-visible { color: var(--gold-light); background: rgba(7, 29, 40, .99); }
.program-body { padding: 1.3rem 1.4rem 1.5rem; position: relative; }
.program-num {
  position: absolute; top: .85rem; left: .85rem; z-index: 2;
  background: var(--gold); color: #22190a; font-size: 1rem; letter-spacing: .06em;
  padding: .28rem .68rem; border-radius: 6px; margin: 0; box-shadow: 0 6px 14px rgba(211, 160, 74, .35);
}
.program-body h3 { color: var(--navy-700); font-size: 1.35rem; margin-bottom: .4rem; }
.program-quote { color: var(--gold-dark); font-weight: 600; font-size: .95rem; margin-bottom: .5rem; }
.program-body p:last-child { color: var(--muted); font-size: .95rem; }

.section-cta {
  margin-top: 2.8rem; padding: 1.6rem 1.8rem; border-radius: var(--radius);
  background: var(--navy-700); color: #fff;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.section-cta p {
  margin: 0; font-family: "Barlow Condensed", sans-serif; text-transform: uppercase;
  font-size: 1.3rem; letter-spacing: .02em;
}

/* ---------- mídia e fatos ---------- */
.media-frame { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.media-frame-soft { box-shadow: var(--shadow-md); }
.media-frame img { width: 100%; }
.media-frame figcaption {
  background: #fff; color: var(--muted); font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; padding: .6rem .9rem;
}
.section-dark .media-frame figcaption, .section-navy-soft .media-frame figcaption {
  background: rgba(7, 29, 40, .92); color: var(--gold-light);
}

.facts { display: flex; flex-wrap: wrap; gap: 1.8rem 2.4rem; margin-top: 2rem; }
.facts div { display: grid; gap: .1rem; }
.facts strong {
  font-family: "Barlow Condensed", sans-serif; font-size: 2rem; color: var(--navy-700); line-height: 1;
}
.facts span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- galeria ---------- */
.gallery { margin-top: 3.4rem; }
.gallery-title {
  font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; font-size: 1.3rem;
  color: var(--navy-700); letter-spacing: .03em; margin-bottom: 1rem;
}
.gal { margin: 0; position: relative; border-radius: 8px; overflow: hidden; background: var(--navy-900); }
.gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gal:hover img { transform: scale(1.04); }
.gal figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem .7rem .55rem;
  background: linear-gradient(0deg, rgba(4, 18, 26, .92), rgba(4, 18, 26, 0));
  color: #fff; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
}

.institutions { margin-top: 2.4rem; padding: 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.institutions img { width: 100%; }

/* ---------- curso ---------- */
.chips { list-style: none; padding: 0; margin: 1.6rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .42rem .9rem; font-size: .86rem; color: var(--navy-700); font-weight: 500;
}
.reserve-box {
  background: #fff; border-left: 4px solid var(--gold); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm);
  display: grid; gap: 1rem; justify-items: start;
}
.reserve-box p { color: var(--muted); font-size: .96rem; }
.reserve-box strong { color: var(--navy-700); }

/* ---------- encerramento ---------- */
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 1.9rem; color: rgba(255, 255, 255, .88); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .35rem; width: 1.1rem; height: .6rem;
  border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg);
}
.quote-line {
  margin: 0 0 1.6rem; padding-left: 1.1rem; border-left: 3px solid var(--gold);
  font-size: 1.05rem; color: #fff; font-style: italic;
}

/* ---------- contato ---------- */
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.contact-list li { display: grid; gap: .1rem; }
.contact-label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; }
.contact-list a { font-size: 1.15rem; font-weight: 600; color: var(--navy-700); text-decoration: none; }
.contact-list a:hover { color: var(--gold-dark); }

.proposal-form {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm);
}
.proposal-form .form-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--navy-700); }
.proposal-form .form-control, .proposal-form .form-select {
  background: #fff; border: 1px solid rgba(13, 44, 61, .18); border-radius: 8px;
  padding: .7rem .85rem; font-size: .96rem;
}
.proposal-form .form-control:focus, .proposal-form .form-select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(211, 160, 74, .22);
}
.proposal-form .is-invalid { border-color: #c0392b; }
.form-hint { color: var(--muted); font-size: .8rem; max-width: 22rem; }

/* ---------- rodapé ---------- */
.site-footer {
  background: var(--navy-900); color: rgba(255, 255, 255, .8);
  padding: 3rem 0 1.6rem; font-size: .92rem;
}
.site-footer hr { border-color: rgba(255, 255, 255, .14); margin: 2rem 0 1rem; }
.footer-line { margin: 0 0 .25rem; }
.footer-line.small { font-size: .8rem; color: rgba(255, 255, 255, .6); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.brand-chip-footer img { height: 42px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; }
.footer-bottom p { margin: 0; }
.footer-bottom .small { color: rgba(255, 255, 255, .5); }

/* ---------- whatsapp flutuante ---------- */
.whats-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 1040;
  width: 3.4rem; height: 3.4rem; border-radius: 50%;
  background: #1faa59; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(31, 170, 89, .45);
  transition: transform .2s ease, background .2s ease;
}
.whats-float:hover, .whats-float:focus { background: #179148; color: #fff; transform: scale(1.06); }

/* ---------- modal de vídeo ---------- */
#modalVideo.show { display: flex !important; align-items: center; justify-content: center; padding: 1rem; }
#modalVideo .modal-dialog {
  min-height: 0; margin: 0; width: 100%;
  max-width: min(var(--video-max, 800px), calc(100vw - 1.5rem));
}
#modalVideo .modal-content {
  background: var(--navy-900); border: 0; border-radius: var(--radius); overflow: hidden;
}
#modalVideo .modal-header { border-bottom: 1px solid rgba(255, 255, 255, .12); }
#modalVideo .modal-title { color: #fff; font-family: "Inter", sans-serif; font-size: .95rem; text-transform: none; letter-spacing: 0; }
#modalVideo .video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; }
#modalVideo .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#modalVideo .video-fonte { margin: .7rem 0 0; font-size: .74rem; letter-spacing: .06em; color: rgba(255, 255, 255, .5); }

/* ---------- animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gal img, .program-card, .btn, .play-btn, .whats-float { transition: none; }
}

/* ---------- hero no celular e no tablet: foto em cima, painel embaixo ---------- */
@media (max-width: 991.98px) {
  .hero { display: block; min-height: 0; padding: var(--header-h) 0 2rem; }
  .hero-bg {
    position: relative; inset: auto; width: 100%; height: 40vh; min-height: 280px;
    object-position: 24% 42%;
  }
  .hero-shade { display: none; }
  .hero-wrap { z-index: 1; }
  .hero-card {
    max-width: none; margin: -2.6rem auto 0; padding: 1.6rem 1.4rem 1.5rem;
    background: var(--navy-900); border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
  }
  .hero-phrase { font-size: clamp(1.05rem, 3.4vw, 1.3rem); }
}

/* ---------- ajustes finos ---------- */
@media (max-width: 575.98px) {
  .hero-bg { height: 34vh; min-height: 240px; }
  .hero h1 { font-size: 1.72rem; }
  .hero-card { margin-top: -2rem; }
  .hero-actions .btn { width: 100%; }
  .section-cta { flex-direction: column; align-items: flex-start; }
  .facts { gap: 1.2rem 1.6rem; }
  .facts strong { font-size: 1.7rem; }
  .stat-label { font-size: .72rem; }
  .video-card figcaption { padding: .9rem .9rem; }
  .video-card figcaption strong { font-size: .88rem; }
}
