/* ============================================
   VARIÁVEIS E CORES
   ============================================ */
:root {
    /* Cores da marca */
    --primary: #5AA046;
    --primary-dark: #12742E;
    --accent: #F58634;
    --accent-light: #E67A2D;
    
    /* Cores neutras */
    --background: #fafaf8;
    --foreground: #1a1a18;
    --secondary: #f0ede6;
    --muted: #999999;
    --border: #e5e0d8;
    
    /* Tipografia */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Espaçamento */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    /* Transições */
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* ============================================
   RESET E ESTILOS GLOBAIS
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
}

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

button {
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

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

/* ============================================
   LAYOUT CONTAINER
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ============================================
   GRID SYSTEM
   ============================================ */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
    
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ============================================
   NAVEGAÇÃO
   ============================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(250, 250, 248, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(250, 250, 248, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.nav-brand:hover {
    transform: scale(1.05);
}

.logo {
    height: 3rem;
    width: auto;
    transition: var(--transition);
}

.nav-brand:hover .logo {
    transform: scale(1.1);
}

.brand-text {
    display: none;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--accent);
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

@media (min-width: 640px) {
    .brand-text {
        display: block;
    }
}

.nav-menu {
    display: none;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    cursor: pointer;
}

.hamburger span {
    width: 1.5rem;
    height: 2px;
    background-color: var(--foreground);
    transition: var(--transition);
}

@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663399278448/bE2RvNj3zGxPPRRZdwgMyx/hero-queijo-mucarel-3bm6uWaFQAqcJUsDY7DwuT.webp');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.hero-logo {
    height: 8rem;
    width: auto;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.hero-logo:hover {
    transform: scale(1.1);
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-dot {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid white;
    border-radius: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 0.5rem;
}

.scroll-dot::before {
    content: '';
    width: 0.25rem;
    height: 0.5rem;
    background-color: white;
    border-radius: 0.125rem;
    animation: scroll-bounce 2s infinite;
}

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

@keyframes scroll-bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ============================================
   SEÇÕES
   ============================================ */
.section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 0;
    }
}

@media (min-width: 1024px) {
    .section {
        padding: 8rem 0;
    }
}

.section-light {
    background: linear-gradient(to bottom, rgba(240, 237, 230, 0.5), var(--background));
}

.section-trabalhe {
    background: linear-gradient(to right, rgba(245, 134, 52, 0.1), rgba(90, 160, 70, 0.1), rgba(245, 134, 52, 0.1));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted);
    max-width: 48rem;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    padding: 2rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.5rem);
}

.card-icon {
    position: relative;
    margin-bottom: 1rem;
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(245, 134, 52, 0.2);
    border-radius: 50%;
    filter: blur(8px);
    transition: var(--transition);
}

.card:hover .card-icon::before {
    filter: blur(16px);
}

.icon {
    width: 3rem;
    height: 3rem;
    color: var(--accent);
    position: relative;
    z-index: 10;
    transition: var(--transition);
}

.card:hover .icon {
    transform: scale(1.1) rotate(12deg);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
    transition: var(--transition);
}

.card:hover .card-title {
    color: var(--accent);
}

.card-text {
    color: var(--muted);
    transition: var(--transition);
}

.card:hover .card-text {
    color: var(--foreground);
}

/* ============================================
   BOTÕES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-light);
    box-shadow: 0 10px 15px rgba(245, 134, 52, 0.3);
    transform: scale(1.05);
}

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

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 10px 15px rgba(90, 160, 70, 0.3);
    transform: scale(1.05);
}

.btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.btn-whatsapp {
    padding: 1rem 2rem;
}

/* ============================================
   HISTÓRIA
   ============================================ */
.historia-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.historia-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.historia-content p {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.8;
    transition: var(--transition);
}

.historia-content p:hover {
    color: var(--foreground);
}

.highlight {
    font-weight: 600;
    color: var(--foreground);
}

.highlight:hover {
    color: var(--accent);
}

/* ============================================
   IMAGENS
   ============================================ */
.image-container {
    position: relative;
    height: 24rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.image-container:hover {
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.image-hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.image-container:hover .image-hover {
    transform: scale(1.1);
}

.image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 134, 52, 0.2) 0%, rgba(90, 160, 70, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-container:hover::after {
    opacity: 1;
}

.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

@media (min-width: 768px) {
    .order-1 {
        order: 1;
    }
    
    .order-2 {
        order: 2;
    }
}

/* ============================================
   PRODUTOS
   ============================================ */
.produtos-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.subsection-title {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.produtos-description {
    font-size: 1.125rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.produtos-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.produto-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(to right, rgba(240, 237, 230, 0.5), rgba(240, 237, 230, 0.3));
    border-radius: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.produto-item:hover {
    background: linear-gradient(to right, rgba(245, 134, 52, 0.2), rgba(90, 160, 70, 0.2));
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.produto-size {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
    transition: var(--transition);
}

.produto-item:hover .produto-size {
    transform: scale(1.1);
}

.produto-label {
    font-weight: 600;
    color: var(--foreground);
    transition: var(--transition);
}

.produto-item:hover .produto-label {
    color: var(--accent);
}

/* ============================================
   QUALIDADE
   ============================================ */
.qualidade-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qualidade-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.step:hover {
    padding-left: 2rem;
}

.step-title {
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
    transition: var(--transition);
}

.step:hover .step-title {
    color: var(--accent);
}

.step-text {
    color: var(--muted);
    transition: var(--transition);
}

.step:hover .step-text {
    color: var(--foreground);
}

/* ============================================
   CONTATO
   ============================================ */
.contact-card {
    padding: 2rem;
    background: linear-gradient(135deg, white, rgba(240, 237, 230, 0.3));
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.contact-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-0.5rem);
}

.contact-icon {
    position: relative;
    margin-bottom: 1rem;
}

.contact-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(245, 134, 52, 0.2);
    border-radius: 50%;
    filter: blur(8px);
    transition: var(--transition);
}

.contact-card:hover .contact-icon::before {
    filter: blur(16px);
}

.contact-icon .icon {
    position: relative;
    z-index: 10;
}

.contact-title {
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
    transition: var(--transition);
}

.contact-card:hover .contact-title {
    color: var(--accent);
}

.contact-text {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

.contact-link {
    color: var(--accent);
    font-weight: 500;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--accent-light);
}

.contact-button-container {
    text-align: center;
    margin-top: 2rem;
}

/* ============================================
   TRABALHE CONOSCO
   ============================================ */
.trabalhe-content {
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
}

.trabalhe-description {
    font-size: 1.125rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.trabalhe-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .trabalhe-buttons {
        flex-direction: row;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(to right, rgba(90, 160, 70, 0.1), rgba(240, 237, 230, 0.5), rgba(90, 160, 70, 0.1));
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-weight: bold;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-subtitle {
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.footer-text {
    color: var(--muted);
    font-size: 0.875rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.875rem;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 767px) {
    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 1rem;
        background-color: white;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 40;
    }
}

/* ============================================
   ANIMAÇÕES
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}
