/* 
   style.css - Estilos para o site de contabilidade
   Palette:
   - Neon-lemon: #D0FF14
   - Graphite: #2A2A2E
   - Ultramarine: #3600A9
   - Coral-pink: #FF467E 
*/

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 10px = 1rem */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: #2A2A2E;
    background-color: #f8f8f8;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    color: #3600A9;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #FF467E;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    border-radius: 3rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.6rem;
}

.btn-primary {
    background-color: #D0FF14;
    color: #2A2A2E;
}

.btn-primary:hover {
    background-color: #3600A9;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: #2A2A2E;
    color: white;
}

.btn-secondary:hover {
    background-color: #FF467E;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
    text-align: center;
    position: relative;
    margin-bottom: 5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 0.4rem;
    background: linear-gradient(90deg, #3600A9, #D0FF14);
    border-radius: 2px;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 2rem;
}

/* Header */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1.5rem 0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: #2A2A2E;
}

.logo-icon {
    margin-right: 1rem;
}

.logo-text {
    font-weight: 700;
    font-size: 2rem;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
}

.main-nav .nav-list li {
    margin-left: 2.5rem;
}

.main-nav .nav-list a {
    color: #2A2A2E;
    font-weight: 500;
    font-size: 1.6rem;
    position: relative;
}

.main-nav .nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #D0FF14;
    transition: all 0.3s ease;
}

.main-nav .nav-list a:hover::after,
.main-nav .nav-list a.active::after {
    width: 100%;
}

.main-nav .nav-cta {
    background-color: #D0FF14;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
}

.main-nav .nav-cta:hover {
    background-color: #3600A9;
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #2A2A2E;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .3s ease-in-out;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
}

/* Cookie Popup */
.cookie-popup {
    display: none;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 1.5rem;
    background-color: rgba(42, 42, 46, 0.95);
    color: white;
    z-index: 1000;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 120rem;
    margin: 0 auto;
}

.cookie-content p {
    margin: 0 2rem 0 0;
    font-size: 1.4rem;
}

.cookie-content a {
    color: #D0FF14;
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #3600A9 0%, #2A2A2E 100%);
    color: white;
    padding: 12rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('../img/ccyXwm.jpg') center/cover;
    opacity: 0.2;
}

.hero-content {
    max-width: 60rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 3rem;
    line-height: 1.2;
}

.hero h1 span {
    color: #D0FF14;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 4rem;
    max-width: 50rem;
}

/* About Section */
.about {
    padding: 10rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 5rem;
    align-items: center;
}

.about-text {
    padding-right: 2rem;
}

