/* ============================================================
   HEXA Engenharia de Explosivos — Home
   ============================================================ */

:root {
  --bg: #F3F4F1;
  --ink: #171B20;
  --ink-deep: #101317;
  --amber: #F7A600;
  --amber-dark: #8A5B00; /* escurecido p/ contraste AA em texto (era #A66E00) */
  --gold-light: #FFD782;
  --muted: #5B636C;
  --body-text: #444B54;
  --container: min(1240px, calc(100vw - 48px));
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--amber-dark); text-decoration: none; }
a:hover { color: var(--ink); }
::selection { background: var(--amber); color: var(--ink); }

img { max-width: 100%; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.container { width: var(--container); margin: 0 auto; }

.eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
}
.eyebrow--light { color: var(--amber); }

.section-title {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.08;
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.section-title--light { color: #FFFFFF; }

/* ===================== FUNDO VIVO (liquid glass) ===================== */
.stats, .solutions, .presence, .values, .steps {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.stats::before, .solutions::before, .presence::before, .values::before, .steps::before,
.stats::after, .solutions::after, .presence::after, .values::after, .steps::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.stats::before, .solutions::before, .presence::before, .values::before, .steps::before {
  width: 560px;
  height: 560px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, rgba(247, 166, 0, 0.26), transparent 68%);
}
.stats::after, .solutions::after, .presence::after, .values::after, .steps::after {
  width: 660px;
  height: 660px;
  bottom: -240px;
  left: -180px;
  background: radial-gradient(circle, rgba(23, 27, 32, 0.14), transparent 70%);
}
.solutions::before { top: auto; bottom: -180px; right: 6%; }
.solutions::after { top: -220px; bottom: auto; left: -140px; background: radial-gradient(circle, rgba(166, 110, 0, 0.18), transparent 70%); }
.presence::before { top: 30%; right: -200px; }

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: min(1240px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 12px 40px rgba(23, 27, 32, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.nav__logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__logo img { height: 38px; display: block; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 600;
}
.nav__link {
  color: var(--ink);
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.nav__link:hover { background: rgba(255, 255, 255, 0.8); color: var(--ink); }

.nav__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(247, 166, 0, 0.4);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__cta:hover { background: var(--ink); color: #FFFFFF; }

.nav__toggle {
  display: none;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
}
.hero__bg {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
  opacity: 0;                 /* fica oculto até o CMS aplicar o poster/vídeo correto */
  transition: opacity 0.5s ease;
  animation: heroBgReveal 0.01s linear 3s forwards; /* fallback: revela após 3s se o JS não rodar */
}
.hero__bg.is-ready { opacity: 1; }
@keyframes heroBgReveal { to { opacity: 1; } }
.hero__bg img, .hero__bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav__cta { display: inline-flex; align-items: center; gap: 8px; }
.nav__cta-icon { flex-shrink: 0; }
.footer__social { display: flex; gap: 12px; margin-top: 16px; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.8);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer__social a:hover { background: var(--amber); color: var(--ink); transform: translateY(-2px); }
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(23, 27, 32, 0.35) 0%, rgba(23, 27, 32, 0.05) 45%, rgba(23, 27, 32, 0.55) 100%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto;
  padding: 160px 0 56px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: end;
}
.hero__card {
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(3px) saturate(1.1);
  -webkit-backdrop-filter: blur(3px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 44px 48px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.hero__eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.hero__eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--amber);
  display: inline-block;
}
.hero__title {
  margin: 0 0 18px;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.02;
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-wrap: balance;
}
.hero__lead {
  margin: 0 0 28px;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  max-width: 56ch;
  text-wrap: pretty;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(247, 166, 0, 0.45);
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-primary:hover { background: #FFFFFF; color: var(--ink); }

.btn-ghost {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.2s ease;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.28); color: #FFFFFF; }

.hero__stats { display: grid; gap: 12px; }
.hero__stat {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 20px 24px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.hero__stat-num {
  font-size: 40px;
  font-weight: 800;
  font-stretch: 115%;
  color: var(--gold-light);
}
.hero__stat-label {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* ===================== STATS ===================== */
.stats { width: var(--container); margin: -1px auto 0; padding: 72px 0 24px; }
.stats__head { margin-bottom: 20px; }
.stats__head .eyebrow { margin: 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 10px 34px rgba(23, 27, 32, 0.07);
}
.stat-card__num {
  font-size: 46px;
  font-weight: 800;
  font-stretch: 115%;
  color: var(--ink);
  line-height: 1;
}
.stat-card__label { margin-top: 10px; font-size: 16px; font-weight: 700; color: var(--ink); }
.stat-card__desc { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ===================== NOSSO JEITO ===================== */
.way { width: var(--container); margin: 0 auto; padding: 80px 0; }
.way__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.way__media { position: relative; }
.way__media > img {
  width: 100%;
  border-radius: 28px;
  display: block;
  box-shadow: 0 24px 60px rgba(23, 27, 32, 0.18);
}
.way__badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.way__badge-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 5px rgba(247, 166, 0, 0.25);
  flex-shrink: 0;
}
.way__badge-text { font-size: 15px; font-weight: 700; color: var(--ink); }
.way__text {
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body-text);
  text-wrap: pretty;
}
.way__items { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) { .way__items { grid-template-columns: 1fr; } }
.way__item {
  display: flex;
  gap: 18px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 8px 26px rgba(23, 27, 32, 0.06);
}
.way__item-num {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  font-weight: 800;
  font-size: 18px;
}
.way__item h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; color: var(--ink); }
.way__item p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ===================== SEGURANÇA ===================== */
.safety {
  position: relative;
  background: var(--ink-deep);
  padding: 100px 0;
  overflow: hidden;
}
.safety__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  display: block;
}
.safety__inner {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  max-width: 860px;
  text-align: center;
  box-sizing: border-box;
  padding: 56px 48px;
  background: rgba(16, 19, 23, 0.3);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
}
.safety__inner .section-title { font-size: clamp(34px, 4vw, 54px); }
.safety__text {
  margin: 0 auto;
  max-width: 68ch;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  text-wrap: pretty;
}

/* ===================== SOLUÇÕES ===================== */
.solutions { padding: 90px 0; }
.solutions__inner { width: var(--container); margin: 0 auto; }
.solutions__head { max-width: 760px; margin-bottom: 44px; }
.solutions__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body-text);
  text-wrap: pretty;
}
.solutions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.solution-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 30px 32px;
  box-shadow: 0 10px 34px rgba(23, 27, 32, 0.07);
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.solution-card__media {
  height: 150px;
  margin: -30px -32px 22px;
  overflow: hidden;
  flex-shrink: 0;
}
.solution-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.solution-card:hover .solution-card__media img { transform: scale(1.05); }
.solution-card:hover {
  color: inherit;
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(23, 27, 32, 0.13);
}
.solution-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  font-stretch: 110%;
  color: var(--ink);
  text-wrap: balance;
}
.solution-card p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.solution-card__link {
  margin-top: auto;
  font-size: 15px;
  font-weight: 700;
  color: var(--amber-dark);
}
.solution-card:hover .solution-card__link { color: var(--ink); }
.solution-card--cta {
  background: var(--ink);
  border-color: var(--ink);
}
.solution-card--cta h3 { color: #FFFFFF; }
.solution-card--cta p { color: rgba(255, 255, 255, 0.75); }
.solution-card--cta .btn-primary { margin-top: auto; align-self: flex-start; }

/* ===================== SEGMENTOS ===================== */
.segments {
  background: var(--ink);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.segments__inner { width: var(--container); margin: 0 auto; position: relative; z-index: 1; }
.segments__head {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: center;
  margin-bottom: 44px;
}
.segments__head-copy { max-width: 760px; }
.segments__head-copy p:last-child {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  text-wrap: pretty;
}
.segments__figure {
  width: 100%;
  max-width: 360px;
  display: block;
  justify-self: end;
  filter: drop-shadow(0 24px 50px rgba(0, 0, 0, 0.45));
  animation: floatY 7s ease-in-out infinite;
}
.segments__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 20px;
  align-items: stretch;
}
.segments__tabs { display: flex; flex-direction: column; gap: 8px; }
.seg-tab {
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 18px 22px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}
.seg-tab.is-active {
  font-weight: 700;
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 10px 28px rgba(247, 166, 0, 0.35);
}
.segments__panel {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 480px;
  background: #22272E;
}
.segments__panel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.segments__panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 27, 32, 0.55) 0%, rgba(23, 27, 32, 0.05) 60%);
  pointer-events: none;
}
.segments__card {
  position: absolute;
  left: 22px;
  bottom: 22px;
  width: min(440px, calc(100% - 44px));
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(26px) saturate(1.5);
  -webkit-backdrop-filter: blur(26px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.segments__card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  font-stretch: 112%;
  color: #FFFFFF;
}
.segments__card-desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}
.segments__bullets { display: grid; gap: 8px; margin-bottom: 20px; }
.segments__bullet { display: flex; gap: 10px; align-items: baseline; }
.segments__bullet-mark {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--amber);
  flex-shrink: 0;
  transform: rotate(45deg);
  position: relative;
  top: -1px;
}
.segments__bullet span:last-child {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}
.segments__bullet strong { color: #FFFFFF; }
.segments__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.segments__cta:hover { background: #FFFFFF; color: var(--ink); }

/* ===================== GALERIA / SOLUÇÕES ===================== */
.gallery { padding: 90px 0 40px; overflow: hidden; }
.gallery__head {
  width: var(--container);
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: end;
}
.gallery__head-text {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body-text);
  text-wrap: pretty;
}
.btn-dark {
  display: inline-flex;
  background: var(--ink);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-dark:hover { background: var(--amber); color: var(--ink); }
.gallery__track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: marquee var(--marquee-dur, 45s) linear infinite;
}
.gallery__track img {
  height: 300px;
  width: auto;
  max-width: none;
  border-radius: 20px;
  display: block;
  box-shadow: 0 12px 34px rgba(23, 27, 32, 0.14);
}

/* ===================== PRESENÇA ===================== */
.presence { width: var(--container); margin: 0 auto; padding: 90px 0 40px; }
.presence__head { max-width: 760px; margin-bottom: 40px; }
.presence__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body-text);
  text-wrap: pretty;
}
.presence__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.presence-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 26px 28px;
  box-shadow: 0 10px 34px rgba(23, 27, 32, 0.07);
}
.presence-card__pin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-dark);
  background: rgba(247, 166, 0, 0.14);
  border: 1px solid rgba(247, 166, 0, 0.35);
  border-radius: 999px;
  padding: 6px 14px;
}
.presence-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  font-stretch: 110%;
  color: var(--ink);
}
.presence-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.presence-card--cta { background: var(--ink); border-color: var(--ink); }
.presence-card--cta h3 { color: #FFFFFF; }
.presence-card--cta p { color: rgba(255, 255, 255, 0.75); margin-bottom: 18px; }
.presence-card--cta .btn-dark {
  margin-top: auto;
  align-self: flex-start;
  background: var(--amber);
  color: var(--ink);
}
.presence-card--cta .btn-dark:hover { background: #FFFFFF; }

/* ===================== CONTEÚDOS / VÍDEOS ===================== */
.videos { background: var(--ink); padding: 90px 0; }
.videos__inner { width: var(--container); margin: 0 auto; }
.videos__head { max-width: 760px; margin-bottom: 40px; }
.videos__text {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  text-wrap: pretty;
}
.videos__feature {
  margin-bottom: 24px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.videos__feature video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}
.videos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  padding: 28px 30px;
  color: inherit;
  transition: transform 0.25s ease, background 0.25s ease;
}
.video-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.4s ease;
}
.video-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(200deg, rgba(16, 19, 23, 0.25) 0%, rgba(16, 19, 23, 0.88) 80%);
}
.video-card:hover { transform: translateY(-4px); color: inherit; }
.video-card:hover .video-card__bg { transform: scale(1.05); }
.video-card__play {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(247, 166, 0, 0.4);
}
.video-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  font-stretch: 110%;
  color: #FFFFFF;
}
.video-card p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}
.video-card__link {
  margin-top: auto;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-light);
}
.videos__foot { margin-top: 36px; }

