/* ========================================================== */
/* ESTILOS GERAIS E RESET                                     */
/* ========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #fff;
}

/* ========================================================== */
/* HEADER E MENU                                              */
/* ========================================================== */
.header {
    position: relative;
    background: url("./uploads/background-header.png") no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-bar {
position: fixed; /* <-- MUDOU para fixo */
top: 0; /* <-- ADICIONADO para colar no topo */
left: 0; /* <-- ADICIONADO para alinhar à esquerda */
 width: 100%; /* <-- ADICIONADO para ocupar toda a largura */
 z-index: 100; /* Aumentado para garantir que fique sobre tudo */
background-color: rgba(0, 0, 0, 0.6);
 padding: 10px 40px;
 display: flex;
 align-items: center;
justify-content: space-between;
}

.logo {
    height: 50px;
}

.menu-desktop {
    display: flex;
    gap: 30px;
    align-items: center;
}

.menu-desktop a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 18px;
}

.menu-desktop a:hover {
    color: #F7C600;
}

.btn-acesso {
    border: 2px solid #F7C600;
    padding: 8px 15px;
    border-radius: 30px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}

    .header-content { /* <<< É ESTA REGRA QUE VOCÊ VAI MUDAR */
        flex-direction: column;
        text-align: center;
        align-items: center;
        justify-content: flex-start;
        padding: 20% 20px 0; /* Mantida a sua alteração para subir o texto */
    }


.text-box {
    max-width: 600px;
    text-align: left;
}

.text-box h1 {
    color: #F7C600;
    font-size: 56px;
    margin-bottom: 20px;
}

.text-box p {
    font-size: 22px;
    line-height: 1.5;
}

.empty-box {
    flex: 1;
}

.header-buttons-mobile {
    display: none;
}

.mobile-menu-icon {
    display: none;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.97);
    z-index: 999;
    transition: left 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-header .logo {
    height: 40px;
}

.close-btn {
    font-size: 30px;
    color: white;
    cursor: pointer;
}

.mobile-nav-links {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav-links a {
    text-decoration: none;
    color: white;
    font-size: 22px;
    font-weight: 500;
    border-left: 3px solid transparent;
    padding-left: 10px;
    transition: all 0.3s;
}

.mobile-nav-links a:hover {
    border-left: 3px solid #F7C600;
    color: #F7C600;
}

.mobile-nav-links .btn-acesso {
    border: 2px solid #F7C600;
    padding: 10px 15px;
    border-radius: 30px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}


/* ========================================================== */
/* NOVA SEÇÃO DE PLANOS (COM FILTRO)                          */
/* ========================================================== */
.planos-section {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
    background-color: #ffffff;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    color: black;
    font-weight: 600;
    text-align: center;
}

.section-title span {
    color: #1017C7;
}

.filter-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

#region-filter {
    padding: 10px 18px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #ffffff;
    cursor: pointer;
    min-width: 250px;
}

.plan-viewer {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.slider-container {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
}

.plan-cards-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 1;
}

.plan-cards-wrapper.fading {
    opacity: 0;
}

.plan-cards-wrapper .plan-card {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 0 5px;
    transition: transform 0.3s ease;
}

.plan-cards-wrapper .plan-card:hover {
    transform: scale(1.03);
}

