/* ============================================
   BM COMBATE INCÊNDIO - Landing Page
   Identidade Visual: Amarelo, Vermelho, Preto, Laranja
   ============================================ */

:root {
    /* Cores principais do logotipo */
    --vermelho: #E30613;
    --vermelho-escuro: #b80510;
    --laranja: #F68E1E;
    --laranja-claro: #ffa033;
    --amarelo: #FFC80A;
    --amarelo-claro: #ffd633;
    --preto: #000000;
    --preto-claro: #1a1a1a;
    --cinza-escuro: #333333;
    --cinza-medio: #666666;
    --cinza-claro: #f5f5f5;
    --branco: #ffffff;

    /* Espaçamentos */
    --espaco-p: 100px;
    --espaco-m: 60px;
    --espaco-g: 40px;

    /* Sombras */
    --sombra-leve: 0 4px 20px rgba(0,0,0,0.08);
    --sombra-media: 0 10px 40px rgba(0,0,0,0.12);
    --sombra-forte: 0 20px 60px rgba(0,0,0,0.2);

    /* Border radius */
    --raio-p: 8px;
    --raio-m: 16px;
    --raio-g: 24px;
    --raio-xl: 32px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--cinza-escuro);
    background: var(--branco);
    overflow-x: hidden;
    max-width: 100vw;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--preto);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes carrossel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Classes de animação */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--branco);
    box-shadow: var(--sombra-leve);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--sombra-media);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 55px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--preto);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--vermelho);
}

/* Navegação */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--preto);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--amarelo), var(--laranja));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--vermelho);
}

/* Botão CTA */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--vermelho), var(--vermelho-escuro));
    color: var(--branco);
    font-weight: 700;
    border-radius: 50px;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(227, 6, 19, 0.3);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(227, 6, 19, 0.4);
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--preto);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: var(--branco);
    z-index: 2000;
    padding: 100px 40px 40px;
    transition: right 0.4s ease;
    box-sizing: border-box;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu .nav-link {
    display: block;
    padding: 15px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--cinza-claro);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-close {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 32px;
    color: var(--preto);
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    padding: 140px 20px 100px;
    background: linear-gradient(135deg, var(--preto) 0%, var(--preto-claro) 50%, var(--cinza-escuro) 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(246, 142, 30, 0.15) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 200, 10, 0.1) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

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

.hero-content {
    color: var(--branco);
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--amarelo), var(--laranja));
    color: var(--preto);
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    color: var(--branco);
    margin-bottom: 25px;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.3;
}

.hero h1 span {
    display: block;
    background: linear-gradient(135deg, var(--amarelo), var(--laranja));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.7em;
    margin-top: 5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 25px;
    max-width: 500px;
}

.hero-highlights {
    list-style: none;
    margin: 0 0 35px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 520px;
}

.hero-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--branco);
    font-size: 1rem;
    font-weight: 500;
}

.hero-highlights li i {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--amarelo), var(--laranja));
    color: var(--preto);
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--vermelho), var(--vermelho-escuro));
    color: var(--branco);
    box-shadow: 0 6px 25px rgba(227, 6, 19, 0.4);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(227, 6, 19, 0.5);
}

.hero-btn-secondary {
    background: transparent;
    color: var(--branco);
    border: 2px solid var(--amarelo);
}

.hero-btn-secondary:hover {
    background: var(--amarelo);
    color: var(--preto);
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.hero-img-main {
    width: 100%;
    max-width: 550px;
    border-radius: var(--raio-xl);
    box-shadow: var(--sombra-forte);
    border: 4px solid var(--amarelo);
}

/* ============================================
   SLIDESHOW DE IMAGENS (hero e sobre)
   ============================================ */
.img-slideshow {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--cinza-claro);
}

.img-slideshow .slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.1s ease, transform 6s ease-out;
    will-change: opacity, transform;
}

.img-slideshow .slide-img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .img-slideshow .slide-img {
        transition: opacity 0.4s ease;
        transform: none;
    }

    .img-slideshow .slide-img.active {
        transform: none;
    }
}

.hero-float-card {
    position: absolute;
    z-index: 3;
    background: var(--branco);
    padding: 18px 25px;
    border-radius: var(--raio-m);
    box-shadow: var(--sombra-media);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
}

.hero-float-1 {
    top: 20px;
    right: -30px;
    animation-delay: 0s;
}

.hero-float-2 {
    bottom: 40px;
    left: -40px;
    animation-delay: 1s;
}

