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

html, body {
  height: 100%;
  font-family: 'Helvetica Neue', system-ui, -apple-system, Arial, sans-serif;
  color: #fff;
  overflow-x: hidden;     /* allow vertical scroll */
}

/* Video background (stays behind the whole page) */
#bg-video {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

/* Dark tint just above video */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 18, 48, 0.55);
  z-index: -1;
}

/* HERO section fills one screen and lets page continue below */
.hero {
  position: relative;
  min-height: 100vh;      /* full screen */
  display: grid;
  place-items: center;
  padding: 80px 24px 120px;  /* extra bottom for the arrow */
  text-align: center;
}

.content { max-width: 900px; }

/* Logo + title */
.logo { width: 260px; margin-bottom: 2rem; animation: fadeInDown 1.2s ease both; }
.title {
  font-size: clamp(32px, 7vw, 64px);
  letter-spacing: 0.1em;
  font-weight: 800;
  text-transform: uppercase;
  animation: glow 3s ease-in-out infinite alternate;
}
.subtitle {
  font-size: clamp(16px, 2.2vw, 22px);
  margin-top: .6rem;
  opacity: .95;
  animation: fadeInUp 1.4s ease both .1s;
}

/* WhatsApp button */
.whatsapp-btn {
  margin-top: 2.2rem;
  padding: 1rem 2.4rem;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  display: inline-block;
}
.whatsapp-btn:hover { transform: translateY(-2px) scale(1.03); background:#1ebe5d; box-shadow: 0 12px 28px rgba(37,211,102,.55); }

/* Scroll cue */
.scroll-cue{
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  text-decoration: none;
  color: #fff;
  opacity: .85;
  animation: floatY 1.6s ease-in-out infinite;
}

/* ===== SECTION 2: Split layout ===== */
.section-x39.split{
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;           /* split left/right */
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(72px, 8vw, 120px) clamp(20px, 6vw, 64px);
  background-image: url("images/x39back.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.section-x39.split .x39-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 25% 35%, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(rgba(5,20,60,0.35), rgba(5,20,60,0.85));
  z-index: 0;
  pointer-events: none;
}

.mission-wrap, .opportunity-wrap{
  position: relative;
  z-index: 1;
}

/* LEFT panel: translucent "card" */
.mission-card{
  max-width: 720px;
  padding: clamp(20px, 3vw, 36px);
  background: rgba(10, 24, 60, 0.35);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.mission-title{
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 900;
  letter-spacing: .02em;
  margin-bottom: 12px;
  text-shadow: 0 8px 24px rgba(0,0,0,.45);
}

.mission-text{
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.8;
  opacity: .96;
}

/* RIGHT side: glam box with glow and corner accents */
.opportunity-box{
  position: relative;
  max-width: 680px;
  padding: clamp(24px, 3.5vw, 42px);
  background: linear-gradient(180deg, rgba(15,30,72,0.55), rgba(10,20,50,0.75));
  border: 1px solid rgba(140, 200, 255, 0.35);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.35),
    0 0 40px rgba(0, 255, 170, 0.12) inset;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.opportunity-box::before,
.opportunity-box::after{
  content: "";
  position: absolute;
  width: 64px; height: 64px;
  border: 1px solid rgba(255,255,255,.35);
  pointer-events: none;
}
.opportunity-box::before{ top: 12px; right: 12px; border-left: none; border-bottom: none; }
.opportunity-box::after{  bottom: 12px; left: 12px; border-right: none; border-top: none; }

.op-title{
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
}

.op-copy{
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.9;
  opacity: .95;
  margin-bottom: 20px;
}

/* CTA button with arrow */
.op-cta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(37,211,102,.45);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  will-change: transform;
}
.op-cta .arrow{ transition: transform .18s ease; }
.op-cta:hover{
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(37,211,102,.6);
}
.op-cta:hover .arrow{ transform: translateX(4px); }

/* Responsive: stack on tablet/phone */
@media (max-width: 980px){
  .section-x39.split{
    grid-template-columns: 1fr;
    padding-top: clamp(56px, 10vw, 96px);
  }
  .mission-card, .opportunity-box{
    max-width: 900px;
    margin-inline: auto;
  }
  .mission-wrap{ order: 1; }
  .opportunity-wrap{ order: 2; margin-top: 16px; }
}

/* Animations */
@keyframes glow { from { text-shadow: 0 0 10px #00ff88; } to { text-shadow: 0 0 30px #00ff88; } }
@keyframes fadeInDown { from{opacity:0;transform:translateY(-32px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeInUp   { from{opacity:0;transform:translateY(24px)}  to{opacity:1;transform:translateY(0)} }
@keyframes floatY     { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,10px)} }

@media (max-width: 768px){
  .logo{ width: 200px; }
}

/* ===== SECTION 3 ===== */
.section-3 {
  position: relative;
  min-height: 100vh;
  padding: clamp(64px, 8vw, 120px) clamp(20px, 5vw, 80px);
  background: linear-gradient(180deg, #030e25 0%, #091a3a 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.sec3-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(0,255,170,0.1) 0%, rgba(0,0,0,0) 60%);
  z-index: 0;
  pointer-events: none;
}

.sec3-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Text side */
.sec3-content {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.sec3-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 255, 170, 0.25);
}

.sec3-text {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.75;
  color: #d7e1ec;
  max-width: 620px;
}

.sec3-text.highlight {
  font-weight: 600;
  color: #ffffff;
}

/* CTA button */
.sec3-cta {
  display: inline-block;
  align-self: start;
  margin-top: 1rem;
  padding: 0.9rem 2.2rem;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.sec3-cta:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(37,211,102,0.55);
}

/* Image side */
.sec3-image-box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sec3-image-box img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  z-index: 2;
}

.sec3-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0,255,170,0.3) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .sec3-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .sec3-content {
    align-items: center;
  }
  .sec3-cta {
    align-self: center;
  }
  .sec3-image-box {
    order: -1;
    margin-bottom: 2rem;
  }
}

/* ===== SECTION 4 – Benefícios (horizontal strip ~1440x398) ===== */
.section-4{
  position: relative;
  min-height: 398px;                  /* target height */
  padding: 28px clamp(20px, 4vw, 48px);
  background: linear-gradient(180deg, #041129 0%, #0a1f47 100%);
  color: #eaf2ff;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.sec4-inner{
  width: 100%;
  max-width: 1440px;                  /* target width */
  margin: 0 auto;
}

.sec4-title{
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 900;
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 18px;
  color: #ffffff;
  opacity: 0.95;
}

/* Horizontal grid of benefits */
.benefits-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: start;
}

/* Benefit cards */
.benefit{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: clamp(14px, 2vw, 18px);
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.benefit:hover{
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.32);
  border-color: rgba(0,255,170,0.35);
}

.benefit-title{
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
  color: #ffffff;
}

.benefit-text{
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 1.6;
  color: #d6e3f7;
  margin-top: 6px;
}

/* Accented key words (gradient text) */
.accent{
  background: linear-gradient(90deg, #00ffb0 0%, #7de3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}

/* Responsive behavior:
   On smaller screens, turn into horizontal scroll with snap */
@media (max-width: 1100px){
  .benefits-grid{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
  }
  .benefit{
    scroll-snap-align: start;
  }
}

/* Extra small */
@media (max-width: 520px){
  .section-4{ min-height: 420px; }
  .benefits-grid{ grid-auto-columns: 82%; }
}

/* Icons */
.benefit-icon{
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  color: #8fe8ff;                 /* base icon color */
  filter: drop-shadow(0 4px 10px rgba(0, 255, 170, 0.25));
}
.benefit-icon svg{
  width: 100%;
  height: 100%;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Optional hover pop for cards + icon tint */
.benefit:hover .benefit-icon{
  color: #00ffb0;
}

/* Tighten card spacing slightly for icon */
.benefit-title{ margin-top: 2px; }

/* ===== SECTION 5 – RESULTADOS (Diagonal timeline) ===== */
.section-5{
  position: relative;
  min-height: 80vh;
  padding: clamp(60px, 8vw, 120px) clamp(20px, 6vw, 72px);
  background: radial-gradient(60% 60% at 20% 20%, rgba(0,255,170,.08) 0%, transparent 60%),
              linear-gradient(180deg, #05112a, #0a1f46 60%, #081a3a);
  color: #eaf2ff;
  overflow: hidden;
}
.sec5-inner{ max-width: 1200px; margin: 0 auto; }
.sec5-title{
  text-align:center;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: clamp(24px, 3vw, 36px);
  color:#fff;
}

/* Diagonal layout */
.results-diagonal{
  position: relative;
  min-height: 520px;
  border-radius: 16px;
  padding: clamp(16px, 2vw, 24px);
  isolation: isolate;
}
.diag-line{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.diag-line line{
  stroke: rgba(255,255,255,.16);
  stroke-width: 1.8;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(255,255,255,.2));
}

/* Steps placed along the diagonal using a translate */
.step{
  --pos: 50%;               /* 0% bottom-left → 100% top-right */
  position: absolute;
  left: calc(8% + var(--pos));
  top: calc(92% - var(--pos));
  transform: translate(-50%, -50%);
  width: min(320px, 42vw);
  z-index: 1;
  opacity: 0;
  translate: 0 14px;
  transition: opacity .6s ease, translate .6s ease;
}
.step.visible{ opacity: 1; translate: 0 0; }

.step-title{
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 900;
  letter-spacing: .02em;
  margin-bottom: 6px;
  color: #fff;
  text-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.step-text{
  font-size: clamp(13px, 1.6vw, 16px);
  line-height: 1.7;
  color: #d3e2f7;
}

/* Shining "patch" burst */
.burst{
  position: absolute;
  left: -22px;
  top: -22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #ffffff 0 18%, rgba(255,255,255,.85) 18% 22%, rgba(255,255,255,.2) 22% 60%, transparent 60%),
    radial-gradient(circle, rgba(255,255,255,.28) 0 40%, transparent 42% 100%);
  box-shadow:
    0 0 20px 6px rgba(255,255,255,.45),
    0 0 60px 20px rgba(0,255,170,.2);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ transform: scale(1); opacity: .95; }
  50%{ transform: scale(1.14); opacity: 1; }
}

/* Disclaimer */
.sec5-note{
  margin-top: clamp(18px, 2.2vw, 24px);
  font-size: clamp(11px, 1.3vw, 13px);
  color: #9fb3d1;
  text-align: center;
}

/* Responsive: vertical timeline on small screens */
@media (max-width: 820px){
  .results-diagonal{ min-height: auto; padding: 8px 2px 2px; }
  .diag-line{ display: none; }
  .step{
    position: relative;
    left: auto; top: auto; transform: none;
    width: 100%;
    margin: 18px 0 24px;
    padding-left: 56px;
  }
  .burst{ left: 0; top: 0; }
}

/* ===== FINAL CTA ===== */
.final-cta{
  background: linear-gradient(180deg, #021026 0%, #041a3f 100%);
  padding: clamp(60px, 8vw, 120px) 20px;
  text-align: center;
  color: #ffffff;
}

.cta-container{
  max-width: 720px;
  margin: 0 auto;
}

.cta-title{
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.cta-title .accent{
  background: linear-gradient(90deg, #00ffb0 0%, #7de3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-sub{
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.6;
  margin-bottom: 32px;
  color: #cce1f1;
}

.cta-btn{
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  background: #25D366;
  color: #ffffff;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(37,211,102,0.4);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.cta-btn:hover{
  background: #1ebe5d;
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(37,211,102,0.55);
}
