/* Reset e variáveis */
:root {
    --color-gray-dark: #2B2B2B;
    --color-gray-medium: #6B6B6B;
    --color-gray-light: #F5F6F7;
    --color-green: #2E6B4F;
    --color-green-dark: #1D4D38;
    --color-white: #FFFFFF;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--color-gray-dark);
    background-color: var(--color-gray-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout geral */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
}

.header__logo {
    display: flex;
    align-items: center;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.2rem;
}

.header__icon {
    width: 24px;
    height: 24px;
    margin-right: var(--spacing-xs);
}

.header__nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.header__nav-link {
    text-decoration: none;
    color: var(--color-gray-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.header__nav-link:hover {
    color: var(--color-green);
}

    .header__nav-list--mobile {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .header__menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        background-color: var(--color-green);
        color: var(--color-white);
        border-radius: 14px;
        border: none;
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    }

    .header__menu-icon {
        display: block;
        position: relative;
        width: 20px;
        height: 2px;
        background-color: currentColor;
    }

    .header__menu-icon::before,
    .header__menu-icon::after {
        content: '';
        position: absolute;
        left: 0;
        width: 20px;
        height: 2px;
        background-color: currentColor;
    }

    .header__menu-icon::before {
        top: -6px;
    }

    .header__menu-icon::after {
        top: 6px;
    }

    .header__nav--desktop {
        display: none;
    }

    .header__nav--mobile {
        display: none;
        position: absolute;
        top: 100%;
        right: var(--spacing-md);
        left: var(--spacing-md);
        margin-top: var(--spacing-sm);
        padding: var(--spacing-md);
        background-color: var(--color-white);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        z-index: 99;
    }

    .header__nav--open {
        display: block;
    }

    /* Hero */
    .hero {
        padding: var(--spacing-xl) 0;
        background-color: transparent;
    }

    .hero__content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.hero__image {
        display: flex;
        justify-content: center;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
        max-width: 420px;
        border-radius: 24px;
        background: transparent;
        box-shadow: 0 22px 60px rgba(0, 0, 0, 0.12);
    }

    .hero__image img {
    width: 100%;
    display: block;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: none;
    mask-image: none;
    -webkit-mask-image: none;
}

.hero__title {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-gray-dark);
}

.hero__subtitle {
    font-size: 1.1rem;
    color: var(--color-green);
    font-weight: 500;
}

.hero__description {
    font-size: 1rem;
    color: var(--color-gray-medium);
}

.hero__text {
    text-align: center;
}

/* Hero adicional */
.hero__body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.hero__details {
    display: grid;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background-color: rgba(47, 143, 94, 0.05);
    border-radius: var(--border-radius);
}

.hero__details-block {
    display: grid;
    gap: var(--spacing-sm);
}

.hero__section-title,
.hero__section-subtitle,
.hero__detail-title {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-gray-dark);
}

.hero__section-title {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.hero__detail-subtitle {
    font-size: 0.95rem;
    color: var(--color-green);
    margin-bottom: 0.75rem;
}

.hero__section-subtitle {
    font-size: 1.08rem;
    margin-bottom: 0.25rem;
}

.hero__detail-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.hero__detail-item {
    padding-top: 0.5rem;
    border-top: 1px solid rgba(43, 61, 44, 0.1);
}

/* Áreas */
.areas {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-gray-light);
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.section-description {
    text-align: center;
    color: var(--color-gray-medium);
    margin-bottom: var(--spacing-lg);
}

.areas__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    justify-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.areas__card {
    background-color: rgba(255,255,255,0.9);
    padding: var(--spacing-md);
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; 
}

.areas__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(46,107,79,0.18);
}

.card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-sm);
}

.card__title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.card__description {
    color: var(--color-gray-medium);
    margin-bottom: var(--spacing-md);
}

.card__description.card__clamped {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 4.6rem;
}

.card__toggle {
    display: inline-block;
    background: transparent;
    border: none;
    color: var(--color-green);
    font-family: var(--font-primary);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: -0.5rem;
    text-decoration: underline;
}

.card__toggle:hover,
.card__toggle:focus-visible {
    color: var(--color-green-dark);
}

/* Contato */
.contato {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
    text-align: center;
}

.contato__actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: linear-gradient(
        to bottom,
        #1f1f1f,
        #161616
    );
    color: rgba(255,255,255,0.85);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.04);
}

.footer a {
    color: var(--color-green);
    text-decoration: none;
}

.footer__icon {
    width: 20px;
    height: 20px;
    margin-top: var(--spacing-sm);
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem var(--spacing-md);
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    letter-spacing: 0.3px;
}

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

