/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #19527B;
    --primary-light: rgba(59, 130, 246, 0.3);
    --primary-dark: rgba(37, 99, 235, 1);
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
}

body {
  font-family: 'Helvetica Neue', 'Helvetica LT', Helvetica, Arial, sans-serif;
/* como fallback, adicione Inter ou Montserrat importadas do Google Fonts */
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    width: 200px;
    height: 60px;
    border-radius: 8px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

/* Novo logo com ícone de calculadora */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(25, 82, 123, 0.3);
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 82, 123, 0.4);
}

.logo-icon {
    font-size: 28px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

/* Estilos para o Portal do Cliente no Header */
.nav-item-highlight {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link-portal {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(25, 82, 123, 0.2);
    text-decoration: none;
    line-height: 1;
    position: relative;
    top: 0;
    height: fit-content;
    align-self: center;
}

.nav-link-portal:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 82, 123, 0.3);
}

.nav-link-portal::after {
    display: none;
}

.nav-link-portal i {
    font-size: 1.1rem;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section com Vídeo de Background */
.hero {
    margin-top: 80px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(25, 82, 123, 0.7) 0%, 
        rgba(25, 82, 123, 0.5) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: -1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Elementos adicionais para mobile */
.hero-features {
    display: none;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-feature-item i {
    color: #25D366;
    font-size: 1.1rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.hero-scroll-indicator span {
    font-size: 0.8rem;
    font-weight: 500;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light-blue {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-light-blue::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: left 0.5s;
}

.btn-light-blue:hover {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(96, 165, 250, 0.6);
}

.btn-light-blue:hover::before {
    left: 100%;
}

.btn-light-blue:active {
    transform: translateY(-1px);
}

/* Fallback para quando o vídeo não carrega */
.hero-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    z-index: -3;
    display: none;
}

/* Controles de vídeo personalizados (opcional) */
.video-controls {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 10;
}

.video-control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-50) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23f3f4f6" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

/* Header da seção */
.about-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.about-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-hero-image {
    position: relative;
    height: 300px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(25, 82, 123, 0.15);
    transition: all 0.3s ease;
}

.about-hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: subtle-pulse 4s ease-in-out infinite;
}

.image-placeholder {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 3rem;
    opacity: 0.9;
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Timeline */
.about-timeline {
    margin-bottom: 6rem;
}

.about-timeline h3 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-dark));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    margin: 0 2rem;
}

.marker-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 8px rgba(25, 82, 123, 0.1);
    animation: pulse 2s infinite;
}

