:root {
  --bg: #f4fcff;
  --surface: #ffffff;
  --surface-2: #e7f8ff;
  --text: #000000;
  --muted: #000000;
  --line: #caecfb;
  --primary: #00B0F0;
  --primary-dark: #0083b8;
  --primary-deep: #3d3d3d;
  --accent: #7cdfff;
  --shadow: 0 18px 48px rgba(0, 113, 156, 0.12);
  --container: 1180px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 45px;}
body { 
  font-family: 'Nunito', Arial, Helvetica, sans-serif; 
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); 
  color: var(--text); 
  line-height: 1.6; 
  padding-bottom: 50px !important; /* Espaço para a barra fina não cobrir o conteúdo */
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
a:hover { color: var(--primary); text-decoration: none; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; position: relative; }
.section { padding: 76px 0; }
.section-title { font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1.08; letter-spacing: -0.045em; margin-bottom: 14px; }
.section-subtitle { max-width: 100%; color: var(--muted); font-size: 1.05rem; }
.extra-space { margin-top: 12px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 800; color: var(--primary-deep); background: rgba(0,176,240,0.09); border: 1px solid rgba(0,176,240,0.16); padding: 10px 14px; border-radius: 999px; margin-bottom: 16px; }
.header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.90); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(202,236,251,.92); }
.nav { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-box { width: 495px; height: 114px; display: flex; align-items: center; justify-content: flex-start; overflow: hidden; background: transparent; border: 0; }
.logo-box img { width: 100%; max-height: 100%; object-fit: contain; object-position: left center; }
.nav-links { display: flex; align-items: center; gap: 10px; color: #2f4d61; font-weight: 800; }
.nav-link { padding: 10px 14px; border-radius: 12px; transition: .25s ease; }
.nav-link:hover, .nav-link.active { color: var(--primary-deep); background: rgba(0,176,240,0.12); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent; font-weight: 800; transition: .25s ease; cursor: pointer; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 14px 28px rgba(0,176,240,0.24); }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.03); }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line); background: #fff; font-size: 1.35rem; cursor: pointer; }

/* ======================================================= */
/* MENU MOBILE FLUTUANTE (APENAS A CAIXA VISÍVEL)          */
/* ======================================================= */
.mobile-menu { 
  display: none; 
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  padding: 8px 0 0 0;
  background: transparent;
  z-index: 1001;
  pointer-events: none; /* Impede que a área transparente bloqueie o conteúdo abaixo */
}
.mobile-menu.active { display: block; }

.menu-panel { 
  pointer-events: auto; /* Mantém as interações ativas apenas dentro da caixa do menu */
  border: 1px solid var(--line); 
  background: #fff; 
  border-radius: 20px; 
  padding: 12px; 
  box-shadow: var(--shadow);
  width: 88%; 
  max-width: 320px; 
  margin: 0 0 0 auto; /* Alinhado à direita */
}
.menu-panel nav { display: grid; gap: 4px; margin-bottom: 8px; }
.mobile-actions { display: grid; gap: 6px; }
.mobile-actions .btn { min-height: 44px; }
.nav-link-mobile { padding: 8px 12px; border-radius: 10px; font-weight: 700; line-height: 1.25; }
.nav-link-mobile:hover, .nav-link-mobile.active { color: var(--primary-deep); background: rgba(0,176,240,0.12); }

