/* Reset e configurações globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Variáveis CSS */
:root {
    --primary-color: #1a1a2e;      /* Azul escuro/marinho da logo */
    --secondary-color: #16213e;     /* Azul escuro intermediário */
    --accent-color: #e53e3e;       /* Vermelho da logo */
    --accent-light: #f56565;       /* Vermelho mais claro */
    --text-color: #333;
    --text-light: #6b7280;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-800: #1f2937;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --container-max-width: 1200px;
    --header-height: 80px;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Seções */
.section {
    padding: 5rem 0;
    position: relative;
}

.section:nth-child(even) {
    background-color: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.navbar {
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 75px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    border-radius: 4px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

/* Vídeos de Background */
.hero-videos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-video.active {
    opacity: 1;
}

/* Overlay escuro sobre os vídeos */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.6);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-light);
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-image {
    text-align: center;
    width: 400px;
    height: 350px;
    margin: 0 auto;
}

.hero-img {
    width: 100%;
    height: 100%;
    margin-left: 100px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Botões */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Indicadores de Vídeo */
.video-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--white);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Nossa História */
.historia-content {
    max-width: 800px;
    margin: 0 auto;
}

.historia-text {
    text-align: center;
    margin-bottom: 3rem;
}

.historia-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.enderecos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.endereco-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.endereco-card:hover {
    transform: translateY(-5px);
}

.endereco-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.endereco-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.endereco-info i {
    color: var(--secondary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contatos-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.contato-item i {
    color: var(--secondary-color);
}

/* Nosso Negócio */
.filosofia {
    text-align: center;
    margin-bottom: 4rem;
}

.filosofia-text {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.valor-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.valor-card:hover {
    transform: translateY(-5px);
}

.valor-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.valor-icon i {
    width: 40px;
    height: 40px;
}

.valor-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.valor-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Serviços */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servico-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.servico-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.servico-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.servico-card:hover .servico-icon {
    background: var(--accent-color);
    color: var(--white);
    transform: scale(1.1);
}

.servico-icon i {
    width: 32px;
    height: 32px;
}

.servico-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.servico-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Clientes */
.clientes-regiao {
    margin-bottom: 4rem;
}

.clientes-regiao:last-child {
    margin-bottom: 0;
}

.regiao-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.regiao-count {
    font-size: 1rem;
    font-weight: 400;
    color: var(--accent-color);
    margin-left: 0.5rem;
}

.regiao-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.cliente-card {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 120px;
    border: 2px solid transparent;
}

.cliente-card:hover {
    transform: translateY(-3px);
}

.cliente-logo {
    max-width: 90%;
    max-height: 80px;
    width: auto;
    height: auto;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.cliente-card:hover .cliente-logo {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Contato */
.contato-content-simples {
    max-width: 1000px;
    margin: 0 auto;
}

.contato-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contato-info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contato-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: var(--secondary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.info-item strong {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    display: block;
}

.info-item p {
    color: var(--text-light);
    margin: 0;
}

.mapa-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.mapa-container iframe {
    width: 100%;
    height: 250px;
    border: none;
}

/* Footer */
.footer {
    background: var(--gray-800);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 35px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    border-radius: 4px;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-description {
    color: var(--gray-200);
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-200);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-200);
}

/* Galeria */
.gallery-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-gallery {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-gallery.active,
.btn-gallery:hover {
    background: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery-show-more {
    text-align: center;
    margin-top: 2rem;
}

.btn-show-more {
    background: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-show-more:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-show-more i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-show-more.expanded i {
    transform: rotate(180deg);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    background: var(--gray-100);
    cursor: zoom-in;
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform .4s ease, filter .3s ease;
    /* Força centralização mais agressiva */
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

/* Melhorias específicas para centralização de imagens */
.gallery-item {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item img {
    /* Centralização mais robusta */
    object-position: center center !important;
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    /* Garante que a imagem cubra toda a área */
    min-width: 100%;
    min-height: 100%;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-item.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.lightbox.open {
    display: flex;
    animation: lightboxFadeIn 0.3s ease-out;
}

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

.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: var(--border-radius);
    object-fit: contain;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.lightbox-content img:hover {
    transform: scale(1.02);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255,255,255,0.95);
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-weight: bold;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.lightbox-close { 
    top: 20px; 
    right: 20px; 
    font-size: 1.8rem; 
    z-index: 2001;
}

.lightbox-prev { 
    left: 20px; 
    top: 50%; 
    transform: translateY(-50%);
    font-size: 2.2rem; 
}

.lightbox-next { 
    right: 20px; 
    top: 50%; 
    transform: translateY(-50%);
    font-size: 2.2rem; 
}

@media (max-width: 768px) {
    .gallery-item img { 
        height: 160px;
        object-position: center center !important;
        object-fit: cover !important;
        /* Centralização forçada para mobile */
        transform: scale(1.1);
        transform-origin: center center;
    }
    
    .gallery-item:hover img {
        transform: scale(1.15);
        filter: brightness(1.05);
    }
    
    .lightbox-content {
        max-width: 95vw;
        max-height: 80vh;
    }
    
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
    }
    
    .lightbox-close { 
        top: 15px; 
        right: 15px; 
        font-size: 1.5rem; 
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 1.8rem;
    }
    
    .btn-show-more {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-item img { 
        height: 140px;
        object-position: center center !important;
        object-fit: cover !important;
        /* Centralização forçada para mobile pequeno */
        transform: scale(1.15);
        transform-origin: center center;
    }
    
    .gallery-item:hover img {
        transform: scale(1.2);
        filter: brightness(1.05);
    }
    
    .lightbox-content {
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
    
    .lightbox-close { 
        top: 10px; 
        right: 10px; 
        font-size: 1.4rem; 
    }
    
    .lightbox-prev { 
        left: 10px; 
        font-size: 1.6rem; 
    }
    
    .lightbox-next { 
        right: 10px; 
        font-size: 1.6rem; 
    }
    
    .btn-show-more {
        padding: 0.5rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .gallery-show-more {
        margin-top: 1.5rem;
    }
}

/* Botão WhatsApp Flutuante */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: white;
    padding: 12px 16px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.whatsapp-link:hover {
    background: #20c55a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-link i {
    width: 20px;
    height: 20px;
}

.whatsapp-text {
    white-space: nowrap;
}

/* Animações */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsividade */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .contato-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    .logo-img {
        height: 35px;
        max-width: 120px;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
    
    .hero {
        min-height: 80vh;
        padding-top: var(--header-height);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .enderecos-container {
        grid-template-columns: 1fr;
    }
    
    .contatos-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .valores-grid {
        grid-template-columns: 1fr;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .clientes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .regiao-title {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .logo-img {
        height: 30px;
        max-width: 100px;
    }
    
    .footer-logo-img {
        height: 28px;
        max-width: 90px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .video-indicators {
        bottom: 15px;
        gap: 10px;
    }
    
    .indicator {
        width: 11px;
        height: 11px;
    }
    
    /* Vídeos otimizados para mobile */
    .hero-video {
        display: block;
        /* Otimizações para performance em mobile */
        transform: translateZ(0);
        backface-visibility: hidden;
    }
}

/* Vídeos habilitados em todos os dispositivos */

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .endereco-card,
    .valor-card,
    .servico-card,
    .contato-info-card {
        padding: 1.5rem;
    }
    
    .clientes-grid {
        grid-template-columns: 1fr;
    }
    
    .clientes-regiao {
        margin-bottom: 3rem;
    }
    
    .regiao-title {
        font-size: 1.3rem;
    }
    
    .cliente-card {
        padding: 1.25rem;
        min-height: 100px;
    }
    
    .cliente-logo {
        max-height: 70px;
        max-width: 85%;
    }
    
    .whatsapp-button {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-link {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-link i {
        width: 24px;
        height: 24px;
    }
}

/* Melhorias de acessibilidade */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Estados de foco para acessibilidade */
.nav-link:focus,
.btn:focus,
input:focus,
textarea:focus,
.social-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Placeholder para imagens que não carregaram */
img {
    background-color: var(--gray-100);
    border-radius: var(--border-radius);
}

/* Loading state para formulário */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Print styles */
@media print {
    .header,
    .nav-toggle,
    .btn,
    .footer {
        display: none !important;
    }
    
    .section {
        page-break-inside: avoid;
        padding: 1rem 0;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
    }
}
