/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0F172A; --bg-2: #131E33; --bg-3: #1A2744; --bg-card: #151F35;
  --blue: #2563EB; --blue-l: #3B82F6; --blue-glow: rgba(37,99,235,.2);
  --green: #10B981; --green-glow: rgba(16,185,129,.15);
  --white: #fff; --text: #E2E8F0; --muted: #94A3B8; --border: rgba(255,255,255,.07);
  --radius: 16px; --radius-sm: 8px; --radius-lg: 24px;
  --font-d: 'Space Grotesk', sans-serif; --font-b: 'Inter', sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
}
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--text); font-family: var(--font-b); line-height: 1.6; overflow-x: hidden; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
img { max-width: 100%; display: block; }

/* ===== NAV ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: .9rem 0; transition: background .3s var(--ease), padding .3s; }
.nav.scrolled { background: rgba(15,23,42,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); padding: .65rem 0; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo-img { height: 36px; width: auto; object-fit: contain; filter: brightness(1.1); }
.nav-links { display: flex; align-items: center; gap: .15rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .88rem; font-weight: 500; padding: .4rem .85rem; border-radius: var(--radius-sm); transition: color .25s, background .25s; }
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav-cta { background: var(--blue) !important; color: var(--white) !important; padding: .45rem 1.1rem !important; }
.nav-cta:hover { background: var(--blue-l) !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--text); padding: 4px; }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 200; background: rgba(10,16,30,.98); backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: var(--text); cursor: pointer; }
.mobile-menu ul { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-menu a { font-size: 1.6rem; font-family: var(--font-d); font-weight: 700; color: var(--text); text-decoration: none; transition: color .2s; }
.mobile-menu a:hover { color: var(--blue-l); }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .15s !important; }
.delay-2 { transition-delay: .3s !important; }
.delay-3 { transition-delay: .45s !important; }

/* ===== COMMON ===== */
.section { padding: 6rem 0; }
.section-header { margin-bottom: 3rem; }
.section-label { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--blue-l); border: 1px solid rgba(59,130,246,.3); padding: .3rem .85rem; border-radius: 100px; background: rgba(37,99,235,.1); margin-bottom: .85rem; }
.light-label { color: var(--green); border-color: rgba(16,185,129,.3); background: rgba(16,185,129,.1); }
.section-title { font-family: var(--font-d); font-size: clamp(1.9rem,3.8vw,3rem); font-weight: 800; line-height: 1.12; color: var(--white); }
.section-desc { color: var(--muted); margin-top: .75rem; max-width: 600px; font-size: 1.05rem; }
.gradient-text { background: linear-gradient(135deg, var(--blue-l), var(--green)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.8rem; border-radius: var(--radius-sm); font-weight: 600; font-size: .92rem; text-decoration: none; transition: all .25s var(--ease); cursor: pointer; border: none; font-family: var(--font-b); }
.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-l); transform: translateY(-2px); box-shadow: 0 8px 30px var(--blue-glow); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: rgba(255,255,255,.2); color: var(--white); background: rgba(255,255,255,.05); }
.btn-whatsapp { background: #25D366; color: white; }
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,.25); }
.btn-linkedin { background: #0A66C2; color: white; }
.btn-linkedin:hover { background: #0077b5; transform: translateY(-2px); }
.btn-large { padding: 1rem 2.2rem; font-size: 1rem; border-radius: var(--radius); }

/* ===== HERO ===== */
.hero { min-height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; padding-top: 5rem; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-overlay { position: absolute; inset: 0; background-image: linear-gradient(rgba(37,99,235,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.04) 1px, transparent 1px); background-size: 64px 64px; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.glow-1 { width: 550px; height: 550px; background: rgba(37,99,235,.18); top: -100px; right: -80px; }
.glow-2 { width: 400px; height: 400px; background: rgba(16,185,129,.12); bottom: 0; left: -100px; }
.glow-3 { width: 300px; height: 300px; background: rgba(37,99,235,.1); top: 40%; left: 40%; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; width: 100%; padding: 4rem 1.5rem; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--green); font-weight: 600; margin-bottom: 1.5rem; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.4)} }
.hero-title { font-family: var(--font-d); font-size: clamp(2.6rem,5vw,4.5rem); font-weight: 800; line-height: 1.08; color: var(--white); margin-bottom: 1.2rem; }
.hero-sub { font-size: 1.05rem; color: var(--muted); max-width: 480px; margin-bottom: 2rem; line-height: 1.75; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; max-width: 400px; }
.stat { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-d); font-size: 1.5rem; font-weight: 800; color: var(--blue-l); line-height: 1; }
.stat-plus { font-family: var(--font-d); font-size: 1.5rem; font-weight: 800; color: var(--blue-l); display: inline; }
.stat-text { font-size: 1.3rem !important; }
.stat-label { font-size: .75rem; color: var(--muted); font-weight: 500; margin-top: .3rem; }

