/* Base styles shared across Estrela Leite pages */
:root {
    --color-brand-primary: #368FF6;
    --color-brand-secondary: #0F5097;
    --color-brand-accent: #BFDBFD;
    --color-neutral-bg: #FAFBFF;
    --color-neutral-text: #0F1F2E;
    --color-neutral-muted: #6C757D;
    --shadow-soft: 0 4px 4px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 20px;
    --font-base: "Arimo", sans-serif;
    --space-2xs: 4px;
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 40px;
    --space-3xl: 48px;
    --space-4xl: 64px;
    --space-5xl: 80px;
    --space-6xl: 120px;
    --space-7xl: 160px;
    --space-xxl: 100px;
    --space-xxxl: 140px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

body {
    margin: 0;
    font-family: var(--font-base);
    line-height: 1.5;
    background-color: var(--color-neutral-bg);
    color: var(--color-neutral-text);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

section {
    padding: var(--space-3xl) var(--space-sm) var(--space-5xl);
}

.container {
    width: min(1120px, 100%);
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: var(--radius-md);
    padding: var(--space-xs) var(--space-md);
    border: 2px solid transparent;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.btn--primary {
    background-color: var(--color-brand-primary);
    border-color: var(--color-brand-primary);
    color: #fff;
}

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

.btn--light {
    background-color: #fff;
    border-color: #fff;
    color: var(--color-brand-secondary);
}

.btn--rounded {
    border-radius: var(--radius-lg);
}

.btn--sm {
    padding: calc(var(--space-xs) - 2px) var(--space-md);
    font-size: 0.7rem;
}

.btn--lg {
    padding: var(--space-sm) var(--space-xl);
    font-size: 1rem;
}

.btn--animated {
    animation: pulse 2s infinite;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-label {
    font-weight: 600;
}

.form-control {
    border: 2px solid var(--color-brand-primary);
    border-radius: var(--radius-sm);
    background-color: #fff;
    padding: var(--space-sm);
    font-size: 1rem;
    line-height: 1.5;
    transition: outline 0.2s ease, box-shadow 0.2s ease;
}

.form-control::placeholder {
    color: var(--color-brand-accent);
    opacity: 1;
}

.form-control:focus {
    outline: 2px solid var(--color-brand-primary);
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xs) var(--space-sm);
    min-height: 64px;
    box-shadow: var(--shadow-soft);
    background-color: #fff;

    .logo {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        height: inherit;

        a {
            height: inherit;
            align-content: center;

            img {
                height: 28px;
            }
        }
    }

    .site-header__cta a {
        padding: 4px 4px;
    }
}

.site-header .logo .site-header .logo p {
    font-weight: 800;
    color: var(--color-brand-secondary);
    letter-spacing: -2px;
    font-size: 1.5rem;
}

.site-header .logo .accent {
    color: var(--color-brand-primary);
}

.site-header nav {
    display: flex;
    align-items: center;
    width: 45%;
    text-align: center;
}

footer {
    background-color: var(--color-brand-primary);
    color: #fff;
    text-align: center;
    padding: var(--space-3xl) var(--space-xs) 0;
}

footer .footer {
    display: flex;
    flex-direction: column-reverse;
    gap: var(--space-lg);
}

footer nav {
    padding-bottom: var(--space-3xl);
}

footer a {
    color: inherit;
    font-weight: 700;
    line-height: 1.4;
}

footer .footerDesc {
    align-self: center;
}

footer .logoExtended {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -1px;
    padding-bottom: 4px;
}

footer .logoExtended .estrela {
    color: var(--color-brand-secondary);
}

footer .descricao {
    line-height: 1.1;
    width: 240px;
    text-align: justify;
}

footer .footerNote {
    margin-bottom: 0;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgb(54 143 246);
    }

    70% {
        box-shadow: 0 0 0 5px #fff0;
    }

    100% {
        box-shadow: 0 0 0 0 var(--color-brand-accent);
    }
}

@media (min-width: 425px) {
    section {
        padding: var(--space-4xl) var(--space-lg);
    }

    .site-header {
        nav {
            width: auto;
        }

        .logo a img {
        height: 44px;
    }
    }
    
    
}

@media (min-width: 768px) {
    .btn--sm {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    section {
        padding: var(--space-5xl) var(--space-5xl);
    }

    footer .footer {
        flex-direction: row;
        justify-content: center;
    }

    footer .footerDesc {
        text-align: left;
    }
}

@media (min-width: 1440px) {
    section {
        padding: var(--space-6xl) 240px;
    }

    .site-header {
        padding: var(--space-md) var(--space-2xl);
    }

    .site-header .logo img {
        height: 48px;
    }

    footer .descricao {
        width: 320px;
    }
}