/* WF Contabilidade Estratégica - style.css */

/* 1. Variáveis CSS para Cores */
:root {
    --color-primary-dark: #0f3460;
    --color-primary-blue: #1e40af;
    --color-red-danger: #dc2626;
    --color-blue-darker: #1e3a8a;
    --color-blue-light: #1d4ed8;
    --color-green-success: #10b981;
    --color-green-dark: #047857;
    --color-gray-text: #4b5563;
    --color-gray-light: #6b7280;
    --color-gray-border: #e5e7eb;
    --color-gray-bg-light: #f9fafb;
    --color-green-tagline-bg: #ecfdf5;
    --color-blue-icon-bg: #bfdbfe;
    --color-black: #000000;
    --color-white: #ffffff;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--color-white);
    color: var(--color-gray-text);
}

a {
    text-decoration: none;
    color: inherit;
}

header.scrolled {
    background-color: #ffffff;
    box-shadow: none;
    border-bottom: none;
}
/* =========================================
   HEADER - DESKTOP E MOBILE (VERSÃO FINAL)
   ========================================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.5s;
    background-color: #ffffff;
    backdrop-filter: blur(10px);
}

.header-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.header-logo-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* ========== MENU DESKTOP ========== */
.header-nav {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-left: auto;
}

.header-nav a {
    color: #0f3460;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.header-nav a:hover {
    color: #1e40af;
}

/* ========== BOTÃO HAMBÚRGUER ========== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 51;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn .bar {
    width: 24px;
    height: 2.5px;
    background-color: #0f3460;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ========== OVERLAY ========== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 35;
}

.mobile-menu-overlay.active {
    display: block;
}

/* =========================================
   DESKTOP (min-width: 768px)
   ========================================= */

