/* --- Estilos para a Página de Serviços --- */

/* 1. Estilo para o contêiner dos cards de serviço */
#box-service {
    display: grid;
    /* Cria um grid responsivo: tenta encaixar colunas de no mínimo 280px */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    /* Espaçamento entre os cards */
    margin-top: 40px;
}

/* 2. Estilo para cada card de serviço ("botão") */
.box {
    background-color: #f8f8f8;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: center;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 3. Estilo para o card ATIVO (selecionado) */
.box.active {
    border-color: #0d5d50;
    /* Sua cor principal */
    box-shadow: 0 10px 20px rgba(13, 93, 80, 0.15);
    transform: translateY(-5px);
}

/* --- CORREÇÃO DOS SVGs --- */

/* 4. Corrige o TAMANHO do SVG */
.box-txt svg {
    width: 60px;
    /* Largura fixa */
    height: 60px;
    /* Altura fixa */
    margin-bottom: 20px;
}

/* 5. Corrige a COR do SVG */
.box-txt svg path {
    fill: #0d5d50;
    /* Pinta o SVG com sua cor principal */
}

/* Estilos para os textos dentro do card */
.box-txt h3 {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.box-txt p {
    color: #666;
    font-size: 1em;
    line-height: 1.5;
}

.box-info {
    margin-top: 20px;
    font-weight: bold;
    color: #6fae75;
    /* Sua cor secundária */
}

/* 6. Estilo para a DIV DE INFORMAÇÃO que aparece */
#info-container {
    margin-top: 30px;
}

.info-hidden {
    background-color: #f9f9f9;
    border-left: 5px solid #6fae75;
    /* Sua cor secundária */
    padding: 30px;
    border-radius: 0 8px 8px 0;
    line-height: 1.8;
    /* A exibição (display) é controlada pelo JavaScript */
}

.info-hidden p {
    margin-bottom: 1em;
}

.info-hidden-button {
    margin-top: 25px;
}

.info-hidden-button a {
    background-color: var(--cor-principal);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.info-hidden-button a:hover {
    background-color: #1a7a6b;
}



/*----------------------------TREINAMENTOS----------------------------*/
/* Geral do SVG */
.trainings-icon {
    width: 90px;
    height: 90px;
}

/* Losango */
.trainings-polygon {
    fill: #FFD700;
    stroke: black;
    stroke-width: 0.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Texto superior (NR) */
.trainings-text-top {
    font-size: 3.5px;
    font-family: Arial, sans-serif;
    font-weight: 600;
    fill: black;
}

/* Texto inferior (35) */
.trainings-text-bottom {
    font-size: 5px;
    font-family: Arial, sans-serif;
    font-weight: 600;
    fill: black;
}



.svg-service {
    stroke: white;
    width: 90px;
    height: 90px;
    margin-bottom: 10px;
    stroke: var(--cor-principal);
    fill: none;
}


/* --- Estilos para Páginas Internas (como para-colaboradores) --- */

.hero-banner-internal {
    background-color: #0d5d50;
    color: white;
    text-align: center;
    padding: 80px 20px;
    border-radius: 0px;
    box-shadow: inset 0 5px 10px -5px rgba(0, 0, 0, 0.5);
}

.hero-banner-internal h1 {
    font-size: 3em;
    margin-bottom: 15px;
}

.hero-banner-internal p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.benefits-section {
    padding: 80px 0;
    background-color: white;

}

.section-title {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;


}

.benefit-item {
    text-align: center;
    padding: 30px;
    background-color: #f8f8f8;
    border-radius: 10PX;
}

.benefit-item i {
    font-size: 3.5em;
    color: #6fae75;
    /* Cor secundária */
    margin-bottom: 25px;
}

.benefit-item h3 {
    font-size: 1.5em;
    color: #0d5d50;
    /* Cor principal */
    margin-bottom: 15px;
}

.cta-section {
    text-align: center;
    padding: 80px 20px;
    background-color: white;
}

.cta-section h2 {
    font-size: 2.5em;
    color: white;
    margin-bottom: 15px;
}

.cta-section p {
    color: white;
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto 30px auto;
}


/* Formulários */
.fieldset-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;

}

.admin-form fieldset {
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    background-color: white;
    width: 95%;
}

.admin-form legend {
    font-weight: bold;
    font-size: 1.5em;
    padding: 0 10px;
    color: #0d5d50;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;

}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #555;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #6fae75;
    outline: none;
    box-shadow: 0 0 0 2px rgba(111, 174, 117, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
    color: #777;
}

.form-actions {
    margin-top: 30px;
    border-top: 1px solid #e0e0e0;
    padding: 25px;
    display: flex;
    gap: 15px;
}

.favicon-atual-config {
    margin-top: 10px;

}

.favicon-atual-config img {
    background-color: rgb(39, 174, 96, 0.3);
    border-radius: 5px;
}

.btn {
    padding: 10px 20px;
    text-decoration: none;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background-color: #6fae75;
    color: white;

}

.btn-secondary {
    background-color: #7f8c8d;
}



/* Adicione este código ao seu doc/style.css */

.feature-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: #6fae75;
    margin-right: 10px;
    font-size: 1.1em;
    margin-top: 20px;
}

.features-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.feature-item-alt {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-icon-alt {
    font-size: 3em;
    color: #0d5d50;
    /* Cor principal */
}

.feature-text-alt h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.testimonials-section {

    padding: 80px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background-color: #f4f7f6;
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid #6fae75;
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.testimonial-item cite {
    font-weight: bold;
    color: #0d5d50;
}

.faq-section {
    padding: 80px 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
}

.faq-question::after {
    content: '\f078';
    /* Ícone de seta para baixo do Font Awesome */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding: 0 10px 20px 10px;
}

.final-cta {
    background-color: #0d5d50;
    border-radius: 0;
    /* Para ocupar a largura toda no final */
    margin-bottom: 0px;
}

.btn-call-to-action {
    margin-top: 40px;
}


/* --- Estilos para o Popup (Modal) de Serviços --- */

/* 1. O fundo escuro que cobre a tela (overlay) */
.modal-overlay {
    position: fixed;
    /* Fica fixo na tela, mesmo com scroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Cor preta com 70% de opacidade */
    display: none;
    /* COMEÇA ESCONDIDO */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    /* Garante que fique na frente de tudo */
    padding: 20px;
    box-sizing: border-box;
}

/* Classe que será adicionada via JS para mostrar o modal */
.modal-overlay.visible {
    display: flex;
}

/* 2. A caixa de diálogo branca no centro (o popup em si) */
.modal-content {
    background-color: white;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    /* Necessário para posicionar o botão de fechar */
    max-width: 700px;
    /* Largura máxima */
    width: 100%;
    max-height: 90vh;
    /* Altura máxima de 90% da tela */
    overflow-y: auto;
    /* Adiciona scroll se o conteúdo for muito grande */
}

/* 3. O botão de fechar (X) no canto superior direito */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.5em;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 0;
}

.modal-close:hover {
    color: #333;
}

/* 4. Estilos para o conteúdo dentro do popup */
#modal-titulo {
    font-size: 2em;
    color: var(--cor-principal);
    /* Usando sua cor principal */
    margin-top: 0;
    margin-bottom: 20px;
}

#modal-descricao {
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.modal-footer {
    text-align: right;
    /* Alinha o botão à direita */
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* Estilo do botão de orçamento dentro do popup */
#modal-link {
    background-color: var(--cor-principal);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    /* Para o padding funcionar corretamente */
    transition: background-color 0.3s ease;
}

#modal-link:hover {
    background-color: #1a7a6b;
    /* Um tom um pouco mais escuro da sua cor principal */
}

/* ====== COMPARISON SECTION ====== */
.comparison-section {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

.comparison-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ddd;
}

.comparison-table th {
    background-color: var(--cor-principal);
    /* Cor institucional escura */
    color: #fff;
    font-weight: 600;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    background-color: #f4f4f4;
}

.text-success {
    color: #28a745;
    /* Verde */
    font-size: 20px;
}

.text-danger {
    color: #dc3545;
    /* Vermelho */
    font-size: 20px;
}

/* ====== HOW IT WORKS SECTION ====== */
.how-it-works-section {
    background-color: #fff;
    padding: 60px 20px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-item {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.step-item i {
    font-size: 36px;
    color: var(--cor-principal);
    /* Cor destaque */
    margin-bottom: 15px;
}

.step-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #e3f5e6;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    min-width: 150px;
    transition: transform 0.3s ease;
}

.badge-item:hover {
    transform: translateY(-3px);
}

.badge-item i {
    font-size: 32px;
    color: var(--cor-principal);
    /* Azul institucional */
    margin-bottom: 8px;
}

.badge-item span {
    font-size: 14px;
    color: #333;
    text-align: center;
    font-weight: 500;
}