/* HERO VISUAL */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-photo-wrap { position: relative; z-index: 2; }
.photo-ring-outer { position: absolute; inset: -18px; border-radius: 50%; border: 1.5px solid transparent; background: linear-gradient(135deg, var(--blue), var(--green)) border-box; -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask-composite: destination-out; mask-composite: exclude; animation: spin 10s linear infinite; }
.photo-ring-inner { position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(59,130,246,.2); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-photo { width: 300px; height: 360px; object-fit: cover; object-position: top center; border-radius: var(--radius-lg); border: 2px solid var(--border); }
.photo-badge { position: absolute; bottom: -1rem; right: -1.5rem; background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .55rem 1rem; display: flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 600; color: var(--green); backdrop-filter: blur(10px); }
.floating-card { position: absolute; background: rgba(19,30,51,.9); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .7rem 1rem; display: flex; align-items: center; gap: .7rem; backdrop-filter: blur(12px); z-index: 3; }
.card-1 { top: 1.5rem; left: -3.5rem; animation: floatA 4s ease-in-out infinite; }
.card-2 { bottom: 3rem; left: -3rem; animation: floatA 4s ease-in-out infinite 2s; }
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.fc-icon-wrap { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fc-icon-wrap.blue { background: rgba(37,99,235,.2); color: var(--blue-l); }
.fc-icon-wrap.green { background: rgba(16,185,129,.15); color: var(--green); }
.fc-title { font-size: .8rem; font-weight: 700; color: var(--white); }
.fc-sub { font-size: .7rem; color: var(--muted); }
.scroll-cue { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); }
.scroll-line-anim { width: 1px; height: 56px; background: linear-gradient(to bottom, var(--blue-l), transparent); animation: scdown 2s ease-in-out infinite; }
@keyframes scdown { 0%{opacity:1;transform:scaleY(1)} 100%{opacity:0;transform:scaleY(.4) translateY(20px)} }

/* ===== BRANDS TICKER ===== */
..brands-ticker {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
}

.ticker-label {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.ticker-outer {
  width: 100%;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  will-change: transform;
}

.ti {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  opacity: .65;
  transition: opacity .25s ease;
}

.ti:hover {
  opacity: 1;
}

.ti img {
  height: 36px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.8);
}

/* ===== SOBRE ===== */
.sobre { background: var(--bg-2); }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.sobre-text p { color: var(--muted); line-height: 1.85; margin-bottom: 1rem; font-size: .97rem; }
.sobre-text strong { color: var(--white); }
.areas-title { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.25rem; }
.areas-grid { display: flex; flex-direction: column; gap: .6rem; }
.area-item { display: flex; align-items: center; gap: .85rem; padding: .7rem .9rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .88rem; color: var(--text); transition: border-color .25s, background .25s; }
.area-item:hover { border-color: rgba(59,130,246,.3); background: rgba(37,99,235,.06); }
.area-icon { width: 34px; height: 34px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.area-icon.blue { background: rgba(37,99,235,.15); color: var(--blue-l); }
.area-icon.green { background: rgba(16,185,129,.12); color: var(--green); }

/* ===== DADOS SECTION ===== */
.dados-section { padding: 5rem 0; background: var(--bg); border-top: 1px solid var(--border); }
.dados-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.dados-text .section-label { margin-bottom: .85rem; }
.dados-title { font-family: var(--font-d); font-size: clamp(1.7rem,3.5vw,2.8rem); font-weight: 800; line-height: 1.15; color: var(--white); margin-bottom: 1rem; }
.dados-text p { color: var(--muted); line-height: 1.8; }
.dados-chart { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.chart-label { font-size: .78rem; font-weight: 600; color: var(--muted); margin-bottom: 1.25rem; letter-spacing: .05em; }
.bar-chart { display: flex; align-items: flex-end; gap: .6rem; height: 130px; }
.bar-wrap { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.bar { width: 100%; height: var(--h); background: linear-gradient(to top, var(--blue), var(--blue-l)); border-radius: 4px 4px 0 0; position: relative; transition: height .8s var(--ease); cursor: pointer; }
.bar:hover { background: linear-gradient(to top, var(--blue), var(--green)); }
.bar span { position: absolute; bottom: -1.4rem; left: 50%; transform: translateX(-50%); font-size: .65rem; color: var(--muted); white-space: nowrap; }

/* ===== PROJETOS ===== */
.projetos { background: var(--bg-2); }

/* Featured project */
.project-featured { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; background: var(--bg); border: 1px solid rgba(37,99,235,.25); border-radius: var(--radius-lg); padding: 2.5rem; margin-bottom: 2.5rem; position: relative; overflow: hidden; }
.project-featured::before { content:''; position:absolute; top:0; left:0; right:0; height:2px; background:linear-gradient(90deg,var(--blue),var(--green)); }
.project-status { display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 700; color: var(--green); margin-bottom: 1rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.project-featured-title { font-family: var(--font-d); font-size: 2.5rem; font-weight: 800; color: var(--white); margin-bottom: .3rem; }
.project-featured-sub { font-size: 1rem; color: var(--blue-l); font-weight: 600; margin-bottom: 1rem; }
.project-featured-desc { color: var(--muted); line-height: 1.8; margin-bottom: 1.25rem; font-size: .95rem; }
.project-feature-list { display: flex; flex-direction: column; gap: .5rem; }
.pf-item { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--text); }
.pf-item svg { color: var(--green); flex-shrink: 0; }

/* Carousel */
.project-featured-carousel { position: relative; }
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--border); }
.carousel-track { display: flex; transition: transform .45s var(--ease); }
.carousel-slide { min-width: 100%; }
.carousel-slide img { width: 100%; height: 280px; object-fit: cover; display: block; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(15,23,42,.85); border: 1px solid var(--border); color: var(--white); width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .25s; z-index: 5; }
.carousel-btn:hover { background: var(--blue); border-color: var(--blue); }
.prev { left: .75rem; }
.next { right: .75rem; }
.carousel-dots { position: absolute; bottom: .75rem; left: 50%; transform: translateX(-50%); display: flex; gap: .4rem; }
.cdot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; transition: all .25s; }
.cdot.active { background: var(--white); width: 18px; border-radius: 3px; }
.guto-mascot-wrap { display: flex; justify-content: center; margin-top: 1rem; }
.guto-mascot { width: 100px; border-radius: 12px; }

/* Project grid */
.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.project-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; transition: border-color .3s, transform .3s, box-shadow .3s; }
.project-card:hover { border-color: rgba(59,130,246,.3); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.project-card-top { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; }
.pc-icon { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pc-icon.blue { background: rgba(37,99,235,.15); color: var(--blue-l); }
.pc-icon.green { background: rgba(16,185,129,.12); color: var(--green); }
.project-card h3 { font-family: var(--font-d); font-size: 1.1rem; font-weight: 700; color: var(--white); }
.project-card p { color: var(--muted); font-size: .88rem; line-height: 1.7; }
.project-list { list-style: none; display: flex; flex-direction: column; gap: .4rem; flex:1; }
.project-list li { font-size: .84rem; color: var(--muted); padding-left: 1.1rem; position: relative; }
.project-list li::before { content: '›'; position: absolute; left: 0; color: var(--blue-l); font-weight: 700; }
.project-result-box { display: flex; align-items: center; gap: .5rem; background: rgba(16,185,129,.08); border: 1px solid rgba(16,185,129,.2); border-radius: var(--radius-sm); padding: .65rem .85rem; font-size: .82rem; color: var(--green); font-weight: 600; }
.badge-andamento { font-size: .68rem; font-weight: 700; background: rgba(37,99,235,.15); border: 1px solid rgba(59,130,246,.3); color: var(--blue-l); padding: .2rem .6rem; border-radius: 100px; }
.soullicita-preview { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); margin: .25rem 0; }
.soullicita-preview img { width: 100%; height: 150px; object-fit: cover; object-position: top; }
.project-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; }
.tag { background: rgba(37,99,235,.1); border: 1px solid rgba(59,130,246,.2); color: var(--blue-l); font-size: .72rem; font-weight: 600; padding: .2rem .65rem; border-radius: 100px; }

