/* =============================================
   VARIÁVEIS CSS - UNIFICADAS E ORGANIZADAS
   ============================================= */
:root {
    --primary-color: #a67d00;
    --secondary-color: #a67d00;
    --dark-color: #14213d;
    --light-color: #f8f9fa;
    --accent-color: #a67d00;
    --transition: all 0.3s ease;
    --gold: #C4A86F;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-text: #333333;
    --dark-blue: #a67d00;
}

/* =============================================
   NAVBAR RESPONSIVA
   ============================================= */
.custom-navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 1rem;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

/* Container principal da navbar */
.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* Logo responsiva */
.logo-container {
    position: relative;
    height: 60px;
    width: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo-img {
    height: 180px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
    max-width: 100%;
}

.navbar.scrolled .logo-img {
    height: 120px;
}

.custom-navbar .navbar-brand {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 1.6rem;
    display: flex;
    align-items: center;
}

.custom-navbar .navbar-brand span {
    color: var(--primary-color);
}

/* Botão hamburguer personalizado */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
    background: transparent;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(166, 125, 0, 0.3);
    outline: none;
}

/* Ícones do hamburguer animados */
.navbar-toggler-icon {
    width: 25px;
    height: 2px;
    background-color: var(--dark-color);
    position: relative;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: var(--dark-color);
    left: 0;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

/* Animação do hamburguer para X */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Menu colapsável */
.navbar-collapse {
    flex-grow: 0;
}

/* Itens do menu */
.custom-navbar .navbar-nav {
    align-items: center;
    gap: 0.5rem;
}

.custom-navbar .nav-item {
    margin: 0;
}

.custom-navbar .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.8rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.custom-navbar .nav-link i {
    margin-right: 8px;
    font-size: 1.1rem;
    transition: var(--transition);
    min-width: 20px;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(166, 125, 0, 0.1);
}

.custom-navbar .nav-link:hover i,
.custom-navbar .nav-link.active i {
    color: var(--secondary-color);
    transform: scale(1.2);
}

/* Efeito de sublinhado animado */
.custom-navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 5px;
    left: 50%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    transition: var(--transition);
    transform: translateX(-50%);
}

.custom-navbar .nav-link:hover::after,
.custom-navbar .nav-link.active::after {
    width: 70%;
}

/* Ícone especial para o blog */
.custom-navbar .nav-link[href="blog.html"] i {
    color: var(--secondary-color);
}

/* Botão WhatsApp desktop */
.whatsapp-desktop {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

/* =============================================
   RESPONSIVIDADE NAVBAR
   ============================================= */

/* Tablet */
@media (max-width: 991.98px) {
    .custom-navbar .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 5rem 2rem 2rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .custom-navbar .navbar-collapse.show {
        transform: translateX(0);
    }
    
    .custom-navbar .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }
    
    .custom-navbar .nav-item {
        width: 100%;
        margin: 0.2rem 0;
    }
    
    .custom-navbar .nav-link {
        padding: 1rem 1.5rem !important;
        font-size: 1.1rem;
        border-radius: 12px;
        width: 100%;
        justify-content: flex-start;
    }
    
    .custom-navbar .nav-link i {
        font-size: 1.2rem;
        min-width: 25px;
    }
    
    .custom-navbar .nav-link::after {
        display: none;
    }
    
    .whatsapp-desktop {
        display: none;
    }
    
    .logo-container {
        width: 180px;
    }
    
    .logo-img {
        height: 160px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .custom-navbar {
        padding: 0.6rem 1rem;
    }
    
    .logo-container {
        width: 150px;
        height: 50px;
    }
    
    .logo-img {
        height: 140px;
    }
    
    .custom-navbar .nav-link {
        padding: 0.9rem 1.2rem !important;
        font-size: 1rem;
    }
    
    .navbar-brand span {
        font-size: 0.9rem;
    }
}

/* Mobile pequeno */
@media (max-width: 575.98px) {
    .logo-container {
        width: 130px;
    }
    
    .logo-img {
        height: 120px;
    }
    
    .navbar-brand span {
        font-size: 0.8rem;
    }
    
    .custom-navbar .navbar-collapse {
        padding: 4rem 1.5rem 1.5rem;
    }
}

/* Ajuste para quando a navbar scrollar */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(15px);
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.navbar.scrolled .logo-img {
    height: 120px;
}

/* Overlay para mobile */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.mobile-overlay.show {
    display: block;
}

/* =============================================
   HERO SECTION - SLIDESHOW RESPONSIVO
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px; /* Compensa a navbar fixa */
}