.marker-line {
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(25, 82, 123, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(25, 82, 123, 0); }
    100% { box-shadow: 0 0 0 0 rgba(25, 82, 123, 0); }
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Estatísticas com gráficos */
.about-stats-enhanced {
    margin-bottom: 6rem;
}

.about-stats-enhanced h3 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.stat-visual {
    margin-bottom: 1.5rem;
    position: relative;
}

.circular-progress {
    position: relative;
    display: inline-block;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle-bg {
    fill: none;
    stroke: var(--gray-200);
    stroke-width: 8;
}

.progress-ring-circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 2s ease-in-out;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.counter {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.counter-suffix {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.stat-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.stat-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Diferenciais */
.about-differentials {
    margin-bottom: 6rem;
}

.about-differentials h3 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.differential-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.differential-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.differential-card:hover::before {
    opacity: 0.05;
}

.differential-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.differential-icon {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.differential-card:hover .differential-icon {
    transform: scale(1.1) rotate(5deg);
}

.differential-content {
    position: relative;
    z-index: 2;
}

.differential-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.differential-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* CTA Section */
.about-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.about-cta h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.about-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
}

/* Responsividade */
@media (max-width: 768px) {
    /* Logo responsivo */
    .logo-container {
        padding: 6px 12px;
        gap: 8px;
    }
    
    .logo-icon {
        font-size: 22px;
        padding: 6px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .about-header {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .about-title {
        font-size: 2.5rem;
    }

    .about-hero-image {
        height: 250px;
    }

    .timeline-container::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        margin-left: 60px;
    }

    .timeline-marker {
        position: absolute;
        left: -60px;
        margin: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .differentials-grid {
        grid-template-columns: 1fr;
    }

    .about-cta h3 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    /* Logo responsivo para telas pequenas */
    .logo-container {
        padding: 4px 8px;
        gap: 6px;
    }
    
    .logo-icon {
        font-size: 18px;
        padding: 4px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .about {
        padding: 60px 0;
    }

    .about-title {
        font-size: 2rem;
    }

    .about-subtitle {
        font-size: 1rem;
    }

    .about-hero-image {
        height: 180px;
    }

    .image-placeholder {
        font-size: 2.5rem;
    }

    .about-timeline h3,
    .about-stats-enhanced h3,
    .about-differentials h3 {
        font-size: 2rem;
    }

    .stat-card,
    .differential-card {
        padding: 1.5rem;
    }

    .about-cta {
        padding: 3rem 1.5rem;
    }

    .about-cta h3 {
        font-size: 1.8rem;
    }

    .about-cta p {
        font-size: 1rem;
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 50%, #d1e7ff 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(45deg, var(--primary-light), var(--primary-color));
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.portfolio-content p {
    color: var(--text-light);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.contact .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.contact .section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact .section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

/* Contact Info Card */
.contact-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.contact-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-card-header i {
    font-size: 2rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    padding: 1rem;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.contact-card p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-icon {
    background: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1rem;
}

.contact-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-text span {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-social {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.contact-social h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.social-links-contact {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.social-link i {
    font-size: 1rem;
}

/* Contact Form */
.contact-form-container {
    position: relative;
}

.contact-form-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    height: fit-content;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-header p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(25, 82, 123, 0.1);
    transform: translateY(-1px);
}

.form-group select {
    cursor: pointer;
}

.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-submit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 220px;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    cursor: pointer;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(25, 82, 123, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.form-note {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

/* Notificações */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-left: 4px solid var(--primary-color);
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    opacity: 0;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.notification i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-success {
    border-left-color: #10b981;
}

.notification-success i {
    color: #10b981;
}

.notification-error {
    border-left-color: #ef4444;
}

.notification-error i {
    color: #ef4444;
}

.notification-warning {
    border-left-color: #f59e0b;
}

.notification-warning i {
    color: #f59e0b;
}

.notification-info {
    border-left-color: var(--primary-color);
}

.notification-info i {
    color: var(--primary-color);
}

.notification span {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: var(--gray-100);
    color: var(--text-dark);
}

/* Estados dos campos do formulário */
.form-group.focused label {
    color: var(--primary-color);
}

.form-group.has-value label {
    color: var(--primary-color);
}

.form-group.focused input,
.form-group.focused textarea,
.form-group.focused select {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(25, 82, 123, 0.1);
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23374151" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grid)"/></svg>');
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

/* Footer Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: #d1d5db;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-social h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-social .social-links {
    display: flex;
    gap: 1rem;
}

.footer-social .social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-social .social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.footer-social .social-links a i {
    font-size: 1.2rem;
}

/* Footer Sections */
.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.footer-section p {
    color: #d1d5db;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-section ul li {
    margin-bottom: 0;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
    position: relative;
}

.footer-section ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-section ul li a:hover::before {
    width: 100%;
}

/* Footer Contact Section */
.footer-contact {
    text-align: center;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
    justify-content: center;
    text-align: center;
    max-width: 300px;
}

.footer-contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.footer-contact-item i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-contact-item span {
    color: #d1d5db;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        align-items: center;
        justify-content: center;
        position: fixed;
        left: -100%;
        transform: none;
    }

    .nav-menu.active {
        left: 0;
        transform: none;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    /* Estilos responsivos para o Portal do Cliente */
    .nav-item-highlight {
        margin-left: 0;
        margin-top: 1rem;
        display: flex;
        justify-content: center;
    }

    .nav-link-portal {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
        color: white !important;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-weight: 600;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(25, 82, 123, 0.2);
        width: 200px;
        margin: 0 auto;
        text-decoration: none;
        line-height: 1;
    }

    .nav-link-portal:hover {
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
        color: white !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(25, 82, 123, 0.3);
    }

    /* Hero Section Responsivo */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-video {
        object-position: center center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
    }

    .btn-light-blue {
        box-shadow: 0 6px 20px rgba(96, 165, 250, 0.3);
    }

    /* About section responsive styles are now handled in the about section itself */

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-card,
    .contact-form-card {
        padding: 2rem;
    }
    
    .contact-card,
    .contact-form-card {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact .section-header h2 {
        font-size: 2.5rem;
    }
    
    .contact .section-header p {
        font-size: 1.1rem;
    }
    
    .social-links-contact {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .video-controls {
        bottom: 20px;
        right: 20px;
    }

    .video-control-btn {
        width: 40px;
        height: 40px;
    }
    
    /* Contact Section Mobile */
    .contact {
        padding: 80px 0;
    }
    
    .contact .section-header h2 {
        font-size: 2rem;
    }
    
    .contact .section-header p {
        font-size: 1rem;
    }
    
    .contact-card,
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .contact-card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-card-header i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .contact-item {
        padding: 0.75rem;
    }
    
    .contact-icon {
        width: 35px;
        height: 35px;
    }
    
    .social-links-contact {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .social-link {
        justify-content: center;
    }
    
    .form-header h3 {
        font-size: 1.5rem;
    }
    
    .btn-submit {
        min-width: 100%;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-logo-img {
        height: 40px;
    }
    
    .footer-social .social-links {
        justify-content: center;
    }
    
    .footer-social .social-links a {
        width: 40px;
        height: 40px;
    }
    
    .footer-contact-item {
        padding: 0.5rem;
    }
    
    .footer-links {
        gap: 1rem;
    }
}

/* Performance: reduzir movimento em dispositivos com motion reduzido */
@media (prefers-reduced-motion: reduce) {
    .hero-video {
        animation-play-state: paused;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Cards Modernos para Serviços - Substituindo Flip Cards */

/* Carousel de Logos */
.logo-carousel {
    position: relative;
    overflow: hidden;
    margin: 3rem 0;
    background: var(--gray-50);
    border-radius: 12px;
    padding: 2rem 0;
}

.carousel-track {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 3rem;
    align-items: center;
}

.logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 150px;
    height: 80px;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.logo-item img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause no hover */
.logo-carousel:hover .carousel-track {
    animation-play-state: paused;
}

/* Controles do Carousel */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    background: transparent;
    border-radius: 50%;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.carousel-btn:active {
    transform: translateY(0);
}

/* Responsivo para Flip Cards */
/* Estilos responsivos removidos - substituídos pelos novos cards modernos */

@media (max-width: 480px) {
    .logo-item {
        min-width: 120px;
        height: 60px;
        padding: 0.8rem 1rem;
    }

    .logo-item img {
        max-width: 100px;
        max-height: 40px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Animação de entrada para cards modernos */
.service-card-modern {
    opacity: 0;
    transform: translateY(30px);
    animation: cardFadeIn 0.6s ease-out forwards;
}

.service-card-modern:nth-child(1) { animation-delay: 0.1s; }
.service-card-modern:nth-child(2) { animation-delay: 0.2s; }
.service-card-modern:nth-child(3) { animation-delay: 0.3s; }
.service-card-modern:nth-child(4) { animation-delay: 0.4s; }

@keyframes cardFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo carousel fade nas bordas */
.logo-carousel::before,
.logo-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--gray-50), transparent);
}

.logo-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--gray-50), transparent);
}

.whatsapp-button-extended /* Para botão com texto */

.whatsapp-button {
    background: #25D366; /* Verde WhatsApp */
    /* ou sua cor personalizada */
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.whatsapp-button {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 2rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    position: relative;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-button:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-button i {
    transition: transform 0.3s ease;
}

.whatsapp-button:hover i {
    transform: scale(1.1);
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #333;
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Animação de pulso */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 
                    0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 
                    0 0 0 20px rgba(37, 211, 102, 0);
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-button {
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }

    .whatsapp-tooltip {
        display: none; /* Esconder tooltip no mobile */
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 10px;
        right: 10px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}

/* Correção para telas muito pequenas */
@media (max-width: 360px) {
    .whatsapp-float {
        bottom: 8px;
        right: 8px;
    }

    .whatsapp-button {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
}

/* Garantir que o botão sempre fique visível */
@media (max-width: 320px) {
    .whatsapp-float {
        bottom: 5px;
        right: 5px;
    }

    .whatsapp-button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Animação de entrada */
.whatsapp-float {
    animation: whatsappSlideIn 0.5s ease-out;
}

@keyframes whatsappSlideIn {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Efeito de clique */
.whatsapp-button:active {
    transform: scale(0.95);
}

/* Acessibilidade */
.whatsapp-button:focus {
    outline: 3px solid rgba(37, 211, 102, 0.5);
    outline-offset: 2px;
}

/* Versão alternativa com texto */
.whatsapp-button-extended {
    width: auto;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 1rem;
    gap: 10px;
}

.whatsapp-button-extended i {
    font-size: 1.5rem;
}

.whatsapp-button-extended span {
    font-weight: 600;
}

/* Seção de Serviços com Estilo Card */
.services {
    background: #f8f9fa; /* Fundo cinza claro */
    padding: 80px 0;
    position: relative;
}

/* Container da seção como um card */
.services .container {
    background: white;
    border-radius: 1px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 60px 40px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* Efeito de elevação mais sutil */
.services .container::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: 1px;
    z-index: -1;
}

/* Header da seção */
.services .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.services .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    position: relative;
}

.services .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    border-radius: 2px;
}

.services .section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Grid de serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Estilos antigos removidos - substituídos pelos cards modernos */

/* Estilos antigos dos flip cards removidos - substituídos pelos cards modernos */

/* Responsivo */
@media (max-width: 1024px) {
    .services .container {
        margin: 0 20px;
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }

    .services .container {
        margin: 0 15px;
        padding: 40px 20px;
        border-radius: 15px;
    }

    .services .container::before {
        border-radius: 20px;
    }

    .services .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .services .container {
        margin: 0 10px;
        padding: 30px 15px;
    }

    .services .section-header h2 {
        font-size: 1.8rem;
    }

    .services .section-header p {
        font-size: 1rem;
    }
}

/* Animação de entrada da seção */
.services .container {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.8s ease-out forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Variação com fundo mais escuro (opcional) */
.services.dark-bg {
    background: #e2e8f0;
}

.services.dark-bg .container {
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

/* Variação com gradiente no fundo (opcional) */
.services.gradient-bg {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

/* Efeito parallax sutil (opcional) */
.services.parallax {
    background-attachment: fixed;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
}

/* Container com borda mais definida (variação) */
.services .container.bordered {
    border: 1px solid rgba(59, 130, 246, 0.1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.9);
}

/* Responsivo para Hero */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 2rem 0;
    }

    .hero-container {
        min-height: calc(100vh - 80px);
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 250px;
        padding: 16px 24px;
        font-size: 1.1rem;
    }

    /* Mostrar elementos adicionais no mobile */
    .hero-features {
        display: block;
        margin-top: 2.5rem;
    }

    .hero-features-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .hero-feature-item {
        font-size: 1rem;
        justify-content: center;
    }

    .hero-scroll-indicator {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .btn {
        width: 220px;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .hero-features {
        margin-top: 2rem;
        padding: 1rem;
    }

    .hero-feature-item {
        font-size: 0.9rem;
    }

    .hero-scroll-indicator {
        bottom: 15px;
    }

    .hero-scroll-indicator i {
        font-size: 1.2rem;
    }

    .hero-scroll-indicator span {
        font-size: 0.7rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn {
        width: 200px;
        padding: 12px 18px;
        font-size: 0.9rem;
    }

    .hero-features {
        padding: 0.8rem;
    }

    .hero-feature-item {
        font-size: 0.8rem;
    }
}

/* Melhorias adicionais para mobile */
@media (max-width: 768px) {
    .hero-features {
        display: block;
        margin-top: 2.5rem;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    }

    .hero-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-feature-item {
        font-size: 1rem;
        justify-content: center;
        padding: 0.5rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .hero-feature-item:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

    .hero-feature-item i {
        color: #a5a5a5;
        font-size: 1.2rem;
        min-width: 20px;
    }

    .hero-scroll-indicator {
        bottom: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .hero-scroll-indicator:hover {
        opacity: 1 !important;
        transform: translateX(-50%) scale(1.1);
    }
}

@media (max-width: 480px) {
    .hero-features {
        margin-top: 2rem;
        padding: 1.2rem;
        border-radius: 10px;
    }

    .hero-features-grid {
        gap: 0.8rem;
    }

    .hero-feature-item {
        font-size: 0.9rem;
        padding: 0.4rem;
    }

    .hero-feature-item i {
        font-size: 1.1rem;
        min-width: 18px;
    }

    .hero-scroll-indicator {
        bottom: 15px;
    }

    .hero-scroll-indicator i {
        font-size: 1.2rem;
    }

    .hero-scroll-indicator span {
        font-size: 0.7rem;
    }
}

@media (max-width: 360px) {
    .hero-features {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .hero-feature-item {
        font-size: 0.8rem;
        padding: 0.3rem;
    }

    .hero-feature-item i {
        font-size: 1rem;
        min-width: 16px;
    }

    .hero-scroll-indicator {
        bottom: 10px;
    }

    .hero-scroll-indicator i {
        font-size: 1rem;
    }

    .hero-scroll-indicator span {
        font-size: 0.6rem;
    }
}

/* Melhorias no botão WhatsApp para garantir visibilidade */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    /* Garantir que sempre fique visível */
    max-width: calc(100vw - 40px);
    max-height: calc(100vh - 40px);
}

/* Ajuste para telas muito pequenas */
@media (max-width: 320px) {
    .whatsapp-float {
        bottom: 5px;
        right: 5px;
        max-width: calc(100vw - 10px);
        max-height: calc(100vh - 10px);
    }
}

/* Melhorias na animação do hero */
.hero-content {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    animation: slideInFromTop 1.2s ease-out;
}

.hero-subtitle {
    animation: slideInFromTop 1.4s ease-out;
}

.hero-buttons {
    animation: slideInFromTop 1.6s ease-out;
}

@keyframes slideInFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Melhorias na responsividade geral */
@media (max-width: 768px) {
    .hero-container {
        padding: 0 15px;
        min-height: calc(100vh - 80px);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }
}

/* Cards Modernos para Serviços */
.service-card-modern {
    background: var(--white);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-100);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-light);
}

.service-card-modern:hover::before {
    transform: scaleX(1);
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.service-icon-modern {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-light), rgba(59, 130, 246, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card-modern:hover .service-icon-modern {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.service-icon-modern i {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.service-card-modern:hover .service-icon-modern i {
    color: white;
}

.service-badge {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.service-card-content {
    flex: 1;
    margin-bottom: 1.5rem;
}

.service-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.service-card-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.feature-item i {
    color: #10B981;
    font-size: 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-footer {
    margin-top: auto;
}

.btn-modern {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 12px rgba(25, 82, 123, 0.3);
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(25, 82, 123, 0.4);
    color: white;
    text-decoration: none;
}

.btn-modern:active {
    transform: translateY(0);
}

/* Responsividade para os novos cards */
@media (max-width: 768px) {
    .service-card-modern {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .service-card-header {
        margin-bottom: 1.25rem;
    }

    .service-icon-modern {
        width: 56px;
        height: 56px;
        border-radius: 16px;
    }

    .service-icon-modern i {
        font-size: 1.5rem;
    }

    .service-card-content h3 {
        font-size: 1.3rem;
    }

    .service-card-content p {
        font-size: 0.9rem;
    }

    .feature-item {
        font-size: 0.85rem;
    }

    .btn-modern {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .service-card-modern {
        padding: 1.25rem;
        border-radius: 18px;
    }

    .service-icon-modern {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .service-icon-modern i {
        font-size: 1.25rem;
    }

    .service-card-content h3 {
        font-size: 1.2rem;
    }

    .service-card-content p {
        font-size: 0.85rem;
    }

    .feature-item {
        font-size: 0.8rem;
        gap: 0.5rem;
    }

    .feature-item i {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
    }

    .btn-modern {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        border-radius: 12px;
    }

    .service-badge {
        padding: 0.375rem 0.75rem;
        font-size: 0.7rem;
        border-radius: 16px;
    }
}

/* Grid responsivo para os cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }
}