/* FlexNeem — Bioinsumos de Neem
   Identidade: orgânica, folha e terra. Verde mata #1E3B2A, broto #4C7A3F,
   lima #A8C24B, papel #F2F0E4, terra #7A5C3E.
   Fontes: Rufina (display) · Karma (texto) · League Spartan (labels) */

:root {
    --mata: #1E3B2A;
    --broto: #4C7A3F;
    --lima: #A8C24B;
    --papel: #F2F0E4;
    --terra: #7A5C3E;
    --white: #FFFFFF;
    --ink: #26332A;
    --muted: #5D6B5E;
    --line: #D9D6C3;
    --display: 'Rufina', serif;
    --body: 'Karma', serif;
    --label: 'League Spartan', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    background: var(--papel);
    color: var(--ink);
    line-height: 1.72;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.24;
    color: var(--mata);
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.05rem; margin-bottom: 1rem; }
h3 { font-size: 1.28rem; }

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

.container { width: min(1120px, 92%); margin: 0 auto; }
.container.narrow { max-width: 840px; }

.eyebrow {
    font-family: var(--label);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--broto);
    margin-bottom: 0.6rem;
}

.section-intro { max-width: 620px; color: var(--muted); margin-bottom: 2.2rem; }

/* ============ HEADER ============ */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    background: rgba(30, 59, 42, 0.96);
    z-index: 1000;
    border-bottom: 4px solid var(--lima);
    transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(20, 38, 27, 0.45); }

.header-inner {
    width: min(1240px, 94%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 70px;
}

.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-leaf {
    width: 30px; height: 30px;
    background: var(--lima);
    border-radius: 0 60% 60% 60%;
    transform: rotate(45deg);
    box-shadow: inset -4px -4px 0 var(--broto);
}
.brand-name {
    font-family: var(--display);
    font-size: 1.35rem;
    color: var(--papel);
    letter-spacing: 0.03em;
}
.brand-name em { font-style: normal; color: var(--lima); }

.nav { margin-left: auto; display: flex; gap: 1.4rem; }
.nav a {
    text-decoration: none;
    color: #D4DCCE;
    font-weight: 700;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}
.nav a:hover { color: var(--lima); }

.header-cta {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--mata);
    background: var(--lima);
    padding: 0.68rem 1.35rem;
    border-radius: 999px;
    transition: background 0.25s ease, transform 0.2s ease;
}
.header-cta:hover { background: var(--papel); transform: translateY(-2px); }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px; height: 44px;
    background: rgba(242, 240, 228, 0.1);
    border: 1px solid rgba(168, 194, 75, 0.5);
    border-radius: 50%;
    cursor: pointer;
    margin-left: auto;
}
.menu-toggle span {
    display: block;
    width: 18px; height: 2px;
    background: var(--papel);
    margin: 0 auto;
    transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(168, 194, 75, 0.28), transparent 65%),
        radial-gradient(700px 380px at -10% 110%, rgba(76, 122, 63, 0.30), transparent 60%),
        var(--mata);
    padding: 8.2rem 0 5.4rem;
}
.hero-inner {
    width: min(1180px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}
.hero .eyebrow { color: var(--lima); }
.hero h1 { color: var(--papel); }
.hero .lead { color: #C5D0C4; font-size: 1.06rem; margin: 1.2rem 0 1.8rem; max-width: 520px; }

.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.btn {
    display: inline-block;
    font-family: var(--label);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    padding: 0.85rem 1.7rem;
    border-radius: 999px;
    transition: transform 0.2s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--lima); color: var(--mata); }
.btn-solid:hover { background: var(--papel); }
.btn-ghost { border: 1px solid var(--lima); color: var(--lima); }
.btn-ghost:hover { background: var(--lima); color: var(--mata); }

.hero-points {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.6rem;
    margin-top: 1.9rem;
}
.hero-points li {
    font-size: 0.92rem;
    font-weight: 700;
    color: #D4DCCE;
    padding-left: 1.5rem;
    position: relative;
}
.hero-points li::before {
    content: '🌿';
    position: absolute;
    left: 0;
}

.hero-visual { position: relative; }
.hero-visual img {
    border-radius: 46% 54% 52% 48% / 42% 46% 54% 58%;
    border: 5px solid rgba(168, 194, 75, 0.55);
}
.hero-chip {
    position: absolute;
    right: 4%;
    bottom: -18px;
    font-family: var(--label);
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    background: var(--terra);
    color: var(--papel);
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
}

/* ============ SOBRE ============ */
.about { background: var(--papel); padding: 5.5rem 0; }
.about-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3rem;
    align-items: center;
}
.about-photo img {
    border-radius: 54% 46% 44% 56% / 48% 52% 48% 52%;
    border: 5px solid var(--lima);
}
.about-copy p { margin-bottom: 1.1rem; color: var(--muted); }
.about-copy p:first-of-type { color: var(--ink); }