/* Container do slider - DESKTOP: múltiplas imagens lado a lado */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    height: 100%;
    width: 80%; /* Largura reduzida para desktop */
    animation: slideLeft 40s linear infinite;
    will-change: transform;
    z-index: 1;
}

/* Configuração dos slides - DESKTOP: 4 imagens visíveis */
.slide {
    flex: 0 0 25%; /* Cada slide ocupa 25% do container (4 imagens visíveis no desktop) */
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Overlay para melhor legibilidade */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(166,125,0,0.7), rgba(166,125,0,0.7));
    z-index: 1;
}

/* Imagens originais + duplicadas para efeito contínuo */
.slide1 { background-image: url('../assets/images/DSC00424.JPG'); }
.slide2 { background-image: url('../assets/images/DSC00405.JPG'); }
.slide3 { background-image: url('../assets/images/DSC00421.JPG'); }
.slide4 { background-image: url('../assets/images/DSC00407.JPG'); }
.slide5 { background-image: url('../assets/images/DSC00378.JPG'); }
.slide6 { background-image: url('../assets/images/DSC00405.JPG'); }
.slide7 { background-image: url('../assets/images/DSC00405.JPG'); }

/* Animação do slider - movimento contínuo horizontal */
@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.33%); /* Movimento proporcional à largura */
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* =============================================
   CORREÇÃO PARA MOBILE - SLIDESHOW UMA IMAGEM POR VEZ
   ============================================= */

