@font-face {
  font-family: 'Nexa';
  src: url('https://fonts.cdnfonts.com/s/16122/Nexa Bold.woff') format('woff');
  font-weight: 700;
}
@font-face {
  font-family: 'Nexa';
  src: url('https://fonts.cdnfonts.com/s/16122/Nexa Regular.woff') format('woff');
  font-weight: 400;
}

:root {
  --navy: #0B1740;
  --navy-mid: #162259;
  --yellow: #F5C400;
  --yellow-dim: #c49d00;
  --white: #ffffff;
  --off-white: #F7F8FC;
  --gray-light: #E8EBF4;
  --gray-mid: #8A93B2;
  --radius: 12px;
  --radius-lg: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Nexa','Segoe UI',sans-serif; font-weight: 400; color: var(--navy); background: var(--white); overflow-x: hidden; }
h1,h2,h3,h4,.brand,.btn-primary,.btn-secondary,.btn-email { font-family: 'Nexa','Segoe UI',sans-serif; font-weight: 700; }

/* ===================== NAV ===================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 5vw;
  background: rgba(11,23,64,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245,196,0,0.15);
}
.brand { font-size: 1.45rem; font-weight: 700; color: var(--white); letter-spacing: -0.01em; text-decoration: none; }
.brand span { color: var(--yellow); }

.nav-links { list-style: none; display: flex; gap: 2rem; }
.nav-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.88rem; font-weight: 400; transition: color 0.2s; }
.nav-links a:hover { color: var(--yellow); }
.nav-cta { background: var(--yellow); color: var(--navy) !important; font-weight: 700 !important; padding: 0.5rem 1.3rem; border-radius: 6px; }
.nav-cta:hover { background: #ffd833 !important; }

.nav-right { display: flex; align-items: center; gap: 1rem; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== DRAWER ===================== */
.drawer-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  transition: opacity 0.3s;
}
.drawer-overlay.open { display: block; opacity: 1; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 310;
  width: 280px;
  background: var(--navy);
  border-left: 1px solid rgba(245,196,0,0.15);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  padding: 0;
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.drawer-brand { font-size: 1.2rem; font-weight: 700; color: var(--white); }
.drawer-brand span { color: var(--yellow); }
.drawer-close { background: none; border: none; color: rgba(255,255,255,0.6); font-size: 1.4rem; cursor: pointer; padding: 4px; line-height: 1; }
.drawer-close:hover { color: var(--yellow); }

.drawer-lang {
  display: flex; align-items: center; gap: 0;
  margin: 1rem 1.5rem 0;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  width: fit-content;
}
.lang-btn {
  padding: 0.35rem 0.9rem; text-align: center;
  font-family: 'Nexa',sans-serif; font-size: 0.72rem; font-weight: 700;
  color: rgba(255,255,255,0.5); background: none; border: none; cursor: pointer;
  transition: all 0.2s; letter-spacing: 0.08em;
}
.lang-btn.active { background: var(--yellow); color: var(--navy); }
.lang-btn:not(.active):hover { color: var(--white); }

.drawer-nav { list-style: none; padding: 1.5rem 0 1rem; flex: 1; }
.drawer-nav li a {
  display: block; padding: 0.9rem 1.5rem;
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 1rem; font-weight: 400;
  border-left: 3px solid transparent;
  transition: all 0.2s;
}
.drawer-nav li a:hover { color: var(--yellow); border-left-color: var(--yellow); background: rgba(245,196,0,0.06); }

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.drawer-footer .btn-primary { width: 100%; justify-content: center; }

/* ===================== HERO ===================== */
#hero { min-height: 100vh; background: var(--navy); display: flex; align-items: center; padding: 6rem 5vw 4rem; position: relative; overflow: hidden; }
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(245,196,0,0.04) 1px,transparent 1px),linear-gradient(90deg,rgba(245,196,0,0.04) 1px,transparent 1px); background-size: 60px 60px; }
.hero-glow { position: absolute; top: -20%; right: -10%; width: 60vw; height: 60vw; max-width: 700px; max-height: 700px; background: radial-gradient(circle,rgba(245,196,0,0.12) 0%,transparent 70%); pointer-events: none; }
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,196,0,0.12); border: 1px solid rgba(245,196,0,0.3); color: var(--yellow); padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1.8rem; }
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
#hero h1 { font-size: clamp(2.5rem,6vw,5rem); font-weight: 700; color: var(--white); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
#hero h1 em { font-style: normal; color: var(--yellow); }
#hero p { font-size: 1.05rem; color: rgba(255,255,255,0.65); line-height: 1.8; max-width: 520px; margin-bottom: 2.5rem; font-weight: 400; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary { background: var(--yellow); color: var(--navy); font-size: 0.95rem; padding: 1rem 2rem; border-radius: 8px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: transform 0.2s,background 0.2s; cursor: pointer; border: none; }
.btn-primary:hover { background: #ffd833; transform: translateY(-2px); }
.btn-secondary { background: transparent; color: rgba(255,255,255,0.8); font-size: 0.95rem; padding: 1rem 2rem; border-radius: 8px; text-decoration: none; border: 1px solid rgba(255,255,255,0.2); display: inline-flex; align-items: center; gap: 8px; transition: border-color 0.2s,color 0.2s; }
.btn-secondary:hover { border-color: var(--yellow); color: var(--yellow); }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.hero-stat .num { font-size: 2rem; font-weight: 700; color: var(--yellow); line-height: 1; }
.hero-stat .label { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-top: 4px; font-weight: 400; }

/* ===================== SECTIONS ===================== */
section { padding: 6rem 5vw; }
.section-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow-dim); margin-bottom: 0.8rem; }
.section-title { font-size: clamp(1.9rem,3.5vw,2.8rem); font-weight: 700; color: var(--navy); line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 1rem; }
.section-sub { font-size: 1rem; color: var(--gray-mid); line-height: 1.75; max-width: 540px; font-weight: 400; }

