/* css/plus.css - VERSÃO PREMIUM "MAGIC" */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0077b6;
    --primary-dark: #023e8a;
    --secondary: #6c757d;
    --bg-page: #f0f2f5;
    --surface: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --success: #10b981;
    --danger: #ef4444;
    --radius: 16px;
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-float: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* { box-sizing: border-box; }

body {
    background-color: var(--bg-page);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    padding-bottom: 60px;
}

a { text-decoration: none; transition: 0.3s; }

/* --- HERO SECTION (CAPA) --- */
.plus-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    /* Máscara suave na parte de baixo */
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8));
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0 20px 60px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER FLUTUANTE (LOGO + TÍTULO) */
.header-flutuante {
    display: flex;
    align-items: flex-end;
    gap: 25px;
    margin-top: -80px; /* Puxa para cima da capa */
    position: relative;
    z-index: 10;
    margin-bottom: 30px;
}

.hero-logo {
    width: 160px; height: 160px;
    border-radius: 20px;
    border: 5px solid var(--surface);
    background-color: var(--surface);
    object-fit: cover;
    box-shadow: var(--shadow-float);
}

.header-info h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-main);
    letter-spacing: -1px;
}

.categoria-badge {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.rating-stars { color: #f59e0b; font-size: 0.95rem; display: flex; align-items: center; gap: 5px; margin-top: 5px;}

/* --- LAYOUT GRID --- */
.plus-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Conteúdo x Sidebar */
    gap: 30px;
    align-items: start;
}

/* CARDS PADRÃO */
.content-card {
    background-color: var(--surface);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0,0,0,0.03);
}

.content-card h2 {
    font-size: 1.4rem;
    color: var(--text-main);
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--bg-page);
}
.content-card h2 i { color: var(--primary); }

/* --- SOBRE / LER MAIS --- */
.descricao-container { position: relative; }
.texto-descricao { overflow: hidden; transition: max-height 0.5s ease; }
.texto-descricao.collapsed {
    max-height: 150px;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}
.btn-ler-mais {
    display: block; margin: 10px auto 0; background: none; border: 1px solid var(--primary);
    color: var(--primary); padding: 8px 20px; border-radius: 30px; font-weight: 600; cursor: pointer; transition: 0.3s;
}
.btn-ler-mais:hover { background: var(--primary); color: white; }

/* --- GALERIA GRID (Estilo Mosaico) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}
.gallery-grid a {
    display: block;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.gallery-grid img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-grid a:hover img { transform: scale(1.1); }

/* --- VÍDEO --- */
.video-frame {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 12px;
}
.video-frame iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* --- SIDEBAR (Ações e Horários) --- */
.plus-sidebar {
    position: sticky;
    top: 20px; /* Cola no topo ao rolar */
    display: flex; flex-direction: column; gap: 20px;
}

/* BOTÕES DE AÇÃO (Grandes e Coloridos) */
.action-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px; border-radius: 12px; font-weight: 700; color: white;
    font-size: 1.05rem; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.2s;
}
.action-btn:hover { transform: translateY(-3px); filter: brightness(1.1); }
.btn-whatsapp { background: linear-gradient(45deg, #25D366, #128C7E); }
.btn-ligar { background-color: var(--primary); }
.btn-rota { background-color: var(--text-main); }

/* HORÁRIOS WIDGET */
.hours-widget ul { list-style: none; padding: 0; margin: 0; }
.hours-widget li {
    display: flex; justify-content: space-between; padding: 10px 0;
    border-bottom: 1px dashed var(--bg-page); font-size: 0.95rem;
}
.hours-widget li:last-child { border: none; }
.tag-hoje { background: #d1fae5; color: #065f46; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; margin-left: 5px; }
.closed { color: var(--danger); font-weight: 600; }

/* DETALHES (CHIPS) */
.chips-container { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.chip {
    background: var(--bg-page); padding: 6px 12px; border-radius: 20px;
    font-size: 0.85rem; font-weight: 500; display: flex; align-items: center; gap: 6px;
    color: var(--text-main);
}
.chip i { color: var(--primary); }

/* --- AVALIAÇÕES --- */
.review-item { padding: 20px; background: var(--bg-page); border-radius: 12px; margin-bottom: 15px; }
.review-header { display: flex; justify-content: space-between; margin-bottom: 10px; }
.review-name { font-weight: 700; color: var(--text-main); }
.review-stars { color: #f59e0b; }
.review-body { font-size: 0.95rem; color: var(--text-muted); font-style: italic; }

/* RESPONSIVO */
@media (max-width: 900px) {
    .plus-layout { grid-template-columns: 1fr; }
    .header-flutuante { flex-direction: column; align-items: center; text-align: center; margin-top: -60px; }
    .plus-sidebar { position: static; order: -1; /* Sidebar sobe no mobile */ }
    .actions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } /* Botões lado a lado no mobile */
    .btn-rota { grid-column: span 2; }
}