:root {
    --brand: #0A66C2;
    --brand-2: #084A92;
    --accent: #25D366;
    --bg: #f5f7fb;
    --text: #0e1a2a;
    --muted: #667085;
    --card: #ffffffee;
    --glass: rgba(255, 255, 255, 0.6);
    --border: #e6e8ef
}

* {
    box-sizing:
        border-box
}

html,
body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: var(--text);
    font-family: Inter,
        system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif
}

img {
    max-width: 100%;
    display: block
}

a {
    text-decoration: none;
    color: inherit
}

.wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px
}

.hero {
    position: relative;
    background: #fff;
    overflow: hidden
}

.hero .wrap {
    padding: 4px 24px 8px
}

.hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background:
        linear-gradient(135deg, var(--brand), var(--brand-2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800
}

.brand-name {
    font-weight: 800;
    letter-spacing: 0.2px
}

.badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.badge {
    font-size: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background:
        var(--bg);
    border: 1px solid var(--border)
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.8fr 0.6fr;
    align-items: center;
    justify-content: center;
    justify-items: center;
    gap: 32px;
    margin-top: 15px
}

.hero-card {
    background: var(--glass);
    backdrop-filter:
        blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 16px 22px;
    box-shadow: -14px 14px 40px rgba(8, 74, 146, .48)
    ;
    width: 100%;
    max-width: 660px;
    min-height: 405px;
    justify-self: center
    ;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.eyebrow {
    color: var(--brand);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .2px;
    text-transform: uppercase
}

h1 {
    font-size: clamp(28px, 6vw, 40px);
    line-height: 1.1;
    margin: 10px 0 14px
}

.sub {
    font-size: 16px;
    color: var(--muted)
}

.cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px
}

.btn {
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 600;
    display: inline-flex;
    align-items:
        center;
    gap: 10px
}

.btn.primary {
    background: linear-gradient(180deg, var(--brand) 0, var(--brand-2) 100%);
    color:
        #fff
}

.btn.whatsapp {
    background: var(--accent);
    color: #072b16
}

.btn.secondary {
    background: #fff;
    border-color:
        var(--border);
    color: var(--text)
}

/* Estilo específico para o botão Ligar agora no hero */
#btn-call-hero.btn.secondary {
    background: linear-gradient(180deg, #4da3ff 0, #0A66C2 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 22px rgba(10, 102, 194, .18);
}
#btn-call-hero.btn.secondary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.btn .ic {
    width: 18px;
    height: 18px
}

.hero-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    justify-self: center;
    height: 100%;
}

.mock {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(10, 102, 194,
            .12)
}

.section {
    padding: 64px 0;
    border-top: 1px solid var(--border);
    background: #fff
}

.section:nth-child(even) {
    background: #f8fafc
}

.section h2 {
    font-size: clamp(24px, 4.5vw, 28px);
    margin: 0 0 14px
}

.lead {
    color: var(--muted)
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px
}

/* Nova seção de benefícios focada em conversão */
#beneficios .benefit-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 16px auto 0;
    max-width: 900px;
}
.benefit-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    text-align: center;
}
.benefit-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--brand);
}
.benefit-label {
    color: var(--muted);
    font-weight: 600;
}
.section#beneficios .sub { text-align: center; max-width: 760px; margin: 0 auto; }
.problems .list-title { margin: 0 0 8px; text-align: left; }
#beneficios .problems-list { margin-top: 8px; }

.grid-2 {
    display: grid;
    grid-template-columns:
        repeat(2, 1fr);
    gap: 20px
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px
}

@media (max-width: 720px) {
    .metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 400px) {
    .metrics { grid-template-columns: 1fr; }
}

.metric {
    background: var(--bg);
    border-radius:
        12px;
    padding: 8px 10px;
    font-size: 13px
}

.list {
    display: grid;
    gap: 10px;
    margin-top: 14px
}

.list .item {
    display: flex;
    gap: 10px
}

.list .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--brand);
    margin-top: 7px
}

.prod {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px
}

.prod img {
    height: 200px;
    object-fit: contain;
    width: 100%;
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px
}

/* Centralização dos botões nos cards de produto */
.prod .btn {
    justify-content: center;
    text-align: center;
    font-weight: 700;
    min-height: 48px;
    font-size: 15px;
    padding: 14px 20px;
}
.prod-cta {
    width: 100%;
    justify-content: center;
}
@media (max-width: 540px) {
  .prod .btn {
    min-height: 52px;
    font-size: 16px;
    padding: 16px 22px;
    border-radius: 14px;
  }
}

.prod-image-container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 12px
}

.prod .specs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px
}

.calc {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 12px
}

.input {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    width: 160px
}

.result {
    font-weight: 600
}

.logos {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px
}

.quote {
    font-size: 14px;
    color: var(--muted)
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 12px auto 0;
    max-width: 980px;
}