/* Mobile - Modifica completamente o comportamento do slider */
@media (max-width: 767.98px) {
    .hero {
        height: 70vh;
        min-height: 500px;
        padding-top: 70px;
    }
    
    /* MUDANÇA PRINCIPAL: Slider ocupa 100% e mostra UMA imagem por vez */
    .hero-slider {
        width: 700%; /* 7 imagens × 100% cada = 700% de largura total */
        animation: slideMobile 35s linear infinite;
    }
    
    /* MUDANÇA PRINCIPAL: Cada slide ocupa 100% da viewport */
    .slide {
        flex: 0 0 14.2857%; /* 100% ÷ 7 imagens = 14.2857% cada */
    }
    
    /* Nova animação para mobile - transição mais suave entre imagens */
    @keyframes slideMobile {
        0% {
            transform: translateX(0);
        }
        14.2857% {
            transform: translateX(0);
        }
        28.5714% {
            transform: translateX(-14.2857%);
        }
        42.8571% {
            transform: translateX(-28.5714%);
        }
        57.1428% {
            transform: translateX(-42.8571%);
        }
        71.4285% {
            transform: translateX(-57.1428%);
        }
        85.7142% {
            transform: translateX(-71.4285%);
        }
        100% {
            transform: translateX(-85.7142%);
        }
    }
    
    /* Ajuste do overlay para mobile */
    .slide::before {
        background: linear-gradient(rgba(166,125,0,0.8), rgba(166,125,0,0.7));
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
}

/* Mobile pequeno - ajustes adicionais */
@media (max-width: 575.98px) {
    .hero {
        height: 60vh;
        min-height: 450px;
    }
    
    .hero-slider {
        animation-duration: 30s; /* Mais lento para melhor visualização */
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-gold,
    .btn-outline-light {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Desktop - Ajuste fino para telas largas */
@media (min-width: 1024px) {
    .hero {
        padding: 30vh 0;
    }
}

/* Ajuste para quando a animação estiver pausada (acessibilidade) */
@media (prefers-reduced-motion: reduce) {
    .hero-slider {
        animation: none;
    }
}

/* Melhorias de performance */
.hero-slider {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.slide {
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

/* =============================================
   BOTÕES E COMPONENTES GERAIS
   ============================================= */
.btn-gold {
    background-color: var(--gold);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-gold:hover {
    background-color: #B5955D;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: white;
}

/* Sections */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-family: 'Playfair Display', serif;
    color: var(--dark-blue);
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--gold);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Sobre Section */
#sobre {
    background-color: var(--light-gray);
    text-align: justify;
}

/* Service Boxes - Versão Atualizada */
.service-box {
    background: white;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-box:hover {
    border-color: var(--gold);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transform: translateY(-10px);
}

.service-box h3 {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.service-box h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--gold);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.service-box p {
    color: var(--dark-text);
    opacity: 0.9;
    margin-bottom: 20px;
}

.service-icon {
    color: var(--gold);
    font-size: 2.5rem;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.service-box:hover .service-icon {
    transform: scale(1.1);
}

.service-features {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
    padding-left: 0;
}

.service-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    list-style: none;
}

.service-features i {
    position: absolute;
    left: 5px;
    top: 4px;
    color: var(--gold);
}

/* Responsividade */
@media (max-width: 767.98px) {
    .service-box {
        margin-bottom: 20px;
    }
}

/* Ajuste para alinhamento dos títulos */
@media (min-width: 768px) {
    .service-box h3 {
        min-height: 60px;
        /* Garante alinhamento mesmo com textos diferentes */
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }
}

/* Responsividade */
@media (max-width: 992px) {
    #sobre .row {
        flex-direction: column;
    }
    #sobre .col-lg-5 {
        margin-bottom: 40px;
        text-align: center !important;
    }
    .service-box {
        margin-bottom: 20px;
    }
}

/* Adicione ao seu arquivo CSS */
.btn-outline-dark-blue {
    color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-outline-dark-blue:hover {
    color: white;
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

/* Contact */
.contact-info {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info i {
    color: var(--gold);
    font-size: 1.2rem;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}


/* =============================================
   INSTAGRAM FEED - ESTILOS OTIMIZADOS v4.0
   ============================================= */

/* Variáveis de cores JMH */
:root {
    --jmh-gold: #a67d00;
    --jmh-gold-light: rgba(166, 125, 0, 0.1);
    --jmh-gold-medium: rgba(166, 125, 0, 0.7);
    --jmh-dark-blue: #14213d;
    --jmh-light: #f8f9fa;
    --jmh-dark-text: #333333;
    --jmh-medium-gray: #e0e0e0;
}

/* Container principal */
#instagram-container {
    position: relative;
    min-height: 400px;
}

/* Estados de carregamento e erro */
.instagram-loading,
.instagram-error,
.instagram-fallback {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(166, 125, 0, 0.08);
    border: 2px solid var(--jmh-gold-light);
    background: linear-gradient(135deg, white, var(--jmh-gold-light));
}

.instagram-error i {
    color: #dc3545;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(220, 53, 69, 0.2));
}

.instagram-fallback i {
    color: var(--jmh-gold);
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(166, 125, 0, 0.3));
}

/* Container de posts */
.instagram-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Cards de post */
.instagram-post {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.instagram-post-visible {
    opacity: 1;
    transform: translateY(0);
}

.instagram-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(166, 125, 0, 0.08);
    height: 100%;
    border: 2px solid var(--jmh-gold-light);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.instagram-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(166, 125, 0, 0.15);
    border-color: var(--jmh-gold);
}

/* Container de imagem */
.instagram-image-container {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--jmh-gold-light), rgba(166, 125, 0, 0.05));
    aspect-ratio: 1 / 1;
}

.instagram-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    background: linear-gradient(45deg, #f5f5f5, #eeeeee);
}

.instagram-card:hover .instagram-image {
    transform: scale(1.08);
}

/* Overlay com ícone */
.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--jmh-gold-medium), rgba(166, 125, 0, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.instagram-card:hover .instagram-overlay {
    opacity: 1;
}

.instagram-icon {
    color: white;
    font-size: 2.5rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.instagram-icon:hover {
    transform: scale(1.2) rotate(5deg);
    color: white;
}

/* Badge de demonstração */
.instagram-demo-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(45deg, var(--jmh-gold), #8a6900);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(166, 125, 0, 0.4);
    animation: float 3s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-5px) rotate(2deg); 
    }
}

/* Conteúdo do post */
.instagram-content {
    padding: 20px;
    background: linear-gradient(to bottom, white, var(--jmh-light));
}

.instagram-caption {
    color: var(--jmh-dark-text);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.5em;
    font-weight: 500;
}

/* Estatísticas - Curtidas, Comentários, Data */
.instagram-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    padding: 12px 0;
    border-top: 1px solid var(--jmh-gold-light);
    border-bottom: 1px solid var(--jmh-gold-light);
}

.instagram-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1;
    text-align: center;
    transition: all 0.3s ease;
}

