/* =========================================================
   EXPANSÃO Treinamentos Corporativos — Dr. Cidinei Martins
   Identidade visual extraída de apoio/Brandkit básico.ai
   ========================================================= */

:root {
  --verde: #0a572c;
  --verde-escuro: #073d1f;
  --marinho: #112738;
  --chumbo: #252f35;
  --cinza-claro: #cfdadf;
  --azul-acinzentado: #567888;
  --branco: #ffffff;
  --off-white: #f7f9f8;

  --fonte-titulo: "Source Serif 4", Georgia, "Times New Roman", serif;
  --fonte-corpo: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1400px;
  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(17, 39, 56, 0.35);
  --shadow-sm: 0 8px 24px -12px rgba(17, 39, 56, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fonte-corpo);
  color: var(--chumbo);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--fonte-titulo);
  color: var(--marinho);
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 600;
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--verde);
  display: inline-block;
}

.section {
  padding: 96px 0;
}
.section--tight { padding: 64px 0; }
.section--dark {
  background: var(--verde-escuro);
  color: #d9e3e8;
}
.section--dark h2, .section--dark h3 { color: var(--branco); }
.section--dark .eyebrow { color: #a9e6c2; }
.section--dark .eyebrow::before { background: #a9e6c2; }
.section--soft {
  background: linear-gradient(180deg, var(--off-white) 0%, #eef3f2 100%);
}

.section-head {
  max-width: 700px;
  margin: 0 0 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.section-head .lead { font-size: 1.08rem; color: #4b5b62; }
.section--dark .section-head .lead { color: #b9cbd2; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--verde);
  color: var(--branco);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--verde-escuro); box-shadow: var(--shadow); }
.hero .btn--primary { background: var(--branco); color: var(--verde-escuro); }
.hero .btn--primary:hover { background: #eafff1; }
.btn--ghost {
  background: transparent;
  color: var(--branco);
  border-color: rgba(255,255,255,0.45);
}
.btn--ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--branco); }
.btn--outline-dark {
  background: transparent;
  color: var(--marinho);
  border-color: var(--marinho);
}
.btn--outline-dark:hover { background: var(--verde); border-color: var(--verde); color: var(--branco); }
.btn--sm { padding: 10px 20px; font-size: 0.88rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
.header.is-scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(17,39,56,0.08);
  padding: 10px 0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  position: relative;
  display: flex;
  align-items: center;
  height: 46px;
}
.brand__logo {
  height: 46px;
  width: auto;
  transition: opacity .25s ease;
}
.brand__logo--dark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
}
.header.is-scrolled .brand__logo--light { opacity: 0; }
.header.is-scrolled .brand__logo--dark { opacity: 1; }

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--branco);
  opacity: 0.85;
  transition: opacity .2s ease, color .2s ease;
}
.nav__links a:hover { opacity: 1; }
.header.is-scrolled .nav__links a { color: var(--chumbo); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--branco); transition: background .2s ease;
}
.header.is-scrolled .nav-toggle span { background: var(--marinho); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--verde-escuro), var(--verde) 60%, #146b3a);
  color: var(--branco);
  padding: 168px 0 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(207,218,223,0.1) 0, transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(7,61,31,0.4) 0, transparent 50%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
}
.hero__content { padding-bottom: 72px; max-width: 560px; }
.hero .eyebrow { color: var(--cinza-claro); }
.hero .eyebrow::before { background: var(--cinza-claro); }
.hero h1 {
  color: var(--branco);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  letter-spacing: -0.01em;
}
.hero h1 em {
  font-style: normal;
  color: #a9e6c2;
}
.hero__sub {
  font-size: 1.12rem;
  color: #cfe0e6;
  max-width: 540px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}
.hero__figure {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}
.hero__mark {
  position: absolute;
  z-index: 1;
  width: 760px;
  max-width: 92vw;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero__portrait {
  max-height: 840px;
  width: auto;
  position: relative;
  z-index: 2;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 66%, transparent 86%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 66%, transparent 86%);
}
.hero__figure::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(207,218,223,0.18) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.hero__wave {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 56px;
  position: relative;
  z-index: 2;
}

