/* =========================================================
    PALETA DE CORES E ESTILO GLOBAL
========================================================= */
:root {
    --cor-header-fundo: #1E3170;
    --cor-header-texto-icones: #C2A146;
    --cor-primaria-1: #1D1B20;
    --cor-primaria-4: #FFFFFF;
    --cor-secundaria-2: #F7F7F7;
    --cor-menu-fundo: #1D1B20;
    --cor-menu-ativo: #FFFFFF;
    --cor-menu-inativo: #AAAAAA;
    --cor-botao-primario-fundo: #EC693D;
    --cor-primaria-2: #D16541;
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 12px 32px rgba(0, 0, 0, 0.12);
    --radius-card: 16px;
    --radius-lg: 1.25rem;
}

/* =========================================================
    FONTES E BASE GERAL
========================================================= */
html {
    scroll-behavior: smooth;
}
body {
    min-height: 100vh;
    background-color: #1a2332;
    background-image: url('../images/fundo.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0));
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: var(--cor-primaria-1);
    -webkit-font-smoothing: antialiased;
}
*:focus-visible {
    outline: 2px solid var(--cor-botao-primario-fundo);
    outline-offset: 2px;
}


.text-muted{
    align-items: center;
    justify-content: center;
     background-color: #f5f5f5;
}
.text-center.text-muted.mt-4{
    align-items: center;
    justify-content: center;
     background-color: #f5f5f5;
}

.main-content {
    padding: 72px 0 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.main-content .container-fluid {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}
.main-content--details {
    padding-top: 0;
}
@media (min-width: 768px) {
    .main-content { padding-top: 76px; }
    .main-content .container-fluid { padding-left: 1rem; padding-right: 1rem; }
}

.index-extra {
    max-width: 500px;
    margin: 0 auto;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.index-extra-text { color: #444; font-size: 0.95rem; }

/* CTA da página inicial moderno */
.index-extra-modern {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 1.25rem;
    margin: 0 1rem 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.index-cta-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cor-header-fundo), var(--cor-botao-primario-fundo));
    color: #fff;
    font-size: 1.75rem;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(30, 49, 112, 0.35);
}

/* Card único no topo: título + texto + botões */
.index-top-card {
    margin-top: 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}
@media (min-width: 768px) {
    .index-top-card { margin-top: 1.5rem; }
}
.index-top-card-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cor-primaria-1);
    line-height: 1.3;
}
.index-top-card-text {
    font-size: 0.95rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
    color: #5a5a5a !important;
}
.btn-index-cta {
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-index-cta:hover {
    transform: translateY(-1px);
}
.btn-index-cta.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(236, 105, 61, 0.4);
}
@media (min-width: 768px) {
    .index-top-card-title { font-size: 1.6rem; }
    .index-top-card-text { font-size: 1rem; }
}

/* Sobre o ColatinaMais (rodapé da index) */
.index-about {
    padding-bottom: calc(80px + env(safe-area-inset-bottom, 0));
}

.index-about-card {
    max-width: 520px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 1.25rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
}
.index-about-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cor-header-fundo), var(--cor-botao-primario-fundo));
    color: #fff;
    font-size: 1.5rem;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(30, 49, 112, 0.3);
}
.index-about-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cor-primaria-1);
    margin: 0 0 0.75rem 0;
}
.index-about-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 0.75rem 0;
}
.index-about-sep {
    width: 60px;
    height: 4px;
    margin: 0 auto 2rem;
    background: linear-gradient(90deg, var(--cor-header-fundo), var(--cor-botao-primario-fundo));
    border-radius: 2px;
}
.index-about-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}
.index-about-btn {
    font-weight: 600;
}
.index-about-footer {
    font-size: 0.8rem;
    color: #888;
    line-height: 1.4;
}
@media (min-width: 768px) {
    .index-about-card { padding: 2.25rem 2rem; }
    .index-about-title { font-size: 1.35rem; }
}

.list-extra, .favorites-extra { max-width: 400px; margin: 0 auto; }

/* =========================================================
    CABEÇALHO (HEADER)
========================================================= */
.top-header {
    min-height: 56px;
    height: auto;
    z-index: 1030;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
    background-color: var(--cor-header-fundo);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: env(safe-area-inset-top, 0);
}
.logo-link {
    color: inherit;
}
.logo-link:hover .logo,
.logo-link:focus .logo { opacity: 0.95; }
.logo-link:hover .logo-img,
.logo-link:focus .logo-img { opacity: 0.95; }
.top-header .logo {
    font-family: 'Damion', cursive;
    font-size: 28px;
    color: var(--cor-header-texto-icones);
    transition: opacity 0.2s ease;
}
.top-header .logo span {
    color: var(--cor-header-texto-icones);
}
.top-header .logo-img {
    height: 40px;
    width: auto;
    transition: opacity 0.2s ease;
    object-fit: contain;
}
.top-header a:not(.logo-link) {
    color: var(--cor-header-texto-icones) !important;
    text-decoration: none;
}
.top-header .btn-link:hover { opacity: 0.85; }
.header-icon, .admin-login-icon {
    font-size: 1.5rem;
    color: var(--cor-header-texto-icones);
}
@media (min-width: 768px) {
    .top-header .logo { font-size: 32px; }
}
.header-page-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cor-header-texto-icones);
}
@media (min-width: 768px) {
    .header-page-title { font-size: 1.25rem; }
}

/* =========================================================
    MENU DE OPÇÕES (HEADER)
   ========================================================= */

