/* ========================================
   HERO SECTION - MOBILE-FIRST
   ======================================== */

/* Mobile base */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #F5E6D3 0%, #E8D5C4 50%, #D4C5B0 100%);
    padding: 6rem 1rem 3rem; /* Mobile: menos padding */
}

/* Animated background pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(96, 108, 56, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(96, 108, 56, 0.05) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
}

/* Mobile: 1 coluna, texto acima */
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

/* Desktop: 2 colunas lado a lado */
@media (min-width: 1024px) {
    .hero {
        min-height: 90vh;
        padding: 8rem 2rem 4rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

/* Text animations */
.hero-label {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-title .highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    right: 0;
    height: 0.15em;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    animation: underline 0.8s ease 1s forwards;
}

@keyframes underline {
    to { transform: scaleX(1); }
}

.hero-description {
    font-size: 1.125rem; /* Mobile: 18px */
    line-height: 1.7;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.2rem;
        line-height: 1.8;
    }
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    justify-content: center; /* Mobile: centralizado */
}

@media (min-width: 1024px) {
    .hero-ctas {
        justify-content: flex-start; /* Desktop: alinhado à esquerda */
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Image - Mobile First */
.hero-image {
    position: relative;
    opacity: 0;
    animation: fadeInRight 1s ease 0.4s forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(96, 108, 56, 0.2),
        0 0 0 1px rgba(96, 108, 56, 0.05);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

@media (hover: hover) {
    .hero-image-card:hover {
        transform: rotate(0deg) scale(1.02);
    }
}

/* Mobile: imagem menor */
.hero-image-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Desktop: imagem maior */
@media (min-width: 768px) {
    .hero-image-card img {
        height: 600px;
    }
}

/* Decorative elements */
.hero-image-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% { transform: translateX(-100%) rotate(45deg); }
    50% { transform: translateX(100%) rotate(45deg); }
}

.hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(96, 108, 56, 0.4), transparent);
    pointer-events: none;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards, bounce 2s ease 2s infinite;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.hero-scroll svg {
    animation: arrow-down 1.5s ease infinite;
}

@keyframes arrow-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* Mobile: centralizar texto */
.hero-text {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: left;
    }
}

/* Mobile: remover parallax (performance) */
@media (max-width: 768px) {
    .parallax-card {
        animation: none !important;
    }
}

/* Desktop: manter parallax */
@media (min-width: 769px) and (prefers-reduced-motion: no-preference) {
    .parallax-card {
        animation: parallaxFloat 6s ease-in-out infinite;
    }
}

@keyframes parallaxFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

