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

:root {
    --verde-escuro: #006633;
    --verde-medio: #00994D;
    --verde-claro: #33B366;
    --amarelo: #FFD700;
    --amarelo-claro: #FFEB3B;
    --branco: #FFFFFF;
    --cinza-claro: #F8F9FA;
    --cinza-medio: #E9ECEF;
    --texto-escuro: #1A1A1A;
    --texto-medio: #4A4A4A;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--texto-escuro);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header e Navegação */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 102, 51, 0.1);
    height: 60px;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--texto-medio);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--verde-medio);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--verde-medio);
}

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

/* Menu Hambúrguer - Sempre oculto em desktop */
@media (min-width: 969px) {
    .menu-toggle {
        display: none !important;
    }
}

/* Menu Hambúrguer - Visível em mobile */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.3s ease;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--verde-escuro);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 4rem 4rem;
    background: var(--branco);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo-container {
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease, float 6s ease-in-out 0.8s infinite;
}

.hero-main-logo {
    width: 100%;
    max-width: 2000px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 102, 51, 0.15));
}

.hero-text-container {
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-title {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    margin: 0;
    letter-spacing: -0.5px;
}

.title-line:first-child {
    color: var(--verde-escuro);
    font-weight: 600;
}

.title-line:last-child {
    color: var(--verde-medio);
    font-weight: 600;
}

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

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

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--texto-medio);
    margin-bottom: 0;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--verde-medio);
    color: var(--branco);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--verde-escuro);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 153, 77, 0.2);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-40px);
    }
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background: var(--cinza-claro);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--cinza-claro);
    color: var(--verde-medio);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--verde-escuro);
    letter-spacing: -1px;
}

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

.about-paragraph {
    font-size: 1.15rem;
    color: var(--texto-medio);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--amarelo);
    text-shadow: 2px 2px 0 var(--verde-escuro);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--texto-medio);
    font-weight: 500;
}

.about-image .image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--verde-medio) 0%, var(--verde-claro) 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 102, 51, 0.2);
}

.banana-plantation {
    background: linear-gradient(135deg, rgba(0, 102, 51, 0.9) 0%, rgba(51, 179, 102, 0.9) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23228B22" width="1200" height="800"/><path fill="%23006633" opacity="0.3" d="M0,400 Q300,350 600,400 T1200,400 L1200,800 L0,800 Z"/><path fill="%2332CD32" opacity="0.2" d="M0,500 Q300,450 600,500 T1200,500 L1200,800 L0,800 Z"/></svg>');
    background-size: cover;
    background-position: center;
}

.plantation-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    z-index: 1;
}

.image-overlay {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.overlay-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
    opacity: 0.4;
    filter: brightness(0) invert(1);
}

/* Products Section */
.products {
    padding: 6rem 2rem;
    background: var(--branco);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.product-card {
    background: var(--branco);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid var(--cinza-medio);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--verde-claro);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, #FFE135 0%, #FDB931 100%);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: url('assets/simbolo.png') center/contain no-repeat;
    opacity: 0.15;
    filter: brightness(0);
}

.product-image-2 {
    background: linear-gradient(135deg, #8DB600 0%, #6B8E23 100%);
}

.product-image-3 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--branco);
    color: var(--verde-medio);
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--verde-escuro);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--texto-medio);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.product-features {
    list-style: none;
}

.product-features li {
    padding: 0.5rem 0;
    color: var(--texto-medio);
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--verde-medio);
    font-weight: bold;
}

.volume-info {
    margin-top: 4rem;
}

.volume-card {
    background: var(--verde-medio);
    color: var(--branco);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

.volume-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.volume-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.volume-card p {
    font-size: 1.15rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background: var(--branco);
}

.contact-content {
    max-width: 700px;
    margin: 3rem auto 0;
    text-align: left;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--verde-escuro);
    margin-bottom: 1.5rem;
}

.contact-description {
    color: var(--texto-medio);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

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

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--verde-escuro);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--texto-medio);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #25D366;
    color: var(--branco);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.whatsapp-link:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Form */
.contact-form {
    background: var(--cinza-claro);
    padding: 3rem;
    border-radius: 24px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--verde-escuro);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid transparent;
    border-radius: 12px;
    background: var(--branco);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--verde-medio);
    box-shadow: 0 0 0 4px rgba(0, 153, 77, 0.1);
}

.submit-button {
    width: 100%;
    padding: 1.25rem;
    background: var(--verde-medio);
    color: var(--branco);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--verde-escuro);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 102, 51, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* Invoice Data Section */
