/* =========================================================
   Grupo Sekron — Home
   ========================================================= */
:root {
  --bg: #07080a;
  --bg-2: #0c0e11;
  --bg-3: #12151a;
  --line: rgba(250, 190, 33, .14);
  --line-soft: rgba(255, 255, 255, .07);
  --gold: #fabe21;
  --gold-2: #d4a630;
  --gold-3: #ffdd7a;
  --text: #f3f1ea;
  --muted: #9b998f;
  --danger: #ff5a4e;
  --ok: #35d07f;

  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --container: 1240px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html.is-loading, html.is-loading body { overflow: hidden; overscroll-behavior: none; touch-action: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
::selection { background: var(--gold); color: #111; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--f-mono); letter-spacing: .04em; }
.gold-text { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border-radius: 999px;
  font-family: var(--f-display); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .4s var(--ease), background .3s, border-color .3s, color .3s, box-shadow .4s;
  position: relative; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 16px; }
.btn--gold { background: var(--gold); color: #111; box-shadow: 0 0 0 0 rgba(250,190,33,.5), 0 10px 30px -10px rgba(250,190,33,.6); }
.btn--gold::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--gold:hover { box-shadow: 0 0 0 6px rgba(250,190,33,.12), 0 18px 40px -12px rgba(250,190,33,.8); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { border-color: rgba(255,255,255,.18); color: var(--text); background: rgba(255,255,255,.03); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* =========================================================
   PRELOADER — logo + barra, depois cortina
   ========================================================= */
.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; }
html.returning .preloader { opacity: 0; } /* visitante que volta: só aparece se o site demorar */
.pl-layer { position: absolute; inset: 0; }
.pl-layer--gold { background: var(--gold); }
.pl-layer--dark { background: #07080a; }
.pl-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.pl-logo { width: 110px; height: 110px; object-fit: contain; opacity: 0; transform: scale(.92); filter: drop-shadow(0 10px 30px rgba(250,190,33,.18)); }
.pl-bar { width: 160px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.1); overflow: hidden; opacity: 0; }
.pl-bar span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* ---------- Preloader alternativo: SIRENE (html[data-loader="sirene"]) ---------- */
.pl-siren, .pl-flash, .pl-flood { display: none; }
html[data-loader="sirene"] .pl-inner { display: none; }
html[data-loader="sirene"] .pl-siren { display: flex; }
html[data-loader="sirene"] .pl-flash,
html[data-loader="sirene"] .pl-flood { display: block; }

.pl-siren { position: relative; z-index: 2; flex-direction: column; align-items: center; gap: 26px; opacity: 0; }
.siren { position: relative; z-index: 2; width: 150px; height: 150px; overflow: visible; }
.siren-dome { transform-origin: 100px 120px; }
.siren-sweep { animation: sirenSweep 1.1s linear infinite; }
@keyframes sirenSweep {
  0% { transform: translateX(-60px); opacity: 0; }
  20% { opacity: 1; }
  50% { transform: translateX(0); opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(60px); opacity: 0; }
}
.pl-siren-logo { width: 56px; height: 56px; object-fit: contain; opacity: .9; }

/* Fachos de luz girando a partir da cúpula (2 fachos opostos, como um giroflex) */
.pl-rays {
  position: absolute; z-index: 1; left: 50%; top: 82px;
  width: 260vmax; height: 260vmax; margin: -130vmax 0 0 -130vmax;
  background: conic-gradient(from 0deg,
    transparent 0deg, rgba(250,190,33,.0) 62deg, rgba(255,214,102,.38) 80deg, rgba(250,190,33,0) 98deg,
    transparent 180deg, rgba(250,190,33,0) 242deg, rgba(255,214,102,.38) 260deg, rgba(250,190,33,0) 278deg, transparent 360deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.6) 18%, transparent 45%);
  mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.6) 18%, transparent 45%);
  animation: raysSpin 1.1s linear infinite;
  opacity: 0; pointer-events: none;
}
@keyframes raysSpin { to { transform: rotate(360deg); } }

/* Clarão da sirene e a "inundação" dourada que vira a transição */
.pl-flash {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--sx, 50%) var(--sy, 45%), rgba(255,240,190,.95) 0%, rgba(250,190,33,.45) 28%, rgba(250,190,33,0) 65%);
}
.pl-flood {
  position: absolute; inset: 0; z-index: 4; background: var(--gold);
  clip-path: circle(0% at var(--sx, 50%) var(--sy, 45%));
}
@media (max-width: 640px) {
  .siren { width: 120px; height: 120px; }
  .pl-rays { top: 66px; }
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  transition: background .4s, height .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(7,8,10,.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line-soft); --header-h: 70px; }
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 52px; height: 52px; object-fit: contain; transition: width .4s var(--ease), height .4s var(--ease); }
.header.is-scrolled .brand-logo { width: 44px; height: 44px; }
.brand-text { font-family: var(--f-display); font-size: 12px; letter-spacing: .3em; color: var(--muted); line-height: 1.1; display: flex; flex-direction: column; }
.brand-text strong { font-size: 18px; letter-spacing: .12em; color: var(--text); font-weight: 700; }
.nav { display: flex; gap: 6px; margin: 0 auto; }
.nav a { position: relative; padding: 8px 14px; font-size: 14.5px; font-weight: 500; color: rgba(243,241,234,.72); border-radius: 999px; transition: color .3s, background .3s; }
.nav a:hover { color: var(--text); background: rgba(255,255,255,.05); }
.nav a.is-active { color: var(--gold); }
.nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translateX(-50%); box-shadow: 0 0 8px var(--gold); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   HERO — institucional, foto à direita
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 48px) 0 96px;
  overflow: hidden; background: var(--bg);
}
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 600px; }

