/* Circuito Luar — Design Premium */

:root {
    --gold:        #c9a227;
    --gold-bright: #f0c030;
    --gold-light:  #f5e6c0;
    --black:       #0d0b00;
    --black-mid:   #1a1200;
    --black-card:  #221900;
    --gold-glow:   rgba(201,162,39,.25);
}

/* ── Tipografia ── */
body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #1a1600;
    line-height: 1.7;
    background: #fff;
}

h1, h2 {
    font-family: 'Cinzel', serif;
    letter-spacing: .03em;
}

h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* ── Labels de seção ── */
.section-label {
    font-family: 'Inter', sans-serif;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    margin-bottom: 1rem;
}
.section-label::before,
.section-label::after {
    content: '';
    width: 36px;
    height: 1px;
    background: var(--gold);
    opacity: .55;
}
/* Versão para usar em fundo escuro */
.section-label-light {
    color: var(--gold-bright);
}
.section-label-light::before,
.section-label-light::after {
    background: var(--gold-bright);
    opacity: .4;
}

/* ── Hero ── */
.hero-section {
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn .8s ease-in;
}

.hero-section h1 {
    text-shadow: 0 2px 24px rgba(0,0,0,.6);
    line-height: 1.15;
}

/* ── Navbar ── */
.navbar {
    background: rgba(13,11,0,.97) !important;
    border-bottom: 1px solid rgba(201,162,39,.18);
    box-shadow: 0 2px 24px rgba(0,0,0,.5);
    backdrop-filter: blur(10px);
    padding: .85rem 0;
}
.navbar-brand {
    font-family: 'Cinzel', serif;
    color: var(--gold-bright) !important;
    letter-spacing: .08em;
    font-size: 1.05rem !important;
    transition: opacity .2s;
}
.navbar-brand:hover { opacity: .85; }

/* Desktop: nav links com underline dourado animado */
.nav-link {
    font-family: 'Inter', sans-serif;
    font-size: .78rem !important;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(245,230,192,.7) !important;
    padding: .4rem .6rem !important;
    position: relative;
    transition: color .25s;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 1px;
    background: var(--gold);
    transition: width .3s ease;
}
.nav-link:hover { color: var(--gold-bright) !important; }
.nav-link:hover::after { width: 60%; }

/* ── Mobile Menu — dropdown limpo ── */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(13,11,0,.98);
        border-top: 1px solid rgba(201,162,39,.15);
        padding: 1rem 0 1.5rem;
        margin-top: .5rem;
    }
    #navbarNav { text-align: center; }
    #navbarNav .navbar-nav { gap: 0; width: 100%; }
    #navbarNav .nav-item { border-bottom: 1px solid rgba(201,162,39,.08); width: 100%; }
    #navbarNav .nav-link {
        font-family: 'Cinzel', serif !important;
        font-size: .82rem !important;
        letter-spacing: .14em !important;
        color: rgba(245,230,192,.8) !important;
        padding: .9rem 1rem !important;
        text-align: center !important;
        width: 100%;
        display: block !important;
    }
    #navbarNav .nav-link::after { display: none !important; }
    #navbarNav .nav-link:hover { color: var(--gold-bright) !important; background: rgba(201,162,39,.05); }
    #navbarNav .nav-item.ms-lg-2 { border: none; padding: 1rem 1.5rem 0; }
    #navbarNav .nav-item.ms-lg-2 .btn { width: 100%; padding: .75rem; font-size: .82rem; }
}

/* ── Botões ── */
.btn-warning {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    border: none;
    color: var(--black) !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: 0 4px 16px rgba(201,162,39,.3);
    transition: all .3s ease;
}
.btn-warning:hover {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,162,39,.45);
    color: var(--black) !important;
}
.btn-outline-light {
    border-color: rgba(255,255,255,.4);
    color: #fff !important;
    font-family: 'Inter', sans-serif;
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: all .3s;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.7);
}
.btn-dark {
    background: var(--black);
    border: 1px solid rgba(201,162,39,.3);
    color: var(--gold-light) !important;
    font-family: 'Inter', sans-serif;
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: all .3s;
}
.btn-dark:hover {
    background: var(--black-card);
    border-color: var(--gold);
    color: var(--gold-bright) !important;
}

