/* =========================================
   VARIÁVEIS E CONFIGURAÇÕES GERAIS
========================================= */
:root {
    /* Força o site a ser sempre claro, mesmo com modo escuro do sistema
       ou "forçar tema escuro" ativo no navegador (Samsung Internet, Chrome,
       MIUI, etc). Em conjunto com o <meta name="color-scheme"> do HTML,
       desativa a inversão automática de cores em navegadores mobile. */
    color-scheme: light only;
    -webkit-color-scheme: light only;
    forced-color-adjust: none;

    /* Paleta principal */
    --primary: #2c5f8d;
    --brand-blue: #0072bc;
    --accent: #4a90c2;
    --accent-light: #6ba8d1;

    /* Paleta dourada */
    --gold: #c5a011;
    --gold-light: #f8d217;
    --gold-dark: #a8880e;

    /* Legado (mantido para compatibilidade com restante do site) */
    --yellow: #c5a011;
    --yellow-light: #f8d217;
    --yellow-dark: #a8880e;

    /* UI */
    --secondary: #f8f9fa;
    --text-main: #2c3e50;
    --text-muted: #6c757d;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.08);
    --border-color: rgba(74, 144, 194, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);

    /* Hero: overlay branco sobre a foto (0 = nenhum, ~0.5 = bem claro) */
    --hero-bg-white-overlay: 0.5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Montserrat', sans-serif;
}

html {
    color-scheme: light only;
    /* Gradiente "fake" (mesma cor nos dois stops) em vez de background-color sólido.
       O algoritmo de "Force Dark" do Chrome pula elementos com background-image,
       tratando-os como imagens. Essa é a única técnica que realmente neutraliza
       o força-escuro além do color-scheme. */
    background-image: linear-gradient(#ffffff, #ffffff);
}

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    /* Impede que navegadores com "forçar modo escuro" reajustem as cores */
    forced-color-adjust: none;
}

/* Bloqueia o modo escuro automático do sistema em navegadores que
   respeitam prefers-color-scheme. Mantemos sempre o tema claro. */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light only;
    }
    html, body {
        background-image: linear-gradient(#ffffff, #ffffff);
        color: var(--text-main);
    }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Formas Decorativas no Fundo */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: float 20s infinite ease-in-out alternate;
}
.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, rgba(74, 144, 194, 0.08) 50%, transparent 100%);
    top: -10%;
    left: -10%;
}
.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(107, 168, 209, 0.06) 0%, rgba(255, 193, 7, 0.05) 50%, transparent 100%);
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

.folder-img-link {
    position: absolute;
    top: -100px;
    right: 200px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;

    @media (max-width: 1200px) {
        display: none;
    }
}

.folder-img-label {
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s;
}

.folder-img-link:hover .folder-img-label {
    color: var(--text-main);
}

.folder-img {
    width: 200px;
    height: 200px;
    opacity: 0.8;
    rotate: 10deg;
    filter: drop-shadow(6px 8px 4px rgba(0, 0, 0, 0.35));
    transition: opacity 0.3s, transform 0.3s, filter 0.3s;
}

.folder-img-link:hover .folder-img {
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(8px 12px 6px rgba(0, 0, 0, 0.45));
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.2); }
}

/* =========================================
   NAVEGAÇÃO (HEADER)
========================================= */
.navbar {
    background: #ffffff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    font-family: 'Montserrat', sans-serif;
}

.navbar-inner {
    display: flex;
    align-items: center;
    padding: 14px 0;
    gap: clamp(0.85rem, 3vw, 1.25rem);
}

.header-miolo {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.navbar-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    z-index: 1003;
    position: relative;
}

.logo-tagline-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 1rem;
    margin-left: 0.5rem;
    border-left: 2px solid rgba(197, 160, 17, 0.3);
    flex: 1 1 auto;
}

.navbar-trailing {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 0;
    z-index: 1003;
    position: relative;
    margin-left: auto;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.logo-tagline {
    margin: 0;
    padding: 0;
    flex: 1 1 0;
    min-width: 0;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
}

@media (min-width: 1201px) {
    .logo-tagline {
        padding: 0;
    }
}

.nav-links-heading {
    display: none;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background-color: var(--yellow);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.5);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 0;
}

.nav-overlay {
    display: none;
}

