/* v2 human-led AI positioning + typography corrections */
.brand-word{
  line-height:1.06;
  letter-spacing:.055em;
}
.brand-word strong{line-height:1.05;font-size:13.5px}
.brand-word em{line-height:1.12;margin-top:2px}

.hero-title{
  line-height:.94;
  letter-spacing:-.06em;
}
.hero-title .gradient-text{
  line-height:1.04;
  padding-bottom:.11em;
  margin-bottom:-.11em;
}

.core-center{position:relative}
.core-human{
  margin-top:13px;
  padding:5px 8px;
  border:1px solid rgba(157,255,122,.28);
  border-radius:999px;
  color:#b9ff9f;
  background:rgba(157,255,122,.055);
  font-size:7px;
  line-height:1;
  font-weight:900;
  letter-spacing:.17em;
}
.mini-card{min-width:168px;padding:11px 13px}
.mini-card .float-icon{width:31px;height:31px;border-radius:10px;font-size:13px}
.card-d{right:8px;bottom:68px;animation:float 6.4s ease-in-out infinite .3s}
.card-e{left:20px;bottom:180px;animation:float 7.1s ease-in-out infinite reverse .8s}
.card-f{right:34px;top:96px;animation:float 6s ease-in-out infinite 1.1s}
.card-d .float-icon{color:var(--lime)}
.card-e .float-icon{color:var(--violet)}
.card-f .float-icon{color:var(--cyan)}

