<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #ffffff;
  --off: #f5f7fb;
  --light: #e6ecf5;
  --silver: #a8bacf;
  --mid: #5d748f;
  --dark: #18293d;
  --darker: #0d1a28;
  --blue1: #3a8fd4;
  --blue2: #2461a8;
  --blue3: #1a3d7c;
  --accent: #1456f0;
  --grad: linear-gradient(135deg, #3a8fd4 0%, #2461a8 50%, #1a3d7c 100%);
}

html { scroll-behavior: smooth; }
body { font-family: 'Roboto', sans-serif; color: var(--dark); background: var(--white); overflow-x: hidden; line-height: 1.6; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--blue2); border-radius: 10px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 70px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(58,143,212,0.15);
  transition: box-shadow 0.3s ease;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(26,61,124,0.1); }
.nav-logo img { height: 44px; width: auto; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--mid);
  text-decoration: none; letter-spacing: 0.01em;
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1.5px; background: var(--blue2);
  transform: scaleX(0); transition: transform 0.25s; transform-origin: left;
}
.nav-links a:hover { color: var(--blue2); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--blue2) !important; color: white !important;
  padding: 9px 22px; border-radius: 4px;
  font-weight: 600 !important; font-size: 13px !important;
  transition: background 0.25s, transform 0.25s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--blue3) !important; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; display: block; transition: 0.3s; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 100px 5vw 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://i.ibb.co/5W8tYdFH/download.jpg');
  background-size: cover; background-position: center;
  filter: brightness(0.18) saturate(0.6);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,20,35,0.92) 0%, rgba(26,61,124,0.75) 60%, rgba(36,97,168,0.5) 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(58,143,212,0.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(58,143,212,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 680px;
  animation: fadeUp 0.9s ease both;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(58,143,212,0.18); border: 1px solid rgba(58,143,212,0.35);
  color: #7ec8f5; font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 2px; margin-bottom: 28px;
  backdrop-filter: blur(4px);
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: #7ec8f5; animation: pulse 2s infinite;
}
h1 {
  font-family: 'Roboto', sans-serif;
  /* font-weight: 800;  */
  font-size: clamp(40px, 5.5vw, 70px);
  line-height: 1.07; letter-spacing: -2px;
  color: white; margin-bottom: 24px;
}
h1 .grad-text {
  background: var(--grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc {
  font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.65);
  line-height: 1.8; max-width: 530px; margin-bottom: 44px;
}
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--grad); color: white;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  padding: 15px 32px; border-radius: 4px; text-decoration: none;
  box-shadow: 0 8px 32px rgba(36,97,168,0.5);
  transition: transform 0.25s, box-shadow 0.25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(36,97,168,0.65); }
.btn-primary svg { transition: transform 0.25s; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 500;
  text-decoration: none; padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  transition: color 0.25s, border-color 0.25s;
}
.btn-ghost:hover { color: white; border-color: white; }
.hero-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeUp 0.9s 0.3s ease both;
}
.stat-num {
  font-family: 'Roboto', sans-serif; font-size: 38px; font-weight: 800;
  color: white; letter-spacing: -1.5px; line-height: 1;
}
.stat-num span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-lbl { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 4px; letter-spacing: 0.02em; }

/* ── SECTION BASE ── */
section { padding: 100px 5vw; }
.sec-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue2); margin-bottom: 14px;
}
.sec-tag::before { content: ''; width: 22px; height: 2px; background: var(--blue2); }
h2 {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(30px, 3.2vw, 50px); font-weight: 800;
  letter-spacing: -1.5px; line-height: 1.1; color: var(--darker);
  margin-bottom: 18px;
}
.sec-lead { font-size: 16px; font-weight: 300; color: var(--mid); max-width: 540px; line-height: 1.8; margin-bottom: 56px; }

