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

:root{
  --ink:#061620;
  --ink-deep:#020a10;
  --panel:#0a1e29;
  --panel-alt:#0e2733;
  --foam:#f2f8fa;
  --muted:#8fa8b3;
  --yellow:#2fb0d6;
  --coral:#b3c3cc;
  --glass:rgba(10,26,36,.55);
  --hairline:rgba(255,255,255,.1);
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Outfit',sans-serif;
  background:var(--ink);
  color:var(--foam);
  overflow-x:hidden;
  min-height:100vh;
}

/* ---------- background photo layer (visível apenas atrás do hero) ---------- */

.bg-photo{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  background-image:
    linear-gradient(180deg, rgba(2,6,10,.35) 0%, rgba(2,6,10,.15) 40%, rgba(2,6,10,.55) 100%),
    url("https://images.unsplash.com/photo-1518563077661-23ad56581d77?fm=jpg&q=80&w=2400&auto=format&fit=crop");
  background-size:cover;
  background-position:center;
  transform:scale(1.08) translate(0,0);
  transform-origin:center;
  will-change:transform;
  animation:kenburns 26s ease-in-out infinite alternate;
  z-index:0;
}

@keyframes kenburns{
  0%{ transform:scale(1.08) translate(0,0); }
  100%{ transform:scale(1.16) translate(-1.2%,-1%); }
}

.bg-gradient{
  position:fixed;
  inset:-30px;
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(5,12,18,.05) 0%, transparent 45%),
    linear-gradient(100deg, rgba(2,6,10,.92) 0%, rgba(2,6,10,.72) 30%, rgba(2,6,10,.28) 58%, rgba(2,6,10,.55) 100%);
  z-index:1;
}

.bg-grain{
  position:fixed;
  inset:0;
  z-index:2;
  opacity:.05;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

main{
  position:relative;
  z-index:3;
}

@keyframes pulse{
  0%,100%{ opacity:1; }
  50%{ opacity:.35; }
}

.live-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--ink-deep);
  animation:pulse 1.2s ease-in-out infinite;
}

/* ---------- shared: eyebrow / section head ---------- */

.eyebrow{
  display:flex;
  align-items:center;
  gap:8px;
  font-family:'Space Mono',monospace;
  font-size:13px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:18px;
}

.eyebrow span{ color:var(--yellow); }

.section-head{
  max-width:640px;
  margin-bottom:52px;
}

.section-head h2{
  font-family:'Bebas Neue',sans-serif;
  font-weight:400;
  text-transform:uppercase;
  font-size:clamp(32px, 4.5vw, 52px);
  line-height:1;
  letter-spacing:.01em;
  color:var(--foam);
  margin-bottom:16px;
}

.section-head p{
  font-size:16px;
  line-height:1.7;
  color:var(--muted);
  font-weight:300;
}

/* ---------- hero ---------- */

.hero{
  position:relative;
  z-index:3;
  max-width:1500px;
  margin:0 auto;
  padding:70px 80px 90px;
  min-height:94vh;
  display:flex;
  align-items:center;
}

.hero-grid{
  width:100%;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  gap:60px;
}

.hero-copy{
  animation:rise .9s cubic-bezier(.2,.7,.2,1) both;
}

.hero-logo{
  width:150px;
  margin-bottom:28px;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.7)) drop-shadow(0 8px 24px rgba(0,0,0,.5));
}

.headline{
  font-family:'Bebas Neue',sans-serif;
  font-weight:400;
  text-transform:uppercase;
  font-size:clamp(52px, 6.4vw, 100px);
  line-height:.92;
  letter-spacing:.01em;
  margin-bottom:22px;
  color:var(--foam);
}

.headline span{ color:var(--yellow); }

@keyframes rise{
  from{ opacity:0; transform:translateY(18px); }
  to{ opacity:1; transform:translateY(0); }
}

.hero-text{
  font-size:17px;
  line-height:1.7;
  color:var(--muted);
  font-weight:300;
  max-width:460px;
  margin-bottom:36px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}