.step {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px
}

.faq {
    display: grid;
    grid-template-columns:
        1fr;
    gap: 10px;
    margin-top: 14px
}

.qa {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px;
    background: #fff
}

.cta-final {
    background: linear-gradient(180deg, #0A66C2 0, #084A92 100%);
    color: #fff;
    border-radius: 20px;
    padding: 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px
}

.cta-final h2 {
    margin: 0 0 8px
}

.cta-final p {
    margin: 0 0 16px
}

.cta-final .cta {
    margin: 0 0 12px
}

.cta-final .mini {
    margin-top: 8px;
    opacity: 0.9
}

.cta-final .btn {
    border-color: transparent
}

.cta-inline {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.cta-inline .btn { align-self: center; }

@media (max-width: 540px) {
    .cta-inline { padding: 16px; width: 100%; max-width: none; }
    .cta-inline .btn { width: 100%; }
}

.footer {
    padding:
        60px 0 30px;
    background: #0e1a2a;
    color: #fff;
    font-size: 14px
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px
}

.footer-section h3 {
    font-size: 20px;
    margin:
        0 0 16px;
    color: #fff;
    font-weight: 700
}

.footer-section h4 {
    font-size: 16px;
    margin: 0 0 12px;
    color: #fff;
    font-weight: 600
}

.footer-section p {
    color: #cbd5e1;
    margin: 0 0 16px;
    line-height: 1.5
}

.footer-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.footer .badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #cbd5e1;
    font-size: 11px
}

.contact-item {
    margin-bottom: 16px
}

.contact-item strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 13px
}

.contact-info {
    color: #cbd5e1;
    margin-bottom: 8px;
    font-size: 13px
}

.footer-btn {
    padding: 10px 16px;
    font-size: 13px;
    border-radius: 8px;
    margin-top: 4px
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0
}

.footer-links li {
    margin-bottom: 8px
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease
}

.footer-links a:hover {
    color: #fff
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items:
        center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1)
}

.footer-copyright {
    color: #94a3b8;
    font-size: 12px
}

.mini {
    font-size: 12px;
    color: #94a3b8
}

/* Estilos da Simulação */
.simulation-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08)
}

.simulation-card h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 28px
}

.simulation-subtitle {
    color: var(--muted);
    font-size: 16px;
    margin: 0 0 32px
}

.simulation-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px
}

.radio-group { width: 100%; max-width: 480px; margin: 0 auto; }
.radio-group .radios { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.radio-group label { font-weight: 500; color: var(--text); }
.radio-group input { margin-right: 6px; }

.input-group {
    text-align: center;
    width: 100%;
    max-width: 300px
}

.input-group label {
    display:
        block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
    font-size: 14px
}

.input-wrapper {
    position:
        relative;
    display: flex;
    align-items: center
}

.input-wrapper .input {
    width: 100%;
    padding: 16px 50px 16px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    background: #fff;
    transition: all 0.2s ease
}

.input-wrapper .input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(10, 102, 194,
            0.1)
}

.input-unit {
    position: absolute;
    right: 16px;
    color: var(--muted);
    font-weight: 500;
    font-size: 14px;
    pointer-events: none
}

.simulation-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 12px;
    background: linear-gradient(180deg, var(--brand) 0, var(--brand-2) 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease
}

.simulation-btn:hover {
    transform:
        translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.3)
}

.simulation-result {
    min-height: 60px;
    display:
        flex;
    align-items: center;
    justify-content: center
}

.multi-config {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 2px solid var(--brand);
    border-radius: 16px;
    padding: 18px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.multi-title { margin: 0; font-weight: 800; color: var(--text); }
.multi-text { margin: 0; color: var(--muted); }

.result-badge {
    display: inline-flex;
    align-items: center;
    gap:
        12px;
    background: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border:
        2px solid var(--brand)
}

.result-badge svg {
    color: var(--brand)
}

.result-badge span {
    font-size: 16px;
    color:
        var(--text)
}

.result-badge strong {
    color: var(--brand);
    font-weight: 700
}

.simulation-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 13px;
    text-align: center
}

.simulation-note svg {
    opacity: 0.7
}

/* Estilos do Pop-up de Vídeo */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items:
        center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible
}

.popup-container {
    position: relative;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    max-width: 360px;
    width: 95%;
    aspect-ratio: 9/16;
    max-height: 90vh;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: scale(0.8);
    transition: transform 0.3s ease
}

.popup-overlay.active .popup-container {
    transform: scale(1)
}

.popup-close {
    position: absolute;
    top: 8px;
    right:
        8px;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease
}

.popup-close:hover {
    background: #f5f5f5;
    transform: scale(1.1)
}

.popup-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content:
        center;
    background: #000;
    border-radius: 24px;
    overflow: hidden
}

