/* ==========================================================================
   public/css/styles.css — Folha de Estilos Global do Sistema Bar do Cabeça
   ==========================================================================
   Este arquivo define a identidade visual base do sistema compartilhada entre
   todas as telas (área pública e administrativa):
   
   1. TIPOGRAFIA: Fonte moderna geométrica 'Outfit' (Google Fonts)
   2. PALETA DE CORES: Tema Dark sofisticado com acentos em Ouro Vintage:
      - --bg-main (#050505): Fundo absoluto
      - --bg-surface (#0e1014): Superfícies de cards e seções
      - --gold-accent (#d79a3d): Destaques, botões primários e ícones ativos
      - --text-main (#fcfcfc): Texto de alto contraste e legibilidade
   3. COMPONENTES GLOBAIS: Navbar responsiva, Rodapé institucional e dropdowns
   ========================================================================== */

/* ==================================================
                IMPORTAÇÃO DE FONTES
================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100;200;300;400;500;600;700;800;900&display=swap');


/* ==================================================
                    VARIÁVEIS GLOBAIS
================================================== */
:root {
  --bg-main: #050505;
  --bg-surface: #0e1014;
  --bg-card: #161a22;
  --bg-surface-elevated: #121418;
  --gold-accent: #d79a3d;
  --gold-hover: #e8b35a;
  --gold-subtle: rgba(215, 154, 61, 0.06);
  --gold-border: rgba(215, 154, 61, 0.14);
  --gold-border-focus: rgba(215, 154, 61, 0.40);
  --text-main: #fcfcfc;
  --text-muted: #9499a0;
  --ease-out-strong: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-pill: 9999px;
  --shadow-elevated: 0 8px 30px rgba(0, 0, 0, 0.2);
}


/* ==================================================
                CONFIGURAÇÕES GERAIS
================================================== */

body{
    font-family: 'Outfit', sans-serif;
    background-color: #0A0A0A;
    color: #F1E8D8;
}

img{
    width: 100%;
    max-width: 150px;
}


/* ==================================================
                    NAVBAR
================================================== */

.navbar{
    /* Background escuro profundo e linha sutil inferior para separação visual elegante */
    background-color: #050505;
    border-bottom: 1px solid var(--gold-border);
}

.nav-link{
    color: #F1E8D8;
    font-weight: 600;
    transition: .3s;
}

.nav-link:hover{
    color: #D79A3D;
}

.navbar-toggler{
    border: none;
}

.navbar-toggler:focus{
    box-shadow: none;
}


/* ==================================================
                BOTÃO MOBILE
================================================== */

.menu-mobile{
    display: none;
    background: transparent;
    border: none;
    color: #D79A3D;
    font-size: 2rem;
    padding: 8px;
}

.menu-mobile:focus{
    box-shadow: none;
}

.menu-mobile span{
    display: block;
    line-height: 1;
}


/* ==================================================
                    OFFCANVAS
================================================== */

.offcanvas{
    background-color: #161616;
    /* Evita que o menu ocupe 100% da tela no mobile, deixando o overlay escuro visível */
    width: 320px !important;
    max-width: 75vw !important;
}

.offcanvas-title{
    color: #F1E8D8;
}


/* ==================================================
                ÍCONES LINEICONS
================================================== */

.lni-grid-alt{
    font-size: 1.7rem;
    color: #D79A3D;
}

.lnis-cross-circle{
    font-size: 2rem;
    color: #D79A3D;
}


/* ==================================================
                    DROPDOWN
================================================== */

