/* --- CONFIGURAÇÕES GERAIS --- */
:root {
    --otheva-dark: #102e38;
    --otheva-light: #1c4b5b;
    --otheva-yellow: #fdd835;
    --otheva-blue: #004553;
    --text-gray: #555555;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Helvetica, Arial, sans-serif; }

body {
    background-color: var(--light-bg);
    color: var(--text-gray);
    line-height: 1.6;
    overflow-x: hidden;
    /* =========================================
   SEPARADOR DE SEÇÕES (LINHA AMARELA CURTA - CORRIGIDA)
   ========================================= */

section {
    position: relative; /* Obrigatório para a linha aparecer */
    padding-bottom: 50px; /* Cria espaço extra no final para a linha não ficar em cima do texto */
    margin-bottom: 0;
}

section::after {
    content: "";
    display: block; /* Garante que o elemento exista */
    
    /* Tamanho */
    width: 850px; /* Largura (menor, como pediu) */
    height: 4px;   /* Altura (grossa) */
    background-color: var(--otheva-yellow);
    
    /* Centralização e Posição */
    position: absolute;
    bottom: 20px; /* Fica 20px acima do fim da seção */
    left: 50%;
    transform: translateX(-50%); /* Centraliza exato */
    
    /* O "Pulo do Gato" para não sumir */
    z-index: 99; 
    border-radius: 10px; /* Pontas arredondadas */
}

/* Remove a linha da seção amarela (CTA) e do Header/Footer */
.cta-installer::after,
header::after,
footer::after {
    display: none !important;
}
}
a { text-decoration: none; }
ul { list-style: none; }

/* --- HEADER --- */
header {
    background: var(--otheva-dark);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.logo { font-size: 26px; font-weight: 800; color: var(--otheva-yellow); text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
nav ul { display: flex; gap: 30px; }
nav a { color: var(--white); font-size: 14px; font-weight: 600; text-transform: uppercase; transition: color 0.3s; }
nav a:hover { color: var(--otheva-yellow); }
.btn-header { border: 2px solid var(--otheva-yellow); padding: 8px 20px; border-radius: 4px; color: var(--otheva-yellow); }
.btn-header:hover { background: var(--otheva-yellow); color: var(--otheva-dark); }

/* --- BANNER ROTATIVO (Carousel) --- */
.carousel-container {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    background: var(--otheva-dark);
}

.carousel-track { display: flex; height: 100%; width: 100%; cursor: grab; }
.carousel-track:active { cursor: grabbing; }
/* No seu arquivo style.css, procure este bloco: */
.carousel-track {
    display: flex;
    height: 100%;
    width: 100%;
    cursor: grab;
    
    /* ADICIONE ESTA LINHA: */
    transition: transform 0.8s ease-in-out; 
}

/* Estilo Base do Slide */
.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
    box-sizing: border-box;
    user-select: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* --- Ajuste de Sombra no Carrossel --- */

.slide-1 {
    /* Mudei os últimos números para 0.3 (30% de opacidade) */
    background-image: linear-gradient(rgba(16, 46, 56, 0.6), rgba(16, 46, 56, 0.3)), url('imgs/produto.jpeg');
}

.slide-2 {
    /* Faça o mesmo para o slide 2 */
    background-image: linear-gradient(rgba(16, 46, 56, 0.3), rgba(16, 46, 56, 0.3)), url('imgs/catalogo.jpeg');
}

/* Estilo do Texto sobre a imagem */
.hero-content { 
    max-width: 600px;
    z-index: 2; 
    color: white; 
    text-align: left;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero-content h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 25px; font-weight: 800; }
.hero-content p { font-size: 1.2rem; color: #f0f0f0; margin-bottom: 40px; }
.tagline { color: var(--otheva-yellow); font-weight: bold; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 15px; display: block; letter-spacing: 1px; }

.btn-primary { background-color: var(--otheva-yellow); color: var(--otheva-dark); padding: 15px 40px; font-weight: 700; font-size: 1rem; border-radius: 5px; display: inline-block; transition: transform 0.2s; border: none; text-shadow: none; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(253, 216, 53, 0.3); }

/* Controles do Banner */
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); color: white; border: none; font-size: 2rem; padding: 15px; cursor: pointer; z-index: 10; border-radius: 50%; transition: 0.3s; backdrop-filter: blur(5px); }
.carousel-btn:hover { background: var(--otheva-yellow); color: var(--otheva-dark); }
.btn-prev { left: 30px; }
.btn-next { right: 30px; }
.carousel-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.dot { width: 12px; height: 12px; background: rgba(255,255,255,0.4); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--otheva-yellow); transform: scale(1.3); }

/* --- DEMAIS SEÇÕES --- */
.features { background: var(--white); padding: 40px 10%; display: flex; justify-content: center; gap: 50px; margin-top: -60px; position: relative; z-index: 10; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); max-width: 1200px; margin-left: auto; margin-right: auto; }
.feature-item { text-align: center; }
.feature-item strong { display: block; color: var(--otheva-dark); font-size: 1.1rem; margin-bottom: 5px; }
.feature-item span { font-size: 0.9rem; color: #777; }

.products-section { padding: 100px 10%; text-align: center; }
.section-header h2 { color: var(--otheva-dark); font-size: 2.2rem; margin-bottom: 15px; }
.section-header p { max-width: 600px; margin: 0 auto 60px auto; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: var(--white); border-radius: 12px; overflow: hidden; transition: all 0.3s ease; text-align: left; border: 1px solid #eee; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--otheva-yellow); }
.card-img { height: 220px; background: #f4f4f4; display: flex; align-items: center; justify-content: center; padding: 20px; }
.card-img img { max-height: 100%; max-width: 100%; }
.card-content { padding: 30px; }
.card-category { font-size: 0.8rem; text-transform: uppercase; color: #999; font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.card h3 { color: var(--otheva-dark); font-size: 1.5rem; margin-bottom: 15px; }
.card p { font-size: 0.95rem; color: #666; margin-bottom: 25px; }
.link-arrow { color: var(--otheva-dark); font-weight: 700; display: flex; align-items: center; gap: 5px; }
.link-arrow:hover { color: #004553; }
.cta-installer { background-color: var(--otheva-yellow); padding: 80px 10%; display: flex; align-items: center; justify-content: space-between; color: var(--otheva-dark); }
.cta-text h2 { font-size: 2.5rem; margin-bottom: 15px; }
.btn-dark { background-color: var(--otheva-dark); color: var(--white); padding: 15px 40px; border-radius: 5px; font-weight: bold; }
footer { background: #1a1a1a; color: #777; padding: 40px 10%; text-align: center; }

/* --- RESPONSIVO GERAL --- */
@media (max-width: 768px) {
    .carousel-slide { padding: 0 5%; align-items: center; text-align: center; }
    .hero-content { max-width: 100%; text-align: center; }
    .hero-content h1 { font-size: 2.2rem; }
    .carousel-btn { display: none; }
    .features { flex-direction: column; gap: 20px; margin-top: 20px; padding: 30px 5%; width: 90%; }
    .cta-installer { flex-direction: column; text-align: center; gap: 30px; }
    nav { display: none; }
}

/* =========================================
   NOVA SEÇÃO DE PRODUTOS (COM ANIMAÇÃO)
   ========================================= */

/* Container Principal da Seção */
.otheva-secao-produtos {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
}

.otheva-titulo {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #000;
}

/* Grid de Produtos (4 por linha) */
.otheva-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* --- ESTILOS DO CARD --- */
.otheva-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Adicionamos transição para a borda também */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden; /* Garante que nada saia do card durante a animação */
}

/* Comportamento ao passar o mouse no CARD */
.otheva-card:hover {
    transform: scale(1.03); /* Faz o card crescer um pouco */
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* Sombra mais destacada */
    border-color: #2e1a47; /* Borda muda para a cor roxa da marca */
    z-index: 2;
}

.otheva-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.otheva-nome-prod {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    min-height: 40px;
}

.otheva-preco {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.otheva-desconto {
    font-size: 12px;
    color: #777;
    margin-bottom: 15px;
}

/* --- BOTÃO (Com animação) --- */
.otheva-btn {
    display: block;
    width: 100%;
    padding: 12px 0;
    background-color: #2e1a47;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 14px;
    cursor: pointer;
    border: none;
    
    /* Configurações da animação: Invisível e deslocado para baixo */
    opacity: 0; 
    transform: translateY(20px); 
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
}

/* Quando passar o mouse no CARD, o BOTÃO aparece */
.otheva-card:hover .otheva-btn {
    opacity: 1; 
    transform: translateY(0); 
}

.otheva-btn:hover {
    background-color: #452c63;
}

/* Responsividade da Seção de Produtos */
@media (max-width: 1024px) {
    .otheva-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .otheva-grid {
        grid-template-columns: 1fr;
    }
    /* Em telas de toque (celular), pode ser interessante deixar o botão sempre visível,
       mas mantive o efeito padrão para consistência. Se quiser mudar, avise. */
}
.otheva-preco {
    font-size: 18px;
    font-weight: bold;
    color: #004952; /* Mudei para o ROXO da sua marca. */
    margin-bottom: 5px;
}
/* =========================================
   SEÇÃO DE ARTIGOS (3 COLUNAS)
   ========================================= */

.otheva-secao-artigos {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
}

/* Grid de 3 colunas para artigos */
.otheva-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Aqui define as 3 colunas */
    gap: 30px; /* Espaço um pouco maior entre os artigos */
}

/* Card do Artigo */
.otheva-card-artigo {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px; /* Bordas levemente mais arredondadas */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.otheva-card-artigo:hover {
    transform: translateY(-10px); /* Sobe ao passar o mouse */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #fdd835; /* Detalhe em Amarelo Otheva ao passar o mouse */
}

/* Imagem do Artigo (Retangular) */
.otheva-img-artigo {
    width: 100%;
    height: 220px;
    object-fit: cover; /* Cobre todo o espaço sem distorcer */
}

/* Conteúdo do Texto */
.otheva-artigo-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.otheva-data {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.otheva-titulo-artigo {
    font-size: 20px;
    font-weight: 800;
    color: #102e38; /* Azul escuro Otheva */
    margin-bottom: 15px;
    line-height: 1.3;
}

.otheva-resumo {
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Link "Ler Mais" */
.otheva-link-artigo {
    margin-top: auto; /* Empurra o link para o final do card */
    font-weight: 700;
    color: #2e1a47; /* Roxo */
    text-transform: uppercase;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.otheva-link-artigo:hover {
    color: #004952; /* Amarelo no hover */
}

/* Responsividade Artigos */
@media (max-width: 900px) {
    .otheva-grid-3 {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas em tablets */
    }
}

@media (max-width: 600px) {
    .otheva-grid-3 {
        grid-template-columns: 1fr; /* 1 coluna em celular */
    }
}
/* Removemos os estilos de texto antigos da classe .logo e deixamos ela pronta para imagem */
.logo {
    display: flex;
    align-items: center;
    /* Removemos font-size e color pois agora é imagem */
}

/* Controla o tamanho da imagem da logo */
.logo img {
    height: 55px; /* Ajuste este valor conforme necessário */
    width: auto;  /* Mantém a proporção correta */
    display: block;
}
/* =========================================
   SEÇÃO DE AVALIAÇÕES (CARROSSEL)
   ========================================= */

.otheva-reviews-section {
    padding: 60px 20px;
    background-color: #f8f9fa; /* Fundo cinza claro para destacar os cards brancos */
    font-family: 'Segoe UI', sans-serif;
    position: relative;
}

.otheva-reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden; /* Esconde os cards que estão fora da tela */
    padding: 20px 0;
}

/* O "Trilho" que move os slides */
.otheva-reviews-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out; /* Animação suave */
}

/* O Card Individual */
.otheva-review-card {
    background: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    min-width: calc(33.333% - 20px); /* 3 cards por vez (considerando o gap) */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 4px solid #fdd835; /* Detalhe amarelo Otheva na borda */
}

/* Aspas Gigantes Decorativas (Fundo) */
.otheva-review-card::before {
    content: '“';
    font-family: serif;
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 100px;
    line-height: 1;
    color: #f1f1f1; /* Cinza bem clarinho */
    z-index: 0;
}

.otheva-review-text {
    position: relative;
    z-index: 1;
    font-style: italic;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.otheva-review-author {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.author-info h4 {
    color: #102e38; /* Azul Otheva */
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 12px;
    color: #888;
    display: block;
}

/* Estrelas */
.otheva-stars {
    color: #fdd835; /* Amarelo Otheva */
    font-size: 18px;
    letter-spacing: 2px;
}

.review-source {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ccc;
    margin-top: 5px;
}

/* Botões de Navegação (< >) */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #102e38;
    color: #fdd835;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #fdd835;
    color: #102e38;
}

.prev-btn { left: 0; }
.next-btn { right: 0; }

/* Responsividade */
@media (max-width: 900px) {
    .otheva-review-card {
        min-width: calc(50% - 15px); /* 2 por vez em tablets */
    }
}

@media (max-width: 600px) {
    .otheva-review-card {
        min-width: 100%; /* 1 por vez no celular */
    }
    .nav-btn {
        width: 30px; height: 30px; font-size: 16px;
    }
}
/* =========================================
   RODAPÉ (FOOTER) - ESTILO OTHEVA
   ========================================= */

/* =========================================
   RODAPÉ (FOOTER) - CENTRALIZADO
   ========================================= */

footer {
    background-color: #102e38; /* Azul Escuro Otheva */
    color: #ffffff;
    padding-top: 60px;
    padding-bottom: 20px;
    font-family: 'Segoe UI', sans-serif;
    border-top: 5px solid #fdd835;
    text-align: center; /* Centraliza textos gerais */
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Garante que o conteúdo dentro das colunas fique centralizado */
.footer-about, .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza horizontalmente os elementos flex */
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: #fdd835;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 0;
    max-width: 300px; /* Evita que o texto fique muito largo */
}

/* Linha divisória suave */
.footer-separator-box {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    margin-top: 20px;
    color: #ccc;
    font-size: 13px;
    line-height: 1.5;
    width: 100%; /* Garante que a linha ocupe a largura da coluna */
    max-width: 250px; /* Limita a largura da linha para ficar bonita no centro */
}

/* Itens de Contato */
.contact-item {
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza o conteúdo */
    gap: 10px;
    margin-bottom: 15px;
    color: #fff;
    font-size: 15px;
    width: 100%;
}

.contact-hours {
    margin-top: 20px;
    font-size: 13px;
    color: #ccc;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    width: 100%;
    max-width: 250px; /* Mesma largura da linha do endereço */
}

/* Links Institucionais */
.footer-links {
    list-style: none;
    padding: 0;
    width: 100%;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fdd835;
}

/* Redes Sociais */
.social-icons {
    margin-top: 30px;
    display: flex;
    justify-content: center; /* Centraliza os ícones */
    gap: 15px;
}

.social-btn {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s, color 0.3s;
}

.social-btn:hover {
    background: #fdd835;
    color: #102e38;
}

/* Barra Inferior */
/* =========================================
   BARRA INFERIOR DO RODAPÉ (Corrigida)
   ========================================= */

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    
    /* O SEGREDO DO ALINHAMENTO PERFEITO */
    display: grid;
    /* Define 3 colunas: 
       1fr (ocupa o que der na esq) 
       auto (tamanho da logo) 
       1fr (ocupa o que der na dir) */
    grid-template-columns: 1fr auto 1fr; 
    align-items: center;
    
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    color: #777;
    font-size: 13px;
    padding-bottom: 20px; /* Um respiro no final da página */
}

/* Força o primeiro texto (Copyright) a ficar na esquerda */
.footer-bottom span:first-child {
    text-align: left;
}

/* Centraliza a logo na coluna do meio */
.footer-bottom-logo {
    height: 35px; /* Altura da logo */
    width: auto;
    margin: 0 auto;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-bottom-logo:hover {
    opacity: 1;
}

/* Força o último texto (CNPJ/Dev) a ficar na direita */
.footer-bottom span:last-child {
    text-align: right;
}

/* RESPONSIVO: No celular, empilha tudo centralizado */
@media (max-width: 768px) {
    .footer-bottom {
        display: flex; /* Volta para flex no celular */
        flex-direction: column; /* Um embaixo do outro */
        gap: 15px;
        text-align: center;
    }

    .footer-bottom span:first-child,
    .footer-bottom span:last-child {
        text-align: center;
    }
}

/* Se quiser a barra inferior totalmente centralizada também (um embaixo do outro), use este trecho abaixo: */
/*
.footer-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}
*/

/* Responsividade */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        justify-content: center;
    }
}
/* Correção de Alinhamento do Rodapé */

/* Cria uma altura padrão para o bloco acima da linha */
.footer-altura-fixa {
    min-height: 110px; /* Altura suficiente para caber o texto maior */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centraliza verticalmente o conteúdo se sobrar espaço */
    align-items: center;
    width: 100%;
}

/* Garante que o parágrafo dentro desse bloco não tenha margens extras atrapalhando */
.footer-altura-fixa p {
    margin: 0;
}
/* Estilo da Logo na Barra Inferior */
.footer-bottom-logo {
    height: 45px; /* Altura discreta, ideal para rodapé */
    width: auto;  /* Mantém a proporção */
    opacity: 0.8; /* (Opcional) Deixa levemente transparente para ficar elegante */
    transition: opacity 0.3s;
}

.footer-bottom-logo:hover {
    opacity: 1; /* Fica totalmente visível ao passar o mouse */
}

/* Ajuste de alinhamento vertical para garantir que texto e logo fiquem na mesma linha */
.footer-bottom {
    align-items: center; /* Centraliza verticalmente todos os itens */
}
/* Remove o espaçamento interno do container da imagem */
/* =========================================
   AJUSTE PARA IMAGENS QUADRADAS NOS CARDS
   ========================================= */

/* 1. Definimos o container da imagem como um quadrado fixo */
.card-img {
    height: 300px; /* Define uma altura fixa para o quadrado. */
    padding: 0;    /* Remove espaços internos */
    overflow: hidden; /* Esconde o que passar do quadrado */
    background-color: #f4f4f4; /* Cor de fundo caso a imagem demore a carregar */
}

/* 2. Fazemos a imagem preencher esse quadrado sem esticar */
.card-img img {
    width: 100%;
    height: 100%;
    /* O SEGREDO: 'cover' faz a imagem cobrir toda a área quadrada,
       cortando as laterais ou topo/base se necessário, mas NUNCA estica. */
    object-fit: cover; 
    display: block;
    transition: transform 0.3s ease; /* Prepara para um efeito de zoom suave */
}

/* (Opcional) Efeito de zoom leve ao passar o mouse no card */
.card:hover .card-img img {
    transform: scale(1.05);
}
/* Rolagem Suave com Margem para o Menu Fixo */
html {
    scroll-behavior: smooth;
}

/* Lista todos os IDs que precisam parar um pouco antes do topo */
#area-instalador, 
#instalacoes,
#empresa, 
#produtos, 
#blog {
    scroll-margin-top: 80px; /* Mantém o espaço de respiro para o menu não cobrir o título */
}
/* Ajuste de Rolagem para a Área do Instalador */
#area-instalador {
    scroll-margin-top: 80px; /* 60px do menu + 40px de respiro visual */
}
/* --- Melhorias na Seção de Instalador --- */

/* Ajuste do container para centralizar tudo */
.cta-installer {
    flex-direction: column; /* Coloca um embaixo do outro (Texto em cima, form embaixo) */
    text-align: center;
    gap: 30px; /* Espaço entre o texto e o formulário */
    padding: 80px 20px; /* Mais respiro */
}

/* Melhoria na Fonte do Texto */
.cta-text p {
    font-size: 1.25rem; /* Aumentei a letra (era pequena) */
    font-weight: 400; /* Peso regular para leitura leve */
    color: #102e38;
    max-width: 700px;
    margin: 10px auto 0 auto; /* Centraliza o texto */
    line-height: 1.5;
    opacity: 0.9;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 800;
}

/* O Formulário (Box de Inputs) */
.form-instalador {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Espaço entre os campos */
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap; /* Permite quebrar linha no celular */
}

/* Estilo dos Campos (Nome e Email) */
.input-otheva {
    padding: 15px 20px;
    border: 2px solid transparent; /* Sem borda visível inicialmente */
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    flex: 1; /* Faz os campos crescerem para ocupar espaço igual */
    min-width: 250px; /* Tamanho mínimo para não ficar espremido */
    transition: all 0.3s;
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff;
    color: #333;
}

.input-otheva:focus {
    border-color: #102e38; /* Borda azul quando clica para digitar */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Ajuste no Botão para ficar na mesma altura dos inputs */
.btn-dark {
    padding: 15px 40px; /* Mesmo padding vertical dos inputs */
    border: none;
    cursor: pointer;
    font-size: 16px;
    white-space: nowrap; /* Impede o texto do botão de quebrar */
}

/* Responsividade para Celular */
@media (max-width: 768px) {
    .form-instalador {
        flex-direction: column; /* Um embaixo do outro no celular */
        gap: 10px;
    }
    .input-otheva, .btn-dark {
        width: 100%; /* Largura total no celular */
    }
}
/* =========================================
   SEÇÃO DE INSTALAÇÕES (CARROSSEL ROTATIVO)
   ========================================= */

/* =========================================
   SEÇÃO DE INSTALAÇÕES (CARROSSEL - VISUAL OVERLAY)
   ========================================= */

.otheva-gallery-section {
    padding: 60px 20px;
    background-color: #f8f9fa; /* Fundo levemente cinza para destacar os cards */
    font-family: 'Segoe UI', sans-serif;
    position: relative;
}

.otheva-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    /* Permite que as setas fiquem visíveis fora da caixa principal */
    overflow: visible;
    padding: 20px 0;
}

/* O "Trilho" que move os slides */
.otheva-gallery-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
    /* Precisamos de overflow hidden AQUI para cortar os cards que passam, 
       já que tiramos do container pai */
    overflow: hidden; 
    padding-bottom: 10px; /* Espaço extra para a sombra do card não cortar */
}

/* === O Card Individual === */
.otheva-gallery-card {
    background: #fff;
    border-radius: 12px;
    /* Removemos overflow:hidden para a borda ficar perfeita com o efeito 3D */
    /* overflow: hidden; */ 
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* Sombra mais marcada */
    min-width: calc(33.333% - 20px);
    border: 2px solid #ffffff; /* Borda branca nítida */
    display: flex;
    flex-direction: column;
    position: relative; /* Necessário para o rodapé ficar por cima */
    height: 400px; /* [PEDIDO] Box mais alto/maior */
}

/* === Imagem Principal (Ocupa tudo) === */
.gallery-main-img {
    height: 100%; /* Ocupa toda a altura do card */
    width: 100%;
    background-color: #000; /* Fundo preto para evitar clarões */
    border-radius: 10px; /* Arredonda a imagem para seguir o card */
}

.gallery-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
    opacity: 0.9; /* Levemente escurecida para o texto destacar */
    border-radius: 10px;
}

/* Efeito de zoom e clareamento ao passar o mouse */
.otheva-gallery-card:hover .gallery-main-img img {
    transform: scale(1.05);
    opacity: 1;
}

/* === Rodapé Flutuante (Overlay) === */
.gallery-footer {
    position: absolute; /* [PEDIDO] Texto em cima da foto */
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    /* Gradiente escuro suave na base para o texto branco aparecer */
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    border-top: none; /* Remove a borda antiga */
    border-radius: 0 0 10px 10px;
}

/* Miniatura do Produto (Ajustada para fundo escuro) */
.product-mini-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    /* Fundo semi-transparente para a miniatura não parecer um "adesivo" branco */
    background-color: rgba(255,255,255,0.9); 
    padding: 4px;
    flex-shrink: 0;
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.product-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* === Textos com Efeito 3D === */
.product-info {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.install-tag {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 5px;
    /* [PEDIDO] Cor branca e sombra 3D */
    color: #fdd835; /* Amarelo Otheva para destaque na categoria */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8); 
}

.product-info h3 {
    font-size: 18px; /* Fonte maior */
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
    /* [PEDIDO] Cor branca e sombra 3D forte */
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9); /* O efeito 3D */
}

/* === Botões de Navegação (Fora das Fotos) === */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #102e38;
    color: #fdd835;
    border: 2px solid #fdd835; /* Borda amarela para destacar no fundo */
    width: 50px; /* Botões um pouco maiores */
    height: 50px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 20; /* Garante que fique na frente de tudo */
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.gallery-nav-btn:hover {
    background: #fdd835;
    color: #102e38;
    border-color: #102e38;
}

/* [PEDIDO] Setas para fora usando posicionamento negativo */
.gallery-prev { 
    left: -70px; /* Move 70px para a esquerda do container */
}
.gallery-next { 
    right: -70px; /* Move 70px para a direita do container */
}

/* Responsividade */
@media (max-width: 1300px) {
    /* Em telas menores, as setas voltam para dentro para não sair da tela */
    .gallery-prev { left: 10px; }
    .gallery-next { right: 10px; }
    .otheva-gallery-container { overflow: hidden; } /* Volta a esconder o que passa */
}

@media (max-width: 900px) {
    .otheva-gallery-card {
        min-width: calc(50% - 15px);
        height: 350px; /* Um pouco menor em tablets */
    }
}

@media (max-width: 600px) {
    .otheva-gallery-card {
        min-width: 100%;
        height: 300px; /* Menor em celulares */
    }
}
.slider-container {
    position: relative;
    width: 90%; /* Largura da área visível */
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden; /* Esconde o que está fora (o 4º item) */
    border-radius: 10px;
}

.slider-track {
    display: flex; /* Coloca um ao lado do outro */
    gap: 20px; /* Espaço entre os cards */
    transition: transform 0.5s ease-in-out; /* Animação suave */
}

.card {
    /* IMPORTANTE: min-width garante que o card não encolha */
    min-width: calc(33.333% - 14px); /* Mostra 3 por vez (com desconto do gap) */
    background: #f4f4f4;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0; /* IMPEDE o card de encolher se tiver muitos itens */
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Estilo dos botões */
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #1a1a1a;
    color: #FFA500;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
}

.arrow-btn.left { left: 10px; }
.arrow-btn.right { right: 10px; }

/* Para Celular: Mostrar apenas 1 card por vez */
@media (max-width: 768px) {
    .card {
        min-width: 100%; 
    }
}
.slider-track {
    display: flex;
    gap: 20px; /* IMPORTANTE: Mantenha este valor em mente */
    transition: transform 0.5s ease-in-out;
    
    /* ADICIONE ISSO: Força o trilho a crescer para caber todos os cards */
    width: max-content; 
}

.card {
    /* Ajuste o cálculo para ser exato. 
       Se quer mostrar 3 cards: 100% / 3 = 33.33% 
       Mas precisamos descontar o gap. Use este valor fixo para testar: */
    width: 380px; /* Tamanho fixo ajuda a evitar erros de cálculo no início */
    min-width: 380px; /* Garante que ele não encolha */
    
    background: #f4f4f4;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
/* Procure este bloco no seu CSS e adicione a linha indicada */
.section-header p { 
    max-width: 600px; 
    margin: 0 auto 60px auto; /* Isso centraliza a CAIXA */
    
    text-align: center; /* ADICIONE ISSO: Centraliza o TEXTO */
}
.features { 
    background: var(--white); 
    padding: 40px 5%; 
    display: flex; 
    justify-content: center; 
    gap: 50px; /* Espaço entre os blocos */
    margin-top: -60px; 
    position: relative; 
    z-index: 10; 
    border-radius: 8px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    max-width: 1200px; 
    margin-left: auto; 
    margin-right: auto; 
    
    /* Garante que quebre linha no celular */
    flex-wrap: wrap; 
}

.feature-item { 
    display: flex; /* O segredo: coloca ícone e texto lado a lado */
    align-items: center; /* Centraliza verticalmente */
    gap: 15px; /* Espaço entre o ícone e o texto */
    text-align: left; /* Alinha o texto à esquerda */
}

/* Configuração do Ícone */
.feature-item i {
    font-size: 2.5rem; /* Tamanho do ícone */
    color: var(--otheva-blue); /* Amarelo da sua marca */
    /* Se o amarelo ficar ruim de ler no fundo branco, troque por: var(--otheva-dark) */
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-item strong { 
    display: block; 
    color: var(--otheva-dark); 
    font-size: 1.1rem; 
    margin-bottom: 2px; 
}

.feature-item span { 
    font-size: 0.9rem; 
    color: #777; 
}

/* Ajuste para Celular */
@media (max-width: 768px) {
    .features {
        flex-direction: column; /* Um embaixo do outro */
        gap: 30px;
        align-items: flex-start; /* Alinha tudo à esquerda */
    }
}
/* Container principal da galeria */
.otheva-gallery-section {
    padding: 60px 20px;
    background-color: #f8f9fa;
    position: relative;
}

.otheva-gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden; /* Esconde o que passa do limite */
    padding: 10px 0;
}

/* O Trilho que se move */
.otheva-gallery-track {
    display: flex;
    gap: 20px; /* Espaço entre fotos */
    transition: transform 0.5s ease-in-out;
    width: max-content; /* Permite ter quantos itens quiser */
}

/* O Card Individual */
.otheva-gallery-card {
    min-width: 350px; /* Largura fixa para não espremer */
    width: 350px;
    height: 400px; /* Altura do card */
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

/* A Imagem */
.gallery-main-img {
    width: 100%;
    height: 100%;
}

.gallery-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.otheva-gallery-card:hover .gallery-main-img img {
    transform: scale(1.05); /* Zoom suave ao passar o mouse */
}

/* Texto sobre a imagem (Overlay) */
.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(16, 46, 56, 0.9), transparent);
    color: white;
}

.gallery-info span {
    font-size: 0.8rem;
    color: #fdd835; /* Amarelo Otheva */
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.gallery-info h3 {
    font-size: 1.2rem;
    margin: 0;
}

/* Botões da Galeria */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #102e38;
    color: #fdd835;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

/* Celular: 1 card por vez */
@media (max-width: 768px) {
    .otheva-gallery-card {
        min-width: 100%; /* Ocupa a tela toda */
        width: 100%;
    }
}
/* =========================================
   PÁGINA DE TERMOS DE USO
   ========================================= */

.terms-page-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', sans-serif;
    min-height: 60vh;
}

.terms-header {
    text-align: center;
    margin-bottom: 50px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 30px;
}

.terms-header h1 {
    font-size: 2.5rem;
    color: var(--otheva-dark);
    margin-bottom: 10px;
}

.terms-header p {
    color: #888;
    font-size: 0.9rem;
}

/* O "papel" branco onde fica o texto */
.terms-content {
    background-color: #fff;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    color: #555;
    line-height: 1.8;
}

.terms-content h2 {
    color: var(--otheva-dark);
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 4px solid var(--otheva-yellow);
    padding-left: 15px;
}

.terms-content p {
    margin-bottom: 20px;
    text-align: justify; /* Deixa o texto quadradinho, mais formal */
}

.terms-content ul {
    list-style: disc;
    margin-left: 40px;
    margin-bottom: 20px;
}

.terms-content li {
    margin-bottom: 10px;
}

.terms-content strong {
    color: var(--otheva-dark);
}

/* Caixa de Contato no final */
.terms-contact {
    margin-top: 50px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.terms-contact h3 {
    color: var(--otheva-dark);
    margin-bottom: 10px;
}

/* Responsivo */
@media (max-width: 768px) {
    .terms-content {
        padding: 20px;
    }
    .terms-header h1 {
        font-size: 2rem;
    }
}
/* =========================================
   PÁGINA QUEM SOMOS
   ========================================= */

.about-page-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', sans-serif;
}

/* Cabeçalho de Texto */
.about-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-header h1 {
    font-size: 2.5rem;
    color: var(--otheva-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.about-header p {
    font-size: 1.2rem;
    color: #666;
}

/* Imagem Hero */
.about-hero-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 60px;
}

/* Texto Corrido */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
}

.about-text-block h2 {
    color: var(--otheva-blue);
    font-size: 1.8rem;
    margin-bottom: 15px;
    border-left: 5px solid var(--otheva-yellow);
    padding-left: 15px;
}

.about-text-block p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

/* Grid de Valores (3 Ícones) */
.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background-color: #f8f9fa;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
}

.value-card i {
    font-size: 3rem;
    color: var(--otheva-yellow);
    margin-bottom: 20px;
    background: var(--otheva-dark);
    width: 80px;
    height: 80px;
    line-height: 80px; /* Centraliza verticalmente */
    border-radius: 50%;
}

.value-card h3 {
    color: var(--otheva-dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.value-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Responsivo */
@media (max-width: 768px) {
    .about-values {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    .about-header h1 {
        font-size: 2rem;
    }
}
/* Classe exclusiva para a foto da empresa */
.foto-empresa-full {
    width: 100%;        /* Ocupa toda a largura */
    height: auto !important; /* Força a altura a ser automática (mostra a foto inteira) */
    object-fit: contain; /* Garante que nada seja cortado */
    max-height: none;   /* Remove qualquer limite de altura que o outro estilo tenha */
    border-radius: 8px; /* Opcional: mantém as bordas arredondadas se quiser */
}
/* =========================================
   CORREÇÃO FINAL DE RESPONSIVIDADE (style.css)
   ========================================= */
@media (max-width: 768px) {
    
    /* 1. Corrige a linha amarela que estourava a tela */
    section::after {
        width: 80% !important; /* Muda de 850px fixo para 80% da tela */
    }

    /* 2. Corrige o Banner/Hero */
    .hero-content h1 {
        font-size: 2rem; /* Diminui o texto gigante */
    }
    .carousel-slide {
        padding: 0 20px; /* Mais espaço nas laterais */
        background-position: center;
    }

    /* 3. Corrige Cards de Produtos e Avaliações */
    .grid-cards, 
    .otheva-grid {
        grid-template-columns: 1fr; /* 1 produto por linha */
        padding: 0 10px;
    }

    /* Corrige o carrossel de reviews para não cortar */
    .otheva-review-card {
        min-width: 100%; /* Ocupa 100% da largura do celular */
        width: 100%;
        margin-right: 0;
    }

    /* 4. Corrige a Galeria de Instalações */
    .otheva-gallery-card {
        min-width: 100%; /* 1 foto por vez */
        width: 100%;
        height: 350px; /* Altura menor para caber na tela */
    }
    
    /* Ajuste das setas para não ficarem em cima da foto */
    .gallery-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    .gallery-prev { left: 5px; }
    .gallery-next { right: 5px; }

    /* 5. Ajuste do Rodapé */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .footer-bottom span {
        text-align: center !important;
    }
}
.banner-meio-container {
    width: 100%;
    background-color: var(--light-bg);
    padding: 40px 0; /* Reduzi um pouco o respiro para o banner subir mais */
}

.banner-meio-wrapper {
    width: 90%;       /* Ocupa 90% da largura da tela */
    max-width: 1450px; /* NÃO deixa passar disso (aqui você controla o tamanho real) */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px; /* Deixa as pontas arredondadas para ficar elegante */
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); /* Sombra suave para dar profundidade */
}

.img-panoramica {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Efeito opcional: zoom suave ao passar o mouse */
.banner-meio-wrapper:hover .img-panoramica {
    transform: scale(1.02);
}
/* Garante que o link ocupe todo o espaço do container */
.banner-meio-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    line-height: 0; /* Remove espaços extras abaixo da imagem */
}

/* Muda o cursor para indicar que é clicável */
.img-panoramica {
    cursor: pointer;
    /* ... mantenha o restante do código que já estava aqui ... */
}
/* =========================================
   ESTILIZAÇÃO DO SIMULADOR TÉCNICO
   ========================================= */

.otheva-simulador-container {
    padding: 80px 10%;
    background-color: var(--white);
    position: relative;
}

/* O container branco do quiz */
#otheva-quiz-box {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    text-align: center;
}

/* Títulos dentro do simulador */
#otheva-quiz-box h3 {
    color: var(--otheva-dark);
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Estilo dos botões de opção */
.btn-quiz {
    padding: 15px 20px;
    background: #fff;
    border: 2px solid var(--otheva-dark);
    color: var(--otheva-dark);
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
}

.btn-quiz:hover {
    background: var(--otheva-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16, 46, 56, 0.2);
}

/* Ajuste do grid para a primeira pergunta (Potência) */
/* Ajuste do grid para a primeira pergunta (Potência) */
.quiz-grid-potencia {
    display: flex;       /* Mudamos de grid para flex */
    flex-wrap: wrap;    /* Permite quebrar a linha */
    gap: 15px;
    justify-content: center; /* O segredo: centraliza o que sobra */
}

.quiz-grid-potencia .btn-quiz {
    flex: 0 1 calc(50% - 8px); /* Garante 2 botões por linha (considerando o gap) */
    min-width: 200px; /* Evita que fiquem muito pequenos no celular */
}

/* Botão de destaque (Sim, com medidor) */
.btn-quiz-destaque {
    background: var(--otheva-yellow) !important;
    border-color: var(--otheva-yellow) !important;
    color: var(--otheva-dark) !important;
}

.btn-quiz-destaque:hover {
    background: var(--otheva-dark) !important;
    color: var(--white) !important;
}

/* Estilo do Resultado Final */
#step-res p {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    color: #999;
    letter-spacing: 1px;
}

#res-nome-prod {
    color: var(--otheva-dark);
    margin: 20px 0;
    font-size: 1.6rem;
    line-height: 1.3;
}

/* Responsividade para Celular */
@media (max-width: 768px) {
    .quiz-grid-potencia {
        grid-template-columns: 1fr;
    }
    #otheva-quiz-box {
        padding: 25px 15px;
    }
}
/* =========================================
   FAQ - SEÇÃO AZUL (CONTRASTE)
   ========================================= */
