:root {
    --primary-red: #E53935;
    --secondary-red: #D32F2F;
    --accent-gray-dark: #616161;
    --accent-gray-medium: #9E9E9E;
    --background-white: #fdfdfd;
    --background-light: #F7F7F7;
    --background-secoundary: #FAFAFA;
    --background-gradient: linear-gradient(135deg, #ECEFF1 0%, #CFD8DC 100%);
    --text-dark: #333333;
    --text-medium: #555555;
    --text-light: #888888;
    --border-light: #e6e6e6;
    --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    --shadow-large: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--background-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.main-content {
    flex: 1;
}

/* --- CSS para ajustar o logo na barra de navegação --- */

#navbar .logo img {
    height: 40px; 
    width: auto; 
    vertical-align: middle; 
}

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

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(158, 158, 158, 0.2);
    z-index: 1001;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
    width: 0%;
    transition: width 0.3s ease;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(253, 253, 253, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: var(--shadow-medium);
    background: rgba(253, 253, 253, 0.98);
}

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

.logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-red);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

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

.hero {
    height: 100vh;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;

    display: flex;
    align-items: center;    
    justify-content: center; 
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    background-size: cover;
    filter: brightness(1.0);
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 20px;
}

.hero-background-animation {
    display: none;
}

.hero-content::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatShape 10s ease-in-out infinite reverse;
    z-index: -1;
}

@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--background-white);
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

#rotating-text {
    color: var(--primary-red);
    position: relative;
}

#rotating-text::after {
    content: '|';
    display: inline-block;
    margin-left: 5px;
    animation: blink-caret 1s infinite;
}

@media (max-width: 768px) {
    #rotating-text {
        color: var(--primary-red);
    }

    #rotating-text::after {
        content: '|';
        display: inline-block;
    }
}

@keyframes blink-caret {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--background-white);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.cta-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary {
    background: var(--primary-red);
    color: white;
    padding: 16px 32px;
    border: 2px solid var(--primary-red);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(229, 57, 53, 0.2);
}

.cta-primary:hover {
    background: var(--secondary-red);
    border-color: var(--secondary-red);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(229, 57, 53, 0.3);
}

.cta-produto {
    background: var(--primary-red);
    color: white;
    padding: 16px 32px;
    border: 2px solid var(--primary-red);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(229, 57, 53, 0.2);
    margin-top: 25px;
}

.cta-produto:hover {
    background: var(--secondary-red);
    border-color: var(--secondary-red);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(229, 57, 53, 0.3);
}

.cta-secondary {
    background: transparent;
    color: var(--background-white);
    padding: 16px 32px;
    border: 2px solid var(--background-white);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--background-white);
    transform: translateY(-2px);
}
/* --- Indicador de Scroll Down --- */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 3; 
    color: white;
    font-size: 2.5rem;
    text-decoration: none;
    opacity: 0.7;
    
    /* Chama a animação 'bounce' */
    animation: bounce 2.5s infinite;
}

.scroll-down-indicator:hover {
    opacity: 1;
}

/* Animação de "pular" */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -20px);
    }
    60% {
        transform: translate(-50%, -10px);
    }
}

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

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--text-dark), var(--accent-gray-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
    border-radius: 2px;
}

/* Seção Empresa */
#empresa {
    background: var(--background-white);
    padding: 4rem 0;
    box-shadow: var(--shadow-large);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}


#empresa .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

#empresa p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--text-medium);
}

#empresa strong {
    color: var(--primary-red);
    font-weight: 700;
}
/* Atraso para os cards de estatísticas */
#empresa .stat-card:nth-child(1) { transition-delay: 0.2s; }
#empresa .stat-card:nth-child(2) { transition-delay: 0.3s; }
#empresa .stat-card:nth-child(3) { transition-delay: 0.4s; }

/* Atraso para os cards de Missão, Visão e Valores */
#empresa .mvv-card:nth-child(1) { transition-delay: 0.5s; }
#empresa .mvv-card:nth-child(2) { transition-delay: 0.6s; }
#empresa .mvv-card:nth-child(3) { transition-delay: 0.7s; }


.t-concepts {
    display: flex;
    align-items: center; 
    

    flex-wrap: wrap; 
    justify-content: center; 

    gap: 0.5rem ;
    margin: 3rem auto;
    padding: 2rem;
    max-width: 1100px;
    
    background: var(--background-gradient);
    border-radius: 20px;
    box-shadow: var(--shadow-large);
    position: relative;
}