/* ── Stats ── */
.stats-section {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
}
.stats-number {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1;
    margin-bottom: .25rem;
}
.stats-label {
    font-family: 'Inter', sans-serif;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(13,11,0,.65);
}
.stats-divider {
    width: 1px;
    background: rgba(13,11,0,.15);
    align-self: stretch;
}

/* ── Cards ── */
.card {
    border: 1px solid rgba(201,162,39,.15) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    border-radius: 12px !important;
    transition: transform .3s, box-shadow .3s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(201,162,39,.18);
}

/* ── Galeria ── */
.gallery-item {
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    transition: transform .35s;
}
.gallery-item:hover { transform: scale(1.03); }

/* ── Formulário ── */
.form-control,
.form-select {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(201,162,39,.3);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--gold-light);
    font-family: 'Inter', sans-serif;
    transition: border-color .3s, box-shadow .3s;
}
.form-control::placeholder { color: rgba(245,230,192,.35); }
.form-control:focus,
.form-select:focus {
    background: rgba(255,255,255,.1);
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,162,39,.15);
    color: var(--gold-light);
}
.form-label { color: rgba(245,230,192,.85); font-size: .85rem; font-weight: 500; letter-spacing: .03em; }
.form-select option { background: #1a1200; color: var(--gold-light); }
.form-check-label { color: rgba(245,230,192,.75); font-size: .85rem; }
.form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }

/* ── Alertas ── */
.alert-success { background: rgba(25,135,84,.15); border: 1px solid rgba(25,135,84,.3); color: #a3ffce; border-radius: 8px; }
.alert-danger  { background: rgba(220,53,69,.15);  border: 1px solid rgba(220,53,69,.3);  color: #ffb3b8; border-radius: 8px; }

/* ── Footer ── */
footer a { transition: color .3s; }
footer a:hover { color: var(--gold-bright) !important; }

/* ── Animações ── */
@keyframes fadeIn   { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-24px) }
    to   { opacity: 1; transform: translateY(0) }
}
.fade-in { animation: fadeIn .6s ease-in; }

/* ── Responsivo — Tablet ── */
@media (max-width: 768px) {
    .hero-section { min-height: auto; }
    h1.display-3   { font-size: 2rem; }
    .stats-number  { font-size: 2.2rem; }
}

/* ── Responsivo — Mobile ── */
@media (max-width: 575px) {

    /* Hero */
    .hero-section { padding: 2.5rem 0 2rem; min-height: auto; }
    .hero-logo    { height: 100px !important; width: 100px !important; }
    h1.display-3  { font-size: 1.6rem !important; letter-spacing: .02em; line-height: 1.2; }
    .hero-tagline { font-size: .9rem !important; }
    .hero-lead    { font-size: .85rem !important; line-height: 1.6; }
    .hero-btns .btn { width: 100%; font-size: .8rem; padding: .65rem 1rem; }

    /* Stats — 2x2 grid, sem dividers */
    .stats-divider { display: none !important; }
    .stats-item    { border-bottom: 1px solid rgba(13,11,0,.12); }
    .stats-item:nth-child(odd)  { border-right: 1px solid rgba(13,11,0,.12); }
    .stats-number  { font-size: 2rem; }
    .stats-label   { font-size: .65rem; }

    /* Calendário — cards full-width, layout horizontal */
    #proximos .col-cal { flex: 0 0 100%; max-width: 100%; }
    #proximos .card    { border-radius: 10px !important; }
    .cal-body {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        padding: .7rem 1rem !important;
        gap: .75rem;
    }
    .cal-icon  { flex-shrink: 0; font-size: 1.1rem; width: 28px; text-align: center; }
    .cal-day   { min-width: 85px; margin-bottom: 0 !important; font-size: .72rem !important; }
    .cal-locais { flex: 1; margin-bottom: 0 !important; }
    .cal-locais li {
        display: inline !important;
        margin-bottom: 0 !important;
        font-size: .78rem !important;
    }
    .cal-locais li i { display: none !important; }
    .cal-locais li:not(:last-child)::after { content: ' · '; opacity: .4; }
    .cal-hoje  { font-size: .6rem !important; margin-bottom: .1rem !important; padding: .15em .5em !important; }
}