.about-image img {
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Services Section */
.services {
    padding: 10rem 0;
    background-color: #f8f8f8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #D0FF14, #3600A9);
    z-index: 1;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    margin: 2rem 2rem;
    color: #2A2A2E;
}

.service-card p {
    margin: 0 2rem 2rem;
    color: #666;
    flex-grow: 1;
}

.service-button {
    padding: 0 2rem 2rem;
    margin-top: auto;
}

/* Why Us Section */
.why-us {
    padding: 10rem 0;
    background: linear-gradient(135deg, #2A2A2E 0%, #3600A9 100%);
    color: white;
}

.why-us h2 {
    color: white;
}

.why-us h2::after {
    background: linear-gradient(90deg, #D0FF14, #FF467E);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 4rem;
    margin-top: 5rem;
}

.feature {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.feature h3 {
    color: #D0FF14;
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials {
    padding: 10rem 0;
    background-color: white;
}

.testimonial-slider {
    margin-top: 5rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
}

.testimonial {
    background-color: #f8f8f8;
    padding: 4rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 8rem;
    color: #D0FF14;
    opacity: 0.3;
    line-height: 1;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    display: block;
}

/* Contact Form */
.contact {
    padding: 10rem 0;
    background: linear-gradient(135deg, #2A2A2E 0%, #3600A9 100%);
    color: white;
}

.contact h2 {
    color: white;
}

.contact-form {
    max-width: 60rem;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 4rem;
    border-radius: 1rem;
}

.form-group {
    margin-bottom: 2.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.5rem;
    border: none;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.6rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(208, 255, 20, 0.5);
    background: rgba(255, 255, 255, 0.2);
}

.form-group select option {
    background-color: #2A2A2E;
    color: white;
}

.form-group.checkbox {
    display: flex;
    align-items: center;
}

.form-group.checkbox input {
    width: auto;
    margin-right: 1rem;
}

.form-group.checkbox label {
    margin: 0;
    font-weight: 400;
    font-size: 1.4rem;
    color: white;
}

.form-group.checkbox label a {
    color: #D0FF14;
    text-decoration: underline;
}

.contact-form button {
    width: 100%;
    padding: 1.5rem;
    margin-top: 1.5rem;
    font-size: 1.8rem;
}

/* FAQ Section */
.faq {
    padding: 10rem 0;
    background-color: #f8f8f8;
}

.faq-container {
    max-width: 80rem;
    margin: 5rem auto 0;
}

.faq-item {
    background-color: white;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    padding: 2rem;
    position: relative;
    cursor: pointer;
    margin: 0;
    font-size: 1.8rem;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.2rem;
    color: #3600A9;
}

.faq-answer {
    padding: 0 2rem 2rem;
}

/* Footer */
.main-footer {
    background-color: #2A2A2E;
    color: white;
    padding: 8rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    color: #D0FF14;
    margin-bottom: 2.5rem;
    font-size: 2rem;
    position: relative;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 4rem;
    height: 3px;
    background: linear-gradient(90deg, #D0FF14, #FF467E);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo-text {
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
    margin-left: 1rem;
}

.footer-description {
    color: #aaa;
    font-size: 1.4rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #aaa;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #D0FF14;
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 1.5rem;
    color: #aaa;
    font-size: 1.4rem;
}

.contact-info span {
    color: white;
    margin-right: 0.5rem;
    font-weight: 500;
}

.contact-info a {
    color: #aaa;
}

.contact-info a:hover {
    color: #D0FF14;
}

.footer-bottom {
    text-align: center;
    padding-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.4rem;
    color: #aaa;
}

/* Thank You Page */
.thank-you {
    padding: 12rem 0;
    text-align: center;
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
}

.thank-you-content {
    max-width: 60rem;
    margin: 0 auto;
    padding: 4rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #D0FF14;
}

.thank-you-icons {
    margin: 4rem 0;
}

.response-time {
    font-size: 1.8rem;
    font-weight: 500;
    color: #3600A9;
    margin-bottom: 3rem;
}

/* Legal Pages */
.legal-content {
    padding: 12rem 0;
    background: #fff;
}

.legal-content h1 {
    margin-bottom: 4rem;
    text-align: center;
}

.legal-text {
    max-width: 90rem;
    margin: 0 auto;
}

.legal-text p,
.legal-text ul,
.legal-text ol {
    margin-bottom: 2rem;
    font-size: 1.6rem;
    line-height: 1.7;
}

.legal-text h2 {
    font-size: 2.4rem;
    text-align: left;
    margin: 4rem 0 2rem;
}

.legal-text h2::after {
    left: 0;
    transform: none;
    width: 6rem;
}

.legal-text h3 {
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem;
}

.legal-text ul,
.legal-text ol {
    padding-left: 2rem;
}

.legal-text li {
    margin-bottom: 1rem;
}

.legal-text strong {
    font-weight: 600;
}

.legal-contact {
    background: #f8f8f8;
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 3rem;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid #ddd;
    padding: 1.2rem;
    text-align: left;
}

.cookie-table th {
    background-color: #f8f8f8;
    font-weight: 600;
}

/* Media Queries */
@media (max-width: 1024px) {
    html {
        font-size: 60%;
    }

    .hero {
        padding: 10rem 0;
    }

    .hero h1 {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 57.5%;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav .nav-list {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: white;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding: 2rem;
        transition: all 0.5s ease;
        z-index: 100;
    }

    .main-nav .nav-list.active {
        right: 0;
    }

    .main-nav .nav-list li {
        margin: 2rem 0;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .about-content,
    .services-grid,
    .testimonial-slider {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-gap: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cookie-content {
        flex-direction: column;
    }

    .cookie-content p {
        margin-bottom: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 55%;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 3rem;
    }

    .contact-form {
        padding: 3rem 2rem;
    }

    .feature,
    .testimonial {
        padding: 2.5rem;
    }
} 