/* ============================================
   WF HyperContract — Landing Page Styles
   Compras e Contratos (CLM)
   ============================================ */

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hc-hero{position:relative;min-height:100vh;display:flex;align-items:center;
  padding-top:80px;overflow:hidden}

.hc-hero__bg{position:absolute;inset:0;overflow:hidden}
.hc-hero__canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}

.hc-hero__orb{position:absolute;border-radius:50%;filter:blur(100px);pointer-events:none}
.hc-hero__orb--1{width:600px;height:600px;top:-15%;right:-8%;
  background:radial-gradient(circle,rgba(99,102,241,0.14),transparent 70%);
  animation:hc-drift-1 22s ease-in-out infinite}
.hc-hero__orb--2{width:500px;height:500px;bottom:-10%;left:-5%;
  background:radial-gradient(circle,rgba(6,182,212,0.12),transparent 70%);
  animation:hc-drift-2 26s ease-in-out infinite}
.hc-hero__orb--3{width:400px;height:400px;top:35%;left:30%;
  background:radial-gradient(circle,rgba(139,92,246,0.08),transparent 70%);
  animation:hc-drift-3 20s ease-in-out infinite}

@keyframes hc-drift-1{0%,100%{transform:translate(0,0)}50%{transform:translate(-50px,40px)}}
@keyframes hc-drift-2{0%,100%{transform:translate(0,0)}50%{transform:translate(40px,-30px)}}
@keyframes hc-drift-3{0%,100%{transform:translate(0,0)}50%{transform:translate(-30px,-40px)}}

.hc-hero__inner{display:grid;grid-template-columns:1.1fr 0.9fr;gap:4rem;align-items:center}

.hc-hero__title{font-size:clamp(2.2rem,4.5vw,3.8rem);font-weight:800;
  letter-spacing:-0.04em;line-height:1.08;margin-bottom:1.5rem;margin-top:1.5rem}

.hc-hero__desc{font-size:clamp(1rem,1.8vw,1.15rem);color:var(--wf-text-2);
  line-height:1.7;max-width:580px;margin-bottom:2.5rem}

.hc-hero__ctas{display:flex;gap:12px;flex-wrap:wrap}

/* KPI Cards */
.hc-hero__kpis{display:grid;grid-template-columns:1fr 1fr;gap:16px}

.hc-kpi{background:var(--wf-bg-card);border:1px solid var(--wf-border);
  border-radius:var(--wf-r-xl);padding:1.5rem;text-align:center;
  transition:all 400ms var(--wf-ease);position:relative;overflow:hidden}
.hc-kpi::before{content:'';position:absolute;inset:0;
  background:var(--wf-grad-glow);opacity:0;transition:opacity 400ms;pointer-events:none}
.hc-kpi:hover{border-color:var(--wf-border-hover);transform:translateY(-4px)}
.hc-kpi:hover::before{opacity:1}

.hc-kpi__icon{font-size:1.5rem;color:var(--wf-primary-light);margin-bottom:0.5rem}
.hc-kpi__value{font-family:var(--wf-display);font-size:2rem;font-weight:800;
  color:var(--wf-text-1);letter-spacing:-0.03em}
.hc-kpi__label{font-size:12px;color:var(--wf-text-3);margin-top:4px;line-height:1.4}


/* ═══════════════════════════════════════════
   CONTEXT — BEFORE / AFTER
   ═══════════════════════════════════════════ */
.hc-context{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}

.hc-context__problems,.hc-context__solution{
  background:var(--wf-bg-card);border:1px solid var(--wf-border);
  border-radius:var(--wf-r-xl);padding:2rem 2.5rem;position:relative;overflow:hidden}
.hc-context__problems::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--wf-rose),rgba(244,63,94,0.3));opacity:0.6}
.hc-context__solution::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;
  background:linear-gradient(90deg,var(--wf-emerald),rgba(16,185,129,0.3));opacity:0.6}

.hc-context__title{font-size:1.1rem;font-weight:700;margin-bottom:1.25rem;
  display:flex;align-items:center;gap:8px}

.hc-context__list{list-style:none;display:flex;flex-direction:column;gap:10px}
.hc-context__list li{display:flex;gap:10px;align-items:flex-start;
  font-size:14px;color:var(--wf-text-2);line-height:1.5}
.hc-context__list li i{margin-top:2px;flex-shrink:0;font-size:1rem;color:var(--wf-rose)}
.hc-context__list--green li i{color:var(--wf-emerald-light)}


/* ═══════════════════════════════════════════
   AUDIENCE
   ═══════════════════════════════════════════ */
.hc-audience__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1.25rem}