.popup-message {
    position: absolute;
    top: 15px;
    left: 20px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    padding: 12px 24px;
    border-radius:
        30px;
    font-weight: 600;
    font-size: 16px;
    z-index: 8;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    animation:
        pulse 2s infinite;
    white-space: nowrap
}

/* Removido botão CTA do pop-up; toda a área é clicável */

.popup-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius:
        24px;
    cursor: pointer;
    display: block;
    outline: none;
    -webkit-appearance: none;
    appearance: none
}

.btn-float-video {
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom));
    right: calc(16px + env(safe-area-inset-right));
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap:
        8px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite
}

.btn-float-video:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4)
}

.btn-float-video svg {
    width: 20px;
    height: 20px
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.05)
    }
}

/* Estilos para os vídeos dos cases */
.cases-container {
    text-align: center;
}

/* Centralizar títulos das seções */
.section h2 {
    text-align: center;
    margin: 0 auto 24px;
    display: block;
}

.cases-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

.case-video-container {
    max-width: 200px;
    aspect-ratio: 9/16;
    margin: 0 auto 12px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
}

.case-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-caption {
    font-size: 14px;
    color: var(--muted);
    text-align: center;
    margin-top: 8px;
    line-height: 1.4;
}

/* Responsividade para os vídeos dos cases */
@media (max-width: 1200px) {
    .case-video-container {
        max-width: 180px;
    }
}

@media (max-width:980px) {
    .case-video-container {
        max-width: 160px;
    }
    
    .cases-grid {
        gap: 20px;
    }
    #beneficios .benefit-cards { grid-template-columns: repeat(2, 1fr); max-width: 600px; }
}

@media (max-width: 720px) {
    .case-video-container {
        max-width: 140px;
    }
    
    .cases-grid {
        gap: 16px;
    }
    
    .case-caption {
        font-size: 12px;
    }
    /* Evitar corte do banner do pop-up em telas estreitas */
    .popup-message {
        max-width: calc(100% - 32px);
        white-space: normal;
    }
    #beneficios .benefit-cards { grid-template-columns: 1fr; max-width: 420px; }
}

/* Estilos do Vídeo Hero */
.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: -14px 14px 40px rgba(8, 74, 146, .48);
    background: #000;
    width: 100%;
    height: auto;
    aspect-ratio: 9/16;
    margin: 0 auto;
    transition: aspect-ratio 0.3s ease;
}

@media (max-width: 768px) {
    .video-container {
        aspect-ratio: 9/16;
        max-width: 360px;
    }
}

@media (min-width: 769px) {
  .video-container { aspect-ratio: 9/16; max-width: 275px; }
}

.sound-toggle {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

@media (max-width: 540px) {
  .sound-toggle { width: 48px; height: 48px; right: 10px; bottom: 10px; }
}

.hero-video {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 1;
}

.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--border);
    border-radius: 20px;
    z-index: 2;
}

/* Responsividade do vídeo hero */
@media (max-width:980px) {
    .hero-media { height: auto; }
    .video-container { width: 100%; height: auto; margin: 20px 0; }
    /* Category Filter */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--brand);
    background: transparent;
    color: var(--brand);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-btn:hover {
    background: var(--brand);
    color: white;
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--brand);
    color: white;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

.prod-carousel { padding: 0 40px; }
}

/* Category Filter */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--brand);
    background: transparent;
    color: var(--brand);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-btn:hover {
    background: var(--brand);
    color: white;
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--brand);
    color: white;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

@media (max-width: 720px) {
    .hero-media {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 16px;
    }
    
    .video-container {
        width: 100%;
        height: auto;
        max-width: none;
    }
    .prod-carousel { padding: 0 24px; }
    .prod-slide { flex: 0 0 100%; }
    .prod-viewport { min-height: 220px; }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-5px)
    }
}

/* Header com imagem NAVBAR-BRISAMAR.png */
.main-header {
    position: relative;
    width: 100%;
    background: #fff
}

/* Nav Menu Centralizado */
.nav-menu {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100
}

.nav-buttons {
    display: flex;
    justify-content:
        center;
    gap: 40px;
    padding: 1px 24px 20px;
    max-width: 1140px;
    margin: 0 auto
}

.nav-btn {
    font-weight: 500;
    font-size: 16px;
    color: var(--muted);
    text-decoration: none;
    padding: 12px 0;
    position: relative;
    transition: color 0.2s ease
}

.nav-btn:hover {
    color: var(--brand)
}

.nav-btn.active {
    color: var(--brand)
}

.nav-btn.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand);
    border-radius: 2px
}

/* Hero section */
.hero {
    background: #fff;
    position: relative;
    padding-top: 4px;
    padding-bottom: 28px
}

.hero-card {
    background: rgba(255, 255, 255,
            0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 16px
}

/* Estilos do Navbar Simplificado */
.navbar {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s ease
}

.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px
}

