/*=============================================================================
  NEW TURBO - PREMIUM STYLE SHEET
  Foco: Alta Conversão, Velocidade e Mobile-First (Experiência App-Like)
  Version: 1.0.0
=============================================================================*/

/* ---- CSS VARIABLES (DESIGN TOKENS) ---- */
:root {
    /* Cores Premium: Tons de Azul da Marca */
    --primary-blue: #0b1c3c;
    /* Azul muito profundo (quase preto) para fundos */
    --secondary-blue: #1c3162;
    /* Azul corporativo da marca */
    --accent-blue: #2352d1;
    /* Azul vivo para interações/botoes */

    /* Cores de Alto Contraste (Conversão) */
    --cta-green: #25D366;
    /* WhatsApp Puro */
    --cta-green-hover: #128C7E;

    /* Cores Neutras e Metálicas */
    --light-grey: #f8fafc;
    --mid-grey: #e2e8f0;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;

    /* Tipografia Moderna */
    --font-heading: 'Outfit', sans-serif;
    /* Fonte para titulos (Gossa e Moderna) */
    --font-body: 'Inter', sans-serif;
    /* Fonte legível para textos */

    /* Glassmorphism e Sombras (Sense of depth) */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Bordas e Espaçamentos */
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-pill: 999px;

    /* Transições */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- RESETS E CONFIGURAÇÕES GLOBAIS ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* Base 16px */
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Torna as fontes mais nitidas em telas retina */
}

/* Scrollbar Bonita */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-grey);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-blue);
    border-radius: var(--radius-pill);
}

/* Tipografia Base */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: var(--accent-blue);
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.w-100 {
    width: 100%;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.bg-light {
    background-color: var(--light-grey);
}

/* ---- BOTÕES (Call to Actions) ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    text-align: center;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--cta-green);
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-primary:hover {
    background-color: var(--cta-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-blue);
    color: var(--accent-blue) !important;
}

.btn-outline:hover {
    background-color: var(--accent-blue);
    color: #fff !important;
}

.nav-btn {
    padding: 8px 16px;
    /* Menor no header */
}

/* Botão Flutuante de WhatsApp Global */
.btn-whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--cta-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    animation: pulse-green 2s infinite;
    transition: transform var(--transition-fast);
}

.btn-whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ---- CABEÇALHO E NAVEGAÇÃO (HEADER) ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-smooth);
    /* Inicia transparente para fundir com Hero */
    background: transparent;
}

/* Quando Scrolled (Classe adicionada via JS) -> Glassmorphism */
.header.scrolled {
    background: rgba(11, 28, 60, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-sm);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-blue);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 6px 12px;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Mobile Menu Overlay (Full Screen App-Like) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-blue);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

.mobile-menu-overlay.active {
    transform: translateY(0);
    opacity: 1;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 85%;
    max-width: 350px;
    /* Borda Moderna e Glassmorphism */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 40px 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff !important;
    font-weight: 600;
}

/* ---- SEÇÃO HERO (BANNER PRINCIPAL) ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* offset do header */
    overflow: hidden;
    background-color: var(--primary-blue);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Utilizando a imagem 10 ou 1 como fundo de alto impacto */
    background-image: url('../imagens/hero_potencia_desempenho_1773710601687.png');
    background-size: cover;
    background-position: center;
    background-attachment: initial;
    /* Fallback */
    z-index: 1;
}

/* Tenta usar fixed attachment em resolucoes maiores para paralax falso */
@media (min-width: 1024px) {
    .hero-bg {
        background-attachment: fixed;
    }
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 28, 60, 0.9) 0%, rgba(28, 49, 98, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.hero-text {
    color: #fff;
    text-align: center;
    width: 100%;
    /* 1200px é o max-width da classe .container (header), então o texto vai alinhar exatamente com o logo e o botão */
    max-width: 1200px; 
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--accent-blue);
    /* Ou prata/branco se preferir */
    color: #fff;
}

.hero-text h1 {
    font-size: 3.5rem; /* Ajustado para caber exatamente em duas linhas sem quebrar a palavra Diesel. */
    color: #fff;
    margin-bottom: 24px;
    line-height: 1.15;
    /* Removido padding para deixar o max-width do text alinhar com a navbar */
}

.hero-text p {
    font-size: 1.3rem;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff !important;
}

