/* --- RESET E ESTILOS GLOBAIS --- */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url("../img/fundo.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 21, 48, 0.8);
    z-index: -1;
}

main {
    flex: 1 0 auto;
    padding-top: 90px; /* Espaço para o menu fixo */
}

section {
    padding: 60px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- HEADER (menuBarra.css) --- */
.menu-fixo{position:fixed;top:0;left:0;width:100%;background:#333;display:flex;justify-content:space-between;align-items:center;padding:15px 20px;box-sizing:border-box;font-family:sans-serif;font-size:16px;z-index:1000}.menu-fixo .logo{color:#fff;font-size:1.5em;font-weight:bold;text-decoration:none}.menu-links{display:flex;gap:20px;flex-wrap:wrap}.menu-links a{display:flex;align-items:center;color:#fff;text-decoration:none;transition:color .3s}.menu-links a:hover{color:#ff9800}@media (max-width:768px){.menu-fixo{flex-direction:column;align-items:flex-start}.menu-links{flex-direction:column;gap:10px;width:100%;margin-top:10px}}.imagemlogo{width:200px;height:auto}.profile-container{display:flex;align-items:center;position:relative}.profile-button{display:flex;align-items:center;gap:5px;padding:8px 12px;background:transparent;color:white;border:none;font-weight:bold}.profile-dropdown{display:none;position:absolute;right:0;top:100%;background-color:#f0f0f0;width:180px;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 10px rgba(0,0,0,.15);z-index:1000}.profile-dropdown div{padding:10px 15px;border-bottom:1px solid #ccc;color:#111}.profile-dropdown div:last-child{border-bottom:none}.profile-dropdown div:hover{background-color:#ddd}.profile-container:hover .profile-dropdown{display:block}.dot-bg{background-image:radial-gradient(#ccc 1px,transparent 1px);background-size:20px 20px;height:100vh}.profile-dropdown a{color:#111}

/* --- SEÇÃO HOME (styles.css) --- */
#home {
    padding: 0;
    height: 100vh;
    position: relative;
}
.swiper{width:100%;height:100%}.swiper-slide{text-align:center;font-size:18px;background:#c4acac;display:flex;justify-content:center;align-items:center}.swiper-slide img{filter:brightness(50%);display:block;width:100%;height:100%;object-fit:cover}.swiper-button-next::after,.swiper-button-prev::after{color:white !important;}.texto-central{position:absolute;top:55%;left:50%;transform:translate(-50%,-50%);color:white;font-size:70px;font-weight:bold;padding:90px 5px;font-family:"Lato",serif;border-radius:5px}

/* Botões de navegação "empurram" na direção do clique, reforçando o slide */
.swiper-button-next,
.swiper-button-prev {
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), opacity .25s ease;
}
.swiper-button-next:hover  { transform: translateX(5px); }
.swiper-button-prev:hover  { transform: translateX(-5px); }
.swiper-button-next:active { transform: translateX(10px) scale(.9); }
.swiper-button-prev:active { transform: translateX(-10px) scale(.9); }

/* --- SEÇÃO SOBRE (sobre.css) --- */
#sobre {
    position: relative;
    background-color: #f8f9fa;
    color: #333;
    overflow: hidden;
}
#sobre::before, #sobre::after {
    content: '';
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    background-image: linear-gradient(45deg, #e9ecef 25%, transparent 25%, transparent 75%, #e9ecef 75%, #e9ecef),
                      linear-gradient(-45deg, #e9ecef 25%, transparent 25%, transparent 75%, #e9ecef 75%, #e9ecef);
    background-size: 20px 20px;
}
#sobre::before {
    left: 0;
}
#sobre::after {
    right: 0;
}
.sobre-container{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:60px;max-width:1200px;margin:0 auto;padding:40px}.sobre-content{flex:1;background:transparent;padding:0;border:none;box-shadow:none;}.sobre-content h1{font-size:2.8rem;text-align:left;margin-top:0;margin-bottom:30px;border-bottom:3px solid #c59d5f;padding-bottom:15px;color:#333}.sobre-content p{font-size:1.15rem;line-height:1.8;margin-bottom:20px;text-align:justify;color:#212529}.sobre-content p:last-child{margin-bottom:0}.sobre-imagem{flex:0 1 450px}.imagem-sobre{width:100%;height:auto;border-radius:10px;box-shadow:0 8px 25px rgba(0,0,0,.15);border:8px solid #fff}

/* --- ANIMAÇÕES DE ENTRADA --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.anim-hidden {
    opacity: 0;
    transform: translateY(40px);
}

.anim-visible {
    animation: fadeInUp 0.65s ease forwards;
}

.galeria-item.anim-hidden {
    opacity: 0;
    transform: scale(0.95);
}

.galeria-item.anim-visible {
    animation: fadeInScale 0.55s ease forwards;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.93); }
    to   { opacity: 1; transform: scale(1); }
}

/* --- SEÇÃO SERVIÇOS --- */
#servicos {
    background: linear-gradient(180deg, #0c1836 0%, #1a2a4c 50%, #0c1836 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

#servicos::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(197,157,95,0.07) 0%, transparent 70%);
    pointer-events: none;
}

#servicos::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(197,157,95,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.servicos-header {
    text-align: center;
    margin-bottom: 55px;
    position: relative;
}

