/* Módulo: páginas e templates internos. */

/* =========================================
   PÁGINA DE AVALIAÇÃO DE CLIENTES (COLUNA ÚNICA)
========================================= */
.feedback-hero {
    background: linear-gradient(135deg, #020b14 0%, #0a1f35 100%);
    padding: 120px 5% 100px;
    text-align: center;
}

.feedback-hero h1 {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

.feedback-hero p {
    color: #93c5fd;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* O Cartão Centralizado */
.feedback-container-single {
    max-width: 750px;
    /* Largura perfeita para formulários */
    margin: -60px auto 80px;
    background: #ffffff;
    padding: 60px 70px;
    position: relative;
    z-index: 10;
}

/* Introdução acima do formulário */
.feedback-intro-centered {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
}

.feedback-intro-centered h3 {
    font-size: 1.5rem;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feedback-intro-centered p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

/* Formulário Chique e Reto */
.feedback-form-single label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feedback-form-single input[type="text"],
.feedback-form-single input[type="email"],
.feedback-form-single textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background-color: #f8fafc;
    color: #0f172a;
    font-size: 1rem;
    margin-bottom: 25px;
    transition: all 0.3s;
}

.feedback-form-single input:focus,
.feedback-form-single textarea:focus {
    outline: none;
    border-color: #005a9c;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.1);
}

.feedback-form-single textarea {
    resize: vertical;
    min-height: 140px;
}

.feedback-form-single input[type="submit"] {
    background-color: #0f172a;
    color: #ffffff;
    border: none;
    padding: 18px 35px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    transition: background 0.3s, transform 0.2s;
}

.feedback-form-single input[type="submit"]:hover {
    background-color: #005a9c;
    transform: translateY(-2px);
}

/* Rodapé discreto no final do cartão */
.feedback-footer-info {
    margin-top: 30px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

.feedback-footer-info strong {
    color: #0f172a;
}

@media (max-width: 768px) {
    .feedback-container-single {
        padding: 40px 30px;
        margin: -40px 20px 60px;
    }
}

/* =========================================
   RÉGUA DE NÚMEROS (PRIMING) E DROPDOWN
========================================= */
.feedback-metrics-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 25px 20px;
    margin-bottom: 40px;
    text-align: center;
}
.feedback-metric {
    position: relative;
}
/* Linha divisória entre os números */
.feedback-metric:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: #cbd5e1;
}
.feedback-metric h4 {
    font-size: 1.8rem;
    color: #005a9c;
    font-weight: 900;
    margin-bottom: 5px;
    letter-spacing: -1px;
}
.feedback-metric p {
    font-size: 0.75rem;
    color: #475569;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 0;
}

/* Estilo elegante para o Menu Suspenso (Dropdown) */
.feedback-form-single select {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background-color: #f8fafc;
    color: #0f172a;
    font-size: 1rem;
    margin-bottom: 25px;
    cursor: pointer;
    transition: all 0.3s;
}
.feedback-form-single select:focus {
    outline: none;
    border-color: #005a9c;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.1);
}

@media (max-width: 650px) {
    .feedback-metrics-bar { grid-template-columns: 1fr; gap: 25px; }
    .feedback-metric:not(:last-child)::after { display: none; }
}













/* =========================================
   9. AJUSTES DE COMPONENTES/TEMPLATES INTERNOS
========================================= */

.compliance-subtitle {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* =========================================
   10. PÁGINA 404
========================================= */
.error-wrapper {
    font-family: inherit;
    background-color: #f1f5f9;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}

.error-card {
    background: #ffffff;
    border-top: 5px solid #0f172a;
    max-width: 700px;
    width: 100%;
    padding: 70px 80px;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 0;
    letter-spacing: -5px;
    position: relative;
}

.error-code::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: #005a9c;
}

.error-title {
    font-size: 2rem;
    color: #0f172a;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 40px 0 15px;
}

.error-text {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 40px;
    text-align: center;
    padding: 0 10%;
}

.error-resgate-h4 {
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    text-align: center;
}

.error-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

.btn-error-sober {
    background-color: transparent;
    color: #0f172a;
    padding: 15px 25px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #0f172a;
    border-radius: 4px;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-error-sober:hover {
    background-color: #0f172a;
    color: #ffffff;
}

/* =========================================
   11. CANAL DE DENÚNCIAS
========================================= */
.compliance-wrapper {
    font-family: inherit;
    background-color: #f8fafc;
    color: #1e293b;
    padding-bottom: 100px;
}

.compliance-header {
    background-color: #0f172a;
    padding: 130px 20px 70px;
    text-align: center;
    border-bottom: 4px solid #3b82f6;
}

.compliance-tag {
    display: inline-block;
    color: #ff3333;
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 15px;
}

.compliance-header h1 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.compliance-header p {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.compliance-container {
    max-width: 900px;
    margin: -30px auto 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    position: relative;
    z-index: 10;
}

.compliance-section {
    padding: 50px 60px;
    border-bottom: 1px solid #e2e8f0;
}

.compliance-section:last-child {
    border-bottom: none;
}

.compliance-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.policy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.policy-box {
    background: #f1f5f9;
    border-left: 3px solid #0f172a;
    padding: 25px;
    height: 100%;
    border-radius: 4px;
}

.policy-box h4 {
    color: #0f172a;
    font-size: 1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.policy-box p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.infraction-list {
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    padding-left: 20px;
}

.infraction-list li {
    margin-bottom: 8px;
}

.infraction-list strong {
    color: #0f172a;
}

.governance-box {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 20px 25px;
    border-left: 4px solid #3b82f6;
    border-radius: 4px;
}

.governance-box p {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.governance-box strong {
    color: #0f172a;
    font-weight: 700;
}

.cf7-clean-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cf7-clean-form .form-hint {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: -5px;
    margin-bottom: 10px;
}

.cf7-clean-form input[type="text"],
.cf7-clean-form input[type="email"],
.cf7-clean-form select,
.cf7-clean-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background-color: #f8fafc;
    color: #0f172a;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 30px;
    transition: all 0.2s ease;
}

.cf7-clean-form input:focus,
.cf7-clean-form select:focus,
.cf7-clean-form textarea:focus {
    outline: none;
    border-color: #0f172a;
    background-color: #ffffff;
    box-shadow: 0 0 0 1px #0f172a;
}

.cf7-clean-form .anon-box {
    border: 1px solid #e2e8f0;
    padding: 35px;
    margin-bottom: 30px;
    background: #ffffff;
    border-radius: 4px;
}

.cf7-clean-form .anon-box h4 {
    font-size: 1rem;
    color: #0f172a;
    margin-bottom: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cf7-clean-form .anon-box .anon-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 25px;
}

.cf7-clean-form .term-box {
    margin-bottom: 30px;
}

.cf7-clean-form .wpcf7-list-item {
    margin: 0;
}

.cf7-clean-form .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 0.9rem;
    color: #475569;
    font-weight: 400;
    line-height: 1.5;
}

.cf7-clean-form input[type="submit"] {
    background-color: #0f172a;
    color: #ffffff;
    border: none;
    padding: 18px 30px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
    border-radius: 4px;
}

.cf7-clean-form input[type="submit"]:hover {
    background-color: #1e293b;
}

/* =========================================
   ESG PAGE UPGRADE
========================================= */
.corporate-esg-wrapper {
    font-family: inherit;
    background: linear-gradient(180deg, #f4f7f6 0%, #eef3f7 100%);
    color: #1e293b;
    padding: 90px 20px 110px;
}

.esg-container {
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.esg-report-header {
    padding: 70px 80px 55px;
    border-bottom: 1px solid #e2e8f0;
    background:
        linear-gradient(135deg, rgba(5,22,38,0.98) 0%, rgba(10,39,66,0.96) 100%);
}

.esg-kicker {
    color: #93c5fd;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    margin-bottom: 14px;
}

.esg-report-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.8px;
    line-height: 1.1;
    margin-bottom: 18px;
    text-transform: none;
}

.esg-report-subtitle {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.82);
    line-height: 1.8;
    max-width: 900px;
    margin: 0;
    padding-left: 20px;
    border-left: 3px solid #3b82f6;
}

.esg-summary-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.esg-summary-item {
    padding: 30px 28px;
    border-right: 1px solid #e2e8f0;
}

.esg-summary-item:last-child {
    border-right: none;
}

.esg-summary-item h2 {
    font-size: 1rem;
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 800;
}

.esg-summary-item p {
    color: #475569;
    font-size: 0.96rem;
    line-height: 1.7;
    margin: 0;
}

.esg-section {
    padding: 55px 80px;
    border-bottom: 1px solid #f1f5f9;
}

.esg-section:last-child {
    border-bottom: none;
}

.esg-section-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.esg-letter {
    font-size: 3.4rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    opacity: 0.12;
    min-width: 40px;
}

.esg-section h2 {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: 0.3px;
    margin: 0 0 6px;
    text-transform: none;
}

.esg-section-label {
    color: #005a9c;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.esg-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
}

.esg-content-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.025);
}

.esg-content-block h4 {
    font-size: 1rem;
    color: #005a9c;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.esg-content-block p {
    font-size: 1rem;
    color: #334155;
    line-height: 1.85;
    margin: 0;
    text-align: left;
}

.esg-commitments-section {
    padding: 55px 80px;
    background: #f8fafc;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
}

.esg-commitments-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 28px;
}

.esg-commitments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.esg-commitment-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.esg-commitment-card span {
    font-size: 1.3rem;
    font-weight: 900;
    color: #005a9c;
    line-height: 1;
    min-width: 34px;
}

.esg-commitment-card p {
    margin: 0;
    color: #334155;
    line-height: 1.7;
    font-size: 0.98rem;
}

.esg-report-footer {
    background-color: #ffffff;
    padding: 55px 80px 65px;
    text-align: center;
}

.esg-report-footer p {
    font-size: 1rem;
    color: #475569;
    margin: 0 auto 28px;
    max-width: 820px;
    line-height: 1.8;
}

@media (max-width: 900px) {
    .esg-summary-strip,
    .esg-content-grid,
    .esg-commitments-grid {
        grid-template-columns: 1fr;
    }

    .esg-summary-item {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }

    .esg-summary-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .corporate-esg-wrapper {
        padding: 70px 14px 90px;
    }

    .esg-report-header,
    .esg-section,
    .esg-commitments-section,
    .esg-report-footer {
        padding: 38px 24px;
    }

    .esg-section-header {
        gap: 14px;
    }

    .esg-letter {
        font-size: 2.7rem;
    }

    .esg-report-title {
        font-size: 2rem;
    }

    .esg-report-subtitle {
        font-size: 0.98rem;
        padding-left: 14px;
    }
}
/* =========================================
   13. PÁGINAS DE CONFIRMAÇÃO
========================================= */
.thankyou-page {
    background-color: #f1f5f9;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.thankyou-card {
    max-width: 600px;
    width: 100%;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    padding: 60px;
    text-align: center;
}

.thankyou-card--feedback {
    border-top: 4px solid #005a9c;
}

.thankyou-icon-circle {
    width: 80px;
    height: 80px;
    background: #f0fdf4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thankyou-title {
    color: #0f172a;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.thankyou-text {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

.thankyou-button {
    display: inline-block;
    background-color: #0f172a;
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.thankyou-button:hover {
    background-color: #1e293b;
}

.thankyou-footer-note {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #64748b;
}

.protocol-wrapper {
    font-family: inherit;
    background-color: #f4f7f6;
    padding: 80px 20px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.protocol-document {
    background: #ffffff;
    max-width: 800px;
    width: 100%;
    padding: 70px 80px;
    border: 1px solid #d1d5db;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.protocol-header {
    border-bottom: 2px solid #0f172a;
    padding-bottom: 25px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.protocol-icon svg {
    width: 45px;
    height: 45px;
    fill: #0f172a;
}

.protocol-title {
    color: #0f172a;
    font-size: 1.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.protocol-body p {
    color: #333333;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

.protocol-guidelines {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 35px 40px;
    margin-bottom: 40px;
}

.protocol-guidelines h3 {
    color: #0f172a;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.protocol-guidelines ol {
    margin: 0;
    padding-left: 20px;
    color: #444444;
    font-size: 1rem;
    line-height: 1.8;
}

.protocol-guidelines li {
    margin-bottom: 12px;
}

.protocol-action {
    text-align: right;
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
}

.btn-formal-return {
    display: inline-block;
    background-color: #0f172a;
    color: #ffffff;
    padding: 14px 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: background 0.2s;
}

.btn-formal-return:hover {
    background-color: #1e293b;
}

/* =========================================
   14. AJUSTES RESPONSIVOS
========================================= */
@media (max-width: 768px) {
    .error-card {
        padding: 50px 30px;
    }

    .error-code {
        font-size: 6rem;
    }

    .error-text {
        padding: 0;
    }

    .error-actions-grid {
        grid-template-columns: 1fr;
    }

    .policy-grid {
        grid-template-columns: 1fr;
    }

    .protocol-document {
        padding: 40px 30px;
    }

    .protocol-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .protocol-action {
        text-align: left;
    }

    .thankyou-card {
        padding: 40px 30px;
    }
}