.options-menu-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0.5rem;    
}

.options-menu-container .header-icon {
    font-size: 1.6rem;
    color: var(--cor-header-texto-icones);
    text-decoration: none;
}

.options-menu {
    position: absolute;
    top: 45px;    
    right: 0;
    width: 200px;
    background-color: var(--cor-primaria-4);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 1px solid #eee;
    z-index: 1050;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.options-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.options-menu-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--cor-primaria-1) !important;    
    font-weight: 500;
    font-size: 0.95rem;
}

.options-menu-item i {
    font-size: 1.1rem;
    margin-right: 12px;
    width: 20px;    
    text-align: center;
    color: var(--cor-primaria-1);    
}

.options-menu-item:hover,
.options-menu-item:focus {
    background-color: #f5f5f5;
    outline: none;
}

.options-menu-item.text-danger,
.options-menu-item.text-danger i {
    color: #dc3545 !important;    
}
.options-menu-item.text-danger:hover {
    background-color: #fdf2f3;
}

/* =========================================================
    TÍTULOS
========================================================= */
h1, .h1 { font-family: 'Roboto', sans-serif; font-size: 24px; font-weight: 500; }
h2, .h2 { font-family: 'Roboto', sans-serif; font-size: 18px; font-weight: 500; }
h3, .h3 { font-size: 18px; }
h6, .h6 { font-size: 12px; }

.scroll-card .card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;    
    width: 100%;        
}

.favorite-card-info h6 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================================================
    BANNER PRINCIPAL (PÁGINA INICIAL)
========================================================= */
/* Hero moderno – altura fixa em toda a cadeia para o carrossel não distorcer */
.hero-section-modern {
    position: relative;
    height: clamp(240px, 45vh, 400px);
    padding-bottom: 0;
    min-height: 240px;
    background: linear-gradient(135deg, #1a2332 0%, #1E3170 100%);
    overflow: hidden;
}
.hero-section-modern--index {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.hero-section-modern .carousel,
.hero-section-modern .carousel-inner,
.hero-section-modern .carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
.hero-section-modern .carousel-inner { position: absolute; }
.hero-section-modern .carousel-item {
    border: none;
    max-width: 1280px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}
.hero-overlay-modern {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}
.hero-section-modern .carousel-indicators,
.hero-section-modern .carousel-control-prev,
.hero-section-modern .carousel-control-next,
.hero-section-modern .carousel-caption { z-index: 2; }
.hero-section-modern h2,
.hero-section-modern p {
    color: var(--cor-primaria-4);
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.carousel-caption-modern {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    text-align: left;
    max-width: 90%;
}
.carousel-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.75rem;
    background: rgba(236, 105, 61, 0.95);
    color: #fff;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(236, 105, 61, 0.4);
}
/* Títulos do carrossel - responsivo */
.carousel-caption-title {
    font-size: clamp(1rem, 4vw, 1.75rem);
    line-height: 1.2;
}
/* Textos do carrossel - responsivo */
.carousel-caption-text {
    font-size: clamp(0.75rem, 2vw, 1rem);
}
.hero-section-modern .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    opacity: 1;
}
.hero-section-modern .carousel-indicators .active {
    background-color: var(--cor-botao-primario-fundo);
    transform: scale(1.2);
}
@media (min-width: 768px) {
    .hero-section-modern { height: clamp(300px, 50vh, 500px); min-height: 300px; }
    .carousel-caption-modern { bottom: 2.5rem; left: 2rem; max-width: 85%; }
}
/* No tablet: carrossel maior */
@media (min-width: 992px) {
    .hero-section-modern { height: clamp(350px, 55vh, 550px); min-height: 350px; }
    .carousel-caption-modern { bottom: 3rem; left: 3rem; max-width: 80%; }
}
/* No computador: carrossel bem maior e impactante */
@media (min-width: 1200px) {
    .hero-section-modern { height: clamp(400px, 60vh, 600px); min-height: 400px; }
    .carousel-caption-modern { bottom: 3.5rem; left: 3.5rem; max-width: 75%; }
}
.hero-section .hero-overlay { z-index: 1; }
/* Legado */
.hero-section {
    position: relative;
    height: 35vh;
    min-height: 220px;
    background-color: #eee;
    border-radius: 15px;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}
.hero-section h2, .hero-section p {
    color: var(--cor-primaria-4);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}
.hero-section h2 { font-size: 24px; font-family: 'Roboto', sans-serif; font-weight: 500; }
.hero-section p { font-size: 16px; }

/* Títulos de seção modernos */
.section-title-modern {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cor-primaria-1);
    padding-bottom: 0.45rem;
    border-bottom: 3px solid var(--cor-botao-primario-fundo);
    display: inline-block;
    line-height: 1.3;
}
.section-title-icon {
    color: var(--cor-botao-primario-fundo);
    font-size: 1.05em;
    vertical-align: -0.05em;
}
.section-head {
    flex-wrap: wrap;
    gap: 0.5rem;
}
.section-ver-mais {
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.2s ease, color 0.2s ease;
}
.section-ver-mais:hover {
    transform: translateX(2px);
}
@media (min-width: 768px) {
    .section-title-modern { font-size: 1.4rem; }
}
/* Seções da index: fundo alternado para ritmo visual */
.section-categoria--index {
    margin-left: 0.25rem;
    margin-right: 0.25rem;
    border-radius: var(--radius-lg);
}
.section-categoria--index:nth-child(odd) {
    background: rgba(255, 255, 255, 0.06);
}
.section-categoria--index:nth-child(even) {
    background: transparent;
}
@media (min-width: 768px) {
    .section-categoria--index { margin-left: 0.5rem; margin-right: 0.5rem; }
}