.instagram-stat:hover {
    transform: translateY(-2px);
}

.instagram-stat i {
    font-size: 1.1rem;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.instagram-stat:nth-child(1) i {
    color: #e91e63;
    filter: drop-shadow(0 2px 4px rgba(233, 30, 99, 0.2));
}

.instagram-stat:nth-child(2) i {
    color: #2196f3;
    filter: drop-shadow(0 2px 4px rgba(33, 150, 243, 0.2));
}

.instagram-stat:nth-child(3) i {
    color: var(--jmh-gold);
    filter: drop-shadow(0 2px 4px rgba(166, 125, 0, 0.2));
}

.instagram-stat span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--jmh-dark-text);
    line-height: 1.2;
}

/* Link para Instagram */
.instagram-link {
    color: var(--jmh-gold);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    border: 2px solid var(--jmh-gold);
    border-radius: 8px;
    background: transparent;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.instagram-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.instagram-link:hover {
    color: white;
    background: linear-gradient(135deg, var(--jmh-gold), #8a6900);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(166, 125, 0, 0.4);
    border-color: var(--jmh-gold);
}

.instagram-link:hover::before {
    left: 100%;
}

/* Aviso de integração */
.instagram-integration-notice .alert {
    border-radius: 12px;
    border-left: 4px solid var(--jmh-gold);
    margin-top: 30px;
    background: linear-gradient(135deg, #f8f9fa, var(--jmh-gold-light));
    border: 1px solid var(--jmh-gold-light);
    color: var(--jmh-dark-text);
}

.instagram-integration-notice .alert i {
    color: var(--jmh-gold);
}

.instagram-integration-notice .alert strong {
    color: var(--jmh-gold);
}

/* Botões de ação */
.instagram-retry-btn {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--jmh-gold), #8a6900);
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
}

.instagram-retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(166, 125, 0, 0.4);
    background: linear-gradient(135deg, #8a6900, var(--jmh-gold));
    color: white;
}

.btn-outline-gold {
    color: var(--jmh-gold);
    border-color: var(--jmh-gold);
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 8px;
}

.btn-outline-gold:hover {
    color: white;
    background: linear-gradient(135deg, var(--jmh-gold), #8a6900);
    border-color: var(--jmh-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(166, 125, 0, 0.3);
}

.btn-gold {
    background: linear-gradient(135deg, var(--jmh-gold), #8a6900);
    border: none;
    color: white;
    font-weight: 600;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #8a6900, var(--jmh-gold));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(166, 125, 0, 0.4);
}

/* Modal de consentimento */
.instagram-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.consent-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.consent-header {
    text-align: center;
    margin-bottom: 20px;
}

.consent-header i {
    color: var(--jmh-gold);
    margin-bottom: 15px;
}

.consent-features {
    margin: 20px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 0;
}

.consent-actions {
    display: flex;
    gap: 10px;
    margin: 25px 0 15px;
}

.btn-consent {
    flex: 1;
    padding: 12px;
}

.consent-footer {
    text-align: center;
    margin-top: 15px;
}

/* Loading spinner */
.spinner-border.text-gold {
    color: var(--jmh-gold) !important;
}

/* Responsividade */
@media (max-width: 1200px) {
    .instagram-posts-container {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .instagram-posts-container {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 15px;
    }
    
    .instagram-content {
        padding: 15px;
    }
    
    .instagram-stats {
        padding: 10px 0;
        margin: 12px 0;
    }
    
    .instagram-stat i {
        font-size: 1rem;
    }
    
    .instagram-stat span {
        font-size: 0.8rem;
    }
    
    .instagram-caption {
        -webkit-line-clamp: 2;
        min-height: 3.2em;
    }
}

@media (max-width: 576px) {
    .instagram-posts-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .instagram-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .instagram-stat {
        flex-direction: row;
        justify-content: center;
        gap: 8px;
    }
    
    .instagram-stat span {
        font-size: 0.85rem;
    }
    
    .instagram-caption {
        -webkit-line-clamp: 2;
        min-height: 3em;
        font-size: 0.85rem;
    }
    
    .instagram-link {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    .consent-actions {
        flex-direction: column;
    }
    
    #instagram-container {
        min-height: 300px;
    }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .instagram-card,
    .instagram-image,
    .instagram-overlay,
    .instagram-post,
    .instagram-demo-badge,
    .instagram-link,
    .instagram-stat {
        transition: none;
        animation: none;
    }
    
    .instagram-card:hover {
        transform: none;
    }
    
    .instagram-link:hover {
        transform: none;
    }
    
    .instagram-stat:hover {
        transform: none;
    }
}
/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: 30px 0 20px;
}

.footer h5 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    opacity: 0.9;
}

.footer a {
    color: white;
    opacity: 0.8;
    transition: all 0.3s;
    text-decoration: none;
}

.footer a:hover {
    color: var(--gold);
    opacity: 1;
}

.social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s;
}

.social a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* =============================================
   BOTÃO VOLTAR AO TOPO
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    border: none;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--dark-blue);
    transform: translateY(-3px);
}

/* =============================================
   SEÇÃO DE FEEDBACKS EM VÍDEO - CORRIGIDA
   ============================================= */
.testimonials {
    background-color: var(--light-gray);
    padding: 80px 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.video-testimonials-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* GRID COM 3 COLUNAS FIXAS */
.video-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 COLUNAS FIXAS */
    gap: 30px;
    margin-top: 50px;
    width: 100%;
}

.video-testimonial-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(166, 125, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
    width: 100%;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.video-testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(166, 125, 0, 0.2);
    border-color: var(--gold);
}

/* Container do Vídeo */
.video-container {
    position: relative;
    width: 100%;
    height: 200px; /* ALTURA FIXA */
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-color));
    overflow: hidden;
    flex-shrink: 0;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #1a2a4a, #2d4a7a);
    position: relative;
}

