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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: #3a4a5a;
    background-color: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   CONTAINER E LAYOUT
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER E NAVEGAÇÃO
   ============================================ */
.header {
    background-color: #1a3a52;
    color: #ffffff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-list a {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2d7a5e;
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a:focus::after {
    width: 100%;
}

/* ============================================
   SEÇÕES GERAIS
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: #f4f6f8;
    background-image: url('../assets/pattern.png');
    background-repeat: repeat;
    background-size: 200px;
}

.section h2 {
    font-size: 2rem;
    color: #1a3a52;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #2c5f7f;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-block {
    margin-bottom: 3rem;
}

.content-block h3 {
    font-size: 1.5rem;
    color: #1a3a52;
    margin-bottom: 1rem;
}

.content-block p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.styled-list {
    list-style: none;
    padding-left: 0;
}

.styled-list li {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.styled-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #2d7a5e;
    font-weight: bold;
}

/* ============================================
   HERO (SEÇÃO 1)
   ============================================ */
.hero {
    background: linear-gradient(135deg, #1a3a52 0%, #2c5f7f 100%);
    color: #ffffff;
    padding: 5rem 0;
}

.risk-table table {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.risk-table thead {
    background-color: #ffffff;
    color: #1a3a52;
}

.risk-table th {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.risk-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.risk-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.risk-table strong {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #e8eaed;
}

.hero-text p {
    font-size: 1.125rem;
    line-height: 1.8;
}

.hero-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.risk-table {
    margin-top: 3rem;
}

.risk-table h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cta-subtle {
    margin-top: 3rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid #2d7a5e;
}

.cta-subtle p {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* ============================================
   TABELAS
   ============================================ */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background-color: #1a3a52;
    color: #ffffff;
}

th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

td {
    padding: 1rem;
    border-bottom: 1px solid #e8eaed;
    font-size: 1rem;
}

tbody tr:hover {
    background-color: #f4f6f8;
}

tbody tr:last-child td {
    border-bottom: none;
}

.table-note {
    font-style: italic;
    color: #8a9aa8;
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

/* ============================================
   DRE STRUCTURE
   ============================================ */
.dre-structure {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin: 2rem 0;
}

.dre-structure ol {
    list-style: none;
    counter-reset: dre-counter;
}

.dre-structure li {
    counter-increment: dre-counter;
    padding: 0.75rem 0;
    font-size: 1.125rem;
    border-bottom: 1px solid #e8eaed;
}

.dre-structure li:last-child {
    border-bottom: none;
}

.dre-structure li::before {
    content: counter(dre-counter) ". ";
    font-weight: 600;
    color: #2c5f7f;
    margin-right: 0.5rem;
}

/* ============================================
   INDICADORES (SEÇÃO 4)
   ============================================ */
.indicator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.indicator-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #2d7a5e;
}

.indicator-card h4 {
    font-size: 1.25rem;
    color: #1a3a52;
    margin-bottom: 0.75rem;
}

.indicator-card .formula {
    font-family: 'Courier New', monospace;
    background-color: #f4f6f8;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: #2c5f7f;
}

.indicator-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* ============================================
   SERVICES GRID (SEÇÃO 5)
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1a3a52;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1.125rem;
    line-height: 1.7;
}

/* ============================================
   CREDIBILITY GRID (SEÇÃO 7)
   ============================================ */
.credibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.credibility-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #2d7a5e;
}

.credibility-card h3 {
    font-size: 1.25rem;
    color: #1a3a52;
    margin-bottom: 1rem;
}

.credibility-card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* ============================================
   FAQ (SEÇÃO 8)
   ============================================ */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #ffffff;
    margin-bottom: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a3a52;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f4f6f8;
}

.faq-icon {
    font-size: 1.5rem;
    color: #2d7a5e;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #3a4a5a;
}

/* ============================================
   CONTATO (SEÇÃO 9)
   ============================================ */
.section-contact {
    background: linear-gradient(135deg, #f4f6f8 0%, #e8eaed 100%);
}

.contact-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-form-container {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1a3a52;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e8eaed;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5f7f;
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: #d97941;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background-color: #c66835;
    transform: translateY(-2px);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    font-size: 1rem;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.contact-info {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-size: 1.5rem;
    color: #1a3a52;
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item strong {
    display: block;
    color: #2c5f7f;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.info-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #3a4a5a;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #1a3a52;
    color: #ffffff;
    padding: 2rem 0 1rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-info {
    opacity: 0.7;
}

.footer-info p {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-links a {
    font-size: 0.875rem;
    color: #ffffff;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-links span {
    opacity: 0.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1a3a52;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-list.active {
        max-height: 500px;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list a {
        display: block;
        padding: 1rem 20px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section h2 {
        font-size: 1.75rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .indicator-grid,
    .services-grid,
    .credibility-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    table {
        font-size: 0.875rem;
    }
    
    th, td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .logo-text {
        font-size: 1rem;
    }
}
