/* ====== Variáveis e base ====== */
:root{
    --primary:#0B2C5D;
    --secondary:#163D7A;
    --accent:#002F87;
    --text:#1c1c1c;
    --muted:#6c757d;
    --bg:#ffffff;
    --yamaha-primary: 217 82% 21%;
    --yamaha-accent: 225 100% 27%;
    --navbar-h:72px;
    --sidebar-w:360px;
}

*{ box-sizing:border-box; }
body{
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    color:var(--text);
    padding-top: var(--navbar-h); /* compensa navbar fixa */
    font-size: 0.875rem;;
}
html{
    overflow-x: hidden;
}
.small, small{
    font-size: 0.95em !important;
}

.logo-main{
    height: 45px;
}


.logo-footer{
    width: 350px;
    max-width: 100%;
}

.logo-social{
    width: 40px;
}


.text-sm {
    font-size: .875rem;
    line-height: 1.25rem;
    font-weight: 500;
}
/* Links e botões */
a{ text-decoration: none; }
.btn-primary{
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: #082246;
    --bs-btn-hover-border-color: #082246;
    --bs-btn-active-bg: #071d3a;
    --bs-btn-active-border-color: #071d3a;
}
.text-primary{ color: var(--primary) !important; }

/* Navbar */

.navbar{
    box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px !important;
}
.navbar .nav-link{ font-weight:500; }
.navbar .nav-link.active{ color: var(--primary); }
.ls-1{ letter-spacing:.06em; }

/* Títulos de seção (âncora com offset da navbar) */
.section-title{
    text-transform: uppercase;
    letter-spacing:.06em;
    font-weight:700;
    margin-bottom:.25rem;
    scroll-margin-top: calc(var(--navbar-h) + 24px);
}

/* ====== HERO ====== */
#hero{
    background:
            radial-gradient(1200px 600px at 10% 10%, rgba(255,255,255,.05), transparent 60%),
            radial-gradient(900px 500px at 90% 30%, rgba(255,255,255,.05), transparent 60%),
            linear-gradient(135deg, var(--secondary), var(--primary));
    position:relative;
    overflow: hidden;
}
#hero .hero-overlay{
    position:absolute; inset:0;
    background-image:
            radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
            radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 24px 24px, 32px 32px;
    background-position: 0 0, 12px 12px;
    pointer-events:none;
    opacity:.6;
}
#hero .hero-motos{
    /*mix-blend-mode:screen;
    filter: contrast(110%) saturate(105%);*/
}

/* ====== SIDEBAR FORM (desktop) ====== */
#sidebarForm{
    position: fixed;
    top: calc(var(--navbar-h) + 5px);
    right: 24px;
    width: var(--sidebar-w);
    z-index: 1045;
    border: 0;
    border-radius: 16px;
}
#sidebarForm .card-title{ letter-spacing:normal; }

.content-wrapper{ /* dá espaço para a sidebar no desktop */
    min-height: 100vh;
}
@media (min-width: 992px){
    .content-wrapper{
        margin-right: calc(var(--sidebar-w) + 48px);
    }
}

/* Mobile CTA (abre Offcanvas) */
.mobile-cta{
    position: fixed;
    left: 0; right: 0; bottom: 0;
    border-radius: 0;
    padding-block: 14px;
    z-index: 1046;
}

@media screen and (max-width:991px){
    .logo-main{
        height: 35px;
    }

    body {
        padding-top: 60px;
    }
}
/* Offcanvas largura igual à sidebar */
@media (max-width: 991.98px){
    .offcanvas-end{ width: var(--sidebar-w); max-width: 92vw; }
}

/* Cards & depoimentos */
.card{ border-radius: 16px; }
.testimonial-card .rounded-circle{ box-shadow: 0.2rem 0.5rem 1rem rgba(0, 0, 0, 0.25); border: none !important; }

.testimonial-card{
    box-shadow: 0.2rem 0.5rem 1rem rgba(0, 0, 0, 0.25) !important;
    border: none !important;
    font-size: 14px;
}

.testimonial-card p{
    font-style: italic;
}
.text-justify{
    text-align: justify;
}

/* Mapa responsivo */
.map-embed{
    aspect-ratio: 16 / 9;
    background:#e9ecef;
}
.map-embed iframe{
    width:100%; height:100%; border:0;
}

/* Footer */
footer img{ display:block; }

/* Acessibilidade: foco visível */
:focus-visible{
    outline: 3px solid #80b3ff;
    outline-offset: 2px;
}

.text-yamaha-primary{
    color: hsl(var(--yamaha-primary));
}

.text-yellow-400 {
    --tw-text-opacity: 1;
    color: rgb(250 204 21 / var(--tw-text-opacity, 1));
}