.video-play-button {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 2;
    border: none;
}

.video-play-button:hover {
    background: white;
    transform: scale(1.1);
    color: var(--primary-color);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(166, 125, 0, 0.3), rgba(20, 33, 61, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
}

/* Conteúdo do Card */
.video-testimonial-content {
    padding: 25px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-rating {
    color: #FFC107;
    margin-bottom: 15px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-text {
    color: var(--dark-text);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
    border-left: 3px solid var(--gold);
    flex: 1;
    min-height: 100px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--medium-gray);
    flex-shrink: 0;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--gold);
    box-shadow: 0 4px 12px rgba(166, 125, 0, 0.3);
    flex-shrink: 0;
}

.author-info h5 {
    margin: 0;
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 1.1rem;
}

.author-info span {
    color: var(--dark-text);
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Badge de Destaque */
.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, var(--gold), #8a6900);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(166, 125, 0, 0.4);
}

/* Modal de Vídeo */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 800px;
    width: 100%;
    background: black;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-video {
    width: 100%;
    height: auto;
    display: block;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--gold);
    transform: scale(1.1);
}

/* Indicadores - APENAS 3 */
.testimonial-indicators {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 12px;
}

.testimonial-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--medium-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-indicator.active {
    background: var(--gold);
    transform: scale(1.3);
}

