/* ===== RESET & VARIÁVEIS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --azul-escuro: #0A2A5E;
  --azul:        #1565C0;
  --ciano:       #00B4D8;
  --ciano-claro: #90E0EF;
  --agua:        #CAF0F8;
  --branco:      #FFFFFF;
  --cinza-bg:    #F0F7FF;
  --texto:       #0D1B2A;
  --texto-suave: #4A6080;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--texto); background: var(--branco); overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; width: 100%; z-index: 200;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,180,216,0.15);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5vw; height: 68px;
}
.nav-logo img { height: 42px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; font-size: .88rem; font-weight: 500; color: var(--texto-suave); transition: color .2s; }
.nav-links a:hover { color: var(--ciano); }
.nav-demo {
  background: linear-gradient(135deg, var(--ciano), var(--azul));
  color: #fff !important; padding: .5rem 1.3rem; border-radius: 25px;
  font-weight: 700 !important; font-size: .85rem !important;
  box-shadow: 0 4px 14px rgba(0,180,216,.3); transition: opacity .2s !important;
}
.nav-demo:hover { opacity: .88 !important; }
.nav-cliente {
  border: 1.5px solid var(--ciano);
  color: var(--ciano) !important; padding: .45rem 1.1rem; border-radius: 25px;
  font-weight: 600 !important; font-size: .85rem !important;
  transition: all .2s !important;
}
.nav-cliente:hover { background: var(--ciano); color: #fff !important; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.burger span { display: block; width: 24px; height: 2px; background: var(--azul-escuro); border-radius: 2px; }

/* HERO */
#inicio {
  min-height: 100vh;
  background: linear-gradient(135deg, #0A2A5E 0%, #1565C0 50%, #00B4D8 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 100px 5vw 80px; position: relative; overflow: hidden; text-align: center;
}
#inicio::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,180,216,.25) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(0,70,180,.3) 0%, transparent 50%);
}
.hero-badge {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  border-radius: 25px; padding: .4rem 1.1rem;
  font-size: .8rem; font-weight: 600; color: var(--ciano-claro);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-logo { position: relative; z-index: 1; margin-bottom: 1.8rem; }
.hero-logo-img { height: 140px; width: auto; border-radius: 20px; background: rgba(255,255,255,0.12); padding: 14px 36px; backdrop-filter: blur(8px); border: 1.5px solid rgba(255,255,255,0.2); filter: drop-shadow(0 8px 32px rgba(0,180,216,.5)); transition: transform .3s; } .hero-logo-img:hover { transform: scale(1.04); }
#inicio h1 { position: relative; z-index: 1; font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 1rem; max-width: 750px; }
#inicio h1 span { color: var(--ciano-claro); }
#inicio > p { position: relative; z-index: 1; font-size: 1.1rem; color: rgba(255,255,255,.8); max-width: 580px; line-height: 1.7; margin-bottom: 2.5rem; }
.hero-btns { position: relative; z-index: 1; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-wave { position: absolute; bottom: -2px; left: 0; right: 0; }

/* BOTÕES */
.btn-ciano {
  background: var(--ciano); color: var(--azul-escuro);
  padding: .85rem 2rem; border-radius: 30px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  box-shadow: 0 6px 24px rgba(0,180,216,.4);
  transition: transform .2s, box-shadow .2s;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-ciano:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,180,216,.5); }
.btn-outline {
  border: 2px solid rgba(255,255,255,.5); color: #fff;
  padding: .85rem 2rem; border-radius: 30px;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* SEÇÕES */
section { padding: 90px 5vw; }
.label { font-size: .75rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ciano); margin-bottom: .5rem; }
.titulo { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 800; color: var(--azul-escuro); line-height: 1.2; margin-bottom: .8rem; }
.sub { font-size: 1rem; color: var(--texto-suave); max-width: 560px; line-height: 1.7; margin-bottom: 3rem; }

/* SISTEMA */
#sistema { background: var(--cinza-bg); padding: 0; }
.img-full { width: 100%; display: block; }

/* FUNCIONALIDADES */
#funcionalidades { background: var(--branco); }
.func-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.func-card {
  background: var(--cinza-bg); border-radius: 16px; padding: 1.8rem;
  border: 1px solid rgba(0,180,216,.12); transition: box-shadow .25s, transform .25s;
}
.func-card:hover { box-shadow: 0 8px 32px rgba(0,180,216,.15); transform: translateY(-4px); }
.func-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--ciano), var(--azul));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.1rem;
  box-shadow: 0 4px 14px rgba(0,180,216,.3);
}
.func-card h3 { font-size: 1rem; font-weight: 700; color: var(--azul-escuro); margin-bottom: .4rem; }
.func-card p { font-size: .88rem; color: var(--texto-suave); line-height: 1.6; }

