/* CWEBiNFO – Soluções em TI */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
}

:root {
  --bg: #05080b;
  --bg-2: #080d12;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --border: rgba(255, 255, 255, .08);
  --border-2: rgba(255, 255, 255, .14);
  --text: #e9eff3;
  --muted: #94a3af;
  --brand: #73b382;
  --accent: #73b382;
  --accent-2: #7fb0b0;
  --grad: linear-gradient(110deg, #8fc59c 0%, #73b382 50%, #5f9c8b 100%);
  --wa: #25d366;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", "Roboto Mono", Menlo, Consolas, monospace;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(115, 179, 130, .3); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; padding: .7rem 1rem; background: var(--accent); color: #04130b; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 1rem; }

/* Buttons */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--h); padding: 0 1.35rem;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .97rem; white-space: nowrap; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn:active { transform: scale(.97); }
.btn--sm { --h: 40px; padding: 0 1rem; font-size: .9rem; }
.btn--lg { --h: 54px; padding: 0 1.6rem; font-size: 1.02rem; }
.btn--primary { background: var(--grad); color: #04140a; box-shadow: 0 8px 26px -10px rgba(115, 179, 130, .45); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(115, 179, 130, .55); }
.btn--ghost { background: var(--surface); border-color: var(--border-2); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); border-color: rgba(115, 179, 130, .5); transform: translateY(-2px); }
.btn .i { width: 1.15em; height: 1.15em; }
.btn > .i:last-child:not(:first-child) { transition: transform .25s var(--ease); }
.btn:hover > .i:last-child:not(:first-child) { transform: translateX(3px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 600 .78rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
@media (max-width: 479px) { .eyebrow { font-size: .7rem; letter-spacing: .08em; } }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(115, 179, 130, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(115, 179, 130, 0); } 100% { box-shadow: 0 0 0 0 rgba(115, 179, 130, 0); } }

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(5, 8, 11, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--border); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; }
.brand__mark { width: 34px; height: 34px; }
.brand__name { font: 700 1.28rem/1 var(--font-display); letter-spacing: .01em; }
.brand__name em { font-style: normal; color: var(--accent); }

.nav { display: none; }
.nav__list a { position: relative; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav__list a:hover, .nav__list a.is-active { color: var(--text); }
.nav__social { display: flex; gap: .4rem; }
.nav__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; color: var(--muted); transition: color .2s, background-color .2s; }
.nav__social a:hover { color: var(--text); background: var(--surface-2); }
.header__cta span { display: none; }
.header__cta { --h: 40px; padding: 0 .8rem; }

.menu-toggle {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); cursor: pointer;
}
.menu-toggle .i { width: 22px; height: 22px; }
.menu-toggle .i--close, .menu-open .menu-toggle .i--open { display: none; }
.menu-open .menu-toggle .i--close { display: block; }

@media (max-width: 959px) {
  .nav {
    display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
    position: fixed; inset: var(--header-h) 0 0; padding: 2rem clamp(1.1rem, 4vw, 2rem) calc(2rem + env(safe-area-inset-bottom));
    background: rgba(5, 8, 11, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .menu-open .header { background: rgba(5, 8, 11, .97); border-color: var(--border); }
  .nav__list { display: grid; gap: .25rem; }
  .nav__list a { display: block; padding: .9rem 0; font: 600 1.6rem/1.2 var(--font-display); color: var(--text); border-bottom: 1px solid var(--border); }
  .nav__social a { width: 48px; height: 48px; background: var(--surface); border: 1px solid var(--border); }
  .nav__social .i { width: 22px; height: 22px; }
  body.menu-open { overflow: hidden; }
}

@media (min-width: 480px) { .header__cta span { display: inline; } .header__cta { padding: 0 1rem; } }

@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .nav { display: flex; align-items: center; gap: 1.25rem; }
  .nav__list { display: flex; gap: 1.75rem; }
  .nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .3s var(--ease); }
  .nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
  .menu-toggle { display: none; }
  .brand { margin-right: 0; }
  .nav { margin-inline: auto; }
}

/* Hero */
.hero { position: relative; padding: calc(var(--header-h) + 2.5rem) 0 3.5rem; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; }
.glow--a { width: 720px; height: 720px; top: -320px; right: -220px; background: radial-gradient(circle, rgba(115, 179, 130, .13), transparent 62%); animation: drift 14s ease-in-out infinite alternate; }
.glow--b { width: 620px; height: 620px; bottom: -340px; left: -240px; background: radial-gradient(circle, rgba(95, 156, 139, .14), transparent 62%); animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(-40px, 30px, 0) scale(1.08); } }