.t-concepts::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Cpolygon fill='%2300000002' points='0,0 0,1000 1000,1000'/%3E%3Cpolygon fill='%2300000001' points='0,0 1000,0 1000,1000'/%3E%3C/svg%3E");
    pointer-events: none;
}

.t-item {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem; 
    padding: 0.6rem 1.2rem; 
    background: rgba(255, 255, 255, 0.7);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    cursor: pointer;
    position: relative;
    z-index: 2;
    text-align: center;
    
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    transition-delay: var(--delay, 0s);
}

.t-separator {
    width: 25px;
    height: 2px;
    background-color: var(--accent-gray-dark);
    margin: 0;
    align-self: center;
    
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: var(--delay, 0s);
}

.t-concepts.visible .t-item,
.t-concepts.visible .t-separator {
    opacity: 1;
    transform: translateY(0) scaleX(1); 
}
.t-concepts.visible .t-item {
    transform: translateY(0);
}

.t-item:hover {
    transform: translateY(-5px); 
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
}

/* ---- ANIMAÇÃO EM CASCATA (Timeline Effect) CORRIGIDA ---- */
.t-concepts > *:nth-child(1)  { --delay: 0.2s; }
.t-concepts > *:nth-child(2)  { --delay: 0.3s; }
.t-concepts > *:nth-child(3)  { --delay: 0.4s; }
.t-concepts > *:nth-child(4)  { --delay: 0.5s; }
.t-concepts > *:nth-child(5)  { --delay: 0.6s; }
.t-concepts > *:nth-child(6)  { --delay: 0.7s; }
.t-concepts > *:nth-child(7)  { --delay: 0.8s; }
.t-concepts > *:nth-child(8)  { --delay: 0.9s; }
.t-concepts > *:nth-child(9)  { --delay: 1.0s; }
.t-concepts > *:nth-child(10) { --delay: 1.1s; }
.t-concepts > *:nth-child(11) { --delay: 1.2s; }
.t-concepts > *:nth-child(12) { --delay: 1.3s; }
.t-concepts > *:nth-child(13) { --delay: 1.4s; }

@media (min-width: 1024px) {
  .t-item::after {
    content: attr(data-description);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-dark);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    width: 280px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    z-index: 10;
  }

  .t-item:hover::after {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 768px) {
  .t-concepts {
    flex-direction: column; 
    align-items: center; 
    background: none;
    box-shadow: none;
    padding: 1rem;
    gap: 0.8rem;
    overflow-x: hidden; /* Garante que não haja scroll horizontal no mobile */
  }

  .t-separator {
    width: 2px;
    height: 20px;
    margin: 0.5rem 0;
  }

  .t-item {
    width: auto; 
    min-width: 70%; 
    text-align: center;
    box-shadow: var(--shadow-medium);
  }
}


/* Introdução da Empresa */
.company-intro {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.highlight {
    color: var(--primary-red);
    font-weight: 700;
}

/* ==================================
   NOVO CARD "SOBRE" (Sua Diferenciação)
   ================================== */
.sobre-card {
    background: var(--background-white);
    border-radius: 20px;
    box-shadow: var(--shadow-large);
    border: 1px solid var(--border-light);
    margin-top: 20px;
}

.sobre-card .t-concepts {
    box-shadow: none; 
    margin: 0; 
    border-radius: 20px 20px 0 0; 
    padding: 1.5rem 2rem; 
    max-width: 100%; 
    overflow: visible;
}

.sobre-card .company-intro {
    margin-bottom: 0; 
    padding: 2.5rem; 
}

@media (max-width: 768px) {
    .sobre-card {
        margin-top: 10px;
    }

    .sobre-card .t-concepts {
        background: var(--background-gradient);
        border-radius: 20px 20px 0 0;
        padding: 1rem;
    }

    .sobre-card .company-intro {
        padding: 2rem 1.5rem;
    }
}
/* ==================================
   FIM DO NOVO CARD "SOBRE"
   ================================== */

/* ==================================
   SEÇÃO DE SERVIÇOS PROFISSIONAIS
   ================================== */
#professional-services {
    padding: 100px 0 80px 0;
    /* Usa o fundo branco para alternar com as outras seções */
    background-color:var(--background-secoundary); 
    position: relative;
    overflow: hidden;
}