.hc-audience{text-align:center;padding:1.5rem}
.hc-audience h4{font-size:0.95rem;margin-bottom:0.4rem}
.hc-audience p{font-size:12px;color:var(--wf-text-3);line-height:1.5}
.hc-audience__icon{font-size:1.8rem;color:var(--wf-primary-light);margin-bottom:0.75rem}


/* ═══════════════════════════════════════════
   PILLARS (ARCHITECTURE)
   ═══════════════════════════════════════════ */
.hc-pillars__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}

.hc-pillar{padding:2rem;position:relative;overflow:hidden}
.hc-pillar__accent{position:absolute;top:0;left:0;right:0;height:3px;opacity:0.5}
.hc-pillar__accent--indigo{background:linear-gradient(90deg,var(--wf-primary),var(--wf-cyan))}
.hc-pillar__accent--cyan{background:linear-gradient(90deg,var(--wf-cyan),var(--wf-emerald))}
.hc-pillar__accent--violet{background:linear-gradient(90deg,var(--wf-violet),var(--wf-primary))}

.hc-pillar__icon{font-size:2rem;margin-bottom:1rem}
.hc-pillar:nth-child(1) .hc-pillar__icon{color:var(--wf-primary-light)}
.hc-pillar:nth-child(2) .hc-pillar__icon{color:var(--wf-cyan-light)}
.hc-pillar:nth-child(3) .hc-pillar__icon{color:#a78bfa}

.hc-pillar h3{font-size:1.2rem;font-weight:700;margin-bottom:0.25rem}
.hc-pillar__label{font-size:12px;color:var(--wf-text-3);display:block;margin-bottom:0.75rem;
  text-transform:uppercase;letter-spacing:0.05em;font-weight:600}
.hc-pillar p{font-size:13px;color:var(--wf-text-2);line-height:1.6}


/* ═══════════════════════════════════════════
   LIFECYCLE TIMELINE
   ═══════════════════════════════════════════ */
.hc-lifecycle{display:flex;align-items:center;justify-content:center;gap:0;
  margin-bottom:3rem;padding:0 1rem;position:relative}

.hc-lifecycle__step{display:flex;flex-direction:column;align-items:center;gap:8px;
  flex:1;position:relative;z-index:1}
.hc-lifecycle__step span{font-size:12px;font-weight:600;color:var(--wf-text-3);
  text-transform:uppercase;letter-spacing:0.05em}

.hc-lifecycle__dot{width:40px;height:40px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--wf-display);font-size:14px;font-weight:800;
  background:var(--wf-bg-card);border:2px solid var(--wf-border);
  color:var(--wf-text-2);transition:all 400ms var(--wf-ease)}

.hc-lifecycle__step--active .hc-lifecycle__dot{
  border-color:var(--wf-primary);color:var(--wf-primary-light);
  box-shadow:0 0 16px rgba(99,102,241,0.3)}
.hc-lifecycle__step--active span{color:var(--wf-primary-light)}

.hc-lifecycle__line{flex:1;height:2px;max-width:80px;
  background:linear-gradient(90deg,rgba(99,102,241,0.3),rgba(6,182,212,0.3));opacity:0.5}


/* ═══════════════════════════════════════════
   MODULES (FEATURE BLOCKS)
   ═══════════════════════════════════════════ */
.hc-module{padding:2.5rem;margin-bottom:1.5rem}
.hc-module__header{display:flex;align-items:center;gap:16px;margin-bottom:1.5rem}
.hc-module__title{font-size:1.3rem;font-weight:700}
.hc-module__sub{font-size:13px;color:var(--wf-text-3);margin-top:2px}

.hc-badge{width:48px;height:48px;border-radius:var(--wf-r-md);flex-shrink:0;
  display:flex;align-items:center;justify-content:center;font-size:1.3rem}
.hc-badge--emerald{background:rgba(16,185,129,0.1);color:var(--wf-emerald-light);
  border:1px solid rgba(16,185,129,0.15)}
.hc-badge--cyan{background:rgba(6,182,212,0.1);color:var(--wf-cyan-light);
  border:1px solid rgba(6,182,212,0.15)}
.hc-badge--indigo{background:rgba(99,102,241,0.1);color:var(--wf-primary-light);
  border:1px solid rgba(99,102,241,0.15)}
.hc-badge--amber{background:rgba(245,158,11,0.1);color:#fbbf24;
  border:1px solid rgba(245,158,11,0.15)}
.hc-badge--violet{background:rgba(139,92,246,0.1);color:#a78bfa;
  border:1px solid rgba(139,92,246,0.15)}


/* Feature Grid */
.hc-features__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.25rem}