/* MOBILE */
#mobile { background: var(--azul-escuro); padding: 0; overflow: hidden; }
.mobile-wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.mobile-img { width: 100%; height: 100%; object-fit: cover; min-height: 500px; }
.mobile-text { padding: 4rem; }
.mobile-text .label { color: var(--ciano-claro); }
.mobile-text .titulo { color: #fff; }
.mobile-text .sub { color: rgba(255,255,255,.7); margin-bottom: 2rem; }
.feat-list { list-style: none; display: flex; flex-direction: column; gap: .9rem; margin-bottom: 2rem; }
.feat-list li { display: flex; align-items: center; gap: .8rem; font-size: .95rem; }
.feat-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ciano); flex-shrink: 0; }

/* SOBRE */
#sobre {
  background: linear-gradient(135deg, var(--cinza-bg) 0%, #e0f4ff 100%);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.sobre-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.stat-box {
  background: #fff; border-radius: 16px; padding: 1.5rem; text-align: center;
  border: 1px solid rgba(0,180,216,.15); box-shadow: 0 4px 16px rgba(0,180,216,.08);
}
.stat-box strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--ciano); line-height: 1; }
.stat-box span { font-size: .82rem; color: var(--texto-suave); margin-top: .3rem; display: block; }

/* PREÇOS */
#precos { background: var(--branco); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.price-card {
  border-radius: 20px; padding: 2rem 1.8rem; border: 2px solid rgba(0,180,216,.15);
  transition: box-shadow .25s; position: relative; overflow: hidden;
}
.price-card.best { background: linear-gradient(135deg, var(--azul-escuro), var(--azul)); border-color: var(--ciano); box-shadow: 0 12px 40px rgba(21,101,192,.3); }
.price-card:not(.best) { background: var(--cinza-bg); }
.price-card:hover { box-shadow: 0 10px 36px rgba(0,180,216,.2); }
.price-ribbon { position: absolute; top: 16px; right: -24px; background: var(--ciano); color: var(--azul-escuro); font-size: .7rem; font-weight: 700; padding: .25rem 2.5rem; transform: rotate(35deg); }
.price-tag { font-size: .75rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ciano); margin-bottom: .8rem; }
.price-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.price-card.best h3 { color: #fff; }
.price-card:not(.best) h3 { color: var(--azul-escuro); }
.price-valor { font-size: 2rem; font-weight: 800; margin: .5rem 0 1.2rem; }
.price-card.best .price-valor { color: var(--ciano-claro); }
.price-card:not(.best) .price-valor { color: var(--azul-escuro); }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1.8rem; }
.price-card ul li { font-size: .88rem; padding-left: 1.3rem; position: relative; }
.price-card.best ul li { color: rgba(255,255,255,.8); }
.price-card:not(.best) ul li { color: var(--texto-suave); }
.price-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--ciano); font-weight: 700; }
.btn-full { display: block; text-align: center; padding: .8rem; border-radius: 25px; font-weight: 700; font-size: .9rem; text-decoration: none; transition: opacity .2s; }
.btn-full:hover { opacity: .85; }
.btn-full-ciano { background: var(--ciano); color: var(--azul-escuro); }
.btn-full-white { background: #fff; color: var(--azul-escuro); }

/* CONTATO */
#contato { background: var(--cinza-bg); display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.c-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.c-icon { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--ciano), var(--azul)); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; box-shadow: 0 4px 14px rgba(0,180,216,.3); }
.c-item-text strong { display: block; font-size: .9rem; font-weight: 700; color: var(--azul-escuro); }
.c-item-text span { font-size: .87rem; color: var(--texto-suave); }
.form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form input, .form textarea, .form select {
  width: 100%; padding: .85rem 1.1rem; border: 1.5px solid rgba(0,180,216,.2); border-radius: 10px;
  font-size: .9rem; font-family: 'Inter', sans-serif; color: var(--texto); background: #fff;
  transition: border-color .2s; resize: none;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--ciano); }
.form textarea { min-height: 120px; }
.btn-enviar {
  background: linear-gradient(135deg, var(--ciano), var(--azul));
  color: #fff; padding: .9rem 2rem; border: none; border-radius: 30px;
  font-size: .95rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,180,216,.35); transition: transform .2s; font-family: 'Inter', sans-serif;
}
.btn-enviar:hover { transform: translateY(-2px); }

/* WA FLOAT */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 300;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: 0 4px 20px rgba(37,211,102,.45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* FOOTER */
footer {
  background: var(--azul-escuro); padding: 2.5rem 5vw;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-logo img { height: 38px; width: auto; border-radius: 6px; background: rgba(255,255,255,.1); padding: 4px 10px; }
footer p { font-size: .82rem; color: rgba(255,255,255,.5); }
footer a { color: var(--ciano-claro); text-decoration: none; }

/* RESPONSIVO */
@media (max-width: 900px) {
  #sobre, #contato { grid-template-columns: 1fr; }
  .mobile-wrap { grid-template-columns: 1fr; }
  .mobile-img { min-height: 300px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: 68px; left: 0; right: 0; background: #fff; padding: 1.5rem 5vw; gap: 1.2rem; box-shadow: 0 8px 24px rgba(0,0,0,.1); }
  .nav-links.open { display: flex; }
  .burger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .mobile-text { padding: 2rem; }
  footer { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
