/* La Raro — Reset e fundamentos compartilhados entre vitrine e admin */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
    font-family: var(--fonte-sans);
    color: var(--cor-texto);
    background: var(--cor-fundo);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }
a { color: var(--cor-destaque); text-decoration: none; }
a:hover { color: var(--cor-destaque-hover); }
button { font-family: inherit; cursor: pointer; border: none; background: none; -webkit-tap-highlight-color: transparent; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

h1, h2, h3, h4 { font-family: var(--fonte-serif); font-weight: 400; line-height: 1.1; }

.container { width: 100%; max-width: var(--max-largura); margin: 0 auto; padding: 0 20px; }

.eyebrow {
    font-family: var(--fonte-sans);
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 26px;
    font-family: var(--fonte-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: background var(--transicao), color var(--transicao);
    white-space: nowrap;
}

.btn--escuro { background: var(--cor-escuro); color: var(--cor-escuro-texto); }
.btn--escuro:hover { background: #3a3025; color: var(--cor-escuro-texto); }

.btn--destaque { background: var(--cor-destaque); color: #fff; }
.btn--destaque:hover { background: var(--cor-destaque-hover); color: #fff; }

.btn--contorno { border: 1px solid var(--cor-escuro); color: var(--cor-escuro); }
.btn--contorno:hover { background: var(--cor-escuro); color: var(--cor-escuro-texto); }

.btn--bloco { width: 100%; }

.campo { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.campo label { font-size: 12px; font-weight: 700; }
.campo input,
.campo select,
.campo textarea {
    min-height: 46px;
    width: 100%;
    min-width: 0;
    padding: 0 14px;
    background: #fff;
    border: 1px solid var(--cor-borda-forte);
}
.campo textarea { min-height: 92px; padding: 13px 14px; line-height: 1.6; }

.badge {
    display: inline-flex;
    align-items: center;
    font-family: var(--fonte-sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 4px 8px;
}
.badge--sucesso { color: var(--cor-sucesso); background: var(--cor-sucesso-fundo); }
.badge--alerta { color: var(--cor-alerta); background: var(--cor-alerta-fundo); }
.badge--neutro { color: var(--cor-texto-suave); background: rgba(107, 102, 92, .12); }

.alerta-flash {
    padding: 13px 16px;
    border-left: 2px solid var(--cor-destaque);
    background: rgba(168, 84, 47, .07);
    color: var(--cor-alerta);
    font-size: 13px;
    margin-bottom: 20px;
}
.alerta-flash--sucesso {
    border-left-color: var(--cor-sucesso);
    background: var(--cor-sucesso-fundo);
    color: var(--cor-sucesso);
}
