/* ==========================================
   1. RESET GLOBAL & VARIÁVEIS DE COR
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
    background-color: #ffffff;
}

:root {
    --cor-primaria: #ffffff;      
    --cor-secundaria: #111111;    
    --cor-destaque: #D4AF37;      
    --cor-texto: #444444;         
    --cor-fundo: #F8F9FA;         
    
    --fonte-principal: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    font-family: var(--fonte-principal);
    color: var(--cor-texto);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* Quebra automática de textos para evitar vazamentos */
h1, h2, h3, h4, h5, h6, p, a, span, button {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* ==========================================
   2. CABEÇALHO (HEADER) - ESTILOS COMPLETOS
   ========================================== */
.header-principal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    
    /* Animação fluida e suave para virar ilha */
    transition: top 0.4s ease, 
                width 0.4s ease, 
                border-radius 0.4s ease, 
                background-color 0.4s ease, 
                box-shadow 0.4s ease,
                border 0.4s ease,
                padding 0.4s ease;
}

.container-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.4s ease;
}

/* Logo */
.logo-texto {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cor-secundaria, #111111);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: font-size 0.4s ease;
}

/* Links do Menu */
.nav-lista {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--cor-secundaria, #111111);
    font-weight: 500;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--cor-destaque, #D4AF37);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--cor-destaque, #D4AF37);
}

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

