/* ============================================================
   Sigmaward — website (direção Watchfloor)
   Estático, dark-first. Paleta e tipos herdados da identidade.
   ============================================================ */

:root {
  --ink:    #0A0C12;
  --slate:  #121826;
  --slate2: #1A2231;
  --line:   #232C3D;
  --line-2: #2D384B;
  --cyan:   #34E1D4;
  --iris:   #7C6CFF;
  --mist:   #8A93A6;
  --fog:    #C8CEDA;
  --white:  #F4F6FB;

  --crit:   #FF4D6D;
  --high:   #FF8A3D;
  --med:    #FFD23D;
  --low:    #5BD6A0;

  --grad: linear-gradient(135deg, var(--cyan), var(--iris));
  --grad-soft: linear-gradient(135deg, rgba(52,225,212,.14), rgba(124,108,255,.14));

  --sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --disp: "Space Grotesk", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --maxw: 1180px;
  --r: 16px;
  --r-sm: 11px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--fog);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(52,225,212,.26); color: var(--white); }
a { color: var(--cyan); text-decoration: none; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 36px); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }

/* ---------- typography ---------- */
h1, h2, h3 { font-family: var(--disp); color: var(--white); line-height: 1.1; letter-spacing: -.02em; margin: 0; }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--cyan); margin: 0 0 16px;
}
.accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--mist); font-size: clamp(16px, 2vw, 19px); max-width: 56ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 11px; border: 1px solid transparent;
  transition: transform .12s ease, opacity .12s ease, border-color .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #04121A; }
.btn-primary:hover { opacity: .9; }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-lg { padding: 15px 28px; font-size: 16px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,12,18,.72); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .wm { font-family: var(--disp); font-weight: 600; font-size: 21px; color: var(--white); letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a.navlink { color: var(--mist); font-size: 14.5px; font-weight: 500; }
.nav a.navlink:hover, .nav a.navlink[aria-current="page"] { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 14px; }

/* lang toggle */
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; }
.lang button {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; cursor: pointer;
  background: transparent; color: var(--mist); border: 0; padding: 7px 11px; transition: all .12s;
}
.lang button[aria-pressed="true"] { background: var(--grad-soft); color: var(--cyan); }
.lang button:hover { color: var(--white); }

/* mobile nav */
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line-2); border-radius: 9px; width: 40px; height: 40px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content:""; display:block; width:18px; height:2px; background: var(--white); position: relative; transition: .2s; }
.nav-toggle span::before { position:absolute; top:-6px; } .nav-toggle span::after { position:absolute; top:6px; }

@media (max-width: 880px) {
  .nav { position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
         background: var(--slate); border-bottom: 1px solid var(--line); padding: 8px 0; transform: translateY(-130%); transition: transform .25s ease; }
  .nav.open { transform: translateY(0); }
  .nav a.navlink { padding: 14px clamp(20px,4vw,36px); border-top: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
}

/* ---------- sections ---------- */
section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { max-width: 60ch; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(28px, 4.4vw, 44px); }
.section-head p { color: var(--mist); margin: 14px 0 0; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(80px,12vw,140px) 0 clamp(64px,9vw,110px); }
.hero .field {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle at center, rgba(138,147,166,.16) 1px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 30%, transparent 76%);
          mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 30%, transparent 76%);
}
.hero .sweep {
  position: absolute; left:0; right:0; top:0; height: 200px; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(52,225,212,.08) 60%, rgba(52,225,212,.4));
  border-bottom: 1px solid rgba(52,225,212,.5);
  animation: sweep 8s linear infinite;
}
@keyframes sweep { 0%{ transform: translateY(-200px);} 100%{ transform: translateY(820px);} }
.hero .blip { position:absolute; width:6px; height:6px; border-radius:50%; background: var(--cyan); z-index:1; box-shadow: 0 0 12px 2px rgba(52,225,212,.7); animation: pulse 3.6s ease-in-out infinite; }
.hero .blip.b2 { background: var(--iris); box-shadow: 0 0 12px 2px rgba(124,108,255,.7); }
@keyframes pulse { 0%,100%{ opacity:.2; transform: scale(.7);} 50%{ opacity:1; transform: scale(1);} }
.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.hero h1 { font-size: clamp(34px, 6vw, 66px); font-weight: 500; }
.hero .lead { margin: 22px 0 0; font-size: clamp(17px, 2.2vw, 21px); }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .pill { display:inline-block; margin-bottom: 26px; font-family: var(--mono); font-size: 12px; letter-spacing:.14em; text-transform: uppercase; color: var(--cyan); border:1px solid var(--line-2); border-radius:999px; padding:7px 15px; }

