/* ==========================================================================
   RESET & VARIÁVEIS BASE
   ========================================================================== */
:root {
    /* Paleta de Cores Premium Agro - ZT Sementes Atualizada */
    --primary: #3a3f81;
    --primary-dark: #2a2e63;
    --secondary: #4a4f9a;
    --accent: #3fbced;
    --accent-hover: #2ea8d9;
    --dark: #0D0F1A;
    --dark-elevated: #16182B;
    --light: #F5F3EE;
    --white: #FFFFFF;
    --text-main: #1A1A2E;
    --text-light: #E0DFD8;
    --text-muted: #8A8A9E;
    
    /* Tipografia */
    --font-display: 'Syne', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Dimensões Layout */
    --container-width: 1280px;
    --header-height: 90px;
    --topbar-height: 40px;
    
    /* Efeitos */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Sombras Premium */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-btn: 0 10px 20px -5px rgba(63, 188, 237, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--primary);
    letter-spacing: -0.01em;
}

.subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--accent);
    font-style: italic;
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

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

li {
    list-style: none;
}

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

.icon-small {
    width: 16px;
    height: 16px;
}

/* ==========================================================================
   LAYOUT CONTAINERS & HELPERS
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 8rem 0;
}

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

.title-display {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-display span {
    color: var(--accent);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
}

/* ==========================================================================
   BOTÕES (Buttons)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 0; /* Layout quadrático mais tecnológico/ John Deere estilo */
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255,255,255,0.1);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:hover::before {
    transform: translateY(0);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--dark);
    box-shadow: var(--shadow-btn);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 15px 30px -5px rgba(201, 150, 12, 0.4);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--dark);
    border-color: var(--white);
}

/* ==========================================================================
   HEADER & TOP BAR (Aprimorados)
   ========================================================================== */
/* Top Bar */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--text-light);
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.5px;
    position: absolute; /* Para rolar junto com a página */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.top-bar-contact {
    display: flex;
    gap: 2rem;
}

.top-bar-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

.top-bar-contact a:hover {
    opacity: 1;
    color: var(--accent);
}

.top-bar-social {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-bar-social span {
    opacity: 0.6;
    margin-right: 0.5rem;
}

.top-bar-social a {
    opacity: 0.8;
    display: flex;
    align-items: center;
}

.top-bar-social a:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateY(-2px);
}

/* Main Header */
header {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    background: linear-gradient(to bottom, rgba(13, 15, 26, 0.9) 0%, rgba(13, 15, 26, 0) 100%);
    border-bottom: 1px solid transparent;
}

header.scrolled {
    top: 0;
    background-color: rgba(13, 15, 26, 0.98);
    backdrop-filter: blur(12px);
    height: 75px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links li a {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links li a:hover {
    color: var(--white);
}

.nav-links li a:hover::before {
    width: 100%;
}

.nav-cta {
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
    border-radius: 2px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--dark);
    overflow: hidden;
    padding-top: calc(var(--header-height) + var(--topbar-height));
    padding-bottom: 250px; /* Space for scroll indicator and stats overlap */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(58, 63, 129, 0.3) 0%, var(--dark) 80%);
    z-index: 1;
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    z-index: 2;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25; /* Mais escuro para destacar o texto */
    z-index: 0;
}