.invoice-data {
    padding: 6rem 2rem;
    background: var(--cinza-claro);
}

.invoice-intro {
    text-align: center;
    font-size: 1.15rem;
    color: var(--texto-medio);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.invoice-card {
    background: var(--branco);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--cinza-medio);
    transition: all 0.3s ease;
}

.invoice-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border-color: var(--verde-claro);
}

.invoice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.invoice-card h3 {
    font-size: 1.3rem;
    color: var(--verde-escuro);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.invoice-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.invoice-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cinza-medio);
    position: relative;
}

.invoice-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.invoice-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--texto-medio);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.invoice-value {
    font-size: 1.1rem;
    color: var(--texto-escuro);
    font-weight: 500;
}

.cnpj-highlight {
    color: var(--verde-medio);
    font-weight: 700;
    font-size: 1.25rem;
}

.copy-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--verde-claro);
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.copy-btn:hover {
    background: var(--verde-medio);
    transform: translateY(-50%) scale(1.1);
}

.copy-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.invoice-notice {
    background: var(--amarelo-claro);
    padding: 2.5rem;
    border-radius: 16px;
    display: flex;
    gap: 2rem;
    align-items: start;
    border: 1px solid var(--amarelo);
}

.notice-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.notice-content h4 {
    font-size: 1.5rem;
    color: var(--verde-escuro);
    margin-bottom: 1rem;
}

.notice-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.notice-content li {
    color: var(--texto-escuro);
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.notice-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--verde-medio);
    font-weight: bold;
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: var(--texto-escuro);
    color: var(--branco);
    padding: 2rem 2rem 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    margin-top: 0.75rem;
    opacity: 0.8;
    font-size: 0.95rem;
}

.logo-image {
    height: 60px;
    width: auto;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-links a {
    color: var(--branco);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 4rem 1rem 3rem;
    }

    .hero-main-logo {
        max-width: 100%;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-logo-container {
        margin-bottom: 0.5rem;
    }

    .hero-text-container {
        margin-bottom: 0.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .header {
        height: 60px;
    }

    .nav {
        height: 60px;
    }

    .hero-circle {
        width: 350px;
        height: 350px;
    }

    .hero-circle::before {
        font-size: 10rem;
    }

    .about-content,
    .contact-content,
    .invoice-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .invoice-notice {
        flex-direction: column;
        gap: 1rem;
    }

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

    .nav-links {
        gap: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .invoice-card {
        padding: 1.5rem;
    }

    .invoice-card h3 {
        font-size: 1.2rem;
    }

    .invoice-value {
        font-size: 0.95rem;
        word-break: break-word;
    }

    .invoice-icon {
        font-size: 2.5rem;
    }

    .invoice-data {
        padding: 4rem 1rem;
    }
}

@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--branco);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        overflow-y: auto;
        z-index: 999;
        animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
        from {
            transform: translateX(100%);
        }
        to {
            transform: translateX(0);
        }
    }

    .nav-links li {
        margin-bottom: 0;
        padding: 1.5rem 0;
        border-bottom: 2px solid var(--cinza-medio);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        font-size: 1.3rem;
        color: var(--verde-escuro);
        font-weight: 600;
    }

    .nav-links a::after {
        display: none;
    }

    .logo-image {
        height: 100px;
    }
}

@media (max-width: 640px) {
    .hero-main-logo {
        max-width: 100%;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero {
        padding: 3.5rem 0.5rem 2.5rem;
    }

    .hero-logo-container {
        margin-bottom: 0.25rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .menu-toggle {
        padding: 0.75rem;
    }

    .menu-toggle span {
        width: 26px;
        height: 3px;
    }

    .invoice-card {
        padding: 1.25rem;
    }

    .invoice-card h3 {
        font-size: 1.1rem;
    }

    .invoice-label {
        font-size: 0.75rem;
    }

    .invoice-value {
        font-size: 0.9rem;
    }

    .cnpj-highlight {
        font-size: 1.1rem;
    }

    .invoice-row {
        padding-bottom: 0.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .invoice-data {
        padding: 3rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .invoice-intro {
        font-size: 1rem;
    }

    .copy-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }

    .invoice-row {
        padding-right: 3.5rem;
    }

    .invoice-grid {
        gap: 1.5rem;
    }
}

/* Menu Overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Suporte iOS/Safari específico */
@supports (-webkit-touch-callout: none) {
    .menu-toggle {
        -webkit-appearance: none;
        appearance: none;
    }

    .nav-links {
        -webkit-overflow-scrolling: touch;
    }

    .header {
        -webkit-backface-visibility: hidden;
    }
}
