/* ============================================
   PAULO ANDRADE ADVOGADOS - PREMIUM DESIGN
   Corporate Law Firm - High Ticket Aesthetic
   VERSÃO RESPONSIVA COMPLETA
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;600;700&display=swap');

/* CSS Variables - Premium Palette */
:root {
    --color-primary: #1a2a5e;
    --color-primary-light: #2b3990;
    --color-primary-dark: #0f1a3d;
    --color-accent: #b8926a;
    --color-accent-light: #d4b896;
    --color-white: #ffffff;
    --color-off-white: #f8f7f5;
    --color-gray-100: #e8e7e5;
    --color-gray-200: #c9c8c5;
    --color-gray-300: #999999;
    --color-gray-400: #666666;
    --color-dark: #0a0a0a;
    --color-dark-lighter: #141414;
    --color-dark-card: #1a1a1a;
    
    --font-display: 'Inter', Georgia, serif;
    --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-subtle: 0 2px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(43, 57, 144, 0.15);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Previne problemas de zoom */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--color-dark);
    color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Previne scroll horizontal no zoom */
    max-width: 100vw;
}

/* Selection */
::selection {
    background: var(--color-primary-light);
    color: var(--color-white);
}

/* ============================================
   NAVIGATION
   ============================================ */
nav {
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-smooth);
    padding: 1.75rem 0;
    background: transparent;
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container a img {
    height: auto;
    width: 220px;
    transition: opacity var(--transition-fast);
}

.nav-container a:hover img {
    opacity: 0.85;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--color-white);
}

.logo span {
    font-weight: 600;
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: all var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--color-accent-light);
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color var(--transition-fast);
}

.mobile-toggle:hover {
    color: var(--color-accent);
}

/* ============================================
   HERO SECTION - SOLUÇÃO ROBUSTA PARA ZOOM
   ============================================ */
.hero {
    width: 100%;
    min-height: 100vh;
    min-height: 100svh; /* Small viewport height - melhor para mobile */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding-left: 8%;
    /* Padding-top garante distância do navbar em qualquer zoom */
    padding-top: 120px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    background-color: var(--color-dark);
}

/* Imagem de fundo como elemento separado para melhor controle */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
    z-index: 0;
    /* Previne problemas de zoom */
    min-width: 100%;
    min-height: 100%;
}

/* Fallback com background-image para browsers antigos */
.hero.no-img-support {
    background-image: url("https://pauloandradeadvogados.com.br/img/imagem-hero.png");
    background-size: cover;
    background-position: 70% center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.8) 35%,
        rgba(10, 10, 10, 0.5) 60%,
        rgba(10, 10, 10, 0.2) 80%,
        transparent 100%
    );
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 720px;
    padding: 2rem 3rem;
    animation: fadeInUp 1s ease-out;
    /* Garante que não suba demais em zoom menor */
    margin-top: auto;
    margin-bottom: auto;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--color-accent);
    padding: 0.65rem 1.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-accent-light);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.75rem;
    letter-spacing: -0.5px;
    color: var(--color-white);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero h1 span {
    display: block;
    font-weight: 600;
    color: var(--color-primary-light);
    font-size: 0.85em;
    margin-top: 0.25rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--color-gray-200);
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 580px;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Tópicos de áreas */
.topicos-p {
    font-size: 0.9rem !important;
}

.topicos-p a {
    text-decoration: none !important;
    color: var(--color-gray-200) !important;
    transition: color var(--transition-fast);
}

.topicos-p a:hover {
    text-decoration: none !important;
    color: var(--color-primary-light) !important;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.5s both;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-primary-light);
    color: var(--color-white);
    padding: 1.1rem 2.25rem;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all var(--transition-smooth);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--color-primary-dark), var(--color-primary-light));
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(43, 57, 144, 0.35);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: var(--color-white);
    padding: 1.1rem 2.25rem;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent-light);
    background: rgba(184, 146, 106, 0.08);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounce 2.5s infinite;
}

.scroll-indicator a .icon {
    color: var(--color-white);
    opacity: 0.6;
    transition: all var(--transition-fast);
}