.nav-links a {
    color: #3a4a58;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    position: relative;
    padding: 8px 18px;
    display: block;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gold);
    transition: width 0.25s ease;
}

@media (min-width: 1201px) {
    .navbar .nav-links a {
        color: #3a4a58;
    }
    .navbar .nav-links a:hover,
    .navbar .nav-links a:focus-visible {
        color: var(--gold);
        background: rgba(197, 160, 17, 0.05);
    }
    .navbar .nav-links a::after {
        display: block;
    }
    .navbar .nav-links a:hover::after,
    .navbar .nav-links a:focus-visible::after {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .logo-tagline {
        display: none;
    }

    .logo-tagline-container {
        display: none;
    }

    .navbar-inner {
        justify-content: space-between;
    }

    .nav-links a:hover { color: var(--gold); }
    .nav-links a:hover::after { width: 100%; }
}

.menu-toggle { 
    display: none; 
    cursor: pointer; 
    z-index: 1003;
    position: relative;
    color: #555555;
    border: none;
    background: transparent;
    padding: 10px;
    margin: -10px -10px -10px 0;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

.menu-toggle:hover {
    background: rgba(74, 144, 194, 0.08);
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.bar { 
    width: 25px; 
    height: 3px; 
    background-color: var(--text-main); 
    margin: 5px 0; 
    transition: var(--transition-smooth); 
    border-radius: 2px;
    display: block;
}

/* =========================================
   HERO / CARROSSEL
========================================= */
.hero-carousel {
    position: relative;
    width: 100%;
    /* overflow visível para background-attachment: fixed na primeira seção; o trilho continua clipado em .hero-carousel-viewport */
    overflow: visible;
    font-family: 'Montserrat', sans-serif;
    border-bottom: none;
}

.hero-carousel:focus {
    outline: none;
}

.hero-carousel:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.45);
    outline-offset: 2px;
}

.hero-carousel-viewport {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    /* cursor: grab; */
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y pinch-zoom;
}

.hero-carousel-viewport.is-dragging {
    cursor: grabbing;
}

.hero-carousel-viewport img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: auto;
}

.hero-carousel-track {
    display: flex;
    flex-direction: row;
    transition: transform 0.55s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .hero-carousel-track {
        transition: none;
    }
}

.hero-slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
    min-height: min(88vh, 900px);
    display: flex;
    align-items: center;
    padding: calc(72px + 4rem) 0 5rem;
    overflow: hidden;
    box-sizing: border-box;
    background: transparent;
}

.hero-carousel .hero-kicker,
.hero-carousel .hero-lead,
.hero-carousel .btn-hero-cta {
    font-family: 'Montserrat', sans-serif;
}

/* Um único fundo fixo no banner: não acompanha o translateX do trilho */
.hero-carousel > .hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Imagem de fundo: proporção original da arte (sem esticar); preenche o hero com cover — tom preservado (sem filtro na foto) */
.hero-bg-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #e8eaed;
    background-image: url("assets/background.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

@media (prefers-reduced-motion: reduce) {
    .hero-bg-photo {
        background-attachment: scroll;
    }
}

/* Clareia o fundo; intensidade em --hero-bg-white-overlay no :root */
.hero-bg-overlay--white {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgb(255 255 255 / var(--hero-bg-white-overlay));
    pointer-events: none;
}

/* Véu neutro por cima do branco — contraste do texto */
.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.12) 0%,
        rgba(0, 0, 0, 0.28) 100%
    );
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
    width: 100%;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
}

.hero-visual img {
    width: 100%;
    max-width: 520px;
    max-height: 72vh;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
    animation: hero-img-float 5s ease-in-out infinite;
    will-change: transform;
}

/* Cada slide com delay diferente para não ficarem sincronizados */
.hero-slide:nth-child(1) .hero-visual img { animation-delay: 0s; }
.hero-slide:nth-child(2) .hero-visual img { animation-delay: -1.6s; }
.hero-slide:nth-child(3) .hero-visual img { animation-delay: -3.2s; }
.hero-slide:nth-child(4) .hero-visual img { animation-delay: -0.8s; }

