:root{
    --brand:#05377f;
    --brand2:#0a5ad0;
    --black:#000000;
    --white:#ffffff;
    --muted:#666666;
    --border:#e0e4ef;
}

*{
    box-sizing:border-box;
    margin:0;
    padding:0;
}
.map-layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 16px;
}

.map-list {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 6px;
}
.about {
    padding: 80px 0;
    background: #f6f8fc;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.about-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #4a4f60;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}


.map-card {
    background: #fff;
    border: 1px solid #e0e4ef;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: 0.15s ease;
}

.map-card:hover {
    border-color: var(--brand);
    transform: translateY(-1px);
}

.map-card.active {
    border-color: var(--brand);
    background: #f5fbff;
}


body{
    font-family:'Montserrat',sans-serif;
    background:var(--white);
    color:#111111;
    line-height:1.6;
}

img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}

.container{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:0 16px;
}

/* HEADER */
header{
    position:absolute;
    top:0;
    left:0;
    right:0;
    z-index:50;
    background:#ffffff;          /* header sempre branco */
    border-bottom:1px solid var(--border);
    transition:background .25s ease, border-bottom .25s ease, color .25s ease;
}

/* mantém classe scrolled só para consistência (mesma cor) */
header.scrolled{
    background:#ffffff;
    border-bottom:1px solid var(--border);
}

.nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 24px;
    position:relative;
    color:var(--black);          /* texto preto */
}
header.scrolled .nav{
    color:var(--black);
}
.nav a{
    color:inherit;
}

/* LOGO + troca light/dark */
.logo-wrap{
    display:flex;
    align-items:center;
    gap:10px;
}
.logo-box{
    max-width:200px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    font-size:14px;
}
.logo-img{
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}

/* usa sempre logo escuro sobre header branco */
.logo-dark{display:block;}
.logo-light{display:none;}
header.scrolled .logo-light{display:none;}
header.scrolled .logo-dark{display:block;}

/* botão hambúrguer */
.nav-toggle{
    display:none;
    width:32px;
    height:32px;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    border:1px solid var(--border);
    background:rgba(5,55,127,0.06);
    color:var(--brand);
    cursor:pointer;
    font-size:16px;
}
header.scrolled .nav-toggle{
    border-color:var(--border);
    background:rgba(5,55,127,0.06);
    color:var(--brand);
}
.nav-toggle i{
    pointer-events:none;
}

.nav-menu{
    display:flex;
    gap:20px;
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:1px;
}
.nav-menu a{
    text-shadow:none;            /* sem sombra agora */
}
header.scrolled .nav-menu a{
    text-shadow:none;
}
.nav-menu a:hover{color:var(--brand2);}
.nav-cta{
    display:flex;
    gap:10px;
    align-items:center;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 18px;
    border-radius:999px;
    border:1px solid transparent;
    font-size:12px;
    font-weight:600;
    text-transform:uppercase;
    letter-spacing:1px;
    cursor:pointer;
    background:#f2f5ff;
    color:var(--brand);
}
.btn-gold{
    background:var(--brand);
    color:#fff;
}
.btn-gold:hover{background:var(--brand2);}

/* outline já preparado para fundo branco */
.btn-outline{
    border-color:var(--brand);
    background:transparent;
    color:var(--brand);
}
header.scrolled .btn-outline{
    color:var(--brand);
    border-color:var(--brand);
}
.btn-outline:hover{
    background:var(--brand);
    color:#fff;
}

/* HERO */
.hero{
    position:relative;
    min-height:90vh;
    background:#000;
    background-position:center;
    background-size:cover;
    display:flex;
    align-items:center;
    color:var(--white);
}
.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(120deg,rgba(0,0,30,0.9) 0%,rgba(0,0,40,0.7) 45%,rgba(0,0,60,0.25) 100%);
}
.hero-content{
    position:relative;
    z-index:1;
    padding:120px 0 80px;
}
.badge{
    display:inline-block;
    padding:6px 14px;
    border-radius:999px;
    background:rgba(0,0,0,0.55);
    border:1px solid var(--brand2);
    font-size:11px;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:10px;
}
.hero-title{
    font-size:34px;
    text-transform:uppercase;
    letter-spacing:4px;
    font-weight:900;
    max-width:620px;
}
.hero-title span{color:var(--brand2);}
.hero-sub{
    margin-top:10px;
    font-size:16px;
    max-width:520px;
    color:#cfe6ff;
}
.hero-text{
    margin-top:10px;
    max-width:520px;
    font-size:14px;
    color:#d0d7e8;
}
.hero-buttons{
    margin-top:20px;
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}
.hero-note{
    margin-top:14px;
    font-size:12px;
    color:#cfd7ea;
    letter-spacing:1px;
    text-transform:uppercase;
}

