:root {
    /* Altura aproximada do header fixo (logo + paddings + borda) — ajuste se mudar o layout */
    --site-header-offset: 5rem;
}

body {
    background-color: #e9edf0;
}

html {
    scroll-padding-top: var(--site-header-offset);
}

#conteudo-principal {
    padding-top: var(--site-header-offset);
}

body > a.visually-hidden-focusable:focus {
    z-index: 1050;
}

.bg-blue {
    background-color: #132442;
}

/* Menu mobile — hambúrguer + drawer */
.hamburger-menu {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    padding: 0.35rem;
    margin: 0;
    cursor: pointer;
    border-radius: 0.25rem;
    color: #132442;
    line-height: 0;
}

.hamburger-menu:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(19, 36, 66, 0.35);
}

.hamburger-menu__bars {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 26px;
    height: 22px;
    vertical-align: middle;
}

.hamburger-menu__line {
    display: block;
    height: 2px;
    width: 100%;
    background-color: currentColor;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}

.hamburger-menu.is-open .hamburger-menu__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.is-open .hamburger-menu__line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.is-open .hamburger-menu__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    background-color: #fff;
    padding-bottom: 10px;
}

.site-header__bar {
    position: relative;
}

.site-header__logo img {
    max-height: 52px;
    width: auto;
}

.site-header__backdrop {
    position: fixed;
    inset: 0;
    z-index: 1025;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.site-header__backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (min-width: 992px) {
    .site-header__drawer {
        position: static;
        transform: none;
        width: auto;
        max-width: none;
        height: auto;
        min-height: 0;
        background: transparent;
        box-shadow: none;
        padding: 0;
        overflow: visible;
    }
}

@media (max-width: 991.98px) {
    /* Botão acima do drawer para a animação ícone → X ficar visível */
    .hamburger-menu {
        position: relative;
        z-index: 1040;
    }

    .site-header__drawer {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 88vw);
        max-width: 100%;
        height: 100vh;
        height: 100dvh;
        margin: 0;
        padding: 4.5rem 1.25rem 1.5rem;
        background-color: #fff;
        z-index: 1035;
        box-shadow: -6px 0 24px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        transition: transform 0.28s ease;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .site-header__drawer.is-open {
        transform: translateX(0);
    }

    .site-header__nav {
        gap: 1rem;
    }

    .site-header__links {
        list-style: none;
        padding: 0;
        margin: 0;
        gap: 0.25rem;
    }

    .site-header__links li {
        margin: 0;
        border-bottom: 1px solid #e9edf0;
    }

    .site-header__links li a {
        display: block;
        padding: 0.75rem 0;
    }

    .site-header__nav .btn-orange {
        width: 100%;
        margin-top: 0.5rem;
    }
}

body.site-menu-open {
    overflow: hidden;
}

/* Hero: fundo por slide */
#hero .hero-slide {
    min-height: 475px;
    padding-top: 3rem;
    padding-bottom: 3rem;
    overflow-x: hidden;
    background-color: #132442;
    background-image: url("../images/hero_1.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 100%;
}

#hero .hero-slide--2 {
    background-image: url("../images/hero_2.png");
}

#hero .carousel-inner {
    overflow-x: hidden;
}

/*
 * Bootstrap 5: .carousel.pointer-event usa touch-action: pan-y, o que impede o swipe
 * horizontal no hero. Permitir pan em ambos os eixos só neste carrossel.
 */
#hero #heroCarousel.carousel.pointer-event {
    touch-action: pan-x pan-y;
}

/* Fade suave entre slides (não usar transition: transform aqui — quebra o carousel-fade do Bootstrap) */
#hero #heroCarousel.carousel-fade .carousel-item {
    transition: opacity 1.1s ease-in-out;
}

#hero #heroCarousel.carousel-fade .carousel-item.active.carousel-item-start,
#hero #heroCarousel.carousel-fade .carousel-item.active.carousel-item-end {
    transition: opacity 0s 1.1s;
}

@media (prefers-reduced-motion: reduce) {
    #hero #heroCarousel.carousel-fade .carousel-item,
    #hero #heroCarousel.carousel-fade .carousel-item.active.carousel-item-start,
    #hero #heroCarousel.carousel-fade .carousel-item.active.carousel-item-end {
        transition: none;
    }
}