/* ===================== PROJETOS ===================== */
.projects { width: var(--container); margin: 0 auto; padding: 70px 0 80px; }
.projects__head { margin-bottom: 40px; max-width: 720px; }
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 38px rgba(23, 27, 32, 0.08);
}
.project-card__media { height: 240px; }
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-card__body { padding: 24px 26px 28px; }
.project-card__tag {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-dark);
}
.project-card__body h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  font-stretch: 110%;
  color: var(--ink);
}
.project-card__body p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* ===================== DEPOIMENTOS ===================== */
.testimonials {
  position: relative;
  padding: 90px 0;
  background: var(--ink);
  overflow: hidden;
}
.testimonials__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  display: block;
}
.testimonials__inner { position: relative; width: var(--container); margin: 0 auto; }
.testimonials__head { margin-bottom: 40px; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 22px;
  padding: 30px;
}
.quote-card__mark {
  font-size: 44px;
  line-height: 1;
  color: var(--amber);
  font-weight: 800;
  margin-bottom: 12px;
}
.quote-card__text {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}
.quote-card__author {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-light);
}
.quote-card__role { font-weight: 500; color: rgba(255, 255, 255, 0.7); }

/* ===================== CTA ===================== */
.cta { width: var(--container); margin: 0 auto; padding: 90px 0; }
.cta__box {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: var(--ink);
}
.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  display: block;
}
.cta__inner {
  position: relative;
  padding: 70px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta__copy { max-width: 560px; }
.cta__copy h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 800;
  font-stretch: 112%;
  color: #FFFFFF;
  text-wrap: balance;
}
.cta__copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
}
.cta__btn {
  background: var(--amber);
  color: var(--ink);
  font-weight: 800;
  font-size: 17px;
  padding: 18px 34px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(247, 166, 0, 0.45);
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.cta__btn:hover { background: #FFFFFF; color: var(--ink); }

/* ===================== FOOTER ===================== */
.footer {
  background: var(--ink-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__brand img { height: 44px; display: block; margin-bottom: 14px; }
.footer__brand p { margin: 0; font-size: 14px; line-height: 1.55; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}
.footer__col a { color: rgba(255, 255, 255, 0.75); font-size: 14px; display: block; padding: 6px 0; }
.footer__col a:hover { color: #FFFFFF; }
.footer__copy { margin: 24px 0 0; font-size: 13px; color: rgba(255, 255, 255, 0.45); }

/* ===================== QUEM SOMOS ===================== */
.hero--sub { min-height: 66vh; }
.hero--sub .hero__grid { grid-template-columns: 1fr; padding: 150px 0 56px; }
.hero--sub .hero__card { max-width: 720px; }

.pmv {
  background: var(--ink);
  padding: 90px 0;
}
.pmv__inner { width: var(--container); margin: 0 auto; }
.pmv__head { max-width: 760px; margin-bottom: 40px; }
.pmv__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pmv-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 32px;
}
.pmv-card__tag {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}
.pmv-card h3 {
  margin: 0 0 14px;
  font-size: 21px;
  font-weight: 800;
  font-stretch: 110%;
  color: #FFFFFF;
  text-wrap: balance;
}
.pmv-card p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}
.pmv-card p:last-child { margin-bottom: 0; }

.values { padding: 90px 0; }
.values__inner { width: var(--container); margin: 0 auto; }
.values__head { max-width: 760px; margin-bottom: 40px; }
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 28px 30px;
  box-shadow: 0 10px 34px rgba(23, 27, 32, 0.07);
}
.value-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
}
.value-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; font-stretch: 110%; color: var(--ink); }
.value-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