.faq-section {
    padding: 80px 10%;
    background-color: var(--otheva-blue); /* Fundo azul solicitado */
    color: var(--white);
}

.faq-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-section h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.faq-section .section-header p {
    color: #cbd5e0; /* Tom de cinza claro para o subtítulo no fundo azul */
    max-width: 600px;
    margin: 0 auto;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Linha divisória clara e sutil */
    margin-bottom: 5px;
}

.faq-question {
    width: 100%;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white); /* Texto das perguntas em branco */
    cursor: pointer;
    text-align: left;
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--otheva-yellow); /* Seta mantendo o destaque no amarelo */
    transition: transform 0.4s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer p {
    padding-bottom: 25px;
    color: #e2e8f0; /* Texto das respostas em um tom claro legível */
    font-size: 1rem;
    line-height: 1.7;
}

/* Estado Ativo do FAQ */
.faq-item.active .faq-answer {
    max-height: 300px; /* Ajuste conforme o tamanho dos seus textos */
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Ajuste de Responsividade para o FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 50px 5%;
    }
    .faq-question {
        font-size: 1rem;
    }
}
html {
    scroll-behavior: smooth !important;
}

/* Isso garante que, ao chegar na seção, o header não cubra o título */
section {
    scroll-margin-top: 100px; /* Ajuste esse valor para a altura do seu header */
}
#produtos, #simulador, #instalacoes, #contato, #faq {
    scroll-margin-top: 90px; /* Altura do seu menu */
}
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 65px; /* [AJUSTE AQUI] Aumentamos de 20px para 90px */
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

