/* ============================================
   GRÜNE ESTRATÉGIA E SISTEMAS
   style.css - v1.0
   ============================================ */

/* ---- VARIÁVEIS ---- */
:root {
    --wine:          #5A0F24;
    --wine-dark:     #3a0011;
    --graphite-black:#121212;
    --graphite-dark: #2B2B2B;
    --graphite:      #3a3a3a;
    --gray-light:    #E6E6E3;
    --off-white:     #FAFAF7;
    --white:         #ffffff;
    --text-muted:    #8a8a8a;
    --text-dim:      #c8c6c5;

    --font-serif:    'Cormorant Garamond', Georgia, serif;
    --font-sans:     'Montserrat', system-ui, sans-serif;

    --container:     1200px;
    --section-v:     100px;
    --radius-sm:     2px;
    --radius:        4px;
    --transition:    0.3s ease;
}

/* ---- BASE ---- */
body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--graphite-black);
    background-color: var(--off-white);
}

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

/* ---- TIPOGRAFIA ---- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { font-size: 1rem; line-height: 1.7; }
p.lead { font-size: 1.2rem; line-height: 1.7; }

.label-caps {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ---- BOTÕES ---- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
}

.btn--wine {
    background-color: var(--wine);
    color: var(--off-white);
}
.btn--wine:hover { background-color: var(--wine-dark); }

.btn--outline-white {
    background-color: transparent;
    color: var(--off-white);
    border: 1.5px solid var(--off-white);
}
.btn--outline-white:hover { background-color: rgba(255,255,255,0.1); }

.btn--off-white {
    background-color: var(--off-white);
    color: var(--wine);
}
.btn--off-white:hover { background-color: var(--white); }

/* ---- HEADER ---- */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(250, 250, 247, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
    border-color: rgba(135, 114, 116, 0.15);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.header__logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.header__menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.header__link {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--graphite);
    position: relative;
    transition: color var(--transition);
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--wine);
    transition: width var(--transition);
}

.header__link:hover { color: var(--wine); }
.header__link:hover::after { width: 100%; }

.header__cta { padding: 10px 24px; font-size: 0.8rem; }

.header__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--graphite-black);
    transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.78) 0%,
        rgba(0,0,0,0.55) 60%,
        rgba(0,0,0,0.3) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-top: 72px;
    padding-bottom: 80px;
    width: 100%;
}

.hero__inner {
    max-width: 720px;
    padding-top: 40px;
}

.hero__label {
    color: var(--wine);
    margin-bottom: 24px;
}

.hero__title {
    color: var(--off-white);
    margin-bottom: 28px;
    font-size: clamp(3rem, 5.5vw, 4.5rem);
}

.hero__subtitle {
    color: rgba(250, 250, 247, 0.88);
    font-size: 1.2rem;
    line-height: 1.75;
    margin-bottom: 48px;
    max-width: 540px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---- SOLUÇÕES ---- */
.solucoes {
    background-color: var(--off-white);
    padding: var(--section-v) 0;
}

.solucoes__header {
    margin-bottom: 56px;
}

.solucoes__label {
    color: var(--wine);
    margin-bottom: 12px;
}

.solucoes__title {
    color: var(--wine);
}

.solucoes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card-solucao {
    padding: 48px 32px 32px;
    border: 1px solid rgba(135, 114, 116, 0.2);
    background-color: var(--white);
    transition: border-color var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-solucao:hover {
    border-color: rgba(90, 15, 36, 0.3);
    transform: translateY(-4px);
}

.card-solucao__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    color: var(--wine);
    stroke-width: 1.2;
    flex-shrink: 0;
}

.card-solucao__title {
    margin-bottom: 12px;
    color: var(--graphite-black);
    font-size: 1.5rem;
}

.card-solucao__text {
    color: #5f5e5e;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---- ECOSSISTEMA ---- */
.ecossistema {
    background-color: var(--gray-light);
    padding: var(--section-v) 0;
}

.ecossistema__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.ecossistema__diagram {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ecossistema__svg {
    width: 100%;
    max-width: 540px;
    height: auto;
    mix-blend-mode: multiply;
}

.ecossistema__label {
    color: var(--wine);
    margin-bottom: 12px;
}

.ecossistema__title {
    color: var(--graphite-black);
    margin-bottom: 24px;
}

.ecossistema__text {
    color: #5f5e5e;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ---- MÉTODO ---- */
.metodo {
    background-color: var(--graphite-black);
    padding: var(--section-v) 0;
}

.metodo__header {
    text-align: center;
    margin-bottom: 80px;
}

.metodo__title {
    color: var(--off-white);
    margin-bottom: 16px;
}

.metodo__divider {
    width: 64px;
    height: 2px;
    background-color: var(--wine);
    margin: 0 auto;
}

.metodo__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
}

.metodo__steps::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: rgba(90,15,36,1);
}

.metodo__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.metodo__step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-light);
    margin-bottom: 28px;
    background-color: var(--graphite-black);
    position: relative;
    z-index: 1;
}

.metodo__step-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
}

.metodo__step-text {
    font-size: 1rem;
    color: var(--gray-light);
    line-height: 1.7;
}

/* ---- IMPACTOS ---- */
.impactos {
    background-color: var(--off-white);
    padding: var(--section-v) 0;
}

.impactos__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

.impactos__heading .label-caps {
    color: var(--wine);
    margin-bottom: 12px;
}

.impactos__title {
    color: var(--wine);
}

.impactos__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.card-impacto {
    padding: 32px;
    background-color: var(--white);
    border-left: 3px solid var(--wine);
}

.card-impacto__title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--wine);
    margin-bottom: 12px;
}