.hero-eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.eyebrow-line { width: 36px; height: 2px; background: var(--gold); border-radius: 2px; }

.hero-title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(42px, 4.9vw, 76px); line-height: 1.02; letter-spacing: -.035em;
  margin: 26px 0 26px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .w { display: inline-block; will-change: transform; }

.hero-lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.65; color: rgba(243,241,234,.72); max-width: 520px; margin: 0 0 38px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 48px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line-soft); }
.hero-trust li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: rgba(243,241,234,.85); }
.hero-trust svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: rgba(250,190,33,.14); fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* overflow: hidden impede a foto (que entra com zoom) de vazar para fora do quadro e formar uma listra */
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 48%; z-index: 1; overflow: hidden; }
.hero-media > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero-media::before {
  /* começa 2px antes da borda e com faixa sólida, para não sobrar linha de subpixel */
  content: ""; position: absolute; inset: 0 0 0 -2px; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 1.5%, rgba(7,8,10,.55) 22%, rgba(7,8,10,0) 50%),
    linear-gradient(0deg, rgba(7,8,10,.55) 0%, rgba(7,8,10,0) 35%);
}

.hero-card {
  position: absolute; z-index: 2; left: 14%; bottom: 12%;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px 14px 14px; border-radius: 16px;
  background: #fff; color: #15161a;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.6);
}
.avatars { display: flex; }
.avatars img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; margin-left: -10px; }
.avatars img:first-child { margin-left: 0; }
.hero-card strong { display: block; font-family: var(--f-display); font-size: 17px; line-height: 1.2; }
.hero-card span { font-size: 13px; color: #5d5f66; }
.hero-card strong span { font-size: inherit; color: inherit; }

/* =========================================================
   TICKER
   ========================================================= */
.ticker { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); background: var(--gold); }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; padding: 16px 0; }
.ticker span { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; text-transform: uppercase; color: #111; padding: 0 22px; white-space: nowrap; }
.ticker b { color: #111; font-size: 16px; display: grid; place-items: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { position: relative; padding: clamp(90px, 12vw, 160px) 0; }
.kicker { display: inline-block; font-family: var(--f-body); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 24px; }
.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; max-width: 560px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }

/* About */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-media { position: relative; }
.about-img { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 1; }
.about-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); transform: scale(1.08); }
.about-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,8,10,.7), transparent 45%); }
.about-img-scan { position: absolute; left: 0; right: 0; height: 30%; top: -30%; z-index: 1; background: linear-gradient(to bottom, transparent, rgba(250,190,33,.18), transparent); border-bottom: 1px solid rgba(250,190,33,.6); animation: scanDown 5s var(--ease) infinite; }
@keyframes scanDown { 0% { top: -30%; } 70%, 100% { top: 110%; } }
.about-badge { position: absolute; right: -24px; bottom: 32px; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 16px; background: var(--gold); color: #111; box-shadow: 0 30px 60px -20px rgba(250,190,33,.5); }
.about-badge strong { font-family: var(--f-display); font-size: 54px; line-height: .8; letter-spacing: -.04em; }
.about-badge span { font-weight: 600; font-size: 14px; line-height: 1.25; }
.about-copy p { color: rgba(243,241,234,.7); font-size: 17px; margin: 0 0 18px; }
.about-copy p strong { color: var(--text); }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 40px 0; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; }
.number { background: var(--bg); padding: 22px 20px; }
.number strong { display: block; font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.03em; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.number span { font-size: 13px; color: var(--muted); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 600; color: var(--gold); border-bottom: 1px solid var(--line); padding-bottom: 6px; transition: gap .4s var(--ease), border-color .3s; }
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.link-arrow:hover { gap: 16px; border-color: var(--gold); }

/* Services */
.services { background: linear-gradient(to bottom, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; min-height: 300px;
  padding: 28px; border-radius: var(--radius);
  background: var(--bg-3); border: 1px solid var(--line-soft);
  overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), border-color .4s;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(250,190,33,.14), transparent 50%);
}
.service-card:hover { border-color: rgba(250,190,33,.35); }
.service-card:hover::before { opacity: 1; }
.service-card--feature { grid-column: span 2; min-height: 340px; background: linear-gradient(140deg, #17140b, var(--bg-3) 60%); border-color: var(--line); }
.sc-index { position: absolute; top: 24px; right: 26px; font-size: 12px; color: var(--muted); }
.sc-icon { width: 52px; height: 52px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; transition: transform .5s var(--ease); }
.service-card h3 { font-family: var(--f-display); font-size: 22px; letter-spacing: -.02em; margin: 40px 0 10px; }
.service-card--feature h3 { font-size: 30px; }
.service-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; }
.service-card--feature p { font-size: 16px; max-width: 420px; }
.sc-more { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); opacity: .6; transition: opacity .3s, transform .4s var(--ease); }
.service-card:hover .sc-more { opacity: 1; transform: translateX(4px); }

