/* ===============================
   SESSÃO HERO SERVIÇOS
================================ */
.servicos-hero {
    background: 
        linear-gradient(rgba(0,0,0,0.60), rgba(0,0,0,0.60)),
        url("https://images.unsplash.com/photo-1554224155-1696413565d3?auto=format&fit=crop&w=1400&q=80")
        center/cover no-repeat;
    padding: 100px 40px;
    text-align: left; 
    color: #fff;
    background-color: #222935;
    width: 100vw !important;   /* ðŸ‘ˆ garante largura TOTAL */
    max-width: 100% !important;
    margin: 0;
    padding-left: 60px;  /* ajusta a margem do texto */
    box-sizing: border-box;
}

.plano-header.expert h3 {
    color:rgb(4, 93, 226)
}

.servicos-header h1 {
    font-size: 3.6rem;
    font-weight: 800;
    color:#eaeaea;
    padding-top: 30px;
}

.servicos-header p {
    font-size: 1.1rem;
    max-width: 520px;
    margin-top: 20px;   
    color: #d7d7d7;
}

:root {
    --azul-primario: #0047FF;
    --azul-escuro: #002B80;
    --azul-claro: #E8F0FF;

    --cinza-100: #F5F7FB;
    --cinza-200: #EDF1F7;
    --cinza-300: #DCE3F1;
    --cinza-400: #A3AEC2;

    --verde-check: #00C36A;
    --vermelho-x: #FF4A4A;

    --texto-titulo: #1D2A40;
    --texto-normal: #3A4A62;

    --shadow-card: 0px 4px 12px rgba(0, 0, 0, 0.08);
}


/* CONTAINER GERAL */
.planos-container {
    padding: 60px 40px;
    background: var(--cinza-100);
}

/* TABS */
.planos-tabs {
    display: flex;
    gap: 35px;
    margin-bottom: 40px;
}

.tab {
    background: none;
    border: none;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--texto-normal);
    cursor: pointer;
}

.tab.active {
    color: var(--azul-primario);
    border-bottom: 3px solid var(--azul-primario);
    padding-bottom: 5px;
}

/* CARDS */
.planos-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

/* CARD BASE */
.plano-card {
    background: white;
    width: 290px;
    border-radius: 16px;
    border: 1px solid var(--cinza-300);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* CARD DO MEIO DESTACADO */
.plano-card.destaque {
    border: 2px solid var(--azul-primario);
    transform: translateY(-6px);
}

.plano-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 22px 45px rgba(0, 224, 255, 0.25);
    border: 2px solid var(--azul-primario);
    transition: 0.45s ease;
}

/* CABEÃ‡ALHO COM COR */
.plano-header {
    padding: 24px;
    text-align: center;
    background: var(--cinza-200);
}

.plano-card.destaque .plano-header {
    background: var(--azul-claro);
}

/* TITULO */
.plano-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--texto-titulo);
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* SUBTITULO */
.plano-header p {
    font-size: 0.95rem;
    color: var(--texto-normal);
    margin-bottom: 15px;
}

/* PREÃ‡O */
.preco {
    display:block;
    margin: 10px 0;
    font-size: 1.1rem;
    color: var(--texto-titulo);
}

.preco strong {
    font-size: 2.4rem;
    color:#1077ff
   
}

/* DESCRIÃ‡ÃƒO */
.plano-header small {
    font-size: 0.85rem;
    color: var(--texto-normal);
}

/* BOTÃƒO */
.btn-contratar {
    margin: 25px;
    background: var(--azul-primario);
    color: white;
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s;
}

.btn-contratar:hover {
    background: var(--azul-escuro);
}

/* TABELA */
.tabela-comparativa {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: var(--shadow-card);
    border-radius: 12px;
    overflow: hidden;
}

/* TITULO LINHA */
.titulo-row th {
    background: var(--cinza-200);
    color: var(--texto-titulo);
    font-size: 1rem;
    font-weight: 700;
    padding: 12px;
}

/* CELULAS */
.tabela-comparativa td,
.tabela-comparativa th {
    padding: 15px;
    border-bottom: 1px solid var(--cinza-300);
    font-size: 0.95rem;
}

.tabela-comparativa td:first-child {
    color: var(--texto-titulo);
    font-weight: 600;
}

/* CHECK / X */
.check {
    color: var(--verde-check);
    font-size: 1.6rem;
}

.x {
    color: var(--vermelho-x);
    font-size: 1.6rem;
}

/* HEADER SOBRE A IMAGEM */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 40px;
    z-index: 1000;
}

.nav-menu {
    display: flex;
    justify-content: flex-start;  /* Alinha tudo Ã  esquerda */
    gap: 20px;                    /* EspaÃ§amento entre os botÃµes */
    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);
    color:white
}


/* SeÃ§Ã£o inteira ocupando largura total */
.cta-final {
    width: 100%;
    background: linear-gradient(135deg, #00308a, #0044cc);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.cta-wrapper {
    width: 90%;
    max-width: 1300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

/* Texto */
.cta-text h3 {
    color: #00c3ff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.cta-text h2 {
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 800;
}

.cta-text p {
    color: #e6e6e6;
    font-size: 17px;
    line-height: 1.5;
}

/* FormulÃ¡rio */
.cta-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-form input {
    width: 100%;
    padding: 14px;
    border-radius: 6px;
    border: none;
    font-size: 16px;
    background: #eef3ff;
    outline: none;
}

.cta-form button {
    background: rgba(10, 108, 255, 0.938);
    color: #fff;
    padding: 16px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}

.cta-form button:hover {
    background: rgba(63, 140, 255, 0.938);
    transform: translateY(-3px);
}

/* Responsivo */
@media (max-width: 900px) {
    .cta-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-text {
        margin-bottom: 30px;
    }

    .cta-form {
        width: 100%;
    }
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .planos-cards {
        flex-direction: column;
        align-items: center;
    }
    .plano-card {
        width: 95%;
    }
    .tabela-comparativa {
        font-size: 0.8rem;
    }
}

body {
    margin: 0;
    padding: 0;
     background: #eaeaee; 
    font-family: Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* 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);
}

/* OVERLAY */
.chat-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9998;
}

