/* ==========================================================================
   Variáveis de Cores e Tipografia (Fácil manutenção)
   ========================================================================== */
:root {
    --cor-primaria: #003366; /* Azul escuro corporativo */
    --cor-secundaria: #ff0000; /* Vermelho para destaque/urgência */
    --cor-texto: #333333;
    --cor-fundo: #f4f4f9;
    --cor-branco: #ffffff;
    --fonte-principal: 'Arial', sans-serif;
}

/* ==========================================================================
   Reset Básico (Performance e Padronização)
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--fonte-principal);
    color: var(--cor-texto);
    background-color: var(--cor-branco);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    min-height: 100vh;
}

img, picture, video, canvas, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Cabeçalho e Navegação
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.top-bar {
    display: none;
}

nav {
    display: flex;
    justify-content: flex-start;
    gap: 25px;
    align-items: center;
    padding: 15px 5%;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

nav img {
    height: 48px; /* Reduz o tamanho do logo para ficar proporcional */
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

/* Estado Scrolled (Barra Preta com Logo Menor e Botões Claros) */
header.scrolled nav {
    background-color: #000000; /* Fundo preto */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    padding: 10px 5%; /* Efeito compactador sutil ao rolar */
}

header.scrolled nav img {
    height: 42px; /* Reduz ainda mais levemente ao rolar para economizar espaço */
}

header.scrolled .menu-toggle-btn span {
    background-color: #ffffff; /* Hambúrguer branco sobre fundo preto */
}

nav ul {
    list-style: none;
    display: none; /* Oculto para priorizar o menu hambúrguer em todas as telas */
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--cor-branco);
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover, nav a:focus {
    color: var(--cor-secundaria);
}

/* Botão do Menu Hambúrguer (Três traços) */
.menu-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    padding: 2px 0;
    z-index: 1001;
    position: relative;
    pointer-events: auto;
}

.menu-toggle-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--cor-branco);
    border-radius: 2px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.menu-toggle-btn:hover span {
    opacity: 0.8;
}

/* ==========================================================================
   Banner Principal (Hero)
   ========================================================================== */
#hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #000;
    padding: 0; /* Remove o padding herdado de 'section' para ficar em tela cheia sem bordas */
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 10% 40px 10%;
}

.carousel-item.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.carousel-caption {
    max-width: 850px;
    color: var(--cor-branco);
    z-index: 3;
}

.carousel-caption h1,
.carousel-caption h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
}

.carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
}

