/**
 * ExpoQueijo Brasil 2026 — Design System
 * Based on KV (Key Visual) study: KV_EXPOQUEIJO2026_estudo.pdf
 *
 * Fonts: DM Serif Display (headings) + Montserrat (body/UI)
 * Slogan: "Onde o artesanal faz história!"
 * Dates: 25–28 de junho de 2026
 * Venue: Grande Hotel Termas de Araxá
 */

/* ═══════════════════════════════════════════════
   Google Fonts Import
   ═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ═══════════════════════════════════════════════
   Design Tokens (CSS Custom Properties)
   Extracted from KV 2026 Brand Study
   ═══════════════════════════════════════════════ */
:root {
    /* ── Brand Colors ── */
    --expo-azul: #1A3DB5;
    /* Azul Royal — from KV official palette */
    --expo-azul-dark: #142E8A;
    /* Azul escuro — hover/depth */
    --expo-bege: #C5A572;
    /* Bege Caramelo — from aged cheese rind */
    --expo-bege-light: #D4BC91;
    /* Bege claro — hover/soft */
    --expo-vermelho: #B22234;
    /* Vermelho — from artisan branding */
    --expo-vermelho-dark: #8A1A28;
    /* Vermelho escuro — hover/depth */
    --expo-marrom: #7A4E2D;
    /* Marrom Casca — from wood/rind textures */
    --expo-marrom-dark: #5C3A21;
    /* Marrom escuro — hover */

    /* ── Neutral Colors ── */
    --expo-branco: #FFFFFF;
    --expo-off-white: #F8F5F0;
    /* Warm off-white (leite inspiration) */
    --expo-cinza-light: #E8E3DC;
    /* Warm gray */
    --expo-cinza: #999089;
    /* Medium gray */
    --expo-cinza-dark: #54595F;
    /* Text gray (from 2025 site) */
    --expo-preto: #1A1714;
    /* Rich black (warm) */

    /* ── Semantic Colors ── */
    --expo-primary: var(--expo-vermelho);
    --expo-secondary: var(--expo-azul);
    --expo-accent: var(--expo-bege);
    --expo-success: #4A6B2A;
    /* Green — for medals/awards */
    --expo-gold: #D4A843;
    /* Gold — for Ouro medal */
    --expo-silver: #A8A8A8;
    /* Silver — for Prata medal */
    --expo-bronze: #CD7F32;
    /* Bronze — for Bronze medal */

    /* ── Typography ── */
    --font-heading: 'DM Serif Display', 'Georgia', serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;

    /* ── Font Weights ── */
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    /* ── Font Sizes (Fluid — clamp) ── */
    --fs-hero: clamp(2.8rem, 5vw, 4.5rem);
    --fs-h1: clamp(2.2rem, 4vw, 3.5rem);
    --fs-h2: clamp(1.8rem, 3vw, 2.5rem);
    --fs-h3: clamp(1.4rem, 2.5vw, 1.8rem);
    --fs-h4: clamp(1.1rem, 2vw, 1.4rem);
    --fs-body: clamp(0.95rem, 1.2vw, 1.1rem);
    --fs-small: clamp(0.8rem, 1vw, 0.9rem);
    --fs-caption: 0.75rem;

    /* ── Spacing Scale ── */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 1rem;
    /* 16px */
    --space-md: 1.5rem;
    /* 24px */
    --space-lg: 2.5rem;
    /* 40px */
    --space-xl: 4rem;
    /* 64px */
    --space-2xl: 6rem;
    /* 96px */
    --space-section: clamp(3rem, 8vw, 6rem);

    /* ── Border Radius ── */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* ── Shadows ── */
    --shadow-sm: 0 1px 3px rgba(26, 23, 20, 0.08);
    --shadow-md: 0 4px 12px rgba(26, 23, 20, 0.1);
    --shadow-lg: 0 8px 24px rgba(26, 23, 20, 0.12);
    --shadow-xl: 0 16px 40px rgba(26, 23, 20, 0.16);

    /* ── Transitions ── */
    --transition-fast: 150ms ease;
    --transition-base: 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 500ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* ── Layout ── */
    --container-max: 1200px;
    --container-wide: 1400px;
}

/* ═══════════════════════════════════════════════
   Base Typography
   ═══════════════════════════════════════════════ */

body {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--expo-cinza-dark);
    background-color: var(--expo-branco);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-regular);
    line-height: 1.2;
    color: var(--expo-preto);
    margin-top: 0;
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

h4 {
    font-size: var(--fs-h4);
}

a {
    color: var(--expo-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--expo-vermelho-dark);
}

/* ═══════════════════════════════════════════════
   Utility Classes
   ═══════════════════════════════════════════════ */

.expo-container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-md);
}

.expo-section {
    padding-block: var(--space-section);
}

.expo-bg-dark {
    background-color: var(--expo-preto);
    color: var(--expo-off-white);
}

.expo-bg-dark h1,
.expo-bg-dark h2,
.expo-bg-dark h3 {
    color: var(--expo-branco);
}

.expo-bg-warm {
    background-color: var(--expo-off-white);
}

.expo-bg-azul {
    background-color: var(--expo-azul);
    color: var(--expo-branco);
}

.expo-bg-vermelho {
    background-color: var(--expo-primary);
    color: var(--expo-branco);
}

/* ═══════════════════════════════════════════════
   Button System
   ═══════════════════════════════════════════════ */

.expo-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-body);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-small);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.expo-btn-primary {
    background: var(--expo-primary);
    color: var(--expo-branco);
    border-color: var(--expo-primary);
}

.expo-btn-primary:hover {
    background: var(--expo-vermelho-dark);
    border-color: var(--expo-vermelho-dark);
    color: var(--expo-branco);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.expo-btn-secondary {
    background: transparent;
    color: var(--expo-primary);
    border-color: var(--expo-primary);
}

.expo-btn-secondary:hover {
    background: var(--expo-primary);
    color: var(--expo-branco);
}

.expo-btn-accent {
    background: var(--expo-bege);
    color: var(--expo-preto);
    border-color: var(--expo-bege);
}

.expo-btn-accent:hover {
    background: var(--expo-bege-light);
    border-color: var(--expo-bege-light);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════
   Medals (Concurso)
   ═══════════════════════════════════════════════ */

.expo-medal-ouro {
    color: var(--expo-gold);
}

.expo-medal-prata {
    color: var(--expo-silver);
}

.expo-medal-bronze {
    color: var(--expo-bronze);
}

/* ═══════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════ */

@media (max-width: 768px) {
    :root {
        --space-section: 3rem;
    }
}