/* -----------------------
    GLOBALS.CSS
   (Reset, Variables e Media Query)
------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


/* Reset Básico */
* {
    font-family: "Roboto", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Light mode variables (default) */
:root {
    --color-background: #fff;
    --color-component-background: #E7E7E7;
    --color-primary: #D54132;
    --color-secondary: #9a9b9f;
    --color-secondary-text: #353535;
    --color-shadow: rgba(0, 0, 0, 0.2);
    --color-text: #111214;
    --spacing-xsmall: 6px;
    --spacing-small: 10px;
    --spacing-regular: 12px;
    --spacing-medium: 16px;
    --spacing-big: 24px;
    --spacing-large: 32px;
    --spacing-xlarge: 64px;
    --font-size-small: 0.85rem;
    --font-size-body: 1rem;
    --font-size-title: 1.5rem;
    --font-size-subtitle: 1.25rem;
}

body {
    font-family: "Roboto", serif;
    background-color: var(--color-background);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    all: unset;
    cursor: pointer;
}

ul {
    list-style: none;
}

li i {
    color: var(--color-primary);
    font-size: var(--font-size-small);
}

.section {
    display: flex;
    max-width: 1140px;
    flex-direction: column;
    padding: var(--spacing-large) var(--spacing-medium);
    align-items: center;
    gap: var(--spacing-large);
    align-self: center;
}

.title-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-big);
    text-align: center;
    max-width: 900px;
}

.title {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.25rem;
    font-weight: 400;
}

.body-text {
    font-size: 1rem;
    font-weight: 400;
    text-align: justify;
    hyphens: auto;
}

.small-text {
    font-size: 0.85rem;
    font-weight: 400;
}

.bold {
    font-weight: 600;
}

/* Button variables */
.button {
    display: inline-flex;
    padding: 12px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all .3s;
}

.button:hover {
    transform: scale(1.05);
    transition: all .3s;
}

.btn-primary {
    color: var(--color-background);
    background: var(--color-primary);
}

.btn-primary:hover {
    background: color-mix(in srgb, var(--color-primary), black 10%);
}

.btn-secondary {
    color: var(--color-background);
    background: var(--color-secondary);
}

.btn-secondary:hover {
    background: color-mix(in srgb, var(--color-secondary), black 10%);
}

.btn-primary-outline {
    color: var(--color-primary);
    background: transparent;
    border: 2px solid var(--color-primary);
}

.btn-primary-outline:hover {
    background: rgba(0, 0, 0, 0.1);
}

.btn-white-outline {
    color: var(--color-background);
    background: transparent;
    border: 2px solid var(--color-background);
}

.btn-white-outline:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* ----- FOOTER ------ */
.visualmente-oculto {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

footer {
    background-color: var(--color-secondary-text);
    color: var(--background);
    padding: var(--spacing-large) var(--spacing-big);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-large);
}

.footer-row {
    display: flex;
    max-width: 1140px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Primeira linha do Footer*/
.footer-logo img {
    height: 120px;
    width: auto;
}

.footer-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-regular);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: var(--spacing-big);
}

.footer-social a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
    font-size: var(--font-size-title);
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-center address {
    width: 245px;
    text-align: center;
    font-size: var(--font-size-small);
    color: var(--color-background);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xsmall);
    align-items: flex-start;
    justify-content: center;
    color: var(--color-background);
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: var(--spacing-xsmall);
    font-size: var(--font-size-text);
    text-decoration: none;
    color: var(--color-background);
    padding: var(--spacing-xsmall) 0;
}

.footer-contact a:hover {
    opacity: 0.7;
}

.footer-contact .fa-solid,
.footer-contact .fa-whatsapp {
    font-size: var(--font-size-text);
}

/* Segunda Linha do Footer */
.footer-copyright,
.footer-credits,
.footer-links {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-background);
    gap: var(--spacing-large);
    display: flex;
}

.footer-links a,
.footer-credits a {
    text-decoration: underline;
    color: var(--color-background);
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    footer {
        gap: var(--spacing-big);
    }

    .footer-row {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-big);
    }

    .footer-contact {
        align-items: center;
    }

    .footer-links {
        display: flex;
        width: 100%;
        justify-content: space-around;
        order: 1;
    }

    .footer-links a {
        display: block;
        margin: 5px 0;
    }

    .footer-copyright {
        order: 2;
    }

    .footer-credits {
        order: 3;
    }

}

/* Botão do WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 48px;
    right: var(--spacing-medium);
    background-color: #25d366;
    color: white;
    border: none;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    cursor: pointer;
    box-shadow: 0px 4px 8px var(--color-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 101;
}

.whatsapp-button:hover {
    background: color-mix(in srgb, #25d366, black 10%)
}

.whatsapp-button i {
    font-size: var(--spacing-large);
}

@media (max-width: 768px) {
    .whatsapp-button {
        bottom: var(--spacing-medium);
    }
}