@keyframes hero-img-float {
    0%   { transform: translateY(0px); }
    50%  { transform: translateY(-18px); }
    100% { transform: translateY(0px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual img {
        animation: none;
    }
}

.hero-content {
    text-align: left;
    max-width: 38rem;
    order: 2;
}

.hero-kicker {
    font-size: clamp(1.9rem, 3.8vw, 2.8rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 1.25rem;
    line-height: 1.1;
}

.hero-lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: 20px;
    font-weight: 400;
    line-height: 34px;
    margin: 0 0 2rem;
    max-width: 34em;
    font-family: "Roboto", sans-serif !important;
}

.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 1.15rem 2.25rem 1.15rem 1.5rem;
    background: #ffffff;
    color: var(--brand-blue);
    border: none;
    border-radius: 3px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
    box-shadow: none;
}

.btn-hero-cta__icon {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1;
    color: var(--brand-blue);
    flex-shrink: 0;
}

.btn-hero-cta__text {
    letter-spacing: 0.12em;
    font-weight: 700;
}

.btn-hero-cta:hover {
    background: var(--brand-blue);
    color: #ffffff;
}

.btn-hero-cta:hover .btn-hero-cta__icon {
    color: #ffffff;
}

.btn-hero-cta:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.hero-carousel-bar {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    padding: 0;
    background: transparent;
}

.hero-carousel-arrow {
    width: 42px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-carousel-arrow:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

.hero-carousel-arrow:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.hero-carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 4px;
}

.hero-carousel-dot {
    width: 28px;
    height: 4px;
    padding: 0;
    border: none;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease;
    opacity: 1;
}

.hero-carousel-dot.is-active {
    background: #ffffff;
    width: 42px;
}

.hero-carousel-dot:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .hero-slide {
        padding: calc(72px + 2.5rem) 0 3.5rem;
        min-height: min(78vh, 750px);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: clamp(1.2rem, 3vw, 2rem);
    }

    .hero-content {
        margin: 0 auto;
        text-align: center;
        order: 2;
    }

    .hero-visual {
        order: 1;
    }

    .hero-visual img {
        max-width: min(320px, 75vw);
    }

    .hero-carousel-bar {
        bottom: 1rem;
        gap: 0.75rem;
    }

    .hero-carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }

    .hero-carousel-dot {
        width: 20px;
    }

    .hero-carousel-dot.is-active {
        width: 32px;
    }

    .btn-hero-cta {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .hero-slide {
        padding: calc(72px + 2rem) 0 2.5rem;
        min-height: min(72vh, 650px);
    }

    .hero-visual img {
        max-width: min(220px, 60vw);
        max-height: 38vh;
    }

    .img-placa-home {
        width: min(220px, 60vw) !important;
    }
}


.btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: #ffffff;
    border: 2px solid var(--accent);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 1;
    box-shadow: 0 4px 15px rgba(74, 144, 194, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dark) 100%);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
    z-index: 0;
}

.btn:hover { 
    color: #ffffff; 
    border-color: var(--yellow);
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.4);
    transform: translateY(-2px);
}
.btn:hover::before { left: 0; }
.btn:hover::after { width: 100%; }

/* =========================================
   SEÇÕES GERAIS
========================================= */
section { padding: 100px 0; }

.products {
    background: var(--bg-light);
}

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 15px;
}
.section-header p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}
.line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow) 0%, var(--yellow-dark) 100%);
    margin: 20px auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

/* =========================================
   SOBRE NÓS
========================================= */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0;
    border-radius: 16px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 24px var(--card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Faixa decorativa no topo de cada card */
.about-card::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-blue) 0%, var(--gold) 100%);
    flex-shrink: 0;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(197, 160, 17, 0.4);
    box-shadow: 0 16px 40px rgba(44, 95, 141, 0.14), 0 4px 12px rgba(197, 160, 17, 0.12);
}

/* Área de conteúdo interno com padding */
.about-card > *:not(:first-child) {
    padding-left: 32px;
    padding-right: 32px;
}

.about-card > .icon-wrapper {
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
}

.about-card > h3 {
    padding-left: 32px;
    padding-right: 32px;
    text-align: center;
}

.about-card > p {
    padding-left: 32px;
    padding-right: 32px;
    padding-bottom: 32px;
}


