:root {
    --winn-white: #ffffff;
    --winn-blue: #0A1E36;    /* Azul Profundo */
    --winn-green: #6dbf5f;
    --winn-green-light: #a7fc9a;
    --winn-gold: #BFA15F;    /* Dourado Principal */
    --winn-gold-light: #fcde9a;
    --winn-gold-lighter: #DCC388;
    --winn-gold-lighting: #dcc3887b;
    --winn-gold-lig: #e6cd2c;
    --winn-text: #333;
    --whatsapp-green: #25D366; /* Cor oficial do WhatsApp */
    --brand-navy: #0e2338;
    --brand-gold: #c5a065;
    --brand-gold-lighting: #dcc3887b;
    --brand-gold-dark: #a3824b;
    --brand-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--winn-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Utilitários */
.text-gold { color: var(--winn-gold) !important; }
.text-blue { color: var(--winn-blue) !important; }
.bg-blue { background-color: var(--winn-blue) !important; color: white; }
.bg-gold { background-color: var(--winn-gold) !important; color: var(--winn-blue); }

/* Botões */
.btn-gold {
    background-color: var(--winn-gold);
    color: var(--winn-blue);
    font-weight: bold;
    border: none;
    padding: 10px 30px;
    transition: 0.3s;
}
.btn-gold:hover {
    background-color: var(--winn-gold-light);
    color: var(--winn-blue);
    transform: translateY(-2px);
}

.btn-green {
    background-color: var(--winn-green);
    color: var(--winn-blue);
    font-weight: bold;
    border: none;
    padding: 10px 30px;
    transition: 0.3s;
}
.btn-green:hover {
    background-color: var(--winn-green-light);
    color: var(--winn-blue);
    transform: translateY(-2px);
}


/* Navbar */
.navbar-winn {
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 15px 0;
}
.navbar-brand img { height: 60px; }
.nav-link { color: var(--winn-blue) !important; font-weight: 600; text-transform: uppercase; transition: 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--winn-gold) !important; }

/* Carrousel */
.carousel-item {
    height: 80vh;
    min-height: 500px;
    background: no-repeat center center scroll;
    background-size: cover;
    position: relative;
}
.carousel-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 30, 54, 0.6); /* Overlay Azul Escuro */
    z-index: 1;
}
.carousel-caption {
    z-index: 2;
    bottom: 30%;
}
.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Depoimentos */
.testimonial-card {
    background: #fff;
    border-left: 5px solid var(--winn-gold);
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    height: 100%;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--winn-gold);
}

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--whatsapp-green);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
    color: white;
}
.whatsapp-tooltip {
    position: fixed;
    bottom: 45px;
    right: 110px;
    background-color: white;
    padding: 5px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--winn-text);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.whatsapp-float:hover + .whatsapp-tooltip {
    opacity: 1;
}

/* Footer */
footer {
    background-color: var(--winn-blue);
    color: #ccc;
    padding-top: 50px;
    border-top: 5px solid var(--winn-gold);
    margin-top: auto;
}
footer h5 { color: var(--winn-gold); margin-bottom: 20px; }
footer a { color: #ccc; text-decoration: none; }
footer a:hover { color: var(--winn-gold); }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .carousel-item { height: 60vh; }
    .carousel-caption h1 { font-size: 2rem; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 24px; }
}

/* --- MODAL CUSTOMIZADA --- */

/* Input groups mais elegantes */
.modal-body .input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}
.modal-body .form-control {
    border-left: none;
    background-color: #f8f9fa;
}
.modal-body .form-control:focus {
    box-shadow: none;
    border-color: #ced4da;
    background-color: #fff;
}
.modal-body .input-group:focus-within .input-group-text,
.modal-body .input-group:focus-within .form-control {
    background-color: #fff;
    border-color: var(--winn-gold);
}

/* Link dentro do footer da modal */
.modal-footer a:hover {
    color: var(--winn-gold) !important;
    text-decoration: underline !important;
}

.mgm-top-10 {
    margin-top: 10px;
}

.mgm-bot-10 {
    margin-bottom: 10px;
}

.pad-top-10 {
    padding-top: 10px;
}

.pad-bot-10 {
    padding-bottom: 10px;
}

/* Formatação do Cadastre-se */
.fundocadastrese {
  background-color: #f4f6f9;
}

.card {
  border-radius: 15px;
}

.logocadastrese {
  max-width: 50%;
  /* width: 50%; */
}

/* Form Vitrine */
.brand-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, var(--brand-gold), var(--brand-gold-dark));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Botão do Carrinho na Navbar */
.btn-cart-custom {
    border: 1px solid var(--brand-gold);
    color: var(--brand-gold);
    position: relative;
    transition: 0.3s;
}

.btn-cart-custom:hover {
    background-color: var(--brand-gold);
    color: var(--brand-navy);
}

/* Card de Produto */
.card-product {
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #e0e0e0;
    height: 100%; /* Para alinhar alturas */
}

.card-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--brand-gold);
}

.card-img-placeholder {
    height: 200px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 2.5rem;
    font-family: 'Georgia', serif;
}

.price-tag {
    color: var(--brand-gold-dark);
    font-size: 1.25rem;
    font-weight: bold;
}

/* Botões Personalizados */
.btn-brand {
    background-color: var(--brand-gold);
    color: white;
    border: none;
}
.btn-brand:hover {
    background-color: var(--brand-gold-lighting);
    color: var(--brand-navy);
}

.btn-brand-outline {
    border: 1px solid var(--brand-gold);
    color: var(--brand-navy);
}
.btn-brand-outline:hover, .btn-brand-outline.active {
    background-color: var(--brand-gold);
    color: var(--brand-gold-dark);
}

/* Sidebar Filtros */
.filter-sidebar h4 {
    color: var(--brand-navy);
    border-bottom: 2px solid var(--brand-gold);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Inputs Range e Checkbox (Ajuste de cor do Bootstrap) */
.form-check-input:checked {
    background-color: var(--brand-navy);
    border-color: var(--brand-navy);
}

.form-range::-webkit-slider-thumb {
    background: var(--brand-navy);
}

/* Paginação */
.page-link { color: var(--brand-navy); }
.page-item.active .page-link {
    background-color: var(--brand-navy);
    border-color: var(--brand-navy);
    color: var(--brand-gold);
}
.corfundo-price {
    background-color: var(--winn-gold-lighting);
}

.msg-vermelha {
    border-radius: 10px;
    color: #ff0000;
    background-color: var(--winn-gold-light);
    width: calc(100% + 10px);
    height: calc(65%);
}

.btn-login {
    border: 2px solid var(--winn-gold);
    color: var(--ordnas-blue);
    font-weight: 600;
    border-radius: 20px;
    padding: 5px 20px;
    transition: all 0.3s;
}
.btn-login:hover { background-color: var(--brand-gold-dark); color: white; }

.borda-redonda {
    border-radius: 10px;
}

.text-qrcode {
    color: #9f6200;;
}

.text-bold {
    font-weight: bold;
}

.text-right {
    text-align: right;
}

.text-acesso {
    font-size: 10px;
}

.text-aviso {
  color: #c90000;
  font-size: 20px;
}

.text-red {
  color: #c90000;
}

.text-green {
  color: #25c900;
  font-size: 30px;
}

#dvbloqueado {
  border-radius: 50%;
  width: 20px;
  height: 20px;
  background-color: #c90000;
}

#dvliberado {
  border-radius: 50%;
  width: 20px;
  height: 20px;
  background-color: #2cc900;
}