/* ===================== SERVIÇOS ===================== */
#servicos { background: var(--off-white); }
.servicos-header { margin-bottom: 3.5rem; }
.servicos-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 1.5rem; }
.servico-card { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-lg); padding: 2rem 1.75rem; transition: transform 0.25s,box-shadow 0.25s,border-color 0.25s; }
.servico-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(11,23,64,0.1); border-color: var(--yellow); }
.servico-icon { width: 52px; height: 52px; background: rgba(245,196,0,0.12); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; font-size: 1.5rem; }
.servico-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.servico-card p { font-size: 0.88rem; color: var(--gray-mid); line-height: 1.7; font-weight: 400; }
.servico-card.destaque { background: var(--navy); border-color: var(--navy); }
.servico-card.destaque .servico-icon { background: rgba(245,196,0,0.15); }
.servico-card.destaque h3 { color: var(--white); }
.servico-card.destaque p { color: rgba(255,255,255,0.55); }

/* ===================== AUTOMAÇÃO ===================== */
#automacao { background: var(--navy); }
#automacao .section-label { color: rgba(245,196,0,0.7); }
#automacao .section-title { color: var(--white); }
#automacao .section-sub { color: rgba(255,255,255,0.55); }
.automacao-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; margin-top: 3.5rem; }
.automacao-list { display: flex; flex-direction: column; }
.automacao-item { display: flex; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); cursor: pointer; }
.automacao-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }
.automacao-item.active .automacao-num { background: var(--yellow); color: var(--navy); }
.automacao-item.active .automacao-title { color: var(--yellow); }
.automacao-num { width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.4); font-weight: 700; font-size: 0.82rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.2s,color 0.2s; }
.automacao-title { font-weight: 700; font-size: 0.95rem; color: rgba(255,255,255,0.85); margin-bottom: 4px; transition: color 0.2s; }
.automacao-desc { font-size: 0.85rem; color: rgba(255,255,255,0.4); line-height: 1.65; font-weight: 400; }
.automacao-visual { background: rgba(255,255,255,0.04); border: 1px solid rgba(245,196,0,0.15); border-radius: var(--radius-lg); padding: 2.5rem; position: sticky; top: 90px; }
.visual-panel { display: none; }
.visual-panel.active { display: block; }
.visual-panel h4 { font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.visual-panel .visual-desc { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 1.5rem; font-weight: 400; }
.chart-bar-group { display: flex; flex-direction: column; gap: 10px; }
.chart-row { display: flex; align-items: center; gap: 12px; }
.chart-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); width: 60px; flex-shrink: 0; text-align: right; }
.chart-bar-wrap { flex: 1; background: rgba(255,255,255,0.06); border-radius: 4px; height: 28px; overflow: hidden; }
.chart-bar { height: 100%; border-radius: 4px; display: flex; align-items: center; padding-left: 10px; font-size: 0.72rem; font-weight: 700; }
.chart-bar.yellow { background: var(--yellow); color: var(--navy); }
.chart-bar.dim { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.6); }
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.status-card { background: rgba(255,255,255,0.05); border-radius: 10px; padding: 1rem; }
.status-card .s-label { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-bottom: 6px; font-weight: 400; }
.status-card .s-val { font-size: 1.25rem; font-weight: 700; color: var(--yellow); }
.status-card .s-sub { font-size: 0.72rem; color: rgba(255,255,255,0.35); margin-top: 2px; font-weight: 400; }

