/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= BASE ================= */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, #000000, #0a0a0a);
    color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

/* ================= SIDEBAR ================= */
.sidebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    padding: 12px 20px;
    background: linear-gradient(90deg, #000, #111);
    z-index: 1000;
    border-bottom: 1px solid rgba(212,175,55,0.3);
}

.sidebar-title {
    font-size: 1.3em;
    color: #d4af37;
    text-shadow: 0 0 8px rgba(212,175,55,0.5);
}

.sidebar-nav {
    display: flex;
    align-items: center;
}

.menu-toggle {
    display: none;
    font-size: 1.5em;
    color: #d4af37;
    cursor: pointer;
    margin-right: 10px;
}

.sidebar-nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.sidebar-nav a {
    color: #d4af37;
    text-decoration: none;
    font-size: 0.9em;
    transition: 0.3s;
}

.sidebar-nav a:hover {
    color: #fff;
}

/* ================= HEADER ================= */
header {
    margin-top: 70px;
    text-align: center;
}

/* FOTO PRINCIPAL SEM CORTE */
.cover-photo-container {
    display: flex;
    justify-content: center;
    padding: 15px;
}

.cover-photo {
    width: 100%;
    max-width: 600px;
    height: 260px;

    background-image: url('../images/img09.png');
    background-size: contain; /* 🔥 MOSTRA COMPLETA */
    background-repeat: no-repeat;
    background-position: center;

    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

/* ================= SEÇÕES ================= */
section {
    margin: 20px 10px;
    padding: 20px;
    border-radius: 10px;
    background: rgba(20,20,20,0.6);
    backdrop-filter: blur(8px);
}

section h2 {
    color: #d4af37;
    margin-bottom: 15px;
    text-align: center;
}

/* ================= BIO LIVRO ================= */
.book {
    position: relative;
    max-width: 600px;
    margin: auto;
}

.page {
    display: none;
    text-align: center;
    font-size: 1em;
    line-height: 1.6;
}

.page.active {
    display: block;
}

/* BOTÕES LATERAIS */
.book-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    border: 1px solid #d4af37;
    color: #d4af37;
    font-size: 20px;
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
}

.book-btn.left {
    left: -10px;
}

.book-btn.right {
    right: -10px;
}

.book-btn:hover {
    background: #d4af37;
    color: #000;
}

/* ================= PLAYER ================= */
#radio-player {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #111;
    padding: 10px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}

.player-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.player-controls button {
    background: #1db954;
    border: none;
    color: white;
    padding: 6px 10px;
    margin: 0 3px;
    border-radius: 5px;
    cursor: pointer;
}

/* ================= VÍDEOS ================= */
.video-grid {
    display: grid;
    gap: 15px;
}

.video-card {
    background: rgba(0,0,0,0.5);
    padding: 10px;
    border-radius: 10px;
    transition: 0.3s;
}

.video-card:hover {
    transform: scale(1.02);
}

.video-card h3 {
    color: #d4af37;
    font-size: 1em;
    margin-bottom: 8px;
}

.video-card video {
    width: 100%;
    border-radius: 8px;
}

/* ================= GALERIA ================= */
.gallery-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-image img {
    width: 100%;
    max-width: 600px;
    object-fit: contain; /* 🔥 NÃO CORTA */
    border-radius: 10px;
    background: #000;
}

/* MINIATURAS */
.thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-top: 10px;
    padding: 5px;
    scroll-behavior: smooth;
}

.thumbnails img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    opacity: 0.6;
    cursor: pointer;
    transition: 0.3s;
}

.thumbnails img.active,
.thumbnails img:hover {
    opacity: 1;
    border: 2px solid #d4af37;
}

/* SCROLL BONITO */
.thumbnails::-webkit-scrollbar {
    height: 5px;
}

.thumbnails::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 10px;
}

/* ================= BOTÕES ================= */
button {
    background: #333;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #555;
}

/* ================= FOOTER ================= */
footer {
    text-align: center;
    padding: 20px;
    margin-bottom: 70px;
}

/* ================= RESPONSIVO ================= */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .sidebar-nav ul {
        display: none;
        flex-direction: column;
        background: #000;
        position: absolute;
        top: 60px;
        right: 0;
        padding: 10px;
    }

    .sidebar-nav ul.show {
        display: flex;
    }

    .cover-photo {
        height: 220px;
    }

    .book-btn.left {
        left: 0;
    }

    .book-btn.right {
        right: 0;
    }

    section {
        padding: 15px;
    }

    section h2 {
        font-size: 1.5em;
    }
}

/* DESKTOP */
@media (min-width: 768px) {

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cover-photo {
        height: 350px;
    }
}

p{
    text-align: justify;
}

/* === SLIDE AUTOMÁTICO DE DEPOIMENTOS === */
.depoimentos-slider {
  position: relative;
  min-height: 140px;
}

.depoimento {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  text-align: center;
}

.depoimento.active {
  opacity: 1;
  position: relative;
}

.depoimento p {
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 12px;
}

.depoimento span {
  font-size: 0.9rem;
  color: #00eaff;
  opacity: 0.9;
}

.carousel {
  width: 100%;
  max-width: 900px;
  margin: auto;
}

.main-image {
  text-align: center;
}

.main-image img {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 12px;
}

.main-image p {
  margin-top: 10px;
  font-size: 16px;
  color: #ccc;
}

/* MINIATURAS */
.thumbnail-container {
  overflow: hidden;
  margin-top: 15px;
  position: relative;
}

.thumbnails {
  display: flex;
  gap: 10px;
  animation: scroll 25s linear infinite;
}

.thumbnails img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  opacity: 0.7;
}

.thumbnails img:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* EFEITO FILME ROLANDO */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}