
/* ========================================
   PERFORMARTECH - MAIN STYLESHEET
   Organização: BEM + Atomic Design
   Versão: 2.0 - Otimizada para Performance
======================================== */

/* ========================================
   1. IMPORTS E FONTES
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ========================================
   2. VARIÁVEIS CSS (DESIGN TOKENS)
======================================== */
:root {
    /* Cores Principais */
    --cor-primaria: #5271ff;           /* Azul principal da marca */
    --cor-fundo: #ffffff;              /* Fundo branco principal */
    --cor-fundo-secundario: #f8f9fa;   /* Cinza claro para seções alternadas */
    --cor-texto: #495057;              /* Cinza escuro para textos */
    --cor-titulo: #212529;             /* Cinza mais escuro para títulos */
    --cor-borda: #dee2e6;              /* Borda cinza clara */

    /* Tipografia */
    --font-family-primary: 'Poppins', sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Espaçamentos */
    --spacing-xs: 0.5rem;    /* 8px */
    --spacing-sm: 1rem;      /* 16px */
    --spacing-md: 1.5rem;    /* 24px */
    --spacing-lg: 2rem;      /* 32px */
    --spacing-xl: 3rem;      /* 48px */
    --spacing-xxl: 5rem;     /* 80px */

    /* Breakpoints */
    --breakpoint-mobile: 768px;
    --breakpoint-tablet: 1024px;
    --breakpoint-desktop: 1200px;
}

/* ========================================
   3. RESET E CONFIGURAÇÕES GLOBAIS
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base para rem */
}

body {
    font-family: var(--font-family-primary);
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   4. COMPONENTES UTILITÁRIOS
======================================== */

/* ===== SKIP LINKS PARA ACESSIBILIDADE ===== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--cor-primaria);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: var(--font-weight-semibold);
    z-index: 10000;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
}

/* ===== CONTAINER PRINCIPAL ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section-title {
    color: var(--cor-titulo);
    font-weight: var(--font-weight-semibold);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

h1, h2, h3 {
    color: var(--cor-titulo);
    font-weight: var(--font-weight-semibold);
}

section {
    padding: var(--spacing-xxl) 0;
}

/* ========================================
   5. BREADCRUMBS - NAVEGAÇÃO ESTRUTURAL
======================================== */

.breadcrumb-nav {
    background-color: var(--cor-fundo-secundario);
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--cor-borda);
}

.breadcrumb {
    list-style: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.85rem;
    color: var(--cor-texto);
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: var(--cor-primaria);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--cor-titulo);
}

.breadcrumb a[aria-current="page"] {
    color: var(--cor-texto);
    font-weight: var(--font-weight-medium);
}

/* ========================================
   6. HEADER - NAVEGAÇÃO PRINCIPAL
======================================== */

/* Header com efeito glassmorphism */
.header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--cor-borda);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

/* Container da navegação */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== LOGO ===== */
.logo {
    font-size: 1.8em;
    font-weight: var(--font-weight-bold);
    color: var(--cor-titulo);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo span {
    color: var(--cor-primaria);
}

/* Estilo da imagem do logo */
.logo img {
    height: 50px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease-in-out;
}

/* ===== NAVEGAÇÃO ===== */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links a {
    color: var(--cor-texto);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color 0.3s ease;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
}

.nav-links a:not(.cta-button):hover {
    color: var(--cor-primaria);
}

/* Correção para garantir a cor do texto do botão no header */
.nav-links .cta-button {
    color: #ffffff;
}

/* ===== MENU HAMBÚRGUER ===== */
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: var(--spacing-xs);
    z-index: 1001;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.hamburger:hover {
    background-color: rgba(82, 113, 255, 0.1);
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--cor-titulo);
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

/* ========================================
   7. COMPONENTES - BOTÕES CTA
======================================== */

/* Botão CTA base */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--cor-primaria), #3856e0);
    color: #ffffff;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    font-size: 0.95rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(82, 113, 255, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(82, 113, 255, 0.4);
}

.cta-button:focus {
    outline: 2px solid var(--cor-primaria);
    outline-offset: 2px;
}

/* Variações do CTA */
.hero-cta {
    font-size: 1.05rem;
    padding: var(--spacing-sm) var(--spacing-lg);
}

.nav-cta {
    font-size: 0.9rem;
    padding: var(--spacing-xs) var(--spacing-md);
}