.plan-cards-wrapper .plan-card img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: none;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(16, 23, 199, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-arrow.prev {
    left: -5px;
}

.slider-arrow.next {
    right: -5px;
}

.slider-dots {
    text-align: center;
    padding: 20px 0;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #d1d1d1;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #1017C7;
}

/* ========================================================== */
/* SEÇÃO CEP                                                  */
/* ========================================================== */
.section-cep {
    width: 100%;
    aspect-ratio: 2049 / 515;
    background: url('./uploads/background-cep.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    padding-left: 5%;
}

.cep-content {
    max-width: 600px;
}

.cep-content h2 {
    font-size: 2rem;
    line-height: 1.4;
    color: white;
}

.cep-content h2 span {
    color: #ffc107;
}

.cep-form {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cep-form input {
    padding: 12px 16px;
    font-size: 1rem;
    border: 0.5px solid #ffc107;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    width: 220px;
    outline: none;
    transition: background-color 0.3s, border-color 0.3s;
}

.cep-form input::placeholder {
    color: #ccc;
}

.cep-form input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ffcc00;
}

.cep-form button {
    padding: 12px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background-color: #ffc107;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cep-form button:hover {
    background-color: #e0a800;
}

/* ========================================================== */
/* SEÇÃO CONECTA                                              */
/* ========================================================== */
/* CORREÇÃO 1: A seção original volta a ser visível por padrão */
.section-conecta {
    width: 100%;
    aspect-ratio: 2391 / 691;
    background: url('./uploads/background-conecta.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    padding-left: 15%;
}

.conecta-content {
    max-width: 600px;
}

.conecta-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0041ff;
    margin-bottom: 10px;
}

.conecta-content p {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #0041ff;
    margin-bottom: 25px;
}

.btn-conecta {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    border: 2px solid #0041ff;
    background: transparent;
    color: #0041ff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-conecta:hover {
    background-color: #0041ff;
    color: white;
}

/* CORREÇÃO 2: O banner mobile fica escondido por padrão (desktop) */
.conecta-mobile-banner {
    display: none; 
    cursor: pointer;
}

.conecta-mobile-banner img {
    width: 100%;
    height: auto;
    display: block;
}


/* ========================================================== */
/* SEÇÃO "QUEM SOMOS"                                         */
/* ========================================================== */
.quemsomos-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2391 / 814;
    background-color: #000000;
}

.quemsomos-background {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: url('./uploads/background-quemsomos.png') no-repeat center center;
    background-size: cover;
}

.section-quemsomos {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 40px 8%;
}

.section-quemsomos::before {
    content: '“';
    font-family: Georgia, 'Times New Roman', serif;
    position: absolute;
    z-index: 3;
    font-size: 8rem;
    font-weight: 800;
    color: white;
    opacity: 0.9;
    line-height: 1;
    top: 60px;
    right: 48%;
}

.section-quemsomos::after {
    content: '”';
    font-family: Georgia, 'Times New Roman', serif;
    position: absolute;
    z-index: 3;
    font-size: 8rem;
    font-weight: 800;
    color: white;
    opacity: 0.9;
    line-height: 1;
    bottom: 0px;
    right: 8%;
}

.quemsomos-content {
    max-width: 45%;
    color: white;
    position: relative;
    max-height: 100%;
    overflow-y: auto;
    padding: 20px 40px 20px 20px;
}

.quemsomos-title-mobile {
    display: none;
}

.quemsomos-content p {
    font-size: 1.3rem;
    line-height: 1.7;
    text-align: left;
}

.quemsomos-content::-webkit-scrollbar {
    width: 8px;
}

.quemsomos-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.quemsomos-content::-webkit-scrollbar-thumb {
    background-color: #ffc107;
    border-radius: 4px;
    border: 2px solid transparent;
    background-clip: content-box;
}

.quemsomos-content::-webkit-scrollbar-thumb:hover {
    background-color: #0A0F98;
}

/* ========================================================== */
/* SEÇÃO DE CANAIS DE ATENDIMENTO                             */
/* ========================================================== */
.atendimento-section {
    background-color: #fff;
    padding: 80px 20px;
    color: #333;
}

.atendimento-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.atendimento-texto {
    flex-basis: 30%;
}

.atendimento-texto h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #000;
    line-height: 1.2;
    margin-bottom: 20px;
}

.atendimento-texto p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.atendimento-grid {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.atendimento-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background-color: #fff;
    border: 3px solid #F7C600;
    border-radius: 24px;
    aspect-ratio: 1 / 1;
    text-align: center;
    text-decoration: none;
    color: #1017C7;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease-in-out;
}

.atendimento-card svg {
    stroke: currentColor;
}

.atendimento-card:hover {
    background-color: #1017C7;
    color: #F7C600;
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(16, 23, 199, 0.25);
}

/* ========================================================== */
/* FOOTER (RODAPÉ)                                            */
/* ========================================================== */
footer {
    background: linear-gradient(to left, #000002, #010072); /* Alterado para 'to left' */
    color: #ffffff;
    padding-top: 40px;
    font-family: 'Poppins', sans-serif;
}

footer .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 20px 20px;
}

.footer-column {
    margin: 10px 20px;
    min-width: 200px;

}

.logo-column {
    flex-basis: 100%;
    max-width: 250px;
}

.logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
}

.social-icons a {
    margin-right: 12px;
}

.social-icons .icon {
    width: 32px;
    height: 32px;
    transition: transform 0.2s;
}

.social-icons .icon:hover {
    transform: scale(1.1);
}

.footer-column h3 {
    font-size: 1.1em;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ffc400;
    display: inline-block;
}

.info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.95em;
    line-height: 1.5;
}

.info i {
    font-size: 1.2em;
    margin-right: 10px;
    margin-top: 4px;
    color: #ffc400;
}

.copyright {
    background-color: #F7C600;
    text-align: center;
    padding: 15px 10px;
}

.copyright p {
    margin: 0;
    font-size: 0.8em;
    color: #1017C7;
    font-weight: bold;
}

footer .info span {
    overflow-wrap: break-word;
    word-wrap: break-word; /* Compatibilidade com navegadores mais antigos */
}