@media (min-width: 768px) {
    .header-nav {
        display: flex !important;
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
    
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* =========================================
   MOBILE (max-width: 767px)
   ========================================= */

@media (max-width: 767px) {
    .header-content {
        height: 50px;
        padding: 0 16px;
    }

    .header-logo {
        height: 36px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-nav {
        display: none;
        position: fixed;
        top: 50px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
        background-color: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 0;
        gap: 0;
        z-index: 40;
        overflow: visible;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        border-radius: 12px;
        max-height: calc(100vh - 70px);
    }

    .header-nav.active {
        display: flex;
    }

    .header-nav a {
        width: 100%;
        padding: 16px 24px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 16px;
        color: #0f3460;
        font-weight: 600;
        text-align: center;
        transition: all 0.3s ease;
    }

    .header-nav a:first-child {
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    .header-nav a:last-child {
        border-bottom: none;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    .header-nav a:hover,
    .header-nav a:active {
        background-color: #f3f4f6;
        color: #1e40af;
    }
}

    /* ========== MOSTRA OVERLAY QUANDO ATIVO ========== */
    .mobile-menu-overlay.active {
        display: block;
    }

/* 3. Hero Section */
.hero-section {
    padding-top: 20px;
    padding-bottom: 64px;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: center;
}

.hero-content {
    order: 1;
    width: 100%;
}

.tagline-banner {
    margin-bottom: 32px;
    padding: 16px;
    background-color: var(--color-green-tagline-bg);
    border-radius: 16px;
    border: 4px dashed #4ade80;
    max-width: 448px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.tagline-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #dcfce7, #a7f3d0);
    opacity: 0.5;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    z-index: 0;
}

.tagline-banner-text {
    position: relative;
    text-align: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--color-green-dark);
    z-index: 1;
}

.hero-headline {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-headline span {
    display: block;
}

.hero-headline .text-black {
    color: var(--color-black);
}

.hero-headline .text-red {
    color: var(--color-red-danger);
}

.hero-headline .text-blue-dark {
    color: var(--color-blue-darker);
}

.hero-headline .text-blue-light {
    color: var(--color-blue-light);
}

.hero-paragraph {
    font-size: 1.25rem;
    color: var(--color-gray-text);
    margin-bottom: 48px;
    line-height: 1.75;
    max-width: 640px;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(to right, var(--color-primary-dark), var(--color-primary-blue));
    color: var(--color-white);
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex: 1;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
}

.btn-whatsapp:hover {
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.5), 0 8px 10px -6px rgba(59, 130, 246, 0.5);
    transform: scale(1.05);
}

.btn-whatsapp i {
    transition: transform 0.3s ease;
}

.btn-whatsapp:hover i {
    transform: translateY(-2px);
}

.btn-results {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border: 1px solid rgba(75, 85, 99, 0.3);
    background-color: var(--color-white);
    color: var(--color-blue-darker);
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
    flex: 1;
    font-size: 1.125rem;
    cursor: pointer;
}

.btn-results:hover {
    border-color: var(--color-primary-dark);
    color: var(--color-primary-dark);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.metrics-card {
    order: 2;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    padding: 32px;
    border: 1px solid #f3f4f6;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #f3f4f6;
}

.metric-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.metric-icon-container {
    padding: 12px;
    background-color: #e5e7eb;
    border-radius: 12px;
}

.metric-icon {
    height: 32px;
    width: 32px;
    color: #6b7280;
}

.metric-details h3 {
    font-weight: 700;
    color: var(--color-gray-text);
    font-size: 1.125rem;
}

.metric-details p {
    font-size: 0.875rem;
    color: #6b7280;
}

.metric-progress-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.progress-bar {
    width: 96px;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 9999px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.progress-fill.green {
    background: linear-gradient(to right, #4ade80, #16a34a);
    width: 37%;
}

.progress-fill.blue {
    background: linear-gradient(to right, #60a5fa, #2563eb);
    width: 100%;
}

.progress-fill.blue-98 {
    background: linear-gradient(to right, #60a5fa, #2563eb);
    width: 98%;
}

.metric-percentage {
    font-weight: 900;
    font-size: 1.5rem;
}

.metric-percentage.green {
    color: var(--color-green-success);
}

.metric-percentage.blue {
    color: var(--color-blue-light);
}

/* 4. Barra Social Fixa Direita */
.social-bar {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.social-bar:hover {
    opacity: 1;
}

.social-icon-link {
    width: 56px;
    height: 56px;
    background-color: var(--color-white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon-link:hover {
    transform: scale(1.1);
}

.social-icon {
    height: 28px;
    width: 28px;
}

.social-icon.whatsapp {
    color: #25d366;
}

.social-icon.instagram {
    color: #e1306c;
}

.social-icon.facebook {
    color: #1877f2;
}

.social-icon.mail {
    color: #6b7280;
}

/* 5. Quem Somos Page */
.quem-somos-header-section {
    text-align: center;
    padding-top: 160px;
    padding-bottom: 32px;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 80px);
}

.quem-somos-header-badge {
    display: inline-block;
    background-color: #d1fae5;
    color: #065f46;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 16px;
}

.quem-somos-header-heading {
    font-size: 3rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 16px;
}

.quem-somos-header-subheading {
    font-size: 1.25rem;
    color: var(--color-gray-text);
    line-height: 1.6;
    margin-bottom: 0;
}

.quem-somos-main-content {
    padding-top: 64px;
    padding-bottom: 64px;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.quem-somos-card {
    background-color: var(--color-green-tagline-bg);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease-in-out;
}

.quem-somos-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.quem-somos-grid {
    display: grid;
    gap: 3rem;
    align-items: start;
}

.quem-somos-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.plus-icon-container {
    background-color: var(--color-blue-icon-bg);
    padding: 0.75rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    transition: transform 0.3s ease-in-out;
}

.plus-icon-container:hover {
    transform: scale(1.1);
}

.plus-icon {
    width: 2rem;
    height: 2rem;
    color: var(--color-primary-blue);
}

.origem-heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.origem-paragraph {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--color-gray-text);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

.quem-somos-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background-color: var(--color-white);
    border-radius: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.quem-somos-metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-gray-border);
}

.quem-somos-metric-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.quem-somos-metric-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
}

.quem-somos-metric-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary-blue);
    text-decoration: none;
    transition: text-decoration 0.3s ease-in-out;
}

.quem-somos-metric-value:hover {
    text-decoration: underline;
}

/* 6. Animações */
@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* 7. Media Queries */
@media (min-width: 768px) {
    .header-logo-group {
        gap: 12px;
    }
    .header-logo {
        height: 48px;
    }
    .header-title {
        font-size: 1.25rem;
    }
    .header-subtitle {
        font-size: 1rem;
    }
    .header-nav {
        gap: 12px;
        font-size: 0.875rem;
    }
    .hero-headline {
        font-size: 3.75rem;
    }
    .hero-ctas {
        flex-direction: row;
    }
    .btn-whatsapp, .btn-results {
        flex: none;
    }
    .quem-somos-card {
        padding: 1.5rem;
    }
    .origem-heading {
        font-size: 1.875rem;
    }
    .origem-paragraph {
        font-size: 1rem;
    }
    .quem-somos-right {
        padding: 1.5rem;
    }
    .quem-somos-metric-label, .quem-somos-metric-value {
        font-size: 1rem;
    }
    .quem-somos-header-heading {
        font-size: 2.25rem;
    }
    .quem-somos-header-subheading {
        font-size: 1rem;
    }
}
@media (min-width: 1024px) {
    .hero-section {
        flex-direction: row;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px;
        align-items: center;
        padding-top: 20px;
        padding-bottom: 80px;
    }
    .hero-content {
        order: 1;
    }
    .hero-headline {
        font-size: 4.5rem;
    }
    .tagline-banner {
        margin-left: 0;
        margin-right: 0;
    }
    .metrics-card {
        order: 2;
    }
    .quem-somos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* Remove espaço do popup quando está oculto */
#lgpd-popup {
    display: none !important;
}

#lgpd-popup.show {
    display: flex !important;
}

/* Garante que o popup não ocupe espaço no fluxo */
.lgpd-popup-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Remove qualquer espaço extra */
body, html {
    margin: 0 !important;
    padding: 0 !important;
}
/* ===== FOOTER MODERNO STYLES ===== */

footer {
    font-family: 'Inter', sans-serif;
}

footer a {
    text-decoration: none;
}

footer h3,
footer h4 {
    font-family: 'Inter', sans-serif;
}

/* Animação suave para links */
footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    transform: translateX(2px);
}

/* Estilo para badges de segurança */
footer .flex.items-center.gap-2 {
    transition: all 0.3s ease;
}

footer .flex.items-center.gap-2:hover {
    color: #e5e7eb;
}

/* Estilo para box de dados profissionais */
footer .bg-slate-800 {
    transition: all 0.3s ease;
}

footer .bg-slate-800:hover {
    border-color: #3b82f6;
    background-color: rgba(30, 41, 59, 0.8);
}

/* Responsividade melhorada */
@media (max-width: 768px) {
    footer {
        padding: 40px 20px;
    }

    footer .grid {
        gap: 32px;
    }

    footer h4 {
        font-size: 16px;
    }

    footer a {
        font-size: 14px;
    }
}

/* Animação de hover para ícones */
footer i {
    transition: all 0.3s ease;
}

footer a:hover i {
    transform: scale(1.1);
}

/* Estilo para botão CTA */
footer .bg-green-600 {
    transition: all 0.3s ease;
}

footer .bg-green-600:hover {
    box-shadow: 0 0 20px rgba(22, 163, 74, 0.3);
    transform: translateY(-2px);
}


    /* ✅ Estilo dos links com COR EXPLÍCITA */
    .header-nav a {
        padding: 16px 24px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 16px;
        color: #0f3460 !important;  /* ✅ COR AZUL ESCURO FORÇADA */
        font-weight: 600;
        text-align: left;
    }

    /* ✅ Hover nos links mobile */
    .header-nav a:hover {
        background-color: #f3f4f6;
        color: #1e40af !important;
    }


    /* ✅ AGORA DENTRO DO MEDIA QUERY */
    .header-nav.active {
        display: flex !important;
    }

    .header-nav a {
        padding: 16px 24px;
        border-bottom: 1px solid #f0f0f0;
        font-size: 16px;
    }
    .mobile-menu-overlay.active {
        display: block;
    }
  /* ✅ CHAVE FECHA AQUI AGORA */
/* Ícones da barra social – ajuste apenas no mobile */
@media (max-width: 767px) {
    .social-icon-link {
        width: 22px;      
        height: 22px;     
        border-radius: 6px;
        padding: 3px;      /* mantém proporção */
    }

    .social-icon-link i,
    .social-icon {
        width: 11px !important;
        height: 11px !important;
    }
}
/* ============================================
   SOCIAL BAR – MOBILE (corrigido e otimizado)
   ============================================ */
@media (max-width: 767px) {

    /* Desce a barra para não ficar sobre o texto */
    .social-bar {
        top: 82%;
        right: 12px;
        transform: translateY(-50%);
    }

    /* Ícones menores */
    .social-icon-link {
        width: 22px;
        height: 22px;
        border-radius: 6px;
        padding: 3px;
        box-shadow: 0 6px 10px -3px rgba(0,0,0,0.15);
    }

    .social-icon-link i,
    .social-icon {
        width: 11px !important;
        height: 11px !important;
    }
}
.header-nav.active {
    display: flex !important;
}
/* =========================================
   BARRA SOCIAL - AJUSTE MOBILE
   ========================================= */

@media (max-width: 767px) {
    
    /* Reposiciona a barra para baixo e reduz margem */
    .fixed.right-6.top-1\/2 {
        top: 75% !important;          /* Move para 75% da altura (mais baixo) */
        right: 12px !important;       /* Reduz margem direita */
        transform: translateY(0) !important; /* Remove centralização */
        gap: 8px !important;          /* Reduz espaço entre ícones */
    }
    
    /* Reduz tamanho dos botões */
    .fixed.right-6.top-1\/2 a {
        width: 40px !important;       /* De 56px para 40px */
        height: 40px !important;
        border-radius: 10px !important; /* Ajusta border-radius proporcionalmente */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12) !important; /* Sombra mais suave */
    }
    
    /* Reduz tamanho dos ícones dentro dos botões */
    .fixed.right-6.top-1\/2 a i,
    .fixed.right-6.top-1\/2 a [data-lucide] {
        width: 20px !important;       /* De 28px para 20px */
        height: 20px !important;
    }
    
    /* Remove hover scale em mobile (evita aumentar o ícone) */
    .fixed.right-6.top-1\/2 a:hover {
        transform: none !important;
    }
    
    /* Aumenta um pouco a opacidade para compensar o tamanho menor */
    .fixed.right-6.top-1\/2 {
        opacity: 0.95 !important;
    }
}
/* =========================================
   ÍCONES SOCIAIS - AJUSTE MOBILE
   ========================================= */

@media (max-width: 767px) {
    .fixed.right-6.top-1\/2 {
        top: auto !important;         /* Remove posição top */
        bottom: 80px !important;      /* Fixa 80px do rodapé */
        transform: none !important;   /* Remove transform */
        right: 12px !important;
    }
    
    /* Reduz o tamanho dos ícones no mobile */
    .fixed.right-6.top-1\/2 a {
        width: 48px !important;
        height: 48px !important;
    }
    
    .fixed.right-6.top-1\/2 a i {
        width: 20px !important;
        height: 20px !important;
    }
}
/* =========================================
   FAQ - ACCORDION STYLES
   ========================================= */

.faq-question {
    cursor: pointer;
    user-select: none;
}

.faq-answer {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.faq-answer.hidden {
    display: block;
    max-height: 0;
    opacity: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.faq-answer:not(.hidden) {
    max-height: 1000px;
    opacity: 1;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* Rotação suave do ícone */
.faq-question svg {
    transition: transform 0.3s ease;
}

.faq-question svg.rotate-180 {
    transform: rotate(180deg);
}

/* Efeito hover no botão */
.faq-question:hover {
    background-color: #f9fafb !important;
}