.final-cta-button {
    font-size: 1.05rem;
    padding: var(--spacing-sm) var(--spacing-lg);
}

/* ========================================
   8. SEÇÃO HERO - PROPOSTA DE VALOR
======================================== */

.hero {
    text-align: center;
    padding: 7.5rem 0;
    background-color: var(--cor-fundo-secundario);
    background-image: radial-gradient(circle at 50% 0%, rgba(82, 113, 255, 0.05), transparent 40%);
    position: relative;
}

/* Título principal */
.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-xl);
    color: var(--cor-titulo);
    font-weight: var(--font-weight-bold);
}

/* Destaques no título */
.highlight-performance,
.highlight-technology {
    background: linear-gradient(45deg, var(--cor-primaria), #0037ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: var(--font-weight-bold);
}

/* Descrição do hero */
.hero-description {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg) auto;
    color: var(--cor-texto);
    line-height: 1.6;
}

/* ========================================
   8. SEÇÃO CLIENTES - PROVA SOCIAL
======================================== */

.clients {
    padding: 3.75rem 0;
    text-align: center;
    overflow: hidden;
    background-color: var(--cor-fundo);
}

/* Título da seção clientes */
.clients-title {
    color: #adb5bd;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Container do carrossel */
.client-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Logos dos clientes */
.client-logos {
    display: flex;
    align-items: center;
    gap: 3.75rem;
    animation: scroll-logos 30s linear infinite;
    width: max-content;
}

/* Otimizações de imagem para clientes */
.client-logos img {
    filter: grayscale(100%) opacity(0.5);
    transition: filter 0.3s ease, opacity 0.3s ease;
    max-height: 50px;
    width: auto;
    flex-shrink: 0;
    /* Placeholder enquanto carrega */
    background-color: var(--cor-fundo-secundario);
    border-radius: 4px;
    /* Evita layout shift */
    min-width: 150px;
    min-height: 50px;
}

.client-logos img:hover {
    filter: grayscale(0%) opacity(1);
}

/* Estado de carregamento */
.client-logos img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.client-logos img.loaded {
    opacity: 0.5;
}

/* Animação do carrossel */
@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-carousel:hover .client-logos {
    animation-play-state: paused;
}

/* ========================================
   9. SEÇÃO SERVIÇOS - OFERTAS PRINCIPAIS
======================================== */

.services {
    background-color: var(--cor-fundo-secundario);
    text-align: center;
}

/* Grid responsivo de serviços */
.services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    -webkit-overflow-scrolling: touch;
}

/* ===== CARDS DE SERVIÇO ===== */
.service-card {
    flex-shrink: 0;
    width: calc(25% - var(--spacing-sm));
    scroll-snap-align: start;
    background-color: var(--cor-fundo);
    padding: var(--spacing-lg) var(--spacing-md);
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--cor-borda);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(82, 113, 255, 0.1);
}

/* ===== ÍCONES DOS SERVIÇOS ===== */
.service-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(82, 113, 255, 0.1);
    padding: var(--spacing-md);
    border-radius: 50%;
    margin: 0 auto var(--spacing-sm) auto;
    width: 70px;
    height: 70px;
}

/* Otimizações para ícones de serviços */
.service-card-icon img {
    transition: opacity 0.3s ease-in-out;
    background-color: rgba(82, 113, 255, 0.05);
    border-radius: 4px;
}

.service-card-icon img[loading="lazy"] {
    opacity: 0;
}

.service-card-icon img.loaded {
    opacity: 1;
}

/* ===== TEXTOS DOS SERVIÇOS ===== */
.service-title {
    font-size: 1.0rem;
    margin-bottom: var(--spacing-sm);
    color: var(--cor-primaria);
    font-weight: var(--font-weight-semibold);
}

.service-description {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--cor-texto);
}


/* ===== RESPONSIVIDADE DOS SERVIÇOS ===== */
@media (max-width: 1200px) {
    .service-card {
        width: calc(50% - var(--spacing-sm));
    }
}

@media (max-width: 768px) {
    .service-card {
        width: 80%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }
}

/* ===== ESTILIZAÇÃO DA BARRA DE ROLAGEM ===== */
.services-grid::-webkit-scrollbar {
    height: 8px;
}

.services-grid::-webkit-scrollbar-track {
    background-color: #e9ecef;
    border-radius: 10px;
}

