@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root{
  --blue-900:#0b3b66;
  --accent:#6b5dd3;
  --muted:#6b7280;
  --soft:#f7fbff;
  --card:#ffffff;
}

/* Reset e base */
*{box-sizing:border-box}
html,body{
  height:100%;
  margin:0;
  font-family:Inter,system-ui,Roboto,Arial;
  background:var(--soft);
  color:#0b2540;
  -webkit-font-smoothing:antialiased;
}

.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
}

/* Cabeçalho */
.site-header{
  position:sticky;
  top:0;
  z-index:140;
  background:rgba(255,255,255,0.7);
  backdrop-filter:blur(6px);
  box-shadow:0 4px 16px rgba(11,59,102,0.06);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 0;
}
.logo{
  height:48px;
  transition:transform .25s ease;
}
.logo:hover{transform:scale(1.03);}
.nav a{
  margin:0 10px;
  color:var(--blue-900);
  text-decoration:none;
  font-weight:600;
  font-size:14px;
}
.whatsapp-fab{
  background:var(--accent);
  color:white;
  padding:10px 12px;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
  font-size:13px;
}

/* Hero */
.hero{
  position:relative;
  overflow:hidden;
  border-radius:12px;
  margin:20px 0;
}
.hero-img{
  width:100%;
  height:280px;
  object-fit:cover;
  display:block;
  filter:contrast(105%);
}
.hero-card{
  position:relative;
  margin-top:-80px;
  background:linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.95));
  padding:20px;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(11,59,102,0.06);
}
.hero-card h1{
  margin:0 0 8px;
  font-size:22px;
}
.btn{
  background:var(--blue-900);
  color:white;
  padding:10px 14px;
  border-radius:10px;
  text-decoration:none;
  display:inline-block;
}

/* Seções */
.section{
  padding:60px 0;
  opacity:0;
  transform:translateY(20px);
  transition:all 0.8s ease-out;
}
.section.visible{
  opacity:1;
  transform:translateY(0);
}

h2{
  margin:6px 0 14px;
  font-size:22px;
  color:var(--blue-900);
}
.muted{
  color:var(--muted);
  font-size:14px;
}

/* Serviços */
.specialties-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:16px;
}
.category-title{
  grid-column:1/-1;
  color:var(--blue-900);
  font-size:18px;
  font-weight:700;
  margin:20px 0 8px;
  padding-bottom:8px;
  border-bottom:2px solid var(--accent);
}
.category-title:first-child{
  margin-top:0;
}
.spec{
  background:var(--card);
  padding:18px;
  border-radius:10px;
  box-shadow:0 6px 18px rgba(11,59,102,0.04);
  text-align:center;
  font-weight:600;
  transition:transform 0.3s ease, box-shadow 0.3s ease;
  cursor:pointer;
}
.spec:hover{
  transform:translateY(-6px);
  box-shadow:0 8px 22px rgba(11,59,102,0.15);
}

/* Equipe */
.team-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px;
  align-items:start;
}
.member{
  background:var(--card);
  padding:12px;
  border-radius:12px;
  display:flex;
  gap:12px;
  align-items:center;
  box-shadow:0 8px 24px rgba(11,59,102,0.04);
  opacity:0;
  transform:translateY(20px);
  transition:all 0.8s ease-out;
}
.member.visible{
  opacity:1;
  transform:translateY(0);
}
.member img{
  width:80px;
  height:80px;
  object-fit:cover;
  border-radius:50%;
  border:4px solid #fff;
  box-shadow:0 6px 18px rgba(11,59,102,0.08);
  transition:transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out, filter 0.4s ease-in-out;
}
.member-info strong{display:block;}
.member-info span{display:block;color:var(--muted);font-size:13px;}

/* 🔍 Zoom intenso + brilho suave */
.team-grid .member:hover img{
  transform:scale(1.25);
  box-shadow:0 8px 32px rgba(11,59,102,0.35);
  filter:brightness(1.08);
  cursor:pointer;
}