.scroll-indicator a:hover .icon {
    color: var(--color-accent);
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    background: var(--color-dark-lighter);
    padding: 5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.stats-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 2rem;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-primary-light);
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--color-gray-300);
    text-transform: uppercase;
}

/* ============================================
   EXPERTISE SECTION
   ============================================ */
.expertise {
    padding: 8rem 2rem;
    background: var(--color-dark);
    position: relative;
}

.expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    color: var(--color-white);
}

.section-header h2 span {
    font-weight: 600;
    color: var(--color-primary-light);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-gray-300);
    line-height: 1.8;
}

.expertise-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.expertise-card {
    background: var(--color-dark-card);
    padding: 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: 
        transform var(--transition-smooth),
        border-color var(--transition-smooth),
        box-shadow var(--transition-smooth);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.expertise-card:hover {
    border-color: var(--color-primary-light);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.expertise-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.75rem;
    color: var(--color-primary-light);
    transition: all var(--transition-smooth);
}

.expertise-card:hover .expertise-icon {
    color: var(--color-accent);
    transform: scale(1.1);
}

.expertise-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
    color: var(--color-white);
}

.expertise-card p {
    color: var(--color-gray-300);
    line-height: 1.8;
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
}

.expertise-link {
    color: var(--color-primary-light);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all var(--transition-smooth);
    text-transform: uppercase;
}

.expertise-link::after {
    content: '→';
    transition: transform var(--transition-smooth);
}

.expertise-card:hover .expertise-link {
    color: var(--color-accent);
}

.expertise-card:hover .expertise-link::after {
    transform: translateX(5px);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-lighter) 100%);
    position: relative;
}

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

.about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: var(--color-white);
}

.about-content h2 span {
    font-weight: 600;
    color: var(--color-primary-light);
}

.about-content p {
    color: var(--color-gray-300);
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.values-box {
    background: var(--color-dark-card);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}

.values-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primary-light), var(--color-accent));
}

.values-box h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
    color: var(--color-white);
}

.values-box ul {
    list-style: none;
    padding: 0;
}

.values-box ul li {
    color: var(--color-gray-300);
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
}

.values-box ul li:last-child {
    border-bottom: none;
}

.values-box ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    border-radius: 50%;
}

.value-item {
    border-left: 2px solid var(--color-primary-light);
    padding-left: 1.5rem;
    margin-bottom: 1.75rem;
    transition: all var(--transition-fast);
}

.value-item:hover {
    border-left-color: var(--color-accent);
}

.value-item h4 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    color: var(--color-white);
    text-transform: uppercase;
}

.value-item p {
    color: var(--color-gray-300);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 8rem 2rem;
    background: var(--color-dark-lighter);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact-box {
    background: var(--color-dark);
    padding: 3.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 3.5rem;
    position: relative;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-light), var(--color-accent));
}

.contact-info {
    text-align: left;
}

.contact-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.75rem 0;
    transition: all var(--transition-fast);
}