/* ===== E-COMMERCE ===== */
.ecommerce-section { background: var(--bg); }
.ecommerce-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.ecommerce-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, transform .3s; }
.ecommerce-card:hover { border-color: rgba(59,130,246,.3); transform: translateY(-4px); }
.ec-header { padding: .75rem 1.25rem; border-bottom: 1px solid var(--border); }
.ec-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.2); padding: .2rem .65rem; border-radius: 100px; }
.ec-screenshot { overflow: hidden; }
.ec-screenshot img { width: 100%; height: 180px; object-fit: cover; object-position: top left; transition: transform .4s; }
.ecommerce-card:hover .ec-screenshot img { transform: scale(1.03); }
.ec-info { padding: 1.25rem; }
.ec-info h3 { font-family: var(--font-d); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.ec-info p { font-size: .84rem; color: var(--muted); line-height: 1.7; margin-bottom: .85rem; }
.ec-tags { display: flex; flex-wrap: wrap; gap: .35rem; }

/* ===== STACK ===== */
.stack-section { background: var(--bg-2); }

/* Integration orbit visual */
.integrations-showcase { position: relative; width: 420px; height: 420px; margin: 0 auto 3.5rem; }
.int-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 5; }
.int-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid var(--blue); }
.int-orbits { position: absolute; inset: 0; }
.int-tool { position: absolute; top: 50%; left: 50%; display: flex; flex-direction: column; align-items: center; gap: .3rem; cursor: default; }
.int-tool { transform: rotate(var(--angle)) translateX(170px) rotate(calc(-1 * var(--angle))); margin: -28px 0 0 -28px; transition: transform .3s; }
.int-tool:hover { transform: rotate(var(--angle)) translateX(175px) rotate(calc(-1 * var(--angle))) scale(1.15); margin: -28px 0 0 -28px; }
.int-tool svg { border-radius: 10px; box-shadow: 0 4px 20px rgba(0,0,0,.4); }
.int-tool span { font-size: .62rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.integrations-showcase::before { content:''; position:absolute; inset:30px; border-radius:50%; border:1px dashed rgba(59,130,246,.2); animation: spinSlow 20s linear infinite; }
@keyframes spinSlow { to{ transform:rotate(360deg); } }

.stack-categories { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.stack-cat { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; transition: border-color .25s; }
.stack-cat:hover { border-color: rgba(59,130,246,.25); }
.cat-header { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.25rem; }
.cat-header h4 { font-family: var(--font-d); font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.cat-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.cat-dot.green { background: var(--green); }
.cat-dot.blue { background: var(--blue-l); }
.stack-items { display: flex; flex-direction: column; gap: .65rem; }
.stack-item { display: flex; align-items: center; gap: .65rem; font-size: .88rem; color: var(--text); padding: .5rem 0; border-bottom: 1px solid var(--border); transition: color .2s; }
.stack-item:last-child { border-bottom: none; }
.stack-item:hover { color: var(--white); }
.si-icon { color: var(--blue-l); flex-shrink: 0; }

/* ===== CERTS ===== */
.certs-section { background: var(--bg); }
.certs-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.cert-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; text-align: center; transition: border-color .3s, transform .3s; }
.cert-card:hover { border-color: rgba(59,130,246,.3); transform: translateY(-3px); }
.cert-icon-wrap { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.cert-icon-wrap.blue { background: rgba(37,99,235,.15); color: var(--blue-l); }
.cert-icon-wrap.green { background: rgba(16,185,129,.12); color: var(--green); }
.cert-card h4 { font-family: var(--font-d); font-weight: 700; color: var(--white); font-size: .92rem; margin-bottom: .35rem; }
.cert-card p { font-size: .78rem; color: var(--muted); }

/* ===== TIMELINE ===== */
.timeline-section { background: var(--bg-2); }
.timeline { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; position: relative; }
.timeline::before { content:''; position:absolute; left:18px; top:8px; bottom:8px; width:2px; background:linear-gradient(to bottom,var(--blue),var(--green)); }
.tl-item { display: flex; gap: 2rem; padding-bottom: 2.5rem; position: relative; }
.tl-node { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--blue); display: flex; align-items: center; justify-content: center; z-index: 2; }
.tl-node.green { border-color: var(--green); }
.tl-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.tl-dot.green { background: var(--green); }
.tl-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; flex: 1; transition: border-color .25s; }
.tl-card:hover { border-color: rgba(59,130,246,.3); }
.tl-tag { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-l); margin-bottom: .4rem; }
.tl-tag.green { color: var(--green); }
.tl-card h4 { font-family: var(--font-d); font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.tl-card p { font-size: .87rem; color: var(--muted); line-height: 1.75; }

/* ===== CONTACT ===== */
.contact-section { background: var(--bg); padding: 5rem 0; }
.contact-box { background: var(--bg-3); border: 1px solid rgba(59,130,246,.2); border-radius: var(--radius-lg); padding: 4rem 3rem; text-align: center; position: relative; overflow: hidden; max-width: 680px; margin: 0 auto; }
.contact-glow { position: absolute; width: 500px; height: 500px; border-radius: 50%; background: rgba(37,99,235,.1); top: 50%; left: 50%; transform: translate(-50%,-50%); filter: blur(60px); pointer-events: none; }
.contact-box .section-label { margin-bottom: 1rem; }
.contact-box .section-title { font-size: clamp(1.7rem,3vw,2.5rem); }
.contact-desc { color: var(--muted); margin: 1rem auto 2.5rem; max-width: 460px; line-height: 1.75; position: relative; z-index: 1; }
.contact-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ===== FOOTER ===== */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 2rem 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { height: 28px; width: auto; filter: brightness(1.1); }
.footer-copy { font-size: .8rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: .82rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--white); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 99; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: white; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: transform .25s, box-shadow .25s; animation: floatWA 3s ease-in-out infinite; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,.5); }
@keyframes floatWA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-5px)} }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .stack-categories { grid-template-columns: repeat(2,1fr); }
  .certs-grid { grid-template-columns: repeat(3,1fr); }
  .ecommerce-grid { grid-template-columns: 1fr 1fr; }
  .project-featured { grid-template-columns: 1fr; }
  .integrations-showcase { width: 320px; height: 320px; }
  .int-tool { transform: rotate(var(--angle)) translateX(130px) rotate(calc(-1 * var(--angle))); }
  .int-tool:hover { transform: rotate(var(--angle)) translateX(135px) rotate(calc(-1 * var(--angle))) scale(1.1); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 2rem 1.5rem; text-align: center; }
  .hero-text { order: 2; }
  .hero-visual { order: 1; }
  .hero-sub, .hero-stats { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-photo { width: 220px; height: 270px; }
  .card-1 { left: -1rem; }
  .card-2 { left: -.5rem; }
  .sobre-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .dados-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .ecommerce-grid { grid-template-columns: 1fr; }
  .stack-categories { grid-template-columns: 1fr 1fr; }
  .certs-grid { grid-template-columns: repeat(2,1fr); }
  .section { padding: 4rem 0; }
  .contact-box { padding: 2.5rem 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .integrations-showcase { width: 280px; height: 280px; }
  .int-tool { transform: rotate(var(--angle)) translateX(110px) rotate(calc(-1 * var(--angle))); }
  .int-tool:hover { transform: rotate(var(--angle)) translateX(112px) rotate(calc(-1 * var(--angle))) scale(1.1); }
}
@media (max-width: 480px) {
  .stack-categories, .certs-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .project-featured { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .floating-card, .scroll-line-anim, .photo-ring-outer, .pulse-dot, .ticker-track, .integrations-showcase::before { animation: none !important; transition: none !important; }
}

/* ===== FIXES v3 ===== */

/* 1. BRANDS TICKER — loop infinito CSS puro */
.ticker-track-wrap {
  overflow: hidden;
  display: flex;
}
.ticker-row {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-shrink: 0;
  min-width: 100%;
  animation: ticker-loop 28s linear infinite;
}
#brandsDupe {
  animation-delay: -14s; /* offset = metade do tempo = loop perfeito */
}
@keyframes ticker-loop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.ticker-track-wrap:hover .ticker-row { animation-play-state: paused; }
.ticker-item {
  flex-shrink: 0;
  opacity: .65;
  transition: opacity .25s;
  display: flex;
  align-items: center;
}
.ticker-item:hover { opacity: 1; }
.ticker-item img {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  max-width: 140px;
}

/* Remove old ticker-track rule */
.ticker-track { animation: none !important; display: contents; }

/* 2. GUTO CAROUSEL — proporção 1:1 sem corte */
.carousel { overflow: hidden; border-radius: var(--radius); background: #000; border: 1px solid var(--border); }
.carousel-track { display: flex; transition: transform .45s cubic-bezier(.4,0,.2,1); will-change: transform; }
.carousel-slide { min-width: 100%; flex-shrink: 0; }
.slide-square {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* 1:1 ratio */
  overflow: hidden;
  background: #000;
}
.slide-square img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* sem cortar — mostra o slide inteiro */
  object-position: center;
  display: block;
}

/* 3. INTEGRATION ORBIT — logos reais */
.int-logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  transition: transform .25s, box-shadow .25s;
  overflow: hidden;
}
.int-tool:hover .int-logo-wrap {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(0,0,0,.6);
}
.int-tool span {
  font-size: .65rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  margin-top: .3rem;
  text-align: center;
}
/* Resize orbit for bigger logo boxes */
.integrations-showcase { width: 480px; height: 480px; }
.int-tool { transform: rotate(var(--angle)) translateX(195px) rotate(calc(-1 * var(--angle))); margin: -30px 0 0 -30px; }
.int-tool:hover { transform: rotate(var(--angle)) translateX(200px) rotate(calc(-1 * var(--angle))) scale(1.1); margin: -30px 0 0 -30px; }
.integrations-showcase::before { inset: 40px; }

