/* 
* Domain - Auditoria Financeira
* Color Palette:
* - Primary Background: #0C1A1E (deep sea)
* - Accent: #F43F5E (neon pink-red)
* - Secondary: #16A34A (lime green)
* - Text: #F8FAFC (almost white)
* - Section BG: #1E293B and #111827 (alternating)
*/

/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #0C1A1E;
    color: #F8FAFC;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

a {
    text-decoration: none;
    color: #F43F5E;
    transition: all 0.3s ease;
}

a:hover {
    color: #16A34A;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 4rem 0;
}

section:nth-child(odd) {
    background-color: #1E293B;
}

section:nth-child(even) {
    background-color: #111827;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2 span {
    color: #F43F5E;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Header Styles */
header {
    background-color: rgba(12, 26, 30, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(244, 63, 94, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #F8FAFC;
}

.logo span {
    color: #F43F5E;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: #F8FAFC;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.3rem;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #F43F5E;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #F8FAFC;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 10rem 0 6rem;
    text-align: center;
    background-image: linear-gradient(to bottom, rgba(12, 26, 30, 0.9), rgba(12, 26, 30, 0.7)), url('./img/gQ6IxP.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-section h1 span {
    display: block;
    color: #F43F5E;
    font-size: 2.5rem;
    margin-top: 0.5rem;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #F43F5E;
    color: #F8FAFC;
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(244, 63, 94, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #16A34A;
    color: #F8FAFC;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(22, 163, 74, 0.4);
}

.trust-icons {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 2rem;
}

.trust-item {
    text-align: center;
}

.trust-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background-color: rgba(244, 63, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    border: 2px solid rgba(244, 63, 94, 0.5);
    transition: all 0.3s ease;
}

.trust-item:hover .trust-icon {
    background-color: #F43F5E;
    transform: scale(1.1);
}

/* Advantages Section */
.advantages-section {
    padding: 5rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(244, 63, 94, 0.1);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(244, 63, 94, 0.3);
}

/* Services Section */
.services-section {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(244, 63, 94, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(244, 63, 94, 0.3);
}

.service-icon {
    width: 100%;
    height: 150px;
    overflow: hidden;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.05);
}

.service-card h3 {
    margin-top: 1rem;
    color: #F43F5E;
}

.service-card p {
    flex-grow: 1;
}

.service-button {
    display: inline-block;
    background-color: transparent;
    color: #F43F5E;
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    border: 2px solid #F43F5E;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.service-button:hover {
    background-color: #F43F5E;
    color: #F8FAFC;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    text-align: center;
}

.about-section h2 {
    margin-bottom: 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text {
    text-align: left;
}

.about-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.about-image img {
    border-radius: 1rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    height: auto;
}

.about-button {
    display: inline-block;
    background-color: #16A34A;
    color: #F8FAFC;
    padding: 0.7rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.about-button:hover {
    background-color: #F43F5E;
    color: #F8FAFC;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(244, 63, 94, 0.3);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(244, 63, 94, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    border-color: rgba(244, 63, 94, 0.3);
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid #F43F5E;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-content {
    text-align: center;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-content h4 {
    color: #F43F5E;
    margin-bottom: 0.3rem;
}

.testimonial-company {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 0.8rem;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(244, 63, 94, 0.15);
}

.faq-form {
    margin: 0;
    padding: 0;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    color: #F8FAFC;
    transition: all 0.3s ease;
    outline: none;
}

.faq-question:hover {
    background-color: rgba(244, 63, 94, 0.1);
}

.faq-question.active {
    background-color: rgba(244, 63, 94, 0.2);
    border-bottom: 1px solid rgba(244, 63, 94, 0.2);
}

.faq-icon {
    font-size: 1.5rem;
    color: #F43F5E;
    transition: all 0.3s ease;
}

.faq-question:hover .faq-icon {
    transform: scale(1.2);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.1);
}

.faq-answer-content {
    padding: 1.5rem;
    line-height: 1.6;
}

.faq-question.active + .faq-answer {
    max-height: 500px;
}

/* Contact Form Section */
.contact-section {
    padding: 5rem 0;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(244, 63, 94, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
    color: #F8FAFC;
    font-size: 1rem;
}

.form-group select {
    width: 100%;
    padding: 0.8rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(244, 63, 94, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
    color: #F8FAFC;
    font-size: 1rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23F43F5E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #F43F5E;
    box-shadow: 0 0 0 2px rgba(244, 63, 94, 0.3);
}

.form-group select option {
    background-color: #1E293B;
    color: #F8FAFC;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 6px;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(244, 63, 94, 0.5);
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    position: relative;
    vertical-align: middle;
}

.checkbox-group input:checked {
    background-color: #F43F5E;
    border-color: #F43F5E;
}

.checkbox-group input:checked::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 14px;
    top: -2px;
    left: 3px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.9rem;
    flex: 1;
}

.submit-button {
    display: block;
    width: 100%;
    background-color: #F43F5E;
    color: #F8FAFC;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.submit-button:hover {
    background-color: #16A34A;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px rgba(22, 163, 74, 0.4);
}

/* Footer */
footer {
    background-color: #0C1A1E;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(244, 63, 94, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: #F43F5E;
}

.footer-description {
    margin-bottom: 2rem;
}

.footer-contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item span {
    margin-right: 10px;
    color: #F43F5E;
}

.footer-links h3 {
    margin-bottom: 1.5rem;
    color: #F43F5E;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: #1E293B;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(244, 63, 94, 0.3);
    z-index: 9999;
    display: none;
    animation: fadeIn 0.5s ease;
}

.cookie-popup.show {
    display: block;
}

.cookie-popup h3 {
    margin-bottom: 1rem;
    color: #F43F5E;
}

.cookie-popup p {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.cookie-popup button {
    display: inline-block;
    background-color: #F43F5E;
    color: #F8FAFC;
    border: none;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-popup button:hover {
    background-color: #16A34A;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-text {
        order: 1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        background-color: #0C1A1E;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h1 span {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        padding: 8rem 0 4rem;
    }
    
    .trust-icons {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
} 

/* Legal pages padding fix */
.policy-header {
    text-align: center;
    padding: 8rem 0 2rem; /* Increased top padding to fix header overlap */
} 