/* ========================================
   WSOUZA MARKETING - ESTILO BOLD & MODERN
   Versão 2.16 - Correção Proporção Vídeo (Desktop vs Mobile)
   ======================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    /* Paleta de Cores "Bold & Modern" (Preto, Branco, Vermelho) */
    --color-primary: #1a1a1a;        /* Preto/Grafite Profissional */
    --color-primary-dark: #000000;   /* Preto Puro */
    --color-primary-light: #ef233c;  /* Cinza Escuro (AGORA VERMELHO CLARO) */
    --color-accent: #d90429;         /* Vermelho Forte */
    --color-accent-light: #1a1a1a;   /* Vermelho Claro (AGORA PRETO) */
    --color-dark: #1a1a1a;           /* Preto/Grafite (Substitui o Azul Escuro) */
    --color-dark-secondary: #ef233c; /* Cinza Bem Escuro (AGORA VERMELHO CLARO) */
    --color-light: #f4f4f4;          /* Cinza Mais Claro (Fundo) */
    --color-white: #ffffff;          /* Branco Puro */
    --color-text: #1a1a1a;           /* Texto Principal (Preto) */
    --color-text-light: #666666;     /* Texto Secundário (Cinza Médio) */
    --color-border: #d90429;         /* Borda Suave */
    --color-success: #10b981;        /* Verde Sucesso (Mantido) */
    
    /* Tipografia (Mantida) */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Espaçamento (Mantido) */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Sombras (Mantidas) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    
    /* Transições (Mantidas) */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-white); /* Fundo principal agora é branco puro */
    overflow-x: hidden;
    font-size: var(--font-size-base);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-dark);
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light); /* Texto secundário usa cinza */
}

/* ========================================
   NAVBAR - NAVEGAÇÃO MODERNA
   ======================================== */

.navbar {
    position: relative;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    z-index: 1000;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid var(--color-border);
}

.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform var(--transition-base);
}

.nav-logo a:hover {
    transform: scale(1.05);
}

/* ===== AJUSTE 1: LOGO DESKTOP MAIOR ===== */
.nav-logo a img {
    height: 65px; /* MUDADO de 60px para 65px */
    width: auto;
    object-fit: contain;
}
/* ======================================= */

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition-base);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary); /* Linha de hover agora é PRETA */
    transition: width var(--transition-base);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary); /* Texto de hover agora é PRETO */
}

.nav-link.btn-cta {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(217, 4, 41, 0.25);
}

.nav-link.btn-cta:hover {
    background: linear-gradient(135deg, #a4031f, var(--color-accent)); /* Vermelho mais escuro */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 4, 41, 0.35);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.35rem;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all var(--transition-base);
}

/* ========================================
   BUTTONS - BOTÕES MODERNOS
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    font-family: var(--font-main);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.25);
}

/* ===== MODIFICAÇÃO SOLICITADA: HOVER VERMELHO NOS BOTÕES PRIMÁRIOS ===== */
.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary-light));
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 4, 41, 0.35);
}
/* ====================================================================== */

.btn-secondary {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    border-color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(217, 4, 41, 0.25);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #a4031f, var(--color-accent)); /* Vermelho mais escuro */
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(217, 4, 41, 0.35);
}

/* ========================================
   HERO SECTION - SEÇÃO PRINCIPAL
   ======================================== */

.hero {
    padding: 3rem 0 4rem;
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-secondary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(217, 4, 41, 0.08) 0%, transparent 70%); /* Detalhe vermelho */
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-main {
    display: block;
    font-size: var(--font-size-5xl);
    font-weight: 950;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.title-sub {
    display: block;
    font-size: var(--font-size-2xl);
    color: #e2e8f0;
    font-weight: 600;
    line-height: 1.3;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: #cbd5e1;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-image {
    display: inline-flex; 
    justify-self: center; 
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-image {
    width: 100%;
    max-width: 500px; 
    height: auto;
    border-radius: 20px; 
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-base);
    
    position: relative; 
    z-index: 2;         
}

.profile-image:hover {
    transform: scale(1.02);
}

.image-decoration {
    position: absolute;
    top: -12px;    
    left: -12px;   
    right: -12px;  
    bottom: -12px; 
    
    border: 3px solid var(--color-accent); 
    border-radius: 20px; 
    transform: rotate(0deg); 
    pointer-events: none;
    z-index: 1; 
}

.hero-stats-bar {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    margin-top: 3rem;
    padding: 2rem;
    display: flex;
    justify-content: space-around;
    border-radius: 15px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
    color: white;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.9;
}

/* ========================================
   SECTION STYLES - ESTILOS DE SEÇÃO
   ======================================== */

section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: var(--font-size-4xl);
    color: var(--color-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    font-weight: 900;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    border-radius: 3px;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-light);
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.7;
}