.form-label{
    display: flex;
    align-items: center;
    margin-bottom: .1rem !important;
}

.form-control{
    font-size: 14px;
}

.form-label .lucide{
    width: 16px;
}

.card-title .lucide{
    width: 20px;
}

.bg-yamaha-primary {
    background-color: hsl(var(--yamaha-primary));
}

.header-consorcio{
    border-radius: 0.775rem 0.775rem 0 0;
}

.btn-yamaha{
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-timing-function:
            cubic-bezier(.4, 0, .2, 1);
    transition-duration: .15s;
    font-size: 14px;
}

.card-img-top{
    padding-top: 15px;
}

.btn-yamaha:hover{
    background-color: hsl(var(--yamaha-accent));
}


.card-moto{
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: rgba(0, 51, 153, 0.35) 0px 5px 15px;


}

.card-moto .card-title small{
    font-size:14px;
    font-weight: 500;
}

.card-moto:hover{
    box-shadow: rgba(0, 51, 153, 0.25) 0px 14px 28px, rgba(0, 51, 153, 0.22) 0px 10px 10px;
    transform: translateY(-4px);
}

.card-moto .card-title{
    color: var(--primary);
    font-weight: 700;
}

.testimonial-stars svg{
    --tw-text-opacity: 1;
    color: rgb(250 204 21 / var(--tw-text-opacity, 1));
    fill: rgb(250 204 21 / var(--tw-text-opacity, 1));
    width:16px;
    margin-right:-4px;
}

.logo-ibama{
    width: 80px;
}

.logo-manaus{
    width: 80px;
}

/* ======= HERO ======= */
.product-hero{padding:24px 0 16px;}
.product-hero .title-badge{
    font-size: 1.5rem; text-align: center;
    background:#0A3B8A; color:#fff; font-weight:700; letter-spacing:.5px;
    border-radius:.5rem; padding:.65rem 1.25rem; display:inline-block;
    box-shadow:0 6px 0 rgba(0,0,0,.18);
}
.product-hero .big-price-list .line{
    display:flex; align-items:baseline; justify-content: flex-end;
    border-bottom:1px solid #ddd; padding:.4rem 0;
}
.product-hero .big-price-list .line strong{font-size:1.65rem; line-height:1;}
.product-hero .credit-label{color:#8b8b8b; text-transform:uppercase; letter-spacing:.06em;}
.product-hero .credit-value{font-size:1.4rem; font-weight:800;}

/* imagem responsiva bonita */
.product-hero .img-main{width: 400px;max-width:100%; height:auto; display:block; margin:auto;}

/* ======= ESPECIFICAÇÕES ======= */
.specs-section{background:#151515; color:#fff; padding:48px 0;}
.specs-section .section-title{font-weight:800; letter-spacing:.08em; text-transform:uppercase; margin-bottom:18px;}
.spec-tabs .nav-link{
    color:#cfd8dc; border:1px solid transparent; margin-right:.5rem; font-weight:600; text-transform:uppercase;
}
.spec-tabs .nav-link:hover{color:#fff;}
.spec-tabs .nav-link.active{
    color:#0A3B8A; background:#fff; border-color:#fff; box-shadow:0 8px 20px rgba(0,0,0,.35);
}
.prod-descricao{
    white-space: normal;
    overflow-wrap: anywhere;
}
.specs-list{margin:0; padding:0; list-style:none;}
.specs-list li{display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:.6rem 0; border-bottom:1px dashed rgba(255,255,255,.12);}
.specs-list .k{opacity:.85;text-align: right;}
@media (max-width: 767.98px){
    .specs-list li{grid-template-columns:1fr;}
    .specs-list .k{text-align: start;}
}


.img-stack{ position:relative; }
.img-stack .img-primary{ display:block; width:100%; height:auto; transition:opacity .35s ease; }
.img-stack .img-secondary{
    position:absolute; inset:0; width:100%; height:100%;
    object-fit:contain; /* ou 'cover' se preferir preencher */
    opacity:0; transition:opacity .35s ease;
}
.card-moto:hover .img-secondary,
.card-moto:focus-within .img-secondary{ opacity:1; }
.card-moto:hover .img-primary,
.card-moto:focus-within .img-primary{ opacity:0; }

/* pequenos detalhes visuais */
.hr-muted{opacity:.2;}
.thumb-quad {max-width:100%; height:auto;}

@media screen and (max-width:991px){
    #mainNav a.nav-link{
        text-align: center;
        padding: 15px 0px 15px 0px;
    }

    #mainNav .nav-item{
        text-align: center;
        
    }

    .product-hero .title-badge {
        font-size: 1.2rem;
    }

    .product-hero .big-price-list .line strong {
        font-size: 1.15rem;
    }

    .product-hero .credit-value {
        font-size: 1.23rem;
    }
}