#hero .hero-carousel-indicators {
    margin-bottom: 1rem;
    z-index: 3;
}

#hero .hero-carousel-indicators [type="button"] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.45);
    opacity: 1;
}

#hero .hero-carousel-indicators [type="button"].active {
    background-color: #fff;
}

#hero .hero-carousel-control {
    width: min(12%, 4rem);
    z-index: 3;
}

#hero .hero-carousel-control .carousel-control-prev-icon,
#hero .hero-carousel-control .carousel-control-next-icon {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
    width: 2.5rem;
    height: 2.5rem;
}

/* Sombra em camadas: halo escuro + blur — lê bem em fundo claro e em áreas escuras */
#hero .hero-title {
    margin: 0;
    font-size: clamp(1.35rem, 3.4vw, 2.1rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.03em;
    color: #fff;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.85),
        0 1px 2px rgba(0, 0, 0, 0.65),
        0 2px 8px rgba(0, 0, 0, 0.5),
        0 4px 18px rgba(0, 0, 0, 0.4);
}

#hero .hero-lead {
    margin: 0;
    font-size: clamp(1rem, 1.65vw, 1.15rem);
    font-weight: 500;
    line-height: 1.55;
    color: #fff;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.8),
        0 1px 2px rgba(0, 0, 0, 0.55),
        0 2px 10px rgba(0, 0, 0, 0.45),
        0 3px 14px rgba(0, 0, 0, 0.35);
}

/* Mesmo tamanho do .hero-title; só ajustes para títulos longos (sem caixa alta forçada) */
#hero .hero-title--long {
    text-transform: none;
    letter-spacing: 0.01em;
}

.hero-cta {
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.hero-cta:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.btn.btn-blue {
    background-color: #1e4d8c;
    border: 1px solid #1e4d8c;
    color: #fff;
}

.btn.btn-blue:hover,
.btn.btn-blue:focus-visible {
    background-color: #163a6b;
    border-color: #163a6b;
    color: #fff;
}

.btn.btn-blue:focus-visible {
    box-shadow: 0 0 0 0.25rem rgba(30, 77, 140, 0.45);
}

.btn.btn-orange {
    background-color: #128C7E;
    border: 1px solid #128C7E;
    color: #fff;
}

.btn.btn-orange:hover,
.btn.btn-orange:focus-visible {
    background-color: #25D366;
    border-color: #25D366;
    color: #fff;
}

.btn.btn-orange:focus-visible {
    box-shadow: 0 0 0 0.25rem rgba(236, 108, 43, 0.45);
}

.site-header__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-header__links li a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

@media (min-width: 992px) {
    .site-header__links {
        gap: 20px;
        padding-right: 20px;
    }

    .site-header__links li {
        display: inline-block;
        margin-right: 10px;
    }
}
footer{
    background-color: #dcdcda;
}
.gorila-footer-image {
    position: fixed;
    right: 0;
    bottom: 0;
    opacity: 0.3;
    z-index: 1;
    pointer-events: none;
    height: auto;
}

@media (max-width: 767.98px) {
    .gorila-footer-image {
        max-width: 200px;
    }
}

/* Botão flutuante WhatsApp */
.btn-whatsapp-float {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    z-index: 1040;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-whatsapp-float:hover {
    background: #20bd5a;
    color: #fff;
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn-whatsapp-float:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(37, 211, 102, 0.45);
}

/* Modal WhatsApp — header verde */
.modal-header--whatsapp {
    background-color: #25d366;
    border-bottom: none;
    padding: 1rem 1.25rem;
    flex-shrink: 0;
}

.modal-header--whatsapp .modal-title {
    color: #fff;
    font-weight: 600;
}

.modal-content--whatsapp {
    overflow: hidden;
}

.modal-body--whatsapp {
    background-color: #ece5dd;
    background-image: url("../images/bgwa.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
}

.modal-wa-intro {
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.9);
}

/* Página Serviços — banner ponta a ponta */
.page-banner {
    position: relative;
    width: 100vw;
    max-width: 100%;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 220px;
    display: flex;
    align-items: center;
    background-color: #132442;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.page-banner--servicos {
    background-image: url("../images/hero_1.png");
}

.page-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(19, 36, 66, 0.88) 0%, rgba(19, 36, 66, 0.55) 55%, rgba(19, 36, 66, 0.35) 100%);
}