/* =========================================================
    LISTAS HORIZONTAIS (CARDS)
========================================================= */
.horizontal-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    padding: 12px 0 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    gap: 0;
    -webkit-overflow-scrolling: touch;
}
.horizontal-scroll-wrapper::-webkit-scrollbar { display: none; }

.scroll-card {
    flex: 0 0 280px;
    margin-right: 16px;
    border-radius: var(--radius-card);
    background-color: var(--cor-primaria-4);
    overflow: hidden;
    text-decoration: none;
    color: var(--cor-primaria-1);
    scroll-snap-align: start;
    box-shadow: var(--shadow-card);
}
.scroll-card:last-child {
    margin-right: 0.75rem;
}
.scroll-card .card-body {
    padding: 1rem 1rem 1.1rem;
    min-height: 56px;
    overflow: hidden;
}
.scroll-card .card-title {
    font-size: 1rem;
    font-weight: 600;
}
.scroll-card.card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.scroll-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover) !important;
}
.card-img-modern {
    height: 168px;
    background: #eee;
}
.card-img-modern .card-img-top {
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.scroll-card:hover .card-img-modern .card-img-top {
    transform: scale(1.06);
}

/* Badge de status (Aberto/Fechado) nos cards */
.card-status-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    line-height: 1.3;
    text-align: center;
    min-width: 70px;
}

.card-status-badge small {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    margin-top: 2px;
    opacity: 0.95;
}

.status-aberto {
    background-color: rgba(40, 167, 69, 0.95);
    color: #fff;
}

.status-fechado {
    background-color: rgba(220, 53, 69, 0.95);
    color: #fff;
}

/* =========================================================
    DETALHES — layout moderno e reorganizado
========================================================= */
.details-page {
    min-height: 100vh;
    background-color: #1a2332;
    background-image: url('../images/fundo.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.details-page .details-main {
    padding-top: 0;
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0));
    min-height: 100vh;
}
.details-page .main-content { max-width: 100%; }

/* Hero compacto */
.details-hero {
    position: relative;
    width: calc(100% - 2rem);
    max-width: 560px;
    height: 0;
    padding-bottom: 28%;
    min-height: 150px;
    margin: 56px auto 0;
    overflow: hidden;
    background: var(--cor-header-fundo);
    border-radius: 16px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.details-hero-bg {
    position: absolute;
    inset: 0;
    border-radius: 13px;
}
.details-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.details-hero-shade {
    position: absolute;
    inset: 0;
    border-radius: 13px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 50%, transparent 65%);
    pointer-events: none;
}
.details-hero-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.9rem 1rem 1rem;
    z-index: 2;
}
.details-hero-name {
    font-family: 'Roboto', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem 0;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.details-hero-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.6rem;
    background: var(--cor-botao-primario-fundo);
    color: #fff;
    border-radius: 999px;
}
@media (min-width: 768px) {
    .details-hero { width: calc(100% - 3rem); margin-top: 60px; padding-bottom: 22%; min-height: 180px; }
    .details-hero-name { font-size: 1.6rem; }
    .details-hero-info { padding: 1rem 1.5rem 1.25rem; }
}

/* Container do conteúdo */
.details-wrap {
    max-width: 560px;
    margin: -16px auto 0;
    padding: 0 1rem 1.5rem;
    position: relative;
    z-index: 5;
}
@media (min-width: 768px) {
    .details-wrap { margin-top: -20px; padding-left: 1.5rem; padding-right: 1.5rem; }
}

