/* Regras usadas só na página inicial (separadas de inicio.css, que todas as páginas carregam). */
.hero-section {
    position: relative;
    min-height: 600px;
    overflow: visible;
}

.hero-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}
@media (min-width: 901px) {
    
    .hero-history-description {
        font-size: 1.375rem;
        margin-bottom: 32px;
        text-align: left;
        padding: 20px 24px;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        border-radius: 16px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
}


.hero-history-description {
    color: white;
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 28px;
    text-align: left;
    padding: 18px 22px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.hero-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
@media (max-height: 700px) {
    .hero-carousel-control {
        top: auto;
        bottom: 100px;
        transform: none;
    }
    
    .hero-carousel-control:hover {
        transform: scale(1.1);
    }
}

@media (max-height: 500px) {
    .hero-carousel-control {
        bottom: 80px;
    }
}


.hero-carousel-control:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.hero-carousel-control.prev {
    left: 24px;
}

.hero-carousel-control.next {
    right: 24px;
}

.hero-carousel-control svg {
    width: 24px;
    height: 24px;
    color: var(--navy-900);
}

.hero-carousel-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 12px;
}

.hero-stats {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 0 20px;
    width: min(940px, 95%);
    max-width: calc(100% - 40px);
}

.mission-vision {
    padding: 140px 80px 80px;
    background: linear-gradient(180deg, #f5f7fc 0%, #ffffff 60%);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--navy-900);
}

.mission-vision-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
}

.mobile-heading {
    display: none;
}
@media (max-width: 1100px) {
    .section-header {
        display: none;
    }

    .mission-vision-body {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mobile-heading {
        display: block;
        font-size: 2.2rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        color: var(--navy-900);
    }
}


.what-we-do {
    padding: 100px 80px;
    background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-900) 100%);
    text-align: center;
    color: #ffffff;
    overflow: visible;
    position: relative;
}

.what-we-do::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(47, 99, 182, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.what-we-do-header {
    position: relative;
    margin-bottom: 48px;
}

.script-title {
    font-family: inherit;
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--navy-500);
}

.what-we-do h2 {
    margin-top: -12px;
    font-size: clamp(2.6rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #ffffff;
}

.map-section {
    padding: 80px 80px 96px;
    background: #ffffff;
    color: var(--navy-900);
    text-align: center;
}

.map-header h2 {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--navy-900);
}

.map-header p {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    color: var(--neutral-700);
}

.map-frame .map-embed {
    width: 100%;
    height: 420px;
    display: block;
    border: 0;
    pointer-events: none;
}

.map-link-overlay {
    position: absolute;
    inset: 0;
    display: block;
    cursor: pointer;
    text-indent: -9999px;
}
@media (max-width: 1200px) {

    .hero-section {
        display: block;
        min-height: 0;
        height: auto;
        padding-bottom: 0;
        margin-bottom: 0;
        overflow: visible;
        background: none;
    }
    
    .hero-carousel-track {
        height: 100%;
    }
    
    .hero-carousel-control {
        width: 40px;
        height: 40px;
        top: auto;
        bottom: 100px;
        transform: none;
    }
    
    .hero-carousel-control:hover {
        transform: scale(1.1);
    }
    
    .hero-carousel-control.prev {
        left: 12px;
    }
    
    .hero-carousel-control.next {
        right: 12px;
    }
    
    .hero-carousel-control svg {
        width: 20px;
        height: 20px;
    }
    
    .hero-carousel-indicators {
        bottom: 8px;
    }
    
    .hero-history-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 20px;
        margin-bottom: 0;
        gap: 12px;
        padding: 20px 16px;
        width: calc(100% - 96px);
        max-width: calc(100% - 96px);
        margin-left: auto;
        margin-right: auto;
    }

    .mission-vision {
        padding: 80px 48px 72px;
    }
    
    .mission-vision-body {
        gap: 32px;
    }

    .what-we-do {
        padding: 72px 48px;
    }

    .map-section {
        padding: 72px 48px 88px;
    }
}

@media (max-width: 900px) {


    .hero-section {
        display: flex;
        flex-direction: column;
        padding-bottom: 0;
    }

    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: auto;
        margin-bottom: 40px;
        width: calc(100% - 96px);
        max-width: calc(100% - 96px);
        align-self: center;
    }

    .mission-vision {
        padding: 60px 48px 64px;
    }

    .mission-vision-body {
        grid-template-columns: 1fr;
    }

    .what-we-do {
        padding: 72px 48px;
    }
}

@media (max-width: 700px) {

    .hero-section {
        min-height: 500px;
        display: flex;
        flex-direction: column;
        padding-bottom: 0;
    }

    .hero-history-description {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 18px;
        text-align: left;
        padding: 12px 14px;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        border-radius: 12px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: auto;
        margin-bottom: 40px;
        grid-template-columns: 1fr;
        gap: 18px;
        width: calc(100% - 56px);
        max-width: calc(100% - 56px);
        padding: 0 20px;
        align-self: center;
    }

    .mission-vision {
        padding: 40px 28px 64px;
    }

    .what-we-do {
        padding: 64px 20px;
    }

    .what-we-do-header {
        margin-bottom: 32px;
    }

    .map-section {
        padding: 64px 20px 72px;
    }
}

@media (max-width: 480px) {
    
    .hero-slide-content .hero-history-description {
        display: block !important;
        font-size: 0.75rem;
        line-height: 1.45;
        margin-bottom: 14px;
        text-align: left;
        padding: 10px 12px;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        border-radius: 10px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .what-we-do {
        padding: 56px 16px;
    }

    .what-we-do-header {
        margin-bottom: 28px;
    }
}
