/* style.css - versão ajustada para remover fresta no footer/cta */

/*TROCA DE CONTADOR

/* Reset útil */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
}

/* ===== HERO ===== */
.hero {
  padding: 40px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.60)),
    url("../tela-inicial/tela/trocar.png") center/cover no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  max-height: 450px;
}

.hero-content h1 {
  font-size: 3.6rem;
  font-weight: 800;
  color:#eaeaea;
  margin-bottom: 30px;
}

.hero-content{
  margin-top: 45px;
}

.hero-content h2 {
  font-size: 1.6rem;
  font-weight: 400;
  color: #eaeaea;
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 520px;
  color: #d7d7d7;
  margin-bottom: 25px;
}

/* BOTÕES */
.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-hero {
  padding: 14px 34px;
  background: #2f69ff;
  color: #fff;
  font-size: 1.15rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  margin-top: 20px;
}

.btn-hero:hover {
  background: #1e50dd;
  transform: translateY(-3px);
}

.btn-outline1{
  padding: 14px 34px;
  background: #46c02e;
  color: #fff;
  font-size: 1.15rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  margin-top: 20px;
}

.btn-outline1:hover {
  background:#349b1f;
  transform: translateY(-3px);
}

/* btn-outline (usar apenas 1 definição) */
.btn-outline {
  padding: 12px 28px;
  border: 2px solid #012a64;
  border-radius: 40px;
  color: #012a64;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

.btn-outline:hover {
  background: #012a64;
  color: #fff;
}

/* NAV */
.nav-menu {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  padding-left: 2px;
}

.nav-link {
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: white;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;
  backdrop-filter: blur(6px);
}

.nav-link:hover {
  background: rgba(10, 108, 255, 0.938);
  transform: translateY(-3px);
}

body {
  background-color:#eaeaea;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* evita overflow horizontal */
}


.faq-title {
    text-align: center;
    color: rgb(0, 66, 151);
    font-size: 2.5rem;
    margin-top: 60px;
}

.faq-title span {
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.8;
}


.faq-container {
  width: 95%;
  max-width: 1300px;
  margin: 50px auto;
  background: #021327;
  padding: 40px;
  border-radius: 20px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 18px 25px;
  margin-bottom: 18px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.13);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: white;
  font-size: 1.3rem;
  text-align: left;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: "⌄";
  font-size: 1.4rem;
  transition: 0.3s ease;
  opacity: 0.9;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: #d9e6ff;
  font-size: 1.1rem;
  line-height: 1.6;
  padding-right: 10px;
  transition: max-height 0.45s ease, opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  opacity: 1;
  margin-top: 12px;
}

.faq-item.active .faq-question::after {
  transform: rotate(180deg);
  opacity: 1;
}



/* BOTÃO FLUTUANTE */
.chat-floating-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height:55px;
  background: #1A73E8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 6px 25px rgba(0,0,0,0.25);
  transition: .2s;
  margin-top: 23px;
}
.chat-floating-btn img { width: 32px; }
.chat-floating-btn:hover { transform: scale(1.12); }

 /* =========================
   MODAL PADRÃO (DESKTOP)
========================= */

.chat-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9998;
}

.chat-modal {
  display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45); /* fundo escuro igual contabilizei */
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 40px;
}

.chat-modal-content {
  background: #fff;
  width: 95%;
    max-width: 980px;        /* 🔥 MAIS LARGO */
    max-height: 90vh;        /* 🔥 NUNCA MAIS CORTA NADA */
    overflow-y: auto;        /* 🔥 SCROLL INTERNO SE PRECISAR */
    border-radius: 22px;
    padding: 40px;
    display: flex;
    gap: 50px;
    position: relative;
    animation: fadeIn .25s ease-out;
    align-content:center;
}

/* barra azul superior */
.chat-modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 5px;
  width: 100%;
  background: #1A73E8;
  
}

/* COLUNA ESQUERDA */
.chat-left {
    width: 38%;
}

/* IMAGEM */
.chat-image {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* TITULO */
.chat-left h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1A3A6D;
    margin: 15px 0 10px 0;
}

/* TEXTO */
.chat-left p {
    color: #4b5563;
    font-size: 16px;
}

