:root {
    --primary: #423062;
    --primary-dark: #2d2047;
    --primary-soft: #f1edf8;

    --green: #4e8214;
    --green-dark: #093418;
    --green-soft: #edf6e5;

    --white: #ffffff;
    --black: #101014;
    --text: #2b2b34;
    --muted: #6f6d78;
    --border: rgba(66, 48, 98, 0.14);

    --bg: #fbfaf7;
    --card: #ffffff;

    --radius-sm: 12px;
    --radius: 22px;
    --radius-lg: 34px;

    --shadow: 0 18px 60px rgba(30, 25, 45, 0.12);
    --shadow-soft: 0 10px 30px rgba(30, 25, 45, 0.08);

    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 92px 0;
}

.section-label,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-label.light {
    color: #c9ef9a;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 42px;
}

.section-heading.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    margin-bottom: 24px;
    color: var(--white);
}

h1 strong {
    display: block;
    color: #c7ef74;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.35rem;
    line-height: 1.2;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

p {
    color: var(--muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--green), #76a920);
    color: var(--white);
    box-shadow: 0 14px 30px rgba(78, 130, 20, 0.24);
}

.btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

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

.btn.full {
    width: 100%;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: var(--green);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    background: rgba(251, 250, 247, 0.86);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(66, 48, 98, 0.08);
}

.header-content {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    color: var(--primary);
}

.brand img {
    height: 48px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-weight: 700;
    color: var(--primary-dark);
}

.main-nav a {
    transition: 0.2s ease;
}

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

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 11px 18px;
    border-radius: 999px;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 0;
    background: var(--primary);
    color: var(--white);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 150px 0 70px;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 18%, rgba(78, 130, 20, 0.45), transparent 35%),
        linear-gradient(135deg, var(--primary-dark), var(--primary) 55%, #1d3b20);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.28)),
        url("../img/hero-fabrica.jpg") center/cover no-repeat;
    opacity: 0.16;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -22% -10%;
    height: 260px;
    background: var(--bg);
    border-radius: 50% 50% 0 0;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 54px;
    align-items: center;
}

