/* 
* DM TechWeb - Stylesheet
* Versão: 1.3
* Última atualização: 2025-10-20
*/

/* ===== RESET E VARIÁVEIS ===== */
:root {
    /* Cores principais */
    --primary-purple: #4A00B7; 
    --secondary-purple: #4c00ff; 
    --accent-pink: #FF0077; 
    --accent-blue: #00BFFF; 
    
    /* Cores de texto e fundo */
    --text-light: #f0f0f0;
    --text-dark: #333;
    --bg-dark: #0d002fd7; 
    
    /* Gradientes */
    --gradient-hero: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    --gradient-card: linear-gradient(135deg, rgba(74, 0, 183, 0.7) 0%, rgba(139, 0, 255, 0.7) 100%);
    --gradient-highlight: linear-gradient(45deg, var(--accent-pink), var(--accent-blue));
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Sombras */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    
    /* Bordas */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 50px;
}

/* Reset básico */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== ESTILOS BASE ===== */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    font-size: 16px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); text-align: center; margin-bottom: var(--spacing-xl); }
h3 { font-size: clamp(1.5rem, 3vw, 1.8rem);text-align: center; margin-bottom: var(--spacing-sm); }
p { margin-bottom: var(--spacing-md); }

/* ===== LINKS E BOTÕES ===== */
a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover, a:focus {
    color: var(--accent-pink);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    text-transform: uppercase;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-highlight);
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 0, 119, 0.4);
}

.btn-primary:hover, .btn-primary:focus {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 119, 0.6);
    color: white;
}

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

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--accent-blue);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* Estilo específico para o botão "Ver menos" */
#btn-ver-menos {
    background-color: transparent;
    color: #ff0000;
    border: 2px solid #ff0000;
}

#btn-ver-menos:hover, #btn-ver-menos:focus {
    background-color: #ff0000;
    color: white;
    transform: translateY(-3px);
}

    section {
        scroll-margin-top: 100px; /* mesma altura da navbar */
        padding: 80px 0;
        position: relative;
        overflow: hidden;
    }

    .section-description {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 60px auto;
        font-size: 1.1em;
        color: rgba(255, 255, 255, 0.7);
    }

    /* Header */
    .main-header {
        background-color: rgba(18, 0, 47, 0.8); /* Slightly transparent */
        padding: 20px 0;
        position: sticky;
        top: 0;
        z-index: 1000;
        backdrop-filter: blur(10px); /* Glassmorphism effect */
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }

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

    .main-header .logo img {
        height: 60px; /* altura fixa para garantir visibilidade */
        width: auto;
        object-fit: contain;       
        display: block;
    }

    .main-nav ul {
        list-style: none;
        display: flex;
    }

    .main-nav ul li {
        margin-left: 40px;
    }

    .main-nav ul li a {
        color: var(--text-light);
        font-weight: 500;
        font-size: 1em;
        padding: 5px 0;
        position: relative;
    }

    .main-nav ul li a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px;
        background: var(--accent-blue);
        transition: width 0.3s ease;
    }

    .main-nav ul li a:hover::after {
        width: 100%;
    }

    .nav-toggle {
        display: none; /* Hidden on desktop */
        background: none;
        border: none;
        color: var(--text-light);
        font-size: 2em;
        cursor: pointer;
    }

    /* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

/* Vídeo de fundo */
.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: brightness(0.2);
}

.hero-section .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1 1 500px;
    max-width: 600px;
    margin-right: var(--spacing-lg);
}

.hero-image {
    flex: 1 1 400px;
    max-width: 600px;
    margin-top: var(--spacing-md);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-purple);
    opacity: 0.5; /* ajusta a transparência */
    z-index: 1;
}
/* Container da hero - mantém o conteúdo em frente ao vídeo */
.hero-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* espaçamento entre as divs */
    width: 100%;

}

/* Divs internas da hero */
.hero-content {
    flex: 0 0 60%; /* 70% da largura */
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;    
}
.solucoes {
    color: rgb(146, 192, 255);
    text-shadow: 0 0 5px rgba(5, 6, 9, 0.7);
    line-height: 0.9em;
}
.hero-animation {
    display: inline-block;
    min-height: 10.9rem; /* reserva espaço fixo para o h1 animado */
}


.hero-content2 {
    flex: 0 0 40%;
    display: flex;
    justify-content:flex-end;
}

/* Ajustes de responsividade */
@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
        gap: 30px;
    }

    .hero-content,
    .hero-content2 {
        flex: 1 1 100%;
        text-align: center;
    }

    .hero-content2 img {
        width: 100%; /* Reduz a imagem em telas menores */
    }
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.1rem;
    font-weight: 100;
    color: rgb(194, 197, 255);
    box-shadow: var(--bg-dark);  
    margin-bottom: 30px;
}
/*



    .hero-content h1 {
        font-size: 3em;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1em;
        font-weight: 300;
        margin: 40px 0 60px;
        color: rgba(255, 255, 255, 0.8);
    }
*/
/* Services Section */
.services-section {
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

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

.service-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    background: var(--gradient-highlight);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(255,0,119,0.3);
}