.btn-primary,
.btn-ghost{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:15px 26px;
  border-radius:10px;
  text-decoration:none;
  font-family:'Space Mono',monospace;
  font-weight:700;
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  transition:transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn-primary{
  display:none;
  background:var(--coral);
  color:var(--ink-deep);
  box-shadow:0 10px 30px -8px rgba(179,195,204,.5);
}

.btn-primary.is-visible{ display:inline-flex; }
.btn-primary:hover{ transform:translateY(-2px); }
.btn-primary .live-dot{ animation:pulse 1.2s ease-in-out infinite; }

.btn-ghost{
  background:rgba(255,255,255,.04);
  border:1px solid var(--hairline);
  color:var(--foam);
}

.btn-ghost:hover{
  border-color:var(--yellow);
  color:var(--yellow);
  transform:translateY(-2px);
}

/* ---------- destaque do próximo evento (dentro do hero) ---------- */

.hero-spotlight{
  max-width:440px;
  animation:rise .9s cubic-bezier(.2,.7,.2,1) both;
  animation-delay:.15s;
}

.event-featured.hero-spotlight{
  background:linear-gradient(160deg, rgba(47,176,214,.16), transparent 55%), var(--glass);
  backdrop-filter:blur(20px);
  box-shadow:0 40px 100px -30px rgba(0,0,0,.7);
}

.event-tag i{ margin-right:4px; }

.spotlight-row{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:16px;
}

.spotlight-row h3{ margin-bottom:0; }
.spotlight-row .event-loc{ margin-bottom:0; }

.spotlight-sep{
  color:var(--muted);
  font-size:12px;
  opacity:.6;
}

.spotlight-date{
  display:flex;
  align-items:baseline;
  gap:5px;
}

.sd-day{
  font-family:'Bebas Neue',sans-serif;
  font-size:26px;
  line-height:1;
  color:var(--yellow);
}

.sd-month{
  font-family:'Space Mono',monospace;
  font-size:10.5px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}

/* ---------- cortes diagonais entre seções ---------- */

.cut{
  position:relative;
  z-index:3;
  height:64px;
}

.cut-a{ background:var(--ink); clip-path:polygon(0 100%, 100% 0, 100% 100%); }
.cut-b{ background:var(--yellow); clip-path:polygon(0 100%, 100% 0, 100% 100%); }
.cut-c{ background:var(--panel); clip-path:polygon(0 100%, 100% 0, 100% 100%); }

/* ---------- faixa de impacto ---------- */

.statement{
  position:relative;
  z-index:3;
  background:var(--yellow);
  padding:56px 80px;
}

.statement p{
  max-width:1000px;
  margin:0 auto;
  text-align:center;
  font-family:'Bebas Neue',sans-serif;
  font-weight:400;
  text-transform:uppercase;
  font-size:clamp(26px, 4vw, 44px);
  line-height:1.2;
  color:var(--ink-deep);
}

.statement p span{ color:var(--foam); }

/* ---------- prévia "veja o sistema em ação" (dentro de #sistema) ---------- */

.product-grid{
  max-width:640px;
  margin-bottom:56px;
}

.product-copy h3{
  font-family:'Bebas Neue',sans-serif;
  font-weight:400;
  text-transform:uppercase;
  font-size:clamp(26px, 3vw, 36px);
  line-height:1.1;
  color:var(--foam);
  margin-bottom:18px;
}

.product-copy p{
  font-size:16px;
  line-height:1.75;
  color:var(--muted);
  font-weight:300;
  max-width:440px;
  margin-bottom:32px;
}

.check-list{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:16px;
}

.check-list li{
  display:flex;
  align-items:center;
  gap:14px;
  font-size:14.5px;
  color:var(--foam);
}

.check-list li i{
  flex:0 0 auto;
  width:20px;
  height:20px;
  border-radius:50%;
  background:rgba(47,176,214,.12);
  position:relative;
}

.check-list li i::after{
  content:"";
  position:absolute;
  left:6px;
  top:4px;
  width:5px;
  height:9px;
  border-right:2px solid var(--yellow);
  border-bottom:2px solid var(--yellow);
  transform:rotate(45deg);
}

/* ---------- eventos ---------- */

.events{
  position:relative;
  z-index:3;
  background:var(--ink);
  padding:88px 80px;
}

.events .section-head,
.events-list{
  max-width:820px;
}

.event-featured{
  position:relative;
  padding:24px;
  border-radius:18px;
  border:1px solid var(--hairline);
  background:
    linear-gradient(160deg, rgba(47,176,214,.1), transparent 55%),
    var(--panel-alt);
  overflow:hidden;
}

.event-featured::before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:3px;
  background:linear-gradient(90deg, var(--yellow), var(--coral));
}

.event-tag{
  display:inline-block;
  font-family:'Space Mono',monospace;
  font-size:9.5px;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:4px 10px;
  border-radius:20px;
  margin-bottom:14px;
}

.event-tag.open{ background:rgba(47,176,214,.16); color:var(--yellow); }
.event-tag.soon{ background:rgba(255,255,255,.07); color:var(--muted); }