.hero__inner, .split, .trust, .about, .contact__box, .cards, .cases, .features { grid-template-columns: minmax(0, 1fr); }
.hero__inner { display: grid; gap: 3rem; align-items: center; }
.hero__title { font-size: clamp(2.3rem, 7.6vw, 4.3rem); margin-bottom: 1.25rem; }
.hero__lead { color: var(--muted); font-size: clamp(1.02rem, 2.2vw, 1.18rem); max-width: 36rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.4rem; }
.hero__actions .btn { flex: 1 1 220px; }
.hero__proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--border); max-width: 34rem; }
.hero__proof li { display: grid; gap: .25rem; align-content: start; }
.hero__proof strong { font: 700 clamp(1.45rem, 4vw, 1.9rem)/1 var(--font-display); color: var(--text); min-height: 1.9rem; display: flex; align-items: center; }
.hero__proof strong .i { width: 1.7rem; height: 1.7rem; color: var(--accent); }
.hero__proof span { font-size: .82rem; color: var(--muted); line-height: 1.35; }

/* Console visual */
.hero__visual { position: relative; max-width: 480px; width: 100%; margin-inline: auto; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(115, 179, 130, .18); inset: 50% auto auto 50%; translate: -50% -50%; animation: spin 40s linear infinite; }
.orbit--1 { width: 120%; aspect-ratio: 1; }
.orbit--2 { width: 150%; aspect-ratio: 1; border-color: rgba(95, 156, 139, .1); animation-duration: 60s; animation-direction: reverse; }
.orbit::before { content: ""; position: absolute; top: 50%; left: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
@keyframes spin { to { rotate: 360deg; } }

.console {
  position: relative; border-radius: var(--radius); padding: 1rem;
  background: linear-gradient(160deg, rgba(18, 28, 34, .92), rgba(8, 13, 18, .94));
  border: 1px solid var(--border-2); box-shadow: var(--shadow), 0 0 0 1px rgba(115, 179, 130, .05), 0 0 80px -30px rgba(115, 179, 130, .22);
}
.console::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(115, 179, 130, .5), transparent 35%, transparent 65%, rgba(95, 156, 139, .4)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.console__bar { display: flex; align-items: center; gap: .4rem; padding: 0 .2rem .85rem; border-bottom: 1px solid var(--border); margin-bottom: .6rem; }
.console__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.console__bar i:nth-child(2) { background: #febc2e; }
.console__bar i:nth-child(3) { background: #28c840; }
.console__bar span { margin-left: .5rem; font: 500 .74rem var(--font-mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console__list li { display: flex; align-items: center; gap: .75rem; padding: .62rem .35rem; border-bottom: 1px dashed rgba(255, 255, 255, .06); }
.console__list li > .i { color: var(--accent); width: 20px; height: 20px; }
.console__list div { display: grid; flex: 1; min-width: 0; }
.console__list b { font-size: .9rem; font-weight: 600; }
.console__list small { font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status { display: inline-flex; align-items: center; gap: .4rem; font: 600 .7rem var(--font-mono); color: var(--accent); background: rgba(115, 179, 130, .1); border: 1px solid rgba(115, 179, 130, .25); padding: .3rem .55rem; border-radius: 999px; white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.8s infinite; }
.console__list li:nth-child(2) .status::before { animation-delay: .3s; }
.console__list li:nth-child(3) .status::before { animation-delay: .6s; }
.console__list li:nth-child(4) .status::before { animation-delay: .9s; }
.console__list li:nth-child(5) .status::before { animation-delay: 1.2s; }
@keyframes blink { 50% { opacity: .25; } }
.console__chart { margin: .85rem 0 .7rem; padding: .75rem; border-radius: var(--radius-sm); background: rgba(0, 0, 0, .25); border: 1px solid var(--border); }
.console__chart-head { display: flex; justify-content: space-between; font: 500 .72rem var(--font-mono); color: var(--muted); margin-bottom: .4rem; }
.live { color: var(--accent); }
.console__chart svg { width: 100%; height: 64px; }
.console__chart .line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s .4s var(--ease) forwards; }
.console__chart .area { opacity: 0; animation: fade 1.2s 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.console__term { font: 500 .78rem/1.5 var(--font-mono); color: #cfe3d4; padding: .2rem .35rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prompt { color: var(--accent-2); }
.caret { display: inline-block; width: 7px; height: 1em; background: var(--accent); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }

.chip { position: absolute; display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .8rem; border-radius: 999px; font: 600 .78rem var(--font-mono); background: rgba(10, 18, 22, .9); border: 1px solid var(--border-2); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.chip .i { width: 15px; height: 15px; color: var(--accent); }
.chip--a { top: -16px; right: 8%; }
.chip--b { bottom: -18px; left: 6%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (min-width: 960px) {
  .hero { padding: calc(var(--header-h) + 4.5rem) 0 6rem; min-height: min(100vh, 900px); display: flex; align-items: center; }
  .hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 4rem; }
  .hero__actions .btn { flex: 0 0 auto; }
}

/* Stack marquee */
.stack { padding: 2rem 0; border-block: 1px solid var(--border); background: var(--bg-2); }
.stack__label { text-align: center; font: 500 .74rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; flex: none; gap: .75rem; padding-right: .75rem; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font: 600 .9rem var(--font-display); color: #c9d4db; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Sections */
.section { padding: clamp(4.5rem, 10vw, 7.5rem) 0; position: relative; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--border); }
.section__head { max-width: 44rem; margin: 0 auto clamp(2.5rem, 6vw, 4rem); text-align: center; }
.section__head h2, .split h2, .about h2, .contact h2 { font-size: clamp(1.85rem, 5vw, 2.9rem); margin-bottom: 1rem; }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }

/* Service cards */
.cards { display: grid; gap: 1rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; gap: .8rem;
  padding: 1.6rem; border-radius: var(--radius);
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(115, 179, 130, .09), transparent 45%), var(--surface);
  border: 1px solid var(--border);
  transition: border-color .3s, transform .35s var(--ease), background-color .3s;
}
.card:hover { border-color: rgba(115, 179, 130, .35); transform: translateY(-4px); }
.card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--accent); background: linear-gradient(140deg, rgba(115, 179, 130, .16), rgba(95, 156, 139, .08)); border: 1px solid rgba(115, 179, 130, .25); margin-bottom: .3rem; }
.card__icon .i { width: 24px; height: 24px; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); font-size: .94rem; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font: 500 .72rem var(--font-mono); color: #b9c7cf; padding: .28rem .55rem; border-radius: 6px; background: rgba(255, 255, 255, .05); border: 1px solid var(--border); }
.card__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem; font-weight: 600; font-size: .92rem; color: var(--accent); padding: .35rem 0; }
.card__link .i { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.card__link:hover .i { transform: translateX(4px); }

/* Split / infrastructure */
.split { display: grid; gap: 3rem; align-items: center; }
.split__copy > p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.5rem; font-size: 1.05rem; }
.checklist { display: grid; gap: .7rem; margin-bottom: 1.5rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist .i { color: #03140b; background: var(--accent); border-radius: 50%; padding: 3px; width: 20px; height: 20px; margin-top: 3px; stroke-width: 3; }
.norms { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.norms li { font: 600 .76rem var(--font-mono); padding: .4rem .7rem; border-radius: 8px; border: 1px solid rgba(95, 156, 139, .3); color: var(--accent-2); background: rgba(95, 156, 139, .06); }
.steps { display: grid; gap: 1rem; counter-reset: s; position: relative; }
.steps li { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.35rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, transform .35s var(--ease); }
.steps li:hover { border-color: rgba(115, 179, 130, .3); transform: translateX(4px); }
.steps__n { font: 700 1.5rem/1 var(--font-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 2.2rem; }
.steps h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.steps p { color: var(--muted); font-size: .93rem; }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 5rem; } }

/* Features */
.features { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(180deg, var(--surface), transparent); transition: border-color .3s; }
.feature:hover { border-color: var(--border-2); }
.feature > .i { width: 28px; height: 28px; color: var(--accent); margin-bottom: 1rem; }
.feature h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.feature p { color: var(--muted); font-size: .94rem; }

.process { display: grid; grid-template-columns: repeat(2, 1fr); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; background: var(--bg-2); }
.process__step { display: grid; gap: .3rem; padding: 1.4rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; }
.process__step:nth-child(2n) { border-right: 0; }
.process__step:nth-child(n+3) { border-bottom: 0; }
.process__step .i { color: var(--accent-2); width: 24px; height: 24px; margin-bottom: .4rem; }
.process__step b { font: 700 1.05rem var(--font-display); }
.process__step span { color: var(--muted); font-size: .88rem; line-height: 1.45; }
@media (min-width: 900px) {
  .process { grid-template-columns: repeat(4, 1fr); }
  .process__step { border-bottom: 0; border-right: 1px solid var(--border) !important; padding: 1.8rem; }
  .process__step:last-child { border-right: 0 !important; }
  .process__step:not(:last-child)::after { content: ""; position: absolute; top: 2.2rem; right: -6px; width: 11px; height: 11px; border-top: 1px solid var(--border-2); border-right: 1px solid var(--border-2); background: var(--bg-2); rotate: 45deg; z-index: 1; }
}

/* Cases */
.cases { display: grid; gap: 1rem; margin-bottom: 3rem; }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case { position: relative; display: flex; flex-direction: column; gap: .8rem; padding: 1.7rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: border-color .3s, transform .35s var(--ease); }
.case::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.case:hover { transform: translateY(-4px); border-color: var(--border-2); }
.case:hover::before { transform: scaleX(1); }
.case__flag { align-self: flex-start; font: 600 .72rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.case h3 { font-size: 1.2rem; }
.case p { color: var(--muted); font-size: .94rem; flex: 1; }

.trust { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .trust { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.quote { margin: 0; padding: 1.8rem; border-radius: var(--radius); background: linear-gradient(150deg, rgba(115, 179, 130, .1), rgba(95, 156, 139, .04)); border: 1px solid rgba(115, 179, 130, .2); }
.quote__mark { width: 34px; height: 34px; color: var(--accent); margin-bottom: .8rem; }
.quote blockquote { margin: 0 0 1.2rem; font-size: 1.06rem; line-height: 1.6; }
.quote figcaption { display: grid; }
.quote figcaption span { color: var(--muted); font-size: .85rem; }
.clients { padding: 1.8rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.clients > p { font: 500 .74rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.clients__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.clients__grid a { display: block; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); filter: grayscale(1) brightness(.9); opacity: .8; transition: filter .35s, opacity .35s, transform .35s var(--ease); }
.clients__grid a:hover, .clients__grid a:focus-visible { filter: none; opacity: 1; transform: translateY(-3px); }
.clients__grid img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
@media (hover: none) { .clients__grid a { filter: none; opacity: 1; } }

/* About */
.about { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 5rem; } }
.about__card { position: relative; padding: 2rem; border-radius: calc(var(--radius) + 4px); background: linear-gradient(160deg, rgba(18, 28, 34, .9), rgba(8, 13, 18, .9)); border: 1px solid var(--border-2); box-shadow: var(--shadow); overflow: hidden; }
.about__card::after { content: ""; position: absolute; width: 300px; height: 300px; top: -150px; right: -120px; background: radial-gradient(circle, rgba(115, 179, 130, .18), transparent 65%); pointer-events: none; }
.about__avatar { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 22px; background: var(--bg); border: 1px solid rgba(115, 179, 130, .3); margin-bottom: 1.3rem; box-shadow: 0 0 40px -12px rgba(115, 179, 130, .35); }
.about__card h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.about__role { color: var(--accent); font-size: .92rem; font-weight: 500; margin-bottom: 1.4rem; }
.about__facts { display: grid; gap: .8rem; margin-bottom: 1.6rem; }
.about__facts li { display: flex; gap: .7rem; align-items: flex-start; color: #c9d4db; font-size: .93rem; }
.about__facts .i { color: var(--accent-2); margin-top: 2px; }
.about__copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; margin-bottom: 1rem; }
.about__copy strong { color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.stats div { display: grid; gap: .3rem; }
.stats strong { font: 700 clamp(1.7rem, 5vw, 2.5rem)/1 var(--font-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: .85rem; line-height: 1.35; }

/* FAQ */
.faq { max-width: 860px; }
.faq__list { display: grid; gap: .75rem; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s, background-color .3s; }
.faq details[open] { border-color: rgba(115, 179, 130, .3); background: var(--surface-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 1.3rem; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--accent); transition: transform .3s var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 1.3rem 1.25rem; color: var(--muted); }

/* Contact */
.contact__box { display: grid; gap: 2.5rem; padding: clamp(1.5rem, 5vw, 3.5rem); border-radius: calc(var(--radius) + 8px); position: relative; overflow: hidden; background: radial-gradient(600px circle at 0% 0%, rgba(115, 179, 130, .14), transparent 55%), radial-gradient(500px circle at 100% 100%, rgba(95, 156, 139, .1), transparent 55%), var(--bg-2); border: 1px solid var(--border-2); }
@media (min-width: 1080px) { .contact__box { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; } }
.contact__copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.8rem; }
.contact__list { display: grid; gap: .6rem; margin-bottom: 1.8rem; }
.contact__list a, .contact__list div { display: flex; align-items: center; gap: .9rem; padding: .7rem; border-radius: var(--radius-sm); transition: background-color .25s; }
.contact__list a:hover { background: var(--surface-2); }
.contact__list .i { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--accent); }
.contact__list span { display: grid; font-weight: 600; word-break: break-word; }
.contact__list small { font-weight: 400; color: var(--muted); font-size: .8rem; }

.social { display: flex; gap: .6rem; }
.social__btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s; }
.social__btn .i { width: 22px; height: 22px; }
.social__btn:hover { transform: translateY(-3px); border-color: transparent; }
.social__btn--wa:hover, .footer .social__btn[aria-label="WhatsApp"]:hover { background: var(--wa); color: #fff; }
.social__btn--ig:hover, .footer .social__btn[aria-label="Instagram"]:hover { background: linear-gradient(45deg, #f9a03f, #e1306c 50%, #833ab4); color: #fff; }
.social__btn--in:hover, .footer .social__btn[aria-label="LinkedIn"]:hover { background: #0a66c2; color: #fff; }

.form { display: grid; gap: 1rem; align-content: start; padding: clamp(1.3rem, 4vw, 2rem); border-radius: var(--radius); background: rgba(5, 8, 11, .6); border: 1px solid var(--border); }
.form h3 { font-size: 1.3rem; margin-bottom: .3rem; }
@media (max-width: 559px) {
  .form { padding: 1.5rem 0 0; background: none; border: 0; border-top: 1px solid var(--border); border-radius: 0; }
  .card { padding: 1.35rem; }
}
.form__row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field span { font-size: .85rem; color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .95rem; border-radius: 12px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--border-2);
  font-size: 1rem; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2394a3af' stroke-width='2' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }
.field select option { background: #0b1217; color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: #61707b; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(115, 179, 130, .15); background: rgba(255, 255, 255, .06); }
.field .is-invalid { border-color: #f87171; }
.form__error { color: #fca5a5; font-size: .88rem; }
.form__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.form__actions .btn { flex: 1 1 200px; }
.form__note { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted); }
.form__note .i { width: 14px; height: 14px; color: var(--accent); }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--bg-2); padding: 4rem 0 calc(1.5rem + env(safe-area-inset-bottom)); }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand p { color: var(--muted); margin: 1rem 0 1.4rem; max-width: 22rem; font-size: .95rem; }
.footer h4 { font-size: .8rem; font-family: var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; font-weight: 600; }
.footer ul { display: grid; gap: .6rem; font-size: .93rem; color: #c3ced5; }
.footer ul a { transition: color .2s; }
.footer ul a:hover { color: var(--accent); }
.footer__contact { grid-column: auto; }
.footer__grid > div:last-child { grid-column: 1 / -1; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: .84rem; color: var(--muted); }
.footer__motto { font-style: italic; }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .footer__brand, .footer__grid > div:last-child { grid-column: auto; }
}

/* WhatsApp float */
.wa-float {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease), opacity .3s;
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.6s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
.wa-float .i { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float__tip { position: absolute; right: calc(100% + 12px); padding: .45rem .8rem; border-radius: 10px; background: #fff; color: #0b1217; font-size: .84rem; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .25s, transform .25s; }
.wa-float:hover .wa-float__tip { opacity: 1; transform: none; }
.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* Consent */
.consent {
  position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 60;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .9rem 1.2rem;
  max-width: 560px; padding: 1rem 1.1rem; border-radius: var(--radius);
  background: rgba(11, 18, 23, .96); border: 1px solid var(--border-2); box-shadow: var(--shadow);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: .9rem; color: #c9d4db;
  animation: rise .5s var(--ease);
}
.consent[hidden] { display: none; }
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.consent__actions { display: flex; gap: .5rem; margin-left: auto; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 639px) { .consent { bottom: calc(5.4rem + env(safe-area-inset-bottom)); } }
@media (min-width: 640px) { .consent { right: auto; } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Legal / 404 pages */
.page { padding: calc(var(--header-h) + 3rem) 0 5rem; min-height: 70vh; }
.page .container { max-width: 820px; }
.page h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 1.5rem; }
.page h2 { font-size: 1.3rem; margin: 2.2rem 0 .7rem; }
.page p, .page li { color: var(--muted); margin-bottom: .8rem; }
.page ul { list-style: disc; padding-left: 1.3rem; }
.page a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.notfound { text-align: center; display: grid; place-items: center; }
.page .notfound__code { font: 700 clamp(5rem, 22vw, 10rem)/1 var(--font-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .marquee { overflow-x: auto; }
}