/* Tech steps */
.tech-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.tech-copy { position: sticky; top: 140px; }
.tech-copy p { color: var(--muted); font-size: 18px; margin: 0; max-width: 440px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: s; }
.steps li { display: flex; gap: 28px; padding: 36px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(255,255,255,.025), transparent); position: relative; overflow: hidden; }
.steps li::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .8s var(--ease); }
.steps li.is-in::after { transform: scaleY(1); }
.steps .mono { font-size: 14px; color: var(--gold); padding-top: 6px; }
.steps h3 { font-family: var(--f-display); font-size: 28px; letter-spacing: -.02em; margin: 0 0 8px; }
.steps p { margin: 0; color: var(--muted); }

/* Testimonials */
.testimonials { overflow: hidden; }
.t-marquee { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.t-track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; }
.t-marquee:hover .t-track { animation-play-state: paused; }
.t-card { width: 360px; flex-shrink: 0; margin: 0; padding: 28px; border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 14px; margin-bottom: 14px; }
.t-card blockquote { margin: 0 0 24px; font-size: 16px; line-height: 1.55; color: rgba(243,241,234,.85); flex: 1; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14.5px; }
.t-card figcaption img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.t-card figcaption small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; font-family: var(--f-mono); }

/* CTA */
.cta-box {
  position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center;
  padding: clamp(36px, 6vw, 72px); border-radius: 28px; overflow: hidden; isolation: isolate;
  background: radial-gradient(80% 120% at 0% 0%, rgba(250,190,33,.16), transparent 60%), var(--bg-3);
  border: 1px solid var(--line);
}
.cta-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(circle at 100% 100%, #000, transparent 60%); -webkit-mask-image: radial-gradient(circle at 100% 100%, #000, transparent 60%); }
.cta-copy p { color: var(--muted); font-size: 18px; margin: 0; }
.cta-channels { display: grid; gap: 12px; }
.channel { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding: 22px 56px 22px 22px; border-radius: 16px; background: rgba(7,8,10,.6); border: 1px solid var(--line-soft); transition: border-color .3s, transform .4s var(--ease), background .3s; }
.channel::after { content: "→"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 20px; transition: transform .4s var(--ease); }
.channel:hover { border-color: var(--gold); }
.channel:hover::after { transform: translate(4px, -50%); }
.channel-tag { grid-row: span 2; font-size: 12px; color: var(--gold); padding-top: 4px; }
.channel strong { font-family: var(--f-display); font-size: 19px; }
.channel span:last-child { color: var(--muted); font-size: 14px; }
.channel--main { background: var(--gold); border-color: var(--gold); color: #111; }
.channel--main .channel-tag, .channel--main::after { color: #111; }
.channel--main span:last-child { color: rgba(17,17,17,.7); }

/* Footer */
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(53,208,127,.6); } 70% { box-shadow: 0 0 0 10px rgba(53,208,127,0); } 100% { box-shadow: 0 0 0 0 rgba(53,208,127,0); } }

/* WhatsApp float */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); transition: transform .4s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waRing 2.4s infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
@keyframes waRing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