.card-impacto__text {
    font-size: 0.9rem;
    color: #5f5e5e;
    line-height: 1.7;
}

/* ---- SOBRE ---- */
.sobre {
    background-color: var(--graphite-dark);
    padding: var(--section-v) 0;
}

.sobre__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sobre__label {
    color: rgba(220, 118, 136, 0.8);
    margin-bottom: 16px;
}

.sobre__title {
    color: var(--off-white);
    margin-bottom: 32px;
}

.sobre__text {
    color: var(--gray-light);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.sobre__text:last-child { margin-bottom: 0; }

.sobre__photo-wrap {
    position: relative;
    overflow: hidden;
}

.sobre__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(20%);
    transition: filter 0.6s ease;
}

.sobre__photo-wrap:hover .sobre__photo {
    filter: grayscale(0%);
}

/* ---- CTA FINAL ---- */
.cta-final {
    background-color: var(--wine);
    padding: var(--section-v) 0;
    text-align: center;
}

.cta-final__inner {
    max-width: 640px;
    margin: 0 auto;
}

.cta-final__title {
    color: var(--off-white);
    margin-bottom: 20px;
}

.cta-final__subtitle {
    color: rgba(250, 250, 247, 0.8);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-final__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- FOOTER ---- */
.footer {
    background-color: var(--graphite-black);
    color: var(--off-white);
    padding: 56px 0 32px;
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer__logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
}

.footer__nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.footer__link {
    font-size: 0.85rem;
    color: var(--text-dim);
    transition: color var(--transition);
}

.footer__link:hover { color: var(--off-white); }

.footer__social {
    display: flex;
    gap: 20px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer__tagline {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    opacity: 0.5;
}

/* ---- WHATSAPP FAB ---- */
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(90, 15, 36, 0.6); }
    50%  { box-shadow: 0 0 0 14px rgba(90, 15, 36, 0.2); }
    100% { box-shadow: 0 0 0 28px rgba(90, 15, 36, 0); }
}

.whatsapp-fab {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background-color: var(--wine);
    color: var(--off-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    box-shadow: 0 4px 20px rgba(90, 15, 36, 0.4);
    animation: pulse 1.2s ease-out infinite;
    transition: transform var(--transition);
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    animation-play-state: paused;
}

/* ---- ANIMAÇÕES DE ENTRADA ---- */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- RESPONSIVO ---- */
@media (max-width: 1024px) {
    .solucoes__grid { grid-template-columns: repeat(2, 1fr); }
    .metodo__steps { grid-template-columns: repeat(2, 1fr); }
    .metodo__steps::before { display: none; }
    .ecossistema__inner { grid-template-columns: 1fr; gap: 48px; }
    .impactos__inner { grid-template-columns: 1fr; gap: 40px; }
    .sobre__inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
    :root { --section-v: 72px; }

    .header__menu { display: none; }
    .header__cta { display: none; }
    .header__hamburger { display: flex; }

    .header__menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background-color: var(--off-white);
        padding: 24px;
        gap: 20px;
        border-top: 1px solid rgba(135,114,116,0.15);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    .solucoes__grid { grid-template-columns: 1fr; }
    .metodo__steps { grid-template-columns: 1fr; gap: 32px; }
    .impactos__grid { grid-template-columns: 1fr; }
    .footer__top { flex-direction: column; align-items: flex-start; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
    .cta-final__actions { flex-direction: column; align-items: center; }
}

/* TM mark sutil */
.tm-mark {
    font-size: 0.45em;
    font-family: var(--font-sans);
    font-weight: 400;
    vertical-align: super;
    letter-spacing: 0;
    opacity: 0.7;
}

@media (max-width: 480px) {
    /* Hero mobile: imagem própria proporcional */
    .hero {
        min-height: auto;
        display: block;
        position: relative;
        background: none;
        margin-top: 72px;
    }
    .hero__bg {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
        z-index: 0;
    }
    .hero__bg img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: fill;
    }
    .hero__overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(
            to right,
            rgba(0,0,0,0.75) 0%,
            rgba(0,0,0,0.35) 100%
        );
        z-index: 1;
    }
    .hero__content {
        position: absolute;
        top: 30px;
        left: 0;
        right: 0;
        bottom: 0;
        padding-top: 0px;
        padding-bottom: 16px;
        display: flex;
        align-items: flex-start;
        z-index: 2;
        overflow: visible;
    }
    .hero__inner {
        padding-top: 0;
        padding-right: 24px;
        max-width: 100%;
    }
    .hero__label {
        font-size: 0.6rem;
        margin-bottom: 10px;
    }
    .hero__title {
        font-size: 1.4rem;
        margin-bottom: 10px;
        line-height: 1.2;
    }
    .hero__subtitle {
        font-size: 0.82rem;
        margin-bottom: 16px;
        line-height: 1.6;
    }
    .hero__actions .btn {
        padding: 10px 18px;
        font-size: 0.7rem;
    }

    /* Alinhamento mobile */
    .solucoes__grid { grid-template-columns: 1fr; }
    .impactos__grid { grid-template-columns: 1fr; }
    .metodo__steps { grid-template-columns: 1fr; }
    .ecossistema__inner { grid-template-columns: 1fr; }
    .sobre__inner { grid-template-columns: 1fr; }

    .card-solucao {
        padding: 40px 24px 24px;
    }
    .card-solucao__icon {
        width: 44px;
        height: 44px;
        margin-bottom: 14px;
    }
    .card-solucao__title {
        margin-bottom: 10px;
    }
    .card-impacto { padding: 24px; }
    .btn { padding: 13px 24px; font-size: 0.75rem; }
    .cta-final {
        padding-top: 56px;
        padding-bottom: 56px;
    }
}

