/* css/style.css */

/* GALERIA DOS VIDEOS YOUTUBE */

* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: system-ui, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
            background: #f5f7fb;
            color: #1e293b;
            padding: 2rem 1.5rem;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
        }

        h1 {
            font-size: 2rem;
            font-weight: 600;
            text-align: center;
            margin-bottom: 0.5rem;
            background: linear-gradient(135deg, #1e293b, #2d3a4e);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
        }

        .sub {
            text-align: center;
            color: #475569;
            margin-bottom: 2.5rem;
            border-bottom: 1px solid #e2e8f0;
            display: inline-block;
            width: auto;
            margin-left: auto;
            margin-right: auto;
            padding-bottom: 0.5rem;
            font-weight: 500;
        }

        /* GRADE DE VÍDEOS - 3 COLUNAS */
        .gallery {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.8rem;
            margin-top: 1rem;
        }

        /* CARDS */
        .video-card {
            background: white;
            border-radius: 1.25rem;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.25s ease-in-out;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(203, 213, 225, 0.4);
        }

        .video-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.2);
            border-color: #cbd5e1;
        }

        /* placeholder da thumbnail */
        .thumb-wrapper {
            position: relative;
            background: #0f172a;
            aspect-ratio: 16 / 9;
            overflow: hidden;
        }

        .thumb-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.3s ease;
        }

        .video-card:hover .thumb-wrapper img {
            transform: scale(1.03);
        }

        /* ícone de play sobreposto */
        .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0, 0, 0, 0.65);
            backdrop-filter: blur(3px);
            width: 52px;
            height: 52px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            border: 2px solid white;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        }

        .play-icon svg {
            width: 24px;
            height: 24px;
            fill: white;
            margin-left: 3px;
        }

        .video-card:hover .play-icon {
            background: #ff0000;
            transform: translate(-50%, -50%) scale(1.08);
            border-color: #fff;
        }

        /* info do vídeo */
        .video-info {
            padding: 1rem 1rem 1.2rem 1rem;
        }

        .video-title {
            font-weight: 600;
            font-size: 1rem;
            line-height: 1.4;
            color: #0f172a;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* MODAL (lightbox para abrir o vídeo) */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(5px);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            padding: 1.5rem;
            opacity: 0;
            transition: opacity 0.25s ease;
        }

        .modal.active {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            position: relative;
            width: 100%;
            max-width: 1100px;
            background: #000;
            border-radius: 1.5rem;
            overflow: hidden;
            box-shadow: 0 25px 40px rgba(0, 0, 0, 0.5);
            animation: modalFadeIn 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        }

        @keyframes modalFadeIn {
            from {
                opacity: 0;
                transform: scale(0.96);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        /* responsividade do iframe 16:9 */
        .video-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 */
            height: 0;
            overflow: hidden;
            background: #000;
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }

        .close-modal {
            position: absolute;
            top: 12px;
            right: 18px;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(4px);
            border: none;
            color: white;
            font-size: 1.8rem;
            line-height: 1;
            cursor: pointer;
            z-index: 10;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.2s;
            font-weight: 300;
            border: 1px solid rgba(255,255,255,0.3);
        }

        .close-modal:hover {
            background: #ff3b3b;
            transform: scale(1.05);
        }

        /* RESPONSIVIDADE */
        @media (max-width: 900px) {
            .gallery {
                gap: 1.2rem;
            }
            .video-info {
                padding: 0.8rem;
            }
            .video-title {
                font-size: 0.9rem;
            }
        }

        @media (max-width: 768px) {
            .gallery {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.2rem;
            }
            body {
                padding: 1.2rem;
            }
            h1 {
                font-size: 1.7rem;
            }
        }

        @media (max-width: 540px) {
            .gallery {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            .modal-content {
                max-width: 96%;
            }
            .close-modal {
                top: 6px;
                right: 8px;
                width: 34px;
                height: 34px;
                font-size: 1.5rem;
            }
        }

        /* rodapé informativo */
        .footer-note {
            text-align: center;
            margin-top: 3rem;
            font-size: 0.85rem;
            color: #5b6e8c;
            border-top: 1px solid #e2e8f0;
            padding-top: 2rem;
        }
        .footer-note a {
            color: #3b82f6;
            text-decoration: none;
        }

/* ========================
   ANIMAÇÕES E ESTILOS PERSONALIZADOS
   ======================== */



.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease forwards;
}

@keyframes fadeUp {
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

/*    ESTILO DE VIDEOS DA GALERIA DE VIDEOS */ 



/* Estilo para a onda decorativa do footer */
.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-wave::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(to right, 
    transparent 0%, 
    rgba(110, 193, 228, 0.2) 50%, 
    transparent 100%);
  filter: blur(1px);
}

/* Estilos para ícones sociais */
.social-icon {
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

/* Estilos responsivos extras */
@media (max-width: 768px) {
  .mobile-menu-open {
    display: flex !important;
  }
}

/* Personalização da scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #6EC1E4;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #7AAED6;
}

/* Estilos para imagens de placeholder (temporário) */
img {
  max-width: 100%;
  height: auto;
}

/* Garantir que vídeos mantenham proporção */
.aspect-video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
}

.aspect-video > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Melhorar legibilidade de textos */
.font-serif {
  letter-spacing: 0.01em;
}

/* Estilos para links */
a {
  transition: color 0.3s ease;
}

/* Adicionar alguns espaçamentos responsivos */
@media (max-width: 640px) {
  section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .max-w-6xl, .max-w-7xl {
    padding-left: 1rem;
    padding-right: 1rem;
  }  
}

/* ========================
   ESTILOS ESPECÍFICOS PARA CONTOS.HTML
   ======================== */

/* Estilos para cards de contos */
.story-card {
  transition: all 0.5s ease;
}

.story-card:hover .story-overlay {
  opacity: 1;
}

.story-card:hover img {
  transform: scale(1.05);
}

/* Overlay para cards de contos */
.story-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

/* Estilo para truncar texto com reticências */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Estilos para paginação */
.pagination-button {
  transition: all 0.3s ease;
}

.pagination-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(110, 193, 228, 0.3);
}