.hc-feat{padding:1.25rem;border-radius:var(--wf-r-lg);
  background:rgba(255,255,255,0.02);border:1px solid var(--wf-border);
  transition:all 300ms var(--wf-ease)}
.hc-feat:hover{border-color:var(--wf-border-hover);background:rgba(255,255,255,0.04)}

.hc-feat h4{font-size:14px;font-weight:700;margin-bottom:6px;color:var(--wf-text-1)}
.hc-feat p{font-size:13px;color:var(--wf-text-3);line-height:1.6}

.hc-feat__icon{width:36px;height:36px;border-radius:var(--wf-r-sm);
  display:flex;align-items:center;justify-content:center;font-size:1.1rem;margin-bottom:0.75rem}
.hc-feat__icon--emerald{background:rgba(16,185,129,0.1);color:var(--wf-emerald-light)}
.hc-feat__icon--cyan{background:rgba(6,182,212,0.1);color:var(--wf-cyan-light)}
.hc-feat__icon--indigo{background:rgba(99,102,241,0.1);color:var(--wf-primary-light)}
.hc-feat__icon--amber{background:rgba(245,158,11,0.1);color:#fbbf24}
.hc-feat__icon--violet{background:rgba(139,92,246,0.1);color:#a78bfa}


/* ═══════════════════════════════════════════
   TECH DIFFERENTIALS
   ═══════════════════════════════════════════ */
.hc-tech__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}

.hc-tech{padding:2rem}
.hc-tech h4{font-size:1.1rem;margin-bottom:0.5rem}
.hc-tech p{font-size:13px;color:var(--wf-text-3);line-height:1.6;margin-bottom:1.5rem}
.hc-tech__icon{font-size:2rem;color:var(--wf-primary-light);margin-bottom:1rem}
.hc-tech__stat{padding-top:1rem;border-top:1px solid var(--wf-border)}
.hc-tech__stat-value{font-family:var(--wf-display);font-size:1.5rem;font-weight:800;
  color:var(--wf-text-1);letter-spacing:-0.03em}
.hc-tech__stat-label{display:block;font-size:12px;color:var(--wf-text-3);margin-top:2px}


/* ═══════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════ */
.hc-cta{position:relative;border-radius:var(--wf-r-xl);padding:4rem;text-align:center;
  overflow:hidden;background:var(--wf-bg-card);border:1px solid var(--wf-border)}

.hc-cta__bg{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.hc-cta__orb{position:absolute;border-radius:50%;filter:blur(80px)}
.hc-cta__orb--1{width:400px;height:400px;top:-20%;left:-10%;
  background:radial-gradient(circle,rgba(99,102,241,0.15),transparent 70%)}
.hc-cta__orb--2{width:350px;height:350px;bottom:-20%;right:-10%;
  background:radial-gradient(circle,rgba(139,92,246,0.1),transparent 70%)}

.hc-cta__content{position:relative;z-index:1}
.hc-cta__title{font-size:clamp(1.8rem,3.5vw,2.8rem);margin-top:1rem;margin-bottom:1rem}
.hc-cta__desc{font-size:1.05rem;color:var(--wf-text-2);line-height:1.7;
  max-width:620px;margin:0 auto 2rem}
.hc-cta__actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;
  margin-bottom:1.5rem}
.hc-cta__note{font-size:12px;color:var(--wf-text-3)}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media(max-width:1024px){
  .hc-hero__inner{grid-template-columns:1fr;text-align:center}
  .hc-hero__desc{margin-left:auto;margin-right:auto}
  .hc-hero__ctas{justify-content:center}
  .hc-hero__kpis{max-width:400px;margin:0 auto}
  .hc-context{grid-template-columns:1fr}
  .hc-audience__grid{grid-template-columns:repeat(3,1fr)}
  .hc-pillars__grid{grid-template-columns:1fr}
  .hc-tech__grid{grid-template-columns:repeat(2,1fr)}
  .hc-features__grid{grid-template-columns:repeat(2,1fr)}
  .hc-module{padding:2rem}
  .hc-lifecycle{flex-wrap:wrap;gap:4px}
  .hc-lifecycle__line{max-width:40px}
}

@media(max-width:640px){
  .hc-hero__kpis{grid-template-columns:1fr 1fr;gap:10px}
  .hc-audience__grid{grid-template-columns:repeat(2,1fr)}
  .hc-tech__grid{grid-template-columns:1fr}
  .hc-features__grid{grid-template-columns:1fr}
  .hc-lifecycle__step span{font-size:10px}
  .hc-lifecycle__dot{width:32px;height:32px;font-size:12px}
  .hc-lifecycle__line{max-width:20px}
  .hc-cta{padding:2.5rem 1.5rem}
  .hc-module{padding:1.5rem}
}