.event-featured h3{
  font-family:'Bebas Neue',sans-serif;
  font-weight:400;
  text-transform:uppercase;
  font-size:clamp(20px, 2.2vw, 24px);
  color:var(--foam);
  line-height:1;
  margin-bottom:6px;
}

.event-loc{
  font-size:13px;
  color:var(--muted);
  margin-bottom:18px;
}

.countdown{
  display:flex;
  gap:8px;
  margin-bottom:18px;
}

.countdown-cell{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  width:50px;
  padding:8px 0;
  border-radius:10px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--hairline);
}

.countdown-cell span{
  font-family:'Space Mono',monospace;
  font-weight:700;
  font-size:17px;
  color:var(--yellow);
}

.countdown-cell label{
  font-family:'Space Mono',monospace;
  font-size:8.5px;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--muted);
}

.events-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.events-note{
  max-width:820px;
  margin-top:24px;
  font-family:'Space Mono',monospace;
  font-size:12.5px;
  color:var(--muted);
}

.event-row{
  position:relative;
  flex:1;
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid var(--hairline);
  background:var(--glass);
  text-decoration:none;
  overflow:hidden;
  transition:transform .25s ease, border-color .25s ease, background .25s ease;
}

.event-row:hover{
  transform:translateX(6px);
  border-color:rgba(47,176,214,.35);
  background:rgba(13,25,34,.8);
}

.row-date{
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  border-radius:10px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--hairline);
}

.row-date .day{
  font-family:'Bebas Neue',sans-serif;
  font-size:18px;
  line-height:1;
  color:var(--yellow);
}

.row-date .month{
  font-family:'Space Mono',monospace;
  font-size:10px;
  color:var(--muted);
  margin-top:3px;
}

.row-info{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}

.row-info strong{
  font-size:15.5px;
  font-weight:600;
  color:var(--foam);
}

.row-info span{
  font-size:13px;
  color:var(--muted);
}

.row-tag{
  flex:0 0 auto;
  font-family:'Space Mono',monospace;
  font-size:9.5px;
  letter-spacing:.05em;
  text-transform:uppercase;
  padding:4px 10px;
  border-radius:20px;
  background:rgba(255,255,255,.06);
  color:var(--muted);
  white-space:nowrap;
}

/* ---------- sistema / funcionalidades (bento) ---------- */

.features{
  position:relative;
  z-index:3;
  background:var(--panel);
  padding:88px 80px;
}

.features .section-head,
.feature-menu{
  max-width:1300px;
  margin-left:auto;
  margin-right:auto;
}

/* crista de onda no hover (compartilhada com a lista de etapas) */
.event-row::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:11px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 C10 0,15 0,25 6 C35 12,40 12,50 6 C60 0,65 0,75 6 C85 12,90 12,100 6 L100 0 L0 0 Z' fill='%232fb0d6'/%3E%3C/svg%3E");
  background-size:110px 11px;
  background-repeat:repeat-x;
  opacity:0;
  transform:translateY(-8px);
  transition:opacity .35s ease, transform .35s ease;
  pointer-events:none;
}

.event-row:hover::before{
  opacity:.9;
  transform:translateY(0);
}

.feature-menu{
  display:flex;
  flex-direction:column;
}

.feature-menu-item{
  position:relative;
  display:flex;
  align-items:center;
  gap:26px;
  padding:26px 8px;
  border-top:1px solid var(--hairline);
  overflow:hidden;
  cursor:default;
  transition:padding-left .35s ease, background .35s ease;
}

.feature-menu .feature-menu-item:last-child{ border-bottom:1px solid var(--hairline); }

/* crista de onda que desliza da esquerda no hover */
.feature-menu-item::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:70px;
  height:6px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6 C10 0,15 0,25 6 C35 12,40 12,50 6 C60 0,65 0,75 6 C85 12,90 12,100 6 L100 12 L0 12 Z' fill='%232fb0d6'/%3E%3C/svg%3E");
  background-size:70px 6px;
  background-repeat:repeat-x;
  opacity:0;
  transition:opacity .3s ease, width .4s ease;
}

.feature-menu-item:hover{
  padding-left:20px;
  background:rgba(255,255,255,.02);
}

.feature-menu-item:hover::after{
  opacity:.9;
  width:100%;
}

.fm-num{
  flex:0 0 auto;
  width:34px;
  font-family:'Space Mono',monospace;
  font-size:12px;
  letter-spacing:.05em;
  color:var(--muted);
  opacity:.6;
  transition:color .3s ease, opacity .3s ease;
}

.feature-menu-item:hover .fm-num{ color:var(--yellow); opacity:1; }