/* ============ PRODUTOS ============ */
.products { background: var(--white); padding: 5.5rem 0; }
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.product-card {
    background: var(--papel);
    border: 1px solid var(--line);
    border-radius: 26px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
    transform: translateY(-6px) rotate(-0.5deg);
    box-shadow: 0 22px 44px rgba(30, 59, 42, 0.16);
}
.product-media { margin: 0; }
.product-media img { width: 100%; height: 210px; object-fit: cover; }
.product-body { padding: 1.5rem 1.6rem 1.8rem; }
.product-tag {
    display: inline-block;
    font-family: var(--label);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--papel);
    background: var(--terra);
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
}
.product-body h3 { margin-bottom: 0.55rem; }
.product-body > p { color: var(--muted); font-size: 0.94rem; margin-bottom: 0.9rem; }
.product-body ul { list-style: none; }
.product-body li {
    font-size: 0.9rem;
    padding: 0.32rem 0 0.32rem 1.35rem;
    position: relative;
    border-bottom: 1px dashed var(--line);
}
.product-body li:last-child { border-bottom: 0; }
.product-body li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.78em;
    width: 9px; height: 9px;
    background: var(--lima);
    border-radius: 60% 40% 55% 45%;
}

/* ============ CALCULADORA ============ */
.dilution { background: var(--mata); padding: 5.5rem 0; }
.dilution .eyebrow { color: var(--lima); }
.dilution h2 { color: var(--papel); }
.dilution .section-intro { color: #B9C6B7; }

.dilution-form {
    display: grid;
    grid-template-columns: 1fr 1.4fr auto;
    gap: 1.1rem;
    align-items: end;
    background: rgba(242, 240, 228, 0.06);
    border: 1px dashed rgba(168, 194, 75, 0.5);
    border-radius: 22px;
    padding: 1.6rem;
}
.field label {
    display: block;
    font-family: var(--label);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lima);
    margin-bottom: 0.5rem;
}
.field input, .field select {
    width: 100%;
    font-family: var(--body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--papel);
    border: 0;
    border-radius: 14px;
    padding: 0.8rem 1rem;
    outline-color: var(--lima);
}
.field-submit .btn-solid { background: var(--lima); color: var(--mata); white-space: nowrap; }

.dilution-result {
    margin-top: 1.4rem;
    background: var(--lima);
    border-radius: 22px;
    padding: 1.6rem 1.8rem;
}
.dilution-big { font-family: var(--label); font-size: 1.05rem; color: var(--mata); }
.dilution-big strong { font-size: 1.9rem; letter-spacing: 0.02em; }
.dilution-note { color: #2E4433; font-size: 0.92rem; margin-top: 0.3rem; }

/* ============ CAMPO ============ */
.campo-sec { background: var(--papel); padding: 5.5rem 0; }
.field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    margin-bottom: 2.4rem;
}
.field-photo img { border-radius: 24px; height: 280px; width: 100%; object-fit: cover; border: 4px solid var(--white); }

.field-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    counter-reset: passo;
}
.field-steps li {
    counter-increment: passo;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1.5rem 1.6rem 1.4rem;
    position: relative;
}
.field-steps li::before {
    content: counter(passo, decimal-leading-zero);
    font-family: var(--label);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--papel);
    background: var(--broto);
    border-radius: 50%;
    width: 40px; height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.9rem;
}
.field-steps h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.field-steps p { font-size: 0.93rem; color: var(--muted); }

/* ============ FAQ ============ */
.faq { background: var(--white); padding: 5.5rem 0; }
.accordion { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.accordion-item + .accordion-item { border-top: 1px solid var(--line); }
.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    font-family: var(--body);
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--mata);
    text-align: left;
    transition: background 0.2s ease;
}
.accordion-trigger:hover { background: var(--papel); }
.acc-icon { position: relative; flex: 0 0 auto; width: 14px; height: 14px; }
.acc-icon::before, .acc-icon::after {
    content: '';
    position: absolute;
    background: var(--broto);
    transition: transform 0.25s ease;
}
.acc-icon::before { left: 0; right: 0; top: 6px; height: 2px; }
.acc-icon::after { top: 0; bottom: 0; left: 6px; width: 2px; }
.accordion-trigger[aria-expanded="true"] .acc-icon::after { transform: scaleY(0); }
.accordion-panel { padding: 0 1.5rem 1.4rem; color: var(--muted); }