.hero-graphic {
    position: absolute;
    right: -10%;
    top: -10%;
    width: 60%;
    height: 120%;
    background: linear-gradient(135deg, rgba(63, 188, 237, 0.05), rgba(58, 63, 129, 0.2));
    transform: rotate(15deg);
    filter: blur(80px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1300px; /* Expandido para suportar duas colunas */
    width: 100%;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.hero-text-main {
    flex: 1.2;
}

.hero-text-secondary {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 5rem; /* Alinha visualmente com o peso da tipografia à esquerda */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1.4rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px; /* Square pattern John Deere style */
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.hero-badge:hover {
    border-color: var(--accent);
    background: rgba(255,255,255,0.1);
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 0; /* Square / Diamond */
    transform: rotate(45deg);
    box-shadow: 0 0 15px var(--accent);
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: -2px;
    line-height: 0.95;
    font-weight: 800;
}

.hero-title span {
    color: var(--accent);
    display: block; /* Make it a signature line */
    font-style: italic;
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0;
    font-size: 1.25em; /* Aumentado para dar mais destaque */
    line-height: 1;
    margin-top: 0.5rem;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.85;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 5;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
    0% { transform: translate(-50%, 0); opacity: 0; }
    30% { opacity: 1; }
    60% { transform: translate(-50%, 15px); opacity: 0; }
    100% { transform: translate(-50%, 0); opacity: 0; }
}

.m-scroll-arrows {
    display: block;
    width: 5px;
    height: 5px;
    transform: rotate(45deg);
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    margin: 0 0 3px 4px;
    width: 14px;
    height: 14px;
}

.t-1 { animation: mouseArrows 2s infinite; animation-delay: 0.1s; }
.t-2 { animation: mouseArrows 2s infinite; animation-delay: 0.2s; }
.t-3 { animation: mouseArrows 2s infinite; animation-delay: 0.3s; }

@keyframes mouseArrows {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* ==========================================================================
   STATS SECTION (Refined)
   ========================================================================== */
.stats {
    background-color: transparent;
    position: relative;
    z-index: 20;
    margin-top: -160px; /* Bring it into the hero section to see the hero bg */
}

.stats-container {
    background: rgba(13, 15, 26, 0.88); /* Mais escuro para garantir leitura na transição do escuro pro claro */
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.08); /* Highlight sutil */
    padding: 5rem 3rem;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6); /* Sombra dramática pra flutuar */
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.stats-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background-color: var(--accent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.stat-item {
    text-align: left;
    padding-left: 2rem;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: baseline;
}

.stat-number .prefix, .stat-number .suffix {
    color: var(--accent);
    font-family: var(--font-serif);
    font-style: italic;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8); /* Clareado para mais contraste */
    max-width: 150px;
    line-height: 1.4;
}

/* ==========================================================================
   SOBRE NÓS (Asymmetric Editorial Layout)
   ========================================================================== */
.about {
    position: relative;
    background: var(--light);
    padding: 8rem 0;
}

.about-bg-decoration {
    position: absolute;
    top: 0; right: 0;
    width: 40%; height: 100%;
    background-color: #EFEDE7; /* Ligeiramente mais escuro que o bg light */
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.about-visual {
    position: sticky;
    top: calc(var(--header-height) + 4rem);
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 125%; /* 4:5 aspect ratio */
}

/* Logo Styles */
.logo img, .footer-logo img {
    height: 50px;
    width: auto;
    display: block;
}

header.scrolled .logo img {
    height: 45px;
}

.about-image-main {
    position: absolute;
    inset: 0;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-slider {
    display: flex;
    width: 600%; /* 6 images */
    height: 100%;
    animation: slideAbout 30s infinite ease-in-out;
}

.about-slider img {
    width: 16.666%; /* 1/6 of container */
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes slideAbout {
    0%, 13.33% { transform: translateX(0); }
    16.66%, 30% { transform: translateX(-16.666%); }
    33.33%, 46.66% { transform: translateX(-33.333%); }
    50%, 63.33% { transform: translateX(-50%); }
    66.66%, 80% { transform: translateX(-66.666%); }
    83.33%, 96.66% { transform: translateX(-83.333%); }
    100% { transform: translateX(0); }
}

.about-accent-box {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background-color: var(--accent);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-family: var(--font-display);
    font-weight: 800;
    padding: 2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: var(--shadow-md);
}

.about-text .subtitle {
    margin-bottom: 1.5rem;
}

.about-text h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 3rem;
    color: var(--dark);
}

.about-lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 2rem;
    border-left: 2px solid var(--accent);
    padding-left: 2rem;
}

.about-content {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2.5rem;
    column-count: 1;
}

.missao-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.missao-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.missao-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.missao-item h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.missao-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================================================
   PRODUTOS SECTION (Refined)
   ========================================================================== */
.products {
    background-color: var(--dark);
    color: var(--white);
    position: relative;
    padding: 8rem 0;
}

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

.product-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 3.5rem 3rem;
    position: relative;
    transition: var(--transition);
}

.product-card:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.product-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
    color: var(--white);
}

.product-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

.product-features {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-bottom: 3rem;
}

.feature-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.feature-label {
    font-weight: 500;
    color: var(--text-muted);
}

.feature-value {
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
}

.feature-highlight {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(63, 188, 237, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* ==========================================================================
   TSI (Advanced Technology Focus)
   ========================================================================== */
.tsi {
    background-color: var(--primary);
    background-image: radial-gradient(circle at 100% 0%, var(--secondary) 0%, var(--primary) 70%);
    color: var(--white);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.tsi::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4v-4H4v4H0v2h4v4h2v-4h4v-2H6zm30 0v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.tsi-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.tsi-content h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
}

.tsi-content .lead {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 3rem;
}

.tsi-features {
    display: grid;
    gap: 2.5rem;
}

.tsi-features li {
    display: flex;
    gap: 1.5rem;
    padding-left: 0;
}

.tsi-features li i {
    width: 56px;
    height: 56px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    position: relative;
    top: 0;
}

.tsi-features li strong {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    display: block;
}

.tsi-features li p {
    font-size: 1rem;
    opacity: 0.7;
}

.tsi-tech {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tsi-machine-display {
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

.machine-img {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    margin-bottom: 2.5rem;
    /* Adicionando um sombreamento para dar volume na máquina e parece integrada ao painel escuro */
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4));
    transition: transform 0.5s ease;
}

.tsi-machine-display:hover .machine-img {
    transform: translateY(-5px) scale(1.02);
}

.machine-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.machine-logos img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    /* Mantendo transparência pra não brigar com a máquina */
    opacity: 0.8; 
    transition: opacity 0.3s;
}

.machine-logos img:hover {
    opacity: 1;
}

.tech-card {
    background: var(--dark);
    padding: 3.5rem 3rem;
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.tech-card h3 {
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.tech-card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.tech-ui-lines {
    position: absolute;
    top: 2rem; right: 2rem;
    display: flex;
    gap: 4px;
}

.tech-ui-lines span {
    width: 20px; height: 2px;
    background: var(--accent);
    opacity: 0.5;
}

/* ==========================================================================
   INFRAESTRUTURA (Precision & Robustness)
   ========================================================================== */
.infra {
    background-color: var(--light);
    padding: 8rem 0;
}

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

.infra-card {
    background: var(--white);
    padding: 3.5rem 2.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    transition: var(--transition);
}

.infra-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.infra-icon {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: 2rem;
}

.infra-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.infra-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ==========================================================================
   PARCEIROS (Elegant Logo Grid)
   ========================================================================== */
.partners {
    padding: 6rem 0;
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,0.05);
}

.partners h4 {
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    opacity: 0.6;
    filter: grayscale(1);
    transition: var(--transition);
}

.partners-grid:hover {
    opacity: 1;
    filter: grayscale(0);
}

.partner-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
}

/* ==========================================================================
   CONTACT & LOCALIZATION
   ========================================================================== */
.contact-section {
    background-color: var(--primary);
    background-image: linear-gradient(rgba(58, 63, 129, 0.95), rgba(58, 63, 129, 0.95)), 
                      url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm66-3c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-46-43c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm20 46c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    color: var(--white);
    position: relative;
    padding: 8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-content h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 3rem;
}

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

.contact-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon-box {
    width: 48px;
    height: 48px;
    background: rgba(201,150,12,0.1);
    border: 1px solid rgba(201,150,12,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-list strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--white);
}

.contact-list span {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.contact-map-wrapper {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: var(--dark-elevated);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.4s ease;
}

.contact-map-wrapper:hover {
    transform: translateY(-8px);
}

.contact-location-banner {
    width: 100%;
    height: 220px;
    position: relative;
    border-bottom: 3px solid var(--accent); /* Divisória elegante entre foto e mapa */
}

.contact-location-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-map {
    height: 400px;
    width: 100%;
    position: relative;
    /* Removido o overflow/border arredondado redundante, agora o wrapper pai cuida disso */
}

.contact-map iframe {
    width: 100%;
    height: 100%;
}

.map-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    box-shadow: inset 0 0 100px rgba(13, 15, 26, 0.4);
    pointer-events: none;
    z-index: 1;
}

/* ==========================================================================
   FOOTER (Refined)
   ========================================================================== */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 6rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
    gap: 6rem;
    margin-bottom: 8rem;
}

.footer-logo .brand-name {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--accent);
    display: block;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 2.5rem;
    opacity: 0.5;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.7);
}

