/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --coral: #FF6B6B;
    --teal: #00BFA6;
    --peach: #FBE8D3;
    --graphite: #2C2C2C;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #FF6B6B 0%, #00BFA6 100%);
    --shadow: 0 8px 25px rgba(44, 44, 44, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--graphite);
    background-color: var(--white);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    fill: var(--coral);
    transition: var(--transition);
}

.logo:hover {
    fill: var(--teal);
    transform: scale(1.05);
}

.domain-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--graphite);
    letter-spacing: -0.5px;
}

.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--graphite);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover {
    color: var(--coral);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--coral);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone {
    color: var(--coral);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: var(--transition);
}

.phone:hover {
    color: var(--teal);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--peach) 0%, var(--white) 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--graphite);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--graphite);
    opacity: 0.8;
}

.cta-button {
    background: var(--gradient);
    color: var(--white);
    padding: 18px 40px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: var(--shadow);
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(44, 44, 44, 0.15);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--graphite);
    margin-bottom: 60px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--graphite);
    opacity: 0.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background: var(--peach);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--coral);
    box-shadow: 0 15px 40px rgba(44, 44, 44, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-content {
    padding: 30px;
    text-align: center;
    flex: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 25px;
}

.service-icon.fiscal { background: var(--coral); }
.service-icon.pessoal { background: var(--teal); }
.service-icon.empresarial { background: var(--gradient); }

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--graphite);
}

.service-content p {
    color: var(--graphite);
    opacity: 0.8;
}

/* Why Choose Us */
.why-us {
    background: var(--peach);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.8rem;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--graphite);
}

/* Testimonials */
.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--graphite);
}

.testimonial-author {
    font-weight: 600;
    color: var(--coral);
}

/* Form */
.form-section {
    background: var(--peach);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--graphite);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.5;
}

.checkbox-group a {
    color: var(--coral);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--graphite);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--coral);
}

.footer-section p,
.footer-section li {
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--coral);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--graphite);
    color: var(--white);
    padding: 20px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
}

.cookie-banner.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.cookie-text {
    flex: 1;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-button {
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-button.accept {
    background: var(--coral);
    color: var(--white);
}

.cookie-button.decline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cookie-button:hover {
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--coral);
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1001;
}

.mobile-nav-checkbox {
    display: none;
}

.hamburger-icon {
    display: block;
    font-size: 1.2rem;
    transition: var(--transition);
}

/* Mobile Navigation Menu */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-checkbox:checked ~ .mobile-nav {
    max-height: 300px;
    padding: 20px 0;
}

.mobile-nav-checkbox:checked + .mobile-menu-toggle .hamburger-icon {
    transform: rotate(90deg);
    color: var(--teal);
}

.mobile-nav-link {
    display: block;
    padding: 15px 30px;
    color: var(--graphite);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid rgba(44, 44, 44, 0.1);
}

.mobile-nav-link:hover {
    background: var(--peach);
    color: var(--coral);
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    /* Compact Mobile Header */
    .header {
        padding: 10px 0;
        position: relative;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        position: relative;
    }
    
    .header-left {
        gap: 10px;
        flex: 1;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
    
    .domain-text {
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    /* Hide desktop navigation on mobile */
    .header-nav {
        display: none;
    }
    
    /* Show mobile navigation */
    .mobile-nav {
        display: block;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
        order: 1;
    }
    
    .header-right {
        gap: 10px;
        align-items: center;
    }
    
    .header-contact {
        order: 2;
    }
    
    /* Mobile phone styling */
    .phone {
        font-size: 0.9rem;
        font-weight: 500;
    }
    
    /* Ensure mobile nav appears below header content */
    .mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-top: 1px solid rgba(44, 44, 44, 0.1);
        z-index: 999;
    }
    
    /* Close mobile menu when clicking a link */
    .mobile-nav-link {
        font-size: 0.95rem;
        padding: 12px 25px;
    }
    
    /* Auto-close mobile menu after navigation (CSS only) */
    .mobile-nav-checkbox:checked ~ .mobile-nav .mobile-nav-link:focus {
        pointer-events: none;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Tablet responsive adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .header-nav {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 0.95rem;
    }
    
    .domain-text {
        font-size: 1.3rem;
    }
} 