.professional-services-grid {
    display: grid;
    /* Começa com 1 coluna em telas pequenas */
    grid-template-columns: 1fr;
    gap: 30px;
    position: relative;
    z-index: 2;
}


@media (min-width: 992px) {
    .professional-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* ==================================
   SEÇÃO DE CLIENTES (Carrossel)
   ================================== */

#clientes {
    padding: 60px 0;
    overflow: visible;
    text-align: center;

  background-color: transparent;
}

.clientes-slider {
    display: flex;
    width: calc(200px * 19 * 2);
    
    animation: scroll-clientes 45s linear infinite;
}
#clientes .clientes-slider {
  overflow: visible;
  width: auto; /* evita largura fixa que pode causar recorte */
}

.clientes-slider:hover {
    animation-play-state: paused;
}

/* Nova animação (copiada da 'scroll-continuous' mas com nome novo) */
@keyframes scroll-clientes {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Metade da largura total (19 logos * 200px) */
        transform: translateX(calc(-200px * 19));
    }
}


/* Grid de Estatísticas */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    font-family: sans-serif;
}

.stat-card {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    color: #333333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-card::before,
.stat-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    z-index: 1;
    transition: all 0.4s ease;
}

.stat-card::before {
    width: 120px;
    height: 120px;
    top: -40px;
    right: -30px;
}

.stat-card::after {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -50px;
}

.stat-card:hover::before,
.stat-card:hover::after {
    background-color: rgba(0, 0, 0, 0.08);
}

.stat-number,
.stat-label {
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #E53935;
    line-height: 1.1;
}

.stat-label {
    font-size: 1rem;
    color: #555555;
    margin-top: 0.5rem;
}

/* Missão, Visão e Valores */
.mission-vision-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mvv-card {
    background: var(--background-white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-large);
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.mvv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.15);
}

.mvv-card.mission::before {
    background: var(--primary-red);
}

.mvv-card.vision::before {
    background: var(--accent-gray-dark);
}

.mvv-card.values::before {
    background: var(--primary-red);
}

.mvv-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mvv-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.mission .mvv-icon {
    background: var(--primary-red);
    color: white;
}

.vision .mvv-icon {
    background: var(--accent-gray-dark);
    color: white;
}

.values .mvv-icon {
    background: var(--primary-red);
    color: white;
}

.mvv-text {
    line-height: 1.6;
    color: var(--text-medium);
    font-size: 1rem;
}

/* Features Section */
.features {
    background: var(--background-light);
    position: relative;
}

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

.feature-card {
    background: var(--background-white);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow-large);
    border: 1px solid var(--border-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-red));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--accent-gray-dark);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(97, 97, 97, 0.3);
}

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

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Partners Section */

#parceiros {
    padding: 60px 0;
    background-color: var(--background-light);
    text-align: center;
}

.parceiros-wrapper {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    padding: 10px 0;

    /* Defina aqui o NÚMERO DE LOGOS ÚNICOS */
    --logo-count: 12; 
    /* ------------------------------ */
}

.parceiros-slider {
    display: flex;
    /* Largura total = (Nº de logos) * 2 (duplicados) * 200px (largura de cada) */
    width: calc(200px * var(--logo-count) * 2);
    
    /* Duração da animação = (Nº de logos) * 7.5s (velocidade) */
    animation: scroll-continuous calc(var(--logo-count) * 6.5s) linear infinite;
}

.parceiros-slider:hover {
    animation-play-state: paused;
}

@keyframes scroll-continuous {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * var(--logo-count)));
    }
}

.parceiro-logo {
    width: 200px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.parceiro-logo img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease-in-out;
}

.parceiro-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--accent-gray-dark) 0%, var(--accent-gray-medium) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Ccircle fill='%23ffffff04' cx='200' cy='200' r='100'/%3E%3Ccircle fill='%23ffffff02' cx='800' cy='300' r='150'/%3E%3Ccircle fill='%23ffffff03' cx='400' cy='700' r='80'/%3E%3C/svg%3E");
    pointer-events: none;
}

.contact-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 48px auto 0;
    display: grid;
    gap: 24px;
}