.contact-info i {
    color: var(--accent);
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 4rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
}

/* ==========================================================================
   ANIMATIONS CLASSES
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.97); /* Mais dramático: sobe e aumenta levemente */
    filter: blur(10px); /* Começa levemente desfocado */
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), 
                transform 1s cubic-bezier(0.22, 1, 0.36, 1),
                filter 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform, filter;
}

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

/* Variação de animação que vem pelo lado esquerdo (ideal pra imagens de destaque/mapas) */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Variação de animação que vem pelo lado direito */
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1200px) {
    .stats-container {
        padding: 3rem 2rem;
    }
    
    .stats-grid {
        gap: 1rem;
    }
    
    .stat-item:not(:last-child)::after {
        right: -0.5rem;
    }
    
    .about-grid, .tsi-grid {
        gap: 4rem;
    }
}

@media (max-width: 992px) {
    .about {
        padding-top: 6rem;
        margin-top: 0;
    }
    
    .stats {
        margin-top: 0;
    }

    .stats-container {
        transform: none;
        margin: 2rem 5%;
    }

    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hero-text-secondary {
        padding-top: 0;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem 2rem;
    }
    
    .stat-item:nth-child(2)::after {
        display: none;
    }

    .about-grid, .tsi-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }

    .about-bg-decoration {
        display: none;
    }
    
    .missao-grid {
        grid-template-columns: 1fr;
    }
    
    .infra-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .contact-map {
        height: 400px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .tech-card {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none; /* Hide top bar on mobile to save space */
    }

    header {
        top: 0;
        height: 70px;
        background-color: rgba(13, 15, 26, 0.98);
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    header.scrolled {
        height: 70px;
    }

    .nav-links, .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    header.mobile-open {
        background-color: var(--dark);
        height: 100vh;
        align-items: flex-start;
        padding-top: 1rem;
    }

    header.mobile-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 5%;
        width: 90%;
        gap: 0;
    }

    header.mobile-open .nav-links li a {
        font-size: 1.25rem;
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    header.mobile-open .nav-cta {
        display: inline-flex;
        position: absolute;
        top: 380px; /* Abaixo dos links */
        left: 5%;
        width: 90%;
        justify-content: center;
    }
    
    header.mobile-open .nav-links li a::before {
        display: none;
    }

    header.mobile-open .menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    header.mobile-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    header.mobile-open .menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding-top: 80px;
    }

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

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .section-padding {
        padding: 4rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .product-card {
        padding: 2.5rem 1.5rem;
    }
}

/* Fallback para garantir visibilidade se o IntersectionObserver demorar */
@media (max-width: 768px) {
    .reveal {
        transition-duration: 0.4s;
    }
}

/* ==========================================================================
   REVENDAS (Mapa Interativo)
   ========================================================================== */
.revendas {
    background-color: var(--light);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.map-wrapper {
    width: 100%;
    height: 600px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
    background-color: #f8f9f9;
}

/* Map Grid Overlay - Atlas Style */
.map-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 400; /* Above tiles but below popups */
    background-image: 
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

#resellers-map {
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* State Labels on Map */
.map-state-label span {
    background: transparent;
    color: #8A8A9E;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    pointer-events: none;
    text-shadow: 0 0 4px rgba(255,255,255,0.8);
    opacity: 0.6;
}

.custom-zt-icon div {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.custom-zt-icon:hover div {
    transform: scale(1.4);
    background-color: #1a3a5a !important; /* Dark blue on hover */
}

/* Folhas Customizadas Leaflet */
.leaflet-container {
    font-family: var(--font-body);
}

.leaflet-popup-content-wrapper {
    border-radius: 4px;
    box-shadow: var(--shadow-md);
    padding: 0;
}

.leaflet-popup-content {
    margin: 15px;
    line-height: 1.5;
}

.custom-popup h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
    font-weight: 700;
}

.custom-popup p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.custom-popup strong {
    color: var(--primary-dark);
}

.map-info-panel {
    padding: 2rem;
    background-color: var(--light);
    border-radius: 4px;
    border-left: 3px solid var(--accent);
}

.map-info-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.map-info-panel p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.regions-covered {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
}

.region-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background-color: var(--white);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
}

.region-tag i {
    color: var(--accent);
}

.btn-modern {
    width: 100%;
    border-radius: 4px;
}

/* Responsividade Mapa */
@media (max-width: 1024px) {
    .map-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-wrapper {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .map-wrapper {
        height: 350px;
    }
}

/* ==========================================================================
   CULTIVARES SHOWCASE (Refined Premium Layout)
   ========================================================================== */
.cultivars-showcase {
    background-color: var(--dark);
    padding: 4rem 0 10rem 0;
    color: var(--white);
    position: relative;
    z-index: 10;
}

.cultivar-category {
    margin-bottom: 8rem;
}

.cultivar-category-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-family: var(--font-display);
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--white);
    letter-spacing: -3px;
    line-height: 0.8;
}