/* Barra: avaliação + categoria + favorito */
.details-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 0.75rem;
}
.details-bar-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.details-stars {
    display: inline-flex;
    gap: 2px;
    font-size: 0.95rem;
}
.details-stars .bi-star-fill,
.details-stars .bi-star-half { color: #f9a825; }
.details-stars .bi-star.details-star-empty,
.details-stars--empty .bi-star { color: #e0e0e0; }
.details-rating-num {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
}
.details-rating-num--muted { color: #999; font-weight: 500; }
.details-bar-cat {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    text-transform: capitalize;
}
.details-fav {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff3ef;
    color: var(--cor-botao-primario-fundo);
    font-size: 1.2rem;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    border: 1px solid rgba(236, 105, 61, 0.2);
}
.details-fav:hover {
    background: #ffe8e0;
    color: var(--cor-botao-primario-fundo);
    transform: scale(1.05);
}
.details-fav .bi-heart-fill { color: var(--cor-botao-primario-fundo); }

/* Ações principais (destaque) */
/* Blocos de conteúdo (Sobre, Onde fica, Contato, Compartilhar) */
.details-about,
.details-where,
.details-contact,
.details-share,
.details-guiatur {
    background: #fff;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.details-block-title,
.details-about-title {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.details-block-title i,
.details-about-title i { color: var(--cor-botao-primario-fundo); opacity: 0.9; }
.details-about-text {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.65;
    margin: 0;
}

/* Header da seção Sobre com botão IA */
.details-about-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.6rem 0;
}
.details-about-header .details-about-title {
    margin: 0;
}

/* Botão de Resumo com IA */
.details-ai-summary-btn {
    flex-shrink: 0;
    padding: 0.4rem 0.7rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}
.details-ai-summary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}
.details-ai-summary-btn:active {
    transform: translateY(0);
}
.details-ai-summary-btn i {
    font-size: 0.9rem;
}

/* Container do resumo */
.details-summary-container {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.details-summary-box {
    position: relative;
    padding-right: 2rem;
}

.details-summary-text {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.6;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.details-summary-close {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.25rem 0.5rem;
    transition: color 0.2s ease;
}
.details-summary-close:hover {
    color: #d32f2f;
}

.details-where-address {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    margin: 0 0 0.5rem 0;
}
.details-where-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2e7d32;
    text-decoration: none;
    margin-top: 0.25rem;
    transition: color 0.2s ease;
}
.details-where-btn:hover { color: #1b5e20; }
.details-contact-btns,
.details-share-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.details-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 999px;
    background: #f0f0f0;
    color: #333;
    border: 1px solid #e8e8e8;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
    font-family: inherit;
}
.details-chip:hover { background: #e8e8e8; color: #333; }
.details-chip--green { background: #e8f5e9; color: #2e7d32; border-color: #c8e6c9; }
.details-chip--green:hover { background: #c8e6c9; color: #1b5e20; }
.details-share-hint {
    font-size: 0.8rem;
    color: #777;
    margin: 0.75rem 0 0 0;
}
.details-share-hint a { color: var(--cor-botao-primario-fundo); font-weight: 600; }

/* Horário de Funcionamento */
.details-hours {
    background: #fff;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.details-hours-text {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.65;
    margin: 0;
    white-space: pre-line;
}

.details-hours-list {
    margin-top: 0.75rem;
}

.details-hours-item {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.details-hours-item:last-child {
    border-bottom: none;
}

.details-hours-day {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
    min-width: 120px;
    flex-shrink: 0;
}

.details-hours-times {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.details-hours-time {
    color: #666;
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.details-hours-text-plain {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.65;
    white-space: pre-line;
}

@media (max-width: 576px) {
    .details-hours-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .details-hours-day {
        min-width: auto;
    }
}

/* GUIATUR - Integração */
.details-guiatur {
    background: linear-gradient(135deg, #1E3170 0%, #2a4290 100%);
    border: 2px solid rgba(194, 161, 70, 0.3);
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
}

.details-guiatur::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(194, 161, 70, 0.1) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.details-guiatur-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.details-guiatur-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
}

.guia-tur-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.details-guiatur-info {
    flex: 1;
}

.details-guiatur-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.25rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.details-guiatur-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
}

.details-guiatur-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1E3170;
    background: var(--cor-header-texto-icones);
    border: none;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(194, 161, 70, 0.3);
    position: relative;
    z-index: 1;
}

.details-guiatur-btn:hover {
    background: #d4b558;
    color: #1E3170;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(194, 161, 70, 0.4);
}

.details-guiatur-btn:active {
    transform: translateY(0);
}

.details-guiatur-message {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    font-style: italic;
}

.details-guiatur-message i {
    font-size: 1rem;
    opacity: 0.7;
}

/* Avaliações e Comentários */
.details-reviews {
    background: #fff;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.reviews-stats {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.reviews-stats-avg {
    text-align: center;
}

.reviews-stats-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
}

.reviews-stats-stars {
    font-size: 1.3rem;
    color: #ffc107;
    margin: 0.3rem 0;
}

.reviews-stats-stars i {
    margin: 0 0.15rem;
}

.reviews-stats-count {
    font-size: 0.85rem;
    color: #999;
}

/* Formulário de avaliação */
.reviews-form {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid #eee;
}

.reviews-form-group {
    margin-bottom: 0.8rem;
}

.reviews-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4rem;
}

.reviews-form-input,
.reviews-form-textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.reviews-form-input:focus,
.reviews-form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.reviews-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.reviews-form-hint {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.3rem;
}

/* Seletor de estrelas */
.reviews-form-rating {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.reviews-star {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
}

.reviews-star:hover,
.reviews-star.active {
    color: #ffc107;
    transform: scale(1.15);
}

.reviews-star i {
    display: block;
}

/* Botão submit */
.reviews-form-btn {
    width: 100%;
    padding: 0.7rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.reviews-form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.reviews-form-btn:active {
    transform: translateY(0);
}

.reviews-form-info {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 8px;
    padding: 0.7rem;
    color: #1976d2;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-form-edit-mode {
    background: #fff3e0;
    border: 1px solid #ffe0b2;
    border-radius: 8px;
    padding: 0.7rem;
    color: #e65100;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: space-between;
}

.reviews-form-clear-btn {
    background: none;
    border: none;
    color: #e65100;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: opacity 0.2s ease;
}

.reviews-form-clear-btn:hover {
    opacity: 0.7;
}

/* Lista de comentários */
.reviews-list {
    margin-top: 1.5rem;
}

.reviews-loading {
    text-align: center;
    padding: 1rem;
    color: #999;
    font-size: 0.9rem;
}

.reviews-empty {
    text-align: center;
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 8px;
    color: #999;
    font-size: 0.9rem;
}

/* Items de comentário */
.reviews-item {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 0.85rem;
    margin-bottom: 0.75rem;
}

.reviews-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.reviews-item-author {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.reviews-item-rating {
    font-size: 1rem;
    color: #ffc107;
    white-space: nowrap;
}

.reviews-item-rating i {
    margin: 0 0.1rem;
}

.reviews-item-date {
    font-size: 0.75rem;
    color: #bbb;
    margin-bottom: 0.4rem;
}

.reviews-item-text {
    font-size: 0.9rem;
    color: #4a4a4a;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.reviews-item-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.reviews-item-btn {
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f5f5f5;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.reviews-item-btn:hover {
    background: #eee;
    border-color: #999;
}

.reviews-item-edit {
    border-color: #2196f3;
    color: #2196f3;
}

.reviews-item-edit:hover {
    background: #e3f2fd;
}

.reviews-item-delete {
    border-color: #f44336;
    color: #f44336;
}

.reviews-item-delete:hover {
    background: #ffebee;
}

@media (min-width: 768px) {
    .details-reviews {
        padding: 1.5rem;
    }
    
    .reviews-form {
        padding: 1.2rem;
    }
    
    .reviews-form-group {
        margin-bottom: 1.2rem;
    }
}

/* Navegação */
.details-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 0 0.5rem;
}
.details-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.details-nav-link:hover { background: #f5f5f5; color: #333; }

/* Outras atrações — mais destaque e mais itens visíveis */
.details-others {
    width: 100%;
    max-width: 560px;
    margin: 0 auto 2rem;
    padding: 1.5rem 1rem 1.75rem;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.details-others-head {
    margin-bottom: 1.25rem;
    text-align: center;
}
.details-others-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cor-primaria-1);
    margin: 0 0 0.25rem 0;
}
.details-others-sub {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
}
.details-others-scroll {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 0.5rem 0 1.25rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.details-others-scroll::-webkit-scrollbar { display: none; }
.details-others-card {
    flex: 0 0 160px;
    scroll-snap-align: start;
    text-decoration: none;
    color: var(--cor-primaria-1);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.details-others-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    color: var(--cor-primaria-1);
}
.details-others-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #eee;
}
.details-others-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}
.details-others-card:hover .details-others-card-img img {
    transform: scale(1.06);
}
.details-others-card-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.6rem 0.5rem 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}
.details-others-foot {
    text-align: center;
    padding-top: 1rem;
}
.details-others-foot .btn { font-weight: 600; }
@media (min-width: 768px) {
    .details-others { padding: 2rem 1.5rem; margin-bottom: 2.5rem; }
    .details-others-title { font-size: 1.5rem; }
    .details-others-card { flex: 0 0 200px; }
}

/* Estado vazio */
.details-empty {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}
.details-empty-box {
    text-align: center;
    max-width: 340px;
    background: #fff;
    border-radius: 20px;
    padding: 2rem 1.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}
.details-empty-box i {
    font-size: 2.75rem;
    color: #bdbdbd;
    margin-bottom: 1rem;
}
.details-empty-box h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cor-primaria-1);
    margin-bottom: 0.5rem;
}
.details-empty-box p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.25rem;
}

/* Legado (compatibilidade) */
.details-image-container { position: relative; width: 100%; height: 300px; margin: 60px 0 0 0; }
.details-image { width: 100%; height: 100%; object-fit: cover; display: block; }
.details-image-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0)); }
.details-body { background: var(--cor-primaria-4); padding: 20px; margin: -30px 15px 30px 15px; border-radius: 15px; position: relative; box-shadow: 0 4px 15px rgba(0,0,0,0.1); border: 1px solid #ddd; z-index: 10; }
.details-extra { border-color: #eee !important; }
.details-more-card { transition: background-color 0.2s, box-shadow 0.2s; }
.details-more-card:hover { background-color: #f8f9fa; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.details-more-card-img { width: 48px; height: 48px; object-fit: cover; flex-shrink: 0; }
.details-more-card-nome { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.details-footer-links a { color: var(--cor-header-fundo); }

/* =========================================================
    CATEGORIAS (TELA LIST.PHP — REFEITA)
========================================================= */
.list-page .list-main {
    padding-top: 72px;
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0));
}
.list-wrap {
    max-width: 560px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2rem;
}
.list-header {
    text-align: center;
    margin-bottom: 1.75rem;
}
.list-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cor-primaria-1);
    margin: 0 0 0.35rem 0;
}
.list-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}
.category-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.category-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    text-decoration: none;
    color: var(--cor-primaria-1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-card:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    color: var(--cor-primaria-1);
}
.category-card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cor-header-fundo), var(--cor-botao-primario-fundo));
    color: #fff;
    font-size: 1.5rem;
    border-radius: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(30, 49, 112, 0.3);
}
.category-card-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.category-card-label {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cor-primaria-1);
    margin: 0;
}
.category-card-desc {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}
.category-card-arrow {
    font-size: 1.25rem;
    color: #bbb;
    flex-shrink: 0;
    transition: color 0.2s ease, transform 0.2s ease;
}
.category-card:hover .category-card-arrow {
    color: var(--cor-botao-primario-fundo);
    transform: translateX(2px);
}