/* ---------- Marquee / clientes ---------- */
.marquee {
  background: var(--off-white);
  padding: 22px 0;
  border-bottom: 1px solid #e4eae9;
}
.marquee__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.marquee__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--azul-acinzentado);
}
.marquee__items {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: var(--fonte-titulo);
  font-size: 1rem;
  color: var(--chumbo);
  opacity: 0.75;
}

/* ---------- Sobre / trainer ---------- */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__credentials {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.about__credentials li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: #384850;
}
.about__credentials svg {
  flex: none;
  width: 22px; height: 22px;
  color: var(--verde);
  margin-top: 2px;
}

/* ---------- Alerta NR-01 ---------- */
.alert-block {
  background: var(--branco);
  border: 1px solid #e4eae9;
  border-left: 6px solid var(--verde);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.alert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.alert-block h3 { font-size: 1.5rem; }
.alert-quote {
  font-family: var(--fonte-titulo);
  font-size: 1.3rem;
  color: var(--marinho);
  border-left: 3px solid var(--cinza-claro);
  padding-left: 20px;
  margin: 0 0 20px;
}

/* ---------- Público-alvo ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.audience-card {
  background: var(--branco);
  border: 1px solid #e4eae9;
  border-radius: var(--radius);
  padding: 24px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.audience-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: var(--cinza-claro);
}
.audience-card svg { flex: none; width: 26px; height: 26px; color: var(--verde); }
.audience-card h4 { font-size: 1rem; margin-bottom: 4px; color: var(--marinho); }
.audience-card p { font-size: 0.88rem; color: #5c6b71; margin: 0; }

/* ---------- Objetivo ---------- */
.objective {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.objective__panel {
  background: var(--verde-escuro);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--branco);
  position: relative;
  overflow: hidden;
}
.objective__panel::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(10,87,44,0.5), transparent 70%);
}
.objective__panel p { color: #cfe0e6; position: relative; z-index: 1; }
.objective__panel .eyebrow { color: #a9e6c2; position: relative; z-index: 1; }
.objective__panel .eyebrow::before { background: #a9e6c2; }

/* ---------- Pilares ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar-card {
  background: var(--branco);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--verde);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pillar-card:nth-child(2) { border-top-color: var(--azul-acinzentado); }
.pillar-card:nth-child(3) { border-top-color: var(--marinho); }
.pillar-card__num {
  font-family: var(--fonte-titulo);
  font-size: 0.95rem;
  color: var(--azul-acinzentado);
  font-weight: 600;
}
.pillar-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.pillar-card ul {
  margin: 6px 0 0;
  padding-left: 20px;
  color: #48585f;
  font-size: 0.92rem;
  display: grid;
  gap: 8px;
}
.pillar-card .result {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed #dde5e4;
  font-size: 0.88rem;
  color: var(--verde);
  font-weight: 600;
}

/* ---------- Jornada / galeria ---------- */
.journey-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  grid-auto-flow: dense;
  gap: 14px;
}
.journey-gallery figure {
  margin: 0;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
}
.journey-gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.journey-gallery figure:hover img { transform: scale(1.06); }
.journey-gallery figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(17,39,56,0.85) 100%);
  pointer-events: none;
}
.journey-gallery figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 12px;
  color: var(--branco);
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 2;
}
.journey-gallery .span-2 { grid-column: span 2; }
.journey-gallery .span-2-rows { grid-row: span 2; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  text-align: center;
}
.stats-row strong {
  display: block;
  font-family: var(--fonte-titulo);
  font-size: 2.2rem;
  color: var(--branco);
}
.stats-row span { font-size: 0.85rem; color: #a9bcc4; }

/* ---------- Depoimento / entrevistas ---------- */
.media-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.media-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.media-card img { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; display: block; }
.media-card__tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--verde);
  color: var(--branco);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 18px;
}
.media-card__tag::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #a9e6c2;
}

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(120deg, var(--verde-escuro), var(--verde) 60%, #146b3a);
  color: var(--branco);
  border-radius: 24px;
  padding: 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-final::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255,255,255,0.14), transparent 55%);
}
.cta-final h2 { color: var(--branco); font-size: clamp(1.8rem, 3.4vw, 2.6rem); position: relative; }
.cta-final p { color: #dff2e6; max-width: 560px; margin-left: auto; margin-right: auto; position: relative; }
.cta-final__actions {
  position: relative;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.cta-final .btn--primary { background: var(--branco); color: var(--verde-escuro); }
.cta-final .btn--primary:hover { background: #eafff1; }

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
  position: relative;
}
.contact-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 20px 22px;
  text-align: left;
}
.contact-card span { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #dff2e6; margin-bottom: 4px; }
.contact-card strong { font-family: var(--fonte-titulo); font-size: 1.15rem; }
.contact-card a { display: flex; align-items: center; gap: 10px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--verde-escuro);
  color: #a9c2b2;
  padding: 64px 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand img { height: 46px; margin-bottom: 16px; }
.footer__brand p { max-width: 320px; font-size: 0.92rem; }
.footer h5 {
  color: var(--branco);
  font-family: var(--fonte-corpo);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { font-size: 0.92rem; transition: color .2s ease; }
.footer a:hover { color: var(--branco); }
.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #7f97a0;
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: #1fae5f;
  color: var(--branco);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(10,87,44,0.55);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ---------- Lightbox da galeria ---------- */
[data-gallery] img { cursor: zoom-in; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  background: rgba(8, 18, 24, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.lightbox-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s ease;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--branco);
  cursor: pointer;
  transition: background .2s ease;
}
.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(255,255,255,0.22); }
.lightbox-close { top: 18px; right: 18px; width: 40px; height: 40px; }
.lightbox-close svg { width: 18px; height: 18px; }
.lightbox-nav { top: 50%; width: 46px; height: 46px; margin-top: -23px; }
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-nav--prev { left: 10px; }
.lightbox-nav--next { right: 10px; }
@media (min-width: 640px) {
  .lightbox-nav--prev { left: 22px; }
  .lightbox-nav--next { right: 22px; }
}

.lightbox-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 72px 64px 12px;
}
.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: var(--shadow);
  touch-action: none;
  user-select: none;
}
.lightbox-caption {
  margin: 0;
  text-align: center;
  color: #cfdadf;
  font-size: 0.85rem;
  padding: 0 24px 14px;
}
.lightbox-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  overflow-x: auto;
  padding: 0 16px 22px;
}
.lightbox-thumbs img {
  width: 56px;
  height: 56px;
  flex: none;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: .5;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: opacity .2s ease, outline-color .2s ease;
}
.lightbox-thumbs img:hover { opacity: .85; }
.lightbox-thumbs img.is-active { opacity: 1; outline-color: var(--branco); }

