/* ============================================
   THIAGO NUNES - PORTFÓLIO PROFISSIONAL
   Design Limpo, Moderno e Responsivo
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Colors */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #0f172a;
    --accent: #06b6d4;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* WhatsApp */
    --whatsapp: #25d366;
    --whatsapp-dark: #128c7e;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ============================================
   ACCESSIBILITY - Skip Link
   ============================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
    text-decoration: none;
}

.skip-link:focus {
    top: 10px;
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* ============================================
   ACCESSIBILITY - Focus Styles
   ============================================ */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

/* High contrast focus for dark backgrounds */
.diferenciais *:focus-visible,
.footer *:focus-visible {
    outline-color: var(--accent);
}

/* ============================================
   ACCESSIBILITY - Font Size Controls
   ============================================ */
.font-size-controls {
    display: flex;
    gap: 4px;
    margin-right: 8px;
}

.font-size-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    border: none;
    cursor: pointer;
}

.font-size-btn:hover {
    background: var(--gray-200);
    color: var(--primary);
}

/* Font size classes */
html.font-size-small {
    font-size: 14px;
}

html.font-size-large {
    font-size: 18px;
}

html.font-size-xlarge {
    font-size: 20px;
}

/* ============================================
   ACCESSIBILITY - Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .whatsapp-float {
        animation: none !important;
    }
}

/* ============================================
   ACCESSIBILITY - Footer Note
   ============================================ */
.footer-accessibility {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 24px;
}

.footer-accessibility p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--gray-400);
    text-align: center;
    margin: 0;
}

.footer-accessibility i {
    font-size: 1.25rem;
    color: var(--primary-light);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--gray-900);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
}

strong {
    font-weight: 600;
    color: var(--gray-800);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all var(--transition-normal);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    width: 100%;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    font-size: 1.125rem;
    padding: 16px 32px;
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition-normal);
}

.header.scrolled {
    background: var(--white);
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.logo-accent {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: stretch;
    gap: 4px;
}

.nav-menu li {
    display: flex;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius);
    transition: all var(--transition-fast);
    text-align: center;
    line-height: 1.3;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--primary);
    background: var(--gray-100);
}

.nav-link.nav-cta {
    background: var(--primary);
    color: var(--white);
    margin-left: 4px;
}

.nav-link.nav-cta:hover,
.nav-link.nav-cta:focus-visible {
    background: var(--primary-dark);
    color: var(--white);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: var(--radius);
}

.hamburger {
    display: block;
    position: relative;
    width: 100%;
    height: 2px;
    background: var(--gray-700);
    transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gray-700);
    transition: all var(--transition-fast);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 60px;
}

.hero-title {
    margin-bottom: 24px;
    color: var(--gray-900);
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Services Mini Cards */
.hero-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card-mini {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-100);
}

.service-card-mini:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-card-mini .service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
}

.service-card-mini h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.service-card-mini p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

/* ============================================
   SECTIONS - GENERAL
   ============================================ */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-title {
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin: 0;
}

/* ============================================
   SOBRE MIM
   ============================================ */
.sobre {
    background: var(--white);
}

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

.sobre-intro {
    font-size: 1.25rem;
    text-align: center;
    color: var(--gray-700);
    margin-bottom: 48px;
}

.sobre-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.highlight-item i {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.highlight-item h4 {
    margin-bottom: 4px;
    color: var(--gray-900);
}

.highlight-item p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin: 0;
}

.sobre-closing {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.sobre .btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
}

/* ============================================
   SERVIÇOS
   ============================================ */
.servicos {
    background: var(--gray-50);
}

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

.servico-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}

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

.servico-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.servico-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.servico-header h3 {
    flex: 1;
}

.servico-body {
    flex: 1;
}

.servico-list {
    margin-bottom: 20px;
}

.servico-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--gray-700);
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--gray-100);
}

.servico-list li:last-child {
    border-bottom: none;
}

.servico-list i {
    color: var(--primary);
    font-size: 0.875rem;
}