/* Botão CTA */
.testimonial-cta {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(166, 125, 0, 0.1);
    border: 2px solid var(--gold);
}

.cta-title {
    color: var(--dark-blue);
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.cta-subtitle {
    color: var(--dark-text);
    margin-bottom: 25px;
    opacity: 0.8;
    font-size: 1.1rem;
}

/* =============================================
   RESPONSIVIDADE CORRIGIDA
   ============================================= */

/* Tablet */
@media (max-width: 1024px) {
    .video-testimonials-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas no tablet */
        gap: 25px;
    }
    
    .video-testimonials-container {
        padding: 0 15px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .video-testimonials-grid {
        grid-template-columns: 1fr; /* 1 coluna no mobile */
        gap: 20px;
        margin-top: 30px;
    }
    
    .video-container {
        height: 180px;
    }
    
    .video-play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .video-testimonial-content {
        padding: 20px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .testimonial-cta {
        padding: 20px;
        margin-top: 30px;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
}

/* Mobile pequeno */
@media (max-width: 576px) {
    .testimonials {
        padding: 60px 0;
    }
    
    .video-container {
        height: 160px;
    }
    
    .video-testimonial-card {
        min-height: 420px;
    }
    
    .featured-badge {
        top: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    
    .video-testimonials-container {
        padding: 0 10px;
    }
}

/* Loading State */
.video-loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    z-index: 3;
    font-size: 2rem;
}

.video-container.loading .video-loading {
    display: block;
}

.video-container.loading .video-play-button {
    display: none;
}
/* =============================================
   PÁGINA DE BLOG
   ============================================= */
.blog-section {
    background-color: var(--light-gray);
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    margin-bottom: 30px;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-date {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.blog-title {
    font-family: 'Playfair Display', serif;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.read-more {
    color: var(--dark-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* =============================================
   POLÍTICA DE COOKIES
   ============================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    color: #333;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.cookie-banner.show {
    display: block;
    transform: translateY(0);
}

.cookie-banner p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-btn-accept {
    background: var(--dark-blue);
    color: white;
    border: none;
}

.cookie-btn-accept:hover {
    background: #8a6a00;
}

.cookie-btn-reject {
    background: transparent;
    border: 1px solid #ccc;
    color: #333;
}

.cookie-btn-reject:hover {
    background: #f5f5f5;
}

.cookie-btn-settings {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--dark-blue);
}

.cookie-btn-settings:hover {
    background: rgba(196, 168, 111, 0.1);
}

.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
    overflow-y: auto;
}

.cookie-modal-content {
    background: white;
    margin: 50px auto;
    padding: 30px;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.cookie-modal-close {
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
}

.cookie-category {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cookie-category h3 {
    margin-bottom: 10px;
}

.cookie-category-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: var(--dark-blue);
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

/* =============================================
   ESTILOS GERAIS E UTILITÁRIOS
   ============================================= */

/* Breadcrumb para SEO */
.breadcrumb {
    background: transparent;
    padding: 0.75rem 0;
    font-size: 0.85rem;
}

.breadcrumb-item a {
    color: var(--dark-blue);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--dark-text);
}

/* Schema Markup (invisível) */
.schema-markup {
    display: none;
}

/* Novos estilos adicionados */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.animate-on-scroll.animate__animated {
    opacity: 1;
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

.btn-outline-light:hover {
    color: var(--dark-text) !important;
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid var(--medium-gray);
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(196, 168, 111, 0.25);
}

.alert {
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
}

.service-features {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.service-features li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-features i {
    position: absolute;
    left: 0;
    top: 3px;
}

.service-icon {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

/* Chat Widget */
#chat-widget {
    z-index: 999;
}

#chat-widget .card {
    width: 350px;
    display: none;
}

#chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 1rem;
}

#open-chat {
    width: 60px;
    height: 60px;
}

/* =============================================
   BOTÕES WHATSAPP
   ============================================= */

/* Estilos para o botão do WhatsApp */
.whatsapp-btn {
    background-color: #a67d00;
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(166, 125, 0, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.whatsapp-btn:hover {
    background-color: #8a6900;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(166, 125, 0, 0.4);
}

.whatsapp-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(166, 125, 0, 0.4);
}

.whatsapp-btn i {
    font-size: 20px;
    margin-right: 8px;
}

/* Efeito de brilho ao passar o mouse */
.whatsapp-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.whatsapp-btn:hover::after {
    opacity: 1;
    top: -30%;
    left: -30%;
}

/* Animação de pulsar ocasionalmente */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(166, 125, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(166, 125, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(166, 125, 0, 0); }
}

.whatsapp-btn {
    animation: pulse 2s infinite;
}

/* Botão WhatsApp para mobile */
.whatsapp-mobile-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn-mobile {
    width: 60px;
    height: 60px;
    background-color: #a67d00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(166, 125, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-btn-mobile:hover {
    background-color: #8a6900;
    transform: scale(1.1);
}

/* =============================================
   BOT MAJU - CHAT WIDGET
   ============================================= */

/* Estilos para o bot Maju 
#maju-chat-widget {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
}

#open-maju-chat {
    width: 60px;
    height: 60px;
    background-color: var(--gold);
    color: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

#open-maju-chat:hover {
    background-color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#maju-chat-widget .card {
    width: 350px;
    display: none;
    border: 1px solid var(--medium-gray);
}

#maju-chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 1rem;
    background-color: var(--light-gray);
}

.maju-header {
    color: var(--gold) !important;
    font-weight: 600;
}

@media (max-width: 768px) {
    #maju-chat-widget {
        bottom: 90px;
        right: 20px;
    }
    #maju-chat-widget .card {
        width: 300px;
    }
}
*/
/* =============================================
   MODAIS PERSONALIZADOS
   ============================================= */

/* Modal fundo */
.modal-info {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Conteúdo modal */
.modal-content {
    background: white;
    padding: 25px;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    text-align: left;
}

/* Botão fechar */
.close-modal {
    position: absolute;
    top: 12px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

/* Typing dots animation */
.typing-dots span {
    animation: typing 1.4s infinite;
    opacity: 0;
}

.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { opacity: 0; }
    30% { opacity: 1; }
}

/* =============================================
   RESPONSIVIDADE GERAL
   ============================================= */

@media (max-width: 992px) {
    .hero {
        padding: 120px 0 80px;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .section {
        padding: 70px 0;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    .hero {
        padding: 100px 0 60px;
        background-attachment: scroll;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    .hero .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    .hero .d-flex {
        flex-direction: column;
    }
    .section {
        padding: 60px 0;
    }
    .section-title {
        margin-bottom: 40px;
    }
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }
    .contact-info {
        padding: 30px 20px;
    }
    .footer {
        padding: 40px 0 20px;
    }
    .cookie-banner {
        padding: 15px;
    }
    .cookie-buttons {
        flex-direction: column;
    }
    .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 80px 0 50px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .section {
        padding: 50px 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .service-box {
        padding: 20px;
    }
    .testimonial-card {
        padding: 20px;
    }
    .testimonial-card:before {
        font-size: 60px;
    }
    .cookie-modal-content {
        margin: 20px auto;
        padding: 20px;
    }
}