:root {
    --bg-dark: #0F172A;
    --bg-medium: #1E293B;
    --primary-blue: #3B82F6;
    --accent-cyan: #06B6D4;
    --text-light: #F1F5F9;
    --text-medium: #94A3B8;
    --font-family: 'Poppins', sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 600;
}
h2.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-light);
}
p.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto 60px auto;
}
.main-header {
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo img {
    height: 100px; 
    transition: height 0.3s ease;
}
.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}
.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}
.main-nav a:hover {
    color: var(--accent-cyan);
}
.lang-switcher {
    display: flex;
    gap: 10px;
}
.lang-btn {
    background: none;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: border-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lang-btn img {
    width: 24px;
    height: 24px;
    display: block;
}
.lang-btn.active {
    border-color: var(--accent-cyan);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
}
.hamburger-menu span {
    width: 30px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.hero-section { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 80px; overflow: hidden; }
.hero-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.5s ease-in-out; transform: scale(1.05); }
.slide.active { opacity: 1; transform: scale(1); transition: opacity 1.5s ease-in-out, transform 7s linear; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.7); z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.hero-content h1 { font-size: 2.2rem; max-width: 900px; margin: 0 auto 30px auto; font-weight: 400; }
.cta-button { background-image: linear-gradient(to right, var(--primary-blue), var(--accent-cyan)); color: #fff; padding: 15px 30px; border-radius: 5px; text-decoration: none; font-weight: 600; transition: transform 0.3s ease, box-shadow 0.3s ease; display: inline-block; border: none; cursor: pointer; background-size: 200% auto; }
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(6, 182, 212, 0.3); }
section { padding: 100px 0; position: relative; }
.about-section { background-color: var(--bg-dark); }
.about-container { display: flex; align-items: center; gap: 50px; }
.about-image { flex: 1; }
.about-image img { width: 100%; border-radius: 10px; }
.about-text { flex: 1; }
.about-text h2 { font-size: 2rem; margin-bottom: 20px; }
.about-text p { color: var(--text-medium); margin-bottom: 15px; }
.services-section { background-color: var(--bg-medium); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 900px;margin: 0 auto; }
.service-card { background: linear-gradient(145deg, var(--bg-medium), var(--bg-dark)); padding: 30px; border-radius: 10px; border: 1px solid transparent; position: relative; overflow: hidden; transition: transform 0.3s ease, border-color 0.3s ease; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 10px; border: 1px solid transparent; background: linear-gradient(to bottom right, var(--primary-blue), var(--accent-cyan)) border-box; -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0); -webkit-mask-composite: destination-out; mask-composite: exclude; opacity: 0; transition: opacity 0.3s ease; }
.service-card:hover { transform: translateY(-10px); }
.service-card:hover::before { opacity: 1; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--accent-cyan); position: relative; z-index: 2; }
.service-card p { color: var(--text-medium); position: relative; z-index: 2; }
.portfolio-section { background-color: var(--bg-dark); }
.portfolio-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.2); }
.technology-section { background-color: var(--bg-medium); }
.technology-section { background-color: var(--bg-medium); }
.tech-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Coluna do vídeo um pouco maior */
    gap: 50px;
    align-items: center;
}
.tech-video {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
}
.tech-video video {
    display: block;
    width: 100%;
    height: auto;
}
.tech-points p { margin-bottom: 20px; font-size: 1.1rem; }
.tech-points ul { list-style: none; padding-left: 0; }
.tech-points li { margin-bottom: 15px; padding-left: 25px; position: relative; color: var(--text-medium); }
.tech-points li::before { content: '✓'; color: var(--accent-cyan); position: absolute; left: 0; font-weight: bold; }

