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

:root {
    --primary-red: #ff533f;
    --dark-black: #282625;
    --light-cream: #fff2e1;
    --text-gray: #d4d0cc;
    --dark-gray: #3a3835;
    --border-gray: #4a4845;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--light-cream);
    color: var(--dark-black);
    line-height: 1.6;
}

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

/* Header */
.header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
}

.language-switcher select {
    padding: 8px 12px;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    background-color: white;
    color: var(--dark-black);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-switcher select:hover {
    border-color: var(--primary-red);
}

/* Hero Section */
.hero {
    background-color: var(--light-cream);
    padding: 60px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark-black);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--dark-black);
    margin-bottom: 30px;
    line-height: 1.6;
}

.benefits {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.benefit-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-red);
}

.benefit-item span {
    color: var(--dark-black);
    font-size: 16px;
}

/* Form Card */
.form-card {
    background-color: white;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-black);
}

.form-subtitle {
    font-size: 14px;
    color: var(--dark-black);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-black);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(255, 83, 63, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px 30px; /* Maior padding */
    background-color: var(--primary-red); /* Cor mais chamativa */
    color: white;
    border: none;
    border-radius: 8px; /* Borda mais arredondada */
    cursor: pointer;
    font-size: 1.1em; /* Fonte maior */
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra leve */
    margin-top: 8px;
}

.btn-submit:hover {
    background-color: #e04a36; /* Escurece no hover */
    transform: translateY(-2px); /* Efeito de levantamento */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 12px;
    font-size: 14px;
    text-align: center;
    min-height: 20px;
}

.form-message.success {
    color: #22c55e;
}

.form-message.error {
    color: #ef4444;
}

/* Mid-Page CTA Section */
.mid-cta-section {
    background-color: var(--primary-red);
    padding: 60px 0;
    text-align: center;
}

.mid-cta-section .section-title,
.mid-cta-section .section-subtitle {
    color: white;
}

.cta-button-container {
    margin-top: 30px;
}

.mid-cta-section .btn-submit {
    width: auto;
    display: inline-block;
    text-decoration: none;
    padding: 15px 40px;
    background-color: var(--dark-black);
    color: white;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.mid-cta-section .btn-submit:hover {
    background-color: #4a4845;
    transform: translateY(-2px);
}

.mid-cta-section .btn-submit:active {
    transform: translateY(0);
}

/* Reference Section */
.reference-section {
    background-color: var(--dark-black);
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--light-cream);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    margin-bottom: 48px;
    color: var(--text-gray);
}

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

.reference-card {
    background-color: var(--dark-gray);
    padding: 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.reference-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.reference-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    color: var(--primary-red);
}

.reference-icon svg {
    width: 100%;
    height: 100%;
}

.reference-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--light-cream);
}

.reference-card-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.testimonials-section .section-title {
    color: var(--dark-black);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.client-logo {
    max-width: 100px; /* Reduzindo o tamanho máximo */
    max-height: 50px; /* Limitando a altura para evitar logos muito altos */
    width: auto;
    height: auto;
    margin-bottom: 20px;
    filter: grayscale(100%); /* Para uniformizar os logos */
    opacity: 0.7;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.testimonial-client {
    font-weight: bold;
    color: #282625;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Features Section */
.features-section {
    background-color: var(--light-cream);
    padding: 80px 0;
}

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

.feature-card {
    background-color: white;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary-red);
}

.feature-desc {
    font-size: 15px;
    color: var(--dark-black);
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--dark-black);
    color: var(--text-gray);
    padding: 48px 0 24px;
    border-top: 1px solid var(--border-gray);
}

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

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary-red);
}

.footer-phone {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-phone:hover {
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--border-gray);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--dark-black);
}

.modal-content p {
    font-size: 16px;
    color: var(--dark-black);
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-close {
    padding: 12px 32px;
    background-color: var(--primary-red);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background-color: #e63d2c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .header-content {
        flex-direction: column;
        gap: 16px;
    }

    .form-card {
        padding: 24px;
    }

    .reference-section,
    .features-section {
        padding: 48px 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .form-card {
        padding: 16px;
    }

    .section-title {
        font-size: 22px;
    }

    .reference-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}