.btn--primary:hover {
    background-color: var(--color-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(46,107,79,0.22);
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-green);
    border: 2px solid var(--color-green);
}

.btn--secondary:hover {
    background-color: var(--color-green);
    color: var(--color-white);
}

.btn--whatsapp {
    background-color: #25D366;
    color: var(--color-white);
}

.btn--whatsapp:hover {
    background-color: #128C7E;
}

.btn--email {
    background-color: var(--color-gray-medium);
    color: var(--color-white);
}

.btn--email:hover {
    background-color: var(--color-gray-dark);
}

.btn__icon {
    width: 20px;
    height: 20px;
    margin-right: var(--spacing-xs);
}

/* Reveal animação */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 768px) {
    .header {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    .header .container {
        padding: 0 18px;
        min-height: 56px;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
    }

    .header__logo {
        flex: 1 1 auto;
        min-width: 0;
        gap: 0.4rem;
        font-size: 0.98rem;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
    }

    .header__logo .header__icon {
        width: 20px;
        height: 20px;
        margin-right: 0.35rem;
    }

    .header__logo .header__name {
        display: inline-block;
        max-width: calc(100% - 60px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header__nav--desktop,
    .header__cta {
        display: none;
    }

    .header__menu-toggle {
        display: inline-flex;
        width: 38px;
        height: 38px;
        padding: 0;
        border-radius: 10px;
        background-color: var(--color-green);
        box-shadow: none;
        justify-content: center;
        align-items: center;
    }

    .header__menu-icon {
        width: 18px;
        height: 2px;
        background-color: currentColor;
    }

    .header__menu-icon::before,
    .header__menu-icon::after {
        left: 0;
        width: 18px;
        height: 2px;
        background-color: currentColor;
    }

    .header__menu-icon::before {
        top: -5px;
    }

    .header__menu-icon::after {
        top: 5px;
    }

    .hero__content {
        gap: 1.4rem;
    }

    .hero {
        padding-top: 0;
    }

    .hero__image {
        width: 100vw;
        position: relative;
        margin-left: calc(50% - 50vw);
        overflow: hidden;
        max-width: none;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .hero__image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
        border-radius: 0;
        box-shadow: none;
    }

    .hero__image::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 180px;
        background: linear-gradient(
            to bottom,
            rgba(245,246,247,0) 0%,
            rgba(245,246,247,1) 100%
        );
        pointer-events: none;
    }

    .contato__actions {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.75rem;
        flex-wrap: wrap;
        padding: 0;
    }

    .contato__actions .btn {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
        min-width: 140px;
        border-radius: 10px;
    }

    .contato__actions .btn--whatsapp,
    .contato__actions .btn--email {
        width: auto;
    }

    .contato__actions .btn__icon {
        width: 16px;
        height: 16px;
        margin-right: 0.4rem;
    }

    .contato__actions .btn {
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .hero__content {
        flex-direction: row;
        align-items: flex-start;
        gap: calc(var(--spacing-xl) + 1rem);
    }

    .hero__image {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        max-width: 420px;
        background: transparent;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 100%);
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 100%);
    }

    /* overflow: hidden; */
    /* box-shadow: 0 22px 60px rgba(0, 0, 0, 0.12); */

    .hero__image::before {
        content: '';
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(circle at top left, rgba(47, 143, 94, 0.18), transparent 28%);
        filter: blur(30px);
        opacity: 0.75;
    }

    .hero__image img {
        width: 100%;
        max-height: 560px;
        aspect-ratio: 3 / 4;
        object-fit: cover;
        display: block;
        position: relative;
        z-index: 1;
        border-radius: 0;
        box-shadow: none;
    }

    .hero__body {
        flex: 2;
        display: grid;
        gap: calc(var(--spacing-lg) + 0.5rem);
    }

    .hero__text {
        text-align: left;
    }

    .areas__grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: stretch;
    }

    .header__menu-toggle {
        display: none;
    }

    .header__nav--desktop {
        display: block;
        margin-left: auto;
        margin-right: var(--spacing-lg);
    }

    .header__cta {
        display: inline-flex;
    }

    .contato__actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .areas__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Foco para acessibilidade */
.btn:focus-visible,
.header__nav-link:focus-visible {
    outline: 3px solid rgba(47, 143, 94, 0.3);
    outline-offset: 3px;
}

/* Afasta o botão específico do Hero em relação ao texto de cima */
.hero__text .btn {
    margin-top: var(--spacing-md); /* Adiciona um espaço de 1.5rem (ou 24px) */
}