/**
 * Base V2 — A Procópio
 * Resets elegantes, fundação tipográfica e sistema de botões premium
 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: var(--c-bg);
    color-scheme: dark;
}

body {
    font-family: var(--f-ui);
    font-size: var(--t-lead);
    font-weight: 400;
    line-height: 1.65;
    color: var(--c-text);
    background-color: var(--c-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Seleção de Texto */
::selection {
    background: rgba(197, 168, 128, 0.25);
    color: var(--c-gold-light);
}

/* Barra de Rolagem Minimalista */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-border-hover); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-gold); }

/* Tipografia */
h1, h2, h3, h4, h5 {
    font-family: var(--f-display);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--c-text);
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); }

p { color: var(--c-text-muted); }
a { color: inherit; text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
img { max-width: 100%; display: block; height: auto; }

/* Containers */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 5rem);
}

.container-narrow {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 5rem);
}

/* Label Eyebrow (texto pequeno acima dos títulos) */
.eyebrow {
    display: inline-block;
    font-family: var(--f-ui);
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: var(--s-sm);
}

/* Divider em ouro */
.gold-line {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--c-gold);
    margin: var(--s-md) auto 0 auto;
    opacity: 0.6;
}

/* === SISTEMA DE BOTÕES PREMIUM === */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--f-ui);
    font-size: var(--t-label);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border-radius: var(--r-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--dur-mid) var(--ease-out);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

/* Shimmer effect */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transition: none;
}

.btn:hover::before {
    left: 160%;
    transition: 0.7s ease-in-out;
}

/* Botão principal: Ouro sobre escuro */
.btn-gold {
    background: var(--c-gold);
    color: var(--c-bg);
    border-color: var(--c-gold);
}

.btn-gold:hover {
    background: var(--c-gold-light);
    border-color: var(--c-gold-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(197, 168, 128, 0.25);
}

/* Botão fantasma: Borda dourada */
.btn-ghost {
    background: transparent;
    color: var(--c-gold);
    border-color: rgba(197, 168, 128, 0.45);
}

.btn-ghost:hover {
    border-color: var(--c-gold);
    background: var(--c-gold-dim);
    transform: translateY(-1px);
}

/* Botão vidro branco */
.btn-glass {
    background: rgba(240, 237, 232, 0.06);
    color: var(--c-text);
    border-color: rgba(240, 237, 232, 0.15);
    backdrop-filter: var(--glass-light);
}

.btn-glass:hover {
    background: rgba(240, 237, 232, 0.12);
    border-color: rgba(240, 237, 232, 0.3);
}

/* Botão ícone (quadrado pequeno) */
.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    font-size: 1rem;
}
