/* ==========================================================
   LAYOUT
========================================================== */

.container {
    width: min(1400px, calc(100% - 2rem));
    min-width: 0;

    margin-inline: auto;
}

/* ==========================================================
   SECTIONS
========================================================== */

.section {
    padding-block: clamp(5rem, 8vw, 7rem);
}

.header {

    position: sticky;

    top: 0;

    z-index: 1100;

    height: 90px;

    display: flex;

    align-items: center;

    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(0,0,0,.04);

    box-shadow: 0 4px 20px rgba(0,0,0,.04);

}

.navbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.navbar__content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.menu-overlay {
    display: none;
}

.menu{

    display:flex;

    gap:3rem;

    list-style:none;

    margin:0;

    padding:0;

}

.menu a{

    text-decoration:none;

    color:var(--color-text);

    font-weight:600;

    position:relative;

}

.hero {
    min-height: calc(100vh - 90px);

    display: flex;
    align-items: center;

    padding: clamp(5rem, 7vw, 8rem) 0;

    overflow: hidden;
}

.hero__container {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(480px, 0.95fr);
    gap: clamp(3rem, 5vw, 6rem);
    align-items: center;
}

.hero__content {
    width: 100%;
    max-width: 850px;
}

.hero__visual {
    position: relative;
    min-height: clamp(560px, 65vh, 720px);
}

/*==========================================================
ABOUT
==========================================================*/

.about{

    background:#fff;

}

.about__numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 70px 0;
}

.about__story{

    max-width:900px;

    margin:auto;

    text-align:center;

}

.about__story p{

    font-size:1.15rem;

    line-height:1.9;

    color:#5d6677;

    margin-bottom:40px;

}

/* ==========================================================
   LEADERSHIP
========================================================== */

.leadership__heading {
    max-width: 800px;
}

.leadership__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-6);
    align-items: stretch;
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding: var(--space-8) 0;
    }

    .hero__container {
        grid-template-columns: 1fr;
    }

    .hero__visual {
        min-height: 460px;
    }

    .about__content {
        grid-template-columns: 1fr;
    }

    .about__numbers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
        margin: 3rem 0;
    }

    .leadership__grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {
    
        .section {
        padding-block: 4.5rem;
    }

    .hero {
        padding: var(--space-7) 0;
    }

    .hero__title {
        font-size: clamp(2.4rem, 12vw, 4rem);
    }

    .hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero__actions .btn-primary,
    .hero__secondary-link {
        width: 100%;
        text-align: center;
    }

    .hero__visual {
        min-height: 340px;
    }

    .about__numbers {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 2.5rem 0;
    }

    .about__story p {
        margin-bottom: 1.75rem;
        font-size: 1rem;
        line-height: 1.75;
    }

    .leader-profile {
        padding: 2rem 1.5rem;
    }

    .leader-profile__photo-wrapper {
        width: 150px;
        height: 150px;
    }
}


/* ==========================================================
   HEADER RESPONSIVO
========================================================== */

@media (max-width: 1000px) {
    .header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;

    z-index: 1100;

    width: 100%;
    height: 78px;
    }

    body {
        padding-top: 78px;
    }

    .logo__image {
        width: 180px;
    }

    .navbar__content {
        position: fixed;
        top: 78px;
        right: 0;

        z-index: 1001;

        width: min(360px, 88vw);
        height: calc(100dvh - 78px);
        overflow-y: auto;
        overscroll-behavior: contain;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;

        padding: 2rem;

        background: var(--color-white);

        box-shadow:
            -20px 0 50px rgba(8, 29, 58, 0.18);

        transform: translateX(105%);

        transition: transform 0.35s ease;
    }

    .navbar__content.is-open {
        transform: translateX(0);
    }

    .menu {
        flex-direction: column;
        gap: 0;
    }

    .menu li {
        width: 100%;
    }

    .menu a {
        display: block;

        width: 100%;
        padding: 1rem 0;

        border-bottom: 1px solid var(--color-border);
    }

    .navbar__cta {
        width: 100%;
        margin-top: auto;
    }

    .menu-overlay {
        position: fixed;
        inset: 78px 0 0 0;

        z-index: 1000;

        display: block;

        border: 0;

        background: rgba(8, 29, 58, 0.58);

        visibility: hidden;
        opacity: 0;
        pointer-events: none;

        cursor: pointer;

        transition:
            visibility 0.3s ease,
            opacity 0.3s ease;
    }

    .menu-overlay.is-visible {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 600px) {
    .header {
        height: 70px;
    }

    body {
    padding-top: 70px;
    }

    .logo__image {
        width: 155px;
    }

    .navbar__content {
        top: 70px;

        width: 100%;
        height: calc(100dvh - 70px);

        padding: 1.5rem;
    }

    .menu-overlay {
        inset: 70px 0 0 0;
    }
}