.servico-desc {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.servico-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tool-tag {
    padding: 6px 12px;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 100px;
}

/* ============================================
   PORTFÓLIO
   ============================================ */
.portfolio {
    background: var(--white);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-600);
    background: var(--gray-100);
    border-radius: 100px;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.portfolio-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-100);
}

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

.portfolio-item.hidden {
    display: none;
}

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

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gray-400);
}

/* Portfolio thumbnail image */
.portfolio-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s ease;
}

.portfolio-link:hover .portfolio-thumbnail {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 16px;
    left: 16px;
}

.portfolio-category {
    padding: 6px 14px;
    background: var(--white);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 100px;
    box-shadow: var(--shadow);
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.portfolio-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.5;
}

/* Portfolio Link (clickable card) */
.portfolio-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.portfolio-link:hover {
    text-decoration: none;
    color: inherit;
}

.portfolio-link .portfolio-item,
.portfolio-link:focus {
    outline: none;
}

.portfolio-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius);
}

/* Active placeholder (project with live link) */
.portfolio-placeholder--active {
    background: linear-gradient(135deg, #F5E6E0 0%, #E8D5CC 50%, #D4BFB3 100%) !important;
    color: #B85A42 !important;
}

[data-theme="dark"] .portfolio-placeholder--active {
    background: linear-gradient(135deg, #3D2820 0%, #4A3028 50%, #5A3830 100%) !important;
    color: #D4907A !important;
}

/* Hover overlay for clickable cards */
.portfolio-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.portfolio-link:hover .portfolio-hover-overlay,
.portfolio-link:focus-visible .portfolio-hover-overlay {
    opacity: 1;
}

.portfolio-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--white);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.portfolio-link:hover .portfolio-view-btn {
    transform: scale(1.05);
}

/* Status badge */
.portfolio-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-status--live {
    color: #3D7A5F;
}

.portfolio-status--live i {
    font-size: 0.5rem;
    animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

[data-theme="dark"] .portfolio-status--live {
    color: #6BC99A;
}

.portfolio-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 24px;
    background: var(--gray-100);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.portfolio-note i {
    color: var(--primary);
    margin-top: 3px;
}

.portfolio-note span {
    flex: 1;
}

/* ============================================
   PROCESSO
   ============================================ */
.processo {
    background: var(--gray-50);
}

.processo-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.processo-item {
    text-align: center;
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition-normal);
}

.processo-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.processo-number {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.processo-content h3 {
    margin-bottom: 8px;
}

.processo-content p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin: 0;
}

.processo-cta {
    text-align: center;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.processo-cta p {
    margin: 0;
    color: var(--gray-600);
}

/* ============================================
   DIFERENCIAIS
   ============================================ */
.diferenciais {
    background: var(--secondary);
    color: var(--white);
}

.diferenciais .section-tag {
    background: rgba(255, 255, 255, 0.1);
}

.diferenciais .section-title {
    color: var(--white);
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.diferencial-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
}

.diferencial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.diferencial-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.diferencial-card h3 {
    color: var(--white);
    margin-bottom: 12px;
}

.diferencial-card p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    margin: 0;
}

/* ============================================
   DEPOIMENTOS
   ============================================ */
.depoimentos {
    background: var(--white);
}

.depoimentos-placeholder {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-200);
}

.depoimento-icon {
    font-size: 3rem;
    color: var(--gray-300);
    margin-bottom: 24px;
}

.depoimentos-placeholder p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.depoimentos-placeholder span {
    display: block;
    font-size: 0.9375rem;
    color: var(--gray-400);
    margin-bottom: 32px;
}

/* ============================================
   CONTATO
   ============================================ */
.contato {
    background: var(--gray-50);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition-normal);
}

.contato-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.contato-icon {
    width: 56px;
    height: 56px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contato-item:nth-child(2) .contato-icon {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp);
}

.contato-item:nth-child(3) .contato-icon {
    background: rgba(225, 48, 108, 0.1);
    color: #e1306c;
}

.contato-details h4 {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-bottom: 4px;
}

.contato-details a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.contato-details a:hover {
    color: var(--primary);
}