.hero-text p {
    max-width: 690px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 38px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hero-stats div {
    padding: 18px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.hero-stats strong {
    display: block;
    font-size: 2rem;
    color: #c7ef74;
    line-height: 1;
}

.hero-stats span {
    display: block;
    margin-top: 7px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.76);
}

.hero-card {
    background: rgb(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
}

.hero-card-image {
    position: relative;
    min-height: 440px;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(78, 130, 20, 0.85), rgba(66, 48, 98, 0.8)),
        url("../img/hero-fabrica.jpg") center/cover no-repeat;
}

.hero-card-image img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.hero-card-overlay {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    padding: 22px;
    border-radius: 24px;
    background: rgba(9, 52, 24, 0.78);
    backdrop-filter: blur(10px);
    color: var(--white);
}

.hero-card-overlay span {
    color: #c7ef74;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
}

.hero-card-overlay h2 {
    color: var(--white);
    font-size: 2rem;
    margin: 8px 0 0;
}

.hero-mini-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.hero-mini-cards div {
    min-height: 92px;
    padding: 16px;
    border-radius: 20px;
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: var(--shadow-soft);
}

.hero-mini-cards i {
    display: block;
    color: var(--green);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.hero-mini-cards span {
    font-size: 1.0rem;
    font-weight: 500;
}

/* About */
.two-columns {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 60px;
    align-items: start;
}

.text-block {
    font-size: 1.08rem;
}

.purpose-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.purpose-card {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.purpose-card i {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--white);
    background: var(--green);
    margin-bottom: 22px;
}

.main-purpose {
    background: linear-gradient(135deg, var(--primary), var(--green-dark));
}

.main-purpose span {
    display: inline-block;
    color: #c7ef74;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.main-purpose h3,
.main-purpose p {
    color: var(--white);
}

.main-purpose p {
    opacity: 0.82;
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card {
    background: var(--bg);
    border: 1px solid rgba(66, 48, 98, 0.10);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: 0.2s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.product-image {
    position: relative;
    min-height: 210px;
    background:
        linear-gradient(135deg, rgba(66, 48, 98, 0.86), rgba(78, 130, 20, 0.82)),
        url("../img/produto-fertilizantes.jpg") center/cover no-repeat;
}

.product-image img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.product-image span {
    position: absolute;
    left: 16px;
    bottom: 16px;
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--green-dark);
    font-size: 0.78rem;
    font-weight: 900;
}

.product-content {
    padding: 24px;
}

.product-content ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.product-content li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 9px;
    color: var(--muted);
    font-size: 0.92rem;
}

.product-content li i {
    color: var(--green);
    margin-top: 3px;
}

/* Featured Projects */
.featured-projects-section {
    background:
        radial-gradient(circle at 15% 20%, rgba(78, 130, 20, 0.10), transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(66, 48, 98, 0.10), transparent 30%),
        #fbfaf7;
}

.featured-projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.featured-project-card {
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(135deg, #423062, #2d2047);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 70px rgba(30, 25, 45, 0.18);
    transition: 0.25s ease;
}

.featured-project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 90px rgba(30, 25, 45, 0.24);
}

.featured-project-video {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 28px 28px 0 0;
    background: #000000;
}

.featured-project-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-project-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000000;
}

.featured-project-image {
    height: 270px;
    padding: 26px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.featured-project-content {
    padding: 30px;
}

.featured-project-tag {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(199, 239, 116, 0.16);
    color: #c7ef74;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.featured-project-content h3 {
    font-size: 2.05rem;
    margin-bottom: 14px;
    color: #ffffff;
}

.featured-project-content p {
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.78);
}

.featured-project-content .btn-primary {
    background: #ffffff;
    color: #423062;
    box-shadow: none;
}

.featured-project-content .btn-primary:hover {
    background: #c7ef74;
    color: #093418;
}

@media (max-width: 820px) {
    .featured-projects-grid {
        grid-template-columns: 1fr;
    }

    .featured-project-image {
        height: 230px;
        padding: 22px;
    }

    .featured-projects-grid {
        grid-template-columns: 1fr;
    }

    .featured-project-video {
        aspect-ratio: 16 / 9;
        border-radius: 24px 24px 0 0;
    }
}

@media (max-width: 480px) {
    .featured-project-video {
        aspect-ratio: 4 / 3;
    }
}

/* Regenerative */
.regenerative-section {
    background:
        radial-gradient(circle at 20% 30%, rgba(201, 239, 154, 0.20), transparent 35%),
        linear-gradient(135deg, var(--green-dark), #173c22);
    color: var(--white);
}

.regenerative-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 42px;
    align-items: center;
}

.regenerative-panel h2,
.regenerative-panel p {
    color: var(--white);
}

.regenerative-panel p {
    opacity: 0.82;
    font-size: 1.08rem;
    margin-bottom: 28px;
}

.regenerative-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.regenerative-list div {
    padding: 26px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
}

.regenerative-list i {
    color: #c7ef74;
    font-size: 2rem;
    margin-bottom: 20px;
}

.regenerative-list h3,
.regenerative-list p {
    color: var(--white);
}

.regenerative-list p {
    opacity: 0.78;
    margin-bottom: 0;
}

/* G10 */
.g10-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.g10-image {
    position: relative;
    min-height: 560px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(66, 48, 98, 0.88), rgba(78, 130, 20, 0.74)),
        url("../img/g10-bio.jpg") center/cover no-repeat;
    box-shadow: var(--shadow);
}

.g10-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.g10-badge {
    position: absolute;
    top: 22px;
    left: 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    color: var(--white);
    background: rgba(9, 52, 24, 0.78);
    backdrop-filter: blur(8px);
    font-weight: 900;
}

.g10-content p {
    font-size: 1.08rem;
}

.g10-features {
    display: grid;
    gap: 14px;
    margin: 28px 0;
}

.g10-features div {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.g10-features strong {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.g10-features span {
    font-weight: 800;
    color: var(--primary-dark);
}

/* Greening */
.greening-section {
    padding-top: 0;
}

.greening-card {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    padding: 42px;
    border-radius: var(--radius-lg);
    background: var(--primary-soft);
    border: 1px solid rgba(66, 48, 98, 0.12);
}

/* Contact */
.contact-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-grid h2,
.contact-grid p {
    color: var(--white);
}

.contact-grid p {
    opacity: 0.82;
}

.contact-list {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.contact-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
    font-weight: 800;
}

.contact-list i {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #c7ef74;
}

.contact-form {
    padding: 30px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
}

.contact-form label {
    display: block;
    color: var(--primary-dark);
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    display: block;
    margin-top: 8px;
    padding: 15px 16px;
    border-radius: 14px;
    border: 1px solid rgba(66, 48, 98, 0.16);
    background: #fbfaf7;
    color: var(--text);
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(78, 130, 20, 0.10);
}

.contact-form small {
    display: block;
    color: var(--muted);
    margin-top: 12px;
    text-align: center;
}

/* Footer */
.site-footer {
    background: #151021;
    color: var(--white);
    padding: 50px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 38px;
}

.footer-grid strong {
    display: block;
    margin-bottom: 12px;
}

.footer-grid p,
.footer-grid a {
    color: rgba(255, 255, 255, 0.72);
}

.footer-grid a {
    display: block;
    margin-top: 7px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.9rem;
}

.footer-bottom button {
    background: transparent;
    border: 0;
    color: #c7ef74;
    cursor: pointer;
}

/* WhatsApp */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 120;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 18px 45px rgba(37, 211, 102, 0.36);
    transition: 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.06);
}

/* Cookies */
.cookie-banner {
    position: fixed;
    left: 22px;
    right: 100px;
    bottom: 22px;
    z-index: 130;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 20px;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.cookie-banner.show {
    display: flex;
}

.cookie-banner h3 {
    margin-bottom: 6px;
}

.cookie-banner p {
    margin-bottom: 0;
    font-size: 0.94rem;
}

.cookie-actions,
.cookie-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-cookie {
    min-height: 42px;
    padding: 10px 15px;
    border-radius: 999px;
    border: 1px solid rgba(66, 48, 98, 0.16);
    font-weight: 800;
    cursor: pointer;
}

.btn-cookie.ghost {
    background: var(--white);
    color: var(--primary);
}

.btn-cookie.accept {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 140;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(12, 10, 20, 0.58);
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-box {
    position: relative;
    width: min(620px, 100%);
    padding: 30px;
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: var(--primary-soft);
    color: var(--primary);
    cursor: pointer;
}

.cookie-option {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 0;
    border-top: 1px solid rgba(66, 48, 98, 0.12);
}

.cookie-option strong {
    display: block;
    color: var(--primary-dark);
}

.cookie-option span {
    display: block;
    color: var(--muted);
    font-size: 0.92rem;
    margin-top: 4px;
}

/* Responsivo */
@media (max-width: 1040px) {

    .hero-grid,
    .two-columns,
    .regenerative-grid,
    .g10-grid,
    .greening-card,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .purpose-grid,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-card {
        max-width: 720px;
    }
}

@media (max-width: 820px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: 86px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border-radius: 22px;
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 10px;
    }

    .nav-cta {
        text-align: center;
    }

    .hero {
        padding-top: 124px;
    }

    .hero-stats,
    .hero-mini-cards,
    .regenerative-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cookie-banner {
        left: 14px;
        right: 14px;
        bottom: 14px;
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner.show {
        display: flex;
    }

    .whatsapp-float {
        right: 18px;
        bottom: 150px;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 28px, var(--container));
    }

    .section {
        padding: 68px 0;
    }

    .purpose-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .hero-card-image,
    .hero-card-image img,
    .g10-image,
    .g10-image img {
        min-height: 360px;
        height: 360px;
    }

    .greening-card,
    .contact-form {
        padding: 24px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}