/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #2c2c2c;
    --secondary-dark: #1a1a1a;
    --accent-gold: #d4af37;
    --light-gold: #f4e4a6;
    --text-white: #ffffff;
    --text-light: #e0e0e0;
    --text-gray: #b0b0b0;
    --gradient-gold: linear-gradient(135deg, #d4af37, #f4e4a6);
    --gradient-dark: linear-gradient(135deg, #2c2c2c, #1a1a1a);
    --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.3);
    --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0;
}

.nav-brand span {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 300;
}

.brand-logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: var(--transition);
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 8px 20px;
    border-radius: 25px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.nav-menu a:hover {
    color: var(--secondary-dark);
    font-weight: 600;
}

.nav-menu a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--accent-gold);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-dark);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23d4af37" stop-opacity="0.1"/><stop offset="100%" stop-color="%23d4af37" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-text {
    max-width: 600px;
    animation-delay: 0.5s;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    animation-delay: 0.7s;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    background: transparent;
}

.hero-image img:hover {
    transform: none;
    box-shadow: none;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--secondary-dark);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: var(--secondary-dark);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 100px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--secondary-dark);
}

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

.about-text h3 {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

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

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

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--primary-dark);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-color: var(--accent-gold);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
    text-align: center;
    width: 100%;
    display: block;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--secondary-dark);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--secondary-dark);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

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

.service-card ul {
    list-style: none;
}

.service-card li {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* Layout Desktop - Cards especiais */
.service-card-horizontal {
    grid-column: 1 / span 2; /* Ocupa 2/3 do espaço (2 colunas) */
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    align-items: start;
    gap: 2rem;
    padding: 3rem;
}

.service-card-horizontal .service-icon {
    grid-row: 1 / 3;
    margin-bottom: 0;
    align-self: center;
    width: 100px;
    height: 100px;
}

.service-card-horizontal .service-icon i {
    font-size: 2.5rem;
}

.service-card-horizontal h3 {
    grid-column: 2;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.service-card-horizontal p {
    grid-column: 2;
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

.service-card-horizontal ul {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: center;
    background: var(--primary-dark);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    min-width: 200px;
}

.service-card-horizontal li {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.service-card-horizontal:hover ul {
    border-color: var(--accent-gold);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.service-card-horizontal:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-dark);
    border-color: var(--accent-gold);
}

.service-card-horizontal.animate-on-scroll {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-card-juridico {
    grid-column: 3; /* Ocupa 1/3 do espaço (1 coluna) */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 400px;
}

.service-card-juridico .service-icon {
    margin-bottom: 1.5rem;
}

.service-card-juridico h3 {
    margin-bottom: 1rem;
}

.service-card-juridico p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-card-juridico ul {
    margin-top: auto;
}

/* Team Section */
.team {
    background: var(--secondary-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    justify-items: center;
}

.team-member {
    background: var(--primary-dark);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
    max-width: 350px;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
    border-color: var(--accent-gold);
}

.member-photo {
    width: 120px;
    height: 120px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.team-member:hover .member-photo {
    transform: scale(1.1);
}

.member-photo i {
    font-size: 3rem;
    color: var(--secondary-dark);
}

.team-member h3 {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.member-contact a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.member-contact a:hover {
    color: var(--accent-gold);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--secondary-dark);
}

.contact-details h3 {
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-details a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--accent-gold);
}

/* Contact Form */
.contact-form {
    background: var(--secondary-dark);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--primary-dark);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    color: var(--text-white);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

/* Footer */
.footer {
    background: var(--secondary-dark);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

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

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--text-gray);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    z-index: 1000;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* BPO Contábil Section */
.bpo-section {
    padding: 100px 0;
    background: var(--secondary-dark);
}

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

.bpo-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bpo-subtitle {
    font-size: 1.3rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.bpo-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.bpo-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.bpo-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--primary-dark);
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition);
}

.bpo-feature:hover {
    border-color: var(--accent-gold);
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--secondary-dark);
}

.feature-text h3 {
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-text p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.bpo-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
}

.bpo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--primary-dark);
    border: 2px dashed rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.bpo-placeholder:hover {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
}

.bpo-placeholder i {
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.bpo-placeholder p {
    color: var(--text-gray);
    font-size: 1.1rem;
    text-align: center;
    font-weight: 500;
}

.bpo-real-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.bpo-real-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.2);
}

