/* Estilos para o site da Conterra Agronegocios */

/* Variáveis de cores baseadas no logotipo */
:root {
    --dark-green: #006400;
    --light-green: #7CFC00;
    --white: #FFFFFF;
    --gray: #F5F5F5;
    --dark-gray: #333333;
    --gradient: linear-gradient(to right, var(--dark-green), var(--light-green));
}

/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-green);
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

section {
    padding: 80px 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #005000;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark-green);
    border: 2px solid var(--dark-green);
}

.btn-secondary:hover {
    background-color: var(--dark-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* Header e navegação */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    gap: 100px;
}

.logo img {
    height: 60px;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu li {
    margin-left: 0;
}

.menu a {
    font-weight: 600;
    color: var(--dark-gray);
    position: relative;
    padding-bottom: 5px;
}

.menu a:hover {
    color: var(--dark-green);
}

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

.menu a:hover::after {
    width: 100%;
}

.mobile-menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero section */
.hero {
    color: var(--white);
    text-align: center;
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

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



.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Intro section */
.intro {
    background-color: var(--white);
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Products highlight section */
.products-highlight {
    background-color: var(--gray);
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.product-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-icon {
    font-size: 3rem;
    color: var(--dark-green);
    margin-bottom: 20px;
}

.products-cta {
    margin-top: 40px;
}

/* Differentials section */
.differentials {
    background-color: var(--white);
    text-align: center;
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.differential-card {
    padding: 20px;
    transition: transform 0.3s ease;
}

.differential-card:hover {
    transform: translateY(-5px);
}

.differential-icon {
    font-size: 2.5rem;
    color: var(--dark-green);
    margin-bottom: 15px;
}

/* About section */
.about {
    background-color: var(--gray);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.mission-vision-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mission, .vision, .values {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.values ul {
    list-style: disc;
    padding-left: 20px;
}

.values li {
    margin-bottom: 8px;
}

/* Products section */
.products {
    background-color: var(--white);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 60px 0;
    align-items: center;
}

.product-detail.reverse {
    direction: rtl;
}

.product-detail.reverse .product-info {
    direction: ltr;
}

.product-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-info h4 {
    margin-top: 20px;
}

.product-info ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.product-info .btn {
    margin-top: 20px;
}

/* Services section */
.services {
    background-color: var(--gray);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: var(--dark-green);
    margin-bottom: 20px;
}

/* Contact section */
.contact {
    background-color: var(--white);
}

.contact-content {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.contact-form {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

.contact-info i {
    color: var(--dark-green);
    margin-right: 10px;
}

.contact-info p {
    margin-bottom: 15px;
}

.map {
    margin-top: 30px;
}

.map-placeholder {
    background-color: var(--gray);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 60px 0 20px;
    margin: 0;
    width: 100%;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo img {
    height: 80px;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
}

.footer-links h4,
.footer-social h4,
.footer-contact h4 {
    color: var(--white);
    margin-bottom: 20px;
}

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

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: #FFFFFF !important;
    font-size: 24px;
}

.social-icons a i {
    color: #FFFFFF !important;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

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

.footer-legal {
    display: flex;
    gap: 20px;
}

/* Botões de redes sociais na seção de contato */
.social-media-buttons {
    margin: 30px 0;
}

.social-media-buttons h4 {
    margin-bottom: 15px;
    color: var(--dark-green);
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.facebook-btn {
    background-color: #1877f2;
}

.whatsapp-btn {
    background-color: #25d366;
}

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

/* Botão flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* Responsividade */
@media (max-width: 992px) {
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .product-detail.reverse {
        direction: ltr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        margin: 10px 0;
    }
    
    .mobile-menu-icon {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding-bottom: 20px;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    footer {
        padding-bottom: 30px;
        margin-bottom: 0 !important;
    }
    
    body {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .mission-vision-values {
        grid-template-columns: 1fr;
    }
    
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    * {
        max-width: 100%;
    }
    
    footer {
        margin: 0 !important;
        padding-bottom: 20px !important;
    }
    
    html, body {
        overflow-y: auto !important;
        overflow-x: hidden !important;
        height: auto !important;
    }
}



/* Botão flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Ajuste responsivo para mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}



/* Correção para remover espaço em branco no mobile */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        margin: 0;
        padding: 0;
    }
    
    body {
        display: block;
    }
    
    * {
        max-width: 100%;
    }
    
    .container {
        overflow-x: hidden;
    }
}