.cultivar-category-title span {
    color: var(--accent);
    font-style: italic;
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0;
    margin-left: -1rem;
}

.cultivars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
}

.cultivar-card {
    background: var(--dark-elevated);
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.cultivar-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.cultivar-brand {
    background-color: var(--primary-dark); /* Institutional Blue */
    padding: 1.5rem;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(255,255,255,0.05);
}

.cultivar-brand::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0; height: 3px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.cultivar-card:hover .cultivar-brand::after {
    width: 100%;
}

.cultivar-brand img {
    max-height: 60px;
    width: auto;
    max-width: 80%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Force white logos for contrast on blue */
}

/* Specific logos that might need original colors or better visibility */
.line-neogen img, .line-gh img, .line-stine img {
    filter: none; /* Keep original if preferred, or use brightness(1.2) */
}

.cultivar-list {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns to optimize space */
    gap: 0.5rem 1rem;
    flex-grow: 1;
}

.cultivar-list li {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.95rem; /* Aumentado de 0.8rem para preencher melhor o box */
    color: var(--text-light);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.star-active {
    color: #3fbced !important;
    fill: #3fbced !important;
    stroke: #3fbced !important; /* Lucide usa stroke para o contorno */
    width: 12px !important;
    height: 12px !important;
    filter: drop-shadow(0 0 5px rgba(63, 188, 237, 0.7));
    display: inline-block;
}

.star-hidden {
    color: rgba(255,255,255,0.05) !important;
    fill: none !important;
    stroke: rgba(255,255,255,0.05) !important;
    width: 12px !important;
    height: 12px !important;
}

@media (max-width: 768px) {
    .cultivar-category-title {
        font-size: clamp(1.8rem, 7.5vw, 2.5rem); /* Diminuído para garantir que CULTIVARES DE fique na mesma linha */
        letter-spacing: -1px;
        line-height: 1.1;
        margin-bottom: 2rem;
        padding: 0 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
    }
    .cultivar-category-title span {
        margin-left: 0;
        display: block; 
        font-size: 1.2em; /* Faz a parte em itálico um pouco maior para compensar */
    }
    .cultivar-list {
        grid-template-columns: 1fr; /* Back to one column on mobile */
    }
    .cultivars-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   LGPD COOKIE BANNER
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(13, 15, 26, 0.95);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    z-index: 9999;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    width: 90%;
    max-width: 900px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    bottom: 30px;
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cookie-icon {
    color: var(--accent);
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.cookie-content h4 {
    color: var(--white);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.cookie-content p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-actions {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        bottom: -200px;
        border-radius: 12px 12px 0 0;
        width: 100%;
    }
    .cookie-banner.show {
        bottom: 0;
    }
    .cookie-actions {
        width: 100%;
    }
    .cookie-actions button {
        width: 100%;
    }
    .cookie-content {
        align-items: flex-start;
    }
}