.list-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.list-footer-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1rem 0;
    line-height: 1.5;
}
.list-footer-hint strong { color: #fff; }
.list-footer-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.list-footer-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

/* =========================================================
    CATEGORIA (TELA CATEGORY.PHP — LISTA DE ITENS)
========================================================= */
.category-page .category-main {
    padding-top: 72px;
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0));
}
.category-wrap {
    max-width: 560px;
    margin: 0 auto;
    padding: 1.5rem 1rem 2rem;
}
.category-header {
    text-align: center;
    margin-bottom: 1.75rem;
}
.category-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cor-primaria-1);
    margin: 0 0 0.35rem 0;
}
.category-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.category-item-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    text-decoration: none;
    color: var(--cor-primaria-1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-item-card:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    color: var(--cor-primaria-1);
}
.category-item-img {
    width: 88px;
    min-width: 88px;
    height: 88px;
    overflow: hidden;
    background: #eee;
    flex-shrink: 0;
}
.category-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}
.category-item-card:hover .category-item-img img {
    transform: scale(1.05);
}
.category-item-text {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0;
}
.category-item-name {
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--cor-primaria-1);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.category-item-arrow {
    font-size: 1.25rem;
    color: #bbb;
    flex-shrink: 0;
    padding-right: 1rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.category-item-card:hover .category-item-arrow {
    color: var(--cor-botao-primario-fundo);
    transform: translateX(2px);
}

.category-empty {
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-empty-card {
    max-width: 360px;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
}
.category-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    color: #999;
    font-size: 2rem;
    border-radius: 50%;
}
.category-empty-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--cor-primaria-1);
    margin: 0 0 0.5rem 0;
}
.category-empty-msg {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin: 0 0 1.25rem 0;
}
.category-empty-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    background: var(--cor-botao-primario-fundo);
    color: #fff;
    border: none;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-empty-btn:hover {
    color: #fff;
    background: var(--cor-primaria-2);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(236, 105, 61, 0.35);
}