/* FORM */
.chat-form {
    width: 62%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-form input {
    padding: 13px 14px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #d9e3ef;
    font-size: 15px;
    transition: .2s;
}

.chat-form input:focus {
    outline: none;
    border-color: #1A73E8;
    box-shadow: 0 0 0 3px rgba(26,115,232,0.20);
}

/* BOTÕES */
.chat-buttons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

/* BOTÃO FECHAR */
.chat-close {
    position: absolute;
    right: 20px;
    top: 18px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #f7faff;
}

.btn-enviar {
    width: 100%;
    padding: 14px;
    background: #1A73E8;
    color: white;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: .2s;
}

.btn-enviar:hover {
    background: #1558b3;
}

/* ===== CTA AREA (fixa) - CORREÇÃO =====
   Evitar width:100vw e transform:center que causam overflow/scrollbar issues */
.cta-area {
  position: fixed;
  bottom: 0;
  left: 0;                /* preencher desde a borda esquerda */
  right: 0;               /* até a borda direita */
  width: 100%;            /* usar 100% em vez de 100vw */
  background: #ffffff;
  padding: 18px 40px;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
  z-index: 9999;
  display: flex;
  justify-content: center;
  gap: 60px;
  transition: transform .35s ease, opacity .35s ease;
}

/* conteúdo interno centralizado com padding lateral para espaçamento
   e evitar que itens encostem nas arestas em telas pequenas */
.cta-area .container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 60px;
  align-items: center;
  padding: 0 20px;
}