/* Clients Section */
.clients {
    padding: 100px 0;
    background: var(--primary-dark);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.client-card {
    background: var(--secondary-dark);
    padding: 1rem;
    border-radius: 15px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.client-card:hover::before {
    opacity: 0.1;
}

.client-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-gold);
    border-color: var(--accent-gold);
}

.client-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.client-card:hover .client-logo {
    transform: scale(1.2) rotate(5deg);
}

.client-logo i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    transition: var(--transition);
}

.client-card:hover .client-logo i {
    color: var(--light-gold);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    filter: brightness(1) contrast(1);
    border-radius: 8px;
}

.client-card:hover .client-logo img {
    filter: brightness(1.2) contrast(1.1);
}

/* Responsive Design - Estrutura Otimizada */

/* Tablets (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .container {
        padding: 0 30px;
    }
    
    /* Hero Section - Tablet */
    .hero-layout {
        gap: 3rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-image img {
        max-width: 450px;
    }
    
    /* Services Grid - Tablet */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .service-card-horizontal {
        grid-column: 1 / -1;
    }
    
    .service-card-juridico {
        grid-column: 1 / -1;
    }
    
    /* BPO Section - Tablet */
    .bpo-content {
        gap: 3rem;
    }
    
    /* Clients Grid - Tablet */
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    /* Team Grid - Tablet */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Contact Section - Tablet */
    .contact-content {
        gap: 3rem;
    }
}

