/* Global Styles */
:root {
    --midnight-teal: #003B46;
    --coral-orange: #FF6B35;
    --ice-mint: #C8F4F9;
    --warm-beige: #F3E9DC;
    --royal-purple: #5D3FD3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--coral-orange);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--midnight-teal);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--midnight-teal);
}

section {
    padding: 80px 0;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    background-color: var(--coral-orange);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: white;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: padding 0.3s ease;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 28px;
    font-weight: 800;
    color: var(--midnight-teal);
    position: relative;
    background: linear-gradient(45deg, var(--midnight-teal), var(--royal-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

.logo a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--coral-orange), var(--royal-purple));
    transition: width 0.3s ease;
}

.logo a:hover::after {
    width: 100%;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    color: var(--midnight-teal);
    font-weight: 600;
    font-size: 16px;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--coral-orange);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--midnight-teal);
    margin-bottom: 5px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 59, 70, 0.9), rgba(93, 63, 211, 0.8)), url('./img/1cpvQH.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, white, transparent);
}

/* About Section */
.about-section {
    background-color: white;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background-color: var(--ice-mint);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-content h2 {
    text-align: center;
    margin-bottom: 40px;
}

.about-flex-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-text {
    flex: 0 0 50%;
    padding-right: 30px;
}

.about-image {
    flex: 0 0 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 10px 10px 0 var(--coral-orange);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: translateY(-5px);
}

/* Services Section */
.services-section {
    background-color: var(--warm-beige);
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, white, var(--warm-beige));
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    margin-bottom: 15px;
}

/* Audit Types Section */
.audit-types-section {
    background-color: white;
    position: relative;
}

.audit-types-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--ice-mint), white);
    z-index: 0;
}

.audit-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.audit-type-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.audit-type-card:hover {
    transform: translateY(-10px);
}

.audit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--midnight-teal), var(--royal-purple));
    color: white;
    font-size: 2rem;
}

/* Process Section */
.process-section {
    background-color: var(--ice-mint);
    position: relative;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    align-items: center;
    position: relative;
}

.step-number {
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--coral-orange), var(--royal-purple));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 30px;
}

.step-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    flex: 1;
}

/* Linha vertical removida */

/* Testimonials Section */
.testimonials-section {
    background-color: white;
}

.testimonials-slider {
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    min-width: 100%;
    padding: 30px;
}

.testimonial-content {
    background-color: var(--warm-beige);
    border-radius: 10px;
    padding: 30px;
    position: relative;
    margin-bottom: 30px;
}

.testimonial-content::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 30px;
    border-width: 20px 20px 0 0;
    border-style: solid;
    border-color: var(--warm-beige) transparent transparent transparent;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    color: #777;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--coral-orange);
}

/* FAQ Section */
.faq-section {
    background-color: var(--warm-beige);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    padding: 16px 20px;
    background-color: var(--midnight-teal);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    color: white;
    font-size: 16px;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: white;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.faq-answer p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

/* Contact Form Section */
.contact-section {
    background: linear-gradient(135deg, white, var(--ice-mint));
    position: relative;
}

.diagonal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, rgba(0, 59, 70, 0.03), rgba(0, 59, 70, 0.03) 10px, transparent 10px, transparent 20px);
    z-index: 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--midnight-teal);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--coral-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-top: 5px;
    margin-right: 10px;
}

.submit-btn {
    width: 100%;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background-color: var(--midnight-teal);
    color: white;
    padding: 15px;
    z-index: 1001;
    transition: all 0.5s ease;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    display: block;
    visibility: visible;
    opacity: 1;
    height: auto;
}

.cookie-consent.show {
    bottom: 0;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    margin-right: 20px;
}

.cookie-content a {
    color: var(--ice-mint);
    text-decoration: underline;
}

#accept-cookies {
    background-color: var(--coral-orange);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#accept-cookies:hover {
    background-color: #ff8557;
}

/* Footer Styles */
.site-footer {
    background-color: var(--midnight-teal);
    color: white;
    padding: 60px 0 30px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--coral-orange);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ddd;
}

.footer-column a:hover {
    color: var(--coral-orange);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #aaa;
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Policy Pages Styles */
.policy-section {
    padding: 120px 0 80px;
    background-color: var(--ice-mint);
}

.policy-header {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.policy-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--midnight-teal), var(--royal-purple));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin-right: 20px;
}

.policy-content {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    /* Removido max-height e overflow para eliminar a rolagem interna */
}

.policy-content h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--midnight-teal);
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-content ul li {
    margin-bottom: 8px;
}

.policy-last-updated {
    margin-top: 40px;
    font-style: italic;
    color: #777;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.cookie-table th, .cookie-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.cookie-table th {
    background-color: var(--ice-mint);
    color: var(--midnight-teal);
}

.cookie-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .about-content {
        flex-direction: column;
    }

    .about-text {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .policy-section {
        padding: 100px 0 60px;
    }
    
    .policy-content {
        padding: 30px 20px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .service-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .process-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .process-step::after {
        left: 50%;
        top: 60px;
        transform: translateX(-50%);
    }

    .testimonial-author {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .form-container {
        padding: 30px 20px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }
}