.icon-wrapper {
    width: 64px;
    height: 64px;
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    /* Fundo com camadas: gradiente + borda interna sutil */
    background:
        linear-gradient(135deg, rgba(0, 114, 188, 0.08) 0%, rgba(197, 160, 17, 0.07) 100%);
    border-radius: 16px;
    border: 1.5px solid rgba(0, 114, 188, 0.18);
    box-shadow:
        0 2px 8px rgba(0, 114, 188, 0.1),
        inset 0 1px 0 rgba(255,255,255,0.7);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.icon-wrapper svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.about-card:hover .icon-wrapper {
    background:
        linear-gradient(135deg, rgba(0, 114, 188, 0.14) 0%, rgba(197, 160, 17, 0.12) 100%);
    border-color: rgba(197, 160, 17, 0.45);
    box-shadow:
        0 4px 16px rgba(0, 114, 188, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.8);
    transform: scale(1.08) rotate(-2deg);
    color: var(--gold-dark);
}

.about-card h3 {
    color: var(--text-main);
    margin-top: 20px;
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.about-card p { color: var(--text-muted); font-size: 0.93rem; line-height: 1.7; text-align: justify; }

/* =========================================
   FAIXA DE MARCAS
========================================= */
.brands-strip {
    margin: 0 0 48px;
    padding: 24px 32px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(44, 95, 141, 0.06);
    text-align: center;
}

.brands-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.brands-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    padding: 0;
    margin: 0;
}

.brands-list li {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--primary);
    white-space: nowrap;
    padding: 6px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 999px;
    background: var(--bg-light);
    transition: var(--transition-smooth);
}

.brands-list li:hover {
    border-color: var(--gold);
    background: rgba(197, 160, 17, 0.06);
    color: var(--gold-dark);
}

.brand-parent {
    font-weight: 500;
    font-size: 0.8em;
    opacity: 0.75;
    margin-left: 2px;
}

@media (max-width: 600px) {
    .brands-strip { padding: 18px 16px; }
    .brands-list li { font-size: 0.82rem; padding: 5px 12px; }
}

/* =========================================
   PRODUTOS E SERVIÇOS
========================================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px var(--card-shadow);
    display: flex;
    flex-direction: column;
}

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 20px;
    background: var(--bg-light);
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.btn-product {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
    transition: var(--transition-smooth);
    align-self: center;
}

.btn-product:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 194, 0.3);
}

.logo-header{
    width: 150px;
}

/* Efeito Hover 3D no Desktop */
@media (min-width: 769px) {
    .product-card { transform-style: preserve-3d; perspective: 1000px; }
    .product-card:hover { 
        transform: translateY(-15px) scale(1.02); 
        z-index: 10;
        border-color: var(--yellow);
        box-shadow: 0 15px 40px rgba(255, 193, 7, 0.25);
    }
}

.card-content h3 {
    color: var(--text-main);
    font-size: 1.4rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
    text-align: justify;
    flex: 1;
}

/* Brilho interativo no fundo do card */
.card-glow {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: radial-gradient(circle at top right, rgba(255, 193, 7, 0.15), rgba(74, 144, 194, 0.1) 50%, transparent 80%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
}

.product-card:hover .card-glow { opacity: 1; }

/* No mobile, deixa o gradiente sempre visível já que não há hover do mouse */
@media (max-width: 768px) {
    .card-glow { opacity: 1; }
}

/* =========================================
   CONTATO
========================================= */
.contact-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px var(--card-shadow);
}

.contact-box .subtitle { color: var(--text-muted); margin: 20px auto 50px; max-width: 600px; }

.contact-info-wrapper {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.info-icon {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(74, 144, 194, 0.1) 100%);
    padding: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    color: var(--accent);
    border: 2px solid rgba(255, 193, 7, 0.3);
    transition: var(--transition-smooth);
}

.info-item:hover .info-icon {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.25) 0%, rgba(74, 144, 194, 0.15) 100%);
    border-color: var(--yellow);
    transform: scale(1.1);
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-item h4 { color: var(--text-main); margin-bottom: 5px; }
.info-item p { color: var(--text-muted); font-size: 0.9rem; }

.contact-emails a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.contact-emails a:hover {
    color: var(--yellow-dark);
    text-decoration: underline;
}

.whatsapp-dept-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 10px 0 16px;
    font-weight: 500;
}

.whatsapp-dept-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.whatsapp-btn-dept {
    padding: 12px 20px;
    font-size: 0.9rem;
}

