/* 
   Avivar - Raízes que Alimentam
   Design System & Base Styles
*/

:root {
    /* Brand Colors */
    --primary-red: #B91C1C;
    --support-orange: #F97316;
    --bg-beige: #FDFCF8;
    --text-earth: #2C1810;
    --text-muted: #4B3621;
    
    /* Typography */
    --font-serif: "Playfair Display", serif;
    --font-sans: "Inter", sans-serif;
    
    /* Shadows & Transitions */
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.inline-logo {
    height: 1.25em; /* Proporcional à altura da fonte */
    vertical-align: middle;
    display: inline-block;
    margin-left: 0.3em;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}


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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-beige);
    color: var(--text-earth);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Global Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('assets/hero-bg.png') no-repeat center center/cover;
    color: #fff;
    padding: 0 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(44, 24, 16, 0.4) 0%,
        rgba(44, 24, 16, 0.7) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-logos-trio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.logo-divider-v2 {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-brand-logo-v2 {
    max-width: 180px;
}

.hero-partner-logo-v2 {
    max-width: 90px;
}

.chef-text-logo {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    letter-spacing: 0.25em;
    color: #EADFC9;
    text-transform: uppercase;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 700;
    font-style: italic;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-red);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #991b1b;
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-outline-red {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

.btn-outline-red:hover {
    background: var(--primary-red);
    color: #fff;
}

/* Sections */
.story-section {
    padding: 120px 0;
}

.story-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.section-title-serif {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-earth);
    margin-bottom: 1.5rem;
}

.story-divider {
    width: 60px;
    height: 3px;
    background: var(--support-orange);
    margin: 0 auto 2.5rem;
}

.story-description {
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
}

.highlight-block {
    background: rgba(249, 115, 22, 0.05);
    border-left: 4px solid var(--support-orange);
    padding: 1.5rem 2rem;
    margin: 2.5rem auto;
    font-style: italic;
    max-width: 600px;
}

.image-frame {
    border-radius: 12px;
    overflow: hidden;
    transform: rotate(2deg);
}

.story-img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: block;
}

/* Premium Prizes */
.prizes-section-premium {
    padding: 120px 0;
    background-color: #2C1810;
    color: #fff;
}

.prizes-badge {
    color: var(--support-orange);
    letter-spacing: 0.3em;
    font-size: 0.8rem;
}

.prizes-divider {
    width: 60px;
    height: 3px;
    background: var(--support-orange);
    margin: 1.5rem auto 0;
}

.prizes-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin: 4rem 0;
}

.prize-card-v2 {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(234, 223, 201, 0.15);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.prize-icon-v2 {
    color: var(--support-orange);
    margin-bottom: 2rem;
}

.prize-value-v2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
}

.prizes-footer-v2 {
    text-align: center;
    margin-top: 3rem;
}

.how-it-works-footer {
    text-align: center;
    margin-top: 3rem;
}

/* How it Works */
.how-it-works {
    padding: 120px 0;
    background-color: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.step-card {
    padding: 3rem 2rem;
    border: 1px solid rgba(44, 24, 16, 0.1);
    text-align: center;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.step-icon {
    color: var(--primary-red);
    margin-bottom: 2rem;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    color: var(--primary-red);
    opacity: 0.15;
    margin-bottom: 0.5rem;
}

/* Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .prizes-grid-v2, .steps-grid, .story-grid {
        grid-template-columns: 1fr;
    }
}
