/*  ==========================================
    SERRALHERIA GOMES - CUSTOM STYLES
    Desenvolvido por: DBSolutions Lab
    ==========================================*/

/*  ==========================================
    1. VARIÁVEIS CSS (Custom Properties)
    ==========================================*/

:root {
    /* Cores Principais */
    --primary-black: #1a1a1a;
    --primary-dark: #2c2c2c;
    --secondary-yellow: #ffc107;
    --accent-green: #25d366;
    --color-accent: #ffc107;

    /* Cores Neutras */
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;

    /* Cores de Status */
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;

    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);

    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

/*  ==========================================
    2. RESET E BASE
    ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family:
        "Poppins",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    line-height: 1.6;
    color: var(--primary-dark);
    overflow-x: hidden;
}

/* ==========================================
   3. TIPOGRAFIA
   ========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--secondary-yellow);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-black);
}

/* ==========================================
   4. HERO SECTION
   ========================================== */
.hero {
    position: relative;
    background: linear-gradient(135deg,
            #000000,
            var(--primary-dark) 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Efeito de padrão de fundo */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(45deg,
            transparent,
            transparent 35px,
            rgba(255, 255, 255, 0.02) 70px,
            rgba(255, 255, 255, 0.02) 120px);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .lead {
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================
   5. CARDS COM HOVER EFFECTS
   ========================================== */
.card {
    border: none;
    border-radius: 12px;
    transition: var(--transition-normal);
    overflow: hidden;
}

.card-body {
    padding: 2rem;
}

.card .fas,
.card .fab {
    transition: var(--transition-normal);
}

/* ==========================================
   6. WHATSAPP BUTTON FLUTUANTE
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: var(--accent-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition-normal);
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #128c7e;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

/* Animação de pulso */
.whatsapp-float::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse-whatsapp 2s infinite;
    z-index: -1;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* ==========================================
   7. FORMULÁRIO ESTILIZADO
   ========================================== */
.form-control,
.form-select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--secondary-yellow);
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

/* Placeholder customizado */
.form-control::placeholder {
    color: #adb5bd;
    font-style: italic;
}

/* ==========================================
   8. NAVBAR CUSTOMIZADA
   ========================================== */
.navbar {
    background-color: var(--primary-black);
    background-image: linear-gradient(135deg, #000000, #1a1a1a);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    
}

.navbar-brand {
    color: var(--secondary-yellow);
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.navbar-brand:hover {
    color: #fbe78d;
    transform: scale(1.05);
}

/* Botão hamburguer mais claro */
.navbar-toggler {
    border-color: var(--secondary-yellow);
}

.navbar-toggler-icon {
    filter: brightness(3) invert(1);
    /* Torna o ícone branco */
}

.nav-link {
    color: #ffffc2;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link.active {
    color: var(--secondary-yellow) !important;
}

.nav-link:hover {
    color: var(--secondary-yellow) !important;
}

/* Efeito underline nos links */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-yellow);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

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

/* ==========================================
   9. FOOTER
   ========================================== */
.footer {
    background-color: var(--primary-black);
    background-image: linear-gradient(135deg, #000000, #1a1a1a);
    padding: 0;
    margin-top: 3px;
    color: #ffffff;
    font-size: 13px;
    border-top: 5px solid var(--color-accent);
}

.footer__content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 110px 12px 40px; /* Mais espaço à direita para botões flutuantes */
    flex-wrap: wrap;
}

.left {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding-left: 40px;
}

.right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.footer__text {
    margin: 0;
    line-height: 1.5;
}

.footer__item {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
}

.footer__item:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer__version {
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: #aaaaaa;
}

.footer__tagline {
    margin-top: 0.3rem;
    font-size: 0.75rem;
    color: #c7c7c7;
    line-height: 1.4;
}

.footer__byline {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: #666666;
}

.footer__byline-link {
    text-decoration: none;
    color: var(--secondary-yellow);
}

.footer__byline-link:hover {
    text-decoration: none;
    color: var(--secondary-yellow);
}

.footer__built {
    margin-top: 0.5rem;
    color: #aaaaaa;
}

.footer__sup {
    font-size: 0.65em;
    vertical-align: super;
    margin-left: 0.2rem;
    letter-spacing: 0.04em;
}

.footer__info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.logo {
    height: auto;
    max-height: 150px;
    max-width: 100%;
    transition: transform 0.5s ease-in-out, filter 0.5s ease-in-out;
}

.logo:hover {
    transform: scale(1.5);
    filter: brightness(1.1) drop-shadow(16px 16px 20px red);
}

/* ==========================================
   10. BOTÕES CUSTOMIZADOS
   ========================================== */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition-normal);
    border: none;
    letter-spacing: 0.3px;
}

.btn-warning {
    background: linear-gradient(135deg, #ffd740, #ffc107);
    color: var(--primary-black);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.35);
}

.btn-warning i {
    color: var(--primary-black) !important;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #ffe066, #ffd740);
    color: var(--primary-black);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, #25d366, #128c7e);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #2de070, #25d366);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-dark {
    background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-dark:hover {
    background: linear-gradient(135deg, #444, #2c2c2c);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.btn-outline-dark {
    border: 2px solid var(--primary-black) !important;
    color: var(--primary-black);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--primary-black);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   11. SOCIAL PROOF SECTION
   ========================================== */
.bg-warning {
    background: var(--secondary-yellow) !important;
}

.bg-warning h3,
.bg-warning p,
.bg-warning i {
    color: var(--primary-black);
}

/* Exceção: ícones dentro de botões mantém a cor original */
.bg-warning .btn i {
    color: inherit;
}

/* ==========================================
   12. MAPA CUSTOMIZADO
   ========================================== */
.map-container {
    position: relative;
    border: 4px solid var(--secondary-yellow);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.map-container iframe {
    display: block;
}

/* ==========================================
   12.1. IMAGENS DE SERVIÇOS
   ========================================== */
.servico-img-primary {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
    border: 4px solid var(--secondary-yellow);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.servico-img-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.servico-img-secondary {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
    border: 3px solid var(--secondary-yellow);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.servico-img-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* ==========================================
   13. BORDER E ROUNDED
   ========================================== */
.border {
    border: 2px solid #e0e0e0 !important;
}

.rounded {
    border-radius: 12px !important;
}

/* ==========================================
   13. LOADING STATES
   ========================================== */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==========================================
   14. RESPONSIVIDADE (Mobile-First)
   ========================================== */

/* Hover effects somente em dispositivos com mouse */
@media (hover: hover) and (pointer: fine) {
    .card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

    .card:hover .fas,
    .card:hover .fab {
        transform: scale(1.1);
        color: var(--secondary-yellow);
    }

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

    .portfolio-item:hover {
        box-shadow: var(--shadow-lg) !important;
    }

    .map-container:hover {
        box-shadow: 0 15px 40px rgba(255, 193, 7, 0.3);
        transform: translateY(-3px);
    }

    .btn-warning:hover {
        transform: translateY(-2px);
    }

    .btn-success:hover {
        transform: translateY(-2px);
    }

    .btn-dark:hover {
        transform: translateY(-2px);
    }
}

/* Touch: desabilitar transforms de hover */
@media (hover: none) {
    .card:hover {
        transform: none;
    }

    .map-container:hover {
        transform: none;
    }

    .card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* Barra CTA fixa no mobile */
.mobile-cta-bar {
    display: none;
}

/* Tablets e menores */
@media (max-width: 991px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .display-4 {
        font-size: 2.25rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .hero {
        min-height: 50vh;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.75rem;
    }

    /* Reduzir padding vertical das secoes */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .display-4 {
        font-size: 1.75rem;
    }

    .display-5 {
        font-size: 1.5rem;
    }

    .hero {
        min-height: auto;
        text-align: center;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

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

    /* Hero: imagem menor no mobile */
    .hero .img-fluid {
        max-height: 250px;
        object-fit: cover;
        border-radius: 8px;
    }

    .btn-lg {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
        min-height: 48px;
    }

    /* Touch target minimo 44px */
    .btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 80px;
        right: 16px;
        font-size: 1.75rem;
    }

    .card {
        margin-bottom: 1rem;
    }

    /* Botoes empilhados no mobile */
    .d-flex.gap-3 {
        justify-content: center !important;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem !important;
    }

    .d-flex.gap-3 .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero .d-flex {
        justify-content: center;
    }

    .card .btn {
        width: 100%;
    }

    .text-center.p-4 {
        padding: 1.25rem !important;
    }

    .form-control,
    .form-select {
        font-size: 16px;
        min-height: 48px;
    }

    /* Navbar mobile */
    .navbar-collapse {
        text-align: center;
        margin-top: 0.75rem;
        padding-bottom: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar-nav {
        align-items: center;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
    }

    .navbar-toggler {
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
    }

    /* Mapa mobile */
    .map-container {
        margin-top: 1.5rem;
        border-width: 3px;
    }

    .map-container iframe {
        height: 300px !important;
    }

    /* Imagens de serviços mobile */
    .servico-img-primary {
        max-height: 280px;
        border-width: 3px;
    }

    .servico-img-secondary {
        max-height: 160px;
        border-width: 2px;
    }

    /* Secao padding mobile */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    }

    /* Servicos: esconder 2a imagem no mobile */
    .servico-img-secondary {
        display: none;
    }

    /* Social proof: 2 colunas no mobile */
    .social-proof-item {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Barra CTA fixa inferior */
    .mobile-cta-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1050;
        background: var(--primary-black);
        padding: 0;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    }

    .mobile-cta-bar a {
        flex: 1;
        text-align: center;
        padding: 14px 8px;
        color: #fff;
        font-weight: 600;
        font-size: 0.85rem;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .mobile-cta-bar .cta-whatsapp {
        background: var(--accent-green);
    }

    .mobile-cta-bar .cta-orcamento {
        background: var(--secondary-yellow);
        color: var(--primary-black);
    }

    .mobile-cta-bar .cta-telefone {
        background: var(--primary-dark);
    }

    /* Espaco inferior para nao sobrepor conteudo */
    body {
        padding-bottom: 56px;
    }

    /* Footer: simplificado e empilhado */
    .footer__content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px 20px 70px !important;
        margin: 0;
    }

    .footer__info {
        align-items: center;
    }

    .left {
        padding-left: 0;
        display: none;
    }

    .footer__byline {
        margin-top: 0.25rem;
    }

    .footer__built {
        margin-top: 0.25rem;
    }
}

/* Mobile small */
@media (max-width: 575px) {
    html {
        font-size: 15px;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .display-4 {
        font-size: 1.5rem;
    }

    .display-5 {
        font-size: 1.35rem;
    }

    .btn-lg {
        padding: 0.875rem 1rem;
        width: 100%;
    }

    .hero {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .hero .img-fluid {
        max-height: 200px;
    }

    .map-container {
        border-width: 2px;
        border-radius: 8px;
    }

    .map-container iframe {
        height: 250px !important;
    }

    /* Imagens de serviços mobile small */
    .servico-img-primary {
        max-height: 220px;
        border-width: 2px;
        border-radius: 8px;
    }

    .servico-img-secondary {
        max-height: 140px;
        border-width: 2px;
        border-radius: 8px;
    }

    .display-6 {
        font-size: 1.75rem;
    }

    .lead {
        font-size: 0.95rem;
    }

    /* Card padding menor */
    .card-body {
        padding: 1.25rem;
    }
}

/* ==========================================
   15. UTILITÁRIOS
   ========================================== */

/* Text shadow para títulos */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* Animação de fade-in */
.fade-in {
    animation: fadeIn var(--transition-slow);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scroll offset (navbar fixa) */
section {
    scroll-margin-top: 70px;
}

/* Cards com destaque amarelo no topo */
.card-accent {
    border-top: 4px solid var(--secondary-yellow) !important;
}

.section_color {
    background-color: var(--primary-dark);
    background-image: linear-gradient(135deg, #0c0c0c, #1a1a1a);
}

.section_color h1,
.section_color h2,
.section_color h3,
.section_color p {
    color: #fff;
}

/* ==========================================
   16. SCROLL TO TOP BUTTON
   ========================================== */
.scroll-to-top {
    position: fixed;
    bottom: 110px;
    right: 25px;
    width: 45px;
    height: 45px;
    background: var(--primary-black);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-yellow);
    color: var(--primary-black);
    transform: translateY(-5px);
}

@media (max-width: 767px) {
    .scroll-to-top {
        bottom: 90px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ==========================================
   17. NAVBAR SCROLLED STATE
   ========================================== */
.navbar-scrolled {
    box-shadow: var(--shadow-lg) !important;
}

.subtitulo {
    color: var(--primary-black);
}

/* ==========================================
   18. PORTFOLIO / GALERIA
   ========================================== */
.portfolio-item {
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    border: 4px solid var(--secondary-yellow);
    border-radius: 8px;
}

.portfolio-item img {
    transition: var(--transition-slow);
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* ==========================================
   19. PÁGINA GALERIA
   ========================================== */

/* Carrossel */
.carousel-inner {
    background: #111;
    border: 4px solid var(--secondary-yellow);
    border-radius: 12px;
    overflow: hidden;
}

.carousel-img {
    height: 400px;
    object-fit: contain;
}

.carousel-caption {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
}

.carousel-caption h5 {
    color: #fff;
    font-weight: 700;
}

.carousel-caption p {
    color: rgba(255, 255, 255, 0.85);
}

.carousel-indicators [data-bs-target] {
    background-color: var(--secondary-yellow);
}

/* Filtros */
.galeria-filtros {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.galeria-filtro {
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.galeria-filtro.active {
    background: var(--secondary-yellow);
    color: var(--primary-black);
    border-color: var(--secondary-yellow);
}

/* Cards da galeria */
.galeria-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 4px solid var(--secondary-yellow);
    border-radius: 8px;
    transition: box-shadow var(--transition-normal);
}

.galeria-card img {
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: var(--transition-slow);
}

.galeria-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    padding: 2.5rem 0.75rem 0.75rem;
    opacity: 0;
    transition: var(--transition-normal);
}

.galeria-card__label {
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Animacao de filtro */
.galeria-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.galeria-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    position: absolute;
    pointer-events: none;
}

.galeria-item.visible {
    opacity: 1;
    transform: scale(1);
}

/* Hover: desktop only */
@media (hover: hover) and (pointer: fine) {
    .galeria-card:hover img {
        transform: scale(1.08);
    }

    .galeria-card:hover .galeria-card__overlay {
        opacity: 1;
    }

    .galeria-card:hover {
        box-shadow: 0 4px 16px rgba(255, 193, 7, 0.3);
    }
}

/* Touch: overlay sempre visivel */
@media (hover: none) {
    .galeria-card__overlay {
        opacity: 1;
    }
}

/* Responsivo galeria */
@media (max-width: 767px) {
    .carousel-img {
        height: 220px;
    }

    .galeria-filtro {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .galeria-card__label {
        font-size: 0.75rem;
    }
}

@media (max-width: 575px) {
    .carousel-img {
        height: 180px;
    }
}