.nav-links {
    display:
        flex;
    gap: 48px;
    align-items: center
}

.nav-link {
    font-weight: 500;
    font-size: 16px;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
    padding: 8px 0
}

.nav-link:hover {
    color:
        var(--brand)
}

.nav-link.active {
    color: var(--brand)
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--brand);
    border-radius: 2px
}

/* Header com imagem
NAVBAR-BRISAMAR.png */
.header-bg {
    position: relative;
    width: 100%;
    height: auto;
    background: #fff;
    display: block;
    padding: 0
}

.header-image {
    width: auto;
    max-width: 100%;
    height: clamp(90px, 12vw, 140px);
    object-fit: contain;
    object-position: center top;
    display: block;
    margin: 0 auto
}

@media (min-width:1200px) {
    .header-image { height: clamp(110px, 14vw, 160px); }
}

.hero {
    background: #fff;
    position: relative;
    padding-top: 4px;
    padding-bottom: 28px
}

.hero .wrap {
    position:
        relative;
    z-index: 2
}

.hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px)
}

body {
    padding-top: 0
}

@media (max-width:980px) {
    .hero-grid {
        grid-template-columns: 1fr
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr)
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        max-width: 720px;
        margin: 12px auto 0;
    }
}

@media (max-width:768px) {
    .header-bg {
        min-height: 120px;
        padding: 0 0 1px 0
    }

    .header-image { height: clamp(80px, 12vw, 120px); margin-top: 0 }

    .nav-buttons {
        gap: 30px;
        padding: 1px 20px 16px
    }
}

@media (max-width:720px) {
    .header-bg {
        min-height: 100px;
        padding: 0 0 1px 0
    }

    .header-image { height: clamp(80px, 12vw, 120px); width: auto; max-width: 100%; margin-top: 0 }

    .nav-buttons {
        gap: 20px;
        padding: 1px 16px 16px
    }

    .nav-btn {
        font-size: 14px;
        padding: 10px 0
    }
    
    .navbar {
        top: 90px
    }

    .hero {
        padding-top: 0;
        padding-bottom: 12px
    }
    .hero .wrap { padding-top: 0; }
    .hero-grid { margin-top: 8px; }
}

@media (max-width: 720px) {
    .grid-3 {
        grid-template-columns: 1fr
    }

    .grid-2 {
        grid-template-columns: 1fr
    }

    .steps {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 12px auto 0;
    }

    h1 {
        font-size: 32px
    }

    .footer {
        padding: 40px 0 20px
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .footer-section {
        margin-bottom: 20px
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center
    }

    .popup-container {
        width: 95%;
        max-width: 90%;
        aspect-ratio: 9/16;
        max-height: 80vh;
        box-shadow: 0 4px 20px rgba(0,
                0, 0, 0.15)
    }

    .popup-video {
        object-fit: cover;
        border-radius: 24px
    }

    .popup-message {
        font-size: 14px;
        padding:
            10px 20px;
        top: 12px;
        left: 15px
    }
}
.prod-carousel {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}
.prod-viewport {
    overflow: hidden;
    border-radius: 20px;
    min-height: 260px;
}
.prod-track {
    display: flex;
    transition: transform .4s ease;
    will-change: transform;
    flex-wrap: nowrap;
}
.prod-slide {
    flex: 0 0 100%;
    padding: 8px;
}
@media (min-width: 721px) {
  .prod-slide { flex: 0 0 50%; }
}
.prod-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--brand);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(10,102,194,.12);
}
.prod-arrow.prev { left: -20px; }
.prod-arrow.next { right: -20px; }
/* Ajustes do carrossel no mobile */
@media (max-width: 720px) {
  .prod-arrow.prev { left: 8px; }
  .prod-arrow.next { right: 8px; }
  .prod img { height: 160px; }
}

@media (max-width: 480px) {
  .prod img { height: 140px; }
  .popup-message {
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 24px);
    padding: 8px 14px;
    font-size: 13px;
    white-space: normal;
    text-align: center;
  }
  .btn-float-video { right: calc(12px + env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); }
}

/* Empilhar CTAs e otimizar toque em telas pequenas */
@media (max-width: 540px) {
  .cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; justify-content: center; }
}

/* Especificações dos produtos em uma coluna no mobile */
@media (max-width: 540px) {
  .prod .specs { grid-template-columns: 1fr; }
}

/* Tipografia e espaçamentos refinados para telas muito pequenas */
@media (max-width: 400px) {
  h1 { font-size: 28px; }
  .hero-card { padding: 14px; }
.filter-btn { padding: 8px 16px; font-size: 13px; }
}

/* Aumentar área de toque das setas em dispositivos touch */
@media (pointer: coarse) {
  .prod-arrow { width: 48px; height: 48px; }
}

/* Respeitar preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