/* Ajuste de responsividade para o vídeo */
@media (max-width: 992px) {
    .tech-content {
        grid-template-columns: 1fr; /* Empilha o vídeo e o texto */
    }
}
.tech-points ul { list-style: none; padding-left: 0; }
.tech-points li { margin-bottom: 15px; padding-left: 25px; position: relative; color: var(--text-medium); }
.tech-points li::before { content: '✓'; color: var(--accent-cyan); position: absolute; left: 0; font-weight: bold; }
.tech-machines h3 { font-size: 1.5rem; margin-bottom: 20px; color: var(--accent-cyan); }
.machine-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.machine-card { background-color: var(--bg-dark); padding: 20px; border-radius: 8px; text-align: center; border: 1px solid rgba(148, 163, 184, 0.2); }
.quality-section { background-color: var(--bg-dark); }
.quality-content { display: flex; gap: 50px; background: linear-gradient(145deg, var(--bg-medium), var(--bg-dark)); padding: 40px; border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.2); }
.quality-commitments { flex: 2; }
.quality-commitments h3 { margin-bottom: 20px; font-size: 1.5rem; }
.quality-commitments ol { padding-left: 20px; }
.quality-commitments li { margin-bottom: 15px; color: var(--text-medium); }
.quality-certs { flex: 1; text-align: center; }
.certs-logos { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; align-items: center; }
.certs-logos img { max-width: 180px; opacity: 0.8; transition: opacity 0.3s ease; }
.certs-logos a:hover img { opacity: 1; }
.link-document { display: inline-block; margin-top: 30px; color: var(--accent-cyan); text-decoration: none; }
.link-document:hover { text-decoration: underline; }
.compliance-section { background-color: var(--bg-medium); text-align: center; }
.compliance-content { max-width: 800px; margin: 0 auto; background: var(--bg-dark); padding: 40px; border-radius: 10px; border: 1px solid rgba(148, 163, 184, 0.2); }
.compliance-content p { color: var(--text-medium); margin-bottom: 30px; }
.contact-section { background-color: var(--bg-dark); }
.contact-form { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.contact-form input,
.contact-form textarea { width: 100%; padding: 15px; border-radius: 5px; border: 1px solid rgba(148, 163, 184, 0.2); background-color: var(--bg-medium); color: var(--text-light); font-family: var(--font-family); transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.3); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-medium); }
.main-footer { background-color: #020617; padding: 30px 0; text-align: center; color: var(--text-medium); font-size: 0.9rem; }
.main-footer p { margin-bottom: 5px; }
.developer-credit { margin-top: 15px; font-size: 0.85rem; opacity: 0.7; }
.developer-credit a { color: var(--text-medium); text-decoration: none; transition: color 0.3s ease; }
.developer-credit a:hover { color: var(--accent-cyan); text-decoration: underline; }

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}
.whatsapp-float img {
    width: 35px;
    height: 35px;
}
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-medium);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 2000;
    transition: bottom 0.5s ease-in-out;
}
.cookie-banner.show {
    bottom: 0;
}
.cookie-banner p {
    margin: 0;
    color: var(--text-medium);
    max-width: 70%;
}
.cookie-banner .cta-button {
    padding: 10px 25px;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .tech-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {

    .services-grid {
        grid-template-columns: 1fr;
    }
    section {
        padding: 80px 0;
    }
    .hero-content h1 {
        font-size: 1.8rem; 
    }
    h2.section-title {
        font-size: 2rem;
    }
    .logo img {
        height: 50px; 
    }


    .hamburger-menu {
        display: flex; 
    }
    .main-nav {
        display: flex; 
        position: fixed;
        top: 0;
        right: -100%; 
        width: 70%;
        height: 100vh;
        background-color: var(--bg-medium);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
        z-index: 1001;
        padding: 20px; 
    }
    .main-nav.active {
        right: 0; 
    }
    .main-nav ul {
        flex-direction: column;
        gap: 40px;
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
    }


    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(20px);
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-banner p {
        max-width: 100%;
    }

 
    .about-container, .quality-content { flex-direction: column; }
    .machine-cards { grid-template-columns: 1fr; }
}
.certs-instruction {
    font-size: 0.85rem; /* Um pouco menor para ser mais sutil */
    color: var(--text-medium);
    margin-top: 4px; /* Substitui a margem negativa por uma pequena margem positiva */
    margin-bottom: 25px; /* Mantém o espaço para os selos */
    font-style: italic;
    opacity: 0.8;
    display: block; /* Garante que ocupe sua própria linha */
    text-align: center; /* Garante o alinhamento central */

}


.certs-logos a {
    display: block; 
    position: relative;
    border-radius: 8px;
    overflow: hidden; 
}


.certs-logos img {
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
    display: block; 
}

.certs-logos a:hover img {
    opacity: 1;
    transform: scale(1.05); 
    filter: brightness(0.6); 
}

.certs-logos a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background-color: rgba(6, 182, 212, 0.85); 

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23F1F5F9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'%3E%3C/path%3E%3Cpolyline points='15 3 21 3 21 9'%3E%3C/polyline%3E%3Cline x1='10' y1='14' x2='21' y2='3'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50%;
    opacity: 0; 
    transition: opacity 0.3s ease;
    pointer-events: none; 
}

.certs-logos a:hover::after {
    opacity: 1;
}

/* --- ESTILOS DA PÁGINA DE OUVIDORIA --- */

/* Seção de Introdução (fundo branco) */
.ouvidoria-intro {
    background-color: #fff;
    color: var(--bg-dark);
    text-align: center;
    padding: 120px 0 80px 0;
    margin-top: 80px; /* Espaço para o header fixo */
}
.ouvidoria-intro h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}
.ouvidoria-subtitle {
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}
.ouvidoria-intro p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #555;
}
.ouvidoria-intro p strong {
    font-style: italic;
}
.ouvidoria-actions {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.action-button {
    background-color: #E0E7FF; /* Azul claro, quase branco */
    color: var(--primary-blue);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #C7D2FE;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.action-button:hover {
    background-color: var(--primary-blue);
    color: #fff;
}

/* Seção de Canais (fundo azul) */
.ouvidoria-canais {
    background-color: #2563EB; /* Azul vibrante da imagem */
    padding: 80px 0;
}
.canais-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}
.canais-header h2 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0;
}
.canais-header p {
    color: #D1E4FF; /* Azul claro para o texto secundário */
    margin: 0;
}
.canais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.canal-card {
    background-color: #fff;
    color: var(--bg-dark);
    padding: 30px;
    border-radius: 10px;
}
.card-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-medium);
    display: block;
    margin-bottom: 15px;
}
.canal-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}
.canal-card p {
    color: #555;
    line-height: 1.7;
}

/* Responsividade para a página de ouvidoria */
@media (max-width: 768px) {
    .ouvidoria-intro h1 {
        font-size: 2.2rem;
    }
    .canais-header {
        justify-content: center;
        text-align: center;
    }
}
.work-with-us-section {
    padding-top: 120px;
    padding-bottom: 100px;
    background-color: var(--bg-dark);
}
.work-with-us-section .contact-form {
    margin-top: 40px;
}
.work-with-us-section label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-medium);
}
.work-with-us-section input[type="file"] {
    width: 100%;
    color: var(--text-medium);
    padding: 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 5px;
}