/* ==========================================================
   BASE.CSS - Reset, Variáveis e Tipografia
   ========================================================== */

/* ==================== VARIÁVEIS ==================== */
:root {
    --rose-50: #FFF1F2;
    --rose-100: #FFE4E6;
    --rose-200: #FECDD3;
    --rose-300: #FDA4AF;
    --rose-400: #FB7185;
    --rose-500: #F43F5E;
    --rose-600: #E11D48;
    --rose-700: #BE123C;
    --rose-800: #9F1239;
    --rose-900: #881337;
    
    --pink-50: #FDF2F8;
    --pink-100: #FCE7F3;
    --pink-200: #FBCFE8;
    --pink-300: #F9A8D4;
    --pink-400: #F472B6;
    
    --sand-50: #FFFBF7;
    --sand-100: #FFF7F0;
    --sand-200: #FFEEE0;
    --sand-300: #FFE4CC;
    
    --purple-50: #FAF5FF;
    --purple-100: #F3E8FF;
    --purple-200: #E9D5FF;
    
    --stone-500: #78716C;
    --stone-600: #57534E;
    --stone-700: #44403C;
    --stone-800: #292524;
    --stone-900: #1C1917;
    
    --font-display: 'Playfair Display', serif;
    --font-body: 'Crimson Text', serif;
    --font-ui: 'Inter', sans-serif;
    
    --shadow-soft: 0 4px 24px rgba(225, 29, 72, 0.08);
    --shadow-medium: 0 8px 40px rgba(225, 29, 72, 0.12);
    --shadow-strong: 0 20px 60px rgba(225, 29, 72, 0.16);
}

/* ==================== RESET ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--stone-700);
    background: linear-gradient(135deg, var(--sand-50) 0%, var(--rose-50) 50%, var(--pink-50) 100%);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-weight: 600;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==================== ACESSIBILIDADE :FOCUS-VISIBLE ==================== */
:focus-visible {
    outline: 3px solid var(--rose-400);
    outline-offset: 3px;
    border-radius: 4px;
    transition: outline-offset 0.1s ease;
}
:focus-visible:hover {
    outline-offset: 4px;
}
.lightbox-content:focus-visible {
    outline: none;
}
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
    outline: 3px solid var(--rose-100);
    background: rgba(255, 255, 255, 0.2);
}

/* ==================== TIPOGRAFIA ==================== */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--stone-900);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 600;
    line-height: 1.8;
}

/* ==================== ANIMAÇÕES BASE ==================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==================== REDUCED MOTION ==================== */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
    }
    .hero-decorative {
        animation: none;
    }
    .card:hover, .split-section:hover .split-image img, .elegant-list li:hover {
        transform: none;
    }
    .gallery-item:hover {
        transform: none;
    }
    .gallery-item:hover img {
        transform: none;
    }
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
    .faq-answer {
        transition: none;
    }
    .lightbox, .lightbox-image {
        transition: none;
    }
}