/* ======================================================= */
/* BLOCO INICIAL (HERO) REORGANIZADO E COMPACTO           */
/* ======================================================= */
.hero { padding: 30px 0 42px; }
.hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px; align-items: start; }
.hero-copy { padding-top: 8px; }
.hero h1 { font-size: clamp(2.6rem, 4vw, 3.2rem); line-height: .97; letter-spacing: -0.06em; max-width: 12ch; margin-bottom: 10px; }
.hero-lead { font-size: 1.1rem; font-weight: 800; color: var(--primary-deep) !important; margin-bottom: 12px !important; line-height: 1.35 !important; }
.hero p { color: var(--muted); font-size: 1.02rem; max-width: 100%; margin-bottom: 12px; line-height: 1.4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; margin-bottom: 16px; color: #315467; font-size: 0.95rem; font-weight: 700; }
.hero-points span { display: inline-flex; align-items: flex-start; line-height: 1.35; }
.hero-points span::before { content: "•"; color: var(--primary); margin-right: 8px; flex-shrink: 0; }

.hero-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery-card { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.gallery-card.wide { grid-column: span 2; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card.wide img { aspect-ratio: 16 / 7; }
.gallery-card:not(.wide) img { aspect-ratio: 16 / 10; }
.panel, .service-card, .feature-card, .cta-box, .faq-item, .about-text, .about-photo-small { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow); }
.service-grid, .feature-grid, .about-grid-compact, .contact-grid { display: grid; gap: 20px; }
.service-grid { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.service-card, .feature-card { padding: 28px; }
.service-card:hover, .feature-card:hover { transform: translateY(-5px); transition: .25s ease; }
.icon-badge { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0,176,240,.12), rgba(0,176,240,.28)); color: var(--primary-deep); font-weight: 900; margin-bottom: 18px; overflow: hidden; }
.service-card h3, .feature-card h3, .about-text h3 { font-size: 1.22rem; letter-spacing: -0.03em; margin-bottom: 10px; }
.service-card p, .feature-card p, .about-text p, .faq-answer p { color: var(--muted); }
.service-card ul { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.service-card li { position: relative; padding-left: 18px; color: #315467; font-size: 0.96rem; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 999px; background: var(--primary); }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 26px; align-items: start; }
.copy-top { padding-top: 6px; }
.process { display: grid; gap: 16px; padding: 24px; }
.process-media { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }
.process-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.process-item { display: grid; grid-template-columns: 58px 1fr; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.process-number { width: 46px; height: 46px; border-radius: 14px; background: rgba(0,176,240,.12); color: var(--primary-deep); display: grid; place-items: center; font-weight: 800; }
.feature-grid { grid-template-columns: repeat(3, 1fr); margin-top: 34px; }
.feature-grid-two { grid-template-columns: repeat(2, 1fr); }
.feature-card img.feature-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); margin-bottom: 18px; }
.about-wrap { margin-top: 30px; }
.about-grid-compact { grid-template-columns: 180px 1fr; align-items: start; }
.about-photo-small { width: 180px; height: 240px; overflow: hidden; }
.about-photo-small img { width: 100%; height: 100%; object-fit: cover; }
.about-text.compact { padding: 26px; }
.about-list { display: grid; gap: 12px; margin-top: 6px; }
.about-list div { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.9); }
.dot { width: 10px; height: 10px; border-radius: 999px; background: var(--primary); margin-top: 8px; flex-shrink: 0; }
.faq { margin-top: 32px; display: grid; gap: 14px; }
.faq-item { overflow: hidden; }
.faq-question { width: 100%; padding: 20px 22px; background: #fff; border: 0; display: flex; justify-content: space-between; align-items: center; text-align: left; font: inherit; font-weight: 800; color: var(--text); cursor: pointer; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer p { padding: 0 22px 22px; }
.faq-item.active .faq-answer { max-height: 280px; }
.cta-box { padding: 34px; background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 140%); color: white; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-box p { color: rgba(255,255,255,.9); margin-top: 10px; max-width: 100%; }
.cta-title { color: white; margin-bottom: 0; }
.contact-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 22px; }
.contact-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 800; transition: .25s ease; }
.contact-item:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.contact-item img { width: 26px; height: 26px; object-fit: contain; }
.contact-side { display: flex; align-items: center; justify-content: center; }

/* ======================================================= */
/* CONFIGURAÇÃO DA TARJA FIXA E REDUZIDA NO RODAPÉ         */
/* ======================================================= */
.footer { padding: 0; }
.footer-bar { 
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 999 !important;
  background: #bfe1ee !important; 
  margin-top: 0 !important;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08) !important;
  text-align: center !important;
}
.footer-bar-inner { 
  padding: 5px 0 !important; /* Tarja mais fina */
}
.footer-bar p { 
  color: #035686 !important; 
  line-height: 1.3 !important; 
  font-size: 0.82rem !important; /* Tipografia reduzida */
  text-align: center !important; 
}
.footer-bar p:first-child { font-weight: 800; }
.footer-bar p + p { margin-top: 2px !important; }

@media (max-width: 1160px) { .logo-box { width: 290px; height: 68px; } .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1024px) { .hero-grid, .split, .service-grid, .about-grid-compact, .cta-box { grid-template-columns: 1fr; } .feature-grid { grid-template-columns: 1fr 1fr; } .hero h1 { max-width: 100%; } .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .about-photo-small { width: 200px; height: 260px; } }

