/* ============================================================
   LEANDRO SITES — Design System
   Fundação de estilo: cores, tipografia, componentes.
   ============================================================ */

:root {
  --primary: #1473E6;
  --primary-dark: #0957B5;
  --primary-light: #EAF4FF;
  --accent: #FFC400;
  --accent-hover: #ECAF00;
  --navy: #08223E;
  --text: #17283A;
  --text-secondary: #657381;
  --white: #FFFFFF;
  --bg: #FAFAF8;
  --bg-blue: #EEF7FF;
  --bg-warm: #FFF8EB;
  --border: #E4E9EF;
  --success: #16A66A;
  --danger: #E5484D;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 12px;

  --shadow-sm: 0 4px 18px rgba(8, 34, 62, 0.06);
  --shadow: 0 12px 40px rgba(8, 34, 62, 0.10);
  --shadow-lg: 0 24px 70px rgba(8, 34, 62, 0.16);
  --shadow-blue: 0 14px 34px rgba(20, 115, 230, 0.22);

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", cursive;

  --container: 1200px;
  --header-h: 78px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.15; color: var(--navy); font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
a { color: var(--primary); text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Utilidades ---------- */
.text-primary { color: var(--primary); }

.section { padding: 100px 0; }
.section-cta { margin-top: 56px; text-align: center; }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head-light { color: #fff; }
.section-title { font-size: 44px; line-height: 1.12; margin-bottom: 18px; }
.section-text { color: var(--text-secondary); font-size: 18px; max-width: 560px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow-blue { color: var(--primary); }
.eyebrow-yellow { color: #B57E00; background: rgba(255,196,0,.16); padding: 7px 16px; border-radius: 999px; }
.eyebrow-line { width: 34px; height: 3px; border-radius: 3px; background: var(--accent); display: inline-block; }
.eyebrow-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); display: inline-block; margin-left: 4px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 14px; font-weight: 800; font-size: 15px;
  line-height: 1; border: 2px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  will-change: transform;
}
.btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.btn-lg { padding: 17px 32px; font-size: 16px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn i, .btn svg { width: 20px; height: 20px; }

.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

.btn-yellow { background: var(--accent); color: var(--navy); box-shadow: 0 14px 30px rgba(255,196,0,.34); }
.btn-yellow:hover { background: var(--accent-hover); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-ghost-dark { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-dark:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(8,34,62,.07);
  border-bottom: 1px solid rgba(228,233,239,.6);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: var(--accent); flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(8,34,62,.2);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-name { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }

.brand-light { color: #fff; }
.brand-light .brand-mark { background: var(--accent); color: var(--navy); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  color: var(--text); font-weight: 600; font-size: 15.5px; position: relative; padding: 8px 2px;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px;
  border-radius: 3px; background: var(--primary); transition: width .22s ease;
}
.nav-link:hover::after, .nav-link.is-active::after { width: 100%; }
.nav-link.is-active { color: var(--primary); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: var(--navy); border: 0; border-radius: 13px;
}
.nav-toggle span { width: 20px; height: 2.5px; background: #fff; border-radius: 3px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-cta-mobile { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 96px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.dots-grid {
  position: absolute; top: 120px; right: 4%;
  width: 150px; height: 150px; opacity: .5;
  background-image: radial-gradient(var(--primary) 2.2px, transparent 2.2px);
  background-size: 22px 22px; -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 75%);
  mask-image: radial-gradient(circle, #000 30%, transparent 75%);
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb-1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(20,115,230,.12), transparent 65%); top: 30px; left: -160px; }
.orb-2 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(255,196,0,.12), transparent 65%); bottom: -140px; right: -170px; }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: 60px; align-items: center; }

.hero-title { font-size: 62px; font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 20px; }
.hero-scrawl { display: inline-flex; align-items: center; gap: 2px; margin: -6px 0 6px; position: relative; }
.scrawl-text { font-family: var(--font-hand); font-size: 26px; font-weight: 700; color: var(--primary-dark); transform: rotate(-2deg); }
.scrawl-svg { width: 150px; color: var(--accent); position: absolute; bottom: -12px; left: 0; }
.hero-text { font-size: 18.5px; color: var(--text-secondary); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-note { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 15px; }
.hero-note-arrow {
  width: 34px; height: 34px; border-radius: 50%; background: var(--bg-warm);
  color: var(--primary-dark); display: grid; place-items: center; font-weight: 800;
  border: 1.5px dashed var(--accent);
}

/* Hero mídia */
.hero-media { position: relative; min-height: 460px; }
.hero-blob { position: absolute; inset: 0; display: grid; place-items: center; }
.hero-blob svg { width: 105%; max-width: 660px; }
.mockup {
  position: relative; z-index: 2; width: 92%; margin: 34px auto 0;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); overflow: hidden;
  transform: rotate(-1.2deg);
}
.mockup-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; background: #f4f6f9; border-bottom: 1px solid var(--border); }
.mockup-dot { width: 12px; height: 12px; border-radius: 50%; }
.d-red { background: #FF5F57; } .d-yel { background: #FEBC2E; } .d-grn { background: #28C840; }
.mockup-address { margin-left: auto; font-size: 12.5px; color: var(--text-secondary); background: #fff; border: 1px solid var(--border); padding: 5px 14px; border-radius: 999px; }
.mockup-screen img { width: 100%; height: auto; display: block; }

.hero-spark { position: absolute; color: var(--primary); }
.hero-spark svg { width: 34px; height: 34px; }
.spark-1 { top: 8%; left: -2%; color: var(--accent); }
.spark-2 { bottom: 14%; right: 3%; width: 30px; height: 30px; color: var(--primary); background: rgba(20,115,230,.08); border-radius: 50%; display: grid; place-items: center; }
.spark-2 svg { width: 18px; height: 18px; }
.hero-dots-side { position: absolute; top: 6%; right: -14px; color: var(--primary); opacity: .55; width: 90px; }

/* Badges flutuantes */
.badge-float {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  background: #fff; border-radius: 16px; padding: 13px 18px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.badge-icon {
  width: 40px; height: 40px; border-radius: 12px; background: var(--primary-light);
  color: var(--primary); display: grid; place-items: center; flex-shrink: 0;
}
.badge-icon svg { width: 20px; height: 20px; }
.badge-icon.mono { font-weight: 800; font-size: 13px; font-family: monospace; }
.badge-text { display: flex; flex-direction: column; line-height: 1.25; }
.badge-text strong { font-size: 13.5px; color: var(--navy); font-weight: 800; }
.badge-text small { font-size: 11.5px; color: var(--text-secondary); }
.badge-wrap { position: absolute; z-index: 4; animation: badgeIn .65s cubic-bezier(.16,1,.3,1) forwards; animation-delay: var(--badge-delay, .55s); }
.badge-wrap-1 { top: 20px; left: -8px; --badge-delay: .55s; }
.badge-wrap-2 { bottom: 52px; left: -30px; --badge-delay: .75s; }
.badge-wrap-3 { top: 44%; right: -10px; --badge-delay: .95s; }
.badge-float { animation: bob 6s ease-in-out infinite; }
.badge-wrap-2 .badge-float { animation-duration: 7s; animation-delay: .8s; }
.badge-wrap-3 .badge-float { animation-duration: 6.5s; animation-delay: .4s; }

@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes badgeIn { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }

/* ---------- Hero: camada de vida e movimento ---------- */
.aurora { position: absolute; border-radius: 50%; filter: blur(56px); opacity: .55; pointer-events: none; will-change: transform; }
.aurora-1 { width: 460px; height: 460px; top: -110px; left: -120px; background: radial-gradient(circle, rgba(20,115,230,.4), transparent 68%); animation: auroraDrift 16s ease-in-out infinite alternate; }
.aurora-2 { width: 540px; height: 540px; bottom: -180px; right: -160px; background: radial-gradient(circle, rgba(255,196,0,.34), transparent 68%); animation: auroraDrift 20s ease-in-out infinite alternate-reverse; }
@keyframes auroraDrift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(46px,34px,0) scale(1.18); } }

.orb-1 { animation: orbGlow 12s ease-in-out infinite; }
.orb-2 { animation: orbGlow 15s ease-in-out 2s infinite; }
@keyframes orbGlow { 0%,100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.12); opacity: 1; } }

.dots-grid { animation: dotsPulse 9s ease-in-out infinite; }
@keyframes dotsPulse { 0%,100% { opacity: .45; transform: translateY(0); } 50% { opacity: .8; transform: translateY(-10px); } }

.hero .eyebrow { opacity: 0; animation: heroRise .7s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: .08s; }
.hero .eyebrow-line { width: 0; animation: lineGrow .8s cubic-bezier(.7,0,.3,1) forwards; animation-delay: .18s; }
@keyframes lineGrow { to { width: 34px; } }

.hero-title { perspective: 700px; }
.hero-word { display: inline-block; opacity: 0; transform: translateY(.95em) rotate(2.5deg); filter: blur(3px); will-change: transform, opacity; animation: wordIn .75s cubic-bezier(.16,1,.3,1) forwards; animation-delay: calc(var(--word-i) * 55ms + 260ms); }
@keyframes wordIn { to { opacity: 1; transform: translateY(0) rotate(0); filter: blur(0); } }

.hero-scrawl { opacity: 0; animation: heroRise .55s ease forwards; animation-delay: .5s; }
.scrawl-svg path { stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; animation: scrawlDraw 1.1s ease forwards; animation-delay: .62s; }
.scrawl-text { opacity: 0; animation: heroFadeIn .5s ease forwards; animation-delay: .98s; }
@keyframes scrawlDraw { to { stroke-dashoffset: 0; } }
@keyframes heroFadeIn { to { opacity: 1; } }

.hero-text { opacity: 0; animation: heroRise .7s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: .32s; }
.hero-actions { opacity: 0; animation: heroRise .7s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: .44s; }
.hero-note { opacity: 0; animation: heroRise .7s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: .56s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

.mockup { opacity: 0; animation: mockupIn .9s cubic-bezier(.16,1,.3,1) forwards; animation-delay: .34s; }
@keyframes mockupIn { from { opacity: 0; transform: translateY(38px) rotate(-2deg) scale(.96); } to { opacity: 1; transform: translateY(0) rotate(-1.2deg) scale(1); } }

.mockup-screen { position: relative; overflow: hidden; }
.mockup-screen::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.5) 45%, rgba(255,255,255,0) 58%); transform: translateX(-120%); animation: screenShine 5s ease-in-out 1.8s infinite; pointer-events: none; }
@keyframes screenShine { 0% { transform: translateX(-120%); } 55% { transform: translateX(130%); } 100% { transform: translateX(130%); } }

