:root {
    --primary-green: #B3E67C;
    --primary-hover: #a1d16c;
    --deep-green: #11332A;
    --text-dark: #11332A;
    --text-body: #4A5568;
    --bg-light: #ffffff;
    --white: #FFFFFF;

    --font-main: 'Poppins', sans-serif;

    --container-width: 1200px;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ================= HEADER ================= */
header {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 0.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 48px);
    max-width: var(--container-width);
    margin: 0 auto;
    position: fixed;
    top: 26px;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

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

.nav-links {
    display: flex;
    gap: 32px;
    letter-spacing: -0.3px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--deep-green);
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-only {
    display: none;
}

.nav-links a {
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.btn-dark {
    background-color: var(--deep-green);
    letter-spacing: -0.7px;
    color: var(--white);
    padding: 14px 30px;
    border-radius: 5px;
    font-weight: 500;
    transition: auto;
}

.btn-dark:hover {
    background-color: #0b231c;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--deep-green);
    padding: 16px 24px;
    border-radius: 40px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s, transform 0.2s;
}

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

.text-primary {
    color: var(--primary-green);
    letter-spacing: -0.3px;
}

.hero {
    background-size: cover;
    background-position: center bottom;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-bottom: 60px;
    border-radius: 8px;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    padding-top: 140px;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 1100px;
    margin: 40px auto;
}

.hero-content h1 {
    font-size: 54px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 32px;
    letter-spacing: -1.4px;
    color: white;
}

.hero-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    max-width: 750px;
    margin: 0 auto;
}

.hero-action p {
    font-size: 18px;
    color: #ffffff;
    letter-spacing: -0.8px;
    font-weight: 400;
    text-align: right;
    margin: 0;
    flex: 1;
    text-align: left;
}

.hero-action .btn-hero {
    flex-shrink: 0;
}

.btn-hero {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 60px 22px 60px;
    text-decoration: none;
    color: var(--deep-green);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -1px;
    background: transparent;
    z-index: 1;
}

.btn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--primary-green);
    border-radius: 50px;
    z-index: -1;
    -webkit-mask-image: radial-gradient(circle at bottom center, transparent 16px, black 18px);
    mask-image: radial-gradient(circle at bottom center, transparent 16px, black 16px);
}

.icon-circle-floating {
    position: absolute;
    width: 28px;
    height: 28px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 50%;
    transform: translateX(-50%);
    bottom: -14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: #1B3326;
}

.hero-cards-wrapper {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    padding: 0 32px;
}

.hero-glass-card {
    max-width: 450px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero-glass-card img {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
}

.glass-content h3 {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.8px;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.3;
}

.glass-content p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    line-height: 1.4;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.8px;
}

/* ================= SECTIONS LAYOUT ================= */
.section-padding {
    padding: 30px 10px;
    margin-top: 10px;
}

.diferencial-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.card-dark {
    background: var(--deep-green) url('../img/fundo-card.webp') center / cover no-repeat;
    color: var(--white);
    padding: 48px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.card-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(17, 51, 42, 0.85);
    z-index: 0;
}

.card-dark>* {
    position: relative;
    z-index: 1;
}

.card-dark h2 {
    font-size: 38px;
    font-weight: 500;
    letter-spacing: -1.2px;
    line-height: 1.2;
    margin-bottom: 32px;
}

.card-dark p.subtitle {
    font-size: 20px;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.card-dark h3 {
    font-size: 20px;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.card-dark ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 40px;
}

.card-dark li {
    font-size: 20px;
    letter-spacing: -1px;
    position: relative;
    padding-left: 20px;
}

.card-dark li::before {
    content: "•";
    color: var(--primary-green);
    font-size: 24px;
    line-height: 1;
    position: absolute;
    left: 0;
    top: -2px;
}

.card-primary {
    background: var(--primary-green);
    border-radius: 8px;
    position: relative;
    overflow: visible;
    min-height: 350px;
}

.card-primary img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    max-height: 120%;
    /* Vaza para cima */
    z-index: 1;
}

.pill {
    background: #00B171;
    color: white;
    padding: 8px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 14px;
    position: absolute;
    z-index: 2;
    white-space: nowrap;
}

.pill-left {
    top: 160px;
    left: 20px;
}

.pill-right {
    top: 200px;
    right: 20px;
}

.pill.dark {
    background: var(--deep-green);
}

/* ================= AMEAÇA E SEGURANÇA ================= */
.ameaca-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: center;
    padding-left: 15px;
}

.ameaca-content h2 {
    font-size: 48px;
    font-weight: 400;
    letter-spacing: -1.2px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.text-muted {
    font-size: 16px;
    color: var(--text-body);
    margin-bottom: 40px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.icon-circle {
    width: 48px;
    height: 48px;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item p {
    font-size: 15px;
    line-height: 1.5;
}

.ameaca-image {
    display: flex;
    justify-content: flex-end;
}

.ameaca-image img {
    border-radius: 8px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================= BENEFÍCIOS - 4 CARDS ================= */
.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.beneficio-card {
    background: #E8F5D6;
    border-radius: 8px;
    padding: 100px 28px;
    text-align: center;
    transition: transform 0.3s;
}

/* Cores variadas para cada card */
.beneficio-card:nth-child(1) {
    background: #E8F5D6;
    /* Verde claro */
}

.beneficio-card:nth-child(2) {
    background: #F0F7E8;
    /* Verde bem suave */
}

.beneficio-card:nth-child(3) {
    background: #D4EDBA;
    /* Verde médio */
}

.beneficio-card:nth-child(4) {
    background: #E0F0CF;
    /* Verde intermediário */
}

.beneficio-card:hover {
    transform: translateY(-4px);
}

.beneficio-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.beneficio-card h4 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
    color: var(--deep-green);
}

.beneficio-card p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
}

/* ================= SAFRA SECTION ================= */
.safra-section {
    text-align: center;
}

.safra-titulo {
    font-size: 48px;
    font-weight: 400;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 48px;
    color: var(--deep-green);
}

.safra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 0 10px;
}

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

.safra-content {
    text-align: left;
}

.safra-content p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-body);
    margin-bottom: 24px;
}