.services-grid::-webkit-scrollbar-thumb {
    background-color: var(--cor-primaria);
    border-radius: 10px;
}

        /* --- Seção Diferenciais com Grade 2x2 --- */
        .differentiators {
            background-color: var(--cor-fundo); /* Fundo branco, igual ao hero */
        }

        .differentiators-grid {
            /* 1. Ativa o layout em grade */
            display: grid; 

            /* 2. Cria duas colunas de largura igual */
            grid-template-columns: repeat(2, 1fr); 

            /* 3. Define o espaçamento entre os cards */
            gap: 30px; 
        }

        .differentiators-grid h2 {
            /* Faz o título ocupar as duas colunas da grade */
            grid-column: 1 / -1; 
            
            /* Centraliza o título */
            text-align: center; 
            font-size: 2em;
            margin-bottom: 40px; /* Ajusta o espaçamento abaixo do título */
        }

        .differentiator-card {
            /* Reutilizando o estilo dos cards de serviço para manter a consistência */
            background-color: var(--cor-fundo-secundario);
            padding: 40px 30px;
            border-radius: 12px;
            text-align: center;
            border: 1px solid var(--cor-borda);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .differentiator-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 10px 25px rgba(82, 113, 255, 0.1);
        }

        /* Estilo para o círculo do ícone */
        .differentiator-icon {
            display: inline-block;
            background-color: rgba(82, 113, 255, 0.1);
            padding: 15px;
            border-radius: 50%;
            margin-bottom: 20px;
        }

        .differentiator-card h3 {
            font-size: 1.4em;
            color: var(--cor-primaria); 
            margin-bottom: 15px;
        }

        /* --- Responsividade da Grade --- */
        @media (max-width: 768px) {
            .differentiators-grid {
                /* Em telas de celular, muda a grade para apenas uma coluna */
                grid-template-columns: 1fr; 
            }

            .differentiators-grid h2 {
                font-size: 2em; /* Ajusta o tamanho da fonte do título para mobile */
            }
        }
/* ========================================
   11. SEÇÃO SOBRE NÓS - HISTÓRIA DA EMPRESA
======================================== */

.about-us {
    background-color: var(--cor-fundo);
    padding: var(--spacing-xxl) 0;
}

/* ===== LAYOUT DA SEÇÃO SOBRE ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

/* ===== IMAGEM DA EMPRESA ===== */
.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(82, 113, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(82, 113, 255, 0.15);
}

/* ===== TEXTO DA HISTÓRIA ===== */
.about-text {
    padding-left: var(--spacing-md);
}

.about-text .section-title {
    text-align: left;
    margin-bottom: var(--spacing-lg);
    font-size: 2.2rem;
    color: var(--cor-titulo);
}

.about-story {
    line-height: 1.7;
}

.about-intro {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    color: var(--cor-titulo);
    font-weight: var(--font-weight-medium);
}

.about-paragraph {
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
    color: var(--cor-texto);
    line-height: 1.7;
}

.highlight {
    color: var(--cor-primaria);
    font-weight: var(--font-weight-semibold);
}

/* ===== VALORES DA EMPRESA ===== */
.about-values {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background-color: var(--cor-fundo-secundario);
    border-radius: 12px;
    border-left: 4px solid var(--cor-primaria);
}

.value-item {
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
    line-height: 1.6;
}

.value-item:last-child {
    margin-bottom: 0;
}

.value-item strong {
    color: var(--cor-primaria);
    font-weight: var(--font-weight-semibold);
}

/* ===== RESPONSIVIDADE DA SEÇÃO SOBRE ===== */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .about-text {
        padding-left: 0;
    }

    .about-text .section-title {
        text-align: center;
        font-size: 1.8rem;
    }

    .about-image img {
        max-width: 250px;
    }

    .about-values {
        text-align: left;
    }
}

/* ========================================
   12. SEÇÃO CTA FINAL - CONVERSÃO PRINCIPAL
======================================== */

.final-cta {
    text-align: center;
    padding: 8rem 0;
    background-color: var(--cor-fundo-secundario);
    background-image: radial-gradient(circle at 50% 0%, rgba(82, 113, 255, 0.05), transparent 40%);
    position: relative;
}

.cta-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    font-weight: var(--font-weight-bold);
}

