/* =========================
   HERO
========================= */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    border-radius: 10px;
    position: relative;
    width: 100%;
    margin-top: 3rem;
}

/* =========================
   HERO MEDIA (FOTO)
========================= */
.hero-media {
    width: 100%;
    max-width: 400px; /* limite no mobile */
    border-radius: 0 40px 0 40px;
    overflow: hidden;
    margin-bottom: var(--spacing-sm);
}

.hero-photo {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================
   HERO CONTENT
========================= */
.hero-content h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.hero-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-navy);
    margin: 0 0 var(--spacing-sm) 0;
    text-align: left; /* melhor leitura */
}

/* =========================
   BOTÕES CTA
========================= */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    width: 100%;
    margin-top: var(--spacing-lg);
}

.cta-whatsapp.button,
.cta-sobre.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    width: 100%;
    text-align: center;
    border-radius: 0 20px 0 20px;
    font-weight: 600;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.cta-whatsapp.button {
    background-color: var(--color-navy);
    color: var(--color-bg);
}

.cta-whatsapp.button:hover,
.cta-whatsapp.button:focus,
.cta-sobre.button:hover,
.cta-sobre.button:focus {
    background-color: var(--color-green);
    transform: translateY(-5px);
    color: var(--color-navy);
    border: none;
    font-weight: 700;
}

.cta-sobre.button {
    border: 2px solid var(--color-navy);
    color: var(--color-navy);
    background-color: transparent;
}



/* =========================
   RESPONSIVIDADE
========================= */

/* Tablets 768px+ */
@media (min-width: 48em) {
    .hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        text-align: left;
        column-gap: var(--spacing-xl);
        margin-top: 5rem;
    }

    .hero-content {
        grid-column: 1;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-media {
        grid-column: 2;
        grid-row: 1 / -1;
        max-width: 100%;
        align-self: center;
        margin-bottom: 0;
    }

    .hero-buttons {
        gap: var(--spacing-md);
    }
}

/* Desktops 900px+ */
@media (min-width: 56.25em) {
    .hero {
        flex-direction: row;
        text-align: left;
        gap: var(--spacing-xl);
        padding: var(--spacing-md) var(--spacing-lg);
        
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.125rem;
    }
}

/* Monitores grandes 1200px+ */
@media (min-width: 75em) {
    .hero {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.25rem;
    }
}