.hero-actions .btn-outline:hover {
    background: #fff;
    color: var(--primary-blue) !important;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-floating-img {
    max-width: 90%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
    animation: floating 6s ease-in-out infinite;
    /* Se a img tiver fundo, aplicar border radius. idealmente seria png transparente */
    border-radius: var(--radius-lg);
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ---- TITULOS DE SEÇÕES GLOBAIS ---- */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.subtitle {
    display: block;
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* ---- QUEM SOMOS (COM VIDEO YOUTUBE) ---- */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.features-list {
    margin: 20px 0 30px 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--primary-blue);
    font-size: 1.1rem;
}

.features-list li i {
    color: var(--accent-blue);
    font-size: 1.4rem;
}

/* Novo Requisito: Container do Video */
.sobre-video {
    position: relative;
    width: 100%;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
}

.stats-cards {
    display: flex;
    gap: 20px;
    margin-top: -30px;
    /* Pull it over the video */
    position: relative;
    z-index: 2;
    padding-left: 20px;
}

.stat-card {
    background: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    border-left: 4px solid var(--accent-blue);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 0px;
}

.stat-card p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0px;
}

/* ---- GRIDS GERAIS (Produtos, Serviços, Depoimentos) ---- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    border: 1px solid var(--mid-grey);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Produtos */
.product-card .card-img {
    height: 250px;
    background-color: var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card .card-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.product-card:hover .card-img img {
    transform: scale(1.05);
}

.product-card .card-body {
    padding: 25px;
    /* Faz o botão ficar sempre embaixo caso texto varie */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card h3 {
    font-size: 1.25rem;
}

.product-card .btn {
    margin-top: auto;
    /* Empurra para baixo */
}

/* Serviços (Estilo Glass Escuro) */
.servicos {
    background-color: var(--primary-blue);
    color: #fff;
}

.servicos .section-header h2 {
    color: #fff;
}

.servicos .subtitle {
    color: #82aaff;
}

/* variação clara */

.service-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    padding: 30px;
    color: #fff;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.service-card h3 {
    color: #fff;
}

.service-card p {
    color: var(--text-light);
    opacity: 0.8;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue), var(--secondary-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.service-link {
    color: #82aaff;
    font-weight: 600;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    color: #fff;
}

/* Depoimentos */
.review-card {
    padding: 30px;
}

.stars {
    color: #f59e0b;
    /* Amarelo ouro */
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid var(--mid-grey);
    padding-top: 15px;
}

.review-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author h4 {
    font-size: 1rem;
    margin-bottom: 0;
}

.review-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---- FAQ (Sanfona App-Like) ---- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--mid-grey);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item.active {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-blue);
    cursor: pointer;
    text-align: left;
}

.faq-question i {
    font-size: 1.5rem;
    color: var(--accent-blue);
    transition: transform var(--transition-fast);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-smooth);
    background-color: var(--light-grey);
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    margin-bottom: 0;
}

/* ---- LOCALIZAÇÃO E CONTATO ---- */
.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-list {
    margin-top: 30px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background-color: rgba(35, 82, 209, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-list h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-list p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-weight: 500;
}

.text-link {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

.maps-container {
    position: relative;
    padding: 10px;
    padding-bottom: 40px;
    /* Espaço para o botão */
    overflow: visible;
}

.maps-container iframe {
    border-radius: var(--radius-md);
    width: 100%;
}

.maps-overlay-btn {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    z-index: 10;
}

/* ---- FOOTER ---- */
.footer {
    background-color: var(--primary-blue);
    color: var(--text-muted);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    max-height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--accent-blue);
}

.footer h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer ul li a:hover {
    color: #fff;
    padding-left: 5px;
    /* Micro iteracao ao passar o mouse */
}

.payment-icons {
    display: flex;
    gap: 10px;
    font-size: 2.5rem;
    color: #fff;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.5);
}

/* ---- RESPONSIVIDADE (MOBILE FIRST APPROACH OVERRIDES) ---- */

@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    /* Header & Nav */
    .nav-links,
    .nav-btn {
        display: none;
        /* Esconde botões do desktop */
    }

    .desktop-br {
        display: none; /* Evita que a quebra fique esquisita em celulares pequenos */
    }

    .mobile-toggle {
        display: block;
        /* Mostra menu hamburguer */
    }

    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 30px auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-floating-img {
        max-width: 70%;
        /* Nao quebrar em celulas pequenas */
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Grids to Stack */
    .sobre-grid,
    .dual-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .features-list {
        text-align: left;
        display: inline-block;
        margin: 20px auto;
    }

    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .payment-icons {
        justify-content: center;
    }

    .features-list li {
        justify-content: flex-start;
    }

    /* Contact Lists fix align for center layout */
    .contact-list li {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2.2rem;
    }

    section {
        padding: 50px 0;
    }

    .btn-lg {
        width: 100%;
        /* Botões fill width pra area de touch (App-Like) */
    }
}