.service-card .icon img {
    width: 45px;
    height: 45px;
    filter: brightness(200%);
}

.service-card h3 {
    color: var(--text-light);
    font-size: 1.5em;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
}

.services-sub-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 15px;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.sub-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

.sub-point img {
    width: 30px;
    height: 30px;
    filter: brightness(200%);
    opacity: 0.8;
    margin-bottom: 5px;
}

.sub-point span {
    font-size: 0.85em;
    font-weight: 500;
    color: var(--text-light);
}

/* Estilos para consulting-block e branding-block */
.consulting-block p, .branding-block p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Differentials Section - New Layout */
.differentials-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.main-differential {
    text-align: center;
    margin-bottom: 20px;
}

.main-differential h3 {
    font-size: 1.8em;
    font-weight: 600;
    color: var(--accent-blue);
    margin: 0;
    line-height: 1.3;
}

.horizontal-cards {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    justify-content: center;
}

.horizontal-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 15px 20px;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.horizontal-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.horizontal-card span {
    font-size: 1.1em;
    font-weight: 400;
    color: var(--text-light);
}

/* Responsive adjustments for differentials */
@media (max-width: 768px) {
    .main-differential h3 {
        font-size: 1.4em;
    }
    
    .horizontal-cards {
        flex-direction: column;
        max-width: 100%;
        padding: 0 20px;
        gap: 15px;
    }
    
    .horizontal-card {
        padding: 12px 20px;
        min-height: 45px;
        flex: none;
    }
    
    .horizontal-card span {
        font-size: 1em;
    }
}

/* Process Section */
.process-section {
    background-color: var(--primary-purple);
    padding: 80px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0.3) 100%);
    z-index: 1;
    transform: translateY(-50%);
}

.process-step {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 25px 20px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 2;
}

/* Efeito ao passar o mouse: igual ao card de serviços, mas com degrade e borda */
.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    background: var(--gradient-highlight);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Unificar o primeiro card com os demais (sem destaque permanente) */
.process-step.highlighted {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    transform: none;
}

.step-number {
    font-size: 0.9em;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
}

.process-step h3 {
    font-size: 1.2em;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: left;
}

.process-step p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85em;
    line-height: 1.5;
    text-align: left;
}

/* Portfolio Section */
.portfolio-section {
    background-color: var(--bg-dark);
    padding: 80px 0;
}

/* Layout horizontal */
.portfolio-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Garantir que o bloco “mais portfólios” mantenha o mesmo tamanho dos cards em desktop */
#more-portfolios.portfolio-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

/* Forçar consistência no layout quando há poucos cards */
#more-portfolios .portfolio-item {
    width: 100%;
}

/* Centralizar quando há apenas um card */
#more-portfolios.portfolio-grid-horizontal:has(.portfolio-item:only-child) {
    justify-items: center;
}

/* Fallback para navegadores que não suportam :has() */
#more-portfolios.portfolio-grid-horizontal {
    justify-items: center;
}

@media (max-width: 900px) {
  .portfolio-grid-horizontal {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  #more-portfolios.portfolio-grid-horizontal {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .portfolio-grid-horizontal {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  #more-portfolios.portfolio-grid-horizontal {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  #more-portfolios .portfolio-item {
    max-width: none;
  }
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 400px;
    margin: 0 auto;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.video-thumbnail {
    position: relative;
    flex: 1;
}

.video-thumbnail img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

.play-btn {
    background: var(--gradient-highlight);
    color:rgb(209, 238, 255);
    border: none;
    box-shadow: 0 5px 15px rgba(255, 0, 119, 0.4);
    padding: 10px 20px;
    margin-top: 0px;
    margin-bottom: 20px;
    border-radius: 30px;
    font-size: 0.7em;
    letter-spacing: 1px;
}

.play-btn:hover {
    background: var(--primary-purple);
}

.portfolio-item h3 {
    font-size: 1.6em;
    color: var(--text-light);
    margin-bottom: 10px;
}

.portfolio-item p {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
}

/* Modal de vídeo */
#videoModal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

#videoModal .video-content {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  width: 90vw;
  max-width: 980px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  position: relative;
}

#videoModal video {
  width: 100%;
  max-height: 60vh;
  border-radius: 10px;
  display: block;
}

.video-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.video-actions {
  display: flex;
  gap: 8px;
}


.expand-modal {
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 16px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
}