/* ===================== SIMULADOR ===================== */
#simulador { background: var(--white); }
.simulador-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.sim-controls { display: flex; flex-direction: column; gap: 2rem; }
.sim-field label { display: block; font-size: 0.75rem; font-weight: 700; color: var(--gray-mid); margin-bottom: 10px; letter-spacing: 0.08em; text-transform: uppercase; }
.slider-wrap { padding: 0 12px; margin: 0 -12px; }
.sim-field input[type=range] { width: 100%; accent-color: var(--yellow); cursor: pointer; display: block; }
.sim-val-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.sim-val-row .main-val { font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.sim-val-row .unit { font-size: 0.82rem; color: var(--gray-mid); font-weight: 400; margin-left: 4px; }
.sim-val-row .side-info { font-size: 0.82rem; color: var(--yellow-dim); font-weight: 700; }
.bat-options { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.bat-btn { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--gray-light); background: var(--white); color: var(--navy); font-family: 'Nexa',sans-serif; font-size: 0.82rem; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.bat-btn:hover { border-color: var(--yellow); }
.bat-btn.active { background: var(--navy); border-color: var(--navy); color: var(--yellow); }
.bat-selected { margin-top: 8px; font-size: 0.8rem; color: var(--gray-mid); font-weight: 400; }
.bat-selected strong { color: var(--navy); font-weight: 700; }
.ev-row { display: flex; align-items: center; justify-content: space-between; }
.ev-label-text { font-size: 0.75rem; font-weight: 700; color: var(--gray-mid); text-transform: uppercase; letter-spacing: 0.08em; }
.toggle-wrap { display: flex; align-items: center; gap: 10px; }
.toggle-state { font-size: 0.9rem; font-weight: 700; min-width: 28px; }
.toggle-state.off { color: var(--gray-mid); }
.toggle-state.on { color: var(--yellow-dim); }
.toggle { position: relative; width: 52px; height: 28px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--gray-light); border-radius: 14px; cursor: pointer; transition: background 0.3s; }
.toggle-slider::before { content: ''; position: absolute; width: 20px; height: 20px; left: 4px; top: 4px; background: white; border-radius: 50%; transition: transform 0.3s; }
.toggle input:checked + .toggle-slider { background: var(--yellow); }
.toggle input:checked + .toggle-slider::before { transform: translateX(24px); }
.sim-results { background: var(--off-white); border-radius: var(--radius-lg); padding: 2.5rem; }
.results-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 2rem; }
.result-box { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 1.5rem; text-align: center; }
.result-box.highlight { background: var(--navy); border-color: var(--navy); }
.result-box .r-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-mid); margin-bottom: 0.75rem; }
.result-box.highlight .r-label { color: rgba(255,255,255,0.4); }
.result-box .r-val { font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.result-box.highlight .r-val { color: var(--yellow); }
.result-box .r-sub { font-size: 0.78rem; color: var(--gray-mid); margin-top: 4px; font-weight: 400; }
.result-box.highlight .r-sub { color: rgba(255,255,255,0.35); }
.result-bar-section { margin-bottom: 1.5rem; }
.result-bar-label { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--gray-mid); margin-bottom: 8px; font-weight: 400; }
.result-bar-label strong { color: var(--navy); font-weight: 700; }
.result-bar-track { background: var(--gray-light); border-radius: 4px; height: 10px; overflow: hidden; }
.result-bar-fill { height: 100%; border-radius: 4px; transition: width 0.5s ease; }
.result-bar-fill.base { background: #CBD2E8; }
.result-bar-fill.auto { background: var(--yellow); }
.result-payback { background: rgba(245,196,0,0.1); border: 1px solid rgba(245,196,0,0.3); border-radius: var(--radius); padding: 1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.result-payback .pb-label { font-size: 0.85rem; color: var(--navy); font-weight: 400; }
.result-payback .pb-val { font-size: 1.1rem; font-weight: 700; color: var(--navy); white-space: nowrap; }

/* ===================== PROJETOS ===================== */
#projetos { background: var(--off-white); overflow: hidden; }
.projetos-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem; }
.proj-nav { display: flex; gap: 10px; }
.proj-btn { width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--gray-light); background: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--navy); transition: background 0.2s,border-color 0.2s; }
.proj-btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.projetos-outer { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: start; }
.proj-list { display: flex; flex-direction: column; }
.proj-list-item { padding: 1.25rem 1rem; border-left: 3px solid transparent; cursor: pointer; transition: border-color 0.2s,background 0.2s; border-radius: 0 8px 8px 0; }
.proj-list-item.active { border-left-color: var(--yellow); background: rgba(245,196,0,0.06); }
.proj-list-item .pl-name { font-weight: 700; font-size: 0.9rem; color: var(--navy); margin-bottom: 3px; }
.proj-list-item .pl-loc { font-size: 0.76rem; color: var(--gray-mid); font-weight: 400; }
.proj-list-item.active .pl-name { color: var(--yellow-dim); }
.proj-panel { display: none; }
.proj-panel.active { display: block; }
.proj-photos { display: flex; gap: 1rem; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; touch-action: pan-x; width: 100%; min-width: 0; }
.proj-photos::-webkit-scrollbar { height: 4px; }
.proj-photos::-webkit-scrollbar-track { background: var(--gray-light); border-radius: 2px; }
.proj-photos::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 2px; }
.proj-photo-placeholder { scroll-snap-align: start; flex: 0 0 300px; width: 300px; height: 210px; border-radius: var(--radius); background: var(--gray-light); border: 2px dashed #CBD2E8; display: flex; align-items: center; justify-content: center; color: var(--gray-mid); font-size: 0.8rem; }
.proj-photo { scroll-snap-align: start; flex: 0 0 300px; width: 300px; height: 210px; border-radius: var(--radius); object-fit: cover; }
.proj-info { margin-top: 1.5rem; }
.proj-info h3 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.proj-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1rem; }
.proj-tag { background: var(--white); border: 1px solid var(--gray-light); color: var(--navy); font-size: 0.73rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.proj-info p { font-size: 0.88rem; color: var(--gray-mid); line-height: 1.75; font-weight: 400; }

/* ===================== CONTACTO ===================== */
#contacto { background: var(--navy); }
#contacto .section-label { color: rgba(245,196,0,0.7); }
#contacto .section-title { color: var(--white); }
#contacto .section-sub { color: rgba(255,255,255,0.5); }
.contacto-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; margin-top: 3.5rem; }
.contacto-items { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.contacto-item { display: flex; gap: 1rem; align-items: flex-start; }
.c-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(245,196,0,0.1); border: 1px solid rgba(245,196,0,0.2); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.c-label { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-bottom: 3px; font-weight: 400; }
.c-val { font-size: 0.92rem; color: var(--white); font-weight: 700; line-height: 1.5; }
.contacto-form { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.5); margin-bottom: 8px; letter-spacing: 0.06em; text-transform: uppercase; }
.form-group input,.form-group select,.form-group textarea { width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; padding: 0.75rem 1rem; color: var(--white); font-family: 'Nexa',sans-serif; font-size: 0.92rem; font-weight: 400; outline: none; transition: border-color 0.2s; -webkit-appearance: none; }
.form-group input::placeholder,.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color: var(--yellow); }
.form-group select option { background: var(--navy); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-email { width: 100%; background: var(--yellow); color: var(--navy); font-size: 0.95rem; padding: 1rem; border-radius: 8px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: background 0.2s,transform 0.2s; margin-top: 0.5rem; }
.btn-email:hover { background: #ffd833; transform: translateY(-2px); }

/* ===================== WA FLOAT ===================== */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 200; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); cursor: pointer; transition: transform 0.2s,box-shadow 0.2s; text-decoration: none; }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wa-float svg { width: 28px; height: 28px; }