.form-group {
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.contact-form button {
    padding: 18px 40px;
    background: var(--primary-red);
    color: white;
    border: 2px solid var(--primary-red);
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(229, 57, 53, 0.2);
}

.contact-form button:hover {
    background: var(--secondary-red);
    border-color: var(--secondary-red);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(229, 57, 53, 0.3);
}
.contact-form .terms-group {
  display: flex; /* Alinha o checkbox e o texto */
  align-items: flex-start; /* Alinha no topo */
  gap: 12px; /* Espaço entre o checkbox e o texto */
  margin-bottom: 25px;
  padding: 0 5px; /* Pequeno preenchimento para não colar nas bordas */
}

.contact-form .terms-group input[type="checkbox"] {
  width: 18px; /* Tamanho do checkbox */
  height: 18px;
  margin-top: 3px; /* Ajuste fino de alinhamento vertical */
  flex-shrink: 0; /* Impede que o checkbox encolha */
}

.contact-form .terms-group label {
  font-size: 0.9rem; /* Texto um pouco menor */
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.contact-form .terms-group label a {
  color: #ffffff; /* Cor dos links */
  text-decoration: underline; /* Sublinhado para indicar link */
  font-weight: 600;
}
/* --- Estilos do Modal de Agradecimento --- */

.modal-backdrop {
  display: none; /* Começa escondido */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6); /* Fundo escuro semi-transparente */
  
  /* Para centralizar o conteúdo */
  align-items: center;
  justify-content: center;
}

/* Classe que o JS vai adicionar para mostrar */
.modal-backdrop.show {
  display: flex;
}

.modal-content {
  background-color: #fefefe;
  color: #333;
  margin: auto;
  padding: 30px;
  border: 1px solid #888;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
  
  /* Animação de entrada */
  animation: modalFadeIn 0.3s ease-out;
}

.modal-close-btn {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
}

.modal-close-btn:hover,
.modal-close-btn:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

@keyframes modalFadeIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Footer */
footer {
    background: var(--text-dark);
    padding: 4rem 0 2rem 0;
    color: var(--text-light);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
    flex: 1;
    min-width: 280px;
}

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-about p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 10px;
}

.footer-links a::before {
    content: '›';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-red);
    font-weight: bold;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.contact-info p {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.6;
}

.contact-info i {
    color: var(--primary-red);
    font-size: 1rem;
    margin-top: 4px;
    width: 20px;
    text-align: center;
}

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

.contact-info a:hover {
    color: var(--primary-red);
    text-decoration: none;
}

.social-links {
    text-align: left;
    margin-top: 1rem;
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.social-icon:hover {
    background-color: #0A66C2;
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Animações */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.mvv-icon {
    animation: float 6s ease-in-out infinite;
}

.mvv-card:nth-child(2n) .mvv-icon {
    animation-delay: -2s;
}

.mvv-card:nth-child(3n) .mvv-icon {
    animation-delay: -4s;
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-icon {
    animation: float 6s ease-in-out infinite;
}

.feature-card:nth-child(2n) .feature-icon {
    animation-delay: -2s;
}

.feature-card:nth-child(3n) .feature-icon {
    animation-delay: -4s;
}

/* Estilos Gerais do Chatbot */
.hidden {
    display: none !important;
}

#chatbot-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4a4a4a;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
}

#chatbot-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #4a4a4a;
    animation: pingAnimation 1.7s infinite cubic-bezier(0.215, 0.610, 0.355, 1);
    z-index: -1;
    opacity: 0.6;
}

@keyframes pingAnimation {
    0% {
        transform: scale(0.9);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.4);
        opacity: 0;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

#chatbot-window {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 350px;
    max-width: 90%;
    height: 450px;
    max-height: 80vh;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001; 
}

#chatbot-header {
    background-color: #f1f1f1;
    color: #333;
    padding: 10px 15px;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

#chatbot-close-btn {
    background: none;
    border: none;
    color: #555;
    font-size: 1.2em;
    cursor: pointer;
}

#chatbot-messages {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 80%;
    word-wrap: break-word;
    line-height: 1.4;
}

.bot-message {
    background-color: #e9ecef;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.user-message {
    background-color: #6c757d;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

#chatbot-options {
    padding: 10px 15px;
    border-top: 1px solid #dee2e6;
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-button {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.2s ease;
}

.option-button:hover {
    background-color: #e2e6ea;
    border-color: #bbb;
}

@media (max-width: 400px) {
    #chatbot-window {
        width: 95%;
        right: 2.5%;
        bottom: 70px;
        height: 75vh;
    }
    #chatbot-icon {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
    }
}