@media (max-width: 640px) {
  .lightbox-stage { padding: 60px 16px 8px; }
  .lightbox-thumbs img { width: 44px; height: 44px; }
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { text-align: center; max-width: none; }
  .hero__content .eyebrow { justify-content: center; }
  .hero__actions { justify-content: center; }
  .hero__figure {
    order: -1;
    height: 440px;
    max-height: none;
    overflow: hidden;
    align-items: flex-start;
  }
  .hero__figure::before { display: none; }
  .hero__mark { width: 420px; top: 40%; opacity: 0.45; }
  .hero__portrait {
    max-height: none;
    height: 620px;
    width: auto;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 50%, transparent 68%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 50%, transparent 68%);
  }
  .about { grid-template-columns: 1fr; }
  .alert-grid { grid-template-columns: 1fr; }
  .objective { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .journey-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .media-strip { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav-toggle { display: flex; }
  .header .btn--primary.btn--sm { display: none; }
  .nav--open .nav__links {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--branco);
    box-shadow: var(--shadow-sm);
    padding: 8px 24px 18px;
  }
  .nav--open .nav__links a {
    color: var(--marinho);
    opacity: 1;
    padding: 12px 0;
    border-bottom: 1px solid #eef1f0;
  }
  .section { padding: 64px 0; }
  .hero { padding-top: 128px; }
  .hero__content { padding-bottom: 40px; }
  .audience-grid { grid-template-columns: 1fr; }
  .journey-gallery { grid-template-columns: 1fr 1fr; }
  .journey-gallery .span-2 { grid-column: span 2; }
  .cta-final { padding: 40px 24px; }
  .alert-block { padding: 26px; }
}
