/* Reset e base - Paleta MCS: Laranja #E85D04, Azul Escuro #1a2a4b, Cinza #95a5a6 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Scrollbar - Laranja da paleta */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #f0f0f0;
}
::-webkit-scrollbar-thumb {
    background: #E85D04;
    border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c94d03;
}
html {
    scrollbar-width: thin;
    scrollbar-color: #E85D04 #f0f0f0;
}

/* Cabeçalho / Menu */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    background-color: #1a2a4b;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #E85D04;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.social-icons a:hover {
    color: #E85D04;
}

.header-line {
    height: 3px;
    background-color: #E85D04;
}

/* Hamburger - oculto no desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 48px;
    height: 48px;
    padding: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.3s ease;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hamburger-open .hamburger-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
    opacity: 1;
    background: #fff;
}

.hamburger-open .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-open .hamburger-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
    opacity: 1;
    background: #fff;
}

/* Menu overlay - full screen apenas no mobile */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 42, 75, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease, pointer-events 0.35s;
}

.menu-overlay-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-overlay-open {
    opacity: 1;
    visibility: visible;
}

.menu-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.menu-mobile-link {
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 18px 30px;
    transition: color 0.25s, transform 0.25s;
    transform: translateY(15px);
    opacity: 0;
}

.menu-overlay-open .menu-mobile-link {
    transform: translateY(0);
    opacity: 1;
}

.menu-mobile-link:nth-child(1) { transition-delay: 0.05s; }
.menu-mobile-link:nth-child(2) { transition-delay: 0.1s; }
.menu-mobile-link:nth-child(3) { transition-delay: 0.15s; }
.menu-mobile-link:nth-child(4) { transition-delay: 0.2s; }
.menu-mobile-link:nth-child(5) { transition-delay: 0.25s; }

.menu-mobile-link:hover,
.menu-mobile-link:active {
    color: #E85D04;
}

.menu-mobile-social {
    display: flex;
    gap: 25px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-mobile-social a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.25s, transform 0.25s;
}

.menu-mobile-social a:hover {
    color: #E85D04;
    transform: scale(1.15);
}

/* Hero páginas internas */
.page-hero {
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a2a4b 0%, #2a3a5b 100%);
    margin-top: 75px;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/img/terraplanagem/20240513_145256.jpg') center/cover;
    opacity: 0.25;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.page-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-hero-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Quem Somos - Conteúdo */
.quem-somos-content {
    padding: 80px 20px;
    background: #f8f8f8;
}

.quem-somos-container {
    max-width: 800px;
    margin: 0 auto;
}

.quem-somos-texto p,
.quem-somos-missao p,
.quem-somos-local p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 20px;
}

.quem-somos-destaque {
    font-size: 1.15rem !important;
    color: #333 !important;
    font-weight: 500;
}

.quem-somos-missao,
.quem-somos-local {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.quem-somos-missao h2,
.quem-somos-local h2 {
    font-size: 1.5rem;
    color: #E85D04;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.nav-menu a.active {
    color: #E85D04;
}

/* Seção Hero com Vídeo */
.hero-video {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
}

/* Faixa laranja diagonal */
.hero-banner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #E85D04;
    padding: 40px 60px;
    clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
}

.hero-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 25px;
}

.hero-icon {
    font-size: 3rem;
    color: white;
    flex-shrink: 0;
    padding-top: 15px;
}

.hero-banner-content h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.hero-banner-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    max-width: 600px;
    line-height: 1.5;
}

/* Seção Principais Serviços */
.servicos-section {
    background-color: #f5f5f5;
    padding: 80px 20px;
}

.servicos-container {
    max-width: 1200px;
    margin: 0 auto;
}

.servicos-subtitle {
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 5px;
}

.servicos-title {
    font-size: 2.2rem;
    font-weight: 700;
    font-style: italic;
    color: #E85D04;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 25px;
}

.servicos-intro {
    font-size: 1rem;
    color: #4a4a4a;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.servicos-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 70px;
}

.servicos-content:last-child {
    margin-bottom: 0;
}

.servicos-content-reverse .servico-info {
    order: 2;
}

.servicos-content-reverse .servico-media {
    order: 1;
}

.servico-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.servico-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.servico-icon {
    font-size: 3rem;
    color: #E85D04;
    margin-bottom: 20px;
}