arquivo inicial:
/* 
* DM TechWeb - Stylesheet
* Versão: 1.3
* Última atualização: 2025-10-20
*/

/* ===== RESET E VARIÁVEIS ===== */
:root {
    /* Cores principais */
    --primary-purple: #4A00B7; 
    --secondary-purple: #4c00ff; 
    --accent-pink: #FF0077; 
    --accent-blue: #00BFFF; 
    
    /* Cores de texto e fundo */
    --text-light: #f0f0f0;
    --text-dark: #333;
    --bg-dark: #0d002fd7; 
    
    /* Gradientes */
    --gradient-hero: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    --gradient-card: linear-gradient(135deg, rgba(74, 0, 183, 0.7) 0%, rgba(139, 0, 255, 0.7) 100%);
    --gradient-highlight: linear-gradient(45deg, var(--accent-pink), var(--accent-blue));
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Sombras */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    
    /* Bordas */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 50px;
}

/* Reset básico */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== ESTILOS BASE ===== */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    font-size: 16px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== TIPOGRAFIA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); text-align: center; margin-bottom: var(--spacing-xl); }
h3 { font-size: clamp(1.5rem, 3vw, 1.8rem); margin-bottom: var(--spacing-sm); }
p { margin-bottom: var(--spacing-md); }

/* ===== LINKS E BOTÕES ===== */
a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover, a:focus {
    color: var(--accent-pink);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    text-transform: uppercase;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-highlight);
    color: white;
    border: none;
    box-shadow: 0 5px 15px rgba(255, 0, 119, 0.4);
}

.btn-primary:hover, .btn-primary:focus {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 119, 0.6);
    color: white;
}

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

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--accent-blue);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

    section {
        scroll-margin-top: 100px; /* mesma altura da navbar */
        padding: 80px 0;
        position: relative;
        overflow: hidden;
    }

    .section-description {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 60px auto;
        font-size: 1.1em;
        color: rgba(255, 255, 255, 0.7);
    }

    /* Header */
    .main-header {
        background-color: rgba(18, 0, 47, 0.8); /* Slightly transparent */
        padding: 20px 0;
        position: sticky;
        top: 0;
        z-index: 1000;
        backdrop-filter: blur(10px); /* Glassmorphism effect */
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }

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

    .main-header .logo img {
        height: 60px; /* Adjust as needed */
        object-fit: contain;       
    }

    .main-nav ul {
        list-style: none;
        display: flex;
    }

    .main-nav ul li {
        margin-left: 40px;
    }

    .main-nav ul li a {
        color: var(--text-light);
        font-weight: 500;
        font-size: 1em;
        padding: 5px 0;
        position: relative;
    }

    .main-nav ul li a::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px;
        background: var(--accent-blue);
        transition: width 0.3s ease;
    }

    .main-nav ul li a:hover::after {
        width: 100%;
    }

    .nav-toggle {
        display: none; /* Hidden on desktop */
        background: none;
        border: none;
        color: var(--text-light);
        font-size: 2em;
        cursor: pointer;
    }

    /* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--spacing-xl) 0;
}

/* Vídeo de fundo */
.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    filter: brightness(0.2);
}

.hero-section .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1 1 500px;
    max-width: 600px;
    margin-right: var(--spacing-lg);
}

.hero-image {
    flex: 1 1 400px;
    max-width: 600px;
    margin-top: var(--spacing-md);
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-purple);
    opacity: 0.5; /* ajusta a transparência */
    z-index: 1;
}
/* Container da hero - mantém o conteúdo em frente ao vídeo */
.hero-section .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* espaçamento entre as divs */
    width: 100%;

}

/* Divs internas da hero */
.hero-content {
    flex: 0 0 60%; /* 70% da largura */
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;    
}
.solucoes {
        
}
.hero-animation {
    display: inline-block;
    min-height: 10.9rem; /* reserva espaço fixo para o h1 animado */
}


.hero-content2 {
    flex: 0 0 40%;
    display: flex;
    justify-content:flex-end;
}