/* BASE SECTIONS */
section{padding:60px 0;}
.section-title{
    font-size:24px;
    text-transform:uppercase;
    letter-spacing:3px;
    margin-bottom:8px;
}
.section-title span{color:var(--brand2);}
.section-subtitle{
    color:var(--muted);
    margin-bottom:26px;
    max-width:680px;
    font-size:14px;
}

/* REVEAL ANIMATIONS */
.reveal{
    opacity:0;
    transform:translateY(20px);
    transition:opacity .6s ease, transform .6s ease;
}
.reveal-visible{
    opacity:1;
    transform:translateY(0);
}

/* GOOGLE REVIEWS – CARROSSEL */
.reviews{
    background:#ffffff;
    border-top:2px solid var(--brand);
}
.reviews-carousel{
    margin-top:12px;
}
.reviews-track{
    max-width:720px;
    margin:0 auto;
    position:relative;
}
.review-card{
    display:none;
    border-radius:18px;
    border:1px solid var(--border);
    background:#f7f9ff;
    padding:18px 18px 16px;
    box-shadow:0 18px 40px rgba(5,55,127,0.1);
    font-size:13px;
}
.review-card.active{
    display:block;
}
.review-stars{
    font-size:16px;
    color:#f5a623;
    margin-bottom:6px;
}
.review-text{
    font-size:13px;
    color:#444;
    margin-bottom:10px;
}
.review-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:12px;
    color:var(--muted);
}
.review-name{
    font-weight:600;
}
.review-label i{
    color:#4285F4;
    margin-right:4px;
}

/* SERVIÇOS – TIMELINE */
#servicos{
    background:#ffffff;
    border-top:2px solid var(--brand);
}
.services-layout{
    display:grid;
    grid-template-columns:1.3fr 1fr;
    gap:32px;
    align-items:flex-start;
}
.services-image{
    min-height:320px;
    background:url('https://images.pexels.com/photos/258154/pexels-photo-258154.jpeg?auto=compress&cs=tinysrgb&w=1600') center/cover no-repeat;
    border-radius:20px;
    box-shadow:0 20px 45px rgba(5,55,127,0.18);
}
.services-list{
    margin-top:10px;
    position:relative;
    padding-left:18px;
}
.services-list::before{
    content:"";
    position:absolute;
    left:6px;
    top:0;
    bottom:0;
    width:2px;
    background:linear-gradient(to bottom,rgba(5,55,127,0.2),rgba(5,55,127,0.6));
}
.service-row{
    position:relative;
    display:flex;
    flex-direction:column;
    gap:6px;
    padding:10px 0 16px 16px;
    border-bottom:1px solid var(--border);
    font-size:13px;
}
.service-row::before{
    content:"";
    position:absolute;
    left:-12px;
    top:16px;
    width:14px;
    height:14px;
    border-radius:50%;
    border:2px solid var(--brand2);
    background:#fff;
    box-shadow:0 0 0 4px rgba(5,55,127,0.15);
}
.service-icon{
    font-size:18px;
    color:var(--brand2);
    margin-bottom:2px;
}
.service-title{
    font-size:14px;
    font-weight:600;
}
.service-text{
    font-size:13px;
    color:var(--muted);
}

/* MODELOS / PROJETOS (NÃO USADO NO FRONT) */
.models{
    background:#ffffff;
    border-top:2px solid var(--brand);
}

