/* 
* Artica - Site One-Page
* Cores principais baseadas no logo oficial da Artica:
* - Azul-escuro: #1A4B6D
* - Azul-médio: #3A6F9E
* - Azul-claro: #7AABD4
*/

/* ===== RESET E ESTILOS GERAIS ===== */
:root {
    --primary: #3A6F9E;
    --primary-dark: #1A4B6D;
    --primary-light: #7AABD4;
    --secondary: #E8F0F7;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --white: #FFFFFF;
    --black: #000000;
    --gray-light: #F5F5F5;
    --gray-medium: #E0E0E0;
    --gray-dark: #CCCCCC;
    --success: #3A6F9E;
    --danger: #dc3545;
    --warning: #1A4B6D;
    --info: #7AABD4;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(even) {
    background-color: var(--secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.section-divider span {
    display: inline-block;
    width: 80px;
    height: 3px;
    background-color: var(--primary);
    position: relative;
}

.section-divider span::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--primary-dark);
    left: -50px;
    top: 0;
}

.section-divider span::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--primary-dark);
    right: -50px;
    top: 0;
}

.section-header p {
    font-size: 1.2rem;
    color: #000;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== BOTÕES ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 10px 25px;
}

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

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ===== HEADER E NAVEGAÇÃO ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo img {
    height: 100px;
    transition: all 0.3s ease;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-link {
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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

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

.nav-link.active {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    transition: all 0.3s ease;

    
}

/* ===== HERO SECTION ===== */
.hero-section {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(26, 75, 109, 0.8), rgba(58, 111, 158, 0.8)), url('../img/v2/silos-agricolas-exterior-edificio.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    color: var(--white);
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-section h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--white);
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

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

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background-color: var(--white);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

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

/* ===== SOBRE SECTION ===== */
.sobre-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 60px;
}

.sobre-text {
    flex: 1;
    padding: 0 20px;
}

.sobre-image {
    flex: 1;
    padding: 0 20px;
}

.sobre-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);    
}

.sobre-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 60px;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
    margin: 10px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--text-medium);
}

/* ===== DIFERENCIAIS SECTION ===== */
.diferenciais-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.diferencial-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.diferencial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.diferencial-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.diferencial-card:hover .diferencial-icon {
    transform: scale(1.2);
}

.diferencial-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ===== PRODUTOS SECTION ===== */
.produtos-tabs {
    margin-bottom: 60px;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 25px;
    margin: 5px;
    background-color: transparent;
    border: 2px solid var(--primary);
    border-radius: 30px;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

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

.produtos-swiper {
    overflow: hidden;
    padding: 20px 0 60px;
}

.produto-card {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.produto-image {
    height: 300px;
    overflow: hidden;
}

.produto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.produto-card:hover .produto-image img {
    transform: scale(1.05);
}

.produto-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.produto-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.produto-info p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.swiper-pagination {
    bottom: 0 !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--primary);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--primary);
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary) !important;
}

/* ===== APLICAÇÕES SECTION ===== */
.aplicacoes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.aplicacao-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-color: var(--white);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.aplicacao-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.aplicacao-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.aplicacao-card:hover .aplicacao-icon {
    transform: scale(1.2);
}

.aplicacao-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* ===== PROJETOS SECTION ===== */
.projetos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.projeto-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.projeto-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.projeto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.projeto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 95, 109, 0.8), rgba(42, 126, 140, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.projeto-item:hover .projeto-image img {
    transform: scale(1.1);
}

.projeto-item:hover .projeto-overlay {
    opacity: 1;
}

.projeto-info {
    text-align: center;
    padding: 20px;
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.projeto-item:hover .projeto-info {
    transform: translateY(0);
    opacity: 1;
}

.projeto-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--white);
}

.projeto-info p {
    margin-bottom: 20px;
}

/* ===== DEPOIMENTOS SECTION ===== */
.depoimentos-section {
    //background-color: var(--secondary);
}

.depoimentos-swiper {
    padding-bottom: 60px;
}

.depoimento-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 20px;
    position: relative;
}

.depoimento-quote {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.2;
}

.depoimento-text {
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    padding-left: 20px;
}

.depoimento-autor {
    display: flex;
    align-items: center;
}

.autor-info {
    flex: 1;
}

.autor-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.autor-info p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 0;
}

/* ===== CONTATO SECTION ===== */
.contato-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.contato-info {
    flex: 1;
    min-width: 300px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 8px;
    padding: 40px;
}

.contato-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--white);
    position: relative;
    padding-bottom: 15px;
}

.contato-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--white);
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--white);
}

.info-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--white);
}

.info-text p {
    opacity: 0.8;
    margin-bottom: 5px;
}

.social-links {
    margin-top: 30px;
}

.social-links h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--white);
}

.social-icons {
    display: flex;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--white);
    transform: translateY(-5px);
}

.social-icon i {
    color: var(--white);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover i {
    color: var(--primary);
}

.contato-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contato-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contato-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
    width: 48%;
    display: inline-block;
    margin-right: 2%;
}