/* --- Seção de produtos --- */
#produtos {
    box-sizing: border-box;
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    border-width: 0; 
    transition: max-height 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.5s ease-out,
                padding 0.7s ease,
                margin 0.7s ease;
}

#produtos.visible {
    opacity: 1;
    max-height: 2000px;
    padding-top: 40px;    
    padding-bottom: 60px; 
    margin-bottom: 40px;  
}
.produtos.visible .produto-card {
    /* Usa a sua animação 'fadeIn' */
    animation: fadeIn 0.6s ease-out forwards;
    
    /* Garante que os cards comecem invisíveis antes da animação */
    opacity: 0;
}
.produtos.visible .produto-card:nth-child(2) {
    animation-delay: 0.2s;
}

.produtos.visible .produto-card:nth-child(3) {
    animation-delay: 0.4s;
}

.produtos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 50px;
}

@media (min-width: 992px) {
    .produtos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.produto-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.produto-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.produto-icon {
  font-size: 2.5rem;
  color: var(--primary-red);
  margin-bottom: 20px;
}

.produto-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.produto-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.produto-destaque {
  background-color: var(--primary-red);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
}

#showProdutosBtn {
  background-color: var(--primary-red);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 30px;
  font-size: 1rem;
}

.show-produtos-btn:hover {
  background-color: #c82333;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(200, 35, 51, 0.2);
}

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

/* Responsivo Geral */
@media (max-width: 768px) {
.hero {
    height: auto;
    min-height: 100vh;
    display: flex; 
    align-items: center; 
}

.hero-content {
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-title {
    font-size: 2.5rem;
    min-height: 11rem; 
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
}
    .section-title {
        font-size: 2.2rem;
    }

    /* Regra .t-concepts movida para o próprio bloco */

    .company-intro {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

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

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

    .mission-vision-values {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mvv-title {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .mvv-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    @media (min-width: 768px) {
        .features-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    .cta-container {
        flex-direction: column;
        align-items: center;
    }
    
    .parceiros-slider {
        gap: 24px;
    }
    
}

   /* Seção de Serviços */
.services-section {
    position: relative;
    padding: 100px 0;
    background: var(--background-light);
    overflow: hidden;
}

.geometric-shape {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.shape-1 {
    top: -100px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    opacity: 0.08;
}

.shape-2 {
    bottom: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    clip-path: polygon(0 0, 100% 0, 0 100%);
    opacity: 0.06;
}

.diagonal-lines {
    position: absolute;
    top: 50px;
    right: 100px;
    width: 150px;
    height: 200px;
    z-index: 1;
    opacity: 0.15;
}

.diagonal-lines::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--primary-red),
        var(--primary-red) 20px,
        transparent 20px,
        transparent 25px
    );
    transform: rotate(-45deg);
    transform-origin: left center;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    color: var(--primary-red);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 30px auto 0;
    line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: var(--background-white);
    border-radius: 20px;
    padding: 40px 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--secondary-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: rgba(229, 57, 53, 0.2);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 28px;
    position: relative;
}

.service-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
    border-radius: 20px;
    opacity: 1;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(229, 57, 53, 0.25);
}

.service-card:hover .service-icon-bg {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 12px 40px rgba(229, 57, 53, 0.35);
}

.service-icon {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: transform 0.4s ease;
}

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

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.3;
}

.service-content p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
    padding-left: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 12px;
    padding-left: 0;
}

.service-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(229, 57, 53, 0.1);
    color: var(--primary-red);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 12px;
}

.service-link i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(4px);
}
        
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-red);
    color: white;
    padding: 18px 36px;
    border: 2px solid var(--primary-red);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(229, 57, 53, 0.25);
}

.cta-button:hover {
    background: var(--secondary-red);
    border-color: var(--secondary-red);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(229, 57, 53, 0.35);
}

.cta-button i {
    font-size: 1.3rem;
}

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

@media (max-width: 768px) {
    .services-section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 50px;
    }
            
    .service-card {
        padding: 32px 24px;
    }

    .shape-1,
    .shape-2 {
        opacity: 0.04;
    }

    .diagonal-lines {
        display: none;
    }
}