html {
    scroll-behavior: smooth;
}

:root {
    --primary-color: #00C3A5;
    --secondary-color: #2D3748;
    --text-color: #4A5568;
    --header-bg: #ffffff;
    --footer-bg: #F7FAFC; /* Cinza suave para o rodapé */
}

header {
    background: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 100;
}

.header-container {
    height: 40px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.logo {
    height: 30px;
    max-width: 150px;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
    padding: 80px 0;
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.text {
    flex: 1 1 45%;
    min-width: 300px;
}

.image {
    flex: 1 1 45%;
    min-width: 300px;
    aspect-ratio: 1 / 1; /* Formato quadrado */
    overflow: hidden;
    border-radius: 20px; /* Bordas bem arredondadas */
    background: transparent; /* Fundo transparente */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Sombra reforçada */
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem cubra o espaço sem distorção */
}

h1, h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 700;
}

h2 {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.3;
}

.btn {
    display: inline-flex;
    padding: 15px 50px 15px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 30px;
    margin-top: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: visible;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.btn::after {
    content: "➔";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    font-size: 1.3em;
    line-height: 1;
    transition: all 0.3s ease;
    opacity: 0.9;
    margin-left: 8px; /* Espaço adicional entre o texto e a seta */
}

.btn:hover {
    background-color: #009c85;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 195, 165, 0.3);
}

.btn:hover::after {
    transform: translate(5px, -50%);
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    margin: 0 auto; /* Centraliza o formulário */
}

.form-container input {
    width: calc(100% - 40px); /* Ajuste para margens */
    padding: 12px 20px;
    margin: 10px 20px; /* Margens à esquerda e à direita */
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-container input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.solution-container ul {
    list-style: none;
    padding-left: 0;
}

.solution-container li {
    padding: 15px 0;
    border-bottom: 1px solid #E2E8F0;
    font-size: 1.1rem;
    position: relative;
    padding-left: 30px;
}

.solution-container li:before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.section-divider {
    height: 100px;
    background: white;
}

.hero-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 100px 0;
}

.emphasis-text {
    font-weight: 700;
    color: var(--secondary-color);
    margin: 25px 0;
    font-size: 1.1rem;
}

footer {
    background-color: var(--footer-bg); /* Fundo cinza suave */
    color: var(--text-color); /* Texto escuro para contraste */
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer p {
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .container {
        width: 90%;
        padding: 50px 0;
    }

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

    .text {
        text-align: center;
        width: 100%;
    }

    .image {
        width: 100%;
        max-width: 400px; /* Limita o tamanho da imagem em mobile */
        margin: 0 auto;
    }

    /* Oculta a imagem da Seção 2 no mobile */
    #form-section .image {
        display: none;
    }

    /* Centraliza o formulário na Seção 2 */
    #form-section .content {
        justify-content: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .form-container input {
        width: calc(100% - 40px); /* Ajuste para margens no mobile */
        margin: 10px 20px; /* Margens à esquerda e à direita no mobile */
    }

    .solution-container li {
        text-align: left;
    }

    .emphasis-text {
        text-align: left;
    }

    .btn {
        width: auto; /* Tamanho proporcional ao texto */
        padding: 12px 30px; /* Ajuste de padding para mobile */
        font-size: 0.95rem; /* Tamanho de fonte ligeiramente menor */
        margin: 20px auto; /* Centraliza o botão */
        display: inline-block; /* Mantém o tamanho proporcional ao texto */
    }

    .btn::after {
        right: 10px; /* Ajuste da posição da seta no mobile */
        margin-left: 6px; /* Espaço menor no mobile */
    }
}