.servicos-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #c59d5f, #fff8e7, #c59d5f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.servicos-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 22px;
    letter-spacing: 0.5px;
}

.servicos-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c59d5f, transparent);
    margin: 0 auto;
    border-radius: 2px;
}

.servicos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 70px;
    position: relative;
}

.item-servico {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 38px 26px 30px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid rgba(197, 157, 95, 0.18);
    border-top: 2px solid #c59d5f;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.item-servico::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c59d5f, transparent);
    opacity: 0;
    transition: opacity 0.35s;
}

.item-servico:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(197,157,95,0.1);
    border-color: rgba(197, 157, 95, 0.45);
}

.item-servico:hover::before {
    opacity: 1;
}

.servico-icon-wrap {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(197,157,95,0.2), rgba(197,157,95,0.05));
    border: 1px solid rgba(197,157,95,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    overflow: hidden;
    transition: background 0.3s, transform 0.3s;
}

.item-servico:hover .servico-icon-wrap {
    background: linear-gradient(135deg, rgba(197,157,95,0.35), rgba(197,157,95,0.1));
    transform: scale(1.08);
}

.servico-icon-wrap img {
    width: 46px;
    height: 46px;
    object-fit: cover;
}

.servico-icon-emoji {
    font-size: 2rem;
    color: #c59d5f;
}

.item-servico h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.item-servico p {
    font-size: 0.93rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 26px;
    flex-grow: 1;
}

.servico-btn {
    display: inline-block;
    padding: 10px 26px;
    background: transparent;
    color: #c59d5f;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    border: 1.5px solid #c59d5f;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    margin-top: auto;
}

.servico-btn:hover {
    background: #c59d5f;
    color: #0c1836;
    transform: translateY(-2px);
}

/* --- GALERIA --- */
.galeria-titulo {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
}

.galeria-titulo h3 {
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}

.galeria-servicos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.galeria-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.galeria-item:first-child img {
    height: 100%;
}

.galeria-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.galeria-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12,24,54,0.85) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.galeria-overlay span {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(197,157,95,0.6);
}

.galeria-item:hover img {
    transform: scale(1.08);
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .galeria-servicos {
        grid-template-columns: repeat(2, 1fr);
    }
    .galeria-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
}

.clientes {
    margin-top: 60px;
    text-align: center;
}

.clientes h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.clientes > p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.8);
}

.videos-section {
    margin-top: 60px;
    text-align: center;
}

.videos-section h2 {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #c59d5f, #fff8e7, #c59d5f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.videos-section > p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.7);
}

.videosSwiper {
    width: 100%;
    padding: 20px 70px 60px;
    box-sizing: border-box;
}

.videosSwiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
    transform: scale(0.82);
    opacity: 0.45;
    filter: brightness(0.5);
}

.videosSwiper .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
    filter: brightness(1);
}

.videosSwiper .swiper-slide-prev,
.videosSwiper .swiper-slide-next {
    transform: scale(0.9);
    opacity: 0.65;
    filter: brightness(0.7);
}

.video-card {
    border-radius: 16px;
    overflow: hidden;
    border: none;
    box-shadow: none;
    background: #0d0d0d;
}

.video-card iframe {
    display: block;
    width: 320px;
    height: 560px;
}