/* ── SOBRE ── */
#sobre { background: var(--white); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-main-img {
  width: 100%; height: 460px; object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(26,61,124,0.18);
}
.about-float {
  position: absolute; bottom: -20px; right: -20px;
  background: white; border-radius: 8px; padding: 20px 24px;
  box-shadow: 0 12px 40px rgba(26,61,124,0.15);
  border: 1px solid var(--light);
  text-align: center;
}
.about-float .big { font-family: 'Roboto', sans-serif; font-size: 36px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.about-float p { font-size: 11px; color: var(--silver); margin-top: 4px; }
.about-vals { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 40px; }
.val-item {
  padding: 18px 20px; border-left: 3px solid transparent;
  transition: border-color 0.25s, background 0.25s;
  border-radius: 2px;
}
.val-item:hover { border-color: var(--blue2); background: #eef4fb; }
.val-item h4 { font-family: 'Roboto', sans-serif; font-size: 13px; font-weight: 700; color: var(--darker); margin-bottom: 3px; }
.val-item p { font-size: 12px; color: var(--silver); }

/* ── SERVIÇOS ── */
#servicos { background: var(--off); }
.srv-hdr { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; flex-wrap: wrap; gap: 20px; }
.srv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--light); border-radius: 8px; overflow: hidden; }
.srv-card {
  background: white; padding: 40px 32px; position: relative; overflow: hidden;
  transition: background 0.25s;
}
.srv-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.srv-card:hover::before { transform: scaleX(1); }
.srv-card:hover { background: #f7fbff; }
.srv-num { font-family: 'Roboto', sans-serif; font-size: 12px; font-weight: 700; color: var(--silver); letter-spacing: 0.08em; margin-bottom: 20px; }
.srv-icon {
  width: 48px; height: 48px; background: #deeef9; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; color: var(--blue2);
  margin-bottom: 20px; transition: background 0.25s, transform 0.25s;
}
.srv-card:hover .srv-icon { background: var(--blue2); color: white; transform: scale(1.05); }
.srv-icon svg { width: 22px; height: 22px; }
.srv-card h3 { font-family: 'Roboto', sans-serif; font-size: 18px; font-weight: 700; color: var(--darker); margin-bottom: 10px; }
.srv-card p { font-size: 13px; color: var(--mid); line-height: 1.7; }
.srv-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 20px; }
.srv-tag {
  font-size: 10px; font-weight: 700; background: var(--off); color: var(--mid);
  padding: 3px 9px; border-radius: 2px; letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.srv-card:hover .srv-tag { background: #deeef9; color: var(--blue2); }

/* ── PORTFÓLIO ── */
#cases { background: white; }
.cases-intro { margin-bottom: 56px; }
.cases-main { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin-bottom: 16px; }
.cases-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

.case-card {
  position: relative; border-radius: 8px; overflow: hidden;
  cursor: pointer; background: var(--darker);
}
.case-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.55) saturate(0.7);
}
.case-card:hover .case-img { transform: scale(1.04); filter: brightness(0.4) saturate(0.5); }
.case-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 26px;
  background: linear-gradient(transparent, rgba(10,20,35,0.94));
}
.case-sector {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #7ec8f5; margin-bottom: 6px; display: block;
}
.case-card h3 {
  font-family: 'Roboto', sans-serif; font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 700; color: white; letter-spacing: -0.3px; margin-bottom: 4px;
}
.case-card p { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.5; }
.case-arrow {
  position: absolute; top: 18px; right: 18px; width: 34px; height: 34px;
  background: rgba(255,255,255,0.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: white;
  transition: background 0.25s, transform 0.25s;
}
.case-card:hover .case-arrow { background: var(--blue2); transform: translate(2px,-2px); }
.h-lg { height: 400px; }
.h-md { height: 400px; }
.h-sm { height: 220px; }

/* ── PROCESSO ── */
#processo {
  background: var(--darker); position: relative; overflow: hidden;
}
#processo::before {
  content: ''; position: absolute; top: -30%; right: -10%;
  width: 55%; height: 110%;
  background: radial-gradient(ellipse, rgba(36,97,168,0.14) 0%, transparent 70%);
  pointer-events: none;
}
#processo .sec-tag { color: rgba(255,255,255,0.4); }
#processo .sec-tag::before { background: rgba(255,255,255,0.25); }
#processo h2 { color: white; }
#processo .sec-lead { color: rgba(255,255,255,0.45); }
.proc-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: rgba(255,255,255,0.05); border-radius: 8px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); }
.proc-step { padding: 40px 28px; background: rgba(13,26,40,0.7); position: relative; transition: background 0.25s; }
.proc-step:hover { background: rgba(36,97,168,0.1); }
.step-n { font-family: 'Roboto', sans-serif; font-size: 52px; font-weight: 800; color: rgba(58,143,212,0.15); line-height: 1; margin-bottom: 24px; transition: color 0.25s; }
.proc-step:hover .step-n { color: rgba(58,143,212,0.4); }
.proc-step h4 { font-family: 'Roboto', sans-serif; font-size: 16px; font-weight: 700; color: white; margin-bottom: 10px; }
.proc-step p { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.7; }