/* ===================== FOOTER ===================== */
footer { background: #070f2e; padding: 2.5rem 5vw; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.06); }
footer .brand { font-size: 1.2rem; }
footer p { font-size: 0.8rem; color: rgba(255,255,255,0.3); font-weight: 400; }

/* ===================== ANIMATIONS ===================== */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease,transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ===================== MOBILE ===================== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-right .nav-cta { display: none; }

  #hero { padding: 5rem 6vw 3rem; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat .num { font-size: 1.6rem; }
  .btn-secondary { display: none; }

  section { padding: 4rem 6vw; }

  .automacao-layout { grid-template-columns: 1fr; gap: 2rem; }
  .automacao-visual { position: static; }

  .simulador-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .sim-results { padding: 1.5rem; }
  .results-compare { gap: 0.75rem; }
  .result-box { padding: 1.1rem; }
  .result-box .r-val { font-size: 1.6rem; }
  .slider-wrap { padding: 0 8px; margin: 0 -8px; }

  .projetos-outer { grid-template-columns: 1fr; }
  .proj-list { flex-direction: row; overflow-x: auto; gap: 0; padding-bottom: 0.5rem; margin-bottom: 1.5rem; -webkit-overflow-scrolling: touch; }
  .proj-list-item { flex-shrink: 0; border-left: none; border-bottom: 3px solid transparent; border-radius: 8px 8px 0 0; }
  .proj-list-item.active { border-bottom-color: var(--yellow); background: rgba(245,196,0,0.06); border-left: none; }
  .proj-panel { overflow: visible; }
  .proj-photos { width: calc(100vw - 12vw); max-width: 100%; }
  .proj-photo-placeholder { flex: 0 0 75vw; width: 75vw; height: 52vw; max-height: 220px; }
  .proj-photo { flex: 0 0 75vw; width: 75vw; height: 52vw; max-height: 220px; }

  .contacto-layout { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .contacto-form { padding: 1.5rem; }

  .wa-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .wa-float svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 1rem; }
  .bat-options { gap: 6px; }
  .bat-btn { padding: 7px 11px; font-size: 0.78rem; }
}