.form-group.full-width {
    width: 100%;
    margin-right: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-medium);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(42, 126, 140, 0.2);
    outline: none;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: 0;
}

.map-container {
    width: 100%;
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo, .footer-links, .footer-produtos, .footer-contato {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-logo img {
    height: 100px;
    margin-bottom: 15px;
}

.footer-logo p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
    bottom: 0;
    left: 0;
}

.footer-links ul li, .footer-produtos ul li {
    margin-bottom: 10px;
}

.footer-links ul li a, .footer-produtos ul li a {
    color: var(--white);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover, .footer-produtos ul li a:hover {
    opacity: 1;
    color: var(--primary);
    padding-left: 5px;
}

.footer-contato p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-contato i {
    margin-right: 10px;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
}

.footer-legal a {
    color: var(--white);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    opacity: 1;
    color: var(--primary);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    color: var(--white);
}




/* ===== RESPONSIVIDADE ===== */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 992px;
    }
}

@media screen and (max-width: 992px) {
    .container {
        max-width: 768px;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .sobre-text h3, .sobre-image {
        margin-bottom: 30px;
    }
    
    .projetos-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .container {
        max-width: 576px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        background-color: var(--white);
        height: calc(100vh - 80px);
        width: 70%;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: all 0.5s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;*/
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .sobre-content, .contato-container {
        flex-direction: column;
    }
    
    .sobre-image {
        order: -1;
    }
    
    .form-group {
        width: 100%;
        margin-right: 0;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .footer-legal {
        margin-top: 15px;
    }
}

@media screen and (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1.3rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .stat-item {
        flex: 0 0 100%;
    }
    
    .projetos-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .footer-content > div {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-legal {
        flex-direction: column;
    }
    
    .footer-legal a {
        margin: 10px 0;
    }
}

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

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

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.5s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 0.5s ease forwards;
}

.zoom-in {
    animation: zoomIn 0.5s ease forwards;
}



/* ===== Qualidade ===== */
.qualidade-section { background:#f9f9f9; }
.qualidade-grid {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:32px;
  align-items:stretch;
}
.qualidade-card {
  background:#fff;
  border-radius:12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  padding:28px 22px;
  text-align:center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.qualidade-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.1);
}
.qualidade-card img {
  max-width:140px;
  height:auto;
  margin:0 auto 14px;
  filter: grayscale(100%);
  transition: filter .25s ease;
}
.qualidade-card:hover img { filter: grayscale(0%); }
.qualidade-card h3 {
  font-size:1.1rem;
  margin:8px 0 6px;
  color:#333;
  font-weight:600;
}
.qualidade-card p {
  font-size:.98rem;
  color:#555;
  line-height:1.55;
}

/* Responsivo */
@media (max-width: 992px) {
  .qualidade-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .qualidade-grid { grid-template-columns: 1fr; }
}



.hero-section {
  background: linear-gradient(rgba(26, 75, 109, 0.8), rgba(58, 111, 158, 0.8)), url('../img/v2/silos-agricolas-exterior-edificio.jpg');
  background-size: cover;
}

.produtos-section {
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(248, 249, 250, 0.95)),
    url('../img/v2/13.jpeg'); /* sua imagem de fundo */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 60px 20px;
  text-align: center;
}

.sobre-section {
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(248, 249, 250, 0.95)),
    url('../img/v2/background1.jpg'); /* sua imagem de fundo */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding: 60px 20px;
  text-align: center;
}

/* ===== Produto Visual (galeria com 3 thumbs + 1 hero) ===== */
/* Agora a galeria ocupa 100% do card */
.pv-grid {
  display: grid;
  grid-template-columns: 100px auto; /* miniaturas menores, foto ocupa todo resto */
  gap: 16px;
  align-items: start;
  width: 100%;
}

/* se quiser ainda mais espaço para a foto */
@media (min-width: 992px){
  .pv-grid {
    grid-template-columns: 80px 1fr; /* thumbs bem estreitas, foto 100% */
  }
}



.pv-thumbs{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding: 10px;;
  margin-top: 20px;
}
.pv-thumb{
  display:block;
  padding: 0px;;
  border:none;
  background:transparent;
  cursor:pointer;
  border-radius:14px;
  overflow:hidden;
  outline:none;
  box-shadow:0 0 0 2px transparent;
  transition: box-shadow .2s ease;
}
.pv-thumb.is-active{ box-shadow:0 0 0 2px var(--primary); }
.pv-thumb:focus-visible{ box-shadow:0 0 0 3px var(--primary-dark); }

.pv-thumb img{
  display:block;
  width:100%;
  aspect-ratio: 1 / 1;
  object-fit:cover;
  filter:brightness(.9);
  transition: transform .2s ease, filter .2s ease;
}
.pv-thumb:hover img{ transform:scale(1.03); filter:brightness(1); }

.pv-hero{
  margin: 20px;;
  border-radius:14px;
  overflow:hidden;
  background:#f3f6f9;
}


/* foto grande em largura total */
.pv-hero img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9; /* ajusta altura */
  cursor: pointer;
}