.category-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}
.category-footer-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.category-footer-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

/* Legado: grid antigo (category-menu-item) para compatibilidade */
.category-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 120px;
    padding: 20px 10px;
    border-radius: 1rem;
    text-decoration: none;
    color: var(--cor-primaria-4) !important;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.category-menu-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* =========================================================
    FAVORITOS (lista antiga – usado noutras páginas se necessário)
========================================================= */
.favorite-card {
    display: flex;
    align-items: center;
    background-color: var(--cor-primaria-4);
    border-radius: 50px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 10px 14px;
    text-decoration: none;
    color: var(--cor-primaria-1);
    margin-bottom: 12px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.favorite-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateX(2px);
}
.favorite-card .bi-chevron-right {
    flex-shrink: 0;
    margin-left: 0.5rem;
    font-size: 1.25rem;
}
.favorite-card img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 15px;
}
.favorite-card-info {
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
}
.favorite-card-info .badge {
    font-size: 0.7rem;
    padding: 0.3em 0.5em;
    background-color: var(--cor-primaria-2) !important;
    color: var(--cor-primaria-4) !important;
}

/* =========================================================
    PÁGINA FAVORITOS (refeita)
========================================================= */
.favorites-page .main-content {
    padding-top: 72px;
}
.favorites-wrap {
    max-width: 600px;
    margin: 0 auto;
}
.favorites-header {
    background: rgba(255, 255, 255, 0.95);
    margin: 0 0.75rem;
    border-radius: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.favorites-header-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e84a6f 0%, var(--cor-botao-primario-fundo) 100%);
    color: #fff;
    font-size: 1.75rem;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(232, 74, 111, 0.35);
}
.favorites-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cor-primaria-1);
    margin-bottom: 0.25rem;
}
.favorites-subtitle {
    font-size: 0.9rem;
}
.favorites-list-inner {
    margin-top: 0.5rem;
}
.favorites-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.favorites-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}
.favorites-item-img-wrap {
    height: 88px;
    overflow: hidden;
    background: #eee;
}
.favorites-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.favorites-item:hover .favorites-item-img {
    transform: scale(1.05);
}
.favorites-item-info {
    overflow: hidden;
}
.favorites-item-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.favorites-item-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 0.2em 0.5em;
    background: var(--cor-botao-primario-fundo);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-transform: capitalize;
}
.favorites-cta {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 1rem;
    margin-top: 0.5rem;
}
.favorites-empty-card {
    background: rgba(255, 255, 255, 0.98);
}
.favorites-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(236, 105, 61, 0.1);
    color: var(--cor-botao-primario-fundo);
    font-size: 2.5rem;
    border-radius: 50%;
}
@media (min-width: 768px) {
    .favorites-header-icon { width: 64px; height: 64px; font-size: 2rem; }
    .favorites-title { font-size: 1.75rem; }
    .favorites-item-img-wrap { height: 100px; }
}

/* =========================================================
    NAVEGAÇÃO INFERIOR (RODAPÉ)
========================================================= */
.bottom-nav {
    min-height: 64px;
    padding-bottom: env(safe-area-inset-bottom, 0);
    z-index: 1030;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    background-color: var(--cor-menu-fundo);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.bottom-nav-item {
    color: var(--cor-menu-inativo);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-grow: 1;
    text-align: center;
    padding: 0.5rem 0.25rem;
    transition: color 0.2s ease;
    border-radius: 8px;
    min-height: 56px;
}
.bottom-nav-item i {
    font-size: 1.35rem;
    margin-bottom: 2px;
    display: block;
}
.bottom-nav-item:hover {
    color: rgba(255, 255, 255, 0.9);
}
.bottom-nav-item.active {
    color: var(--cor-menu-ativo);
    font-weight: 700;
}
.bottom-nav-item.active i {
    color: var(--cor-header-texto-icones);
}

/* =========================================================
    BOTÕES PADRÕES
========================================================= */
.btn-primary {
    background-color: var(--cor-botao-primario-fundo) !important;
    border-color: var(--cor-botao-primario-fundo) !important;
}
.btn-primary:hover {
    background-color: var(--cor-primaria-2) !important;
    border-color: var(--cor-primaria-2) !important;
}

/* =========================================================
    ESTILOS DO CARROSSEL (HERO)
========================================================= */
.hero-section .hero-overlay { z-index: 1; }

/* Link do slide: ocupa 100% do item para o wrap ter referência */
.carousel-hero-link {
    position: absolute;
    inset: 0;
    display: block;
}
.carousel-hero-img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
/* Imagem preenche o wrap sem distorcer: sempre object-fit cover */
.carousel-hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Fallback quando não há itens no carrossel */
.carousel-fallback-image {
    position: absolute;
    inset: 0;
    background-image: url('../uploads/68f17d6ea9909-iraja-ii.jpg');
    background-size: cover;
    background-position: center center;
}
/* FIM DA CORREÇÃO */

.hero-section .carousel-caption,
.hero-section .carousel-indicators,
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    z-index: 2;
}
.hero-section .carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* =========================================================
    ESTILOS DO OVERLAY DE PESQUISA
   ========================================================= */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1040;
    display: none;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.search-overlay.active,