.fm-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:40px;
  height:40px;
  border-radius:11px;
  background:rgba(47,176,214,.08);
  color:var(--muted);
  transition:color .3s ease, background .3s ease;
}

.feature-menu-item:hover .fm-icon{
  color:var(--yellow);
  background:rgba(47,176,214,.16);
}

.fm-icon svg{ width:18px; height:18px; }

.fm-title{
  flex:1 1 auto;
  min-width:0;
  font-family:'Bebas Neue',sans-serif;
  font-weight:400;
  text-transform:uppercase;
  font-size:clamp(22px, 2.8vw, 32px);
  letter-spacing:.01em;
  line-height:1;
  color:var(--foam);
  transition:color .3s ease, transform .3s ease;
}

.feature-menu-item:hover .fm-title{
  color:var(--yellow);
  transform:translateX(4px);
}


/* ---------- footer ---------- */

footer{
  position:relative;
  z-index:3;
  background:var(--ink-deep);
  padding-top:80px;
}

.footer-inner{
  max-width:1400px;
  margin:0 auto;
  padding:0 80px 72px;
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr;
  gap:40px;
}

.footer-logo{
  width:130px;
  margin-bottom:16px;
  filter:drop-shadow(0 2px 10px rgba(0,0,0,.4));
}

.footer-brand p{
  max-width:340px;
  font-size:14px;
  line-height:1.7;
  color:var(--muted);
  font-weight:300;
}

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

.footer-title{
  font-family:'Space Mono',monospace;
  font-size:11px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:6px;
}

.footer-col a{
  font-size:14px;
  color:var(--foam);
  text-decoration:none;
  width:fit-content;
  transition:color .2s ease;
}

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

.footer-social{
  display:flex;
  gap:10px;
}

.footer-social a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:10px;
  border:1px solid var(--hairline);
  background:rgba(255,255,255,.04);
  color:var(--muted);
  transition:color .2s ease, border-color .2s ease, background .2s ease;
}

.footer-social a:hover{
  color:var(--yellow);
  border-color:rgba(47,176,214,.35);
  background:rgba(255,255,255,.08);
}

.footer-social svg{
  width:17px;
  height:17px;
}

/* ---------- scroll reveal ---------- */

.reveal{
  opacity:0;
  transform:translateY(26px);
  transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}

.reveal.in-view{ opacity:1; transform:none; }

.feature-menu .reveal:nth-child(2){ transition-delay:.05s; }
.feature-menu .reveal:nth-child(3){ transition-delay:.1s; }
.feature-menu .reveal:nth-child(4){ transition-delay:.15s; }
.feature-menu .reveal:nth-child(5){ transition-delay:.2s; }

.events-list .reveal:nth-child(2){ transition-delay:.08s; }
.events-list .reveal:nth-child(3){ transition-delay:.16s; }

/* ---------- responsive ---------- */

@media(max-width:1150px){
  .hero{ padding:56px 32px; min-height:auto; }
  .hero-grid{ grid-template-columns:1fr; gap:48px; text-align:center; }
  .hero-copy{ display:flex; flex-direction:column; align-items:center; }
  .hero-text{ margin-left:auto; margin-right:auto; }
  .hero-actions{ justify-content:center; }
  .hero-spotlight{ max-width:440px; margin:0 auto; }

  .cut{ height:44px; }

  .check-list li{ max-width:360px; }

  .events{ padding:80px 32px; }

  .statement{ padding:44px 32px; }

  .features{ padding:80px 32px; }

  footer{ padding-top:64px; }
  .footer-inner{ padding:0 32px 56px; grid-template-columns:1fr 1fr; }
  .footer-brand{ grid-column:1 / -1; }
}

@media(max-width:640px){
  .hero-logo{ width:120px; margin-bottom:22px; }

  .headline{ font-size:clamp(42px, 13vw, 64px); }
  .hero-actions{ flex-direction:column; width:100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost{ width:100%; justify-content:center; }

  .hero-spotlight{ max-width:none; }

  .countdown{ gap:8px; }
  .countdown-cell{ width:56px; padding:10px 0; }
  .countdown-cell span{ font-size:18px; }

  .feature-menu-item{ gap:16px; padding:20px 4px; }
  .fm-num{ width:24px; font-size:11px; }
  .fm-icon{ width:34px; height:34px; }

  .footer-inner{ grid-template-columns:1fr; gap:32px; }
}

@media(prefers-reduced-motion:reduce){
  .bg-photo{ animation:none; }
  .live-dot{ animation:none; }
  .hero-copy{ animation:none; }
  .hero-spotlight{ animation:none; }
  .reveal{ opacity:1; transform:none; transition:none; }
}
