*{
    box-sizing: border-box;
    list-style: none;
    font-family: "Inter", sans-serif;
}

html {
    scroll-behavior: smooth;
}

header{
    background-color: #2B323D;
    width: 100%;
    height: 10%;
    top:0;
    padding:  20px  20px;
    z-index: 3;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

header nav ul {
    cursor: pointer;
    gap: 48px;
}

/* Exibe lista do header apenas no desktop (evita sobrescrever Tailwind 'hidden lg:flex') */
@media (min-width: 1024px) {
    header nav ul {
        display: flex;
    }
}

section:not(#painel-escritorio) {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}



.container {
    max-width: 1008px !important;
    position:relative;
}

@media only screen and (max-width: 768px) {
    .container {
        padding: 20px;
    }
}

div.transbox {
    background: rgba(224, 174, 119, 0.69);
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.border-gradiente-ouro {
  border-style: solid;
  border-width: 3px;
  border-image: linear-gradient(to right, #8F5E25 0%, #E8BC64 50%, #8F5E25 100%) 1;
  border-radius: 30px;
}

/* ADICIONE ESTE CSS NO SEU ARQUIVO styles.css */

/* Grid para as fotos do escritório */
.photo-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, 1fr); /* 2 colunas iguais */
    grid-template-rows: repeat(2, 200px);  /* 2 linhas de 200px cada */
}

/* Estilo básico para os cards */
.card {
    border-radius: 10px;
    overflow: hidden; /* Para as bordas arredondadas funcionarem */
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Para a imagem preencher todo o espaço sem distorcer */
}

/* Para fazer uma imagem ocupar 2 linhas (ficar alta) */
.card-tall {
    grid-row: span 2; /* Ocupa 2 linhas */
}

/* Para fazer uma imagem ocupar 2 colunas (ficar larga) - caso precise depois */
.card-wide {
    grid-column: span 2; /* Ocupa 2 colunas */
}

/* Estilo para as legendas das imagens */
.card figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    font-size: 12px;
}

/* Para fazer a legenda aparecer só quando passar o mouse (opcional) */
.card figure {
    position: relative;
    margin: 0;
}

.card figcaption {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover figcaption {
    opacity: 1;
}

#painel-apresetacao h3 {
  font-family: 'Tiro Bangla', serif;
}


.linear-gradient-border {
    border-left: 1px solid #E8BC64;
    border-right: 1px solid #8F5E25;
    background-image: linear-gradient(-25deg, #8F5E25, #E8BC64), linear-gradient(-25deg, #8F5E25, #E8BC64);
    background-size: 100% 1px;
    background-position: 0 0, 0 100%;
    background-repeat: no-repeat;
}

#whatsapp-icone,
#whatsapp-icone svg {
    transition: all 300ms ease;
}

#whatsapp-icone:hover,
#whatsapp-icone:hover svg {
    transform: scale(1.25);
}

/* Acessibilidade: foco visível para elementos interativos */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #E8BC64; /* ouro */
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(232, 188, 100, 0.35);
    border-radius: 6px;
}

/* Ajuste de foco visível específico para o botão flutuante */
#whatsapp-icone:focus-visible {
    outline-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.4);
}

/* Reforço de z-index para garantir overlay acima do botão WhatsApp */
#mobile-menu-overlay {
    z-index: 50 !important;
}

#whatsapp-icone {
    z-index: 40 !important;
}

.reveal {
    opacity: 0;
    transform: translateY(4rem);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
    /* Estado final */
.active {
    opacity: 1;
    transform: translateX(0);
}

.card-time {
    overflow: hidden;
    transition: all 300ms ease;
}

@media only screen and (max-width: 768px) {
    .aberto {
        height: 370px;
    }
    .fechado {
        height: 115px;
    }
}

.icone-atuacao {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    background-image: linear-gradient(to top right, #8F5E25 0%, #E8BC64 50%, #8F5E25 100%);
}

/* Estilos para o Carrossel do Escritório */
.escritorio-swiper {
    width: 100%;
    height: 100%;
    overflow: visible; /* Importante para ver o slide ao lado */
    min-height: 330px; /* Garante altura mínima */
    margin-left: 0; /* Garante que comece na esquerda */
    padding-right: 0; /* Remove padding à direita para permitir overflow */
    padding-left: 0; /* Remove qualquer padding à esquerda */
    clip-path: inset(0 0 0 -.75rem); /* Corta tudo que sai dos limites à esquerda */

}

.escritorio-swiper .swiper-wrapper {
    height: 100%;
    align-items: stretch; /* Garante que os slides tenham a mesma altura */
    margin-left: 0; /* Remove qualquer margem à esquerda */
    padding-left: 0; /* Remove qualquer padding à esquerda */
    transform: translate3d(0px, 0, 0); /* Força posição inicial em 0 */
}

.escritorio-swiper .swiper-slide {
    border-radius: 15px;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    opacity: 0.7; /* Deixa os slides inativos um pouco transparentes */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Impede que os slides encolham */
}

.escritorio-swiper .swiper-slide:first-child {
    margin-left: 0; /* Garante que o primeiro slide não tenha margem à esquerda */
}

.escritorio-swiper .swiper-slide-active {
    opacity: 1; /* Slide ativo fica totalmente visível */
    transform: scale(1.02); /* Reduz um pouco o scale para melhor ajuste */
}

.escritorio-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    display: block;
}

/* Ajustes específicos para mobile */
@media (max-width: 768px) {
    .escritorio-swiper {
        margin-right: -2.5rem; /* Permite que a "hint" ultrapasse o padding do container */
    }
    
    /* Garante que o container pai permita o overflow */
    .escritorio-swiper .swiper-wrapper {
        transform-style: preserve-3d;
    }
    
    /* Remove qualquer espaço à esquerda no mobile */
    .escritorio-swiper .swiper-slide {
        margin-left: 0;
        padding-left: 0;
    }
}

/* Layered background utility */
.layered-bg,
#layered-bg {
    position: relative;
    /* Bottom layer: fundoOuro.jpg at 100% opacity */
    background-image: url('img/bg-ouro.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden; /* contain pseudo-elements */
}

/* Ensure inner content stays above overlays */
.layered-bg > *,
#layered-bg > * {
    position: relative;
    z-index: 1;
}

/* Middle layer: solid color #E0AE77 at 69% opacity */
.layered-bg::before,
#layered-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #E0AE77;
    opacity: 0.69; /* 69% */
    pointer-events: none;
    z-index: 0;
}

/* Top layer: fundoOuroTextura.png at 17% opacity */
.layered-bg::after,
#layered-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('img/bg-ouro-textura.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.17; /* 17% */
    pointer-events: none;
    z-index: 0;
}