.float-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--amarelo), var(--laranja));
    border-radius: var(--raio-p);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--preto);
}

.float-text h4 {
    font-size: 0.95rem;
    color: var(--preto);
    margin-bottom: 2px;
}

.float-text p {
    font-size: 0.85rem;
    color: var(--cinza-medio);
    margin: 0;
}

/* ============================================
   SEÇÕES GERAIS
   ============================================ */
.section {
    padding: var(--espaco-p) 20px;
    overflow: hidden;
}

.section-dark {
    background: var(--preto);
    color: var(--branco);
}

.section-dark h2,
.section-dark h3 {
    color: var(--branco);
}

.section-dark p {
    color: rgba(255,255,255,0.8);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--espaco-m);
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--amarelo), var(--laranja));
    color: var(--preto);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--cinza-medio);
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.7);
}

/* ============================================
   SOBRE
   ============================================ */
.sobre {
    background: var(--branco);
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: var(--espaco-m);
}

.sobre-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--preto);
}

.sobre-content p {
    color: var(--cinza-medio);
    line-height: 1.8;
}

.sobre-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.sobre-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sobre-feature i {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--amarelo), var(--laranja));
    border-radius: var(--raio-p);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--preto);
    font-size: 18px;
    flex-shrink: 0;
}

.sobre-feature span {
    font-weight: 600;
    color: var(--preto);
}

.sobre-image {
    position: relative;
}

.sobre-img {
    width: 100%;
    border-radius: var(--raio-xl);
    box-shadow: var(--sombra-media);
}

.sobre-img-overlay {
    position: absolute;
    z-index: 3;
    bottom: -25px;
    right: -25px;
    background: linear-gradient(135deg, var(--vermelho), var(--vermelho-escuro));
    padding: 25px 35px;
    border-radius: var(--raio-m);
    color: var(--branco);
    text-align: center;
}

.sobre-img-overlay span {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
}

.sobre-img-overlay p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* ============================================
   SERVIÇOS
   ============================================ */
.servicos {
    background: var(--preto);
    position: relative;
    overflow: hidden;
}

.sobre-logo-full {
    text-align: center;
    padding: 30px 0;
}

.sobre-logo-img {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.servicos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: var(--espaco-m);
    position: relative;
    z-index: 1;
}

.servico-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--raio-g);
    padding: 40px 25px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--amarelo), var(--laranja), var(--vermelho));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.servico-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.1);
}

.servico-card:hover::before {
    transform: scaleX(1);
}

.servico-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--amarelo), var(--laranja));
    border-radius: var(--raio-m);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 36px;
    color: var(--preto);
    transition: all 0.3s ease;
}

.servico-card:hover .servico-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(255, 200, 10, 0.3);
}

.servico-card h3 {
    color: var(--branco);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.servico-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}

.servico-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
    padding: 12px 20px;
    border-radius: 50px;
    background: rgba(255, 200, 10, 0.12);
    border: 1px solid rgba(255, 200, 10, 0.4);
    color: var(--amarelo);
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.servico-link i {
    transition: transform 0.3s ease;
}

.servico-link:hover {
    background: var(--amarelo);
    color: var(--preto);
}

.servico-link:hover i {
    transform: translateX(4px);
}

/* Serviços complementares (menor destaque) */
.servicos-extras {
    position: relative;
    z-index: 1;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.servicos-extras-titulo {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.servicos-extras-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.servico-extra {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--raio-m);
    transition: all 0.3s ease;
}

.servico-extra:hover {
    background: rgba(255,255,255,0.06);
}

.servico-extra i {
    flex-shrink: 0;
    font-size: 20px;
    color: rgba(255, 200, 10, 0.7);
    margin-top: 3px;
}

.servico-extra h4 {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin-bottom: 5px;
}

.servico-extra p {
    color: rgba(255,255,255,0.55);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   PRODUTOS
   ============================================ */
.produtos {
    background: var(--cinza-claro);
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: var(--espaco-m);
    align-items: stretch;
}

/* Carrossel de Placas */
.produtos-carrossel {
    margin-bottom: 50px;
    text-align: center;
}

.carrossel-placas-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carrossel-placas-track::-webkit-scrollbar {
    display: none;
}

.placa-card {
    flex: 0 0 280px;
    background: var(--branco);
    border-radius: var(--raio-m);
    overflow: hidden;
    box-shadow: var(--sombra-leve);
    transition: all 0.3s ease;
}

.placa-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-media);
}

.placa-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    background: #f5f5f5;
}

.placa-info {
    padding: 20px;
}