.search-overlay.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}
.search-overlay-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background-color: var(--cor-primaria-4);
    padding-top: 10px;    
}
.search-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #555;
    padding: 5px;
    margin-right: 10px;
}
.search-input-container {
    flex-grow: 1;
    position: relative;
}
.search-input-container .bi-search {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.1rem;
}
.search-input-container #search-input {
    width: 100%;
    height: 45px;
    border-radius: 50px;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    padding-left: 45px;
    padding-right: 15px;
    font-size: 1rem;
    font-weight: 500;
}
.search-input-container #search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 49, 112, 0.15);
    border-color: var(--cor-header-fundo);
}
.search-overlay-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 15px;
}
.search-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #999;
    padding: 20px;
    padding-top: 15vh;
}
.search-empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
}
.search-empty-state p {
    font-size: 1.1rem;
    font-weight: 500;
}
.search-result-item {
    display: flex;
    align-items: center;
    background-color: var(--cor-primaria-4);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 10px;
    text-decoration: none;
    color: var(--cor-primaria-1);
    margin-bottom: 10px;
    transition: transform 0.2s ease;
}
.search-result-item:active {
    transform: scale(0.98);
}
.search-result-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}
.search-result-info {
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
}
.search-result-title {
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.search-result-info .badge {
    font-size: 0.7rem;
    padding: 0.3em 0.5em;
    background-color: var(--cor-primaria-2) !important;
    color: var(--cor-primaria-4) !important;
    text-transform: capitalize;
}

/* =========================================================
    TEXTOS RESPONSIVOS (Media Queries)
========================================================= */

@media (min-width: 768px) {
    .main-content .h5 { font-size: 1.5rem; }
    .scroll-card .card-title { font-size: 1.125rem; }
    .hero-section .carousel-caption h2 { font-size: 2.25rem; }
    .hero-section .carousel-caption p { font-size: 1.15rem; }

    /* Centraliza o corpo principal do Detalhes (o cartão) */
    .details-body {
        margin: -30px auto 30px auto; 
        max-width: 700px; 
    }
    
    /* Centraliza o contentor da imagem sobre o cartão */
    .details-image-container {
        /* Garante que a imagem não ultrapasse o cartão */
        max-width: 700px;
        margin: 60px auto 0 auto; 
        left: 0;
        right: 0;
    }
}

@media (min-width: 992px) {
    .hero-section .carousel-caption h2 { font-size: 2.75rem; }
    .hero-section .carousel-caption p { font-size: 1.25rem; }
    .main-content .h5 { font-size: 1.75rem; }
}
/* =========================================================
   TELA DE CARREGAMENTO E ERRO
   ========================================================= */

/* LOADING — tela profissional */
#loader-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: linear-gradient(180deg, var(--cor-header-fundo) 0%, #162858 50%, #1a2d5c 100%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.loader-logo {
    font-family: 'Damion', cursive;
    font-size: 2.5rem;
    color: var(--cor-header-texto-icones);
    letter-spacing: 0.02em;
    animation: loader-pulse 1.8s ease-in-out infinite;
}
.loader-logo span { color: var(--cor-botao-primario-fundo); }
@keyframes loader-pulse { 0%, 100% { opacity: 0.9; transform: scale(1); } 50% { opacity: 1; transform: scale(1.02); } }
.loader-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}
.loader-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cor-header-texto-icones);
    opacity: 0.6;
    animation: loader-bounce 1.2s ease-in-out infinite both;
}
.loader-dots span:nth-child(1) { animation-delay: 0s; }
.loader-dots span:nth-child(2) { animation-delay: 0.15s; }
.loader-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes loader-bounce { 0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; } 40% { transform: scale(1.2); opacity: 1; } }
.loader-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    letter-spacing: 0.03em;
}
.spinner {
    width: 44px; height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--cor-header-texto-icones);
    animation: spin 0.85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-family: 'Damion', cursive; font-size: 1.85rem; color: var(--cor-header-texto-icones); }
.loading-text span { color: var(--cor-botao-primario-fundo); }
#loader-overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* OFFLINE / ERRO */
#offline-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(30, 49, 112, 0.96);
    backdrop-filter: blur(8px);
    z-index: 99998;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    text-align: center; color: #fff; padding: 24px;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