/* ========================================
   SERVICES SECTION - SEÇÃO DE SERVIÇOS
   ======================================== */

.services {
    background: var(--color-light); 
    padding-top: 5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 2px solid transparent;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--color-accent); 
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary-light));
    box-shadow: 0 8px 16px rgba(217, 4, 41, 0.3);
}

.service-card:hover h3 {
    color: var(--color-accent);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 16px rgba(26, 26, 26, 0.2);
    transition: all var(--transition-base); 
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: 1rem;
    color: var(--color-dark);
    transition: all var(--transition-base); 
}

.service-card p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0 0.5rem 1.8rem;
    color: var(--color-text);
    position: relative;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-success);
}

/* ========================================
   ABOUT SECTION - SEÇÃO SOBRE
   ======================================== */

.about {
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

.about-image {
    position: relative;
}

.office-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--color-border);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    font-weight: 600;
    color: var(--color-dark);
    background: var(--color-light);
    border-radius: 10px;
    border-left: 4px solid var(--color-accent); 
    transition: all var(--transition-base);
}

.expertise-item:hover {
    background: #f1f5f9;
    transform: translateX(5px);
}

.expertise-item i {
    font-size: 1.5rem;
    color: var(--color-accent); 
}


/* ========================================
   VIDEO SECTION - NOVA SEÇÃO
   ======================================== */

.video-section {
    background: var(--color-light); /* Alterna a cor, vindo do branco do 'sobre' */
    padding: 4rem 0;
}


/* ===== CÓDIGO AJUSTADO PARA YOUTUBE IFRAME (v2.15) ===== */
.video-container {
    position: relative;
    max-width: 700px; /* Largura do player no DESKTOP */
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden; 
    box-shadow: var(--shadow-2xl);
    border: 3px solid var(--color-accent); 
    
    /* Esta é a proporção para o DESKTOP (achatada, como você gostou) */
    padding-top: 33.00%; 
    height: 0;
    background: #000; 
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; 
}
/* ======================================================= */

/* ========================================
   PORTFOLIO SECTION - SEÇÃO DE PORTFÓLIO
   ======================================== */

.portfolio {
    background: white; /* Alterna a cor, vindo do cinza do vídeo */
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--color-border);
    background: white;
    color: var(--color-text);
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition-base);
    font-weight: 600;
    font-size: 0.95rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.25);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    position: relative;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.portfolio-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(217, 4, 41, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    text-align: center;
    color: white;
    padding: 2rem;
}

.portfolio-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: white;
}

.portfolio-info p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 400;
}

.portfolio-link-icon {
    display: inline-flex;
    width: 55px;
    height: 55px;
    background: white;
    color: var(--color-primary); 
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: 1.5rem;
}

.portfolio-link-icon:hover {
    transform: scale(1.15) rotate(10deg);
    background: var(--color-accent); 
    color: white;
}

.portfolio-cta {
    text-align: center;
    margin-top: 3rem;
}

/* ========================================
   TESTIMONIALS SECTION - SEÇÃO DE DEPOIMENTOS
   ======================================== */

.testimonials {
    background: var(--color-light); /* Alterna a cor, vindo do branco do portfólio */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white; /* Fundo branco para contrastar com a seção */
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border-left: 5px solid var(--color-accent); 
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.testimonial-quote i {
    font-size: 2.5rem;
    color: var(--color-primary);
    opacity: 0.15;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 2px solid var(--color-border);
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.testimonial-rating i {
    color: #facc15;
    font-size: 1.1rem;
}

/* ========================================
   CONTACT SECTION - SEÇÃO DE CONTATO
   ======================================== */

.contact {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-secondary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 4, 41, 0.1) 0%, transparent 70%); 
    border-radius: 50%;
    pointer-events: none;
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
}