/* No celular, também é bom garantir que ele não fique no meio do caminho */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 30px;
        bottom: 80px; /* Ajuste para o celular também */
        right: 15px;
    }
}
/* ==========================================
   SEÇÃO INSTITUCIONAL (MISSÃO, VISÃO, VALORES)
   ========================================== */
.institucional-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza o cabeçalho e o container na página */
}

.institucional-section .section-header {
    text-align: center;
    max-width: 800px;
    margin-bottom: 50px;
}

.institucional-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centraliza os cards horizontalmente */
    gap: 30px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.institucional-card {
    background: #ffffff;
    padding: 45px 30px;
    border-radius: 15px;
    text-align: center; /* Centraliza o conteúdo interno do card */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 5px solid #003366; /* Azul Otheva */
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza ícone e textos internamente */
}

.institucional-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.icon-box {
    font-size: 45px;
    color: #ffcc00; /* Amarelo Otheva */
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: rgba(0, 51, 102, 0.05);
    border-radius: 50%;
}

.institucional-card h3 {
    color: #003366;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.institucional-card p {
    color: #555;
    line-height: 1.7;
    font-size: 16px;
    margin: 0;
}

.institucional-card ul {
    text-align: left; /* Tópicos alinhados à esquerda para leitura */
    padding: 0;
    margin: 0;
    list-style: none;
}