.cta-description {
    max-width: 600px;
    margin: 0 auto var(--spacing-lg) auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ========================================
   13. FOOTER - INFORMAÇÕES LEGAIS
======================================== */

.footer {
    text-align: center;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--cor-borda);
    background-color: var(--cor-fundo);
}

.copyright {
    color: #6c757d;
    font-size: 0.9rem;
}

.copyright a {
    color: var(--cor-primaria);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color 0.2s ease;
}

.copyright a:hover {
    color: var(--cor-primaria-hover);
    text-decoration: underline;
}

/* ========================================
   14. RESPONSIVIDADE GERAL
======================================== */

@media (max-width: 768px) {
    /* ===== NAVEGAÇÃO MOBILE ===== */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--cor-fundo);
        flex-direction: column;
        justify-content: center;
        gap: var(--spacing-lg);
        transition: right 0.4s ease-in-out;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding: var(--spacing-md);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block;
    }

    /* Animação do hambúrguer */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* ===== LOGO RESPONSIVO ===== */
    .logo img {
        height: 40px;
    }

    .logo picture source {
        height: 40px;
        width: auto;
    }
}

/* ========================================
   15. BOTÃO FLUTUANTE WHATSAPP - CONTATO RÁPIDO
======================================== */

.whatsapp-float-button {
    /* Posicionamento */
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);

    /* Aparência */
    background-color: #25D366; /* Cor oficial do WhatsApp */
    width: 60px;
    height: 60px;
    border-radius: 50%;

    /* Elevação e sombra */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;

    /* Layout interno */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Transições */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

/* Estados do botão */
.whatsapp-float-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-float-button:focus {
    outline: 2px solid #25D366;
    outline-offset: 4px;
}

/* Ícone do WhatsApp */
.whatsapp-float-button img {
    width: 36px;
    height: 36px;
    transition: opacity 0.3s ease-in-out;
}

/* Responsividade do botão */
@media (max-width: 768px) {
    .whatsapp-float-button {
        bottom: var(--spacing-md);
        right: var(--spacing-md);
        width: 56px;
        height: 56px;
    }

    .whatsapp-float-button img {
        width: 32px;
        height: 32px;
    }
}

/* ========================================
   16. OTIMIZAÇÕES GERAIS DE IMAGEM
======================================== */

/* ===== PLACEHOLDER UNIVERSAL ===== */
img {
    background-color: var(--cor-fundo-secundario);
    background-image: linear-gradient(45deg, var(--cor-fundo-secundario) 25%, transparent 25%),
                      linear-gradient(-45deg, var(--cor-fundo-secundario) 25%, transparent 25%),
                      linear-gradient(45deg, transparent 75%, var(--cor-fundo-secundario) 75%),
                      linear-gradient(-45deg, transparent 75%, var(--cor-fundo-secundario) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    border-radius: 4px;
}

/* ===== ESTADOS DE CARREGAMENTO ===== */
img.loaded {
    background-image: none;
    background-color: transparent;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ===== PREVENÇÃO DE LAYOUT SHIFT ===== */
img[width][height] {
    aspect-ratio: attr(width) / attr(height);
}

/* ===== OTIMIZAÇÕES ESPECÍFICAS ===== */
/* SVGs não precisam de placeholder */
img[src$=".svg"] {
    background-image: none;
}

/* Imagens críticas carregam imediatamente */
img[fetchpriority="high"] {
    opacity: 1;
}

/* Melhora a qualidade em telas de alta densidade */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ========================================
   17. PÁGINA POLÍTICA DE PRIVACIDADE
======================================== */

/* ===== BREADCRUMBS ===== */
.breadcrumb-nav {
    background-color: var(--cor-fundo-secundario);
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--cor-borda);
}

.breadcrumb {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 var(--spacing-xs);
    color: var(--cor-texto-secundario);
}

.breadcrumb a {
    color: var(--cor-primaria);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--cor-primaria-hover);
    text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
    color: var(--cor-texto);
    font-weight: var(--font-weight-medium);
}

/* ===== SEÇÃO POLÍTICA DE PRIVACIDADE ===== */
.privacy-policy {
    padding: var(--spacing-xxl) 0;
    background-color: var(--cor-fundo);
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

/* ===== CABEÇALHO DA POLÍTICA ===== */
.privacy-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 2px solid var(--cor-borda);
}