/* FUNDO ESCURECIDO */
.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;
}

/* CONTAINER DO MODAL */
.chat-modal-content {
    background: #ffffff;
    width: 90%;
    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;
    width: 100%;
    height: 5px;
    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 {
    position: fixed;       /* fica presa na tela */
    bottom: 0;             /* fixa no rodapÃ© */
    left: 0;
    width: 100%;           /* ocupa toda a largura */
    background: #ffffff;
    padding: 18px 40px;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08); /* sombra elegante */
    z-index: 9999;
    display: flex;
    justify-content: center;
    gap: 60px;
    transition: transform .35s ease, opacity .35s ease;
}

.cta-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.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;
}

/* BOTÃƒO AZUL BORDA */
.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;
}

/* BOTÃO NEON */
.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;
}

/* BOTÃO FLUTUANTE */
.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-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-top: 3px;
}

.cta-area.hide {
    transform: translateY(120%);
    opacity: 0;
    pointer-events: none;
}



.contato-footer {
    background: #021327; /* azul escuro profissional */
    padding: 50px 0 20px;
    border-top: 8px solid #0040ff; /* borda azul escura + destaque */
    color: #dce7ff; /* texto claro */
    font-family: 'Inter', sans-serif;
}

.container-footer {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.col-footer h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.col-footer p {
    color: #c8d6ff;
    line-height: 1.6;
    margin-bottom: 15px;

}

.col-footer ul {
    list-style: none;
    padding: 0;
}

.col-footer ul li {
    margin-bottom: 8px;
}

.col-footer ul li a {
    color: #c8d6ff;
    text-decoration: none;
    transition: 0.2s;
}

.col-footer ul li a:hover {
    color: #66a3ff;
}

.copy {
    text-align: center;
    margin-top: 40px;
    color: #b5c6ff;
    font-size: 0.9rem;
}

/* === Mobile: hero full-bleed + nav overlay + reexibir botão flutuante === */
@media (max-width: 768px) {

  /* Coloca header sobre a hero (overlay), igual Trocar Contador */
  .hero, .servicos-hero { position: relative !important; }
  .hero > .header,
  .servicos-hero > .header,
  .hero .header,
  .servicos-hero .header {
    position: absolute !important;
    top: 10px !important;        /* ajuste fino: distancia do topo do viewport */
    left: 0 !important;
    right: 0 !important;
    z-index: 1100 !important;
    background: transparent !important;
    padding: 8px 10px !important;
    pointer-events: auto !important;
  }

  /* Remove qualquer margem que empurre a imagem para baixo */
  .header + .servicos-hero,
  .header + .hero,
  .servicos-hero { margin-top: 0 !important; }

  /* Garante que a imagem ocupe o topo (full-bleed) */
  .servicos-hero,
  .hero.servicos-hero {
    background-position: top center !important; /* garante que a parte superior da imagem esteja visível */
    background-size: cover !important;
    padding-top: calc(var(--header-height, 0px) + 12px) !important; /* compensa header se necessário */
  }

  /* Título / texto do hero como Trocar Contador */
  .servicos-header h1 {
font-size: 30px;
  font-weight:500;
  color:#eaeaea;
  margin-top:30px;
  }
  .servicos-header p {
    color: rgba(230,238,252,0.95) !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    margin-bottom: 14px !important;
  }

.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; }

  /* mantém a leitura dos botões do hero */
  .hero-buttons { margin-top: 12px !important; display:flex; flex-direction:column; gap:12px; align-items:center; }
  .hero-buttons .btn-hero, .hero-buttons .btn-outline1 {
    width: 92% !important;
    max-width: 520px !important;
    border-radius: 40px !important;
  }

 .cta-area .cta-item {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* garantir que o container continue ocupando o espaço menor (se necessário) */
  .cta-area {
    pointer-events: none;
    background: transparent;
  }

  /* forçar botão flutuante visível e posicionado corretamente */
  .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;
  }
   /* overlay cobre a tela */
  .chat-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    z-index: 12040;
  }

  /* root do modal */
  .chat-modal {
    display: none; /* o JS controla via classe/inline */
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 12000;
    padding: 12px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
  }

  /* cartão central: empilhado (1 coluna) para todo mobile */
  .chat-modal-content {
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    display: flex;
    flex-direction: column; /* empilha: pergunta acima do formulário */
    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;
  }

  /* botão fechar */
  .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;
  }

  /* LEFT: mostramos só a pergunta (título). escondemos parágrafo e imagem. */
  .chat-left {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center; /* pergunta centralizada para melhor aparência */
  }

  .chat-left h3 {
    margin: 6px 0;
    font-size: 1.05rem;
    line-height: 1.25;
    color: #21304a;
    font-weight: 700;
  }

  /* esconder descrição e imagem para não apertar o layout */
  .chat-left p{
      margin: 6px 0;
    font-size: 15px;
    line-height: 1.25;
    color: #21304a;
    font-weight: 400;
  }

  /* formulário ocupa 100% e rola se necessário */
  .chat-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-sizing: border-box;
    overflow-y: auto;
    max-height: calc(90vh - 120px); /* ajusta espaço para header/fechar */
    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;
  }

  /* garantir que display flex seja aplicado quando abrir (sua classe 'open') */
  .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;
  }
}