.contact-item:hover {
    padding-left: 1rem;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    color: var(--color-accent);
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.contact-value {
    font-size: 1.15rem;
    color: var(--color-white);
    font-weight: 400;
}

.contact-value.small {
    color: var(--color-gray-300);
    font-size: 1rem;
    margin-top: 0.25rem;
}

.btn-contact {
    width: 100%;
    margin-top: 2.5rem;
    justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--color-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.footer-logo a img {
    height: auto;
    width: 180px;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.footer-logo a:hover img {
    opacity: 1;
}

.footer-logo span {
    font-weight: 600;
    color: var(--color-accent);
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--color-gray-400);
    letter-spacing: 0.5px;
}

/* ============================================
   INTERNAL PAGES - CONTENT CONTAINER
   ============================================ */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 120px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.details-content {
    max-width: 800px;
}

.details-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    color: var(--color-white);
    line-height: 1.2;
}

.details-content h2 span {
    font-weight: 600;
    color: var(--color-primary-light);
}

.details-content p {
    font-size: 1.15rem;
    color: var(--color-gray-300);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.details-content .values-box {
    margin-top: 2rem;
}

/* ============================================
   RESPONSIVE DESIGN - TELAS 4K E ULTRA-WIDE
   ============================================ */
@media (min-width: 2560px) {
    html {
        font-size: 20px;
    }
    
    .nav-container {
        max-width: 2000px;
    }
    
    .nav-container a img {
        width: 280px;
    }
    
    .hero {
        padding-left: 12%;
        padding-top: 160px;
    }
    
    .hero-content {
        max-width: 900px;
    }
    
    .hero-bg {
        object-position: 60% center;
    }
    
    .stats-grid,
    .expertise-grid,
    .about-container {
        max-width: 2000px;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-container {
        max-width: 1200px;
    }
    
    .footer-container {
        max-width: 2000px;
    }
}

/* Telas muito grandes (3840px - 4K) */
@media (min-width: 3840px) {
    html {
        font-size: 24px;
    }
    
    .nav-container,
    .stats-grid,
    .expertise-grid,
    .about-container,
    .footer-container {
        max-width: 2800px;
    }
    
    .hero {
        padding-left: 15%;
    }
    
    .hero-content {
        max-width: 1100px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - DESKTOP PADRÃO
   ============================================ */
@media (max-width: 1440px) {
    .hero {
        padding-left: 6%;
    }
    
    .hero-bg {
        object-position: 65% center;
    }
}

@media (max-width: 1200px) {
    .hero {
        padding-left: 5%;
    }
    
    .hero-content {
        max-width: 600px;
    }
    
    .hero-bg {
        object-position: 70% center;
    }
}

/* ============================================
   RESPONSIVE DESIGN - TABLET / iPad
   ============================================ */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 2rem;
    }
    
    .hero {
        padding-left: 4%;
    }
    
    .hero-content {
        max-width: 550px;
        padding: 2.5rem;
    }
    
    .hero-bg {
        object-position: 75% center;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item:nth-child(2)::after {
        display: none;
    }
}

/* iPad Pro (1024px) */
@media (min-width: 1024px) and (max-width: 1024px) and (orientation: portrait) {
    .hero {
        padding-left: 5%;
        min-height: 70vh;
    }
    
    .hero-bg {
        object-position: center center;
    }
    
    .hero::before {
        background: linear-gradient(
            90deg,
            rgba(10, 10, 10, 0.95) 0%,
            rgba(10, 10, 10, 0.85) 40%,
            rgba(10, 10, 10, 0.6) 70%,
            rgba(10, 10, 10, 0.3) 100%
        );
    }
}

/* iPad Air / iPad Mini (768px - 834px) */
@media (min-width: 768px) and (max-width: 834px) {
    .hero {
        padding-left: 5%;
        min-height: 80vh;
    }
    
    .hero-content {
        max-width: 500px;
        padding: 2rem;
    }
    
    .hero-bg {
        object-position: 65% center;
    }
    
    .hero::before {
        background: linear-gradient(
            90deg,
            rgba(10, 10, 10, 0.95) 0%,
            rgba(10, 10, 10, 0.85) 45%,
            rgba(10, 10, 10, 0.5) 75%,
            transparent 100%
        );
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.05rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE (868px e menor)
   ============================================ */
@media (max-width: 868px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-container a img {
        width: 160px;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        opacity: 0;
        transition: all var(--transition-smooth);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .hero {
        padding-left: 0;
        padding-top: 100px;
        padding-bottom: 80px;
        justify-content: center;
        text-align: center;
        min-height: 100vh;
        min-height: 100svh;
    }
    
    .hero-bg {
        object-position: center center;
    }
    
    .hero::before {
        background: linear-gradient(
            180deg,
            rgba(10, 10, 10, 0.7) 0%,
            rgba(10, 10, 10, 0.85) 30%,
            rgba(10, 10, 10, 0.9) 60%,
            rgba(10, 10, 10, 0.95) 100%
        );
    }
    
    .hero-content {
        max-width: 100%;
        padding: 1.5rem 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-badge {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero p {
        font-size: 1rem;
        text-align: center;
        max-width: 100%;
    }
    
    .topicos-p {
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 0.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .stat-item::after {
        display: none;
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .section-header h2,
    .about-content h2 {
        font-size: 2rem;
    }
    
    .expertise-card {
        padding: 2rem;
    }
    
    .contact-box {
        padding: 2rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* ============================================
   RESPONSIVE DESIGN - SMARTPHONES GRANDES
   Samsung Galaxy S21/S22/S23 (412px)
   iPhone 12/13/14 Pro Max (428px)
   ============================================ */
@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    nav {
        padding: 1rem 0;
    }
    
    .nav-container {
        padding: 0 1.25rem;
    }
    
    .nav-container a img {
        width: 140px;
    }
    
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        padding-top: 90px;
        padding-bottom: 60px;
    }
    
    .hero-content {
        padding: 1rem 1.5rem;
    }
    
    .hero-badge {
        font-size: 0.6rem;
        padding: 0.5rem 1rem;
        letter-spacing: 2px;
        margin-bottom: 2rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }
    
    .topicos-p {
        font-size: 0.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .cta-buttons {
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 1.25rem;
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }
    
    .stats {
        padding: 3rem 1.5rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }
    
    .expertise {
        padding: 4rem 1.5rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .expertise-card {
        padding: 1.75rem;
    }
    
    .expertise-card h3 {
        font-size: 1.25rem;
    }
    
    .expertise-card p {
        font-size: 0.9rem;
    }
    
    .about {
        padding: 4rem 1.5rem;
    }
    
    .about-content h2 {
        font-size: 1.75rem;
    }
    
    .about-content p {
        font-size: 0.95rem;
    }
    
    .values-box {
        padding: 2rem;
    }
    
    .values-box h3 {
        font-size: 1.25rem;
    }
    
    .value-item h4 {
        font-size: 0.8rem;
    }
    
    .value-item p {
        font-size: 0.9rem;
    }
    
    .contact {
        padding: 4rem 1.5rem;
    }
    
    .contact-box {
        padding: 1.75rem;
    }
    
    .contact-value {
        font-size: 1rem;
    }
    
    .content-container {
        padding-top: 100px;
    }
    
    .details-content h2 {
        font-size: 1.75rem;
    }
    
    footer {
        padding: 2rem 1.5rem;
    }
    
    .footer-logo a img {
        width: 150px;
    }
    
    .footer-copyright {
        font-size: 0.75rem;
    }
}

/* ============================================
   RESPONSIVE DESIGN - SMARTPHONES PEQUENOS
   iPhone SE (375px)
   Samsung Galaxy S (360px)
   ============================================ */
@media (max-width: 375px) {
    html {
        font-size: 14px;
    }
    
    .nav-container a img {
        width: 130px;
    }
    
    .hero {
        padding-top: 85px;
    }
    
    .hero-content {
        padding: 1rem 1.25rem;
    }
    
    .hero-badge {
        font-size: 0.55rem;
        padding: 0.4rem 0.8rem;
        letter-spacing: 1.5px;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .topicos-p {
        font-size: 0.75rem !important;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.85rem 1rem;
        font-size: 0.65rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
    }
    
    .expertise-card {
        padding: 1.5rem;
    }
    
    .values-box {
        padding: 1.5rem;
    }
    
    .contact-box {
        padding: 1.5rem;
    }
}

/* ============================================
   RESPONSIVE - HEIGHT BASED
   ============================================ */
@media (max-height: 700px) {
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Landscape mode em smartphones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .hero-content {
        padding-top: 20px;
    }
    
    .hero-badge {
        margin-bottom: 1rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero p {
        margin-bottom: 1rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    nav, .scroll-indicator, .btn-primary, .btn-secondary, .hero-bg {
        display: none;
    }
    
    .hero {
        background: none;
        color: #000;
        min-height: auto;
        padding: 2rem;
    }
    
    .hero::before,
    .hero::after {
        display: none;
    }
    
    body {
        background: #fff;
        color: #000;
    }
    
    .hero h1,
    .hero p,
    .section-header h2,
    .about-content h2,
    .expertise-card h3,
    .values-box h3 {
        color: #000;
    }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Expertise card precisa de transitions combinadas */
.expertise-card.animate-on-scroll {
    transition: 
        opacity 0.6s ease,
        transform var(--transition-smooth),
        border-color var(--transition-smooth),
        box-shadow var(--transition-smooth);
}

/* Garante que o hover funcione após a animação */
.expertise-card.animated:hover {
    opacity: 1;
    transform: translateY(-8px) !important;
}

/* ============================================
   ACESSIBILIDADE - REDUZIR MOVIMENTO
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}