/* responsivo */
@media (max-width: 900px){
  .pv-grid{ grid-template-columns: 1fr; }
  .pv-thumbs{ flex-direction:row; }
  .pv-thumb img{ aspect-ratio: 4 / 3; }
}

/* opcional: harmoniza o card quando usa a galeria */
.produto-card{ padding-bottom: 10px; }


/* força cada slide a ocupar 100% */
.produtos-swiper .swiper-slide {
  width: 100% !important;
  max-width: 100% !important;
}


.produto-card {
  max-width: 1200px; /* ou 100% para usar toda a tela */
  margin: 10 auto;    /* centraliza o card */
}


/* =========================
   GALERIA (thumbs em 2 colunas + hero menor)
   ========================= */

/* grid geral da galeria: thumbs (esq) + foto grande (dir) */
.pv-grid{
  display: grid;
  grid-template-columns: 240px 1fr; /* dá mais espaço às thumbs, reduz o hero */
  gap: 16px;
  align-items: start;
  width: 100%;
}
@media (min-width: 1200px){
  .pv-grid{ grid-template-columns: 280px 1fr; }
}
@media (max-width: 992px){
  .pv-grid{ grid-template-columns: 200px 1fr; }
}

/* thumbs agora em DUAS colunas */
.pv-thumbs{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 10px;
  margin-top: 8px;
  max-height: 440px;     /* limita a altura e cria scroll se houver muitas */
  overflow: auto;
  scrollbar-width: thin; /* Firefox */
}
.pv-thumb{
  display: block;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  outline: none;
  box-shadow: 0 0 0 2px transparent;
  transition: box-shadow .2s ease;
}
.pv-thumb.is-active{ box-shadow: 0 0 0 2px var(--primary); }
.pv-thumb:focus-visible{ box-shadow: 0 0 0 3px var(--primary-dark); }

.pv-thumb img{
  width: 100%;
  aspect-ratio: 1 / 1;     /* quadradinhas */
  object-fit: cover;
  filter: brightness(.9);
  transition: transform .2s ease, filter .2s ease;
  display: block;
}
.pv-thumb:hover img{
  transform: scale(1.03);
  filter: brightness(1);
}

/* foto principal (hero) um pouco mais baixa */
.pv-hero{
  margin: 8px 0 0;
  border-radius: 14px;
  overflow: hidden;
  background: #f3f6f9;
}
.pv-hero img{
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 7;  /* antes 16/9 — deixa a foto menos alta */
}

/* responsivo: no mobile as thumbs viram faixa rolável horizontal */
@media (max-width: 900px){
  .pv-grid{ grid-template-columns: 1fr; }
  .pv-thumbs{
    grid-template-columns: repeat(4, 80px);
    grid-auto-rows: 80px;
    grid-auto-flow: column;  /* distribui para o lado */
    overflow: auto;
    max-height: none;
    gap: 10px;
  }
  .pv-thumb img{ aspect-ratio: 1 / 1; }
  .pv-hero img{ aspect-ratio: 16 / 9; } /* dá um pouco mais de altura no mobile */
}

/* força cada slide do Swiper a ocupar 100% da largura */
.produtos-swiper .swiper-slide{
  width: 100% !important;
  max-width: 100% !important;
}

/* corrige centralização do card (e o bug margin: 10 auto) */
.produto-card{
  max-width: 1200px;
  margin: 10px auto;
}


/* ===== LIGHTBOX ===== */
.img-modal{
  display:none; position:fixed; inset:0; z-index:9999;
  background:rgba(0,0,0,.85);
  padding:40px 60px; box-sizing:border-box;
}
.img-modal[aria-hidden="false"]{ display:block; }

.img-modal-content{
  display:block; margin:0 auto; border-radius:12px;
  max-width: min(1200px, 92vw);
  max-height: 90vh; object-fit:contain; box-shadow:0 10px 40px rgba(0,0,0,.5);
  animation: modalZoom .18s ease-out;
}
@keyframes modalZoom{ from{transform:scale(.96); opacity:0} to{transform:scale(1); opacity:1} }

.img-modal-close{
  position:absolute; top:14px; right:18px;
  font-size:40px; line-height:1; color:#fff; background:none; border:0; cursor:pointer;
}
.img-modal-nav{
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(255,255,255,.14); color:#fff; border:0; cursor:pointer;
  width:44px; height:72px; border-radius:10px; font-size:28px;
  display:flex; align-items:center; justify-content:center;
}
.img-modal-nav:hover{ background:rgba(255,255,255,.22); }
.img-modal-nav.prev{ left:14px; }
.img-modal-nav.next{ right:14px; }

@media (max-width: 720px){
  .img-modal{ padding:28px 16px; }
  .img-modal-nav{ width:38px; height:60px; font-size:24px; }
  .img-modal-close{ font-size:34px; }
}