.servico-text {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.7;
    text-align: left;
    margin-bottom: 25px;
}

.servico-btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: #1a2a4b;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.servico-btn:hover {
    background-color: #0f1a2e;
}

.servico-media {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

/* Slideshow por serviço */
.servico-slideshow {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.servico-slideshow-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.servico-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.servico-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.servico-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.servico-slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    color: #1a2a4b;
    font-size: 1rem;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.servico-slide-btn:hover {
    background: #E85D04;
    color: #fff;
}

.servico-slide-prev {
    left: 12px;
}

.servico-slide-next {
    right: 12px;
}

.servico-slide-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.servico-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.servico-dot:hover {
    background: rgba(255,255,255,0.8);
}

.servico-dot.active {
    background: #E85D04;
    transform: scale(1.2);
}

/* CTA - Procurando outros serviços */
.cta-servicos {
    background-color: #f5f5f5;
    padding: 60px 20px 80px;
    display: flex;
    justify-content: center;
}

.cta-servicos-inner {
    position: relative;
    background-color: #1a2a4b;
    padding: 50px 80px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 95% 100%, 5% 100%, 0 85%);
    overflow: hidden;
    max-width: 700px;
}

.cta-servicos-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background-image: 
        linear-gradient(135deg, rgba(255,255,255,0.08) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255,255,255,0.08) 25%, transparent 25%),
        linear-gradient(315deg, rgba(255,255,255,0.08) 25%, transparent 25%),
        linear-gradient(45deg, rgba(255,255,255,0.08) 25%, transparent 25%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 0, 10px -10px, 0 10px;
    opacity: 0.6;
}

.cta-servicos-text {
    color: white;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.cta-servicos-title {
    color: #E85D04;
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.cta-servicos-btn {
    display: inline-block;
    padding: 14px 40px;
    background-color: #E85D04;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.cta-servicos-btn:hover {
    background-color: #d14d03;
}

/* Parallax - Nossas Obras */
.parallax-obras {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 92%);
}

.parallax-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('../assets/img/terraplanagem/IMG_7525.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    will-change: transform;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 42, 75, 0.75);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
}

.parallax-text {
    color: white;
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 5px;
}

.parallax-title {
    color: white;
    font-size: 2.2rem;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 30px;
}

.parallax-btn {
    display: inline-block;
    padding: 14px 45px;
    background-color: #E85D04;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.parallax-btn:hover {
    background-color: #d14d03;
}

/* Seção Presença - São Paulo */
.presenca-section {
    background-color: #f8f8f8;
    padding: 80px 20px;
    margin-top: -40px;
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
}

.presenca-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.presenca-subtitle {
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    color: #95a5a6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.presenca-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #E85D04;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.presenca-text p {
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.presenca-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 14px 40px;
    background-color: #1a2a4b;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.presenca-btn:hover {
    background-color: #0f1a2e;
}

.presenca-map {
    position: relative;
}

.presenca-map img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
}

/* Footer */
.footer {
    background-color: #1a1a1a;
}

/* CTA Footer */
.footer-cta {
    position: relative;
    background-color: #E85D04;
    padding: 50px 20px;
    text-align: center;
    overflow: hidden;
}

.footer-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/img/terraplanagem/20240513_145446.jpg') center/cover;
    opacity: 0.15;
}

.footer-cta-content {
    position: relative;
    z-index: 1;
    color: white;
}

.footer-cta-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.footer-cta-phone {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    margin-bottom: 8px;
    transition: opacity 0.2s;
}

.footer-cta-phone:hover {
    opacity: 0.9;
}

.footer-cta-content p {
    font-size: 1rem;
    opacity: 0.95;
}