#offline-overlay.active { opacity: 1; visibility: visible; }
.offline-icon { font-size: 3.5rem; margin-bottom: 1rem; color: #EC693D; }
.offline-title { font-family: 'Roboto', sans-serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.offline-msg { font-size: 0.95rem; max-width: 320px; margin-bottom: 1.5rem; color: rgba(255,255,255,0.9); line-height: 1.5; }
.btn-retry {
    padding: 12px 28px; border-radius: 50px; background: #EC693D;
    color: #fff; border: none; font-weight: 600; cursor: pointer; text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-retry:hover { background: #d16541; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(236, 105, 61, 0.4); }

/* TELA DE ERRO (página travou no carregamento) — overlay profissional */
#error-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(26, 35, 50, 0.97);
    backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
#error-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }
#error-overlay .error-overlay-card {
    max-width: 360px;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
#error-overlay .error-overlay-icon {
    width: 56px; height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(236, 105, 61, 0.15);
    color: #EC693D;
    font-size: 2rem;
    border-radius: 50%;
}
#error-overlay .error-overlay-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--cor-primaria-1);
    margin-bottom: 0.5rem;
}
#error-overlay .error-overlay-msg {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}
#error-overlay .error-overlay-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
#error-overlay .btn-error {
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    font-size: 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#error-overlay .btn-error:hover { transform: translateY(-2px); }
#error-overlay .btn-error-primary {
    background: var(--cor-botao-primario-fundo);
    color: #fff;
    box-shadow: 0 4px 16px rgba(236, 105, 61, 0.3);
}
#error-overlay .btn-error-primary:hover { box-shadow: 0 6px 20px rgba(236, 105, 61, 0.4); }
#error-overlay .btn-error-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #e0e0e0;
}
#error-overlay .btn-error-secondary:hover { background: #e8e8e8; color: #333; }

/* Toastr: tema Colatina+ */
.toast-top-right { top: 70px; right: 12px; }
#search-overlay.offcanvas-top { background: rgba(255,255,255,0.98); backdrop-filter: blur(12px); }
.object-fit-cover { object-fit: cover; }

/* =========================================================
   PÁGINA DE LOGIN (login_app.php) — layout antigo melhorado
========================================================= */
body.login-page {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #1a2332;
}
.login-wrapper {
    min-height: 100vh;
    background-image: url('../../admin/assets/2.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: brightness(0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.25rem;
    box-sizing: border-box;
}
.login-main {
    padding: 2rem 1.25rem;
    max-width: 420px;
    margin: 0 auto;
}
.login-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 2rem;
}
.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cor-primaria-1);
    margin-bottom: 0.25rem;
}
.login-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}
.login-error {
    display: none;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: #f8d7da;
    color: #721c24;
    border-radius: 10px;
    font-size: 0.9rem;
}
.login-form { margin-bottom: 1.25rem; }
.login-field {
    margin-bottom: 1.25rem;
}
.login-field-password { position: relative; }
.login-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cor-primaria-1);
    margin-bottom: 0.4rem;
}
.login-input {
    width: 100%;
    padding: 12px 14px;
    padding-right: 48px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.login-field-password .login-input { padding-right: 48px; }
.login-input:focus {
    outline: none;
    border-color: var(--cor-header-fundo);
    box-shadow: 0 0 0 3px rgba(30, 49, 112, 0.12);
}
.login-password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #888;
    padding: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.login-password-toggle:hover { color: var(--cor-header-fundo); }
.login-submit {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: var(--cor-botao-primario-fundo);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}
.login-submit:hover {
    background: var(--cor-primaria-2);
    box-shadow: 0 4px 16px rgba(209, 101, 65, 0.35);
}
.login-register {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}
.login-register a {
    color: var(--cor-header-fundo);
    font-weight: 600;
    text-decoration: none;
}
.login-register a:hover { text-decoration: underline; }

/* =========================================================
   PÁGINA DE PERFIL (profile.php)
========================================================= */
.profile-wrap {
    max-width: 420px;
    margin: 0 auto;
    padding-top: 0.5rem;
}
.profile-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.9);
}
.profile-avatar-wrap {
    padding-top: 2rem;
    display: flex;
    justify-content: center;
}
.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cor-header-fundo), var(--cor-botao-primario-fundo));
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(30, 49, 112, 0.35);
}
.profile-avatar-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(30, 49, 112, 0.35);
}
.profile-name {
    font-weight: 700;
    color: var(--cor-primaria-1);
    text-align: center;
}
.profile-email {
    text-align: center;
}
.profile-stats {
    justify-content: center;
}
.profile-stat {
    text-align: center;
    padding: 0.75rem 1.25rem;
    background: var(--cor-secundaria-2);
    border-radius: 12px;
    min-width: 100px;
}
.profile-stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cor-header-fundo);
}
.profile-stat-label {
    font-size: 0.85rem;
    color: #666;
}
.profile-actions .btn { font-weight: 600; }
.profile-actions .btn-outline-primary { border-color: var(--cor-header-fundo); color: var(--cor-header-fundo); }
.profile-actions .btn-outline-primary:hover { background: var(--cor-header-fundo); color: #fff; border-color: var(--cor-header-fundo); }

/* Página Editar perfil (profile_edit.php) */
.profile-edit-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.9);
}
.profile-edit-avatar-label {
    cursor: pointer;
}
.profile-edit-avatar-initial,
.profile-edit-avatar-img {
    width: 100px;
    height: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--cor-header-fundo), var(--cor-botao-primario-fundo));
    box-shadow: 0 4px 20px rgba(30, 49, 112, 0.35);
}
.profile-edit-avatar-img {
    object-fit: cover;
}