/* ANTES / DEPOIS */
.before-after{
    background:#ffffff;
    border-top:2px solid var(--brand);
}
.ba-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}
.ba-item{
    background:#f7f9ff;
    border-radius:18px;
    padding:14px 14px 18px;
    border:1px solid var(--border);
    box-shadow:0 14px 30px rgba(5,55,127,0.08);
}
.ba-title{
    font-size:14px;
    font-weight:600;
    margin-bottom:4px;
}
.ba-desc{
    font-size:12px;
    color:var(--muted);
    margin-bottom:8px;
}
.ba-slider{
    position:relative;
    width:100%;
}
.ba-images{
    position:relative;
    width:100%;
    aspect-ratio:4/3;
    border-radius:12px;
    overflow:hidden;
    background:#000;
}
.ba-img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.ba-before{
    position:absolute;
    inset:0;
}
.ba-after-wrap{
    position:absolute;
    inset:0;
    width:50%;
    overflow:hidden;
}
.ba-after{
    width:100%;
    height:100%;
}
.ba-divider-line{
    position:absolute;
    top:0;
    bottom:0;
    left:50%;
    width:2px;
    background:rgba(255,255,255,0.9);
    pointer-events:none;
}
.ba-label{
    position:absolute;
    top:10px;
    padding:4px 8px;
    font-size:11px;
    border-radius:999px;
    background:rgba(0,0,0,0.6);
    color:#fff;
}
.ba-label-before{left:10px;}
.ba-label-after{right:10px;}

/* slider invisível mas funcional em toda a área */
.ba-range{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    opacity:0;
    cursor:ew-resize;
}

.ba-handle{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:42px;
    height:42px;
    border-radius:50%;
    border:2px solid #fff;
    background:rgba(0,0,0,0.55);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    box-shadow:0 0 0 3px rgba(0,0,0,0.3);
    pointer-events:none;
    z-index:3;
}
.ba-handle i{
    font-size:11px;
    margin:0 2px;
}

/* MAPA DE OBRAS */
.mapa-obras{
    background:#ffffff;
    border-top:2px solid var(--brand);
}
.map-layout{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:18px;
}
.map-obras{
    width:100%;
    height:420px;
    border-radius:18px;
    overflow:hidden;
    border:1px solid var(--border);
    box-shadow:0 18px 40px rgba(5,55,127,0.12);
}
.map-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.map-card{
    border:1px solid var(--border);
    border-radius:14px;
    padding:10px 10px 12px;
    background:#f7f9ff;
    font-size:12px;
    cursor:pointer;
    transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.map-card:hover,
.map-card.active{
    border-color:var(--brand2);
    box-shadow:0 10px 24px rgba(5,55,127,0.16);
    background:#eef3ff;
}
.map-card-title{
    font-weight:600;
    margin-bottom:2px;
}
.map-card-desc{
    color:var(--muted);
}
.map-popup img{
    max-width:180px;
    margin-top:6px;
    border-radius:8px;
}

/* VÍDEOS – AJUSTADO PARA VERTICAL (INSTAGRAM) */
.videos{
    background:#ffffff;
    border-top:2px solid var(--brand);
}
.video-strip{
    display:flex;
    gap:18px;
    overflow-x:auto;
    padding-bottom:8px;
    scrollbar-width:none;
}
.video-strip::-webkit-scrollbar{display:none;}
.video-item{
    flex:0 0 260px;
    border:1px solid var(--border);
    background:#f8fbff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 14px 30px rgba(5,55,127,0.15);
}
.video-item video{
    width:100%;
    height:380px;
    object-fit:cover;
}

/* FAQ */
.faq{
    background:#ffffff;
    border-top:2px solid var(--brand);
}
.faq-list{
    max-width:900px;
    margin:0 auto;
}
.faq .section-title,
.faq .section-subtitle{
    text-align:center;
}
.faq-item{
    border-bottom:1px solid var(--border);
}
.faq-question{
    padding:12px 4px;
    cursor:pointer;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:14px;
}
.faq-question span{
    flex:1;
    margin-right:10px;
}
.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .25s ease;
    color:var(--muted);
    font-size:13px;
}
.faq-answer-inner{
    padding:0 4px 12px;
}
.faq-item.active .faq-answer{max-height:260px;}