.footer-cta-horario {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Footer Main */
.footer-main {
    padding: 60px 20px 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-column ul li i {
    color: #E85D04;
    font-size: 0.6rem;
    flex-shrink: 0;
}

.footer-column ul li a,
.footer-column p a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-column ul li a:hover,
.footer-column p a:hover {
    color: #E85D04;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #E85D04;
    color: white !important;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-top: 10px;
    transition: background-color 0.2s;
}

.footer-btn:hover {
    background-color: #d14d03;
}

.footer-btn-whatsapp {
    background-color: #25D366 !important;
}

.footer-btn-whatsapp:hover {
    background-color: #1da851 !important;
}

.footer-logo-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo-img {
    height: 45px;
    width: auto;
    display: block;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: white;
    font-size: 1.3rem;
    transition: color 0.2s;
}

.footer-social a:hover {
    color: #E85D04;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p,
.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-bottom a {
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: white;
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 85px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Scroll to top */
.scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: #1a2a4b;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    z-index: 9998;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.scroll-to-top:hover {
    background: #E85D04;
    transform: translateY(-2px);
}

/* Responsivo */
@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }

    .footer-logo-img {
        height: 38px;
    }

    .header-container {
        padding: 12px 20px;
    }

    .nav-menu,
    .social-icons {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .menu-overlay {
        display: flex;
    }

    .hero-banner {
        padding: 25px 25px;
        clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    }

    .hero-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-banner-content h2 {
        font-size: 1.4rem;
    }

    .hero-banner-content p {
        font-size: 0.85rem;
    }

    .servicos-content {
        grid-template-columns: 1fr;
        margin-bottom: 50px;
    }

    .servicos-content-reverse .servico-info,
    .servico-info {
        order: 1;
    }

    .servicos-content-reverse .servico-media,
    .servico-media {
        order: 2;
    }

    .servicos-section {
        padding: 50px 20px;
    }

    .servico-slideshow {
        height: 220px;
    }

    .cta-servicos-inner {
        padding: 35px 30px;
        clip-path: polygon(0 0, 100% 0, 100% 92%, 98% 100%, 2% 100%, 0 92%);
    }

    .cta-servicos-title {
        font-size: 1.3rem;
    }

    .parallax-obras {
        min-height: 350px;
    }

    .parallax-bg {
        background-attachment: scroll;
    }

    .parallax-title {
        font-size: 1.6rem;
    }

    .presenca-section {
        padding: 50px 20px;
        margin-top: -30px;
    }

    .presenca-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .presenca-text {
        order: 1;
        text-align: center;
    }

    .presenca-map {
        order: 2;
    }

    .presenca-title {
        font-size: 1.4rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-cta-content h3 {
        font-size: 1.2rem;
    }

    .footer-cta-phone {
        font-size: 1.4rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 500px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column ul li {
        justify-content: center;
    }
}

/* Acessibilidade: respeitar "reduzir movimento" */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    /* Evita parallax "fixed" que pode causar desconforto */
    .parallax-bg {
        background-attachment: scroll !important;
        will-change: auto !important;
    }
}

/* Obras - Grid de imagens (legado) */
.obras-grid-section {
    padding: 60px 20px 80px;
    background: #f8f9fa;
}

.obras-grid-container {
    max-width: 1200px;
    margin: 0 auto;
}

.obras-grid-title {
    text-align: center;
    color: #1a2a4b;
    font-size: 1.8rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.obras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.obras-grid-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
}

.obras-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Obras - Galeria com filtros (servicos2025) */
.obras-gallery-section {
    padding: 60px 20px 100px;
    background: linear-gradient(180deg, #f0f2f5 0%, #e8ecf0 100%);
}

.obras-gallery-container {
    max-width: 1300px;
    margin: 0 auto;
}

.obras-gallery-title {
    text-align: center;
    color: #1a2a4b;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.obras-gallery-subtitle {
    text-align: center;
    color: #95a5a6;
    font-size: 1rem;
    margin-bottom: 40px;
}

.obras-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 48px;
}

.obras-filter-btn {
    padding: 12px 22px;
    background: #fff;
    border: 2px solid #e0e4e8;
    border-radius: 50px;
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.obras-filter-btn:hover {
    border-color: #E85D04;
    color: #E85D04;
}

.obras-filter-btn.active {
    background: #E85D04;
    border-color: #E85D04;
    color: #fff;
}

.obras-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.obras-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    aspect-ratio: 4/3;
    text-decoration: none;
}

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

.obras-gallery-item:hover img {
    transform: scale(1.1);
}

.obras-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,42,75,0.9) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.obras-gallery-item:hover .obras-item-overlay {
    opacity: 1;
}

.obras-item-overlay i {
    margin-right: 8px;
    font-size: 1.1rem;
}

@keyframes obrasFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.obras-gallery-empty {
    text-align: center;
    color: #95a5a6;
    font-size: 1.1rem;
    padding: 60px 20px;
}

/* Contato - Formulário, informações e mapa */
.contato-section {
    padding: 60px 20px 80px;
    background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%);
}

.contato-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contato-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.contato-form-card,
.contato-info-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.06);
}