@media (max-width: 860px) {
  .section, section, [id] { scroll-margin-top: 5px; }

  /* Oculta links do topo e botão de contato no celular */
  .nav-links, .nav-actions { display: none !important; }

  /* Reativa o botão do menu com texto e traços lado a lado */
  .menu-toggle { 
    display: inline-flex !important; 
    align-items: center; 
    justify-content: center;
    gap: 8px; 
    width: auto !important; 
    height: auto !important;
    padding: 8px 14px !important; 
    border-radius: 12px !important;
    border: 1px solid var(--line) !important;
    background: #fff !important;
    color: var(--primary-deep) !important;
    cursor: pointer;
    z-index: 2;
  }

  .menu-toggle .menu-text {
    font-size: 0.95rem;
    font-weight: 800;
  }

  .menu-toggle .menu-icon {
    font-size: 1.2rem;
    line-height: 1;
  }

  /* Alinha a nav com a logo centralizada e o menu à direita */
  .nav { 
    position: relative;
    flex-direction: row !important; 
    align-items: center !important; 
    justify-content: flex-end !important; 
    padding: 12px 0 !important; 
    min-height: 75px !important; 
  }

  /* Centraliza perfeitamente a logomarca no mobile */
  .logo { 
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
  }
/* alterar o tamanho logo no height */
  .logo-box { 
    width: auto !important; 
    height: 80px !important; 
    justify-content: center !important; 
    overflow: visible !important; 
  }
/* alterar o tamanho logo no height igual ao logo-box */
  .logo-box img { 
    transform: none !important; 
    max-height: 80px !important; 
  }

  .section { padding: 66px 0; }
  .hero { padding-top: 10px; }
}

@media (max-width: 640px) { 
  .hero-copy { padding-top: 0; } 
  .gallery-card.wide { grid-column: span 1; } 
  .hero-gallery { grid-template-columns: 1fr; } 
  .service-card, .feature-card, .about-text, .cta-box, .process { padding: 22px; } 
  .feature-grid, .feature-grid-two, .contact-grid { grid-template-columns: 1fr; } 
  .process-item { grid-template-columns: 1fr; } 
  .about-grid-compact { grid-template-columns: 1fr; } 
  .about-photo-small { width: 150px; height: 200px; } 
  .contact-side { justify-content: flex-start; } 
}

.header { position: sticky; top: 0; z-index: 1000; }
.faq-question span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(0,176,240,.10);
  color: var(--primary-deep);
  font-size: 1.15rem;
  font-weight: 900;
  margin-left: 12px;
  flex-shrink: 0;
}

/* ======================================================= */
/* ===== INÍCIO: BOTÃO WHATSAPP COM ONDA SUTIL (RADAR) ===== */
/* ======================================================= */

@keyframes whatsapp-radar {
  0% {
    transform: scale(1);
    opacity: 0.8;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    opacity: 0.35;
  }
  100% {
    transform: scale(1.22);
    opacity: 0;
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  position: fixed !important;
  width: 60px !important;
  height: 60px !important;
  bottom: 50px !important;
  right: 20px !important;
  background-color: #25d366 !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  text-align: center !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  transition: transform 0.3s ease, background-color 0.3s ease !important;
}

.whatsapp-float::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  border-radius: 50% !important;
  background: rgba(37, 211, 102, 0.5) !important;
  z-index: -1 !important;
  animation: whatsapp-radar 2.4s infinite ease-out !important;
}

.whatsapp-float::after {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  border-radius: 50% !important;
  background: rgba(37, 211, 102, 0.5) !important;
  z-index: -1 !important;
  animation: whatsapp-radar 2.4s infinite ease-out !important;
  animation-delay: 1.2s !important;
}

.whatsapp-float:hover {
  transform: scale(1.08) !important;
  background-color: #20ba5a !important;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
  animation: none !important;
}

.whatsapp-icon {
  width: 35px !important;
  height: 35px !important;
  max-width: 35px !important;
  max-height: 35px !important;
  fill: #ffffff !important;
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
}
/* ======================================================= */
/* ===== FIM: BOTÃO WHATSAPP ===== */
/* ======================================================= */