/* --- GLOBAL VARIABLES --- */
:root {
    --primary-gold: #8C7458;
    --primary-gold-dark: #6b5640;
    
    --section-dark: #121212;
    --section-card-dark: #1e1e1e;
    
    --text-dark: #111111;
    --text-grey: #555555;
    --white: #ffffff;
    --bg-light: #f9f9f9;

    /* Admin & Sidebar Variables */
    --bg-card: #ffffff;
    --border-color: #eeeeee;
    --radius-lg: 20px;
    --radius-md: 12px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --text-main: #111111;
    --text-secondary: #555555;
}

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

html {
    scroll-behavior: smooth; /* Fallback for browsers without JS */
    overflow-x: hidden;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}


a { 
    text-decoration: none; 
    color: inherit; 
    transition: 0.3s; 
}

ul { 
    list-style: none; 
}

img { 
    max-width: 100%; 
    display: block; 
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ANIMAÇÕES (REVEAL) --- */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    filter: blur(10px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* --- SKELETON LOADING & UX --- */
.skeleton {
    background-color: #DDDBDD !important;
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.2) 20%,
        rgba(255, 255, 255, 0.5) 60%,
        rgba(255, 255, 255, 0)
    ) !important;
    background-size: 200% 100% !important;
    animation: shimmer-input 2s infinite linear !important;
    color: transparent !important;
    pointer-events: none;
    border-color: #ccc !important;
}

@keyframes shimmer-input {
    0% { background-position: -150% 0; }
    100% { background-position: 150% 0; }
}

.error-message {
    color: #d9534f;
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.btn:disabled, .btn[disabled] {
    background-color: #cccccc !important;
    border-color: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.section-padding { padding: 120px 0; }

/* --- BASE STYLES --- */
.section-label-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.section-label-row .line {
    width: 40px;
    height: 1px;
    background: var(--primary-gold);
    display: block;
}
.section-label-row span {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.3px;
    border: 1px solid transparent;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    background-color: #8C7458;
    color: #ffffff;
    border-color: #8C7458;
}
.btn-primary:hover { 
    background-color: #8C7458; 
    border-color: transparent; 
}

.btn-outline-white {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255,255,255,0.6);
}

.btn-outline-dark {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    color: var(--text-dark);
    border-color: rgba(0, 0, 0, 0.2);
}

.btn-outline-dark:hover {
    border-color: transparent;
}

.btn-outline-white::before,
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        var(--spotlight-color, rgba(255, 255, 255, 0.2)), 
        transparent 80%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.btn-outline-white:hover::before,
.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline-white:hover { border-color: rgba(255,255,255,0.6); }

.btn-outline-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
        var(--spotlight-color, rgba(0, 0, 0, 0.2)), 
        transparent 80%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.btn-outline-dark:hover::before {
    opacity: 1;
}

.btn-prev {
    background-color: #e0e0e0;
    color: var(--text-dark);
    border-color: #e0e0e0;
}
.btn-prev:hover { background-color: #d0d0d0; border-color: #d0d0d0; }

.optional {
    font-style: italic;
    font-size: 0.85rem;
    color: #888;
    font-weight: normal;
    margin-left: 4px;
}

.logo-marquee-track { display: flex; gap: 60px; opacity: 0.6; font-weight: 500; font-size: 1rem; align-items: center; white-space: nowrap; animation: scroll-marquee 50s linear infinite; letter-spacing: 1px; color: #ddd; }
.logo-item { display: flex; align-items: center; gap: 10px; }
.logo-item i { font-size: 1.2rem; color: var(--primary-gold); }
@keyframes scroll-marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- SPINNER --- */
.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-gold) !important;
    border-color: var(--primary-gold) !important;
    opacity: 0.8;
    cursor: wait !important;
}

.btn-loading .spinner {
    display: inline-block;
}

.btn-loading .btn-text {
    display: none;
}

/* --- LOADING OVERLAY --- */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.loading-overlay.active {
    display: flex;
}

.modern-loader {
    width: 45px;
    height: 45px;
    border: 3px solid rgba(140, 116, 88, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary-gold);
    animation: spin 0.8s ease-in-out infinite;
}