.steps { padding: 90px 0; }
.steps__inner { width: var(--container); margin: 0 auto; }
.steps__head { max-width: 760px; margin-bottom: 40px; }
.steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 28px 30px;
  box-shadow: 0 10px 34px rgba(23, 27, 32, 0.07);
}
.step-card__num {
  font-size: 40px;
  font-weight: 800;
  font-stretch: 115%;
  line-height: 1;
  color: var(--amber);
  margin-bottom: 14px;
}
.step-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 800; font-stretch: 110%; color: var(--ink); }
.step-card p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

.trust {
  position: relative;
  background: var(--ink-deep);
  padding: 80px 0;
  overflow: hidden;
}
.trust__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  display: block;
}
.trust__inner { position: relative; width: var(--container); margin: 0 auto; }
.trust__head { max-width: 760px; margin-bottom: 32px; }
.trust__chips { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 600;
}
.trust-chip::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

/* ===================== PÁGINAS INTERNAS ===================== */
.prose { padding: 80px 0 40px; }
.prose__inner { width: var(--container); margin: 0 auto; max-width: 880px; }
.prose__inner p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--body-text);
  text-wrap: pretty;
}
.prose__inner p:last-child { margin-bottom: 0; }

.checks { padding: 80px 0; background: var(--ink); }
.checks__inner { width: var(--container); margin: 0 auto; }
.checks__head { max-width: 820px; margin-bottom: 32px; }
.checks__head p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}
.checklist li::before {
  content: '✓';
  color: var(--amber);
  font-weight: 800;
  flex-shrink: 0;
}