.video-placeholder {
    width: 320px;
    height: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: linear-gradient(160deg, rgba(197,157,95,0.08), rgba(0,0,0,0.4));
    cursor: pointer;
}

.vp-icon {
    font-size: 3.5rem;
    color: #c59d5f;
    opacity: 0.8;
}

.video-placeholder p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.videosSwiper .swiper-button-next,
.videosSwiper .swiper-button-prev {
    color: #c59d5f;
    background: rgba(0, 0, 0, 0.4);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    top: 45%;
}

.videosSwiper .swiper-button-next::after,
.videosSwiper .swiper-button-prev::after {
    font-size: 1.1rem;
}

.videosSwiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
    width: 10px;
    height: 10px;
}

.videosSwiper .swiper-pagination-bullet-active {
    background: #c59d5f;
    transform: scale(1.3);
}

.btn-instagram {
    display: inline-block;
    margin-top: 35px;
    padding: 13px 35px;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: opacity 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(253, 29, 29, 0.3);
}

.btn-instagram:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(253, 29, 29, 0.5);
}

/* --- SEÇÃO CONTATO --- */
#contato {
    background-color: #04176e;
    color: #333;
    padding: 80px 20px;
}

.contato-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.contato-info,
.form-container {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
}

.contato-info {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contato-info h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 25px;
    border-bottom: 2px solid #c59d5f;
    padding-bottom: 10px;
}

.contato-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contato-info p strong {
    margin-right: 10px;
    font-weight: 600;
}

.contato-info a {
    color: #c59d5f;
    text-decoration: none;
    transition: color 0.3s;
}

.contato-info a:hover {
    color: #b38a50;
}

.form-container {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-container h1 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-container label {
    font-size: 1rem;
    margin-bottom: 8px;
    display: block;
    color: #555;
    font-weight: 600;
}

.form-container input,
.form-container textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-container input:focus,
.form-container textarea:focus {
    outline: none;
    border-color: #c59d5f;
    box-shadow: 0 0 0 3px rgba(197, 157, 95, 0.2);
}

.form-container textarea {
    resize: vertical;
    min-height: 120px;
}

.btnEnviarCtt {
    text-align: center;
}

.btnEnviarCtt button {
    background-color: #c59d5f;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.btnEnviarCtt button:hover {
    background-color: #b38a50;
    transform: translateY(-3px);
}

/* --- FOOTER (rodape.css) --- */
footer{flex-shrink:0}.rodape-simples{background-color:#1c1c1c;color:white;width:100%;text-align:center;padding:15px 20px;box-sizing:border-box;font-size:16px}.icon-link{color:#00bfff;text-decoration:none;margin:0 8px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}.icon-link:hover{text-decoration:underline}.icon-link svg{margin-right:6px;height:20px;width:20px}

/* --- RESPONSIVIDADE GERAL --- */
@media (max-width:992px){.sobre-container{flex-direction:column;margin:30px auto;padding:20px}.sobre-content{padding:30px}.sobre-content h1{font-size:2.2rem}.sobre-imagem{flex-basis:auto;width:80%;max-width:400px;margin-top:30px}}
@media (max-width:768px){.form-container h1{font-size:2rem}.form-container label,.form-container input,.form-container textarea,.form-container select{font-size:1rem}.rodape-simples{padding:20px 10px;font-size:14px}}
@media (max-width:576px){main{padding-top:130px} .sobre-content h1{font-size:1.8rem}.sobre-content p{font-size:1rem}.sobre-imagem{order:-1}}
@media (max-width:480px){.rodape-simples{padding:15px 8px;font-size:12px}}

/* --- ESTILOS PARA O MODAL DA GALERIA --- */
.modal-galeria {
    display: none; /* Oculto por padrão */
    position: fixed; /* Fica fixo na tela */
    z-index: 2000; /* Garante que fique sobre todos os outros elementos */
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Permite rolagem se a imagem for muito grande */
    background-color: rgba(0, 0, 0, 0.9); /* Fundo preto semitransparente */
}

.modal-conteudo {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    border-radius: 5px;
}

/* Animação de zoom ao abrir */
.modal-conteudo {
    animation-name: zoom;
    animation-duration: 0.4s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

.fechar-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.fechar-modal:hover,
.fechar-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}