.placa-info h4 {
    color: var(--preto);
    font-size: 1rem;
    margin-bottom: 8px;
}

.placa-info p {
    color: var(--cinza-medio);
    font-size: 0.85rem;
    margin: 0;
}

.carrossel-placas-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.placas-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--vermelho);
    background: transparent;
    color: var(--vermelho);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placas-btn:hover {
    background: var(--vermelho);
    color: var(--branco);
}

.placas-dots {
    display: flex;
    gap: 8px;
}

.placas-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cinza-medio);
    cursor: pointer;
    transition: all 0.3s ease;
}

.placas-dots span.active {
    background: var(--vermelho);
}

.btn-portfolio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--vermelho), var(--vermelho-escuro));
    color: var(--branco);
    font-weight: 700;
    border-radius: 50px;
    margin-top: 25px;
    transition: all 0.3s ease;
}

.btn-portfolio:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227, 6, 19, 0.4);
}

@media (max-width: 1200px) {
    .produtos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsivo Carrossel Placas */
@media (max-width: 768px) {
    .placa-card {
        flex: 0 0 260px;
    }

    .carrossel-placas-track {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .placa-card {
        flex: 0 0 220px;
    }

    .placa-card img {
        height: 160px;
    }

    .btn-portfolio {
        width: 100%;
        justify-content: center;
    }
}

.produto-card {
    background: var(--branco);
    border-radius: var(--raio-m);
    overflow: hidden;
    box-shadow: var(--sombra-leve);
    transition: all 0.4s ease;
}

.produto-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--sombra-forte);
}

.produto-img {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #fafafa, #eee);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.produto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.produto-card:hover .produto-img img {
    transform: scale(1.1);
}

.produto-img i {
    font-size: 60px;
    color: var(--cinza-medio);
}

.produto-info {
    padding: 25px;
}

.produto-info h4 {
    color: var(--preto);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.produto-info p {
    color: var(--cinza-medio);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.produto-link {
    color: var(--vermelho);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.produto-link:hover {
    gap: 15px;
    color: var(--vermelho-escuro);
}

/* ============================================
   CARROSSEL
   ============================================ */
.carrossel-section {
    background: var(--branco);
    padding: var(--espaco-p) 0;
    overflow: hidden;
}

.carrossel-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.carrossel-track {
    display: flex;
    gap: 30px;
    animation: carrossel 25s linear infinite;
    width: fit-content;
}

.carrossel-track:hover {
    animation-play-state: paused;
}

.carrossel-item {
    flex-shrink: 0;
    width: calc(100vw - 40px);
    max-width: 320px;
    background: var(--branco);
    border-radius: var(--raio-m);
    padding: 30px;
    box-shadow: var(--sombra-leve);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.carrossel-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--sombra-media);
}

.carrossel-item h4 {
    color: var(--preto);
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.carrossel-item h4 i {
    color: var(--laranja);
}

.carrossel-item p {
    color: var(--cinza-medio);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   DIFERENCIAIS
   ============================================ */
.diferenciais {
    background: linear-gradient(135deg, var(--vermelho) 0%, var(--vermelho-escuro) 100%);
    position: relative;
    overflow: hidden;
}

.diferenciais::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -250px;
    right: -200px;
}

.diferenciais::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255,200,10,0.1);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
}

.diferenciais .section-title {
    color: var(--branco);
}

.diferenciais .section-subtitle {
    color: rgba(255,255,255,0.85);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: var(--espaco-m);
    position: relative;
    z-index: 1;
}

.diferencial-card {
    text-align: center;
    padding: 40px 25px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--raio-m);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
}

.diferencial-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.diferencial-icon {
    width: 75px;
    height: 75px;
    background: var(--branco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--vermelho);
    transition: all 0.3s ease;
}

.diferencial-card:hover .diferencial-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.diferencial-card h4 {
    color: var(--branco);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.diferencial-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================
   CONTATO
   ============================================ */
.contato {
    background: var(--preto-claro);
    position: relative;
    overflow: hidden;
}

.contato::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--amarelo) 0%, transparent 70%);
    opacity: 0.1;
    bottom: -200px;
    left: -200px;
}

.contato .section-title {
    color: var(--branco);
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: var(--espaco-m);
    position: relative;
    z-index: 1;
}