@media (max-width: 1024px) {
  .integrations-showcase { width: 360px; height: 360px; }
  .int-tool { transform: rotate(var(--angle)) translateX(145px) rotate(calc(-1 * var(--angle))); }
  .int-tool:hover { transform: rotate(var(--angle)) translateX(148px) rotate(calc(-1 * var(--angle))) scale(1.1); }
}
@media (max-width: 768px) {
  .integrations-showcase { width: 300px; height: 300px; }
  .int-tool { transform: rotate(var(--angle)) translateX(118px) rotate(calc(-1 * var(--angle))); }
  .int-tool:hover { transform: rotate(var(--angle)) translateX(120px) rotate(calc(-1 * var(--angle))) scale(1.1); }
  .int-logo-wrap { width: 42px; height: 42px; border-radius: 10px; }
}

/* ===== FIXES v4 ===== */

/* 1. HERO ARCH PHOTO */
.hero-arch-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
}
.arch-glow-ring {
  position: absolute;
  inset: -24px;
  border-radius: 50% 50% 0 0 / 60% 60% 0 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(37,99,235,.35) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-arch {
  position: relative;
  width: 340px;
  height: 460px;
  border-radius: 180px 180px 24px 24px;
  overflow: hidden;
  border: 2px solid rgba(59,130,246,.35);
  box-shadow:
    0 0 0 6px rgba(37,99,235,.08),
    0 0 0 12px rgba(37,99,235,.04),
    0 30px 80px rgba(0,0,0,.5);
  z-index: 2;
  background: var(--bg-3);
}
.hero-arch-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.arch-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
  pointer-events: none;
}
.arch-badge {
  position: absolute;
  bottom: 1.5rem;
  right: -1rem;
  background: rgba(19,30,51,.95);
  border: 1px solid rgba(59,130,246,.3);
  border-radius: var(--radius-sm);
  padding: .55rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--green);
  backdrop-filter: blur(12px);
  z-index: 4;
  white-space: nowrap;
}
/* reposition floating cards for arch layout */
.hero-arch-wrap ~ .floating-card.card-1 { top: 2rem; left: -3rem; }
.hero-arch-wrap ~ .floating-card.card-2 { bottom: 4rem; left: -3rem; }