/* Ajustes de responsividade */
@media (max-width: 992px) {
    .hero-section .container {
        flex-direction: column;
        gap: 30px;
    }

    .hero-content,
    .hero-content2 {
        flex: 1 1 100%;
        text-align: center;
    }

    .hero-content2 img {
        width: 100%; /* Reduz a imagem em telas menores */
    }
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.1rem;
    font-weight: 100;
    color: rgb(194, 197, 255);
    box-shadow: var(--bg-dark);  
    margin-bottom: 30px;
}
/*



    .hero-content h1 {
        font-size: 3em;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1em;
        font-weight: 300;
        margin: 40px 0 60px;
        color: rgba(255, 255, 255, 0.8);
    }
*/
/* Services Section */
.services-section {
    background-color: var(--bg-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

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

.service-card .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    background: var(--gradient-highlight);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(255,0,119,0.3);
}

.service-card .icon img {
    width: 45px;
    height: 45px;
    filter: brightness(200%);
}

.service-card h3 {
    color: var(--text-light);
    font-size: 1.5em;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95em;
}

.services-sub-points {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 60px;
}

.sub-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sub-point img {
    width: 60px;
    height: 60px;
    filter: brightness(200%);
    opacity: 0.8;
    margin-bottom: 10px;
}

.sub-point span {
    font-size: 1.1em;
    font-weight: 500;
    color: var(--text-light);
}

/* Process Section */
.process-section {
    background-color: var(--primary-purple);
    padding: 80px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 cards em uma linha para desktop */
    gap: 20px; /* Reduzindo o gap */
}

.process-step {
    background: var(--gradient-highlight); /* Aplicando degradê permanente */
    border-radius: 12px; /* Reduzindo border-radius */
    padding: 20px; /* Reduzindo padding */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 5px 15px rgba(255, 0, 119, 0.3); /* Sombra com cor do degradê */
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 0, 119, 0.5);
}

/* Removendo a classe highlighted já que todos terão degradê */
.process-step.highlighted {
    background: var(--gradient-highlight);
    box-shadow: 0 5px 15px rgba(255, 0, 119, 0.3);
    transform: none;
}

.process-step h3 {
    font-size: 1.2em; /* Aumentando para melhor legibilidade */
    color: #ffffff; /* Branco puro para melhor contraste */
    margin-bottom: 12px; /* Aumentando margem para respirar */
    font-weight: 600; /* Deixando mais bold */
    text-shadow: 0 1px 2px rgba(0,0,0,0.3); /* Sombra sutil para destacar */
}

.process-step p {
    color: rgba(255, 255, 255, 0.95); /* Aumentando opacidade para melhor contraste */
    font-size: 0.9em; /* Aumentando ligeiramente para melhor leitura */
    line-height: 1.5; /* Melhorando espaçamento entre linhas */
    text-shadow: 0 1px 1px rgba(0,0,0,0.2); /* Sombra sutil para melhor legibilidade */
}

/* Media queries para responsividade dos cards de processo */
@media (max-width: 900px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cards por linha em tablets */
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .process-step {
        padding: 15px; /* Ainda menor em mobile */
    }
    
    .process-step h3 {
        font-size: 1.1em; /* Mantendo legível em mobile */
        margin-bottom: 10px;
    }
    
    .process-step p {
        font-size: 0.85em; /* Aumentando para melhor leitura em mobile */
        line-height: 1.4;
    }
    
    .process-grid {
        gap: 10px;
    }
}

/* Portfolio Section */
.portfolio-section {
    background-color: var(--bg-dark);
    padding: 80px 0;
}

/* Layout horizontal - definição removida para evitar conflito */

.portfolio-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 400px;
    margin: 0 auto;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.video-thumbnail {
    position: relative;
    flex: 1;
}

.video-thumbnail img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

.play-btn {
    background: var(--gradient-highlight);
    color:rgb(209, 238, 255);
    border: none;
    box-shadow: 0 5px 15px rgba(255, 0, 119, 0.4);
    padding: 10px 20px;
    margin-top: 0px;
    margin-bottom: 20px;
    border-radius: 30px;
    font-size: 0.7em;
    letter-spacing: 1px;
}

.play-btn:hover {
    background: var(--primary-purple);
}

.portfolio-item h3 {
    font-size: 1.6em;
    color: var(--text-light);
    margin-bottom: 10px;
}

.portfolio-item p {
    font-size: 1em;
    color: rgba(255, 255, 255, 0.8);
}

/* Modal de vídeo */
#videoModal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}
#videoModal video {
  max-width: 90%;
  max-height: 80%;
  display: block;
  margin: auto;
}
.close-modal {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  background: var(--gradient-highlight);
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
  cursor: pointer;
  z-index: 1100;
}



/* Testimonials Section */
.testimonials-section {
    background: var(--gradient-hero);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonial-carousel {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    margin-top: 40px;
    position: relative;
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 15px; /* Espaço para a barra de rolagem se visível */
    -ms-overflow-style: none;  /* IE e Edge */
    scrollbar-width: none;     /* Firefox */
}
.testimonial-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari e Opera */
}