.institucional-card ul li {
    margin-bottom: 12px;
    font-size: 15px;
    color: #555;
    display: flex;
    align-items: flex-start;
}

.institucional-card ul li strong {
    color: #003366;
    margin-right: 5px;
}

/* =======================================================
   CORREÇÃO FINAL (VERSÃO 7 - FLEX ZERO ESTÁVEL)
   ======================================================= */
@media (max-width: 768px) {

    /* --- 1. BANNER E SETAS (Mantido) --- */
    .carousel-container {
        height: auto !important;
        min-height: 480px;
        padding-bottom: 20px;
        position: relative;
    }
    
    .carousel-btn {
        top: 30% !important; 
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: rgba(0,0,0,0.6);
        z-index: 1000;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    .btn-prev { left: 5px !important; }
    .btn-next { right: 5px !important; }

    .hero-content {
        padding: 60px 20px 20px 20px;
        width: 100%;
        text-align: center;
    }

    /* --- 2. LINHAS DE PRODUTOS (Mantido) --- */
    .products-section { padding: 40px 0 !important; width: 100% !important; overflow: hidden; }
    .grid-cards {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 30px;
        margin: 0 !important; padding: 0 !important; width: 100% !important;
    }
    .card { width: 90% !important; max-width: 360px !important; margin: 0 auto !important; }
    .card-img { width: 100%; display: flex; justify-content: center; }
    .card-img img { width: 100%; height: auto; border-radius: 8px; }

    /* --- 3. GALERIA NATIVA (ESTILO INSTAGRAM/APP) --- */
    
    /* Container principal */
    .otheva-gallery-container {
        width: 100% !important;
        padding: 0 !important;
        position: relative;
    }

    /* O Trilho vira uma área de rolagem */
    .otheva-gallery-track {
        display: flex !important;
        gap: 15px !important; /* Espaço entre as fotos */
        overflow-x: auto !important; /* Permite rolar para o lado */
        scroll-snap-type: x mandatory; /* Efeito magnético (para na foto) */
        -webkit-overflow-scrolling: touch; /* Rolagem suave no iPhone */
        width: 100% !important;
        padding: 0 20px 20px 20px !important; /* Espaço nas pontas */
        box-sizing: border-box !important;
        
        /* Remove a transformação do JS para não travar */
        transform: none !important; 
        transition: none !important;
    }

    /* O Card */
    .otheva-gallery-card {
        /* Tamanho fixo: 85% da tela para mostrar que tem mais pro lado */
        min-width: 85vw !important; 
        max-width: 85vw !important;
        
        scroll-snap-align: center; /* Centraliza a foto ao soltar */
        margin: 0 !important;
        display: block !important;
    }

    /* A Moldura */
    .gallery-main-img {
        width: 100% !important;
        height: 260px !important;
        background: #f4f4f4;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    /* A Foto */
    .gallery-main-img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important; /* Mostra inteira */
        display: block;
    }

    /* Esconde as setas no celular (já que usamos o dedo) */
    .gallery-nav-btn {
        display: none !important;
    }
    /* --- 4. MAIS VENDIDOS --- */
    .otheva-grid { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 0 !important; }
    .otheva-card { width: 90%; max-width: 350px; margin: 0 auto !important; }
    /* --- AJUSTE FINAL: LOGO CENTRALIZADA NO MOBILE --- */
    
    header {
        /* Garante que o cabeçalho use Flexbox */
        display: flex !important;
        /* O comando mágico: centraliza os itens na horizontal */
        justify-content: center !important;
        /* Centraliza os itens na vertical */
        align-items: center !important;
        /* Um pequeno ajuste de espaçamento interno, se precisar */
        padding-top: 15px !important;
        padding-bottom: 15px !important;
        position: relative !important; /* Importante para não quebrar o menu */
    }

    /* Garante que o link da logo não tenha margens estranhas */
    .logo {
        margin: 0 !important;
        display: flex !important;
        align-items: center;
    }

    /* Opcional: Se a logo estiver muito grande no celular, você pode limitar a altura aqui */
    /*
    .logo img {
        max-height: 50px !important; 
        width: auto !important;
    }
    */

    /* ATENÇÃO: Se você tiver um ícone de menu "hambúrguer" (tracinhos), 
       ele provavelmente vai precisar de 'position: absolute' para não 
       empurrar a logo para o lado. Se a logo não ficar perfeitamente 
       centralizada, me avise que ajustamos o ícone do menu. */

       /* --- AJUSTE: CAIXA DE BENEFÍCIOS (Para não cobrir o banner) --- */
    .features {
        /* Remove a margem negativa que puxava para cima */
        margin-top: 20px !important; 
        
        /* Garante espaçamento em baixo */
        margin-bottom: 40px !important;
        
        /* Garante que ocupe a largura correta e centralize */
        width: 95% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        
        /* Remove qualquer transformação ou posição absoluta */
        position: static !important;
        transform: none !important;
    }
}