/* ---------- stat bar ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (max-width: 720px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stat { background: var(--slate); padding: 26px 24px; }
.stat .n { font-family: var(--disp); font-weight: 600; font-size: clamp(26px,3.4vw,34px); color: var(--white); }
.stat .n .accent { font-weight:600; }
.stat .l { color: var(--mist); font-size: 13.5px; margin-top: 4px; }

/* ---------- pipeline (signature) ---------- */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
@media (max-width: 820px){ .pipeline { grid-template-columns: 1fr 1fr; } }
.stage {
  background: var(--slate); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px;
  position: relative; overflow: hidden;
}
.stage::before { content:""; position:absolute; left:0; top:0; height:3px; width:100%; background: var(--grad); opacity:.0; transition: opacity .3s; }
.stage:hover::before { opacity:1; }
.stage .k { font-family: var(--mono); font-size: 11px; letter-spacing:.16em; text-transform: uppercase; color: var(--cyan); }
.stage h3 { font-size: 19px; margin: 12px 0 8px; }
.stage p { color: var(--mist); font-size: 14px; margin: 0; }
.stage .arrow { position:absolute; right:-9px; top:50%; transform: translateY(-50%); z-index:2; color: var(--line-2); }
@media (max-width: 820px){ .stage .arrow { display:none; } }

/* ---------- features grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 920px){ .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--slate); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; transition: border-color .15s, transform .15s; }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--grad-soft); display:grid; place-items:center; margin-bottom: 18px; }
.card .ico svg { width: 21px; height: 21px; stroke: var(--cyan); }
.card h3 { font-size: 18px; margin-bottom: 9px; }
.card p { color: var(--mist); font-size: 14.5px; margin: 0; }

/* ---------- split / why ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 880px){ .split { grid-template-columns: 1fr; } }
.checks { list-style: none; margin: 26px 0 0; padding: 0; }
.checks li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line); color: var(--fog); }
.checks li:first-child { border-top: 0; }
.checks li::before { content:""; position:absolute; left:2px; top:17px; width:16px; height:16px; border-radius:5px; background: var(--grad); }
.checks li b { color: var(--white); }
.panel-visual { background: var(--slate); border:1px solid var(--line); border-radius: var(--r); padding: 30px; }

/* mono code-ish block */
.codeblock { background: #070A0F; border:1px solid var(--line); border-radius: var(--r-sm); padding: 20px; font-family: var(--mono); font-size: 13px; color: var(--fog); line-height: 1.9; overflow-x:auto; }
.codeblock .c-cy { color: var(--cyan); } .codeblock .c-ir { color: var(--iris); } .codeblock .c-mu { color: var(--mist); }
.codeblock .c-hi { color: var(--high); } .codeblock .c-lo { color: var(--low); }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 920px){ .tiers { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.tier { background: var(--slate); border: 1px solid var(--line); border-radius: var(--r); padding: 32px 28px; display:flex; flex-direction: column; }
.tier.featured { border-color: transparent; background:
   linear-gradient(var(--slate), var(--slate)) padding-box,
   var(--grad) border-box; border: 1px solid transparent; position: relative; }
.tier.featured .badge { position:absolute; top:-12px; left: 28px; background: var(--grad); color:#04121A; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform: uppercase; padding:5px 12px; border-radius: 999px; }
.tier h3 { font-size: 21px; }
.tier .price { font-family: var(--disp); color: var(--white); font-size: 34px; font-weight: 600; margin: 14px 0 2px; }
.tier .price small { font-family: var(--sans); font-size: 14px; color: var(--mist); font-weight: 400; }
.tier .desc { color: var(--mist); font-size: 14px; min-height: 42px; }
.tier ul { list-style: none; margin: 22px 0; padding: 0; flex: 1; }
.tier ul li { padding: 9px 0 9px 26px; position: relative; font-size: 14.5px; border-top: 1px solid var(--line); }
.tier ul li:first-child { border-top: 0; }
.tier ul li::before { content:"✓"; position:absolute; left:0; color: var(--cyan); font-weight: 700; }

/* ---------- forms ---------- */
.form { background: var(--slate); border:1px solid var(--line); border-radius: var(--r); padding: clamp(26px,4vw,40px); }
.field { margin-bottom: 18px; }
.field label { display:block; font-size: 13px; color: var(--fog); margin-bottom: 7px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  color: var(--white); font-family: var(--sans); font-size: 15px; padding: 12px 14px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); }
.field textarea { min-height: 120px; resize: vertical; }
.form .btn-primary { width: 100%; justify-content: center; }
.form .hint { color: var(--mist); font-size: 12.5px; margin-top: 14px; text-align: center; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-soft); border: 1px solid var(--line-2); border-radius: var(--r); padding: clamp(36px,6vw,64px); text-align: center; }
.cta-band h2 { font-size: clamp(26px,4vw,40px); }
.cta-band p { color: var(--mist); margin: 14px auto 28px; max-width: 50ch; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
@media (max-width: 720px){ .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.foot-grid p { color: var(--mist); font-size: 14px; max-width: 38ch; }
.foot-col h4 { font-family: var(--disp); font-size: 13px; color: var(--white); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
.foot-col a { display:block; color: var(--mist); font-size: 14px; padding: 5px 0; }
.foot-col a:hover { color: var(--cyan); }
.foot-bottom { display:flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--mist); font-family: var(--mono); font-size: 12px; letter-spacing:.03em; }

/* ---------- utils ---------- */
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; }

/* ---------- hero two-column + console (família Bocchi) ---------- */
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 56px); align-items: center; }
@media (max-width: 940px){ .hero-grid { grid-template-columns: 1fr; } .hero-inner { max-width: 720px; } }