.faq-sources {
    margin-top: 1.8rem;
    font-size: 0.9rem;
    color: var(--muted);
    border-left: 4px solid var(--lima);
    padding-left: 1.1rem;
}
.faq-sources a { color: var(--broto); font-weight: 700; text-decoration: none; border-bottom: 1px dotted var(--broto); }
.faq-sources a:hover { color: var(--terra); }

/* ============ DEPOIMENTOS ============ */
.testimonials { background: var(--papel); padding: 5.5rem 0; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.testimonial {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}
.testimonial blockquote p { color: var(--ink); font-size: 0.98rem; }
.testimonial blockquote p::before { content: '“'; color: var(--broto); font-family: var(--display); font-size: 1.4rem; }
.testimonial figcaption {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-top: 1px dashed var(--line);
    padding-top: 1.1rem;
}
.testimonial img {
    width: 52px; height: 52px;
    border-radius: 46% 54% 52% 48%;
    object-fit: cover;
    border: 3px solid var(--lima);
}
.testimonial strong { display: block; font-size: 0.95rem; color: var(--mata); }
.testimonial small { color: var(--muted); font-size: 0.8rem; }

/* ============ CONTATO ============ */
.contact { background: var(--white); padding: 5.5rem 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: start;
}
.contact-copy > p { color: var(--muted); max-width: 560px; }
.contact-list { list-style: none; margin-top: 1.3rem; }
.contact-list li {
    padding: 0.45rem 0 0.45rem 1.6rem;
    position: relative;
    color: var(--ink);
}
.contact-list li::before {
    content: '🍃';
    position: absolute;
    left: 0;
    top: 0.42em;
    font-size: 0.85rem;
}
.contact-card {
    background: var(--mata);
    border-radius: 26px;
    padding: 2.2rem;
    border-bottom: 6px solid var(--lima);
}
.contact-card h3 { color: var(--papel); margin-bottom: 1.1rem; }
.contact-card address { font-style: normal; color: #B9C6B7; margin-bottom: 1.2rem; }
.contact-card address p { margin-bottom: 0.8rem; font-size: 0.94rem; }
.contact-note {
    font-family: var(--label);
    color: var(--lima);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    margin-bottom: 1.4rem;
}
.contact-card .btn-solid { background: var(--lima); color: var(--mata); width: 100%; text-align: center; }

/* ============ AUTORIDADE ============ */
.authority { background: var(--terra); padding: 3.2rem 0; }
.authority h3 {
    color: var(--papel);
    font-family: var(--label);
    font-size: 0.85rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    margin-bottom: 1.3rem;
}
.authority-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.authority-links a {
    display: block;
    color: #EDE7D6;
    text-decoration: none;
    font-size: 0.88rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(237, 231, 214, 0.4);
    border-radius: 16px;
    background: rgba(58, 43, 28, 0.35);
    transition: background 0.2s ease;
}
.authority-links a:hover { background: rgba(58, 43, 28, 0.6); }

/* ============ FOOTER ============ */
.site-footer { background: #14261B; color: #AEBBAC; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.2fr;
    gap: 2.4rem;
    padding: 3.4rem 0 2.2rem;
}
.footer-brand strong {
    font-family: var(--display);
    font-size: 1.45rem;
    color: var(--papel);
    display: block;
    margin-bottom: 0.8rem;
}
.footer-brand em { font-style: normal; color: var(--lima); }
.footer-brand p { font-size: 0.92rem; max-width: 360px; }
.footer-nav { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-nav a { color: #AEBBAC; text-decoration: none; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--lima); }
.footer-authority { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-authority a {
    color: #8FA08D;
    text-decoration: none;
    font-size: 0.84rem;
    font-family: var(--label);
}
.footer-authority a:hover { color: var(--lima); }
.footer-bottom { border-top: 1px solid #24382A; padding: 1.1rem 0; text-align: center; font-size: 0.82rem; color: #748B75; }

/* ============ WHATSAPP FLOAT ============ */
.whatsapp-float {
    position: fixed;
    right: 1.4rem; bottom: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: #25A558;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.85rem 1.3rem;
    border-radius: 999px;
    box-shadow: 0 12px 28px rgba(37, 165, 88, 0.42);
    z-index: 1100;
    transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: translateY(-3px); }
.wa-icon {
    width: 18px; height: 18px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, var(--white) 3px, transparent 4px),
        radial-gradient(circle at 68% 32%, var(--white) 3px, transparent 4px),
        radial-gradient(circle at 50% 62%, var(--white) 5px, transparent 6px),
        var(--white);
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