.safra-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.safra-content li {
    font-size: 16px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.safra-content li::before {
    content: "•";
    color: var(--primary-green);
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

/* ================= FORMULÁRIO ================= */
.contato {
    background: var(--deep-green) url('../img/fundo-card.webp') center / cover no-repeat;
    color: var(--white);
    padding: 100px 0;
    position: relative;
}

.contato::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(17, 51, 42, 0.88);
}

.contato>* {
    position: relative;
    z-index: 1;
}

.form-wrapper {
    background: var(--white);
    border-radius: 8px;
    padding: 48px;
    max-width: 1000px;
    margin: 0 auto;
    color: var(--text-dark);
}

.form-heading {
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -1px;
    font-weight: 400;
}

.form-heading h2 {
    font-size: 36px;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

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

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

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-green);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
}

.checkbox-group label {
    font-weight: 500;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 18px;
    letter-spacing: -1px;
    border-radius: 6px;
}

/* ================= FOOTER ================= */
.site-footer {
    background: var(--deep-green);
    color: var(--white);
    padding: 60px 24px 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-logo img {
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-green);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-col li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer-col li a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: var(--primary-green);
    font-weight: 600;
    transition: opacity 0.3s;
}

.footer-bottom a:hover {
    opacity: 0.8;
}

/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: var(--deep-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    background-color: #1a4a3e;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {

    /* Typografia Mobile */
    h1 {
        font-size: 34px !important;
    }

    p {
        font-size: 16px !important;
    }

    /* Header & Navegação App-like */
    header.container {
        flex-direction: row;
        gap: 16px;
        padding: 14px 16px;
        justify-content: space-between;
        top: 24px;
        left: 16px;
        right: 16px;
        width: auto;
        margin: 0;
        max-width: none;
        box-sizing: border-box;
    }

    .logo img {
        height: 48px;
    }

    .menu-toggle {
        display: block;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: inline-flex;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        left: 0;
        width: auto;
        height: auto;
        background: var(--white);
        letter-spacing: -1px;
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 8px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        padding: 32px 24px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.98);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .nav-links a {
        font-size: 20px;
        font-weight: 600;
        color: var(--deep-green);
        font-weight: 500;
    }

    .nav-links a.btn-dark {
        color: var(--white);
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero {
        padding-top: 100px;
    }

    .icon-circle-floating {
        width: 44px;
        height: 44px;
        bottom: -22px;
    }

    .icon-circle-floating svg {
        width: 28px;
        height: 28px;
    }

    /* Hero Cards */
    .hero-cards-wrapper {
        gap: 16px;
        margin-top: 40px;
    }

    .hero-cards-wrapper .hero-glass-card:nth-child(2) {
        display: none;
    }

    .hero-glass-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .hero-glass-card img {
        width: 100%;
        height: 200px;
        margin-bottom: 20px;
    }

    /* Grids (Stack vertical) */
    .diferencial-grid,
    .ameaca-grid,
    .safra-grid,
    .form-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Ajustes Específicos */
    .diferencial-grid {
        margin-top: -30px;
    }

    /* Ajuste de interseção no mobile */
    .card-primary,
    .card-dark {
        padding: 24px;
        border-radius: 8px;
    }

    .form-wrapper {
        padding: 24px;
        border-radius: 8px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .card-dark {
        margin-bottom: 30px;
    }


    /* Benefícios */
    .beneficios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .beneficio-card {
        padding: 32px 24px;
        margin-left: 10px;
        margin-right: 10px;
    }

    /* Alinhamentos */
    .safra-content,
    .hero-action {
        text-align: center;
        margin-left: 10px;
        margin-right: 10px;
    }

    .hero-action {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .hero-action p {
        text-align: center;
    }

    .safra-content ul {
        align-items: flex-start;
        text-align: left;
    }

    .ameaca-image {
        justify-content: center;
        margin-top: 18px;
        margin-right: 10px;
    }

    /* Footer */
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-logo img {
        display: block;
        margin: 0 auto 24px auto;
    }

    .footer-desc {
        text-align: center;
        margin: 0 auto;
    }

    .footer-col ul {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ================= MODAL COTAÇÃO ================= */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-container .form-wrapper {
    margin: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--deep-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.modal-close:hover {
    background-color: #0b231c;
    transform: scale(1.1);
}

/* Modal Responsive */
@media (max-width: 992px) {
    .modal-overlay {
        padding: 16px;
        align-items: flex-start;
        padding-top: 60px;
    }
    
    .modal-container {
        max-height: calc(100vh - 80px);
    }
    
    .modal-container .form-wrapper {
        padding: 24px;
        margin: 0;
    }
    
    .modal-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
}