.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: btnShine 3.4s ease-in-out infinite; pointer-events: none; }
@keyframes btnShine { 0%, 10% { left: -70%; } 55% { left: 135%; } 100% { left: 135%; } }

.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle { position: absolute; bottom: -12px; border-radius: 50%; opacity: 0; animation: rise linear infinite; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 12% { opacity: .75; } 85% { opacity: .35; } 100% { transform: translateY(-540px); opacity: 0; } }

.scroll-cue { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 5; color: var(--navy); opacity: .55; opacity: 0; animation: heroFadeIn .5s ease forwards; animation-delay: 1.3s; }
.scroll-cue:hover { opacity: .9; }
.scroll-cue svg { width: 22px; height: 22px; display: block; animation: scrollBob 1.8s ease-in-out infinite; }
@keyframes scrollBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Prova rápida ---------- */
.prova { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.prova-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 24px; flex-wrap: wrap; }
.prova-item { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16.5px; color: var(--navy); padding: 6px 0; }
.prova-item svg { width: 26px; height: 26px; color: var(--primary); }
.prova-divider { width: 1px; height: 30px; background: var(--border); }

/* ---------- Seção de trabalho / cards ---------- */
.work-section { background: #fff; border-top: 1px solid var(--border); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.work-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.work-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.work-cover { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10.4; }
.work-cover-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work-card:hover .work-cover-img { transform: scale(1.03); }
.work-arrow {
  position: absolute; right: 16px; bottom: 16px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: var(--navy); display: grid; place-items: center;
  box-shadow: 0 10px 22px rgba(255,196,0,.5); opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.work-arrow svg { width: 22px; height: 22px; }
.work-card:hover .work-arrow { opacity: 1; transform: translateY(0); }
.work-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-meta { display: flex; align-items: center; gap: 12px; }
.work-year { font-size: 13px; font-weight: 700; color: var(--text-secondary); }
.work-title { font-size: 22px; font-weight: 800; margin-bottom: 0; }
.work-title a { color: var(--navy); }
.work-title a:hover { color: var(--primary); }
.work-desc { color: var(--text-secondary); font-size: 15px; margin: 0; }
.work-techs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.work-techs span { font-size: 12.5px; font-weight: 700; color: var(--primary-dark); background: var(--primary-light); padding: 5px 11px; border-radius: 999px; }

.chip { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 800; padding: 6px 13px; border-radius: 999px; }
.chip-blue { background: var(--primary-light); color: var(--primary-dark); }

/* ---------- Serviços ---------- */
.services-section { background: var(--bg-blue); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: #fff; border-radius: var(--radius-lg); padding: 32px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column; align-items: flex-start;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--primary);
  color: #fff; display: grid; place-items: center; margin-bottom: 22px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 10px; }
.service-card p { color: var(--text-secondary); font-size: 15.5px; flex: 1; }
.service-link { font-weight: 800; font-size: 15px; color: var(--primary); margin-top: 14px; }
.service-link:hover { color: var(--primary-dark); }
.service-card.is-highlight {
  background: var(--accent); border-color: transparent; color: var(--navy);
  box-shadow: 0 18px 40px rgba(255,196,0,.35);
}
.service-card.is-highlight .service-icon { background: var(--navy); color: var(--accent); }
.service-card.is-highlight h3 { color: var(--navy); }
.service-card.is-highlight p { color: rgba(8,34,62,.78); }
.service-card.is-highlight .service-link { color: var(--navy); }

/* ---------- Diferenciais ---------- */
.diff-section { background: var(--bg); }
.diff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 26px; margin-top: 14px; }
.diff-item {
  display: flex; align-items: center; gap: 14px; padding: 20px 8px;
  border-bottom: 1px solid var(--border);
  font-weight: 700; font-size: 16.5px; color: var(--navy);
}
.diff-icon {
  width: 46px; height: 46px; border-radius: 14px; background: var(--primary-light);
  color: var(--primary); display: grid; place-items: center; flex-shrink: 0;
  transition: background .2s ease, color .2s ease;
}
.diff-icon svg { width: 22px; height: 22px; }
.diff-item:hover .diff-icon { background: var(--accent); color: var(--navy); }

/* ---------- Processo ---------- */
.process-section { background: #fff; border-top: 1px solid var(--border); }
.process-flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; position: relative; }
.process-flow::before {
  content: ""; position: absolute; top: 34px; left: 6%; right: 6%; height: 3px;
  background: repeating-linear-gradient(90deg, var(--primary) 0 14px, transparent 14px 24px);
  opacity: .35; z-index: 0;
}
.process-step { position: relative; text-align: center; padding: 0 6px; }
.process-step::before {
  content: ""; position: relative; display: block; width: 20px; height: 20px; border-radius: 6px;
  background: var(--accent); margin: 0 auto 22px; z-index: 1;
  box-shadow: 0 0 0 7px rgba(255,196,0,.2);
}
.process-step:nth-child(even)::before { background: var(--primary); box-shadow: 0 0 0 7px var(--primary-light); }
.process-num { display: block; font-size: 13px; font-weight: 800; color: var(--primary); letter-spacing: .1em; margin-bottom: 6px; }
.process-step h3 { font-size: 18.5px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--text-secondary); }

/* ---------- Sobre ---------- */
.about-section { background: var(--bg-blue); }
.about-inner { display: grid; grid-template-columns: .94fr 1.06fr; gap: 70px; align-items: center; }
.about-media { position: relative; }
.about-frame {
  border-radius: var(--radius-lg); overflow: hidden; background: #fff;
  box-shadow: var(--shadow); border: 1px solid var(--border); aspect-ratio: 4 / 4.35;
}
.about-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; top: 22px; left: -14px; display: flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--navy); font-weight: 800; font-size: 13.5px;
  padding: 11px 18px; border-radius: 14px; box-shadow: 0 12px 26px rgba(255,196,0,.4);
}
.about-badge svg { width: 18px; height: 18px; }
.about-scrawl { position: absolute; bottom: 26px; right: -12px; font-family: var(--font-hand); font-size: 30px; font-weight: 700; color: var(--primary-dark); background: #fff; padding: 6px 18px; border-radius: 12px; box-shadow: var(--shadow-sm); transform: rotate(2deg); }
.about-scribble { position: absolute; bottom: -16px; left: 30px; width: 180px; }
.about-text { color: var(--text-secondary); font-size: 16.5px; margin-bottom: 24px; }
.about-indicators { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.about-indicators li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy); }
.check { width: 26px; height: 26px; border-radius: 8px; background: var(--success); color: #fff; display: grid; place-items: center; }
.check svg { width: 15px; height: 15px; }

/* ---------- Tecnologias ---------- */
.tech-strip { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.tech-inners { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding: 34px 24px; }
.tech-item {
  font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: #9AA7B3;
  transition: color .25s ease, transform .25s ease;
}
.tech-item:hover { color: var(--primary); transform: translateY(-2px); }
.tech-item.is-alt:hover { color: #8f6a00; }

/* ---------- Depoimentos ---------- */
.testimonials-section { background: var(--bg-warm); }
.testi-viewport { overflow: hidden; }
.testi-track { display: flex; transition: transform .5s ease; }
.testi-slide { flex: 0 0 100%; min-width: 100%; padding: 6px; }
.testi-card {
  background: #fff; border-radius: var(--radius-lg); padding: 40px 44px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); position: relative; margin: 0;
}
.testi-quote { position: absolute; top: 28px; right: 34px; color: var(--primary); width: 44px; height: 44px; }
.testi-quote svg { width: 44px; height: 44px; fill: var(--primary-light); stroke: none; }
.testi-content { font-size: 19px; line-height: 1.6; color: var(--text); max-width: 820px; margin-bottom: 26px; }
.testi-footer { display: flex; align-items: center; gap: 14px; }
.testi-stars { display: flex; gap: 3px; color: var(--accent); }
.testi-stars svg { width: 18px; height: 18px; fill: currentColor; }
.testi-stars svg.is-empty { color: #E2B93B; opacity: .4; }
.testi-name { font-size: 17px; font-weight: 800; color: var(--navy); }
.testi-role { font-size: 13.5px; color: var(--text-secondary); margin: 0; }
.testi-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.testi-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--border);
  background: #fff; color: var(--navy); display: grid; place-items: center; transition: all .2s ease;
}
.testi-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.testi-btn svg { width: 20px; height: 20px; }
.testi-dots { display: flex; gap: 8px; }
.testi-dot { width: 9px; height: 9px; border-radius: 50%; background: #D4DCE5; transition: all .3s ease; }
.testi-dot.is-active { width: 26px; border-radius: 999px; background: var(--primary); }

/* ---------- CTA final ---------- */
.cta-section {
  position: relative; background: linear-gradient(135deg, #0A2B52 0%, var(--primary-dark) 68%, var(--primary) 130%);
  color: #fff; padding: 96px 0; overflow: hidden;
}
.cta-deco { position: absolute; inset: 0; pointer-events: none; color: rgba(255,255,255,.5); }
.cta-deco svg { position: absolute; top: 24px; right: 10%; width: 200px; }
.cta-spark { position: absolute; bottom: 18%; left: 6%; width: 40px; height: 40px; color: var(--accent); }
.cta-spark svg { width: 40px; height: 40px; }
.cta-dots { position: absolute; top: 30%; left: 14%; width: 90px; opacity: .5; }

.cta-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; position: relative; }
.cta-title { font-size: 46px; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-text { font-size: 18px; color: rgba(255,255,255,.85); max-width: 460px; }
.cta-center { text-align: center; position: relative; }
.cta-center .cta-text { margin: 0 auto 30px; max-width: 560px; }

.cta-form {
  background: #fff; border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px;
}
.cta-form .btn { margin-top: 4px; }

/* ---------- Formulários ---------- */
.field { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.field-row { display: flex; gap: 16px; }
.field label { font-size: 13.5px; font-weight: 800; color: var(--navy); }
.field.required label::after { content: " *"; color: var(--danger); }
.opt { font-weight: 500; color: var(--text-secondary); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 13px;
  font-size: 15px; color: var(--text); background: #fff; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23657381' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }

.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; overflow: hidden; }

.form-legal { font-size: 12.5px; color: var(--text-secondary); text-align: center; margin: 0; }

.card-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.card-form .btn { margin-top: 6px; }

/* Alertas */
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; margin-bottom: 18px; font-size: 14.5px; }
.alert strong { display: block; margin-bottom: 4px; }
.alert p { margin: 0; }
.alert svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.alert-success { background: #E7F6EF; color: #0D7A48; }
.alert-error { background: #FDECEC; color: #B02A2E; }
.alert-error ul { list-style: disc; padding-left: 18px; margin: 6px 0 0; }
.alert-error ul li { margin-bottom: 2px; }

/* ---------- Contato ---------- */
.contact-section { background: var(--bg-blue); }
.contact-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 60px; align-items: start; }
.contact-title { font-size: 30px; margin-bottom: 26px; }
.contact-channels { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.contact-channels a { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; color: var(--navy); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.contact-channels a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.channel-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--primary-light); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.channel-icon svg { width: 22px; height: 22px; }
.contact-channels strong { display: block; font-size: 15.5px; }
.contact-channels small { color: var(--text-secondary); font-size: 13px; }
.info-note { display: flex; gap: 12px; align-items: flex-start; color: var(--text-secondary); font-size: 14px; background: var(--bg-warm); border-radius: 14px; padding: 16px; }
.info-note svg { width: 20px; height: 20px; color: var(--accent-hover); flex-shrink: 0; }
.info-note p { margin: 0; }

/* ---------- Página genérica / 404 / static ---------- */
.page-hero { background: var(--bg-blue); padding: 84px 0 60px; text-align: center; }
.page-hero h1 { font-size: 48px; max-width: 780px; margin: 0 auto 14px; }
.page-hero .section-text { margin: 0 auto; }
.static-section { background: #fff; }
.static-content { max-width: 820px; }
.static-content h2 { margin-top: 34px; font-size: 24px; }
.static-content p { color: var(--text-secondary); }
.err-code { font-size: 90px; font-weight: 800; color: var(--primary); display: block; line-height: 1; margin-bottom: 8px; }
.err-404 h1 { font-size: 42px; }

/* ---------- Detalhe do projeto ---------- */
.ph-project { background: var(--navy); color: #fff; text-align: left; }
.pd-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ph-project .pd-desc { color: rgba(255,255,255,.82); font-size: 17.5px; max-width: 520px; }
.pd-hero-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.14); width: 100%; }
.pd-block { background: var(--bg); }
.pd-white { background: #fff; border-top: 1px solid var(--border); }
.pd-grid-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pd-card { border-radius: var(--radius-lg); padding: 36px; }
.pd-card-blue { background: var(--primary-light); }
.pd-card-yellow { background: var(--bg-warm); }
.pd-card h2 { display: flex; align-items: center; gap: 12px; font-size: 23px; margin-bottom: 16px; }
.pd-card svg { width: 26px; height: 26px; color: var(--primary); }
.pd-card p { color: var(--text-secondary); font-size: 16px; }
.pd-subtitle { font-size: 30px; margin-bottom: 26px; }
.pd-text-block { max-width: 860px; }
.pd-text-block p { color: var(--text-secondary); font-size: 17px; }
.pd-tech { background: #fff; border-top: 1px solid var(--border); padding: 56px 0; }
.pd-tech-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-tech { background: var(--navy); color: #fff; padding: 8px 16px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery-item { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.gallery-item img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.pd-related { background: var(--bg); border-top: 1px solid var(--border); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 56px; }
.footer-tagline { font-family: var(--font-hand); font-size: 24px; color: var(--accent); margin: 16px 0 12px; }
.footer-about { font-size: 14.5px; max-width: 320px; }
.footer-address { font-size: 14px; color: rgba(255,255,255,.55); }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08);
  color: #fff; display: grid; place-items: center; transition: all .2s ease;
}
.social-btn:hover { background: var(--accent); color: var(--navy); transform: translateY(-3px); }
.social-btn svg { width: 20px; height: 20px; }
.footer-col h3 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col a { display: block; color: rgba(255,255,255,.72); font-size: 14.5px; padding: 5px 0; transition: color .2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom nav a { color: rgba(255,255,255,.6); font-size: 13.5px; }
.footer-bottom nav a:hover { color: var(--accent); }

/* WhatsApp flutuante */
.fab-whatsapp { position: fixed; bottom: 26px; right: 26px; z-index: 90; }
.fab-whatsapp a {
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 34px rgba(37,211,102,.42);
  transition: transform .2s ease;
}
.fab-whatsapp a:hover { transform: scale(1.08); }
.fab-whatsapp svg { width: 30px; height: 30px; }

/* ---------- Animação de entrada ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsivo ---------- */
@media (max-width: 1199px) {
  .hero-title { font-size: 50px; }
  .process-flow { grid-template-columns: repeat(3, 1fr); gap: 34px 20px; }
  .process-flow::before { display: none; }
  .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 1023px) {
  .hero-inner { grid-template-columns: 1fr; gap: 80px; }
  .hero-content { text-align: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-note { justify-content: center; }
  .hero-media { min-height: 0; max-width: 640px; margin: 0 auto; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 60px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .pd-hero { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .badge-wrap-1 { left: 0; } .badge-wrap-2 { left: 0; } .badge-wrap-3 { right: 0; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .site-nav {
    position: fixed; inset: 0; z-index: 99;
    flex-direction: column; justify-content: center; gap: 22px;
    background: rgba(255,255,255,.98); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-link { font-size: 24px; font-weight: 800; color: var(--navy); }
  .nav-cta-mobile { display: inline-flex; margin-top: 10px; }
  .section { padding: 76px 0; }
  .section-title { font-size: 36px; }
  .hero-title { font-size: 42px; }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-title { font-size: 38px; }
}

@media (max-width: 767px) {
  .container { padding: 0 18px; }
  body { font-size: 16px; }
  .work-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: 1fr; gap: 8px; }
  .process-step { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; text-align: left; padding: 14px 0; }
  .process-step::before { margin: 2px 0 0; grid-column: 1; grid-row: 1; }
  .process-num { grid-column: 1; grid-row: 2; }
  .process-step h3 { grid-column: 2; grid-row: 1; }
  .process-step p { grid-column: 2; grid-row: 2; }
  .prova-inner { justify-content: flex-start; }
  .prova-divider { display: none; }
  .prova-item { width: 100%; }
  .tech-inners { gap: 12px 22px; padding: 26px 18px; }
  .tech-item { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .field-row { flex-direction: column; }
  .page-hero h1 { font-size: 38px; }
  .pd-hero-img { margin-top: 8px; }
  .pd-grid-cols { grid-template-columns: 1fr; }
  .pd-card { padding: 28px 22px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cta-form { padding: 26px 20px; }
  .cta-grid { gap: 30px; }
  .testi-card { padding: 30px 26px; }
  .testi-content { font-size: 17px; }
  .about-badge { left: 8px; }
  .about-scrawl { right: 4px; }
  .badge-float { padding: 11px 14px; }
.badge-wrap-1 { top: 4px; left: 0; }
.badge-wrap-2 { bottom: 44px; left: 0; }
.badge-wrap-3 { top: 40%; right: 0; }
  .hero-dots-side { display: none; }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .hero { padding: 56px 0 80px; }
}

@media (max-width: 991px) {
  .scroll-cue { display: none; }
}

@media (max-width: 767px) {
  .aurora-1 { width: 300px; height: 300px; top: -70px; left: -90px; }
  .aurora-2 { width: 340px; height: 340px; bottom: -120px; right: -110px; }
}