.closing-text { 
    color: var(--accent); 
    font-size: 1.2rem; 
    font-weight: 500;
    background: linear-gradient(135deg, var(--accent) 0%, var(--yellow-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Botão WhatsApp na seção de contato */
.whatsapp-button-wrapper {
    margin: 40px 0;
    display: flex;
    justify-content: center;
}

.whatsapp-btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: #25D366;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn-contact:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn-contact .whatsapp-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    width: auto;
    height: auto;
    bottom: 28px;
    right: 28px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: whatsapp-breathe 2.4s ease-in-out infinite;
}

.whatsapp-float:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
}

.whatsapp-float img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter:
        drop-shadow(0 6px 16px rgba(37, 211, 102, 0.55))
        drop-shadow(0 2px 6px rgba(0, 0, 0, 0.22));
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: #2c3e50;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #2c3e50;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes whatsapp-breathe {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.06); }
    100% { transform: scale(1); }
}

/* =========================================
   FOOTER
========================================= */
footer {
    position: relative;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    background: var(--bg-light);
}
.footer-logo { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; color: var(--text-main); }
.footer-logo span { color: var(--yellow); font-size: 1rem; font-weight: 400; }
footer p { color: var(--text-muted); font-size: 0.9rem; }

.footer-legal {
    margin-bottom: 8px;
    line-height: 1.5;
}
.footer-legal strong {
    color: var(--text-main);
}

.img-placa-home{
    width: min(400px, 75vw);
}

/* =========================================
   CLASSES DE ANIMAÇÃO (JS SCROLL)
========================================= */
.animate-up { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.23, 1, 0.32, 1); }
.animate-fade-down { opacity: 0; transform: translateY(-20px); transition: opacity 0.8s ease, transform 0.8s ease; }

/* Desktop Animations (Left/Right) */
@media (min-width: 769px) {
    .animate-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.23, 1, 0.32, 1); }
    .animate-right { opacity: 0; transform: translateX(50px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.23, 1, 0.32, 1); }
}

