* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #D32F2F;
    --secondary-color: #1976D2;
    --accent-color: #FFA000;
    --success-color: #388E3C;
    --text-dark: #212121;
    --text-light: #757575;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), #C62828);
    color: white;
    padding: 16px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-content a {
    color: white;
    text-decoration: underline;
}

.btn-accept {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 10px 28px;
    border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-accept:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar {
    padding: 16px 0;
}

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

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8em;
    font-weight: 700;
    line-height: 1.2;
}

.logo .subtitle {
    color: var(--secondary-color);
    font-size: 0.9em;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color), #C62828, var(--secondary-color));
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero-content h2 {
    font-size: 3em;
    margin-bottom: 16px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 32px;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 14px 40px;
    border-radius: 32px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 48px;
    font-weight: 700;
}

.content-box {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.content-box p {
    font-size: 1.1em;
    margin-bottom: 16px;
    line-height: 1.8;
}

.content-box h3 {
    color: var(--secondary-color);
    margin: 24px 0 12px 0;
    font-size: 1.5em;
}

.content-box ul {
    margin-left: 24px;
    margin-bottom: 16px;
}

.content-box li {
    margin-bottom: 8px;
    line-height: 1.8;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.info-card {
    background: linear-gradient(135deg, var(--secondary-color), #1565C0);
    color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.info-card h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.4em;
}

.info-card p {
    color: rgba(255, 255, 255, 0.95);
}

.cnpj-box {
    background-color: var(--bg-light);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    margin-top: 24px;
    border-left: 4px solid var(--accent-color);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.step {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-color), #F57C00);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: 700;
    margin: 0 auto 16px auto;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.3em;
}

.services-box {
    background: linear-gradient(135deg, var(--success-color), #2E7D32);
    color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.services-box h3 {
    color: white;
    font-size: 1.8em;
    margin-bottom: 24px;
    text-align: center;
}

.services-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.services-list li {
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.blog-card {
    background-color: var(--bg-white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.4em;
}

.blog-date {
    color: var(--text-light);
    font-size: 0.9em;
    margin-bottom: 12px;
}

.blog-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 12px;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: var(--primary-color);
}

.faq {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    margin-bottom: 16px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background-color: var(--bg-white);
    border: none;
    text-align: left;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: var(--bg-light);
}

.faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    color: var(--text-dark);
    line-height: 1.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-card {
    background-color: var(--bg-white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.3em;
}

.contact-card a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary-color);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.update-date {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid var(--bg-light);
    color: var(--text-light);
}

footer {
    background: linear-gradient(135deg, var(--text-dark), #424242);
    color: white;
    padding: 48px 0 24px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-bottom: 32px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 16px;
    font-size: 1.2em;
}

.footer-section p {
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.cnpj-footer {
    color: var(--accent-color);
    font-weight: 600;
}

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        padding: 24px 0;
        gap: 16px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-content h2 {
        font-size: 2em;
    }

    .hero-content p {
        font-size: 1.1em;
    }

    .section-title {
        font-size: 2em;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .services-list {
        grid-template-columns: 1fr;
    }
}