.human-ai-manifesto{
  position:relative;
  margin:24px 0 42px;
  padding:38px 42px 26px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:30px;
  background:
    linear-gradient(135deg,rgba(98,232,255,.065),transparent 35%),
    linear-gradient(315deg,rgba(124,92,255,.09),transparent 40%),
    rgba(10,12,19,.74);
  overflow:hidden;
  box-shadow:0 28px 90px rgba(0,0,0,.26);
}
.human-ai-manifesto::after{
  content:"";
  position:absolute;
  width:280px;height:280px;border-radius:50%;
  right:-120px;top:-130px;
  border:1px solid rgba(98,232,255,.12);
  box-shadow:0 0 0 38px rgba(98,232,255,.02),0 0 0 76px rgba(124,92,255,.018);
  pointer-events:none;
}
.manifesto-kicker{
  display:flex;align-items:center;gap:10px;
  margin-bottom:25px;
  color:#d6dbea;
  font-size:9px;font-weight:900;letter-spacing:.21em;
}
.manifesto-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:62px;align-items:start}
.manifesto-grid h2{margin:0;font-size:clamp(36px,4.5vw,64px);line-height:1.02;letter-spacing:-.055em}
.manifesto-grid h2 span{
  background:linear-gradient(100deg,var(--cyan),#b8b2ff 48%,var(--pink));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.manifesto-copy{display:grid;gap:16px;padding-top:4px}
.manifesto-copy p{margin:0;color:#aeb6c8;font-size:14px;line-height:1.78}
.manifesto-copy strong{color:#f4f6fb;font-weight:720}
.manifesto-rail{
  display:grid;grid-template-columns:repeat(4,1fr);
  margin-top:30px;border-top:1px solid var(--line);
}
.manifesto-rail span{
  padding:18px 18px 3px 0;
  color:#8f98aa;font-size:11px;font-weight:750;
  border-right:1px solid var(--line);
}
.manifesto-rail span:last-child{border-right:0;padding-left:18px}
.manifesto-rail span:not(:first-child){padding-left:18px}
.manifesto-rail i{font-style:normal;color:#596173;font-size:8px;letter-spacing:.14em;margin-right:8px}
.manifesto-rail .human{color:#dfffd5}
.manifesto-rail .human i{color:var(--lime)}

.family-strip strong{font-size:13px;line-height:1.25}
.family-strip span{line-height:1.3}

@media (max-width:1100px){
  .hero-visual{min-height:650px}
  .card-f{right:10px;top:75px}
  .card-e{left:10px;bottom:190px}
  .card-d{right:0;bottom:60px}
  .manifesto-grid{grid-template-columns:1fr;gap:24px}
}
@media (max-width:760px){
  .brand-word{line-height:1.08}
  .brand-word strong{font-size:12.5px}
  .brand-word em{font-size:10.5px;margin-top:1px}
  .hero-title{line-height:.98;letter-spacing:-.055em}
  .hero-title .gradient-text{padding-bottom:.13em;margin-bottom:-.08em}
  .hero-visual{min-height:510px;transform:scale(.78);margin-inline:-58px}
  .card-a{left:8px;top:102px}.card-b{right:0;top:210px}.card-c{left:38px;bottom:52px}
  .card-d{right:8px;bottom:48px}.card-e{left:3px;bottom:180px}.card-f{right:12px;top:70px}
  .human-ai-manifesto{padding:30px 24px 20px;margin-top:8px;border-radius:24px}
  .manifesto-grid h2{font-size:clamp(34px,10.5vw,48px)}
  .manifesto-copy p{font-size:13px}
  .manifesto-rail{grid-template-columns:1fr 1fr}
  .manifesto-rail span{border-bottom:1px solid var(--line);padding:15px 12px 15px 0}
  .manifesto-rail span:nth-child(2){border-right:0;padding-left:12px}
  .manifesto-rail span:nth-child(3),.manifesto-rail span:nth-child(4){border-bottom:0}
  .manifesto-rail span:nth-child(3){padding-left:0}
  .manifesto-rail span:nth-child(4){padding-left:12px}
}
@media (max-width:430px){
  .hero-title{font-size:50px;line-height:1}
  .hero-visual{transform:scale(.68);margin-inline:-92px;min-height:470px}
  .human-ai-manifesto{padding-inline:20px}
}

/* v2 mobile orbit containment: keep all six intelligence signals readable */
@media (max-width:760px){
  .hero-visual{width:100%;margin-inline:0;transform:scale(.72);min-height:500px}
}
@media (max-width:430px){
  .hero-visual{width:100%;margin-inline:0;transform:scale(.66);min-height:455px}
}

/* v4 progressive enhancement: never hide page content unless JS has initialized reveal motion. */
.reveal{opacity:1;transform:none}
.reveal.reveal-pending{opacity:0;transform:translateY(22px)}
.reveal.reveal-pending.visible{opacity:1;transform:translateY(0)}


/* v5 Portuguese core + compact 2x2 process cards */
.core-center{
  width:100%;
  min-height:150px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.core-center strong{margin:3px 0 2px}
.core-kicker{display:block;text-align:center}
.core-human{align-self:center;margin-left:auto;margin-right:auto}

.process-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
  border-top:0;
}
.process-step,
.process-step:not(:first-child){
  min-height:0;
  padding:24px 24px 22px;
  border:1px solid var(--line);
  border-radius:22px;
  background:
    radial-gradient(circle at 92% 10%,rgba(98,232,255,.055),transparent 30%),
    rgba(255,255,255,.018);
}
.process-step:nth-child(2),
.process-step:nth-child(3),
.process-step:nth-child(4){border-right:1px solid var(--line);border-top:1px solid var(--line)}
.process-step h3{margin:28px 0 9px;font-size:21px}
.process-step p{max-width:52ch}
.process-step::after,
.process-step:not(:first-child)::after{left:24px;top:-4px}

@media (max-width:760px){
  .process-grid{grid-template-columns:1fr;gap:12px}
  .process-step,.process-step:not(:first-child){padding:21px 20px 20px;border:1px solid var(--line);border-radius:18px}
  .process-step h3{margin:22px 0 8px}
  .process-step::after,.process-step:not(:first-child)::after{left:20px}
}

/* v7 explicit server assets */
.brand-mark{
  background-image:url('../images/brand-mark.svg');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.brand-star{opacity:0}
.hero-visual::before{
  background:
    url('../images/hero-network.svg') center/contain no-repeat,
    radial-gradient(circle at 50% 45%,rgba(124,92,255,.22),rgba(98,232,255,.08) 38%,transparent 70%);
}
.ai-core{
  background:
    url('../images/ai-core-grid.svg') center/88% no-repeat,
    radial-gradient(circle at 30% 25%,rgba(255,255,255,.18),transparent 25%),
    radial-gradient(circle,#151927 0%,#090b12 62%,#05060a 100%);
}