/* Hidden-before-animation states (only when JS is on) */
.js [data-hero], .js .hero-title .w, .js .hero-media, .js .header { visibility: hidden; }

/* =========================================================
   SEÇÕES PRETAS / BRANCAS INTERCALADAS (faixas retas, largura total)
   ========================================================= */
.block { position: relative; background: var(--bg); color: var(--text); }
.footer.block { background: #050607; }

.section--light {
  --bg: #ffffff;
  --bg-2: #f6f6f4;
  --bg-3: #f6f6f4;
  --text: #15161a;
  --muted: #5f6168;
  --line-soft: rgba(17,19,23,.1);
  --line: rgba(17,19,23,.14);
}
.section--light .gold-text { color: #b8860b; }
.section--light .kicker,
.section--light .link-arrow,
.section--light .steps .mono { color: #9a6f00; }
.section--light .number strong { color: var(--text); }
.section--light .about-copy p { color: var(--muted); }
.section--light .steps li { background: var(--bg-3); border-color: transparent; }
.section--light .about-img { border-color: transparent; }

/* Caixa de contato continua escura dentro da seção branca */
.cta-box {
  --bg-3: #111317; --text: #f3f1ea; --muted: #9b998f;
  --line-soft: rgba(255,255,255,.08); --line: rgba(255,255,255,.1);
  color: var(--text);
}
.section--light .cta-box .gold-text,
.section--light .cta-box .kicker { color: var(--gold); }

/* Hovers simples */
.service-card { transition: transform .4s var(--ease), border-color .3s; }
.service-card:hover { transform: translateY(-6px); border-color: rgba(250,190,33,.35); }
.channel:hover { transform: translateX(4px); }
.btn--gold:hover { transform: translateY(-2px); }

/* =========================================================
   SERVIÇOS — painéis grandes em carrossel automático
   ========================================================= */
.services { background: var(--bg); }
.hs { position: relative; display: flex; height: 100vh; height: 100svh; min-height: 640px; padding-top: 70px; overflow: hidden; }

.hs-intro {
  flex: 0 0 auto; width: clamp(320px, 38vw, 580px); height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 48px clamp(24px, 5vw, 80px);
}
.hs-intro .h2 { font-size: clamp(36px, 3.6vw, 56px); }
.hs-intro p { color: var(--muted); font-size: 18px; margin: 0 0 36px; max-width: 420px; }
.hs-hint { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer; font: 500 14px var(--f-body); color: var(--text); }
.hs-hint svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.hs-hint:hover svg { transform: translateX(4px); }

.hs-viewport { position: relative; flex: 1 1 auto; min-width: 0; height: 100%; overflow: hidden; touch-action: pan-y; }
.hs-track { display: flex; height: 100%; will-change: transform; transition: transform .9s cubic-bezier(.65, 0, .35, 1); }

.svc {
  position: relative; flex: 0 0 72%;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: clamp(24px, 3.2vw, 48px);
  overflow: hidden; color: #fff; isolation: isolate;
  border-left: 1px solid rgba(255,255,255,.08);
  container-type: inline-size;
}
.svc-media {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.svc-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.15) 38%, rgba(0,0,0,.05) 55%, rgba(0,0,0,.65) 100%),
    rgba(0,0,0,.12);
  transition: background-color .5s;
}
.svc:hover .svc-media { transform: scale(1.05); }
.svc:hover .svc-shade { background-color: rgba(0,0,0,.25); }

.svc-name {
  margin: 0; font-family: var(--f-display); font-weight: 500;
  /* Texto na horizontal, grande. O tamanho acompanha a largura do card (cqi),
     então até "identificação" cabe numa linha sem cortar. */
  font-size: clamp(34px, min(13.5cqi, 11vh), 96px); line-height: .95; letter-spacing: -.035em;
  max-width: 100%;
  transition: translate .5s var(--ease);
  text-shadow: 0 2px 30px rgba(0,0,0,.25);
}
.svc:hover .svc-name { translate: 0 -8px; }

.svc-foot { margin-top: auto; }
.svc-foot p { margin: 0 0 20px; max-width: 340px; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.88); }