.contact .section-subtitle {
    color: #cbd5e1;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(217, 4, 41, 0.2);
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-details p {
    color: #cbd5e1;
}

.contact-form {
    background: rgba(0, 0, 0, 0.2); 
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.25); 
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);   
    background: rgba(0, 0, 0, 0.25);           
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all var(--transition-base);
    font-family: var(--font-main);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(0, 0, 0, 0.3); 
    box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   FOOTER - RODAPÉ
   ======================================== */

.footer {
    background: #0b0b0b; 
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-info p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(26, 26, 26, 0.2);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(217, 4, 41, 0.3);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all var(--transition-base);
}

.footer-links a:hover {
    color: var(--color-accent); 
    padding-left: 0.5rem;
}

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.footer-contact i {
    color: var(--color-accent); 
    margin-right: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    
    /* ===== AJUSTE COPYRIGHT ===== */
    max-width: 1280px;          
    margin-left: auto;          
    margin-right: auto;         
    padding-left: var(--spacing-lg); 
    padding-right: var(--spacing-lg);
    /* ============================ */
}

/* ========================================
   ANIMATIONS - ANIMAÇÕES (Mantidas)
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease forwards;
}

/* ========================================
   RESPONSIVE DESIGN - DESIGN RESPONSIVO (Mantido)
   ======================================== */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        order: 2;
    }

    .hero-image {
        order: 1;
    }

    .title-main {
        font-size: 3rem;
    }

    .title-sub {
        font-size: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats-bar {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    
    /* ===== AJUSTE 1: CENTRALIZAÇÃO E ALTURA DA NAVBAR MOBILE ===== */
    .nav-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr; 
        align-items: center;
        height: 80px; /* Garante altura para a logo */
    }
    
    .nav-logo {
        grid-column: 2 / 3; 
        justify-self: center; 
        margin-top: 6px; /* Desce a logo */
    }
    /* ========================================================= */

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: left var(--transition-base);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    /* ===== AJUSTE 2: MENU MOBILE (3 PONTINHOS) MAIS PARA CIMA ===== */
    .nav-toggle {
        display: flex;
        grid-column: 3 / 4; 
        justify-self: end; 
        transform: translateY(-30px); /* Sobe o ícone */
    }
    /* ============================================================= */

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

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

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

    /* ===== NOVO AJUSTE: CENTRALIZAR TEXTO 'SOBRE' ===== */
    .about-text {
        text-align: center;
    }
    /* ================================================= */

    /* ===== CORREÇÃO DA PROPORÇÃO DO VÍDEO NO MOBILE ===== */
    .video-container {
        padding-top: 56.25% !important; /* Força a proporção 16:9 no mobile */
    }
    /* ================================================== */


    .title-main {
        font-size: 2.5rem;
    }

    .title-sub {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

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

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

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

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-info, .footer-links, .footer-contact {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .contact-form {
        padding: 1.5rem;
    }

    /* ===== AJUSTE FINAL: LARGURA DA BARRA DE STATS MOBILE ===== */
    .hero-stats-bar {
        padding: 1.5rem;
        margin-left: 1.5rem;  /* <-- ADICIONADO PARA CRIAR MARGEM */
        margin-right: 1.5rem; /* <-- ADICIONADO PARA CRIAR MARGEM */
        max-width: 100%;      /* <-- ADICIONADO PARA GARANTIR FLUIDEZ */
    }
    /* ======================================================= */
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    /* ===== AJUSTE 1: ALTURA DA NAVBAR MOBILE PEQUENO ===== */
    .nav-container {
        height: 85px; /* MUDADO de 80px para 85px */
        padding: 0 1rem;
    }

    /* ===== AJUSTE 1: LOGO MOBILE MAIOR ===== */
    .nav-logo a img {
        height: 75px; /* MUDADO de 45px para 75px */
    }
    /* ====================================== */

    .nav-menu {
        gap: 0.5rem;
    }

    .title-main {
        font-size: 2rem;
    }

    .title-sub {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.875rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .stat-number {
        font-size: 2rem;
    }

    .portfolio-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    section {
        padding: 2.5rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }
}

/* ========================================
   UTILITY CLASSES - CLASSES UTILITÁRIAS (Mantidas)
   ======================================== */

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.bg-light {
    background: var(--color-light);
}

.bg-dark {
    background: var(--color-dark);
}

/* Scroll Progress Bar (Agora PRETO/VERMELHO) */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    z-index: 10001;
    transition: width 0.1s ease;
}