.dropdown-menu{
    background-color: #161616;
    border: 1px solid rgba(215, 154, 61, .25);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.dropdown-item{
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.6rem 0.95rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all .2s ease-in-out;
}

.dropdown-item .dropdown-icon,
.dropdown-item i{
    color: #D79A3D;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
    transition: transform .2s ease, color .2s ease;
}

.dropdown-item:hover, .dropdown-item:focus{
    background-color: rgba(215, 154, 61, .15);
    color: #FFFFFF;
}

.dropdown-item:hover .dropdown-icon,
.dropdown-item:hover i{
    color: #f1b358;
    transform: scale(1.08);
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        animation: fadeInDropdown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes fadeInDropdown {
        from {
            opacity: 0;
            transform: translateY(6px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}


/* ==================================================
                    HERO SECTION
================================================== */

.hero-section{
    min-height: 520px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at top center,
            rgba(215, 154, 61, 0.13) 0%,
            rgba(22, 22, 22, 0.95) 38%,
            #0A0A0A 100%
        );
    color: #F1E8D8;
    border-top: 1px solid rgba(215, 154, 61, 0.08);
    border-bottom: 1px solid rgba(215, 154, 61, 0.12);
}

.hero-badge{
    display: inline-block;
    color: #D79A3D;
    border: 1px solid rgba(215, 154, 61, 0.35);
    background-color: rgba(215, 154, 61, 0.08);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 22px;
}

.hero-title{
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    color: #F1E8D8;
    margin-bottom: 24px;
}

.hero-title span{
    color: #D79A3D;
}

.hero-subtitle{
    max-width: 850px;
    margin: 0 auto;
    color: #D8D0C3;
    font-size: 1.05rem;
    line-height: 1.8;
}


/* ==================================================
                CARDS DA HERO
================================================== */

.hero-features{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 46px;
}

.hero-feature{
    min-width: 180px;
    padding: 18px 22px;
    border-radius: 18px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(215, 154, 61, 0.16);
    transition: .3s;
}

.hero-feature:hover{
    transform: translateY(-4px);
    border-color: rgba(215, 154, 61, 0.45);
    background-color: rgba(215, 154, 61, 0.06);
}

.hero-feature i{
    color: #D79A3D;
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.hero-feature p{
    margin: 0;
    color: #F1E8D8;
    font-size: .95rem;
    font-weight: 600;
}

.hero-feature-link{
    text-decoration: none;
    color: inherit;
    display: block;
}

.hero-feature-link:hover{
    color: inherit;
}


/* ==================================================
                      FOOTER
================================================== */

.footer {
  background: linear-gradient(
    180deg,
    var(--bg-surface) 0%,
    var(--bg-main) 100%
  );
  color: var(--text-main);
  border-top: 1px solid var(--gold-border);
}

.footer h6 {
  color: var(--text-main);
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
}

.footer p {
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-line {
  border-color: var(--gold-border);
}

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-hours li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.02);
  transition: border-color 300ms var(--ease-out-strong);
}

.footer-hours li:hover {
  border-color: var(--gold-border-focus);
}

.footer-hours i {
  color: var(--gold-accent);
  font-size: 1.1rem;
}

.footer-hours span {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-hours strong {
  display: block;
  color: var(--text-main);
  font-size: 0.9rem;
  line-height: 1.3;
}

/* Social icons — glass pill with inner highlight */
.footer-icon {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.15rem;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  background-color: rgba(255, 255, 255, 0.02);
  transition: color 250ms var(--ease-out-strong),
              border-color 250ms var(--ease-out-strong),
              background-color 250ms var(--ease-out-strong),
              transform 250ms var(--ease-out-strong);
}

.footer-icon:active {
  transform: scale(0.93);
}

/* ==================================================
                    DESKTOP
================================================== */

@media (min-width: 992px){

    .dropdown > .dropdown-menu{
        visibility: hidden;
        opacity: 0;
        display: block;
        margin-top: 10px;
        transition: .3s;
    }

    .dropdown:hover > .dropdown-menu{
        visibility: visible;
        opacity: 1;
        margin-top: 0;
    }

}


/* ==================================================
                    TABLET / MOBILE
================================================== */

@media (max-width: 991px){

    .menu-mobile{
        display: block;
    }

}


/* ==================================================
                    MOBILE
================================================== */

@media (max-width: 768px){

    .hero-section{
        min-height: auto;
        padding: 80px 0;
    }

    .hero-subtitle{
        font-size: .95rem;
    }

    .hero-feature{
        width: 100%;
        max-width: 280px;
    }

}

/* Hover somente em dispositivos com ponteiro fino (Emil: touch device guard) */
@media (hover: hover) and (pointer: fine) {
  .footer-icon:hover {
    color: var(--gold-accent);
    border-color: var(--gold-border-focus);
    background-color: var(--gold-subtle);
    transform: translateY(-2px);
  }
}

/* ==================================================
        ACELERAÇÃO E REDUÇÃO DE MOVIMENTO (A11Y)
================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .footer-icon:hover {
    transform: none !important;
  }
}