/* CONTACTO */
.contact{
    background:#ffffff;
    border-top:2px solid var(--brand);
}
.contact-grid{
    display:grid;
    grid-template-columns:1fr;
    justify-items:center;
}
.contact-card{
    border:1px solid var(--border);
    padding:22px 22px 26px;
    max-width:720px;
    width:100%;
    border-radius:20px;
    background:#fdfdff;
    box-shadow:0 18px 45px rgba(5,55,127,0.12);
}
.contact-card h3{
    font-size:20px;
    text-transform:uppercase;
    letter-spacing:2px;
    margin-bottom:8px;
    text-align:center;
}
.contact-card p{
    font-size:13px;
    color:var(--muted);
    margin-bottom:14px;
    text-align:center;
}
.progress-bar{
    width:100%;
    height:4px;
    border-radius:999px;
    background:#dde3f5;
    margin:10px 0 18px;
    overflow:hidden;
}
.progress-bar-inner{
    width:45%;
    height:100%;
    background:linear-gradient(90deg,var(--brand),var(--brand2));
}
.form-group{margin-bottom:14px;}
label{
    display:block;
    font-size:13px;
    margin-bottom:6px;
}
.form-control,
.form-textarea{
    width:100%;
    padding:9px 11px;
    border-radius:999px;
    border:1px solid var(--border);
    background:#ffffff;
    color:#111111;
    font-size:14px;
}
.form-textarea{
    border-radius:14px;
    resize:vertical;
    min-height:90px;
}
.radio-group,.checkbox-group{
    display:flex;
    flex-direction:column;
    gap:6px;
    font-size:13px;
}
.radio-inline{
    display:flex;
    gap:8px;
    align-items:center;
}
.form-helper{
    font-size:11px;
    color:var(--muted);
    margin-top:4px;
}
.contact-details{
    margin-top:18px;
    font-size:13px;
    color:var(--muted);
    text-align:left;
}
.contact-details i{
    margin-right:6px;
}

/* FOOTER */
footer{
    border-top:1px solid var(--border);
    padding:22px 0 18px;
    font-size:12px;
    color:#f0f4ff;
    background:#03152f;
}
.footer-grid{
    display:grid;
    grid-template-columns:1.1fr 1fr;
    gap:16px;
    align-items:center;
}
.footer-links{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:6px;
}
.footer-links a{font-size:11px;color:#d0ddff;}
.footer-links a:hover{color:#ffffff;}
.social{
    display:flex;
    gap:10px;
    justify-content:flex-end;
}
.social a{
    width:26px;
    height:26px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,0.2);
    display:flex;
    align-items:center;
    justify-content:center;
}

/* WHATSAPP FLOATING */
.whatsapp-float{
    position:fixed;
    right:18px;
    bottom:18px;
    width:52px;
    height:52px;
    border-radius:50%;
    background:#25D366;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    box-shadow:0 8px 22px rgba(0,0,0,0.25);
    z-index:60;
}
.whatsapp-float i{
    font-size:24px;
}
.whatsapp-tooltip{
    position:fixed;
    right:80px;
    bottom:28px;
    background:#ffffff;
    color:#111;
    border-radius:16px;
    padding:8px 12px;
    box-shadow:0 10px 28px rgba(0,0,0,0.25);
    font-size:12px;
    max-width:220px;
    z-index:59;
}
.whatsapp-tooltip::after{
    content:"";
    position:absolute;
    right:-8px;
    top:50%;
    transform:translateY(-50%);
    border-width:8px;
    border-style:solid;
    border-color:transparent transparent transparent #ffffff;
}

/* animação de “tremer” */
@keyframes wa-shake{
    0%,100%{transform:translate(0,0);}
    20%{transform:translate(-2px,0);}
    40%{transform:translate(2px,0);}
    60%{transform:translate(-2px,0);}
    80%{transform:translate(2px,0);}
}
.whatsapp-float.shake{
    animation:wa-shake .6s ease-in-out 0s 2;
}

/* ADMIN – BASE (LIGHT) */
.admin-body{
    background:#f5f7ff;
}
.admin-wrapper{
    padding-top:40px;
    padding-bottom:40px;
    color:#111111;
}
.admin-title{
    font-size:26px;
    text-transform:uppercase;
    letter-spacing:3px;
    margin-bottom:6px;
}
.admin-title span{color:var(--brand2);}
.admin-subtitle{
    color:#555;
    margin-bottom:20px;
}
.admin-message{
    background:#e6f6ea;
    border:1px solid #34a853;
    padding:10px 14px;
    border-radius:6px;
    font-size:13px;
    margin-bottom:16px;
    color:#155724;
}
.admin-form{
    border:1px solid var(--border);
    padding:18px 18px 24px;
    background:#ffffff;
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,0.05);
}
.admin-section{
    border-top:1px solid var(--border);
    padding-top:18px;
    margin-top:18px;
}
.admin-section h2{
    font-size:16px;
    text-transform:uppercase;
    letter-spacing:2px;
    margin-bottom:8px;
}
.admin-grid-3{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}
.admin-grid-4{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}
.admin-preview{
    margin-top:6px;
    border:1px solid var(--border);
    padding:4px;
    background:#f7f9ff;
}
.admin-preview img{
    width:100%;
    height:80px;
    object-fit:contain;
}
.admin-video-list{
    margin-top:14px;
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
    gap:12px;
}
.admin-video-item video{
    width:100%;
    height:120px;
    object-fit:cover;
}
.admin-video-item span{
    display:block;
    font-size:11px;
    color:#777;
    margin-top:3px;
}
.admin-submit{
    margin-top:20px;
}
.admin-footer-link{
    margin-top:14px;
    font-size:12px;
}
.admin-footer-link a{
    color:var(--brand2);
}