.page-banner__inner {
    z-index: 1;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.page-banner__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.85),
        0 2px 12px rgba(0, 0, 0, 0.45);
}

.page-banner__lead {
    max-width: 36rem;
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    font-weight: 500;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* Título do banner em páginas de serviço (textos longos, sem caixa alta forçada) */
.page-banner__title--detail {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: clamp(1.15rem, 3vw, 1.95rem);
    line-height: 1.25;
    max-width: 100%;
}

.servico-detalhe-banner__icon-wrap {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.servico-detalhe-banner__icon {
    width: 96px;
    height: 96px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.servico-detalhe__corpo {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #212529;
}

.servico-card__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.servico-card__icon-img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    display: block;
}

.servico-card {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.servico-card:hover {
    box-shadow: 0 0.5rem 1.25rem rgba(19, 36, 66, 0.12) !important;
    transform: translateY(-2px);
}

.servico-card__title {
    line-height: 1.35;
}

.servico-card .text-orange {
    color: #ec6c2b !important;
}

/* Carrossel de serviços na principal */
.servicos-carousel {
    position: relative;
}

.servicos-carousel .carousel-inner {
    padding-inline: 2.6rem;
}

.servicos-carousel__control {
    width: 2.3rem;
    opacity: 1;
    z-index: 3;
}

.servicos-carousel__control .carousel-control-prev-icon,
.servicos-carousel__control .carousel-control-next-icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background-color: rgba(19, 36, 66, 0.9);
    background-size: 52% 52%;
}

.servicos-carousel__control:hover .carousel-control-prev-icon,
.servicos-carousel__control:hover .carousel-control-next-icon {
    background-color: #132442;
}

@media (max-width: 991.98px) {
    .servicos-carousel .carousel-inner {
        padding-inline: 2.1rem;
    }
}

/* Slider desktop serviços: 4 visíveis, avanço de 1 card */
.servicos-desktop-slider {
    position: relative;
}

.servicos-desktop-slider__viewport {
    overflow: hidden;
    padding-inline: 0;
}

.servicos-desktop-slider__track {
    display: flex;
    will-change: transform;
}

.servicos-desktop-slider__item {
    flex: 0 0 auto;
    padding-inline: 0.9rem;
    box-sizing: border-box;
}

.servicos-desktop-slider__control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.1rem;
    height: 2.1rem;
    border: 0;
    border-radius: 50%;
    background-color: rgba(19, 36, 66, 0.92);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

.servicos-desktop-slider__control--prev {
    left: 0;
}

.servicos-desktop-slider__control--next {
    right: 0;
}

/* Frases de destaque na principal */
#frases-destaque {
    background: linear-gradient(180deg, #f7f9fb 0%, #eef2f6 100%);
}

.frase-destaque {
    height: 100%;
    padding: 1.25rem 1.1rem;
    border-left: 4px solid #ec6c2b;
    border-radius: 0.35rem;
    background: #fff;
    box-shadow: 0 8px 20px rgba(19, 36, 66, 0.07);
}

.frase-destaque__texto {
    margin: 0;
    font-size: 1.03rem;
    line-height: 1.6;
    color: #132442;
}

.frase-destaque__autor {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #ec6c2b;
}

/* Página Sobre Nós */
.sobre-box {
    padding: 1.4rem;
    border-radius: 0.6rem;
    background: #fff;
    border: 1px solid #e6ebf0;
    box-shadow: 0 8px 20px rgba(19, 36, 66, 0.06);
}

.sobre-pill {
    padding: 1rem 1rem 0.95rem;
    border-radius: 0.6rem;
    background: #fff;
    border: 1px solid #e6ebf0;
    box-shadow: 0 6px 16px rgba(19, 36, 66, 0.05);
}

.sobre-media-slot {
    position: relative;
    min-height: 200px;
    height: 100%;
    padding: 1rem;
    border-radius: 0.65rem;
    border: 1px solid #e6ebf0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(19, 36, 66, 0.06);
}

.sobre-media-slot__image {
    display: block;
    width: 100%;
    height: 230px;
    margin-bottom: 0.8rem;
    border-radius: 0.45rem;
    object-fit: cover;
}