.contato-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contato-cta p {
    color: var(--gray-600);
    margin-bottom: 24px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--secondary);
    color: var(--gray-400);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9375rem;
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact ul li i {
    color: var(--primary-light);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    color: var(--gray-400);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    background: var(--whatsapp-dark);
    transform: scale(1.1);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 992px) {
    .hero-services {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .sobre-highlights {
        grid-template-columns: 1fr;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .processo-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contato-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }
    
    /* Navigation Mobile */
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        display: flex;
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 14px 16px;
        line-height: 1.4;
        white-space: normal;
    }
    
    .nav-link.nav-cta {
        margin-left: 0;
        margin-top: 12px;
        padding: 16px;
    }
    
    /* Hero */
    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-services {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .service-card-mini {
        padding: 24px 20px;
    }
    
    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-filter {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }
    
    /* Processo */
    .processo-timeline {
        grid-template-columns: 1fr;
    }
    
    /* Diferenciais */
    .diferenciais-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-contact ul li {
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9375rem;
    }
    
    .servico-card {
        padding: 24px;
    }
    
    .contato-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .contato-cta {
        padding: 24px;
    }
    
    .portfolio-note {
        flex-direction: column;
        text-align: center;
    }
    
    /* Font size controls on small mobile */
    .font-size-controls {
        display: none;
    }
    
    /* Footer accessibility note */
    .footer-accessibility p {
        flex-direction: column;
        gap: 8px;
    }
}

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

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

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
}

.theme-toggle:hover {
    background: var(--gray-200);
    color: var(--primary);
    transform: rotate(15deg);
}

/* ============================================
   DARK THEME
   ============================================ */