/* ADMIN – TOPBAR & LINKS */
.admin-topbar{
    display:flex;
    justify-content:space-between;
    gap:20px;
    align-items:flex-start;
    margin-bottom:10px;
}
.admin-topbar-actions{
    display:flex;
    gap:10px;
    align-items:center;
}
.admin-link{
    font-size:12px;
    padding:7px 12px;
    border-radius:999px;
    border:1px solid var(--border);
    background:#ffffff;
}
.admin-link:hover{
    border-color:var(--brand2);
    color:var(--brand2);
}

/* ADMIN LOGIN */
.admin-login-wrapper{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
}
.admin-login-card{
    width:100%;
    max-width:360px;
    background:#ffffff;
    padding:24px 22px 22px;
    border-radius:18px;
    border:1px solid var(--border);
    box-shadow:0 18px 45px rgba(0,0,0,0.08);
}
.admin-login-logo{
    width:42px;
    height:42px;
    border-radius:12px;
    border:2px solid var(--brand2);
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    margin-bottom:14px;
}

/* RESPONSIVE */
@media (max-width:960px){
    .container.hero-content {
        padding-top: 50px !important;
    }
    
    .container{
        padding:0 16px;
    }

    .nav{
        padding:10px 16px;
        gap:8px;
    }

    .logo-wrap{
        gap:8px;
    }

    .logo-box{
        max-width:150px;
    }

    .nav-toggle{
        display:flex;
    }

    .nav-cta{
        display:none;
    }

    .nav-menu{
        position:absolute;
        top:100%;
        left:0;
        right:0;
        background:#ffffff;      /* menu mobile também branco */
        flex-direction:column;
        gap:10px;
        padding:10px 16px 14px;
        border-bottom:1px solid var(--border);
        display:none;
        font-size:12px;
        color:var(--black);      /* texto preto em mobile */
    }
    header.scrolled .nav-menu{
        background:#ffffff;
        color:var(--black);
    }
    .nav-menu.open{
        display:flex;
    }

    .nav-menu a{
        padding:4px 0;
    }

    .hero{
        min-height:78vh;
    }
    .hero-content{
        padding:110px 0 64px;
    }
    .hero-title{
        font-size:26px;
        max-width:100%;
    }
    .hero-sub{
        font-size:14px;
        max-width:100%;
    }
    .hero-text{
        font-size:13px;
        max-width:100%;
    }
    .hero-buttons{
        flex-direction:column;
        gap:10px;
    }
    .hero-buttons .btn{
        width:100%;
    }

    .services-layout,
    .map-layout{
        grid-template-columns:1fr;
    }
    .services-image{min-height:260px;}

    .ba-grid{
        grid-template-columns:1fr;
    }

    .reviews-track{
        max-width:100%;
    }

    .footer-grid{text-align:center;}
    .social{justify-content:center;}
    .admin-grid-3,
    .admin-grid-4{
        grid-template-columns:1fr;
    }
    .admin-topbar{
        flex-direction:column;
        align-items:flex-start;
    }
}

@media (max-width:640px){
    .container{
        padding:0 18px;
    }

    .hero-title{
        font-size:22px;
        letter-spacing:2px;
    }

    .video-item{
        flex:0 0 220px;
    }

    .section-title{
        font-size:20px;
    }
}


/* Títulos centrados em reviews e vídeos */
#reviews .section-title,
#reviews .section-subtitle,
.videos .section-title,
.videos .section-subtitle{
    text-align:center;
    margin-left:auto;
    margin-right:auto;
}

/* Garantir gradient tanto em imagem como em vídeo na hero */
.hero{
    position:relative;
    overflow:hidden;
}
.hero::before{
    content:'';
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:1;
    background:linear-gradient(
        135deg,
        rgba(0,0,0,0.70) 0%,
        rgba(0,0,0,0.35) 45%,
        rgba(0,0,0,0.80) 100%
    );
}
.hero-bg-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    z-index:0;
}
.hero .hero-content{
    position:relative;
    z-index:2;
}