/* Ajustes para imagens de contos */
.aspect-\[4\/3\] {
  position: relative;
  padding-bottom: 75%; /* 4:3 Aspect Ratio */
}

.aspect-\[4\/3\] > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Estilos para títulos de gênero */
.genre-tag {
  letter-spacing: 0.1em;
  font-size: 0.65rem;
  font-weight: 600;
}

/* Efeito de hover para links de contos */
.story-link {
  transition: all 0.3s ease;
}

.story-link:hover {
  transform: translateX(4px);
}

/* Responsividade para cards */
@media (max-width: 768px) {
  .story-card {
    margin-bottom: 1.5rem;
  }
  
  .aspect-\[4\/3\] {
    padding-bottom: 66.67%; /* 3:2 no mobile */
  }
}

/* Animação de entrada para contos */
.story-enter {
  animation: storyEnter 0.8s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

@keyframes storyEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Atrasos para animação em cascata */
.story-enter:nth-child(1) { animation-delay: 0.1s; }
.story-enter:nth-child(2) { animation-delay: 0.2s; }
.story-enter:nth-child(3) { animation-delay: 0.3s; }
.story-enter:nth-child(4) { animation-delay: 0.4s; }
.story-enter:nth-child(5) { animation-delay: 0.5s; }
.story-enter:nth-child(6) { animation-delay: 0.6s; }


/* ========================
   CLASSE PARA TEXTO DO CONTO
   ======================== */

.conto-texto {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #1f2937;
    text-align: justify;
    /* Controle de quebras */
    hyphens: auto;                    /* Hifenização automática */
    word-break: break-word;          /* Quebra palavras longas */
    overflow-wrap: break-word;       /* Segurança para palavras longas */
    white-space: normal; 
}

.conto-texto p {
    margin-bottom: 1.75rem;
}

/* Primeira letra do primeiro parágrafo com destaque */
.conto-texto p:first-of-type::first-letter {
    font-size: 3.5rem;
    font-weight: 600;
    float: left;
    line-height: 1;
    margin-right: 0.75rem;
    color: #6EC1E4;
}

/* Responsividade */
@media (max-width: 768px) {
    .conto-texto {
        font-size: 1rem;
        line-height: 1.7;
        padding: 0 1rem;
    }
    
    .conto-texto p:first-of-type::first-letter {
        font-size: 2.5rem;
    }
}



/* ========================
   ESTILOS ESPECÍFICOS PARA LIVROS.HTML
   ======================== */

/* Efeito hover para miniaturas de vídeo */
.video-thumbnail:hover .play-overlay {
  opacity: 1;
}

/* Estilo para botão voltar ao topo */
.back-to-top {
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(110, 193, 228, 0.3);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(110, 193, 228, 0.4);
}

/* Estilos para estrelas de avaliação */
.rating-star {
  filter: drop-shadow(0 2px 3px rgba(214, 212, 75, 0.3));
}

/* Estilos para cards de livro */
.book-card {
  transition: all 0.4s ease;
  border: 1px solid transparent;
}

.book-card:hover {
  transform: translateY(-5px);
  border-color: rgba(110, 193, 228, 0.3);
  box-shadow: 0 10px 25px -5px rgba(110, 193, 228, 0.2);
}

/* Estilo para botões de download */
.download-button {
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #6EC1E4 0%, #7AAED6 100%);
}

.download-button:hover {
  background: linear-gradient(135deg, #D6D44B 0%, #c9c73a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(214, 212, 75, 0.3);
}

/* Estilo para botão da Amazon */
.amazon-button {
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #F7CA00 0%, #F0B200 100%);
  box-shadow: 0 4px 12px rgba(247, 202, 0, 0.3);
}

.amazon-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(247, 202, 0, 0.4);
  background: linear-gradient(135deg, #FFD700 0%, #F7CA00 100%);
}

/* Estilo para overlay de play */
.play-overlay {
  background: rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
}

/* Scroll suave para toda a página */
html {
  scroll-behavior: smooth;
}

/* Animações específicas para livros */
.book-fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: bookFadeIn 0.8s ease forwards;
}

@keyframes bookFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Atrasos para animação em cascata */
.book-fade-in:nth-child(1) { animation-delay: 0.1s; }
.book-fade-in:nth-child(2) { animation-delay: 0.2s; }

/* Estilo para ícones grandes */
.large-icon {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Estilo para linha divisória decorativa */
.divider-line {
  background: linear-gradient(to right, transparent, #6EC1E4, transparent);
  height: 2px;
  opacity: 0.3;
}

/* Responsividade para seções de livro */
@media (max-width: 768px) {
  .book-card {
    margin-bottom: 2rem;
  }
  
  .video-thumbnail {
    margin-bottom: 1.5rem;
  }
  
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 3rem;
    height: 3rem;
  }
}

/* Estilo para tooltips (se necessário) */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 120px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 0.75rem;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}


/* ========================
   ESTILOS ESPECÍFICOS PARA MUSICAS.HTML
   ======================== */

/* Estilos para cards de música */
.music-card {
  transition: all 0.4s ease;
  background: linear-gradient(145deg, #ffffff, #f5f7fa);
  border: 1px solid rgba(110, 193, 228, 0.1);
}

.music-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -10px rgba(110, 193, 228, 0.3);
  border-color: rgba(110, 193, 228, 0.3);
}

/* Estilo para efeito de onda sonora */
.wave-effect {
  position: relative;
  overflow: hidden;
}

.wave-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.7s;
}

