/* ==========================================================================
   Patricia Mariante - Stylesheet Principal
   ========================================================================== */

/* Google Fonts Imports */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Open+Sans:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap');

/* Variables & Base Custom Properties */
:root {
    --color-brand-accent: #D0E8E6;
    --color-brand-dark: #1c1917;
    --color-brand-gray: #888888;
}

/* Gallery Grid Styles */
#gallery-grid .group h3,
#gallery-grid .group h4,
#gallery-grid .group p,
#gallery-grid .group span {
    display: none !important;
}

#gallery-grid .group {
    cursor: pointer !important;
}

/* Smooth Transitions */
.transition-slow {
    transition: all 0.5s ease-in-out;
}

/* ==========================================================================
   Efeito de entrada suave
   Usado ao trocar de depoimento no carrossel e ao abrir um item de
   acordeão (FAQ e Áreas de Atuação), para o conteúdo não aparecer "seco".
   ========================================================================== */
@keyframes revelar-conteudo {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Depoimento que acabou de entrar no carrossel */
[data-depoimento]:not([hidden]) {
    animation: revelar-conteudo 0.45s ease-out;
}

/* Conteúdo de um <details> recém-aberto (FAQ e Áreas de Atuação) */
details[open] > *:not(summary) {
    animation: revelar-conteudo 0.3s ease-out;
}

/* O summary tem transição própria de cor no hover */
details summary {
    transition: color 0.2s ease;
}

/* Respeita quem pediu menos animação no sistema */
@media (prefers-reduced-motion: reduce) {
    [data-depoimento]:not([hidden]),
    details[open] > *:not(summary) {
        animation: none;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1c1917;
}
::-webkit-scrollbar-thumb {
    background: #D0E8E6;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b5dedb;
}