.cta-item { display: flex; align-items: center; gap: 15px; padding: 0 40px; }
.cta-icon { width: 35px; height: 35px; }
.cta-item h4 { margin: 0; font-size: 16px; color: #012a64; font-weight: 600; }
.cta-item p { margin: 0; font-size: 14px; color: #4c4c4c; }

.btn-filled {
  padding: 12px 30px;
  background: #00f6ff;
  border-radius: 40px;
  color: #012a64;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}
.btn-filled:hover { opacity: 0.85; }

.floating-btn { position: fixed; bottom: 25px; right: 25px; width: 60px; height: 60px; background: #012a64; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0px 4px 10px rgba(0,0,0,0.3); transition: 0.3s; }
.floating-btn:hover { transform: scale(1.05); }
.floating-btn img { width: 26px; filter: brightness(1000%); }

.cta-area.hide { transform: translateY(120%); opacity: 0; pointer-events: none; }

/* ============================
   FOOTER DESKTOP (acima de 768px)
============================ */

/* FOOTER */
.contato-footer {
  width: 100%;
  padding: 50px 0;
  background: #021327;
  border-top: 4px solid #0040ff;
  z-index: 1;
}

/* Container SEM centralização - DESKTOP */
.container-footer {
  display: block;
 
  padding-left: 120px; /* Aumentei para mais espaço */
  color: #ffffff;
  width: 100%;
  box-sizing: border-box;
  position:relative;
}

/* Coluna única ocupando toda a largura */
.col-footer {
  display: block;
  width: 100%;
  max-width: none;
}

.col-footer h3 {
  color: #ffffff;
  margin-bottom: 15px;
  font-size: 1.3rem;
  font-weight: 600;
  text-align: left;
}

.col-footer p {
  color: #c8d6ff;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: left;
}

.copy {
color: #b5c6ff;
  font-size: 0.9rem;
  position: absolute; /* Posicionamento absoluto */
  right: 60px; /* Distância da borda direita */
  top: 85px; /* Ajuste fino para alinhar com "12º andar" */
  text-align: right;
  margin: 0;
}
/* ============================
   MOBILE (max-width: 768px)
============================ */
@media (max-width: 768px) {

  .hero {
    padding: 20px;
    background-attachment: scroll;
  }
  .hero-content {
    margin-top: 10px;
    text-align: left;
  }
  .hero-content h1 { 
    font-size: 28px; 
    line-height: 1.02; 
    margin-bottom: 8px; 
  }
  .hero-content h2 { 
    font-size: 25px; 
    margin-bottom: 10px; 
    color: #e6eefc; 
  }
  .hero-content p { 
    font-size: 17px; 
    color: #d6dff6; 
    max-width: 100%; 
  }

  /* --- Botões hero --- */
  .hero-buttons { 
    flex-direction: column; 
    gap: 12px; 
    align-items: stretch; 
    margin-top: 12px; 
  }
  .hero-buttons .btn-hero,
  .hero-buttons .btn-outline1 {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 26px;
    box-shadow: 0 8px 24px rgba(15,23,42,0.08);
  }

  /* --- Nav --- */
  .nav-menu { 
    gap: 10px; 
    padding: 8px 10px; 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
  }
  .nav-link { 
    white-space: nowrap; 
    padding: 8px 12px; 
    font-size: 13px; 
  }

  /* --- FAQ --- */
  .faq-container {
    width: calc(100% - 28px) !important;
    margin: 16px auto !important;
    padding: 14px !important;
    border-radius: 12px !important;
  }

  /* --- CTA --- */
  .cta-area,
  .cta-area * {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  :root { --cta-height: 0px; }
  body { padding-bottom: 0 !important; }

  /* --- Chat flutuante --- */
  .chat-floating-btn {
    display: flex !important;
    pointer-events: auto !important;
    right: 14px !important;
    bottom: 18px !important;
    width: 52px !important;
    height: 52px !important;
    z-index: 11000 !important;
  }

  /* --- Modal chat --- */
  .chat-modal {
    display: none;
    position: fixed;
    inset: 0;
    padding: 12px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
  }

  .chat-modal-content {
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.35);
    box-sizing: border-box;
    position: relative;
  }

  .chat-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f1f5f9;
    color: #1e293b;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .chat-left {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
  }

  .chat-left h3 {
    margin: 6px 0;
    font-size: 1.05rem;
    line-height: 1.25;
    color: #21304a;
    font-weight: 700;
  }

  .chat-left p {
    margin: 6px 0;
    font-size: 15px;
    line-height: 1.25;
    color: #21304a;
    font-weight: 400;
  }

  .chat-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    overflow-y: auto;
    max-height: calc(90vh - 120px);
    padding: 0;
  }

  .chat-form label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #21304a;
    margin-top: 4px;
  }

  .chat-form input,
  .chat-form textarea,
  .chat-form select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(30,41,59,0.08);
    background: #fff;
    box-sizing: border-box;
    font-size: 0.95rem;
  }

  .chat-buttons {
    margin-top: 6px;
    display: flex;
    gap: 8px;
  }

  .btn-enviar {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    background: #1263f0;
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
  }

  .chat-modal.open {
    display: flex !important;
  }

 /* RESET completo do footer para mobile */
  .contato-footer {
    all: initial !important; /* Reseta tudo */
    display: block !important;
    padding: 30px 15px !important;
    background: #021327 !important;
    border-top: 4px solid #0040ff !important;
    width: 100% !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .contato-footer .container-footer {
    all: initial !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 auto !important;
    min-height: auto !important;
  }

  .contato-footer .col-footer {
    all: initial !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto 20px auto !important;
    padding: 0 !important;
  }

  .contato-footer .col-footer h3 {
    all: initial !important;
    display: block !important;
    text-align: center !important;
    color: #ffffff !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    margin: 0 auto 15px auto !important;
    padding: 0 !important;
  }

  .contato-footer .col-footer p {
    all: initial !important;
    display: block !important;
    text-align: center !important;
    color: #c8d6ff !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin: 0 auto 10px auto !important;
    padding: 0 !important;
    max-width: 90% !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  /* Telefone e email em negrito */
  .contato-footer .col-footer p strong {
    display: inline-block !important;
    color: #ffffff !important;
    font-weight: 700 !important;
  }

  /* Copyright - centralizado */
  .contato-footer .copy {
    all: initial !important;
    display: block !important;
    text-align: center !important;
    color: #b5c6ff !important;
    font-size: 0.85rem !important;
    margin: 20px auto 0 auto !important;
    padding: 15px 0 0 0 !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    width: 100% !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
  }

  /* Remove qualquer posição absoluta do desktop */
  .contato-footer * {
    position: static !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
  }
 
  /* fallback: initial body padding */
  body { 
    padding-bottom: calc(var(--cta-height, 120px) + 20px); 
  }
  
} /* ⬅ AQUI FECHA O @media CORRETAMENTE */