.btn-pill {
  position: relative; display: inline-flex; align-items: center; overflow: hidden;
  padding: 13px 30px; border-radius: 999px; background: #fff; color: #111; font-size: 14px; font-weight: 600;
  transition: transform .3s ease, box-shadow .3s ease;
}
.btn-pill::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(0,0,0,.06) 50%, transparent 100%);
  transform: translateX(-100%); transition: transform .5s ease;
}
.svc:hover .btn-pill { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.svc:hover .btn-pill::before { transform: translateX(100%); }
.svc:active .btn-pill { transform: translateY(0); box-shadow: 0 2px 8px rgba(0,0,0,.12); }

/* Seta para a direita */
.hs-next {
  position: absolute; z-index: 3; right: clamp(16px, 2.4vw, 36px); top: 50%; transform: translateY(-50%);
  width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: #fff; color: #111;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  transition: transform .3s ease, background .3s;
}
.hs-next svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease; }
.hs-next:hover { background: var(--gold); }
.hs-next:hover svg { transform: translateX(3px); }
.hs-next:active { transform: translateY(-50%) scale(.94); }

/* Barra que enche até a próxima troca */
.hs-progress { position: absolute; z-index: 3; left: clamp(24px, 3.2vw, 48px); right: clamp(24px, 3.2vw, 48px); bottom: 18px; height: 2px; background: rgba(255,255,255,.18); border-radius: 2px; overflow: hidden; }
.hs-progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
@keyframes hsTimer { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 860px) {
  .hs { flex-direction: column; height: auto; min-height: 0; padding-top: 0; }
  .hs-intro { width: 100%; height: auto; padding: 96px 24px 40px; }
  .hs-viewport { height: 78svh; min-height: 520px; flex: none; }
  .svc { flex-basis: 85%; }
  .hs-next { width: 52px; height: 52px; }
}
@media (max-width: 640px) {
  .hs-intro { padding: 80px 16px 32px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; overflow: hidden; background: #050607; padding: 0; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(250,190,33,.5), transparent); }

/* Colunas */
.f-main { display: grid; grid-template-columns: 1.5fr 1fr 1.15fr 1.1fr; gap: 48px; padding: 96px 24px 24px; }
.f-logo { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.f-logo img { width: 72px; height: 72px; object-fit: contain; }
.f-logo span { font-family: var(--f-display); font-size: 12px; letter-spacing: .3em; color: var(--muted); line-height: 1.1; display: flex; flex-direction: column; }
.f-logo strong { font-size: 22px; letter-spacing: .12em; color: var(--text); }
.f-brand > p { color: var(--muted); max-width: 360px; margin: 0 0 24px; font-size: 15px; line-height: 1.65; }


.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-soft); transition: border-color .3s, color .3s, background .3s; }
.socials a:hover { border-color: var(--gold); background: var(--gold); color: #111; }
.socials svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.f-col { display: flex; flex-direction: column; align-items: flex-start; }
.f-col h4 { font-family: var(--f-body); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 22px; }
.f-col a { position: relative; color: rgba(243,241,234,.72); font-size: 15px; padding: 5px 0; transition: color .3s, transform .3s var(--ease); }
.f-col a:hover { color: var(--text); transform: translateX(4px); }
.f-ext { color: var(--gold); font-size: 13px; }
.f-label { font-size: 12px; color: var(--muted); margin-top: 6px; }
.f-contact a.f-big { font-family: var(--f-display); font-size: 22px; font-weight: 600; color: var(--text); padding: 2px 0 12px; }
.f-contact a.f-big:hover { color: var(--gold); transform: none; }
.f-label--gap { margin-top: 26px; }
.f-contact a.f-addr { font-size: 14px; line-height: 1.45; padding: 6px 0; color: var(--muted); }
.f-addr strong { display: block; font-weight: 600; color: var(--text); }
.f-contact a.f-addr:hover strong { color: var(--gold); }
.f-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(53,208,127,.1); color: var(--ok); font-size: 12.5px; font-weight: 600; }

/* Brilho dourado no fim da página + marca recortada contra a luz */
.footer { --glow-h: 42vh; }
.f-glow-space {
  position: relative; z-index: 2; height: var(--glow-h);
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.f-wordmark {
  font-family: var(--f-display); font-weight: 700; white-space: nowrap;
  font-size: 23vw; line-height: .74; letter-spacing: -.05em;
  margin-bottom: -1.2vw; color: #050607;
  user-select: none; pointer-events: none;
}
.f-glow {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1;
  height: var(--glow-h); pointer-events: none;
  transform-origin: bottom; transform: scaleY(0); will-change: transform;
}
.f-glow svg { display: block; width: 100%; height: 100%; }

/* Linha final */
.footer-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }
.f-legal { display: flex; gap: 20px; }
.footer-bottom a:hover { color: var(--gold); }
.f-top { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-soft); background: none; color: var(--text); font: 500 13px var(--f-body); cursor: pointer; transition: border-color .3s, color .3s; }
.f-top span { transition: transform .3s var(--ease); }
.f-top:hover { border-color: var(--gold); color: var(--gold); }
.f-top:hover span { transform: translateY(-3px); }

