/* ==========================================================================
   Base Styles & Reset
   ========================================================================== */

   :root {
    --primary-color: #f5ad27; /* Amarelo/Laranja Logo */
    --primary-dark: #e49b1e;
    --text-color: #3E2723; /* Marrom escuro Logo */
    --text-light: #6e5854;
    --bg-color: #faf9f7;
    --white: #ffffff;
    --border-radius-lg: 24px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --shadow-soft: 0 10px 40px rgba(62, 39, 35, 0.08);
    --shadow-hover: 0 15px 50px rgba(245, 173, 39, 0.15);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
    font-size: 1.2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(245, 173, 39, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 173, 39, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--text-color);
}

.btn-outline:hover {
    background-color: var(--text-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-soft);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo .agro {
    color: var(--primary-color);
    text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000; /* Simulated stroke */
}

.logo .show {
    color: var(--white);
    background-color: var(--text-color);
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 4px;
    transform: skewX(-10deg);
    display: inline-block;
}

.desktop-nav {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

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

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

/* ==========================================================================
   Hero Banner Slider
   ========================================================================== */
.hero-slider-section {
    padding-top: 72px; /* Espaço pro navbar no desktop */
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-color);
}

.hero-slider-container {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.hero-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.hero-slide {
    min-width: 100%;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide picture img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    color: var(--text-color);
}

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

.slider-btn i {
    font-size: 1.5rem;
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ==========================================================================
   Products / Services
   ========================================================================== */
.products {
    padding: 100px 0;
    background-color: var(--white);
}

.section-heading {
    margin-bottom: 60px;
    max-width: 600px;
}

.section-heading.center {
    margin: 0 auto 60px auto;
    text-align: center;
}

.section-heading h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-heading p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--bg-color);
    padding: 40px 32px;
    border-radius: var(--border-radius-lg);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: var(--white);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    margin-bottom: 24px;
    transition: transform 0.4s ease;
    mix-blend-mode: multiply;
}

.product-card:hover .card-img {
    transform: scale(1.03);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.product-card p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-weight: 600;
}

.card-link i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.product-card:hover .card-link i {
    transform: translateX(5px);
}

/* ==========================================================================
   Banner Aesthetic
   ========================================================================== */
.banner-aesthetic {
    padding: 100px 0;
    background-color: var(--text-color);
    color: var(--white);
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.aesthetic-carousel-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transform: rotate(-2deg);
    overflow: hidden;
    background-color: #000;
}

.aesthetic-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.aesthetic-slide.active {
    opacity: 1;
}

.banner-text h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 32px;
}

.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.check-list i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* ==========================================================================
   Brands Marquee
   ========================================================================== */
.brands {
    padding: 80px 0;
    background-color: var(--white);
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    display: flex;
    overflow: hidden;
    user-select: none;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    animation: scroll 30s linear infinite;
    gap: 80px;
    padding: 0 40px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
    /* -50% because the content is duplicated to allow seamless looping */
}

.brand-item {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.brand-item:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #2D1B18; /* Marrom ainda mais escuro */
    color: var(--white);
    padding: 80px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.logo-footer .agro {
    text-shadow: none;
}

.footer-desc {
    margin-top: 24px;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.7);
    max-width: 400px;
}

.socials {
    display: flex;
    gap: 16px;
}

.socials a {
    width: 44px;
    height: 44px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.socials a:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.footer-contact h3 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.7);
}

.footer-contact i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ==========================================================================
   Floating WhatsApp Button
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 64px;
    height: 64px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 5px 25px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
    animation-play-state: paused;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-15px);}
    60% {transform: translateY(-7px);}
}

/* ==========================================================================
   Responsive Utilities / Media Queries
   ========================================================================== */
@media (max-width: 992px) {
    .banner-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .banner-grid {
        text-align: center;
    }
    .aesthetic-carousel-wrapper {
        grid-row: 2; /* Move image below text on mobile */
    }
    .check-list li {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-content {
        justify-content: center;
    }
    .desktop-nav, .nav-btn {
        display: none; /* simple mobile: hide links, keep whatsapp float */
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
}