.carousel-caption .btn-cta {
    margin-top: 0;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

/* Animations for Active Slide */
.carousel-item.active h1,
.carousel-item.active h2 {
    animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.carousel-item.active p {
    animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

.carousel-item.active .btn-cta {
    animation: slideInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Indicators (Bolinhas) */
.carousel-indicators {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.indicator.active {
    background-color: var(--cor-secundaria);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
}

/* Media Query overrides for Carousel */
@media (max-width: 768px) {
    #hero-carousel {
        height: 100vh;
    }
    .carousel-item {
        padding: 170px 10% 40px 10%;
    }
    .carousel-caption h1,
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    .carousel-caption p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
}

.btn-cta {
    display: inline-block;
    background-color: var(--cor-secundaria);
    color: var(--cor-branco);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btn-cta:hover, .btn-cta:focus {
    background-color: #cc0000;
}

/* ==========================================================================
   Grids de Serviços, Atuação e Blog (Otimizados)
   ========================================================================== */
section,
#hero-carousel,
#servicos,
#areas-atuacao,
#sobre,
#instagram-feed,
#depoimentos,
#blog,
#contato {
    scroll-margin-top: 85px;
}

section {
    padding: 60px 5%;
}

section h2 {
    text-align: center;
    color: var(--cor-primaria);
    margin-bottom: 40px;
    font-size: 2rem;
}

.grid-servicos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.grid-servicos article {
    background: transparent;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 8px;
}

.grid-servicos article img,
.grid-servicos img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    margin: 0 0 16px 0;
    display: block;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    padding: 2px;
}

.grid-servicos article h3 {
    color: var(--cor-secundaria);
    font-size: 1.45rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    text-align: left;
}

.grid-servicos article p {
    color: #4a4a4a;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: left;
}

.grid-servicos article .btn-saiba-mais {
    align-self: flex-start;
    display: inline-block;
    background-color: #ffd800;
    color: #000000;
    font-weight: bold;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 2px;
    text-decoration: none;
    margin-top: auto;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.grid-servicos article .btn-saiba-mais:hover {
    background-color: #e5c200;
    transform: translateY(-2px);
}

.grid-categorias {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.grid-categorias article {
    background: var(--cor-fundo);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.grid-categorias article:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.grid-categorias article img,
.grid-categorias img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    object-position: center;
    border-radius: 6px;
    margin: 0 0 16px 0;
    display: block;
    background-color: #0b1325;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.grid-categorias article h3 {
    color: var(--cor-secundaria);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.grid-categorias article p {
    color: #4a4a4a;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 18px;
    flex-grow: 1;
}

.grid-categorias article .btn-saiba-mais {
    align-self: center;
    margin-top: auto;
}

.grid-blog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 35px;
}

.grid-blog article {
    background: var(--cor-fundo);
    padding: 22px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.grid-blog article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}

.grid-blog article img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    margin-bottom: 14px;
    display: block;
}

.grid-blog article .blog-card-tag {
    display: inline-block;
    background-color: #ffd800;
    color: #000000;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
}

.grid-blog article h3 {
    color: #111111;
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 10px;
}

.grid-blog article h3 a {
    color: #111111;
    text-decoration: none;
    transition: color 0.2s ease;
}

.grid-blog article h3 a:hover {
    color: var(--cor-secundaria);
}

.grid-blog article p {
    color: #4a4a4a;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 18px;
    flex-grow: 1;
}

.grid-blog article .btn-saiba-mais {
    align-self: center;
    margin-top: auto;
}

.blog-ver-mais-wrap {
    text-align: center;
    margin-top: 15px;
}

/* ==========================================================================
   Depoimentos (Cards Brancos Oficiais com Foto, Badges, Solução e Botão)
   ========================================================================== */
#depoimentos {
    padding: 70px 5% 60px;
    background-color: #f8fafc;
    position: relative;
    scroll-margin-top: 90px;
}

.depoimentos-header-v2 {
    text-align: center;
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.depoimentos-titulo-v2 {
    font-size: 2.7rem;
    font-weight: 900;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    margin: 0;
    font-family: var(--fonte-principal);
}

.depoimentos-titulo-traco {
    width: 72px;
    height: 9px;
    background-color: #ffd800; /* Amarelo RCA */
    transform: skewX(-25deg);
    margin-top: 6px;
    border-radius: 1px;
}

/* Slider / Wrapper */
.depoimentos-slider-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.depoimentos-slide-group {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    animation: fadeInDepoimento 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.depoimentos-slide-group.active {
    display: grid;
}

@keyframes fadeInDepoimento {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cartões Brancos de Depoimento (Oficiais) */
.depoimento-card,
.depoimento-card-v2,
.depoimento-card-foto {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 24px 22px 24px;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    text-align: left;
    box-sizing: border-box;
}

.depoimento-card:hover,
.depoimento-card-v2:hover,
.depoimento-card-foto:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

/* Topo com Foto e Nome */
.depoimento-card-topo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.depoimento-avatar-wrap {
    position: relative;
    width: 62px;
    height: 62px;
    flex-shrink: 0;
}

.depoimento-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffd800; /* Borda amarela da foto */
    display: block;
    background-color: #f1f5f9;
}

.depoimento-verificado {
    position: absolute;
    bottom: -1px;
    right: -1px;
    background-color: #10b981; /* Verde verificado */
    color: #ffffff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 900;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.depoimento-autor-info {
    flex-grow: 1;
}

.depoimento-autor-nome {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111111;
    margin: 0 0 3px 0;
    line-height: 1.25;
}

.depoimento-autor-cargo {
    font-size: 0.84rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
    line-height: 1.35;
}

/* Linha de Estrelas e Badge de Categoria */
.depoimento-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.depoimento-estrelas-gold {
    color: #f59e0b; /* Estrelas amarelas/douradas */
    font-size: 1.15rem;
    letter-spacing: 2px;
    line-height: 1;
}

.depoimento-badge-cat {
    background-color: #ffd800;
    color: #111111;
    font-size: 0.74rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Texto / Citação */
.depoimento-citacao {
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.65;
    font-style: italic;
    margin: 0 0 18px 0;
    flex-grow: 1;
}

/* Box da Solução Instalada */
.depoimento-solucao-box {
    background-color: #f8fafc;
    border-left: 3.5px solid #003366; /* Barra azul marinho à esquerda */
    padding: 10px 14px;
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.45;
    border-radius: 0 6px 6px 0;
    margin-bottom: 20px;
}

.depoimento-solucao-box strong {
    color: #003366;
    font-weight: 700;
}

/* Botão Amarelo de Ver Depoimento */
.btn-ver-depoimento {
    background-color: #ffd800;
    color: #111111;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 11px 32px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
    align-self: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    display: inline-block;
    min-width: 170px;
}

.btn-ver-depoimento:hover {
    background-color: #e6c300;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #000000;
}

/* Paginação com Dots */
.depoimentos-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
    margin-bottom: 25px;
}

.depoimento-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    outline: none;
}

.depoimento-dot.active {
    background-color: #ffd800;
    border: 2px solid #111111;
    transform: scale(1.2);
}

.depoimento-dot:hover:not(.active) {
    background-color: #94a3b8;
}

.depoimentos-ver-mais-wrap {
    text-align: center;
    margin-top: 20px;
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.grid-depoimentos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 35px;
}

/* Responsividade de Depoimentos */
@media (max-width: 1100px) {
    .depoimentos-slide-group.active,
    .depoimentos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
    .grid-depoimentos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .depoimentos-slide-group.active,
    .depoimentos-grid,
    .grid-depoimentos {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .depoimentos-titulo-v2 {
        font-size: 2.1rem;
    }
    .depoimento-card,
    .depoimento-card-v2,
    .depoimento-card-foto {
        padding: 22px 18px;
        min-height: auto;
    }
}

/* ==========================================================================
   Rodapé e Formulário
   ========================================================================== */
#contato {
    scroll-margin-top: 90px;
    background-color: #000000; /* Fundo preto */
    color: var(--cor-branco); /* Letras brancas */
    padding: 60px 5% 20px;
}

#contato label {
    color: var(--cor-branco);
    font-weight: 600;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1.35fr;
    gap: 35px;
    align-items: start;
    margin-bottom: 40px;
}

.footer-grid h2, .footer-grid h3 {
    color: var(--cor-branco);
    margin-bottom: 18px;
    font-size: 1.5rem;
}

.contato-info address {
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.contato-info p {
    margin-bottom: 8px;
    color: #cccccc;
    font-size: 0.95rem;
}

.contato-mapa {
    display: flex;
    flex-direction: column;
}

.mapa-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: #1a1a1a;
}

.mapa-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.btn-como-chegar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: #ffd800;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

.btn-como-chegar:hover {
    color: #ffffff;
    transform: translateX(4px);
}

@media (max-width: 1050px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .formulario {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .formulario {
        grid-column: span 1;
    }
    .mapa-wrapper {
        height: 220px;
    }
}

.formulario form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.formulario input, .formulario textarea, .formulario select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #444;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px; /* Essencial para evitar zoom automático no iPhone / iOS */
    background-color: #ffffff;
    color: #111111;
}

.formulario input:focus, .formulario textarea:focus, .formulario select:focus {
    outline: 2px solid #ffd800;
}

.formulario button {
    background-color: var(--cor-secundaria);
    color: var(--cor-branco);
    border: none;
    padding: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.formulario button:hover {
    background-color: #cc0000;
}

.copy {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
    font-size: 0.8rem;
}

/* ==========================================================================
   Responsividade Mobile
   ========================================================================== */
@media (max-width: 768px) {
    nav {
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
        align-items: center;
        padding: 12px 5%;
    }
    nav ul {
        display: none;
    }
    nav img {
        height: 38px;
        width: auto;
    }
    header.scrolled nav img {
        height: 35px;
    }
    .top-bar {
        font-size: 0.8rem;
        padding: 8px;
    }
}

/* ==========================================================================
   Menu Lateral (Sidebar) - Estilo Amarelo e Botões Escuros
   ========================================================================== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    background-color: #ffd800; /* Fundo amarelo vibrante como no mockup */
    z-index: 2000;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    overflow-y: auto;
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
}

.sidebar-logo {
    max-width: 180px;
    height: auto;
}

#menu-close {
    background: none;
    border: none;
    font-size: 2.8rem;
    color: #1e1e1e;
    cursor: pointer;
    line-height: 1;
    padding: 0 10px;
    transition: transform 0.2s ease, color 0.2s ease;
}

#menu-close:hover {
    transform: scale(1.15);
    color: var(--cor-secundaria);
}

.sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.sidebar-links li {
    width: 100%;
}

.sidebar-links a {
    display: block;
    background-color: #1e1e1e; /* Botão escuro como na imagem */
    color: #ffffff;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
    padding: 14px 20px;
    text-transform: uppercase;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.sidebar-links a:hover,
.sidebar-links a:focus {
    background-color: #333333;
    transform: translateY(-2px);
}

@media (max-width: 360px) {
    .sidebar {
        width: 100%;
        left: -100%;
    }
}

/* ==========================================================================
   Botão Flutuante do WhatsApp (Uso da Imagem rca_whatsapp.png)
   ========================================================================== */
.whatsapp-float-img {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 68px;
    height: 68px;
    z-index: 1998;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.3s ease;
    text-decoration: none;
    display: block;
    /* Sombra suave baseada no contorno do PNG transparente */
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
}

.whatsapp-float-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.whatsapp-float-img:hover,
.whatsapp-float-img:focus {
    transform: scale(1.08);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

@media (max-width: 768px) {
    .whatsapp-float-img {
        bottom: 20px;
        right: 20px;
        width: 58px;
        height: 58px;
    }
}

/* ==========================================================================
   Páginas de Detalhes dos Serviços (Estrutura e Layout)
   ========================================================================== */
.pagina-detalhe {
    padding-top: 100px;
    background-color: #ffffff;
}

/* Cabeçalho para Páginas de Detalhe (Fundo Preto) */
header.header-yellow nav {
    background-color: #000000 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}

header.header-yellow .menu-toggle-btn span {
    background-color: #ffffff !important;
}

header.header-yellow nav a {
    color: #ffffff !important;
}

.container-detalhe {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 5%;
}

@media (max-width: 768px) {
    .container-detalhe {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px 5%;
    }
}

/* Container de Imagem e Carrossel da Página de Detalhe */
.detalhe-imagem-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    width: 100%;
}

.detalhe-carrossel {
    position: relative;
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    background-color: #111111;
    user-select: none;
}

.detalhe-slides {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
}

.detalhe-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.detalhe-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.detalhe-slide img.detalhe-imagem {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detalhe-legenda {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    color: #ffffff;
    padding: 30px 20px 35px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
    z-index: 3;
}

/* Botões de Navegação Anterior / Próximo */
.btn-navegar {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.btn-navegar:hover {
    background-color: #ffd800;
    color: #000000;
    transform: translateY(-50%) scale(1.1);
}

.btn-navegar:active {
    transform: translateY(-50%) scale(0.95);
}

.btn-navegar.prev {
    left: 12px;
}

.btn-navegar.next {
    right: 12px;
}

/* Indicadores de Posição (Bolinhas) */
.detalhe-indicadores {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.detalhe-indicadores .indicador {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.detalhe-indicadores .indicador:hover {
    background-color: rgba(255, 255, 255, 0.85);
}

.detalhe-indicadores .indicador.active {
    background-color: #ffd800;
    transform: scale(1.25);
    box-shadow: 0 0 6px rgba(255, 216, 0, 0.8);
}

/* Miniaturas Abaixo do Carrossel */
.detalhe-miniaturas {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    width: 100%;
    max-width: 520px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
}

.detalhe-miniaturas::-webkit-scrollbar {
    height: 4px;
}

.detalhe-miniaturas::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 4px;
}

.detalhe-miniaturas .miniatura {
    width: 76px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.55;
    border: 2px solid transparent;
    transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    flex-shrink: 0;
}

.detalhe-miniaturas .miniatura:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.detalhe-miniaturas .miniatura.active {
    opacity: 1;
    border-color: #ffd800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .detalhe-imagem-container {
        align-items: center;
    }
    
    .detalhe-slides {
        height: 280px;
    }

    .btn-navegar {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}

.detalhe-conteudo h1 {
    font-size: 2.8rem;
    color: var(--cor-primaria);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1.1;
}

.detalhe-conteudo .subtitulo {
    font-size: 1rem;
    color: var(--cor-secundaria);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.detalhe-conteudo h2 {
    font-size: 1.3rem;
    color: #222222;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.detalhe-conteudo p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #555555;
    line-height: 1.7;
}

.detalhe-destaques {
    list-style: none;
    margin-bottom: 35px;
}

.detalhe-destaques li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: #444444;
    line-height: 1.5;
}

.detalhe-destaques li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #25d366;
    font-weight: bold;
    font-size: 1.1rem;
}

.detalhe-acoes {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-orcamento {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #25d366;
    color: #ffffff;
    padding: 14px 32px;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-orcamento:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-orcamento svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.social-share {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-share span {
    font-size: 0.9rem;
    color: #888888;
    margin-right: 5px;
}

.social-share a {
    color: #666666;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #dddddd;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-share a:hover {
    color: #ffffff;
    border-color: transparent;
}

.social-share a.share-fb:hover { background-color: #1877f2; }
.social-share a.share-x:hover { background-color: #111111; }
.social-share a.share-wa:hover { background-color: #25d366; }

.social-share a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Seção de rodapé de outros serviços na página de detalhes */
.outros-servicos-secao {
    background-color: #f7f9fc;
    padding: 60px 5%;
    border-top: 1px solid #eaeaea;
}

.outros-servicos-secao h2 {
    text-align: center;
    margin-bottom: 45px;
    text-transform: uppercase;
    color: var(--cor-primaria);
    font-size: 2rem;
    font-weight: 800;
}

.btn-saiba-mais {
    display: inline-block;
    background-color: #ffd800;
    color: #000000;
    font-weight: bold;
    padding: 10px 24px;
    margin-top: 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-saiba-mais:hover {
    background-color: #e5c200;
    transform: translateY(-2px);
}

/* Botão de Retorno (Voltar para Home) */
.btn-voltar-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: var(--cor-primaria);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.btn-voltar-home:hover {
    color: var(--cor-secundaria);
}

/* ==========================================================================
   Página Nossa Estrutura (Layout com Texto em Cima e 7 Fotos em Tela Cheia)
   ========================================================================== */
.pagina-estrutura {
    background-color: #f8f9fa;
    padding-bottom: 80px;
}

.container-estrutura-topo {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 5% 40px;
}

.subtitulo-secao {
    font-size: 0.95rem;
    color: var(--cor-secundaria, #e51a24);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.estrutura-texto-topo .sobre-titulo-principal {
    font-size: 3.2rem;
    font-weight: 900;
    color: #111111;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 8px;
}

.estrutura-descricao-completa {
    max-width: 960px;
    margin: 25px auto 0;
    text-align: left;
}

.estrutura-descricao-completa p {
    font-size: 1.12rem;
    line-height: 1.8;
    color: #444444;
    margin-bottom: 20px;
}

.estrutura-descricao-completa .destaque-paragrafo {
    font-size: 1.25rem;
    color: #111111;
    font-weight: 500;
    line-height: 1.75;
    border-left: 4px solid #ffd800;
    padding-left: 18px;
    margin-bottom: 24px;
}

/* Métricas / Badges */
.estrutura-metricas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eaeaea;
}

.metrica-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid #eeeeee;
}

.metrica-item:last-child {
    border-right: none;
}

.metrica-numero {
    font-size: 2.3rem;
    font-weight: 900;
    color: var(--cor-primaria, #003366);
    line-height: 1;
    margin-bottom: 6px;
}

.metrica-rotulo {
    font-size: 0.9rem;
    font-weight: 700;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Galeria da Estrutura - Sequência Vertical Completa (Imagens Inteiras Sem Corte)
   ========================================================================== */
.secao-galeria-vertical {
    padding: 20px 5% 80px 5%;
    background-color: #f6f8fb;
}

.secao-galeria-vertical .galeria-full-header {
    text-align: center;
    margin-bottom: 35px;
}

.secao-galeria-vertical .galeria-full-header h2 {
    font-size: 2.3rem;
    font-weight: 900;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.secao-galeria-vertical .galeria-full-header p {
    font-size: 1.1rem;
    color: #555555;
    max-width: 720px;
    margin: 0 auto;
}

.lista-fotos-sequencia {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 35px;
    width: 100%;
}

.card-foto-vertical,
.foto-estrutura-bloco {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e3e8ee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-foto-vertical:hover,
.foto-estrutura-bloco:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

.foto-vertical-wrapper {
    position: relative;
    width: 100%;
    background-color: #ffffff;
}

.card-foto-vertical img,
.foto-estrutura-bloco img,
.foto-vertical-wrapper img {
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    object-fit: contain !important;
    display: block !important;
}

@media (max-width: 768px) {
    .lista-fotos-sequencia {
        gap: 20px;
    }
    .card-foto-vertical,
    .foto-estrutura-bloco {
        border-radius: 12px;
    }
    .estrutura-descricao-completa p {
        font-size: 1.02rem;
        line-height: 1.65;
    }
    .secao-galeria-vertical {
        padding: 15px 3% 50px 3%;
    }
}

/* Grade de Fotos da Estrutura (Sequência 1 a 9) */
.grade-fotos-estrutura,
.grade-fotos-7 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card-foto-full {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    background-color: #111111;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-foto-full:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.card-foto-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.card-foto-full:hover img {
    transform: scale(1.08);
}

/* Foto 1 Destaque (Ocupa 2 colunas) */
.card-foto-full.foto-destaque {
    grid-column: span 2;
}

.card-foto-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.15) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: #ffffff;
    transition: background 0.3s ease;
}

.card-foto-full:hover .card-foto-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.25) 100%);
}

.badge-foto {
    align-self: flex-start;
    background-color: #ffd800;
    color: #000000;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.card-foto-overlay h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.2;
    color: #ffffff;
}

.card-foto-overlay p {
    font-size: 0.92rem;
    line-height: 1.4;
    color: #dddddd;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-expandir {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 20px;
    cursor: pointer;
    align-self: flex-start;
    transition: all 0.2s ease;
}

.card-foto-full:hover .btn-expandir {
    background: #ffd800;
    color: #000000;
    border-color: #ffd800;
}

/* ==========================================================================
   MODAL LIGHTBOX FULL SCREEN (TELA CHEIA)
   ========================================================================== */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.lightbox-container {
    position: relative;
    z-index: 2;
    width: 92%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 85vh;
    width: 100%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 68vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
    animation: lightboxZoomIn 0.3s cubic-bezier(0.2, 0.9, 0.3, 1);
}

@keyframes lightboxZoomIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-caption {
    margin-top: 16px;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
}

.lightbox-counter {
    display: inline-block;
    background-color: #ffd800;
    color: #000000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: 12px;
    margin-bottom: 6px;
}

.lightbox-caption h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.lightbox-caption p {
    font-size: 0.95rem;
    color: #cccccc;
    line-height: 1.4;
}

.lightbox-btn-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
}

.lightbox-btn-close:hover {
    color: #ffd800;
    transform: scale(1.15);
}

.lightbox-btn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.lightbox-btn-nav:hover {
    background: #ffd800;
    color: #000000;
    border-color: #ffd800;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-btn-nav.prev {
    left: -70px;
}

.lightbox-btn-nav.next {
    right: -70px;
}

/* Responsividade Estrutura */
@media (max-width: 992px) {
    .estrutura-descricao-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .estrutura-metricas {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .metrica-item:nth-child(2) {
        border-right: none;
    }
    .grade-fotos-estrutura,
    .grade-fotos-7 {
        grid-template-columns: repeat(2, 1fr);
    }
    .card-foto-full.foto-destaque {
        grid-column: span 2;
    }
    .lightbox-btn-nav.prev {
        left: 10px;
    }
    .lightbox-btn-nav.next {
        right: 10px;
    }
    .lightbox-btn-close {
        top: -40px;
        right: 10px;
    }
}

@media (max-width: 600px) {
    .estrutura-texto-topo .sobre-titulo-principal {
        font-size: 2.2rem;
    }
    .estrutura-metricas {
        grid-template-columns: 1fr;
    }
    .metrica-item {
        border-right: none;
        border-bottom: 1px solid #eeeeee;
        padding-bottom: 12px;
    }
    .metrica-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .grade-fotos-estrutura,
    .grade-fotos-7 {
        grid-template-columns: 1fr;
    }
    .card-foto-full.foto-destaque {
        grid-column: span 1;
    }
    .card-foto-full {
        height: 270px;
    }
    .lightbox-content img {
        max-height: 55vh;
    }
    .lightbox-btn-nav {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
}

/* ==========================================================================
   Seção Sobre Nós (Home Page - index.html: Layout com Colagem de 4 Fotos)
   ========================================================================== */
.sobre-secao {
    padding: 80px 5%;
    background-color: #ffffff;
}

.sobre-grid {
    max-width: 1260px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: center;
}

/* Colagem de Fotos (Lado Esquerdo) */
.sobre-colagem {
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    gap: 16px;
    height: 500px;
    align-items: stretch;
}

.colagem-col-esq {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.colagem-col-dir {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.colagem-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.colagem-col-esq .colagem-item:not(.colagem-bloco-amarelo) {
    flex: 1;
    min-height: 0;
    display: flex;
}

.colagem-col-dir .colagem-item:first-child {
    height: 180px;
    flex: none;
    display: flex;
}

.colagem-col-dir .colagem-item:last-child {
    flex: 1;
    min-height: 0;
    display: flex;
}

.colagem-bloco-amarelo {
    background-color: #ffd800;
    width: 100%;
    height: 140px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.colagem-bloco-amarelo:hover {
    transform: scale(1.02);
}

.colagem-img-vertical,
.colagem-img-topo,
.colagem-img-baixo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
}

.colagem-item:hover img,
.colagem-img-vertical:hover,
.colagem-img-topo:hover,
.colagem-img-baixo:hover {
    transform: scale(1.04);
}

/* Conteúdo Sobre Nós (Lado Direito) */
.sobre-conteudo {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sobre-titulo-wrapper {
    margin-bottom: 25px;
}

.sobre-conteudo .sobre-titulo-principal {
    font-size: 3.2rem;
    font-weight: 900;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.1;
    margin: 0 0 8px 0;
    display: inline-block;
}

.sobre-titulo-linha {
    width: 95px;
    height: 8px;
    background-color: #ffd800;
    display: block;
    border-radius: 2px;
}

.sobre-conteudo p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #555555;
    margin-bottom: 22px;
    text-align: left;
}

.sobre-destaque {
    margin-top: 25px;
    text-align: center;
}

.sobre-destaque h3 {
    color: var(--cor-secundaria, #e51a24);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
    margin: 0;
}

/* Responsividade Sobre Nós Home Page */
@media (max-width: 992px) {
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sobre-colagem {
        max-width: 550px;
        width: 100%;
        height: 460px;
        margin: 0 auto;
    }

    .sobre-conteudo .sobre-titulo-principal {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .sobre-colagem {
        height: 380px;
        gap: 12px;
    }
    .colagem-col-esq,
    .colagem-col-dir {
        gap: 12px;
    }
    .colagem-bloco-amarelo {
        height: 90px;
    }
    .colagem-col-dir .colagem-item:first-child {
        height: 130px;
    }
    .sobre-conteudo .sobre-titulo-principal {
        font-size: 2.1rem;
    }
    .sobre-destaque h3 {
        font-size: 1.15rem;
    }
}

/* ==========================================================================
   Seção Redes Sociais Integradas: Facebook & Instagram (@alarmesrca)
   ========================================================================== */
.social-feeds-secao,
.instagram-secao {
    padding: 80px 5%;
    background-color: #f7f9fc;
    border-top: 1px solid #e5e9f0;
    border-bottom: 1px solid #e5e9f0;
    position: relative;
}

.social-feeds-container,
.instagram-container {
    max-width: 1240px;
    margin: 0 auto;
}

.social-feeds-header,
.instagram-header {
    text-align: center;
    margin-bottom: 40px;
}

.social-feeds-badge,
.instagram-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #003366 0%, #1877f2 50%, #dc2743 100%);
    color: #ffffff;
    padding: 7px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.18);
}

.social-feeds-header h2,
.instagram-header h2 {
    font-size: 2.35rem;
    font-weight: 900;
    color: var(--cor-primaria, #003366);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.social-feeds-subtitulo,
.instagram-subtitulo {
    font-size: 1.08rem;
    color: #556270;
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.6;
}

.social-feeds-subtitulo strong {
    color: #111111;
}

/* Grade Principal de 2 Colunas: Facebook e Instagram */
.social-feeds-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 500px));
    justify-content: center;
    gap: 28px;
    align-items: stretch;
    max-width: 1040px;
    margin: 0 auto;
}

/* Card das Colunas Sociais */
.social-col {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-col:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Card Header / Top Bar
   ========================================================================== */
.social-card-top {
    padding: 14px 22px;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}

.social-brand-info {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.social-header-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.social-header-link:hover {
    opacity: 0.88;
}

/* Facebook Header */
.fb-top-bar {
    background: #ffffff;
    border-top: 4px solid #1877f2;
}

.fb-avatar-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 2px;
    background: #1877f2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.2);
    flex-shrink: 0;
}

.fb-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #000000;
    object-fit: contain;
    padding: 2px;
}

.social-brand-text {
    flex-grow: 1;
}

.social-page-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #050505;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fb-sub-details {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-fb-follow-mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #e7f3ff;
    color: #1877f2;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-fb-follow-mini:hover {
    background-color: #1877f2;
    color: #ffffff;
}

.fb-followers-count {
    font-size: 0.85rem;
    color: #65676b;
    font-weight: 500;
}

/* Instagram Header */
.insta-top-bar {
    background: #ffffff;
    border-top: 4px solid #dc2743;
}

.insta-avatar-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 2.5px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.insta-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #ffffff;
    object-fit: contain;
    padding: 3px;
}

.insta-inline-logo {
    color: #d62976;
    vertical-align: middle;
}

.insta-handle-subtitle {
    font-size: 0.84rem;
    color: #8e8e8e;
    font-weight: 600;
}

/* ==========================================================================
   Área do Plugin e Preview do Facebook
   ========================================================================== */
.facebook-plugin-wrapper {
    padding: 0 !important;
    background-color: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 500px;
    height: 500px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.facebook-plugin-wrapper iframe {
    width: 500px !important;
    min-width: 500px !important;
    max-width: 500px !important;
    height: 570px !important;
    min-height: 570px !important;
    margin-top: -70px !important;
    border: none !important;
    overflow: hidden !important;
    background: #ffffff;
    display: block;
    box-sizing: border-box;
    transform-origin: top center;
}

/* Oculta automaticamente o fallback quando o plugin oficial do Facebook for renderizado */
.fb-page[fb-xfbml-state="rendered"] ~ #fb-preview-fallback,
.fb-page.fb_iframe_widget ~ #fb-preview-fallback,
.fb-page iframe ~ #fb-preview-fallback {
    display: none !important;
}

.fb-post-preview-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e4e6eb;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.fb-post-media {
    position: relative;
    background-color: #ffffff;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f0f2f5;
}

.fb-post-img {
    width: 100%;
    max-height: 380px;
    object-fit: contain;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.fb-post-preview-card:hover .fb-post-img {
    transform: scale(1.01);
}

.fb-post-author-row {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f2f5;
}

.fb-author-mini {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fb-author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #e1e8ed;
    object-fit: contain;
    padding: 2px;
}

.fb-author-meta {
    display: flex;
    flex-direction: column;
}

.fb-author-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #050505;
}

.fb-post-time {
    font-size: 0.78rem;
    color: #65676b;
}

.fb-brand-circle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fb-post-actions-bar {
    padding: 10px 16px;
    background: #ffffff;
}

.fb-reactions-count {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f2f5;
    font-size: 0.84rem;
    color: #65676b;
    font-weight: 600;
}

.fb-like-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1877f2;
    color: #ffffff;
    font-size: 0.65rem;
}

.fb-action-buttons {
    display: flex;
    justify-content: space-around;
    padding-top: 6px;
}

.fb-act-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #65676b;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.fb-act-btn:hover {
    background-color: #f0f2f5;
    color: #1877f2;
}

/* ==========================================================================
   Área do Feed e Grade 2x2 do Instagram
   ========================================================================== */
.instagram-feed-wrapper {
    padding: 6px;
    background-color: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    min-height: 500px;
    height: 500px;
    width: 100%;
    overflow: hidden;
}

.instagram-feed-wrapper .elfsight-app-7e3a565f-8bd0-47eb-83ac-086c83b595ac {
    width: 100% !important;
    max-height: 500px !important;
    display: block;
}

.insta-quad-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.insta-quad-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background-color: #111111;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    display: block;
}

.insta-quad-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.insta-quad-item:hover img {
    transform: scale(1.06);
}

.insta-quad-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.insta-quad-item:hover .insta-quad-overlay {
    opacity: 1;
}

.quad-overlay-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
}

/* ==========================================================================
   Botões de Ação Rodapé dos Cards
   ========================================================================== */
.social-card-footer {
    padding: 18px 24px;
    background: #ffffff;
    border-top: 1px solid #edf2f7;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-social-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.96rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-fb-cta {
    background-color: #1877f2;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.btn-fb-cta:hover {
    background-color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(24, 119, 242, 0.45);
    color: #ffffff;
}

.btn-insta-cta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
}

.btn-insta-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(220, 39, 67, 0.45);
    color: #ffffff;
}

/* ==========================================================================
   Responsividade da Seção de Redes Sociais
   ========================================================================== */
@media (max-width: 991px) {
    .social-feeds-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .social-feeds-secao,
    .instagram-secao {
        padding: 60px 4%;
    }

    .social-feeds-header h2,
    .instagram-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .social-card-top {
        padding: 14px 16px;
    }

    .facebook-plugin-wrapper {
        padding: 0 !important;
        height: auto;
        min-height: 360px;
    }

    .facebook-plugin-wrapper iframe {
        transform-origin: top center;
    }

    .instagram-feed-wrapper {
        padding: 14px;
    }

    .insta-quad-grid {
        gap: 8px;
    }

    .social-card-footer {
        padding: 14px 16px;
    }

    .social-feeds-header h2,
    .instagram-header h2 {
        font-size: 1.65rem;
    }

    .fb-action-buttons {
        flex-wrap: wrap;
        gap: 4px;
    }

    .fb-act-btn {
        font-size: 0.78rem;
        padding: 5px 8px;
    }
}

/* Redes Sociais no Rodapé e Sidebar */
.contato-redes-sociais {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.rede-social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.rede-social-link.fb {
    background-color: #1877f2;
}

.rede-social-link.insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.rede-social-link.whats {
    background-color: #25d366;
}

.rede-social-link:hover {
    transform: translateY(-2px);
    opacity: 0.95;
    color: #ffffff;
}

.sidebar-social {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: auto;
}

.sidebar-social p {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #111111;
    margin-bottom: 10px;
}

.sidebar-social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sidebar-social-icons .social-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s;
}

.sidebar-social-icons .social-btn.facebook {
    background-color: #1877f2;
}

.sidebar-social-icons .social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.sidebar-social-icons .social-btn.whatsapp {
    background-color: #25d366;
}

@media (max-width: 992px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .instagram-grid {
        grid-template-columns: 1fr;
    }
    .insta-card {
        height: 250px;
    }
    .instagram-profile-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 20px 16px;
    }
    .insta-profile-info {
        flex-direction: column;
        text-align: center;
    }
    .insta-profile-action {
        width: 100%;
        justify-content: center;
    }
    .btn-insta-follow {
        width: 100%;
        justify-content: center;
    }
    .btn-instagram-seguir {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   PÁGINAS DEDICADAS: BLOG & DEPOIMENTOS (PADRÃO VISUAL OFICIAL RCA)
   ========================================================================== */

/* Subtítulo e Badges Gerais */
.pagina-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffd800;
    color: #000000;
    padding: 6px 18px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Hero das Páginas Internas (Mesmo padrão do banner com foto e gradiente do Index) */
.pagina-hero-secao {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../images/fachadaRCA.jpeg') center/cover no-repeat;
    color: #ffffff;
    padding: 160px 5% 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pagina-hero-secao.hero-depoimentos {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../images/rcacentraldemonitoramento.jpeg.jpeg') center/cover no-repeat;
}

.pagina-hero-conteudo {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.pagina-hero-conteudo h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.pagina-hero-conteudo h1 span {
    color: #ffd800;
}

.pagina-hero-conteudo p.subtitulo-hero {
    font-size: 1.2rem;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 10px;
    font-weight: 400;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* Barra de Estatísticas / Trust Bar (Depoimentos) */
.depoimentos-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: -35px auto 50px;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

.stat-card-item {
    background: #ffffff;
    border-radius: 8px;
    padding: 22px 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stat-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: #ffd800;
}

.stat-card-item .stat-numero {
    font-size: 2rem;
    font-weight: 900;
    color: #000000;
    display: block;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-card-item .stat-estrelas {
    color: #ffb703;
    font-size: 1rem;
    margin-bottom: 4px;
    display: block;
}

.stat-card-item .stat-rotulo {
    font-size: 0.85rem;
    font-weight: 700;
    color: #555555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Barra de Filtros e Busca */
.controles-secao {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.filtro-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.btn-filtro {
    background: #ffffff;
    color: #333333;
    border: 1px solid #d1d5db;
    padding: 9px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--fonte-principal);
}

.btn-filtro:hover {
    background: #f4f4f9;
    color: #000000;
    border-color: #ffd800;
}

.btn-filtro.active {
    background: #ffd800;
    color: #000000;
    border-color: #ffd800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.busca-wrapper {
    position: relative;
    min-width: 280px;
}

.busca-input {
    width: 100%;
    padding: 10px 42px 10px 16px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
    font-family: var(--fonte-principal);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.busca-input:focus {
    border-color: #ffd800;
    box-shadow: 0 0 0 3px rgba(255, 216, 0, 0.3);
}

.busca-icone {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #777777;
    pointer-events: none;
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS: BLOG
   ========================================================================== */
.blog-secao-principal {
    max-width: 1200px;
    margin: 0 auto 70px;
    padding: 0 5%;
}

/* Post em Destaque */
.blog-destaque-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-destaque-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.blog-destaque-img-wrapper {
    position: relative;
    min-height: 340px;
    overflow: hidden;
}

.blog-destaque-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-destaque-card:hover .blog-destaque-img {
    transform: scale(1.05);
}

.blog-destaque-badge-top {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--cor-secundaria);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 2px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-destaque-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 14px;
}

.blog-meta .blog-categoria-tag {
    background: #ffd800;
    color: #000000;
    padding: 4px 12px;
    border-radius: 2px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 0.5px;
}

.blog-destaque-info h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #000000;
    line-height: 1.35;
    margin-bottom: 16px;
    transition: color 0.2s;
}

.blog-destaque-info h2:hover {
    color: var(--cor-secundaria);
}

.blog-destaque-info p.resumo {
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.blog-destaque-rodape {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.blog-autor {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-autor img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffd800;
}

.blog-autor span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}

.btn-ler-artigo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffd800;
    color: #000000;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 10px 24px;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-ler-artigo:hover {
    background: #e5c200;
    transform: translateY(-2px);
}

/* Grid de Artigos do Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}

.blog-card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.06);
}

.blog-card-categoria {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #ffd800;
    color: #000000;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-data {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-card-titulo {
    font-size: 1.2rem;
    font-weight: 800;
    color: #000000;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card-titulo {
    color: var(--cor-secundaria);
}

.blog-card-resumo {
    font-size: 0.92rem;
    color: #4a4a4a;
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.blog-card-footer .tempo-leitura {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.btn-link-artigo {
    color: #000000;
    font-weight: 800;
    font-size: 0.88rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.btn-link-artigo:hover {
    color: var(--cor-secundaria);
    transform: translateX(3px);
}

/* Banner de Diagnóstico Gratuito / CTA */
.blog-cta-diagnostico {
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('../images/seguranca.jpeg') center/cover no-repeat;
    color: #ffffff;
    border-radius: 8px;
    padding: 50px 40px;
    margin: 60px 0 20px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.blog-cta-diagnostico h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.blog-cta-diagnostico h3 span {
    color: #ffd800;
}

.blog-cta-diagnostico p {
    font-size: 1rem;
    color: #f0f0f0;
    line-height: 1.6;
}

.blog-cta-acoes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.btn-cta-whatsapp-gold {
    background: var(--cor-secundaria);
    color: #ffffff;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    transition: all 0.25s ease;
}

.btn-cta-whatsapp-gold:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS: DEPOIMENTOS (PÁGINA DEDICADA)
   ========================================================================== */
.depoimentos-secao-principal {
    max-width: 1300px;
    margin: 0 auto 70px;
    padding: 0 5%;
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

@media (max-width: 1150px) {
    .depoimentos-grid,
    .depoimentos-slide-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .depoimentos-grid,
    .depoimentos-slide-group {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Seção de Ação: Deixe seu depoimento e Google Reviews */
.depoimentos-cta-avaliacao {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    max-width: 800px;
    margin: 40px auto 60px;
}

.depoimentos-cta-avaliacao h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #003366;
    margin-bottom: 10px;
}

.depoimentos-cta-avaliacao p {
    color: #64748b;
    margin-bottom: 24px;
    font-size: 1rem;
}

.depoimentos-cta-botoes {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-deixar-depoimento {
    background: var(--cor-secundaria);
    color: #ffffff;
    font-weight: 800;
    padding: 12px 26px;
    border-radius: 4px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-deixar-depoimento:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

.btn-google-reviews {
    background: #ffffff;
    color: #333333;
    border: 1px solid #d1d5db;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-google-reviews:hover {
    background: #f4f4f9;
    border-color: #ffd800;
    color: #000000;
}

/* Seção Por Que Confiar (Depoimentos) */
.depoimentos-pilares-confianca {
    margin: 60px 0 30px;
}

.depoimentos-pilares-titulo {
    text-align: center;
    margin-bottom: 40px;
}

.depoimentos-pilares-titulo h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #003366;
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pilar-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease;
}

.pilar-card:hover {
    transform: translateY(-4px);
    border-color: #ffd800;
}

.pilar-icone-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 51, 102, 0.08);
    color: #003366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 26px;
}

.pilar-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.pilar-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

/* ==========================================================================
   MODAIS INTERATIVOS (LEITOR DE ARTIGO & FORM DE AVALIAÇÃO)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: #ffffff;
    border-radius: 8px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    transition: background 0.2s ease, color 0.2s ease;
}

.modal-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Conteúdo do Artigo dentro do Modal */
.artigo-modal-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 24px;
}

.artigo-modal-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #64748b;
}

.artigo-modal-titulo {
    font-size: 1.7rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 20px;
}

.artigo-modal-corpo {
    font-size: 1.02rem;
    color: #334155;
    line-height: 1.75;
}

.artigo-modal-corpo h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #003366;
    margin: 24px 0 10px;
}

.artigo-modal-corpo ul, .artigo-modal-corpo ol {
    margin: 12px 0 18px 24px;
}

.artigo-modal-corpo li {
    margin-bottom: 8px;
}

.artigo-modal-destaque-box {
    background: #f8fafc;
    border-left: 4px solid #ffd800;
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    margin: 20px 0;
    font-weight: 600;
    color: #1e293b;
}

.artigo-modal-cta {
    background: #003366;
    color: #ffffff;
    padding: 24px;
    border-radius: 14px;
    margin-top: 30px;
    text-align: center;
}

.artigo-modal-cta h4 {
    font-size: 1.2rem;
    color: #ffd800;
    margin-bottom: 8px;
}

.artigo-modal-cta p {
    font-size: 0.92rem;
    color: #e2e8f0;
    margin-bottom: 16px;
}

/* Formulário de Depoimento dentro do Modal */
.form-depoimento-modal label {
    display: block;
    font-weight: 700;
    color: #1e293b;
    font-size: 0.9rem;
    margin-bottom: 6px;
    margin-top: 14px;
}

.form-depoimento-modal input,
.form-depoimento-modal select,
.form-depoimento-modal textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: var(--fonte-principal);
    font-size: 0.95rem;
    outline: none;
}

.form-depoimento-modal input:focus,
.form-depoimento-modal select:focus,
.form-depoimento-modal textarea:focus {
    border-color: #003366;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.15);
}

.rating-select-stars {
    display: flex;
    gap: 8px;
    font-size: 1.6rem;
    color: #cbd5e1;
    cursor: pointer;
    margin-bottom: 10px;
}

.rating-select-stars span:hover,
.rating-select-stars span.active {
    color: #ffb703;
}

/* ==========================================================================
   RESPONSIVIDADE: BLOG & DEPOIMENTOS
   ========================================================================== */
@media (max-width: 1024px) {
    .blog-grid, .depoimentos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .depoimentos-stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .pilares-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-destaque-card {
        grid-template-columns: 1fr;
    }
    .blog-destaque-img-wrapper {
        min-height: 260px;
    }
    .blog-cta-diagnostico {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .blog-cta-acoes {
        align-items: center;
        width: 100%;
    }
}

@media (max-width: 680px) {
    .pagina-hero-secao {
        padding: 120px 5% 45px;
    }
    .blog-grid, .depoimentos-grid {
        grid-template-columns: 1fr;
    }
    .depoimentos-stats-bar {
        grid-template-columns: 1fr;
        margin-top: -20px;
    }
    .pilares-grid {
        grid-template-columns: 1fr;
    }
    .controles-secao {
        flex-direction: column;
        align-items: stretch;
    }
    .filtro-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
        flex-wrap: nowrap;
    }
    .btn-filtro {
        white-space: nowrap;
    }
    .busca-wrapper {
        width: 100%;
    }
    .modal-container {
        padding: 24px 18px;
    }
}

/* ==========================================================================
   WIDGET GOOGLE REVIEWS (EMBEDSOCIAL)
   ========================================================================== */
.google-reviews-live-secao,
.google-reviews-home-container {
    width: 100%;
    position: relative;
    z-index: 2;
    min-height: 180px;
}

.embedsocial-hashtag {
    width: 100% !important;
    border-radius: 16px;
    overflow: hidden;
}

/* ==========================================================================
   NOVA SEÇÃO DEPOIMENTOS (CARROSSEL COM CARDS ESCUROS E FAIXA VERMELHA)
   ========================================================================== */
.depoimentos-secao-custom {
    padding: 70px 5% 80px;
    background-color: #f7f9fb;
    background-image: radial-gradient(circle at 50% 30%, rgba(240, 243, 248, 0.8), rgba(230, 235, 242, 0.5));
    position: relative;
    overflow: hidden;
}

.depoimentos-container-custom {
    max-width: 1320px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.depoimentos-header-custom {
    text-align: center;
    margin-bottom: 35px;
}

.depoimentos-titulo-custom {
    font-size: 3rem;
    font-weight: 900;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 6px 0;
    line-height: 1;
    font-family: 'Impact', 'Arial Black', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.depoimentos-traco-vermelho {
    width: 140px;
    height: 10px;
    background-color: #e50914;
    margin: 0 auto;
    clip-path: polygon(14% 0, 100% 0, 86% 100%, 0% 100%);
}

.depoimentos-slider-wrapper {
    position: relative;
    width: 100%;
}

.depoimentos-slides-track {
    position: relative;
    width: 100%;
}

.depoimentos-slide-group {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    animation: fadeInSlide 0.5s ease forwards;
}

.depoimentos-slide-group.active {
    display: grid;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.depoimento-card-item {
    background-color: #18191c;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    min-height: 290px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.depoimento-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}

.depoimento-card-corpo {
    padding: 24px 22px 15px 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.depoimento-card-texto {
    font-size: 0.96rem;
    line-height: 1.5;
    color: #f1f2f4;
    margin: 0 0 18px 0;
    font-weight: 400;
    font-family: inherit;
    text-align: left;
}

.depoimento-card-autor {
    font-size: 1.05rem;
    font-weight: 700;
    font-style: italic;
    color: #ffffff;
    margin: 0;
    text-align: left;
}

.depoimento-card-faixa-wrap {
    width: 100%;
    margin-top: auto;
    padding: 0;
}

.depoimento-estrelas-faixa {
    background-color: #e50914;
    padding: 7px 20px 7px 18px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    clip-path: polygon(0 0, 84% 0, 100% 100%, 0 100%);
    width: 86%;
    border-bottom-left-radius: 14px;
}

.depoimento-estrelas-faixa .estrela {
    color: #ffeb3b;
    font-size: 1.35rem;
    line-height: 1;
    user-select: none;
}

/* Dots de Paginação */
.depoimentos-pagination-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
}

.depoimento-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #8c96a3;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.depoimento-dot:hover {
    transform: scale(1.2);
}

.depoimento-dot.active {
    background-color: #f37021;
    transform: scale(1.15);
}

/* Responsividade */
@media (max-width: 1100px) {
    .depoimentos-slide-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .depoimento-card-item {
        min-height: 260px;
    }
}

@media (max-width: 640px) {
    .depoimentos-slide-group {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .depoimentos-titulo-custom {
        font-size: 2.3rem;
    }
    .depoimentos-secao-custom {
        padding: 50px 4% 60px;
    }
    .depoimento-card-item {
        min-height: auto;
    }
}