html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Início customização da cor do site */
/* Texto Dourado/Principal */
.text-dark-barber {
    color: #d4af37;
}

.text-dark-barber {
    color: #1c1c1c;
}

/* Botão principal da barbearia */
.btn-success-gold {
    color: #fff !important;                /* texto branco */
    background-color: #1c1c1c !important;  /* cor principal escura */
    border-color: #1c1c1c !important;      /* borda escura */
    transition: 0.3s;
}

.btn-success-gold:hover {
    color: #1c1c1c !important;             /* texto escuro no hover */
    background-color: #d4af37 !important;  /* dourado ao passar o mouse */
    border-color: #c9a73a !important;      /* borda dourada mais escura */
}

.btn-check:focus + .btn-success-gold, 
.btn-success-gold:focus {
    color: #1c1c1c;
    background-color: #d4af37;
    border-color: #c9a73a;
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.5); /* sombra dourada */
}

.btn-check:checked + .btn-success-gold, 
.btn-check:active + .btn-success-gold, 
.btn-success-gold:active, 
.btn-success-gold.active, 
.show > .btn-success-gold.dropdown-toggle {
    color: #fff;
    background-color: #c9a73a;   /* dourado mais escuro */
    border-color: #a7882a;
}

.btn-check:checked + .btn-success-gold:focus, 
.btn-check:active + .btn-success-gold:focus, 
.btn-success-gold:active:focus, 
.btn-success-gold.active:focus, 
.show > .btn-success-gold.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.5);
}

.btn-success-gold:disabled, 
.btn-success-gold.disabled {
    color: #fff;
    background-color: #555;   /* tom apagado para desabilitado */
    border-color: #444;
}

/* Fim customização da cor do site */

/*Início: Estilo do Site*/
:root {
    --cor-principal: #1c1c1c; /* tom escuro */
    --cor-hover: #d4af37; /* dourado para destaque */
    --texto-claro: #ffffff;
    --bg-site: #f4f4f4; /* fundo do site */
}

html, body {
    height: 100%;
    margin: 0;
    background-color: var(--bg-site);
}

/* ===== LAYOUT ===== */
.layout {
    display: flex;
    min-height: 100vh;
}

/* ===== SIDEBAR (DESKTOP) ===== */
.sidebar {
    width: 260px;
    background-color: var(--cor-principal);
    color: var(--texto-claro);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1030;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.2);
}

    .sidebar-header img {
        max-width: 140px;
    }

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--texto-claro);
    text-decoration: none;
    font-weight: 500;
}

    .sidebar-menu a:hover {
        background-color: var(--cor-hover);
        color: var(--cor-principal);
    }

.submenu {
    background-color: #2b2b2b;
}

    .submenu a {
        padding-left: 50px;
        font-size: .95rem;
        color: var(--texto-claro);
    }

    .submenu .submenu a {
        padding-left: 70px;
    }

/* ===== CONTENT ===== */
.content {
    margin-left: 260px;
    padding: 25px;
    width: 100%;
}

/* ===== MOBILE ===== */
@media (max-width: 991px) {
    .sidebar {
        display: none;
    }

    .content {
        margin-left: 0;
        padding-bottom: 80px;
    }
}

/* ===== MENU MOBILE ===== */
.mobile-menu {
    background-color: var(--cor-principal);
}

    .mobile-menu a {
        color: var(--texto-claro);
        text-decoration: none;
    }

        .mobile-menu a div {
            font-size: .7rem;
        }

/* ===== FAIXA SUPERIOR MOBILE ===== */
.mobile-topbar {
    background-color: var(--cor-principal);
    color: var(--texto-claro);
    padding: .5rem 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: start;
}

    .mobile-topbar img {
        height: 30px;
        object-fit: contain;
        margin-right: 10px;
    }

    .mobile-topbar span {
        font-weight: 600;
        font-size: 1.2rem;
        text-align: center;
        flex-grow: 1;
    }

/* ===== FOOTER ===== */
.footer {
    background-color: var(--cor-principal);
    color: var(--texto-claro);
    padding: 10px 0;
    margin-left: 260px;
    text-align: center;
}

@media (max-width: 991px) {
    .footer {
        margin-left: 0;
        margin-bottom: 60px; /* espaço pro menu mobile */
    }
}

/* ===== CARTÕES DE SERVIÇO ===== */
.card {
    border-radius: 15px;
}

    .card h5 {
        font-weight: 600;
        color: #1c1c1c;
    }

    .card p {
        font-size: .9rem;
        color: #555;
    }

/* Espaçamento inicial das páginas por causa do menu fixo */
.page-offset {
    margin-top: 10px; /* desktop */
}

@media (max-width: 991px) {
    .page-offset {
        margin-top: 40px; /* mobile (faixa superior) */
    }
}

/*Fim: Estilo do Site*/


/*load*/
#loader {
    width: 100px;
    height: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -20px -50px
}
#loader div{width:20px;height:20px;background:#FFF;border-radius:50%;position:absolute}
#d1{animation:animate 2s linear infinite}
#d2{animation:animate 2s linear infinite -.4s}
#d3{animation:animate 2s linear infinite -.8s}
#d4{animation:animate 2s linear infinite -1.2s}
#d5{animation:animate 2s linear infinite -1.6s}
 @keyframes animate {
  0% { left: 100px; top:0}
  80% { left: 0; top:0}
  85% { left: 0; top: -20px; width: 20px; height: 20px}
  90% { width: 40px; height: 15px; }
  95% { left: 100px; top: -20px; width: 20px; height: 20px}
  100% { left: 100px; top:0}
}
@-webkit-keyframes animate {
0%{left:100px;top:0}
80%{left:0;top:0}
85%{left:0;top:-20px;width:20px;height:20px}
90%{width:40px;height:15px}
95%{left:100px;top:-20px;width:20px;height:20px}
100%{left:100px;top:0}
}
@-ms-keyframes animate {
  0% { left: 100px; top:0}
  80% { left: 0; top:0;}
  85% { left: 0; top: -20px; width: 20px; height: 20px;}
  90% { width: 40px; height: 15px; }
  95% { left: 100px; top: -20px; width: 20px; height: 20px;}
  100% { left: 100px; top:0; }
}
.plano-fundo-loader{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000000;opacity:0.6;filter:alpha(opacity=60);}