.testimonial-card {
    flex: 0 0 80%; /* Show one main card, maybe part of next */
    max-width: 800px;
    min-width: 300px; /* Garante que o card não fique muito pequeno */
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 40px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    text-align: center;
    scroll-snap-align: center;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.testimonial-card .client-info {
    font-weight: 600;
    color: var(--text-light);
}

.carousel-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.carousel-nav button {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5em;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-nav button:hover {
    background-color: var(--accent-pink);
}

/* Contact Section */
.contact-section {
    background-color: var(--bg-dark);
    padding-bottom: 40px;
    display: flex;
    flex-direction:row;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-section-container {
    padding: 0 20px;
    margin: auto;
    width: 100%;
    max-width: 1200px;
}

.contact-section h2, .contact-section .btn-secondary {
    margin-bottom: 40px;
}

.contact-grid {
    display: flex;
    flex-direction: row;
    gap: 50px;
    margin-top: 60px;
}
.contact-form{
    flex: 1;
    width: 100%;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    max-width: 600px;
}

.contact-form h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-light);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: var(--accent-blue);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(0,191,255,0.3);
}

.contact-form .btn-primary {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    cursor: pointer;
}



.contact-info {
    text-align:center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content:space-between;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info a {
    color: var(--accent-blue);
}


/* Estilos para o grupo de checkboxes */
.checkbox-group {
    display: flex;
    flex-wrap: wrap; /* permite quebrar linha se faltar espaço */
    gap: 20px; /* espaçamento entre cada opção */
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

/* cada par checkbox + label */
.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
}

.checkbox-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
}

.checkbox-item label {
    cursor: pointer;
    font-size: 1em;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.checkbox-item input[type="checkbox"] {
    margin: 0;
    transform: scale(1.1); /* deixa o checkbox um pouco maior */
    cursor: pointer;
}

.checkbox-group input[type="checkbox"]:checked {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

.checkbox-group input[type="checkbox"]:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-dark);
    font-size: 1.2em;
    font-weight: bold;
}

.checkbox-group input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,191,255,0.3);
}

/* Footer */
.main-footer {
    background-color: #0c001f;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9em;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.main-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-top: 3%;
}

.footer-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    flex-grow: 1; /* Permite que o conteúdo cresça e preencha o espaço */
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    max-width: 400px; /* Limite para não ficar muito largo */
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}
.footer-nav {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-left: 50px;
}
.link2{
    align-items: center;
    margin-left: 20px;

}

.footer-nav ul {
    list-style: none;
    padding: 0; /* Certifica-se de que não há padding extra */
    align-items: flex-start;
    margin-top: 30%;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: var(--accent-blue);
}

.footer-nav ul li a:hover {
    color:  rgba(255, 255, 255, 0.7);
}

.social-links-footer {
    margin: auto;
    padding-top: 5%;
    padding-right: 10%;
}
.social-links-footer img {
    max-width: 40px;}

.social-links-footer img:hover {
    opacity: 0.8;
}

/* ===== Novo layout do footer: duas rows e 3 colunas ===== */
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* alinha à esquerda */
  gap: 32px;
  width: 100%;
}

.footer-row.logo-row {
  display: flex;
  justify-content: flex-start; /* logo alinhada à esquerda */
  align-items: center;
  width: 100%;
}

.footer-logo-img {
  height: 60px;
  object-fit: contain;
}

.footer-row.links-row {
  display: grid;
  grid-template-columns: 1fr 2fr 0.5fr;; /* coluna1: texto | coluna2: links | coluna3: instagram */
  column-gap: 50px; /* espaçamento reduzido entre todas as colunas */
  row-gap: 24px;
  align-items: start;
  width: 100%;
  max-width: 1200px;
}

.footer-col {
  color: rgba(255, 255, 255, 0.7);
}

/* Coluna 1: Texto descritivo alinhado à esquerda */
.col-about {
  text-align: left;
}

.col-about p {
  margin: 0;
  line-height: 1.6;
  font-size: 0.9em;
}

/* Coluna 2: Links divididos em 2 sub-colunas */
.col-links {
  display: flex;
  gap: 40px; /* espaçamento entre as duas sub-colunas de links */
}

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

.links-subcol li {
  margin-bottom: 8px;
}

.footer-col a {
  color: var(--accent-blue);
  text-decoration: none;
}

.footer-col a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Coluna 3: Instagram alinhado à esquerda */
.col-social {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  
  
}

.social-instagram img {
  width: 40px;
  height: 40px;
  transition: opacity 0.3s ease;
}

.social-instagram img:hover {
  opacity: 0.8;
}