/* ── CONTATO ── */
#contato { background: var(--off); display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.ctt-details { margin-top: 44px; display: flex; flex-direction: column; gap: 24px; }
.ctt-item { display: flex; align-items: flex-start; gap: 14px; }
.ctt-icon { width: 42px; height: 42px; flex-shrink: 0; background: white; border: 1px solid var(--light); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--blue2); }
.ctt-icon svg { width: 16px; height: 16px; }
.ctt-text h5 { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver); margin-bottom: 3px; }
.ctt-text p { font-size: 14px; color: var(--dark); }
.ctt-text a { color: var(--dark); text-decoration: none; }
.ctt-text a:hover { color: var(--blue2); }

.ctt-form { background: white; border: 1px solid var(--light); border-radius: 8px; padding: 40px; box-shadow: 0 8px 40px rgba(26,61,124,0.07); }
.ctt-form h3 { font-family: 'Roboto', sans-serif; font-size: 20px; font-weight: 700; color: var(--darker); margin-bottom: 28px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.f-group label { font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--silver); }
.f-group input, .f-group select, .f-group textarea {
  font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--dark);
  background: var(--off); border: 1.5px solid var(--light); border-radius: 4px;
  padding: 12px 14px; outline: none; resize: none; width: 100%; appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.f-group input:focus, .f-group select:focus, .f-group textarea:focus {
  border-color: var(--blue2); background: white;
  box-shadow: 0 0 0 3px rgba(36,97,168,0.08);
}
.f-group input::placeholder, .f-group textarea::placeholder { color: var(--silver); }
.f-submit {
  width: 100%; background: var(--grad); color: white;
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 600;
  padding: 15px; border: none; border-radius: 4px; cursor: pointer; margin-top: 6px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(36,97,168,0.3);
}
.f-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(36,97,168,0.45); }
.f-submit svg { transition: transform 0.25s; }
.f-submit:hover svg { transform: translateX(4px); }

/* ── FOOTER ── */
footer { background: var(--darker); padding: 60px 5vw 28px; }
.ft-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; gap: 36px; }
.ft-brand { max-width: 280px; }
.ft-brand img { height: 40px; object-fit: contain; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: 0.85; }
.ft-brand p { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.7; }
.ft-links h5 { font-family: 'Roboto', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: white; margin-bottom: 18px; }
.ft-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ft-links a { font-size: 13px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.ft-links a:hover { color: white; }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 10px; }
.ft-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }
.ft-norms { display: flex; gap: 8px; }
.norm { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; background: rgba(58,143,212,0.15); color: #7ec8f5; padding: 3px 9px; border-radius: 2px; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse { 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:0.4; transform:scale(0.7); } }
.reveal { opacity:0; transform:translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ── MOBILE ── */
@media(max-width:900px){
  .nav-links { display:none; }
  .hamburger { display:flex; }
  #hero { padding:90px 5vw 60px; }
  h1 { letter-spacing:-1px; }
  #sobre, #contato { grid-template-columns:1fr; gap:40px; }
  .about-visual { order:-1; }
  .about-main-img { height:280px; }
  .about-float { bottom:-16px; right:-10px; }
  .srv-grid { grid-template-columns:1fr; }
  .cases-main { grid-template-columns:1fr; }
  .cases-row { grid-template-columns:1fr 1fr; }
  .h-lg, .h-md { height:280px; }
  .h-sm { height:200px; }
  .proc-steps { grid-template-columns:1fr 1fr; }
  .f-row { grid-template-columns:1fr; }
  .ctt-form { padding:24px 20px; }
  .hero-stats { gap:24px; margin-top:48px; }
}
@media(max-width:560px){
  section { padding:70px 5vw; }
  .proc-steps { grid-template-columns:1fr; }
  .cases-row { grid-template-columns:1fr; }
}
</style>
/* ── PORTFÓLIO TEXTO ── */
.cases-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
  margin: 48px auto 0;
}
.case-text-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line, #e6ecf5);
}
.case-text-item:first-child {
  border-top: 1px solid var(--line, #e6ecf5);
}
.case-text-item .case-sector {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent, #1a56ff);
  display: block;
  margin-bottom: 8px;
}
.case-text-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--dark, #0a0f1e);
}
.case-text-item p {
  font-size: 14px;
  color: var(--mid, #5a6580);
  margin: 0;
  line-height: 1.7;
}

/* ── NOSSOS CLIENTES ── */
#clientes {
  padding: 96px 5vw;
  background: #f8faff;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.client-logo-box {
  background: #ffffff;
  border: 1px solid #e6ecf5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 16px;
  transition: box-shadow .2s, transform .2s;
}
.client-logo-box:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.client-logo-box img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .2s, opacity .2s;
}
.client-logo-box:hover img {
  filter: grayscale(0);
  opacity: 1;
}
@media (max-width: 640px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