/* ========================================================== */
/* MEDIA QUERIES (ESTILOS RESPONSIVOS)                        */
/* ========================================================== */

/* Para tablets e desktops menores */
@media (min-width: 769px) {
    footer .container {
        justify-content: space-between;
    }

    .footer-column {
        flex: 1;
        margin: 10px;
    }

    .logo-column {
        flex-basis: auto;
        margin-right: 40px;
    }

    .footer-column:nth-of-type(2),
    .footer-column:nth-of-type(3),
    .footer-column:nth-of-type(4),
    .footer-column:nth-of-type(5) {
        flex: 1;
        min-width: 180px;
    }

    .footer-column.logo-column + .footer-column {
        margin-left: 0;
    }

    #ticbot-popup {
        width: 400px;
        height: 70vh;
        max-height: 600px;
        right: -400px;
        bottom: 30px;
        top: auto;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    }

    #ticbot-popup.open {
        right: 30px;
    }

    #ticbot-fab {
        bottom: 30px;
        right: 30px;
    }
}

/* Para tablets na vertical e alguns celulares na horizontal */
@media (max-width: 992px) {
    .atendimento-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .atendimento-grid {
        width: 100%;
    }
}

/* Unificação dos layouts de desktop para planos */
@media (min-width: 992px) {
    .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .section-title {
        text-align: left;
        font-size: 2.5rem;
        margin-bottom: 0;
    }

    .filter-container {
        margin-top: 0;
    }

    .plan-viewer {
        padding: 0;
    }
    
    .slider-container {
        width: 100%;
        max-width: none;
        overflow: visible;
    }

    .plan-cards-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
        transform: none !important;
    }

    .plan-cards-wrapper .plan-card {
        flex: 1 1 280px;
        max-width: 300px;
        padding: 0;
    }

    .slider-arrow, .slider-dots {
        display: none;
    }
}


/* Para celulares (breakpoint principal) */
@media (max-width: 768px) {
    /* --- Header Responsivo --- */
    .header {
        background: url("./uploads/background_mobile_oficial_1538x2158.png") no-repeat center bottom;
        background-size: cover;
        background-color: #000;
        height: auto;
        aspect-ratio: 1538 / 2158;
    }

    .menu-desktop {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

.header-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: flex-start;
    padding: 20% 20px 0;
    padding-top: 120px; /* ADICIONE APENAS ESTA LINHA */
}

    .text-box {
        max-width: 100%;
        text-align: center;
    }

    .text-box h1 {
        font-size: 44px;
        color: #F7C12A;
        text-transform: uppercase;
    }

    .text-box p {
        font-size: 18px;
        color: #FFFFDA;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }

    .empty-box {
        display: none;
    }

    .header-buttons-mobile {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
        margin-top: 30px;
        width: 100%;
    }

    .header-buttons-mobile a {
        display: block;
        flex: 1;
        max-width: 180px;
    }

    .header-buttons-mobile a img {
        width: 100%;
        height: auto;
    }

    /* --- Seções CEP e Conecta Responsivo --- */
    .section-cep {
        padding: 40px 20px;
        justify-content: center;
        text-align: center;
        aspect-ratio: auto;
        height: auto;
    }
    
    /* CORREÇÃO 3: Aqui escondemos a seção de texto SÓ NO MOBILE */
    .section-conecta {
        display: none;
    }
    
    /* CORREÇÃO 4: E aqui mostramos o banner SÓ NO MOBILE */
    .conecta-mobile-banner {
        display: block;
    }

    .cep-content h2 {
        font-size: 1.5rem;
    }

    .cep-form {
        flex-direction: column;
        align-items: center;
    }

    .cep-form input,
    .cep-form button {
        width: 100%;
        max-width: 320px;
    }

    /* --- Seção "Quem Somos" Responsivo --- */
    .quemsomos-wrapper {
      aspect-ratio: auto;
      background: url('./uploads/quem_somos_mg.png') no-repeat center center;
      background-size: cover;
    }

    .quemsomos-background {
        display: none;
    }

    .section-quemsomos {
        position: static;
        height: auto;
        flex-direction: column;
        justify-content: center;
        padding: 60px 20px;
        text-align: center;
    }

    .section-quemsomos::before,
    .section-quemsomos::after {
        display: none;
    }

    .quemsomos-title-mobile {
        display: block;
        color: white;
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 25px;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
    }

    .quemsomos-content {
        max-width: 100%;
        padding: 0;
        max-height: none;
        overflow-y: visible;
    }

    .quemsomos-content p {
        font-size: 1rem;
        text-align: center;
        color: #ffffff;
    }

    /* --- Seção de Atendimento Responsivo --- */
    .atendimento-texto h2 {
        font-size: 2.2rem;
    }

    .atendimento-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .atendimento-card:last-child {
        grid-column: 2 / 3;
    }

    /* --- Footer Responsivo --- */
    footer .container {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 30px;
    }

    .footer-column {
        margin: 20px 0 0 0;
    }

    .logo-column {
        margin-top: 0;
    }

    .footer-column h3 {
        font-size: 1.2em;
    }
    
    /* CEP Resultado Responsivo */
    .cep-resultado {
        margin: 15px 0;
        padding: 15px;
    }

    .cep-resultado h3 {
        font-size: 1.1rem;
    }

    .cep-resultado p {
        font-size: 0.9rem;
    }

    .btn-whatsapp-cep {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    /* Links Legais Responsivo */
    .legal-links {
        gap: 15px;
        margin-top: 15px;
    }

    .legal-links a {
        font-size: 0.75em;
    }
}

/* Para celulares menores */
@media (max-width: 576px) {
    /* --- Seção de Atendimento Responsivo --- */
    .atendimento-section {
        padding: 60px 20px;
    }

    .atendimento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .atendimento-card:last-child {
        grid-column: auto;
    }

    .atendimento-card {
        border-radius: 16px;
        gap: 10px;
        padding: 15px;
    }

    .atendimento-card svg {
        width: 36px;
        height: 36px;
    }
}

/* Para telas de celulares muito pequenas */
@media (max-width: 480px) {
    #ticbot-fab {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .ticbot-header h2 {
        font-size: 1.5em;
    }
    .ticbot-header h2 img {
        width: 35px;
        height: 35px;
    }
    #ticbot-close-btn {
        font-size: 2em;
    }
    .message {
        padding: 10px 15px;
        font-size: 0.9em;
    }
    #ticbot-input {
        padding: 10px 12px;
        font-size: 0.9em;
    }
    #ticbot-send-btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}


