/* ==========================================================================
   DESIGN SYSTEM & ESTILOS GLOBAIS - Vale das Cachoeiras
   ========================================================================== */

/* Importação das Fontes Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

@font-face {
    font-family: 'Kostania';
    src: url('../assets/brand/Kostania-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kostania';
    src: url('../assets/brand/Kostania-Thin.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


:root {
    /* Paleta de Cores Oficial */
    --color-primary: #174C38;        /* Verde Escuro */
    --color-primary-rgb: 23, 76, 56;
    --color-secondary: #43695B;      /* Verde Médio */
    --color-secondary-rgb: 67, 105, 91;
    --color-accent: #6B9560;         /* Verde Claro */
    --color-accent-rgb: 107, 149, 96;
    --color-gold: #E0A526;           /* Dourado/Mostarda */
    --color-gold-rgb: 224, 165, 38;
    --color-gold-hover: #c9911b;
    --color-creme: #F9F1E4;          /* Off-white / Creme */
    --color-creme-rgb: 249, 241, 228;
    
    /* Cores de Apoio */
    --color-dark: #121212;
    --color-dark-rgb: 18, 18, 18;
    --color-light: #FFFFFF;
    --color-gray-light: #F0EAE1;
    --color-gray-medium: #8C9692;
    --color-success: #28a745;
    --color-error: #dc3545;
    
    /* Tipografia */
    --font-primary: 'Montserrat', sans-serif;
    --font-display: 'Kostania', 'Playfair Display', serif; /* Font display com fallback */
    
    /* Espaçamentos e Medidas */
    --container-max-width: 1200px;
    --header-height: 95px;
    --header-shrink-height: 75px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    /* Transições e Efeitos */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-gold: 0 10px 20px -5px rgba(220, 165, 38, 0.4);
    --shadow-green: 0 10px 25px -5px rgba(23, 76, 56, 0.2);
}

/* Reset Básico */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-creme);
    color: var(--color-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

/* Tipografia Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Seções */
.section {
    padding: 5rem 0;
    position: relative;
}

.section--dark {
    background-color: var(--color-primary);
    color: var(--color-creme);
}

.section--dark h2,
.section--dark h3,
.section--dark p {
    color: var(--color-creme);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--color-gold);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-secondary);
}

.section--dark .section-header p {
    color: rgba(249, 241, 228, 0.8);
}

/* Classes Utilitárias */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-column { flex-direction: column; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Responsividade de Tela Inteira */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    .section {
        padding: 4rem 0;
    }
    .section-header {
        margin-bottom: 2.5rem;
    }
}