/* Mobile Grande (480px - 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .container {
        padding: 0 25px;
    }
    
    /* Navigation - Mobile */
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--secondary-dark);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Header - Mobile */
    .brand-logo {
        height: 45px;
        max-width: 180px;
    }
    
    /* Hero Section - Mobile Grande */
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        min-height: auto;
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-text {
        order: 1;
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
        line-height: 1.1;
        margin-bottom: 1.2rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-image {
        order: 2;
        margin-top: 1.5rem;
    }
    
    .hero-image img {
        max-width: 380px;
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 1rem;
    }
    
    .btn {
        padding: 14px 32px;
        font-size: 1rem;
    }
    
    /* Sections - Mobile Grande */
    section {
        padding: 80px 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* About Section - Mobile Grande */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .about-text h3 {
        font-size: 1.8rem;
    }
    
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Services - Mobile Grande */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
        text-align: center;
    }
    
    .service-card-horizontal {
        grid-column: 1;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 1.5rem;
        text-align: center;
        padding: 2.5rem;
    }
    
    .service-card-horizontal .service-icon {
        grid-row: 1;
        grid-column: 1;
        justify-self: center;
        margin-bottom: 1rem;
    }
    
    .service-card-horizontal h3 {
        grid-column: 1;
        grid-row: 2;
        margin-bottom: 1rem;
    }
    
    .service-card-horizontal p {
        grid-column: 1;
        grid-row: 3;
        margin-bottom: 1.5rem;
    }
    
    .service-card-horizontal ul {
        grid-column: 1;
        grid-row: 4;
        justify-self: center;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .service-card-juridico {
        grid-column: 1;
        min-height: auto;
        text-align: center;
    }
    
    /* BPO Section - Mobile Grande */
    .bpo-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .bpo-text {
        order: 1;
    }
    
    .bpo-image {
        order: 2;
        height: 300px;
    }
    
    .bpo-text h2 {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .bpo-subtitle {
        text-align: center;
    }
    
    .bpo-description {
        text-align: center;
    }
    
    .bpo-features {
        gap: 1.2rem;
        align-items: center;
    }
    
    .bpo-feature {
        padding: 1.5rem;
        text-align: center;
        align-items: center;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .feature-text {
        text-align: center;
    }
    
    /* Clients Section - Mobile Grande */
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    
    .client-card {
        padding: 0.8rem;
    }
    
    /* Team Section - Mobile Grande */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .team-member {
        max-width: 100%;
        text-align: center;
    }
    
    /* Contact Section - Mobile Grande */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .contact-item {
        align-items: center;
        text-align: center;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    /* Footer - Mobile Grande */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        text-align: center;
    }
}

/* Mobile Pequeno (320px - 479px) */
@media (max-width: 479px) {
    .container {
        padding: 0 20px;
    }
    
    /* Navigation - Mobile Pequeno */
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--secondary-dark);
        flex-direction: column;
        padding: 1.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Header - Mobile Pequeno */
    .brand-logo {
        height: 40px;
        max-width: 150px;
    }
    
    /* Hero Section - Mobile Pequeno */
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
        text-align: center;
        padding: 1.5rem 0;
    }
    
    .hero-text {
        order: 1;
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.8rem;
        line-height: 1.5;
    }
    
    .hero-image {
        order: 2;
        margin-top: 1rem;
    }
    
    .hero-image img {
        max-width: 280px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        width: 100%;
    }
    
    .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    /* Sections - Mobile Pequeno */
    section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .section-header p {
        font-size: 0.95rem;
        margin-top: 0.8rem;
    }
    
    /* About Section - Mobile Pequeno */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .stat-item {
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Services - Mobile Pequeno */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .service-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 1rem;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
    
    .service-card-horizontal {
        grid-column: 1;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 1.2rem;
        text-align: center;
        padding: 2rem;
    }
    
    .service-card-horizontal .service-icon {
        grid-row: 1;
        grid-column: 1;
        justify-self: center;
        margin-bottom: 0.8rem;
    }
    
    .service-card-horizontal h3 {
        grid-column: 1;
        grid-row: 2;
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .service-card-horizontal p {
        grid-column: 1;
        grid-row: 3;
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }
    
    .service-card-horizontal ul {
        grid-column: 1;
        grid-row: 4;
        justify-self: center;
        max-width: 250px;
        margin: 0 auto;
        padding: 1.2rem;
    }
    
    .service-card-juridico {
        grid-column: 1;
        min-height: auto;
        text-align: center;
        padding: 1.5rem;
    }
    
    /* BPO Section - Mobile Pequeno */
    .bpo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .bpo-text {
        order: 1;
    }
    
    .bpo-image {
        order: 2;
        height: 250px;
    }
    
    .bpo-text h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .bpo-subtitle {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .bpo-description {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: center;
    }
    
    .bpo-features {
        gap: 1rem;
        align-items: center;
    }
    
    .bpo-feature {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
        gap: 0.8rem;
        align-items: center;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto;
        flex-shrink: 0;
    }
    
    .feature-icon i {
        font-size: 1.2rem;
    }
    
    .feature-text {
        text-align: center;
        width: 100%;
    }
    
    .feature-text h3 {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .feature-text p {
        font-size: 0.85rem;
        text-align: center;
        margin: 0;
    }
    
    /* Clients Section - Mobile Pequeno */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .client-card {
        padding: 0.6rem;
    }
    
    /* Team Section - Mobile Pequeno */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .team-member {
        max-width: 100%;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    
    .member-photo {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }
    
    .member-photo i {
        font-size: 2.5rem;
    }
    
    .team-member h3 {
        font-size: 1.3rem;
    }
    
    .team-member p {
        font-size: 0.9rem;
    }
    
    .member-contact a {
        font-size: 0.85rem;
        display: block;
        margin-bottom: 0.3rem;
    }
    
    /* Contact Section - Mobile Pequeno */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
        align-items: center;
        width: 100%;
    }
    
    .contact-icon {
        margin: 0 auto 0.8rem;
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }
    
    .contact-icon i {
        font-size: 1.2rem;
    }
    
    .contact-details {
        text-align: center;
        width: 100%;
    }
    
    .contact-details h3 {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
        line-height: 1.5;
        text-align: center;
        margin: 0;
    }
    
    .contact-details a {
        display: block;
        text-align: center;
        margin-bottom: 0.2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    /* Footer - Mobile Pequeno */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.8rem;
    }
    
    /* WhatsApp Button - Mobile */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.3rem;
    }
}

/* Scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .animate-on-scroll {
        animation-duration: 0.6s;
        animation-fill-mode: both;
    }

    .animate-on-scroll:nth-child(1) { animation-delay: 0.1s; }
    .animate-on-scroll:nth-child(2) { animation-delay: 0.2s; }
    .animate-on-scroll:nth-child(3) { animation-delay: 0.3s; }
    .animate-on-scroll:nth-child(4) { animation-delay: 0.4s; }
    .animate-on-scroll:nth-child(5) { animation-delay: 0.5s; }
    .animate-on-scroll:nth-child(6) { animation-delay: 0.6s; }
} 