@media (max-width: 1100px) {
  .f-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .f-main { grid-template-columns: 1fr; gap: 40px; padding: 48px 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer { --glow-h: 30vh; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .header-actions .btn--ghost { display: none; }
  .header-actions { margin-left: auto; }
  .menu-open .nav {
    display: flex; flex-direction: column; position: fixed; top: var(--header-h); left: 0; right: 0;
    padding: 20px 24px 32px; background: rgba(7,8,10,.96); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-soft); gap: 4px;
  }
  .menu-open .nav a { font-size: 20px; padding: 12px 0; font-family: var(--f-display); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .about-inner, .tech-inner, .cta-box { grid-template-columns: 1fr; }
  .tech-copy { position: static; }
  .about-badge { right: 16px; }
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 0; }
  .hero-media { position: relative; width: auto; height: min(560px, 120vw); margin: 48px 24px 0; border-radius: 22px; overflow: hidden; }
  .hero-media::before { background: linear-gradient(0deg, rgba(7,8,10,.5) 0%, rgba(7,8,10,0) 40%); }
  .hero-card { left: 16px; bottom: 16px; }
}
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .container { padding: 0 16px; }
  .brand-text { display: none; }
  .header-actions .btn--gold { display: none; }
  .hero-eyebrow { font-size: 11.5px; letter-spacing: .1em; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-trust { flex-direction: column; margin-top: 36px; }
  .hero-media { margin: 40px 16px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card--feature { grid-column: auto; }
  .numbers { grid-template-columns: 1fr; }
  .steps li { padding: 26px; gap: 18px; }
  .t-card { width: 290px; }
  .ticker span { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