/* Mobile Animations (Fallback para evitar scroll horizontal) */
@media (max-width: 768px) {
    .animate-left, .animate-right { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
}

/* Classes ativadas pelo JS */
.is-visible { opacity: 1; transform: translate(0, 0); }

/* Atrasos para o efeito Cascata (Stagger) */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@keyframes nav-drawer-slide-in {
    from {
        opacity: 0;
        transform: translateX(12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =========================================
   RESPONSIVIDADE GERAL (MOBILE)
========================================= */
@media (max-width: 1200px) {
    .menu-toggle { 
        display: flex; 
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: auto;
        min-width: 44px;
        min-height: 44px;
        color: #555555;
    }

    .menu-toggle .bar {
        margin: 0;
    }
    
    /* Overlay com blur (menu mobile) */
    .nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(14, 42, 71, 0.42);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
            visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-links {
        --nav-drawer-pad: clamp(20px, 5vw, 28px);
        position: fixed; 
        top: 0; 
        right: 0;
        width: min(320px, 88vw);
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        background: linear-gradient(
            165deg,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(248, 250, 252, 0.98) 55%,
            rgba(240, 244, 248, 0.99) 100%
        );
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: calc(72px + env(safe-area-inset-top, 0px)) var(--nav-drawer-pad) calc(28px + env(safe-area-inset-bottom, 0px));
        box-shadow:
            -12px 0 40px rgba(44, 95, 141, 0.12),
            -1px 0 0 rgba(255, 255, 255, 0.8) inset;
        border-left: 1px solid rgba(74, 144, 194, 0.18);
        z-index: 1002;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--yellow) 0%, var(--accent) 50%, var(--primary) 100%);
        opacity: 0.95;
    }

    .nav-links-heading {
        display: block;
        list-style: none;
        width: 100%;
        margin: 0 0 20px;
        padding: 0;
        opacity: 0;
        transform: translateX(16px);
    }

    .nav-links-heading-text {
        display: block;
        font-size: 0.72rem;
        font-weight: 600;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        color: var(--text-muted);
    }
    
    .nav-links li:not(.nav-links-heading) {
        width: 100%;
        margin-bottom: 8px;
        opacity: 0;
        transform: translateX(16px);
    }

    .nav-links.active li:not(.nav-links-heading) {
        animation: nav-drawer-slide-in 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .nav-links.active li:not(.nav-links-heading):nth-child(2) { animation-delay: 0.05s; }
    .nav-links.active li:not(.nav-links-heading):nth-child(3) { animation-delay: 0.1s; }
    .nav-links.active li:not(.nav-links-heading):nth-child(4) { animation-delay: 0.15s; }
    .nav-links.active li:not(.nav-links-heading):nth-child(5) { animation-delay: 0.2s; }
    
    .nav-links a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 16px 18px;
        font-size: 1.05rem;
        font-weight: 600;
        border-radius: 14px;
        width: 100%;
        background: rgba(255, 255, 255, 0.65);
        border: 1px solid rgba(74, 144, 194, 0.12);
        box-shadow: 0 2px 12px rgba(44, 95, 141, 0.06);
        transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
    }

    .nav-links a::after {
        display: block;
        position: static;
        width: 8px;
        height: 8px;
        margin: 0;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
        opacity: 0;
        transform: scale(0.5);
        transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
        flex-shrink: 0;
    }
    
    .nav-links a:hover,
    .nav-links a:focus-visible {
        color: var(--primary);
        border-color: rgba(255, 193, 7, 0.45);
        box-shadow: 0 8px 24px rgba(74, 144, 194, 0.12);
        transform: translateX(-4px);
        outline: none;
    }

    .nav-links a:hover::after,
    .nav-links a:focus-visible::after {
        opacity: 1;
        transform: scale(1);
        width: 8px;
    }
    
    .nav-links.active { 
        transform: translateX(0);
    }

    .nav-links.active .nav-links-heading {
        animation: nav-drawer-slide-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    .contact-box { padding: 40px 20px; }
    .contact-info-wrapper { flex-direction: column; gap: 28px; }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .info-item h4 { text-align: center; }

    .info-item p { text-align: center; }

    .contact-emails { text-align: center; }
    .contact-emails br { display: none; }
    .contact-emails a { display: block; margin-bottom: 2px; }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float img {
        width: 46px;
        height: 46px;
    }
    

    /* Hambúrguer → X */
    .menu-toggle.active .bar:nth-child(1) { 
        transform: translateY(calc(3px + 5px)) rotate(45deg); 
        background-color: var(--yellow);
    }
    .menu-toggle.active .bar:nth-child(2) { 
        opacity: 0; 
        transform: scaleX(0);
    }
    .menu-toggle.active .bar:nth-child(3) { 
        transform: translateY(calc(-3px - 5px)) rotate(-45deg); 
        background-color: var(--yellow);
    }
    
    /* Prevenir scroll quando menu está aberto */
    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 1200px) and (prefers-reduced-motion: reduce) {
    .nav-overlay {
        transition-duration: 0.01ms;
    }

    .nav-links {
        transition-duration: 0.2s;
    }

    .nav-links li:not(.nav-links-heading),
    .nav-links-heading {
        opacity: 1;
        transform: none;
        animation: none !important;
    }

    .nav-links.active li:not(.nav-links-heading) {
        animation: none !important;
    }
}

/* =========================================
   BLINDAGEM CONTRA "FORCE DARK MODE" DO CHROME
   =========================================
   O Chrome possui um recurso experimental (chrome://flags/#enable-force-dark)
   que inverte as cores de qualquer site IGNORANDO o CSS do autor. Ele opera
   em camada de renderização, DEPOIS do CSS ser aplicado — por isso !important
   sozinho não resolve.

   Truque: o heurístico do Chrome NÃO inverte elementos que têm background-image
   (ele trata como "imagem do site" e deixa em paz). Usando um linear-gradient
   com a mesma cor nos dois stops conseguimos um "fundo sólido" que o Chrome
   enxerga como imagem e não inverte.

   Aplicado aos elementos críticos com fundo claro sólido. */
.navbar,
.btn-hero-cta,
.brands-strip,
.hero-carousel-dot.is-active,
.product-card,
.about-card,
.contact-box {
    background-color: transparent;
    background-image: linear-gradient(#ffffff, #ffffff);
}

/* Garantia extra: impede que o Force Dark "ajuste" a cor do texto principal */
body,
.navbar,
.btn-hero-cta,
.brands-strip,
.product-card,
.about-card,
.contact-box,
footer,
.hero-content,
.card-content,
.section-header {
    forced-color-adjust: none;
}