/* ========================================================== */
/* ESTILOS PARA RESULTADO DA CONSULTA DE CEP                  */
/* ========================================================== */
.cep-resultado {
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cep-disponivel {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border: 2px solid #4CAF50;
}

.cep-talvez {
    background: linear-gradient(135deg, #FF9800, #f57c00);
    color: white;
    border: 2px solid #FF9800;
}

.cep-nao_disponivel {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    border: 2px solid #f44336;
}

.cep-error {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    border: 2px solid #f44336;
}

.cep-loading {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    border: 2px solid #2196F3;
}

.cep-resultado h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.cep-resultado p {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.cep-info {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 15px !important;
}

.btn-whatsapp-cep {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    margin-top: 10px;
    transition: all 0.3s ease;
    border: 2px solid #25D366;
}

.btn-whatsapp-cep:hover {
    background-color: #1DA851;
    border-color: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.cep-loading .spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.cep-loading p {
    margin: 0;
    font-weight: 500;
}


/* ========================================================== */
/* ESTILOS PARA LINKS LEGAIS NO FOOTER                        */
/* ========================================================== */
.legal-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.legal-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.8em;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}


/* ========================================================== */
/* ESTILOS DO TICBOT (MELHORADO)                              */
/* ========================================================== */

#ticbot-fab {
    position: fixed; 
    bottom: 30px;
    right: 30px;
    background-color: #0A0F98;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 30px;
}

#ticbot-fab img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

#ticbot-fab:hover {
    background-color: #F7C600;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

#ticbot-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 400px;
    max-height: 600px;
    height: 80vh;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
}

#ticbot-popup.open {
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 600px) {
    #ticbot-popup {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.ticbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #0A0F98;
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.ticbot-header h2 {
    margin: 0;
    font-size: 1.6em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticbot-header h2 img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

#ticbot-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2.2em;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

#ticbot-close-btn:hover {
    color: #F7C600;
}

.ticbot-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    scroll-behavior: smooth;
}

.message {
    max-width: 80%;
    padding: 12px 18px;
    border-radius: 20px;
    line-height: 1.5;
    word-wrap: break-word;
}

.user-message {
    background-color: #F7C600;
    color: #333;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.ticbot-message {
    background-color: #3A3F7A;
    color: white;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.ticbot-message.loading {
    background-color: #555;
    font-style: italic;
    opacity: 0.8;
}

.ticbot-input-area {
    display: flex;
    padding: 15px 20px;
    background-color: #0A0F98;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

#ticbot-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 25px;
    outline: none;
    font-size: 1em;
    background-color: #1a1f9e;
    color: white;
    margin-right: 10px;
}

#ticbot-input::placeholder {
    color: #ccc;
}

#ticbot-send-btn {
    background-color: #F7C600;
    color: #333;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

#ticbot-send-btn:hover {
    background-color: #e0a800;
    transform: translateY(-1px);
}