.music-card:hover .wave-effect::after {
  left: 100%;
}

/* Estilos para player de música */
.music-player {
  transition: all 0.3s ease;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 247, 250, 0.95));
  backdrop-filter: blur(10px);
}

.play-button {
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #6EC1E4 0%, #7AAED6 100%);
  box-shadow: 0 4px 15px rgba(110, 193, 228, 0.3);
}

.play-button:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #D6D44B 0%, #c9c73a 100%);
  box-shadow: 0 6px 20px rgba(214, 212, 75, 0.4);
}

/* Estilos para barra de progresso */
.progress-bar {
  height: 4px;
  background: rgba(110, 193, 228, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #6EC1E4, #D6D44B);
  width: 0%;
  transition: width 0.3s ease;
}

/* Estilos para controles de música */
.music-controls button {
  transition: all 0.2s ease;
}

.music-controls button:hover {
  transform: scale(1.1);
  color: #6EC1E4;
}

/* Estilos para lista de músicas */
.music-list-item {
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.music-list-item:hover {
  background: rgba(110, 193, 228, 0.05);
  border-left-color: #6EC1E4;
  transform: translateX(5px);
}

.music-list-item.active {
  background: rgba(110, 193, 228, 0.1);
  border-left-color: #D6D44B;
}

/* Estilos para tempo de música */
.duration {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* Estilos para álbuns/playlists */
.album-cover {
  transition: all 0.5s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.album-cover:hover {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Animação para notas musicais */
@keyframes floatNote {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
    opacity: 1;
  }
}

.music-note {
  animation: floatNote 3s ease-in-out infinite;
}

.music-note:nth-child(2) {
  animation-delay: 0.5s;
}

.music-note:nth-child(3) {
  animation-delay: 1s;
}

/* Estilos para plataformas de streaming */
.platform-badge {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.platform-badge:hover {
  transform: translateY(-3px);
  border-color: #6EC1E4;
  box-shadow: 0 5px 15px rgba(110, 193, 228, 0.2);
}

/* Estilos para visualização de espectro */
.spectrum-bar {
  animation: spectrum 1.5s ease-in-out infinite;
  transform-origin: bottom;
}

@keyframes spectrum {
  0%, 100% {
    height: 20%;
  }
  50% {
    height: 80%;
  }
}

.spectrum-bar:nth-child(2) { animation-delay: 0.1s; }
.spectrum-bar:nth-child(3) { animation-delay: 0.2s; }
.spectrum-bar:nth-child(4) { animation-delay: 0.3s; }
.spectrum-bar:nth-child(5) { animation-delay: 0.4s; }

/* Responsividade para player de música */
@media (max-width: 768px) {
  .music-player {
    flex-direction: column;
    padding: 1rem;
  }
  
  .album-cover {
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
  }
  
  .music-controls {
    justify-content: center;
  }
}

/* Estilos para estado de reprodução */
.playing .play-button {
  background: linear-gradient(135deg, #D6D44B 0%, #c9c73a 100%);
}

/* Estilo para ícone de música pulsante */
.pulse-music {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


/* ========================
   ESTILOS ESPECÍFICOS PARA POESIAS.HTML
   ======================== */

/* Estilos para cards de poesia */

.poesia {
        white-space: pre-line;
        text-align: center;
        line-height: 1.5;
    }

.poem-card {
  transition: all 0.4s ease;
  background: linear-gradient(145deg, #ffffff, #f5f7fa);
  border: 1px solid rgba(110, 193, 228, 0.1);
}

.poem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -10px rgba(110, 193, 228, 0.2);
}

/* Estilos para texto de poema */
.poem-text {
  line-height: 2;
  text-align: justify;
}

.poem-text p {
  margin-bottom: 1.5rem;
  position: relative;
}

/* REMOVI O text-indent que estava escondendo o texto */
.poem-text p:not(:first-of-type) {
  text-indent: 2rem;
}

.poem-text p::first-letter {
  font-size: 1.5em;
  color: #6EC1E4;
  font-weight: 600;
  margin-right: 2px;
}

/* Estilos para ícones de poema */
.poem-icon {
  transition: transform 0.3s ease;
}

.poem-card:hover .poem-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Estilos para separadores decorativos */
.poem-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, currentColor, transparent);
  opacity: 0.3;
}

/* Estilos para animação de setas */
.arrow-bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* Estilos para navegação entre poemas */
.poem-nav {
  position: relative;
  z-index: 1;
}

/* Estilos para títulos de poemas */
.poem-title {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  display: inline-block;
}

.poem-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #6EC1E4, #D6D44B);
  transition: width 0.3s ease;
}

.poem-card:hover .poem-title::after {
  width: 100%;
}

/* Estilos para metadados de poema */
.poem-meta {
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Efeito de destaque para poema ativo */
.active-poem {
  border-left: 4px solid #6EC1E4;
  padding-left: 1rem;
  background: linear-gradient(to right, rgba(110, 193, 228, 0.05), transparent);
}

/* Estilos para scroll suave */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Ajuste para o header fixo */
}

.scroll-mt-24 {
  scroll-margin-top: 6rem;
}

/* Estilos para indicador de posição */
.scroll-indicator {
  position: fixed;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 100;
}

.scroll-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(110, 193, 228, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.scroll-dot.active {
  background: #6EC1E4;
  transform: scale(1.3);
}

.scroll-dot:hover::after {
  content: attr(data-title);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
}

/* Estilos para efeito de revelação de texto */
.reveal-text {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.reveal-text.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Estilos para marcação de versos favoritos */
.favorite-verse {
  position: relative;
  padding-left: 1.5rem;
}

.favorite-verse::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: #D6D44B;
  font-size: 1.2em;
}

/* Responsividade para poemas */
@media (max-width: 768px) {
  .poem-text {
    text-align: left;
    font-size: 1rem;
    line-height: 1.8;
  }
  
  .poem-text p:not(:first-of-type) {
    text-indent: 1rem;
  }
  
  .scroll-indicator {
    right: 1rem;
  }
}

/* Estilos para botão de compartilhamento */
.share-poem {
  transition: all 0.3s ease;
  opacity: 0.7;
}

.share-poem:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* CORREÇÃO DO EFEITO DE PAPIRU - ESTAVA COBRINDO O TEXTO */
.antique-effect {
  background: linear-gradient(to bottom, #f8f3e6 0%, #f2e9d8 100%);
  border: 1px solid #e6dcc9;
  position: relative;
  overflow: hidden;
  z-index: 1; /* Adicionado */
}

.antique-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 29px,
    rgba(0, 0, 0, 0.05) 29px,
    rgba(0, 0, 0, 0.05) 30px
  );
  pointer-events: none; /* Isso já está correto */
  opacity: 0.3;
  z-index: -1; /* ADICIONADO: Coloca atrás do conteúdo */
}



/* ========================
   ESTILOS ESPECÍFICOS PARA CONTATO.HTML
   ======================== */

/* Estilos para formulário de contato */



.form-group {
  transition: all 0.3s ease;
  position: relative;
}

.form-group:focus-within {
  transform: translateY(-2px);
}

/* Estilos para labels flutuantes */
.floating-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  transition: all 0.3s ease;
  pointer-events: none;
  color: #6b7280;
  font-size: 0.875rem;
}

.form-group:focus-within .floating-label,
.form-group input:not(:placeholder-shown) + .floating-label,
.form-group textarea:not(:placeholder-shown) + .floating-label,
.form-group select:valid + .floating-label {
  top: -0.5rem;
  left: 0.5rem;
  font-size: 0.75rem;
  background: white;
  padding: 0 0.5rem;
  color: #6EC1E4;
  font-weight: 500;
}

/* Estilos para cartões de contato */
.contact-card {
  transition: all 0.4s ease;
  border: 1px solid rgba(110, 193, 228, 0.1);
  background: linear-gradient(145deg, #ffffff, #f5f7fa);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -10px rgba(110, 193, 228, 0.2);
  border-color: rgba(110, 193, 228, 0.3);
}

/* Estilos para ícones de cartão de contato */
.contact-icon {
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Estilos para botão de envio */
.submit-button {
  background: linear-gradient(135deg, #6EC1E4 0%, #7AAED6 100%);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit-button:hover {
  background: linear-gradient(135deg, #D6D44B 0%, #c9c73a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(214, 212, 75, 0.3);
}

.submit-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: rotate(30deg);
  transition: transform 0.6s;
}

.submit-button:hover::after {
  transform: rotate(30deg) translateX(100%);
}

/* Estilos para redes sociais no contato */
.social-contact {
  transition: all 0.3s ease;
  background: #f3f4f6;
}

.social-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Estilos para bordas coloridas dos cartões */
.border-accentYellow { border-color: #D6D44B; }
.border-primaryBlue { border-color: #6EC1E4; }
.border-wine { border-color: #7B1E1E; }

/* Estilos para validação de formulário */
.form-group.success input,
.form-group.success textarea,
.form-group.success select {
  border-color: #10b981;
  background-color: rgba(16, 185, 129, 0.05);
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #ef4444;
  background-color: rgba(239, 68, 68, 0.05);
}

.error-message {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: none;
}

.form-group.error .error-message {
  display: block;
}

/* Estilos para animação de confirmação */
.confirmation-animation {
  animation: confetti 1s ease-out;
}

@keyframes confetti {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Estilos para mapa (se adicionar no futuro) */
.contact-map {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-map:hover {
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15);
}

/* Estilos para horário de atendimento */
.business-hours {
  border-left: 3px solid #6EC1E4;
  padding-left: 1rem;
}

.business-hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.business-hours li:last-child {
  border-bottom: none;
}

/* Estilos para tooltip de informação */
.info-tooltip {
  position: relative;
  display: inline-block;
  cursor: help;
}

.info-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10;
}

.info-tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Responsividade para formulário de contato */
@media (max-width: 768px) {
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .contact-card {
    margin-bottom: 1.5rem;
  }
  
  .social-contact {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* Estilos para carregamento do formulário */
.form-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.7;
}

.form-loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 1;
}

.form-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2rem;
  height: 2rem;
  border: 3px solid #f3f4f6;
  border-top-color: #6EC1E4;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 2;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}