.checks--light { background: transparent; }
.checks--light .checks__head p { color: var(--body-text); }
.checks--light .checklist li {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--body-text);
  box-shadow: 0 8px 24px rgba(23, 27, 32, 0.05);
}
.checks--light .checklist li::before { color: var(--amber-dark); }

.steps__grid--flow { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

.faq { padding: 80px 0; }
.faq__inner { width: var(--container); margin: 0 auto; max-width: 900px; }
.faq__head { margin-bottom: 28px; }
.faq-item {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(23, 27, 32, 0.05);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--amber-dark);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p {
  margin: 0;
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.contact-form {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}
.contact-form label { display: grid; gap: 8px; }
.contact-form label span {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(23, 27, 32, 0.14);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(247, 166, 0, 0.2);
}
.contact-form button { justify-self: start; border: 0; cursor: pointer; font: inherit; }

.map-figure {
  margin-top: 36px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 24px 70px rgba(16, 19, 23, 0.3);
}
.map-figure img { display: block; width: 100%; }

@media (max-width: 1024px) {
  .pmv__grid, .values__grid { grid-template-columns: 1fr 1fr; }
  .steps__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .checklist { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pmv__grid, .values__grid, .steps__grid { grid-template-columns: 1fr; }
}

/* ===================== REVEAL ===================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .gallery__track, .segments__figure { animation: none; }
}

/* ===================== RESPONSIVO ===================== */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .projects__grid, .testimonials__grid { grid-template-columns: 1fr 1fr; }
  .solutions__grid, .presence__grid, .videos__grid { grid-template-columns: 1fr 1fr; }
  .segments__grid { grid-template-columns: 1fr; }
  .segments__head { grid-template-columns: 1fr; }
  .segments__figure { justify-self: start; max-width: 280px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 12px 40px rgba(23, 27, 32, 0.14);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }
  .nav--simple .nav__cta { display: inline-flex; }

  .hero__grid { grid-template-columns: 1fr; padding-top: 120px; }
  .hero__card { padding: 32px 28px; }
  .way__grid, .gallery__head { grid-template-columns: 1fr; }
  .cta__inner { padding: 48px 32px; }
}

@media (max-width: 860px) {
  .segments__figure { display: none; }
}

@media (max-width: 560px) {
  .stats__grid, .projects__grid, .testimonials__grid, .footer__grid { grid-template-columns: 1fr; }
  .solutions__grid, .presence__grid, .videos__grid { grid-template-columns: 1fr; }
  .gallery__track img { height: 220px; }
  .segments__panel { min-height: 520px; }
}