.contato-info h3 {
    color: var(--branco);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contato-info > p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.contato-whatsapp {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 50px;
    background: #25D366;
    color: var(--branco);
    font-weight: 700;
    font-size: 0.98rem;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    transition: all 0.3s ease;
}

.whatsapp-btn i {
    font-size: 20px;
}

.whatsapp-btn:hover {
    background: #1ebe5b;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.contato-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contato-item-matriz {
    border: 1px solid rgba(255, 200, 10, 0.35);
    background: rgba(255, 200, 10, 0.06);
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: var(--raio-m);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.contato-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(10px);
}

.contato-item i {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--amarelo), var(--laranja));
    border-radius: var(--raio-p);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--preto);
    font-size: 20px;
    flex-shrink: 0;
}

.contato-item-text h4 {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.contato-item-text p {
    color: var(--branco);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}

/* Formulário */
.contato-form {
    background: var(--branco);
    padding: 45px;
    border-radius: var(--raio-xl);
    box-shadow: var(--sombra-forte);
}

.contato-form h3 {
    color: var(--preto);
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    color: var(--preto);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: var(--raio-p);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--cinza-claro);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--laranja);
    background: var(--branco);
    box-shadow: 0 0 0 4px rgba(246, 142, 30, 0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--vermelho), var(--vermelho-escuro));
    color: var(--branco);
    border: none;
    border-radius: var(--raio-p);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: var(--vermelho-escuro);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(227, 6, 19, 0.3);
}

/* ============================================
   PORTFÓLIO
   ============================================ */
.portfolio {
    background: var(--branco);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: var(--espaco-m);
}

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.portfolio-item {
    position: relative;
    border-radius: var(--raio-m);
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-overlay h4 {
    color: var(--branco);
    font-size: 1.1rem;
    margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--preto);
    padding: 70px 20px 30px;
    color: var(--branco);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--raio-p);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--branco);
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--amarelo);
    color: var(--preto);
    transform: translateY(-5px);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--branco);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--amarelo), var(--laranja));
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    color: var(--amarelo);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    color: var(--amarelo);
    padding-left: 10px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-links-contato a::before {
    display: none;
}

.footer-links-contato a i {
    color: #25D366;
    font-size: 16px;
}

.footer-enderecos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 30px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-endereco h5 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--amarelo);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.footer-endereco p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }

    .hero h1 {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .hero-subtitle {
        margin: 0 auto 25px;
    }

    .hero-highlights {
        margin-left: auto;
        margin-right: auto;
        align-items: flex-start;
        width: fit-content;
        text-align: left;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-float-card {
        display: none;
    }

    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .sobre-image {
        order: -1;
    }

    .sobre-img-overlay {
        right: 10px;
        bottom: 10px;
        padding: 15px 20px;
    }

    .sobre-img-overlay span {
        font-size: 1.8rem;
    }

    .servicos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .servicos-extras-grid {
        grid-template-columns: 1fr;
    }

    .footer-enderecos {
        grid-template-columns: 1fr;
    }

    .produtos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Menu mobile para tablets */
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    :root {
        --espaco-p: 70px;
        --espaco-m: 40px;
    }

    .hero {
        padding: 120px 20px 70px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero h1 span {
        font-size: 0.65em;
    }

    .sobre-logo-full {
        padding: 20px 0;
    }

    .sobre-logo-img {
        max-width: 200px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-btn {
        justify-content: center;
        width: 100%;
    }

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

    .contato-whatsapp {
        grid-template-columns: 1fr;
    }

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

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

    .sobre-features {
        grid-template-columns: 1fr;
    }

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

    .footer-about {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

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

    .contato-form {
        padding: 25px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    /* Ajustes no carrossel para mobile */
    .carrossel-item {
        width: 280px;
        padding: 20px;
    }

    /* Ajustes no formulário */
    .contato-item {
        flex-direction: column;
        text-align: center;
    }

    .contato-item-text {
        text-align: center;
    }

    /* Ajustes no header mobile */
    .logo-img {
        height: 45px;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Tablets menores */
@media (max-width: 600px) {
    .servicos-grid,
    .produtos-grid,
    .diferenciais-grid {
        gap: 20px;
    }

    .servico-card,
    .produto-card,
    .diferencial-card {
        padding: 25px 20px;
    }

    .contato-form {
        padding: 25px;
    }

    .footer-grid {
        gap: 30px;
    }
}

/* Telas muito pequenas */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 110px 15px 60px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 14px 24px;
        font-size: 0.9rem;
    }

    .section {
        padding: 60px 15px;
    }

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

    .contato-form {
        padding: 20px;
    }

    .footer {
        padding: 50px 15px 25px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* ============================================
   WHATSAPP FLUTUANTE
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--branco);
    font-size: 30px;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}
