/* ==========================================================
   HERO PREMIUM — PORTAL AARCA
========================================================== */

.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 90px;
    background:
        radial-gradient(
            circle at 12% 18%,
            rgba(76, 175, 80, 0.16),
            transparent 32%
        ),
        radial-gradient(
            circle at 88% 80%,
            rgba(255, 193, 7, 0.12),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #f8fcf8 0%,
            #edf7ee 48%,
            #f7fbf4 100%
        );
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero::before {
    width: 360px;
    height: 360px;
    top: -160px;
    right: -120px;
    background: rgba(46, 125, 50, 0.08);
}

.hero::after {
    width: 240px;
    height: 240px;
    bottom: -120px;
    left: -80px;
    background: rgba(255, 193, 7, 0.09);
}

.hero .container {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 70px;
    align-items: center;
}

/* ==========================================================
   CONTEÚDO
========================================================== */

.hero-content {
    position: relative;
    animation: heroFadeUp 0.85s ease both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    max-width: 100%;
    margin-bottom: 24px;
    padding: 10px 18px;
    border: 1px solid rgba(46, 125, 50, 0.16);
    border-radius: 999px;
    background: rgba(232, 245, 233, 0.92);
    box-shadow: 0 8px 24px rgba(46, 125, 50, 0.08);
    color: #236428;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.hero-badge::before {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #43a047;
    box-shadow: 0 0 0 5px rgba(67, 160, 71, 0.13);
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    color: #15361d;
    font-size: clamp(2.65rem, 5vw, 4.5rem);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.hero p {
    max-width: 680px;
    margin: 26px 0 0;
    color: #526157;
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
    line-height: 1.78;
}

/* ==========================================================
   BOTÕES
========================================================== */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 34px;
}

.hero-buttons .btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border: 2px solid #2e7d32;
    border-radius: 13px;
    background: #2e7d32;
    box-shadow: 0 12px 30px rgba(46, 125, 50, 0.22);
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

.hero-buttons .btn:hover,
.hero-buttons .btn:focus-visible {
    transform: translateY(-4px);
    border-color: #1b5e20;
    background: #1b5e20;
    box-shadow: 0 17px 38px rgba(27, 94, 32, 0.26);
    color: #ffffff;
}

.hero-buttons .btn-outline {
    border-color: rgba(46, 125, 50, 0.28);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 10px 25px rgba(30, 70, 36, 0.08);
    color: #236428;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-buttons .btn-outline:hover,
.hero-buttons .btn-outline:focus-visible {
    border-color: #2e7d32;
    background: #ffffff;
    color: #1b5e20;
}

/* ==========================================================
   INDICADORES
========================================================== */

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(110px, 1fr));
    gap: 14px;
    margin-top: 44px;
}

.hero-stat {
    position: relative;
    min-width: 0;
    padding: 19px 14px 18px;
    overflow: hidden;
    border: 1px solid rgba(46, 125, 50, 0.11);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 34px rgba(30, 70, 36, 0.08);
    text-align: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease;
    animation: heroStatUp 0.75s ease both;
}

.hero-stat:nth-child(1) {
    animation-delay: 0.15s;
}

.hero-stat:nth-child(2) {
    animation-delay: 0.25s;
}

.hero-stat:nth-child(3) {
    animation-delay: 0.35s;
}

.hero-stat:nth-child(4) {
    animation-delay: 0.45s;
}

.hero-stat::before {
    content: "";
    position: absolute;
    width: 68px;
    height: 68px;
    top: -34px;
    right: -30px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.09);
}

.hero-stat:hover {
    transform: translateY(-7px);
    border-color: rgba(46, 125, 50, 0.22);
    box-shadow: 0 20px 42px rgba(30, 70, 36, 0.13);
}

.hero-stat strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 6px;
    color: var(--primary, #2e7d32);
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    font-weight: 850;
    line-height: 1;
}

.hero-stat span {
    position: relative;
    z-index: 1;
    display: block;
    color: #647168;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.35;
}

/* ==========================================================
   IMAGEM
========================================================== */

.hero-image {
    position: relative;
    min-width: 0;
    animation: heroImageIn 1s ease both;
}

.hero-image::before {
    content: "";
    position: absolute;
    inset: 9% -7% -8% 8%;
    z-index: -1;
    border-radius: 34px;
    background: linear-gradient(
        145deg,
        rgba(46, 125, 50, 0.18),
        rgba(129, 199, 132, 0.05)
    );
    transform: rotate(4deg);
}

.hero-image::after {
    content: "";
    position: absolute;
    width: 84px;
    height: 84px;
    top: -24px;
    right: -22px;
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 193, 7, 0.9),
            rgba(255, 152, 0, 0.88)
        );
    box-shadow: 0 18px 38px rgba(255, 152, 0, 0.21);
    transform: rotate(12deg);
    z-index: -1;
}

.hero-image img {
    display: block;
    width: 100%;
    min-height: 470px;
    max-height: 650px;
    object-fit: cover;
    object-position: center;
    border: 8px solid rgba(255, 255, 255, 0.84);
    border-radius: 30px;
    box-shadow: 0 34px 75px rgba(25, 63, 31, 0.2);
    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
}

.hero-image:hover img {
    transform: translateY(-5px) scale(1.012);
    box-shadow: 0 42px 90px rgba(25, 63, 31, 0.25);
}

/* ==========================================================
   ANIMAÇÕES
========================================================== */

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroImageIn {
    from {
        opacity: 0;
        transform: translateX(40px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes heroStatUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================
   RESPONSIVIDADE
========================================================== */

@media (max-width: 1100px) {

    .hero {
        min-height: auto;
        padding: 105px 0 80px;
    }

    .hero .container {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
        gap: 44px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }

    .hero-image img {
        min-height: 430px;
    }
}

@media (max-width: 900px) {

    .hero {
        padding: 100px 0 72px;
    }

    .hero .container {
        width: min(720px, calc(100% - 32px));
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero h1,
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        max-width: 650px;
        width: 100%;
        margin: 0 auto;
    }

    .hero-image img {
        min-height: 400px;
        max-height: 540px;
    }
}

@media (max-width: 600px) {

    .hero {
        padding: 88px 0 58px;
    }

    .hero .container {
        width: min(100% - 24px, 540px);
        gap: 38px;
    }

    .hero-badge {
        margin-bottom: 20px;
        padding: 9px 14px;
        font-size: 0.8rem;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 11vw, 3.25rem);
        line-height: 1.06;
    }

    .hero p {
        margin-top: 20px;
        font-size: 1rem;
        line-height: 1.65;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 28px;
    }

    .hero-buttons .btn {
        width: 100%;
        min-height: 52px;
        padding: 14px 20px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 34px;
    }

    .hero-stat {
        padding: 17px 8px 16px;
        border-radius: 15px;
    }

    .hero-stat strong {
        font-size: 1.55rem;
    }

    .hero-stat span {
        font-size: 0.73rem;
    }

    .hero-image::before {
        inset: 8% -3% -5% 5%;
        border-radius: 24px;
    }

    .hero-image::after {
        width: 58px;
        height: 58px;
        top: -15px;
        right: -6px;
        border-radius: 17px;
    }

    .hero-image img {
        min-height: 300px;
        max-height: 420px;
        border-width: 5px;
        border-radius: 22px;
    }
}

/* ==========================================================
   ACESSIBILIDADE
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .hero-content,
    .hero-image,
    .hero-stat {
        animation: none;
    }

    .hero-image img,
    .hero-stat,
    .hero-buttons .btn {
        transition: none;
    }
}