/* Armazém do Jesus – base: fontes, tokens, reset, tipografia, botões, utilitários */

@font-face {
    font-family: "Alfa Slab One";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/alfa-slab-one-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Alfa Slab One";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/alfa-slab-one-latin-ext-400.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/nunito-latin-400.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/nunito-latin-700.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/nunito-latin-800.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/nunito-latin-ext-400.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/nunito-latin-ext-700.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/nunito-latin-ext-800.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    /* Paleta da marca */
    --marrom: #3B1F08;
    --amarelo: #FBCB0A;
    --mostarda: #EAB94B;
    --verde: #C4E314;
    --verde-whats: #1F7A35;
    --creme: #FFFCF2;
    --branco: #FFFFFF;

    /* Derivados (texto sempre com contraste AA) */
    --texto: var(--marrom);
    --texto-suave: #6B5440;
    --marrom-claro: #5A3314;
    --verde-whats-escuro: #17602A;
    --areia: #F6F0E2;
    --borda: #EADFC8;
    --foco: #1F5FBF;

    --fonte-titulo: "Alfa Slab One", Georgia, "Times New Roman", serif;
    --fonte-texto: "Nunito", "Segoe UI", Roboto, Arial, sans-serif;

    --raio-sm: 8px;
    --raio: 14px;
    --raio-lg: 22px;
    --sombra-sm: 0 1px 2px rgba(59, 31, 8, .06), 0 1px 3px rgba(59, 31, 8, .08);
    --sombra: 0 4px 14px rgba(59, 31, 8, .08), 0 1px 3px rgba(59, 31, 8, .06);
    --sombra-lg: 0 12px 32px rgba(59, 31, 8, .14), 0 2px 6px rgba(59, 31, 8, .08);

    --container: 1200px;
    --gutter: 16px;
}

/* Reset enxuto */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
:where(ul[class], ol[class]) { padding: 0; list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

body {
    min-height: 100vh;
    font-family: var(--fonte-texto);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--texto);
    background: var(--creme);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

/* Tipografia */
h1, h2, h3, .titulo {
    font-family: var(--fonte-titulo);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: .005em;
    color: var(--marrom);
}
h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p + p { margin-top: .75em; }
strong, b { font-weight: 800; }
small { font-size: .875rem; }

/* Foco visível */
:focus { outline: none; }
:focus-visible {
    outline: 3px solid var(--foco);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: var(--gutter);
    top: -100px;
    z-index: 1000;
    padding: .6rem 1rem;
    background: var(--marrom);
    color: var(--creme);
    font-weight: 800;
    border-radius: var(--raio-sm);
    text-decoration: none;
}
.skip-link:focus { top: 8px; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    padding: .65rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 999px;
    background: var(--amarelo);
    color: var(--marrom);
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--mostarda); }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.2em; height: 1.2em; }

.btn-whats {
    background: var(--verde-whats);
    color: var(--branco);
}
.btn-whats:hover { background: var(--verde-whats-escuro); color: var(--branco); }

.btn-outline {
    background: transparent;
    border-color: var(--marrom);
    color: var(--marrom);
}
.btn-outline:hover { background: var(--marrom); color: var(--creme); }

.btn-sm { min-height: 38px; padding: .45rem .95rem; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