.privacy-header h1 {
    font-size: 2.5rem;
    color: var(--cor-titulo);
    margin-bottom: var(--spacing-lg);
    font-weight: var(--font-weight-bold);
}

.privacy-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--cor-texto);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-meta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    font-size: 0.9rem;
    color: var(--cor-texto-secundario);
}

.privacy-meta p {
    margin: 0;
}

/* ===== ÍNDICE DA POLÍTICA ===== */
.privacy-index {
    background-color: var(--cor-fundo-secundario);
    padding: var(--spacing-lg);
    border-radius: 8px;
    margin-bottom: var(--spacing-xxl);
    border-left: 4px solid var(--cor-primaria);
}

.privacy-index h2 {
    font-size: 1.3rem;
    color: var(--cor-titulo);
    margin-bottom: var(--spacing-md);
}

.privacy-index ol {
    margin: 0;
    padding-left: var(--spacing-lg);
}

.privacy-index li {
    margin-bottom: var(--spacing-xs);
}

.privacy-index a {
    color: var(--cor-primaria);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color 0.2s ease;
}

.privacy-index a:hover,
.privacy-index a.active {
    color: var(--cor-primaria-hover);
    text-decoration: underline;
}

.privacy-index a.active {
    font-weight: var(--font-weight-semibold);
}

/* ===== SEÇÕES DA POLÍTICA ===== */
.privacy-section {
    margin-bottom: var(--spacing-xxl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--cor-borda);
}

.privacy-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.privacy-section h2 {
    font-size: 1.8rem;
    color: var(--cor-titulo);
    margin-bottom: var(--spacing-lg);
    font-weight: var(--font-weight-semibold);
}

.privacy-section h3 {
    font-size: 1.3rem;
    color: var(--cor-titulo);
    margin: var(--spacing-lg) 0 var(--spacing-md) 0;
    font-weight: var(--font-weight-medium);
}

.privacy-section h4 {
    font-size: 1.1rem;
    color: var(--cor-primaria);
    margin: var(--spacing-md) 0 var(--spacing-xs) 0;
    font-weight: var(--font-weight-semibold);
}

.privacy-section p {
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    color: var(--cor-texto);
}

.privacy-section ul,
.privacy-section ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
}

.privacy-section li {
    line-height: 1.6;
    margin-bottom: var(--spacing-xs);
    color: var(--cor-texto);
}

/* ===== LISTA DE DEFINIÇÕES ===== */
.definitions-list {
    background-color: var(--cor-fundo-secundario);
    padding: var(--spacing-lg);
    border-radius: 8px;
    margin: var(--spacing-md) 0;
}

.definitions-list dt {
    color: var(--cor-primaria);
    font-weight: var(--font-weight-semibold);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.definitions-list dt:first-child {
    margin-top: 0;
}

.definitions-list dd {
    margin-left: 0;
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
    color: var(--cor-texto);
}

/* ===== GRID DE DIREITOS ===== */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.right-item {
    background-color: var(--cor-fundo-secundario);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border-left: 4px solid var(--cor-primaria);
}

.right-item h4 {
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
}

.right-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ===== INFORMAÇÕES DE CONTATO ===== */
.contact-info {
    background-color: var(--cor-fundo-secundario);
    padding: var(--spacing-xl);
    border-radius: 12px;
    margin-top: var(--spacing-lg);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.contact-method h4 {
    margin-top: 0;
    margin-bottom: var(--spacing-xs);
}

.contact-method p {
    margin-bottom: 0;
}

.contact-method a {
    color: var(--cor-primaria);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
}

.contact-method a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVIDADE DA POLÍTICA ===== */
@media (max-width: 768px) {
    .privacy-header h1 {
        font-size: 2rem;
    }

    .privacy-meta {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .privacy-content {
        padding: 0 var(--spacing-md);
    }

    .rights-grid {
        grid-template-columns: 1fr;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   18. UTILITÁRIOS E HELPERS
======================================== */

/* Classes utilitárias para acessibilidade */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Foco visível para acessibilidade */
*:focus-visible {
    outline: 2px solid var(--cor-primaria);
    outline-offset: 2px;
}

/* ========================================
   FIM DO ARQUIVO - PERFORMARTECH STYLES
   Última atualização: 2025-01-09
   Versão: 2.0 - Schema Organizado
======================================== */