/* ===== Responsivo: mobile empilhado e centralizado ===== */
@media (max-width: 768px) {
  .footer-content {
    align-items: center; /* centraliza tudo em mobile */
  }
  
  .footer-row.logo-row {
    justify-content: center; /* centraliza logo em mobile */
  }
  
  .footer-row.links-row {
    grid-template-columns: 1fr; /* empilha colunas */
    gap: 24px;
    text-align: center;
  }
  
  .col-about {
    text-align: center;
  }
  
  .col-links {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .col-social {
    justify-content: center; /* mantém Instagram centralizado em mobile */
  }
}

.copyright {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 900px) {
    h1 { font-size: 2.8em; }
    h2 { font-size: 2em; }

    .main-nav ul li {
        margin-left: 20px;
    }

    .hero-section {
        padding: 80px 0;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        /* Remover transform e top/left para centralizar com flexbox do container */
        transform: none; 
        top: auto;
        left: auto;
    }
    .solucoes {
        text-shadow: 0 0 5px rgba(5, 6, 9, 0.7);
        font-size: 1.1em;
        color: rgb(146, 192, 255);
        line-height: 0.7em;
    }
    .animate-on-load {
        margin: 5px;;
        font-size: 1rem;
    }
    .hero-section .container {
        justify-content: center; /* Centraliza o conteúdo no hero */
        text-align: center;
    }

    /* O bloco .hero-visual não existe no HTML, mas se existisse, seria escondido */
    /* .hero-visual {
        display: none;
    } */

    .metrics-section, .services-section, .process-section, .portfolio-section, .testimonials-section, .contact-section {
        padding: 60px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Animações para a Hero Section (script.js) --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content .animate-on-load {;
    opacity: 0; /* Começa invisível */
    transform: translateY(20px); /* Começa um pouco abaixo */
    animation: fadeInUp 0.8s ease-out forwards;
}


/* Você pode adicionar um atraso diferente para cada elemento se quiser um efeito cascata */
.hero-content .animate-on-load.delay-1 { animation-delay: 0.7s; }
.hero-content .animate-on-load.delay-2 { animation-delay: 1.0s; }


/* --- Animação para o Passo do Processo (script.js) --- */
@keyframes scaleUp {
    from {
        transform: scale(0.95);
        opacity: 0.8;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.process-step.highlighted.animate-scale-up {
    animation: scaleUp 0.6s ease-out forwards;
}


/* --- Animações para seções ao rolar (script.js) --- */
.hidden-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Opcional: Se quiser que o conteúdo dentro da seção também anime */
/* Exemplo para .services-grid e .services-sub-points */
.services-section.hidden-section .services-grid,
.services-section.hidden-section .services-sub-points,
.portfolio-section.hidden-section .portfolio-grid,
.contact-section.hidden-section .contact-grid {
    opacity: 0;
    transform: translateY(30px);
}

.services-section.visible .services-grid,
.services-section.visible .services-sub-points,
.portfolio-section.visible .portfolio-grid,
.contact-section.visible .contact-grid {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 1s ease-out 0.3s, transform 1s ease-out 0.3s; /* Atraso para aparecer depois da seção */
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block; /* Show hamburger icon */
    }
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    .hero-content p { font-size: 1.1em; }

    /* Estas classes estavam incompletas, assumindo que se aplicam a grids */
    .metrics-grid, .services-grid, .portfolio-grid {
        grid-template-columns: 1fr; /* Coluna única em telas menores */
    }
    
    /* Process timeline específico: 2 cards por linha em mobile */
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .process-timeline::before {
        display: none; /* Ocultar linha cronológica no mobile */
    }
    
    .process-step {
        padding: 20px 15px;
    }
    
    .step-number {
        font-size: 0.8em;
        font-family: 'Montserrat', sans-serif;
        color: var(--text-light);
        margin-bottom: 6px;
        text-align: left;
    }
    
    .process-step h3 {
        font-size: 1em;
        margin-bottom: 10px;
        text-align: left;
    }
    
    .process-step p {
        font-size: 0.8em;
        text-align: left;
    }

    .testimonial-carousel .testimonial-card {
        flex: 0 0 95%; /* Ocupa mais espaço em telas menores */
    }
}

/* Media query para telas ainda menores (ex: celulares antigos) */
@media (max-width: 480px) {
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.5em; }
    .hero-content p { font-size: 1em; }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .service-card, .process-step, .portfolio-item, .contact-form-wrapper, .contact-info, .testimonial-card {
        padding: 25px;
    }
    .contact-details {
        font-size: 0.8em;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-logo, .footer-nav {
        text-align: center;
        width: 100%;
    }
}

/* ========== Pequenos estilos adicionados para typing + estrelas (não alteram o design) ========== */

/* cursor piscante no texto digitado (mantém .highlight) */
#typed-target::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    background: currentColor;
    margin-left: 8px;
    vertical-align: bottom;
    animation: blink 1s steps(2,start) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* estrelas discretas para depoimentos — visual leve, não muda layout */
.star-rating {
    margin-bottom: 10px;
    font-size: 1.05em;
    color: #FFD166; /* tom dourado suave */
    letter-spacing: 2px;
}

/* garante contraste do checkbox novo (auto-open) em mobile */
#auto-open-whatsapp {
    accent-color: var(--accent-blue);
}

/* ===== ESTILOS RESPONSIVOS ===== */
@media (max-width: 1200px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    .hero-content {
        margin-right: var(--spacing-md);
    }
}

@media (max-width: 900px) {
    h1 { 
        font-size: clamp(2rem, 4vw, 3rem); 
    }
    
    h2 { 
        font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    }
    
    .services-grid, .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .portfolio-grid-horizontal {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .contact-form-wrapper, .contact-info {
        max-width: 100%;
    }
    
    .hero-section {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }
    
    .hero-content, .hero-image {
        flex: 1 1 100%;
        max-width: 100%;
        margin: var(--spacing-md) 0;
    }
    
    .hero-section .container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {

    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav ul li {
        margin: var(--spacing-xs) 0;
        text-align: center;
    }
    
    .main-nav ul li a {
        display: block;
        padding: var(--spacing-xs) 0;
    }
    
    .nav-toggle {
        display: block;
        font-size: 1.5rem;
    }
    
    /* Conteúdo */
    .services-grid, .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid-horizontal {
        grid-template-columns: 1fr;
    }
    
    .services-sub-points {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .sub-point {
        margin: var(--spacing-xs) 0;
        padding: 0;
    }
    
    /* Rodapé */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-lg);
    }
    
    .footer-logo, .footer-nav, .footer-contact {
        margin-bottom: var(--spacing-md);
        width: 100%;
    }
    
    .footer-nav {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .process-step {
        padding: var(--spacing-md);
    }
    
    .testimonial-card {
        padding: var(--spacing-md);
    }
    
    .checkbox-group {
        flex-direction: column;
    }
    
    .checkbox-item {
        margin: var(--spacing-xs) 0;
    }
    
    .main-header .logo img {
        height: 40px;
    }
}

/* ====================================================================================== */

/* Cookies: janelas fixas no canto direito */
.consent-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1200;
  background: rgba(18, 0, 47, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  width: min(420px, 92vw);
  color: var(--text-light);
}
.consent-banner-content { padding: 8px 10px; font-size: 0.85rem; text-align: center; }
.consent-actions { display: flex; gap: 6px; flex-wrap: nowrap; margin-top: 8px; justify-content: center; }
.consent-actions button { font-size: 0.85rem; padding: 6px 9px; white-space: nowrap; flex: 0 0 auto; }

/* Overlay ocupa a tela, posiciona a janelinha no canto direito */
.consent-modal {
  position: fixed;
  inset: 0;
  display: none; /* script alterna para flex */
  justify-content: flex-end;
  align-items: flex-end;
  padding: 24px;
  background: rgba(0,0,0,0.35);
  z-index: 1300;
}
.consent-modal-content {
  background: rgba(18, 0, 47, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  width: min(520px, 95vw);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  font-size: 0.9rem;
  text-align: center;
}
.consent-modal-header { display: flex; justify-content: space-between; align-items: center; }
.close-consent { background: transparent; border: 1px solid rgba(255,255,255,0.25); color: var(--text-light); border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.cookie-category { border-top: 1px solid rgba(255,255,255,0.12); padding: 12px 4px; }


/*RESPOSIVIDADE*/
/* ====== RESPONSIVIDADE ====== */

/* Telas até 768px (celulares) */
@media (max-width: 768px) {
  /* Menu mobile */
  .main-nav {
    display: none !important;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: rgba(18, 0, 47, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
  }
  .main-nav.active {
    display: flex !important;
    flex-direction: column;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    animation: slideDown 0.3s ease;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    margin: 0;
    padding: 0;
  }
  .main-nav ul li {
    margin: 0;
    padding: 10px 0;
  }
  .main-nav ul li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
  }
  .main-nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  .nav-toggle {
    display: block !important;
    z-index: 10000;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Regras mobile encapsuladas corretamente */
@media (max-width: 768px) {
  /* Hero */
  .hero-section .container {
    flex-direction: column;
    text-align: center;
  }

  /* Serviços */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Processos */
  .process-timeline {
    grid-template-columns: 1fr;
  }

  /* Portfólio */
  .portfolio-grid-horizontal {
    grid-template-columns: 1fr;
  }

  /* Contato */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}
}
/* Telas até 480px (celulares pequenos) */
@media (max-width: 480px) {
  .contact-section {
    flex-direction: column; /* empilha os elementos */
    align-items: stretch;   /* garante que ocupem 100% */
  }
  .contact-section-container {
    padding: 20px;         /* padding menor em mobile */
    width: 100%;
  }

  .contact-grid {
    flex-direction: column;
    gap: 20px; /* reduz o espaçamento em telas pequenas */
    width: 100%;
  }

  .contact-form-wrapper,
  .contact-info {
    max-width: 100%; /* impede de passar de 100% da tela */
    padding: 20px;   /* padding menor em mobile */
  }
}
/* Telas entre 769px e 1024px (tablets e notebooks menores) */
@media (min-width: 769px) and (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid-horizontal {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Ajustes específicos para mobile */
@media (max-width: 768px) {
  /* ====== Footer ====== */
  .footer-content {
    flex-direction: column;      /* coloca os elementos um embaixo do outro */
    align-items: center;         /* centraliza horizontal */
    text-align: center;          /* centraliza texto */
    gap: 15px;                   /* espaço entre itens */
  }

  /* ====== Contato/Orçamento ====== */
  .contact-grid {
    grid-template-columns: 1fr;  /* força uma coluna só */
    text-align: center;          /* centraliza o texto */
  }

  .contact-grid form {
    margin: 0 auto;              /* centraliza o formulário */
    max-width: 90%;              /* evita ficar encostado nas bordas */
  }
}

/* ====== AJUSTES MOBILE (até 768px) ====== */
@media (max-width: 768px) {

  /* 1 - Hero abaixo do menu */
  .hero-section {
    height: auto; /* deixa altura automática em mobile */
    padding: 40px 20px;
    background-color: #260160;
  }

  /* 2 - Hero centralizada */
  .hero-content {
    align-items: center !important;
    text-align: center !important;
    gap: 20px;
  }

  .hero-content2 {
    justify-content: center;
  }
  .hero-content h1 {
    font-size: 2em;
    line-height: 1.2;
  }

  /* 3 - Contato responsivo */
  .contact-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    width: 100%;
  }

  .contact-grid {
    flex-direction: column !important;
    gap: 30px !important;
    width: 100%;
  }

  .contact-form-wrapper,
  .contact-info {
    max-width: 100%;
    width: 100%;
  }

  /* 4 - Footer centralizado */
  .main-footer .container,
  .footer-content {
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
    text-align: center !important;
  }

  /* 5 - Footer-nav empilhado */
  .footer-nav {
    flex-direction: column !important;
    margin: 0 !important;
    gap: 15px !important;
    text-align: center;
  }

  .footer-nav ul {
    margin-top: 0 !important;
    padding: 0 !important;
  }

  /* 6 - Remove barra lateral */
  body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }
}

/* ===== Estilos para melhor clareza visual ===== */

/* Seção de Nossos Serviços */
.our-services-section h2 {
    position: relative;
    display: inline-block;
}

/* Títulos principais com tracinho azul */
.services-section h2::after,
.our-services-section h2::after,
.main-title-with-line::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 2px;
}

.main-title-with-line {
    position: relative;
    display: inline-block;
}

/* Melhorias na seção de branding */
.branding-block {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 60px 40px;
    border: 1px solid rgba(0, 191, 255, 0.1);
    backdrop-filter: blur(5px);
}

.branding-block h3 {
    color: var(--text-light);
    font-weight: 600;
}

/* Cards de serviços com melhor hierarquia visual */
.services-grid .service-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 191, 255, 0.2);
}

.services-grid .service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.2);
}

.services-grid .service-card h3 {
    font-size: 1.1em;
    line-height: 1.4;
    margin-top: 15px;
}

/* Seção de soluções completas - responsividade */
@media (max-width: 768px) {
    .solutions-section {
        padding: 60px 0 !important;
    }
    
    .main-solution-title h2 {
        font-size: 1.8em !important;
    }
    
    .solution-cards {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .solution-card {
        padding: 25px !important;
    }
    
    .branding-block {
        padding: 40px 20px !important;
        margin: 20px !important;
    }
}

/* Melhor espaçamento entre seções */
section {
    margin-bottom: 40px;
}

/* Títulos de seção com melhor hierarquia */
section h2 {
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.3;
}

section h3 {
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Parágrafos com melhor legibilidade */
section p {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.95;
}

/* Correções específicas para modal de vídeo no mobile */
@media (max-width: 768px) {
    #videoModal {
        padding: 10px !important;
        z-index: 9999 !important;
    }
    
    #videoModal .video-content {
        width: 95vw !important;
        max-width: none !important;
        max-height: 90vh !important;
        padding: 15px !important;
        margin: auto !important;
    }
    
    #videoModal video {
        width: 100% !important;
        max-height: 70vh !important;
        height: auto !important;
    }
    
    .video-modal-header {
        flex-direction: column !important;
        gap: 10px !important;
        margin-bottom: 15px !important;
    }
    
    .video-modal-header h3 {
        font-size: 1.2em !important;
        margin: 0 !important;
        text-align: center !important;
    }
    
    .close-modal {
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        width: 35px !important;
        height: 35px !important;
        font-size: 18px !important;
        z-index: 10000 !important;
    }
}