/* Formulário */
.form-card{
  background:var(--card);
  padding:16px;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(11,59,102,0.05);
}
.form-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:12px;
}
.form-grid label{display:block;}
.form-grid input,.form-grid select,.form-grid textarea{
  width:100%;
  padding:10px;
  border-radius:8px;
  border:1px solid #e6eef8;
}
.form-actions{
  display:flex;
  gap:12px;
  align-items:center;
  margin-top:12px;
}
.form-status{color:green;font-weight:600;}

/* Tabela */
.signup-table{
  width:100%;
  border-collapse:collapse;
  margin-top:12px;
  font-size:14px;
}
.signup-table th,.signup-table td{
  padding:10px;
  border:1px solid #eef4fb;
  text-align:left;
}
.signup-table thead th{
  background:#f6fbff;
  color:var(--blue-900);
}

/* Mapa */
.map-wrapper{
  width:100%;
  height:320px;
  border-radius:10px;
  overflow:hidden;
  margin-top:12px;
}
.map-wrapper iframe{
  width:100%;
  height:100%;
  border:0;
}

/* Rodapé */
.footer{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:18px 0;
  border-top:1px solid #eef4fb;
  font-size:14px;
}
.footer .lgpd{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid #eef4fb;
  color:var(--muted);
  font-size:13px;
}
.lgpd a{color:var(--blue-700);text-decoration:underline;}

/* Ícones sociais */
.socials{display:flex;gap:10px;align-items:center;}
.social-icon{
  width:36px;
  height:36px;
  object-fit:contain;
  border-radius:6px;
}

/* FAQ */
.faq-list details{
  background:#fff;
  padding:10px;
  border-radius:8px;
  margin-bottom:8px;
  box-shadow:0 6px 18px rgba(11,59,102,0.04);
}
.faq-answer{
  padding:8px 0;
  color:var(--muted);
}

/* Botão flutuante WhatsApp */
.whatsapp-float{
  position:fixed;
  right:18px;
  bottom:18px;
  background:transparent;
  border-radius:50%;
  width:56px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 24px rgba(11,59,102,0.12);
  z-index:200;
}
.whatsapp-float svg{
  width:44px;
  height:44px;
  border-radius:50%;
  background:linear-gradient(180deg,#25D366,#1DA851);
  padding:6px;
}

/* Responsividade */
@media(max-width:680px){
  .hero-img{height:180px;}
  .header-inner{padding:10px;}
  .member{flex-direction:column;align-items:center;text-align:center;}
  .member img{width:96px;height:96px;}
  .nav{display:none;}
  .whatsapp-float{right:12px;bottom:12px;width:52px;height:52px;}
  .whatsapp-float svg{width:40px;height:40px;}
}


/* v14 additions */

/* v14 improvements: mobile menu, fixed CTA, toast styling, input focus */
.menu-toggle{display:none;background:transparent;border:none;font-size:22px;color:var(--blue-900);padding:8px;border-radius:8px}
@media(max-width:780px){
  .menu-toggle{display:block}
  nav#nav{position:fixed;top:60px;right:0;background:white;width:240px;max-width:80%;height:calc(100% - 60px);box-shadow:-8px 0 24px rgba(11,59,102,0.08);transform:translateX(100%);transition:transform .25s ease;padding:20px;display:block}
  nav#nav.active{transform:translateX(0)}
  nav#nav a{display:block;padding:10px 4px;margin:6px 0}
  .hero-img{height:220px}
  .specialties-grid{grid-template-columns:repeat(1,1fr)}
  .form-grid{grid-template-columns:1fr}
}

/* Fixed CTA WhatsApp improved */
.whatsapp-float{right:14px;bottom:14px;width:56px;height:56px}
.whatsapp-fab{box-shadow:0 8px 24px rgba(11,59,102,0.12)}

/* Toast styling (consistent) */
#service-toast{font-family:Inter,system-ui,Roboto,Arial;letter-spacing:0.2px;}

/* Input focus highlight */
.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus{outline:none;box-shadow:0 6px 20px rgba(11,59,102,0.08);border-color:var(--accent);transform:translateY(-1px);transition:all .18s ease}

/* Small performance helpers */
img[loading="lazy"]{will-change:opacity;transition:opacity .25s ease}

.loader {
  display: inline-block;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #004aad;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 1s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
