/* ============================================================
   DEMONT — Branding & Design
   Tokens globais + reset + utilidades base
   ============================================================ */

:root {
    /* Paleta da marca */
    --brand-cream: #f4e9dc;
    --brand-sand:  #dcc0a4;
    --brand-cocoa: #552f20;
    --brand-ink:   #2a1810;
    --brand-paper: #faf5ee;

    /* Tipografia (Moneta Black + Poppins Light, com fallbacks) */
    --font-display: 'Moneta Black', 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Poppins', ui-sans-serif, system-ui, sans-serif;
}

/* Quando a Rafaela tiver o arquivo da fonte Moneta, basta colocar em /fonts/Moneta-Black.woff2
   e o @font-face abaixo entra em ação automaticamente. */
@font-face {
    font-family: 'Moneta Black';
    src: url('fonts/Moneta-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ===== Reset leve ===== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--brand-cocoa);
    background: var(--brand-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ===== Container utilitário ===== */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== Botão padrão (utilitário global) ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 400;
    border: 1px solid var(--brand-cocoa);
    background: transparent;
    color: var(--brand-cocoa);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    text-decoration: none;
}

.btn:hover {
    background: var(--brand-cocoa);
    color: var(--brand-cream);
}

.btn.primary {
    background: var(--brand-cocoa);
    color: var(--brand-cream);
}

.btn.primary:hover {
    background: var(--brand-ink);
    border-color: var(--brand-ink);
}

/* ===== Tipografia base ===== */
h1, h2, h3, h4 { color: var(--brand-cocoa); }

/* ===== Acessibilidade ===== */
:focus-visible {
    outline: 2px solid var(--brand-sand);
    outline-offset: 3px;
}

/* ===== Mobile defaults ===== */
@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .btn { padding: 14px 24px; font-size: 12px; }
}