/* hide old ring elements */
.photo-ring-outer, .photo-ring-inner { display: none; }

/* responsive arch */
@media (max-width: 768px) {
  .hero-arch { width: 240px; height: 320px; border-radius: 120px 120px 16px 16px; }
  .hero-arch-wrap ~ .floating-card.card-1 { left: -1rem; top: 1rem; }
  .hero-arch-wrap ~ .floating-card.card-2 { left: -1rem; bottom: 3rem; }
}

/* 2. BRANDS TICKER — JS powered, zero gap */
.ticker-outer {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.ticker-outer::before,
.ticker-outer::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-outer::before { left: 0; background: linear-gradient(to right, var(--bg-2), transparent); }
.ticker-outer::after  { right: 0; background: linear-gradient(to left,  var(--bg-2), transparent); }

.ticker-inner {
  display: flex;
  gap: 4rem;
  width: max-content;
  align-items: center;
  /* JS will animate this via requestAnimationFrame */
}
.ti {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: .6;
  transition: opacity .25s;
}
.ti:hover { opacity: 1; }
.ti img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  max-width: 150px;
  display: block;
}

/* 3. SOBRE alignment */
.sobre-grid { align-items: start; }
.sobre-right { padding-top: 0 !important; }
.areas-title { margin-top: 0; }

/* remove old CSS ticker rules that conflict */
.ticker-track { display: none !important; }
.ticker-row { display: none !important; }

