:root {
    --font-size-small: 14px;
    --font-size-medium: 20px;
    --font-size-large: 24px;
    --font-size-title: 32px;
    --font-size-heading: 50px;
    --line-height-base: 1.6;
    --primary-color: #e7dbf5;
    --secondary-color: #f2f2f2;
    --highlight-color: rgb(98, 12, 191);
    --button-color: #4caf50;
    --button-hover: #45a049;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

#local-funcionamento {
    background-color: var(--primary-color);
    padding: 40px;
}

.container-local {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.local-imagem {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    width: 70%;
}

.local-img {
    width: 50%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px var(--shadow-color);
}

.texto-local {
    text-align: justify;
    width: 50%;
    font-size: var(--font-size-medium);
    line-height: var(--line-height-base);
    padding: 40px;
}

.texto-local h1 {
    font-size: var(--font-size-heading);
    font-weight: bold;
    color: var(--highlight-color);
    margin-bottom: 20px;
    text-align: center;
}

.texto-local p {
    font-size: var(--font-size-medium);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

.botao-maps {
    display: block;
    margin: 20px auto;
    background-color: var(--button-color);
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    font-size: var(--font-size-medium);
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-align: center;
}

.botao-maps:hover {
    background-color: var(--button-hover);
}

@media (max-width: 768px) {
    .container-local {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px;
    }

    .texto-local {
        text-align: center;
        width: 90%;
        padding: 20px;
    }

    .local-imagem {
        width: 100%;
        margin-top: 20px;
    }

    .local-img {
        width: 80%;
        max-width: 400px;
    }

    .texto-local h1 {
        font-size: 36px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    #local-funcionamento {
        padding: 5px;
    }
    .container-local {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px;
    }

    .texto-local {
        width: 100%;
        line-height: 1.8;
        padding: 15px;
        order: 1;
    }

    .texto-local h1 {
        font-size: 28px;
        margin-bottom: 15px;
        text-align: center;
    }
    .texto-local p {
        font-size: var(--font-size-small);
    }

    .local-imagem {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 15px;
        order: 2;
    }

    .local-img {
        width: 90%;
        max-width: 300px;
        height: auto;
        border-radius: 10px;
        box-shadow: 0 4px 8px var(--shadow-color);
    }

    .botao-maps {
        font-size: var(--font-size-small);
        width: 90%;
        padding: 10px 15px;
        text-align: center;
        margin-top: 20px;
    }
}