.console { background: #06090F; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 24px 70px rgba(0,0,0,.45); }
.console-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--mist); }
.console-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.console-head .ttl { margin-left: 8px; }
.console-stats { display: flex; gap: clamp(18px,3vw,30px); padding: 18px; border-bottom: 1px solid var(--line); }
.console-stats .s .n { font-family: var(--disp); font-weight: 600; font-size: clamp(22px,3vw,28px); color: var(--white); line-height: 1; }
.console-stats .s .n.cy { color: var(--cyan); } .console-stats .s .n.ir { color: var(--iris); }
.console-stats .s .l { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); margin-top: 7px; }
.console-body { padding: 16px 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.95; }
.console-body .ln { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.console-body .t { color: #5a6678; }
.sev-crit { color: var(--crit); } .sev-high { color: var(--high); } .sev-cy { color: var(--cyan); } .sev-lo { color: var(--low); } .sev-ir { color: var(--iris); }
.console-foot { padding: 12px 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--cyan); display:flex; align-items:center; gap:8px; }
.console-foot .led { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* ---------- grid-2 + badges + page hero + about + form layout ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 820px){ .grid-2 { grid-template-columns: 1fr; } }
.badge-live, .badge-soon { display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 14px; }
.badge-live { color: var(--cyan); border: 1px solid rgba(52,225,212,.4); background: rgba(52,225,212,.08); }
.badge-soon { color: var(--iris); border: 1px solid rgba(124,108,255,.4); background: rgba(124,108,255,.08); }
.card .checks { margin-top: 16px; }
.card .checks li { padding: 9px 0 9px 28px; font-size: 14px; color: var(--fog); }
.card .checks li::before { width: 13px; height: 13px; top: 14px; }

/* page hero (interno, menor que o da home) */
.page-hero { position: relative; overflow: hidden; padding: clamp(70px,10vw,120px) 0 clamp(40px,6vw,64px); border-bottom: 1px solid var(--line); }
.page-hero .field { position:absolute; inset:0; z-index:0; background-image: radial-gradient(circle at center, rgba(138,147,166,.13) 1px, transparent 1.4px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 30%, transparent 75%); }
.page-hero .inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); }
.page-hero .lead { margin-top: 18px; }

/* about */
.founder { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px,4vw,48px); align-items: start; }
@media (max-width: 720px){ .founder { grid-template-columns: 1fr; } }
.founder .photo { aspect-ratio: 1; border-radius: var(--r); background: var(--grad-soft); border: 1px solid var(--line-2); display: grid; place-items: center; }
.founder .photo svg { width: 64px; height: 64px; }
.quote { font-family: var(--disp); font-size: clamp(20px,3vw,28px); color: var(--white); line-height: 1.35; border-left: 3px solid var(--cyan); padding-left: 22px; margin: 26px 0 0; }

/* contact layout */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px,4vw,44px); align-items: start; }
@media (max-width: 820px){ .contact-grid { grid-template-columns: 1fr; } }
.contact-side .row { padding: 16px 0; border-top: 1px solid var(--line); }
.contact-side .row:first-child { border-top: 0; }
.contact-side .k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); margin-bottom: 5px; }
.contact-side .v { color: var(--white); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .sweep { animation: none; opacity: .5; top: 160px; }
  .hero .blip { animation: none; opacity: .8; }
  .card:hover, .btn:active { transform: none; }
}
