/* Variáveis CSS */
:root {
    --primary-color: #2E7D32;
    --secondary-color: #4CAF50;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #1a1a1a;
    --transition: all 0.3s ease;
}

/* Reset e Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Header e Navegação */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.navbar-brand img {
    height: 50px;
    transition: var(--transition);
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* Carrossel */
.carousel-section {
    margin-top: 76px;
}

.carousel-item {
    height: 80vh;
    min-height: 500px;
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(0.7);
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.carousel-caption h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-caption .btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.carousel-caption .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Seções */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

/* Seção Quem Somos */
.sobre {
    background-color: var(--light-bg);
    position: relative;
    overflow: hidden;
}

.sobre__img-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.sobre__img-wrapper img {
    width: 100%;
    transition: var(--transition);
}

.sobre__stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(46, 125, 50, 0.9);
    padding: 1.5rem;
    display: flex;
    justify-content: space-around;
    color: white;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1rem;
    opacity: 0.9;
}

.sobre__content {
    padding: 2rem;
}

.sobre__text .lead {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.sobre__features {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Seção Agricultura */
.agricultura {
    background-color: white;
}

.agricultura__content {
    padding: 2rem;
}

.agricultura__text .lead {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.agricultura__cards {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.agricultura__cards .card {
    flex: 1;
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    min-width: 0;
}

.agricultura__cards .card:hover {
    transform: translateY(-5px);
}

.agricultura__cards .card-body {
    padding: 1.5rem;
    text-align: center;
}

.agricultura__cards i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.agricultura__cards h4 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.agricultura__cards p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.agricultura__benefits {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.agricultura__benefits h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.benefits-list i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.2rem;
}

.agricultura__img-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.agricultura__img-wrapper img {
    width: 100%;
    transition: var(--transition);
}

.agricultura__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 125, 50, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.agricultura__img-wrapper:hover .agricultura__overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.overlay-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.overlay-content p {
    margin-bottom: 1.5rem;
}

.overlay-content .btn {
    padding: 0.8rem 2rem;
    font-weight: 500;
    transition: var(--transition);
}

.overlay-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Seção de Contato */
.contato {
    background-color: var(--light-bg);
    position: relative;
}

.contato .section-title {
    margin-bottom: 1rem;
}

.contato .lead {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 3rem;
}

.formulario-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    height: 100%;
    transition: var(--transition);
}

.formulario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.formulario-header {
    text-align: center;
    margin-bottom: 2rem;
}

.formulario-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.formulario-header h3 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.formulario-header p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 0;
}

.form-floating {
    position: relative;
}

.form-floating > .form-control {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    transition: var(--transition);
}

.form-floating > textarea.form-control {
    height: 120px;
}

.form-floating > label {
    padding: 1rem 0.75rem;
    color: #6c757d;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(46, 125, 50, 0.25);
}

.form-control:focus + label,
.form-control:not(:placeholder-shown) + label {
    color: var(--primary-color);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.btn-success {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 1rem;
    font-weight: 500;
    border-radius: 10px;
    transition: var(--transition);
}

.btn-success:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.btn-success:active {
    transform: translateY(0);
}

.invalid-feedback {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Animações dos formulários */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.formulario-card {
    animation: fadeInUp 0.6s ease-out;
}

.formulario-card:nth-child(2) {
    animation-delay: 0.2s;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 4rem 0 2rem;
}

.footer h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 1s ease-out;
}

/* Media Queries */
@media (max-width: 991.98px) {
    .carousel-item {
        height: 60vh;
    }

    .carousel-caption h2 {
        font-size: 2.5rem;
    }

    .carousel-caption p {
        font-size: 1.2rem;
    }

    .sobre__stats {
        position: relative;
        margin-top: 1rem;
    }

    .sobre__features {
        flex-direction: column;
        gap: 1rem;
    }

    .feature-item {
        margin-bottom: 1rem;
    }

    .agricultura__cards {
        flex-direction: column;
        gap: 1rem;
    }

    .formulario-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .navbar-brand img {
        height: 40px;
    }

    .carousel-item {
        height: 50vh;
    }

    .carousel-caption h2 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .sobre__stats {
        position: relative;
        margin-top: 1rem;
    }

    .formulario-card {
        padding: 2rem;
    }

    .formulario-header i {
        font-size: 2rem;
    }

    .formulario-header h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .carousel-item {
        height: 40vh;
    }

    .carousel-caption h2 {
        font-size: 1.8rem;
    }

    .carousel-caption .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .sobre__features {
        gap: 1rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .feature-item i {
        font-size: 2rem;
    }

    .agricultura__cards .card-body {
        padding: 1rem;
    }

    .formulario-card {
        padding: 1.5rem;
    }

    .form-floating > .form-control {
        height: calc(3rem + 2px);
        padding: 0.75rem;
    }

    .form-floating > label {
        padding: 0.75rem;
    }

    .btn-success {
        padding: 0.75rem;
    }
}

.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: 2.5rem;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    text-decoration: none;
}
.whatsapp-float:hover {
    background-color: #128c7e;
    color: #fff;
    text-decoration: none;
}