[data-theme="dark"] {
    /* Dark mode colors */
    --white: #0f172a;
    --gray-50: #1e293b;
    --gray-100: #334155;
    --gray-200: #475569;
    --gray-300: #64748b;
    --gray-400: #94a3b8;
    --gray-500: #cbd5e1;
    --gray-600: #e2e8f0;
    --gray-700: #f1f5f9;
    --gray-800: #f8fafc;
    --gray-900: #ffffff;
    --secondary: #1e293b;
    
    /* Adjusted shadows for dark mode */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

/* Dark theme specific styles */
[data-theme="dark"] body {
    background-color: #0f172a;
}

[data-theme="dark"] .skip-link {
    background: var(--primary-light);
}

[data-theme="dark"] *:focus-visible {
    outline-color: var(--accent);
}

[data-theme="dark"] .font-size-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

[data-theme="dark"] .font-size-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .header.scrolled {
    background: #0f172a;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .logo-text {
    color: #ffffff;
}

[data-theme="dark"] .nav-link {
    color: #cbd5e1;
}

[data-theme="dark"] .nav-link:hover {
    color: var(--primary-light);
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .nav-link.nav-cta {
    background: var(--primary);
    color: #ffffff;
}

[data-theme="dark"] .nav-link.nav-cta:hover {
    background: var(--primary-dark);
    color: #ffffff;
}

[data-theme="dark"] .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    color: #fbbf24;
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fcd34d;
}

[data-theme="dark"] .hamburger,
[data-theme="dark"] .hamburger::before,
[data-theme="dark"] .hamburger::after {
    background: #ffffff;
}

[data-theme="dark"] .hero {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

[data-theme="dark"] .hero-title {
    color: #ffffff;
}

[data-theme="dark"] .hero-subtitle {
    color: #94a3b8;
}

[data-theme="dark"] .service-card-mini {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .service-card-mini h3 {
    color: #ffffff;
}

[data-theme="dark"] .service-card-mini p {
    color: #94a3b8;
}

[data-theme="dark"] .service-card-mini .service-icon {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .section-title {
    color: #ffffff;
}

[data-theme="dark"] .sobre {
    background: #0f172a;
}

[data-theme="dark"] .sobre-intro {
    color: #e2e8f0;
}

[data-theme="dark"] .sobre-intro strong {
    color: #ffffff;
}

[data-theme="dark"] .highlight-item i {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .highlight-item h4 {
    color: #ffffff;
}

[data-theme="dark"] .highlight-item p {
    color: #94a3b8;
}

[data-theme="dark"] .sobre-closing {
    color: #cbd5e1;
}

[data-theme="dark"] .servicos {
    background: #1e293b;
}

[data-theme="dark"] .servico-card {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .servico-card h3 {
    color: #ffffff;
}

[data-theme="dark"] .servico-list li {
    color: #e2e8f0;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .servico-desc {
    color: #94a3b8;
}

[data-theme="dark"] .tool-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

[data-theme="dark"] .portfolio {
    background: #0f172a;
}

[data-theme="dark"] .filter-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

[data-theme="dark"] .filter-btn:hover,
[data-theme="dark"] .filter-btn.active {
    background: var(--primary);
    color: #ffffff;
}

[data-theme="dark"] .portfolio-item {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .portfolio-placeholder {
    background: linear-gradient(135deg, #334155 0%, #475569 100%);
    color: #94a3b8;
}

[data-theme="dark"] .portfolio-category {
    background: #1e293b;
    color: var(--primary-light);
}

[data-theme="dark"] .portfolio-info h3 {
    color: #ffffff;
}

[data-theme="dark"] .portfolio-info p {
    color: #94a3b8;
}

[data-theme="dark"] .portfolio-note {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
}

[data-theme="dark"] .processo {
    background: #1e293b;
}

[data-theme="dark"] .processo-item {
    background: #0f172a;
}

[data-theme="dark"] .processo-content h3 {
    color: #ffffff;
}

[data-theme="dark"] .processo-content p {
    color: #94a3b8;
}

[data-theme="dark"] .processo-cta {
    background: #0f172a;
}

[data-theme="dark"] .processo-cta p {
    color: #cbd5e1;
}

[data-theme="dark"] .depoimentos {
    background: #0f172a;
}

[data-theme="dark"] .depoimentos-placeholder {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .depoimento-icon {
    color: #64748b;
}

[data-theme="dark"] .depoimentos-placeholder p {
    color: #e2e8f0;
}

[data-theme="dark"] .depoimentos-placeholder span {
    color: #94a3b8;
}

[data-theme="dark"] .contato {
    background: #1e293b;
}

[data-theme="dark"] .contato-item {
    background: #0f172a;
}

[data-theme="dark"] .contato-icon {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .contato-item:nth-child(2) .contato-icon {
    background: rgba(37, 211, 102, 0.15);
}

[data-theme="dark"] .contato-item:nth-child(3) .contato-icon {
    background: rgba(225, 48, 108, 0.15);
}

[data-theme="dark"] .contato-details h4 {
    color: #94a3b8;
}

[data-theme="dark"] .contato-details a {
    color: #ffffff;
}

[data-theme="dark"] .contato-cta {
    background: #0f172a;
}

[data-theme="dark"] .contato-cta p {
    color: #cbd5e1;
}

[data-theme="dark"] .diferenciais .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

[data-theme="dark"] .diferencial-card h3 {
    color: #ffffff;
}

[data-theme="dark"] .diferencial-card p {
    color: #94a3b8;
}

[data-theme="dark"] .footer {
    background: #0a0f1a;
}

[data-theme="dark"] .footer-content {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .footer-links h4,
[data-theme="dark"] .footer-contact h4 {
    color: #ffffff;
}

[data-theme="dark"] .footer-links a,
[data-theme="dark"] .footer-contact a {
    color: #94a3b8;
}

[data-theme="dark"] .footer-links a:hover,
[data-theme="dark"] .footer-contact a:hover {
    color: var(--primary-light);
}

[data-theme="dark"] .footer-social a {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .footer-social a:hover {
    background: var(--primary);
}

[data-theme="dark"] .nav-menu {
    background: #0f172a;
}

[data-theme="dark"] .btn-secondary {
    background: transparent;
    color: var(--primary-light);
    border-color: var(--primary-light);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

[data-theme="dark"] .btn-outline {
    color: var(--primary-light);
    border-color: var(--primary-light);
}

[data-theme="dark"] .btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Theme transition */
body,
.header,
.hero,
.section,
.service-card-mini,
.servico-card,
.portfolio-item,
.processo-item,
.contato-item,
.contato-cta,
.depoimentos-placeholder,
.footer,
.nav-menu,
.theme-toggle {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