/* Botão de Destaque no Header */
.btn-destaque {
    background-color: var(--cor-destaque, #D4AF37);
    color: #111111;
    border: 1px solid var(--cor-destaque, #D4AF37);
    padding: 0.7rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-destaque:hover {
    background-color: transparent;
    color: var(--cor-destaque, #D4AF37);
}

/* MODO ILHA (ATIVADO AO ROLAR NO DESKTOP) */
.header-principal.header-ilha {
    top: 15px;
    width: 900px;
    max-width: 90%;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.header-principal.header-ilha .container-header {
    padding: 0.6rem 2rem;
}

.header-principal.header-ilha .logo-texto {
    font-size: 1.2rem;
}

.header-principal.header-ilha .btn-destaque {
    padding: 0.55rem 1.2rem;
    font-size: 0.8rem;
    border-radius: 30px;
}

/* ==========================================
   3. MENU MOBILE & BOTÃO HAMBÚRGUER
   ========================================== */
.menu-hamburguer {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

.menu-hamburguer .linha {
    width: 100%;
    height: 3px;
    background-color: var(--cor-secundaria);
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Animação do X no hambúrguer */
.menu-hamburguer.ativo .linha:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-hamburguer.ativo .linha:nth-child(2) {
    opacity: 0;
}

.menu-hamburguer.ativo .linha:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 900px) {
    .menu-hamburguer {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    /* Subjanela do Menu no Mobile escondida via GPU (sem vazar a tela) */
    .nav-principal {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--cor-primaria);
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.4s ease-in-out, visibility 0.4s ease-in-out;
        z-index: 1500;
    }

    .nav-lista {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .nav-principal.menu-aberto {
        transform: translateX(0);
        visibility: visible;
    }
}

/* ==========================================
   4. SEÇÃO HERO (PRINCIPAL)
   ========================================== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4rem 1.5rem;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 2;
}

.container-hero {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-titulo {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-descricao {
    font-size: 1.15rem;
    color: #f0f0f0;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-botoes .btn-primario {
    background-color: #caa152;
    color: #111111 !important;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-right: 15px; /*afastar do botão ao lado */
}

.hero-botoes .btn-primario:hover {
    background-color: #b08a3e;
}

.hero-botoes .btn-secundario {
    border: 1px solid #ffffff;
    color: #ffffff !important;
    font-weight: 500;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-botoes .btn-secundario:hover {
    background-color: #ffffff;
    color: #111111 !important;
}

/* ==========================================
   5. ESTILOS GERAIS DE SEÇÃO (TÍTULOS)
   ========================================== */
.secao-cabecalho {
    text-align: center;
    margin-bottom: 3.5rem;
}

.secao-titulo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cor-secundaria);
    margin-bottom: 1rem;
    position: relative;
}

.secao-titulo::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--cor-destaque);
    margin: 1rem auto 0 auto;
}

.secao-subtitulo {
    font-size: 1.1rem;
    color: var(--cor-texto);
}

/* ==========================================
   SEÇÃO SOBRE (DESIGN PREMIUM & ANIMAÇÕES)
   ========================================== */
.sobre-section {
    background-color: #0d0d0d; /* Escuro profundo elegância */
    color: #ffffff;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.container-sobre {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Lado Esquerdo - Imagem & Animação */
.sobre-imagem-container {
    position: relative;
}

.sobre-imagem-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(202, 161, 82, 0.2);
}

.sobre-img-kenburns {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenburns 18s infinite alternate ease-in-out;
}

/* Animação Zoom Lento (Cinema) */
@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}

.sobre-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
}

/* Selo Flutuante Glassmorphism */
.sobre-badge-glass {
    position: absolute;
    bottom: -20px;
    right: -15px;
    background: rgba(22, 22, 22, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(202, 161, 82, 0.4);
    border-radius: 14px;
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    animation: flutuar 4s ease-in-out infinite alternate;
}

@keyframes flutuar {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.badge-icone {
    color: #caa152;
    font-size: 1.5rem;
}

.badge-titulo {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
}

.badge-subtitulo {
    display: block;
    font-size: 0.78rem;
    color: #caa152;
}

/* Lado Direito - Textos e Tipografia */
.sobre-tag {
    color: #caa152;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    display: block;
    margin-bottom: 0.5rem;
}

.sobre-titulo {
    font-size: 2.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.linha-dourada {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #caa152, #f1d38a);
    margin-bottom: 1.8rem;
    border-radius: 2px;
}

.sobre-texto {
    color: #b3b3b3;
    font-size: 0.98rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* Contadores / Métricas */
.sobre-metricas {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.2rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.metrica-item {
    display: flex;
    flex-direction: column;
}

.metrica-numero {
    font-size: 2.2rem;
    font-weight: 800;
    color: #caa152;
    line-height: 1;
}

.metrica-rotulo {
    font-size: 0.82rem;
    color: #888888;
    margin-top: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Responsividade */
@media (max-width: 992px) {
    .container-sobre {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sobre-imagem-wrapper {
        height: 360px;
    }

    .sobre-badge-glass {
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 550px) {
    .sobre-metricas {
        flex-direction: column;
        gap: 1.2rem;
    }
}

/* ==========================================
   7. SEÇÃO DE SERVIÇOS (IMAGEM NO TOPO DO CARD)
   ========================================== */
.servicos-section {
    background-color: var(--cor-primaria);
    padding: 6rem 2rem;
}

.container-servicos {
    max-width: 1200px;
    margin: 0 auto;
}

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

.servico-card {
    background-color: #ffffff;
    border: 1px solid #EBEBEB;
    border-radius: 12px;
    overflow: hidden; /* Corta a imagem no formato arredondado das bordas superiores */
    padding: 0;       /* Garante que a imagem encoste nas bordas do card */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--cor-destaque);
}

/* Região da imagem no topo do card (destacada em vermelho) */
.servico-imagem {
    width: 100%;
    height: 200px; /* Ajuste aqui a altura desejada da imagem do topo */
    overflow: hidden;
    background-color: #f0f0f0;
}

.servico-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a foto preencher a área sem distorcer */
    display: block;
    transition: transform 0.4s ease;
}

.servico-card:hover .servico-imagem img {
    transform: scale(1.05); /* Efeito suave de zoom ao passar o mouse */
}

/* Área de texto do card */
.servico-conteudo {
    padding: 1.8rem 1.5rem;
    text-align: center;
    flex-grow: 1;
}

.servico-titulo {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cor-secundaria);
    margin-bottom: 0.8rem;
}

.servico-descricao {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--cor-texto);
}


/* ==========================================
   8. SEÇÃO DE PROJETOS (COVERFLOW 3D)
   ========================================== */
.projetos-section {
    background-color: var(--cor-fundo, #f9f9f9);
    padding: 5rem 1rem;
    overflow: hidden;
}

.coverflow-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 2rem auto 0;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galeria-coverflow {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.projeto-item {
    position: absolute;
    width: 260px;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.5s ease, 
                filter 0.5s ease;
    cursor: pointer;
    user-select: none;
    background-color: #000;
}

.projeto-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.tag-logo {
    font-weight: 800;
    font-size: 0.85rem;
    background: #000;
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #333;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.1);
    background-color: #f0f0f0;
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

/* ==========================================
   SEÇÃO DE DEPOIMENTOS (TEMA ESCURO - PREMIUM)
   ========================================== */
.depoimentos-section {
    background: linear-gradient(180deg, #0f0f0f 0%, #181818 100%); /* Fundo escuro para destaque */
    padding: 6rem 2rem;
    overflow: hidden;
}

/* Ajuste das cores do título da seção para o fundo escuro */
.depoimentos-section .secao-titulo {
    color: #ffffff;
}

.depoimentos-section .secao-subtitulo {
    color: #a0a0a0;
}

.container-depoimentos {
    max-width: 1200px;
    margin: 0 auto;
}

.depoimentos-carrossel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0 2rem;
    cursor: grab;
}

.depoimentos-carrossel-wrapper:active {
    cursor: grabbing;
}

.depoimentos-track {
    display: flex;
    gap: 1.8rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Cards em tom grafite/preto com borda dourada suave */
.depoimento-card {
    min-width: calc(33.333% - 1.2rem);
    box-sizing: border-box;
    background-color: #1e1e1e;
    border: 1px solid rgba(202, 161, 82, 0.25); /* Borda dourada discreta */
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    user-select: none;
}

.depoimento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(202, 161, 82, 0.18);
    border-color: rgba(202, 161, 82, 0.6); /* Brilho dourado mais forte no hover */
}

.depoimento-estrelas {
    color: #caa152; /* Dourado vibrante */
    font-size: 1.15rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.depoimento-texto {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #e0e0e0; /* Texto claro de alta legibilidade */
    font-style: italic;
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.depoimento-autor {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08); /* Linha divisória sutil */
    padding-top: 1.2rem;
}

.autor-avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #caa152 0%, #b08a3e 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(202, 161, 82, 0.35);
}

.autor-info {
    display: flex;
    flex-direction: column;
}

.autor-nome {
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff; /* Nome em branco puro */
    margin: 0;
}

.autor-local {
    font-size: 0.82rem;
    color: #caa152; /* Subtítulo do autor em dourado */
    margin-top: 2px;
}

/* Indicadores de Pontos (Dots) */
.depoimentos-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #333333; /* Pontos inativos em cinza escuro */
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #caa152;
    width: 28px;
    border-radius: 10px;
}

/* Adaptabilidade Responsiva */
@media (max-width: 992px) {
    .depoimento-card {
        min-width: calc(50% - 0.9rem);
    }
}

@media (max-width: 650px) {
    .depoimento-card {
        min-width: 100%;
    }
}

/* ==========================================
   9. SEÇÃO DE DIFERENCIAIS (DESIGN PREMIUM)
   ========================================== */
.diferenciais-section {
    background: linear-gradient(180deg, #F9F9F9 0%, #FFFFFF 100%);
    padding: 6rem 2rem;
}

.container-diferenciais {
    max-width: 1140px;
    margin: 0 auto;
}

.diferenciais-lista {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.diferencial-item {
    background-color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.22); /* Borda dourada sutil */
    border-radius: 16px;
    padding: 1.8rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.35s ease, 
                border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* Detalhe Dourado no topo do Card */
.diferencial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #caa152 0%, #f1d38a 50%, #caa152 100%);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

/* Efeito Hover do Card */
.diferencial-item:hover {
    transform: translateY(-7px);
    border-color: var(--cor-destaque, #D4AF37);
    box-shadow: 0 18px 35px rgba(212, 175, 55, 0.12), 0 8px 20px rgba(0, 0, 0, 0.04);
}

.diferencial-item:hover::before {
    opacity: 1;
}

/* Círculo do Ícone em Gradiente Dourado */
.diferencial-icone {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, #caa152 0%, #b08a3e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(202, 161, 82, 0.3);
    transition: transform 0.3s ease;
}

.diferencial-item:hover .diferencial-icone {
    transform: scale(1.08) rotate(4deg);
}

.diferencial-icone svg {
    width: 22px;
    height: 22px;
    stroke-width: 2.5;
}

/* Textos dentro do Card */
.diferencial-conteudo {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.diferencial-titulo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cor-secundaria, #111111);
    letter-spacing: -0.2px;
}

.diferencial-descricao {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #666666;
}

/* ==========================================
   10. SEÇÃO FAQ (PERGUNTAS FREQUENTES)
   ========================================== */
.faq-section {
    padding: 5rem 1.5rem;
    background-color: var(--cor-fundo, #f9f9f9);
}

.container-faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-lista {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.ativo {
    border-color: var(--cor-destaque, #25d366);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.faq-pergunta {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--cor-texto, #333333);
    text-align: left;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-pergunta:hover {
    color: var(--cor-destaque, #25d366);
}

.faq-icone {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.faq-item.ativo .faq-icone {
    transform: rotate(45deg);
}

.faq-resposta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-resposta p {
    color: #666666;
    line-height: 1.6;
    font-size: 0.95rem;
    padding-bottom: 1.25rem;
}

/* ==========================================
   11. SEÇÃO CTA
   ========================================== */
.cta-section {
    background-color: #111111;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #222222;
}

.container-cta {
    max-width: 700px;
    margin: 0 auto;
}

.cta-titulo {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.cta-descricao {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-block;
    width: 100%;
    max-width: 380px;
    background-color: #caa152;
    color: #000000 !important;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 24px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(202, 161, 82, 0.2);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.btn-cta:hover {
    background-color: #b08a3e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(202, 161, 82, 0.3);
}

/* ==========================================
   12. RODAPÉ (FOOTER)
   ========================================== */
.footer {
    background-color: #0a0a0a;
    color: #ffffff;
    padding: 50px 20px 20px 20px;
    text-align: center;
}

.container-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: 6px;
    font-weight: 800;
}

.footer-subtext {
    color: #caa152;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.footer-cidade {
    color: #888888;
    font-size: 0.8rem;
}

.footer-titulo-menu {
    font-size: 1rem;
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
}

.footer-titulo-menu::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: #caa152;
    margin: 6px auto 0 auto;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-menu a:hover {
    color: #ffffff;
}

.footer-copy {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
    color: #666666;
    font-size: 0.75rem;
}

/* ==========================================
   13. ANIMAÇÕES DE ENTRADA & BOTÃO WHATSAPP
   ========================================== */
.animar-surgir {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.animar-surgir.mostrar {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-btn {
    position: fixed !important;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease, background-color 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================
   14. AJUSTES PARA DESKTOP (Acima de 769px)
   ========================================== */
@media (min-width: 769px) {
    .footer {
        text-align: left;
        padding: 60px 40px 30px 40px;
    }

    .container-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
        max-width: 1200px;
    }

    .footer-titulo-menu {
        display: block;
    }

    .footer-titulo-menu::after {
        margin: 6px 0 0 0;
    }

    .footer-copy {
        text-align: center;
        margin-top: 50px;
    }
}

/* ==========================================
   15. AJUSTES RESPONSIVOS MOBILE (Até 768px)
   ========================================== */
@media (max-width: 768px) {
    
    /* HEADER NO CELULAR - Estado Normal (Top da página: Colado de ponta a ponta) */
    .header-principal {
        width: 100% !important;
        max-width: 100% !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    /* HEADER NO CELULAR - Estado Ilha (Flutua bonitinho quando rola) */
    .header-principal.header-ilha {
        top: 10px !important;
        width: 92% !important;
        max-width: 92% !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto !important;
        border-radius: 30px !important;
        background-color: rgba(255, 255, 255, 0.94) !important;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    }

    .container-header {
        padding: 0.8rem 1.2rem !important;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }

    .hero-section {
        padding: 90px 20px 60px 20px;
        min-height: 85vh;
        display: flex;
        align-items: center;
    }

    .container-hero {
        width: 100%;
        padding: 0;
    }

    .hero-titulo {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 14px;
        font-weight: 700;
    }

    .hero-descricao {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 28px;
        color: rgba(255, 255, 255, 0.9);
    }

    .hero-botoes {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .hero-botoes .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.85rem;
        font-weight: 600;
        letter-spacing: 0.5px;
        border-radius: 6px;
        text-align: center;
        box-sizing: border-box;
    }

    .hero-botoes .btn-secundario {
        background-color: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.5);
    }
    
    .sobre-section,
    .servicos-section,
    .projetos-section,
    .diferenciais-section {
        padding: 4rem 1.5rem;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .secao-titulo {
        font-size: 2rem;
    }

    /* COMPACTAÇÃO DA SEÇÃO CTA */
    .cta-section {
        padding: 3rem 1.2rem !important;
    }

    .cta-titulo {
        font-size: 1.6rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1rem !important;
    }

    .cta-descricao {
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
        padding: 0 0.5rem;
    }

    .btn-cta {
        display: block !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        padding: 0.85rem 1rem !important;
        font-size: 0.8rem !important;
    }

    /* CENTRALIZAÇÃO DO RODAPÉ */
    footer, .footer {
        text-align: center !important;
        padding: 2.5rem 1.2rem 1.5rem !important;
    }

    .container-footer {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2rem !important;
    }

    /* TRAVA DEFINITIVA DE LARGURA */
    section, 
    footer, 
    .cta-section, 
    .container, 
    .hero-section {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Responsividade para Tablets e Telemóveis seção diferenciais */
@media (max-width: 992px) {
    .diferenciais-lista {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .diferenciais-lista {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .diferencial-item {
        padding: 1.5rem 1.2rem;
    }
}