.contato-form-card h2,
.contato-info-card h2,
.contato-mapa-wrapper h2 {
    color: #1a2a4b;
    font-size: 1.3rem;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contato-form-card h2 i,
.contato-info-card h2 i,
.contato-mapa-wrapper h2 i {
    color: #E85D04;
    font-size: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contato-form .form-group {
    margin-bottom: 20px;
}

.contato-form label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.contato-form input,
.contato-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
    border-color: #E85D04;
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
}

.contato-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contato-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: #E85D04;
    color: white !important;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
}

.contato-btn:hover {
    background: #d14d03;
}

.contato-btn-outline {
    background: transparent !important;
    color: #1a2a4b !important;
    border: 2px solid #1a2a4b !important;
}

.contato-btn-outline:hover {
    background: #1a2a4b !important;
    color: white !important;
}

.contato-btn-whatsapp {
    background: #25D366 !important;
}

.contato-btn-whatsapp:hover {
    background: #1da851 !important;
}

.contato-info-item,
.contato-info-horario {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contato-info-item i,
.contato-info-horario i {
    color: #E85D04;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.contato-info-item p,
.contato-info-horario p {
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.contato-info-item a {
    color: #1a2a4b;
    text-decoration: none;
}

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

.contato-info-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.contato-mapa-wrapper {
    margin-top: 0;
}

.contato-mapa-wrapper h2 {
    margin-bottom: 20px;
}

.contato-mapa {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.08);
}

.contato-mapa iframe {
    width: 100%;
    height: 450px;
    display: block;
    border: none;
}

.contato-mapa-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: #1a2a4b;
    color: white !important;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s;
}

.contato-mapa-link:hover {
    background: #0f1a2e;
}

@media (max-width: 768px) {
    .contato-section {
        padding: 40px 16px 60px;
    }

    .contato-top {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .contato-form-card,
    .contato-info-card {
        padding: 28px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contato-mapa iframe {
        height: 300px;
    }

    .contato-info-btns {
        flex-direction: column;
    }

    .contato-info-btns .contato-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .obras-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }

    .obras-gallery-section {
        padding: 40px 16px 80px;
    }

    .obras-gallery-title {
        font-size: 1.5rem;
    }

    .obras-filters {
        gap: 8px;
        margin-bottom: 32px;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .obras-filter-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .obras-masonry {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }
}

/* Página de Serviços - Cards com galeria */
.servicos-page .servicos-content,
.servicos-page .servicos-content-reverse {
    display: none;
}

.servico-card {
    max-width: 1100px;
    margin: 0 auto 80px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.06);
}

.servico-card-header {
    text-align: center;
    padding: 32px 24px 24px;
    background: linear-gradient(to bottom, #fafafa 0%, #fff 100%);
}

.servico-icon-top {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E85D04 0%, #c94d03 100%);
    color: white;
    font-size: 1.6rem;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(232,93,4,0.35);
}

.servico-card-header .servico-name {
    margin: 0;
    font-size: 1.4rem;
}

.servico-card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 36px 40px 40px;
    align-items: start;
}

.servico-card-reverse .servico-card-body {
    direction: rtl;
}

.servico-card-reverse .servico-card-body > * {
    direction: ltr;
}

.servico-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gallery-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.servico-oferta h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2a4b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.servico-oferta p {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 14px;
}

.servico-oferta p:last-of-type {
    margin-bottom: 22px;
}

.servico-btn-orcamento {
    display: inline-block;
    padding: 14px 36px;
    background: #1a2a4b;
    color: white !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: background 0.2s, transform 0.2s;
}

.servico-btn-orcamento:hover {
    background: #0f1a2e;
    transform: translateY(-1px);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.lightbox-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 95%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: fixed;
    top: 24px;
    right: 24px;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    color: #E85D04;
}

/* Serviços - Responsivo */
@media (max-width: 768px) {
    .servico-card-body {
        grid-template-columns: 1fr;
        padding: 24px 20px 28px;
    }

    .servico-card-reverse .servico-card-body {
        direction: ltr;
    }

    .servico-gallery {
        order: 1;
    }

    .servico-oferta {
        order: 2;
    }
}
