/* Aqui eu defino minhas variáveis de cores e fontes para o tema escuro (padrão). */
:root {
    --fonte-principal: "Sawarabi Gothic", sans-serif;
    --fonte-secundaria: "Inter", sans-serif;

    --bg: #000000;
    --bg-alt: #0f0f0f;
    --card: #121212;
    --card-hover: #181818;
    --text: #ffffff;
    --text-muted: #cccccc;
    --border: #222222;
    --muted: #777777;
    --accent: #ffffff;
    /* Um efeito de vidro fosco */
    --glass: rgba(255, 255, 255, 0.03);
    --spotlight-bg: rgba(0, 0, 0, 0.65);
    --spotlight-panel: #0d0d0d;
    /* Uma sombra padrão pra usar nos cards e painéis. */
    --shadow: 0 0 25px rgba(0, 0, 0, 0.6);
}

html {
    scroll-behavior: smooth;
}

/* TEMA CLARO*/
:root[data-theme="light"],
html[data-theme="light"] {
    --bg: #d9d9d9;
    --bg-alt: #ececec;
    --card: #ffffff;
    --card-hover: #f1f1f1;
    --text: #0f0f0f;
    --text-muted: #3a3a3a;
    --border: #cfcfcf;
    --muted: #6b6b6b;
    --accent: #ffffff;
    --glass: rgba(0, 0, 0, 0.04);
    --spotlight-bg: rgba(0, 0, 0, 0.20);
    --spotlight-panel: #f6f6f6;
    --shadow: 0 0 18px rgba(0, 0, 0, 0.05);
}

/*RESET BÁSICO E TIPOGRAFIA*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: var(--fonte-secundaria);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*Permite que trave o Scrow Vertical ao abrir Spotlight*/
body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/*CABEÇALHO*/
header {
    /* Crio um gradiente que vai de um preto semi-transparente para o meu efeito de vidro. */
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.65), var(--glass));
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    color: var(--text);
    text-decoration: none;
    font-size: 2.2rem;
    font-weight: bold;
    font-family: var(--fonte-principal);
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 12px;
    align-items: center;
}

/*BOTÃO DE BUSCA*/
.btn-buscar {
    background: none;
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--text);
    cursor: pointer;
    font-size: 1rem;
    transition: background .2s ease, transform .12s ease;
}

.btn-buscar:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.theme-toggle input {
    display: none;
}

.theme-slider {
    width: 58px;
    height: 30px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 3px;
    position: relative;
    display: inline-flex;
    align-items: center;
    transition: background .25s ease, border-color .25s ease;
}

.theme-slider::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--text);
    transition: transform .22s ease, background .22s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.theme-slider .icon-sun {
    position: absolute;
    left: 8px;
    font-size: 13px;
    opacity: .9;
}

.theme-slider .icon-moon {
    position: absolute;
    right: 8px;
    font-size: 13px;
    opacity: .9;
}

.theme-toggle input:checked+.theme-slider::after {
    transform: translateX(28px);
}

/*BUSCA SPOTLIGHT*/
.spotlight {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--spotlight-bg);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: flex-start;
    padding-top: 120px;
    z-index: 9999;
    opacity: 0;
    transition: opacity .2s ease;
}

.spotlight.open {
    display: flex;
    opacity: 1;
}

.spotlight-box {
    background: var(--spotlight-panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    padding: 20px;
    box-shadow: var(--shadow);
    animation: spotlightDrop .15s ease-out;
}

@keyframes spotlightDrop {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#spotlightInput {
    width: 100%;
    padding: 14px;
    border-radius: 6px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1rem;
    outline: none;
    margin-bottom: 15px;
    transition: border .25s ease;
}

#spotlightInput:focus {
    border-color: var(--border);
}

#spotlightResults {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 260px;
    overflow-y: auto;
}

#spotlightResults li {
    padding: 12px 14px;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    font-family: var(--fonte-secundaria);
    color: var(--text);
    transition: background .15s ease, padding-left .15s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

#spotlightResults li:hover {
    background: var(--card-hover);
    padding-left: 18px;
}

#spotlightResults li.selected {
    background: var(--card-hover);
    padding-left: 20px;
}

/* theme preview bubble in spotlight results */
.theme-preview {
    width: 26px;
    height: 16px;
    border-radius: 6px;
    display: inline-block;
    border: 1px solid var(--border);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.theme-preview[data-theme="light"] {
    background: linear-gradient(90deg, #ececec 0%, #d9d9d9 100%);
}

.theme-preview[data-theme="dark"] {
    background: linear-gradient(90deg, #111 0%, #222 100%);
}

/* custom scrollbar */
#spotlightResults::-webkit-scrollbar {
    width: 6px;
}

#spotlightResults::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 6px;
}

#spotlightResults::-webkit-scrollbar-track {
    background: var(--card);
}

/* section HERO*/
.hero {
    background-image: url("img/background-image.jpg");
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 5%;
}

.hero-text {
    width: 45%;
    text-align: right;
}

.hero-text h1 {
    font-family: var(--fonte-principal);
    font-size: 2.8rem;
    line-height: 1.4;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    color: var(--text);
}

/*SEÇÕES GERAIS*/
section {
    padding: 80px 20px;
    text-align: center;
}

section h2 {
    font-family: var(--fonte-principal);
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text);
}

/*SOBRE*/
#Sobre {
    background: var(--bg-alt);
}

#Sobre p {
    max-width: 750px;
    margin: auto;
    line-height: 1.7;
    font-size: 1.15rem;
    text-align: justify;
    color: var(--text-muted, var(--text-muted));
}

/*FRASES*/
.Frases-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.Frases-card {
    background: var(--card);
    border-left: 4px solid #ffffff;
    padding: 25px;
    max-width: 310px;
    text-align: left;
    transition: transform .22s ease, background .22s ease;
}

.Frases-card blockquote {
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text);
}

.Frases-card:hover {
    transform: translateY(-6px);
    background: var(--card-hover);
}

/*GALERIA*/
.galeria-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.galeria-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--card);
    border: 1px solid var(--border);
}

.galeria-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
}

.galeria-card:hover img {
    transform: scale(1.06);
}

/*MENTALIDADE*/
.mentalidade-section {
    background: var(--bg-alt);
    padding: 80px 20px;
    text-align: center;
}

.mentalidade-section h2 {
    color: var(--text);
}

.mentalidade-intro {
    max-width: 750px;
    margin: 0 auto 50px auto;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.mentalidade-container {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    max-width: 1100px;
    margin: auto;
}

.mentalidade-card {
    background: var(--card);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #ffffff;
    transition: .3s;
    text-align: left;
}

.mentalidade-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
}

.mentalidade-card h3 {
    font-family: var(--fonte-principal);
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: var(--text);
}

.mentalidade-card p {
    font-family: var(--fonte-secundaria);
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/*BOTÃO DE COMPARTILHAR*/

/*Container do botão dentro do card */
.mentalidade-card {
    position: relative;
}

/* O botão em si */
.share-btn {
    position: absolute;
    top: 14px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        background 0.2s ease;
}

/* Ícone do botão */
.share-btn img {
    width: 20px;
    height: 20px;
    filter: var(--filter-icon);
    opacity: 0.85;
}

/* Aparência ao passar o mouse no card */
.mentalidade-card:hover .share-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Hover no botão em si */
.share-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

/*ESTILO DO BOTÃO DE COMPARTILHAR POR TEMA*/

/*TEMA ESCURO*/
html:not([data-theme="light"]) .share-btn {
    background: rgba(255, 255, 255, 0.08);
}

html:not([data-theme="light"]) .share-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* ícone branco */
html:not([data-theme="light"]) .share-btn img {
    content: url("img/share-button.png");
}

/*TEMA CLARO*/
html[data-theme="light"] .share-btn {
    background: rgba(0, 0, 0, 0.10);
}

html[data-theme="light"] .share-btn:hover {
    background: rgba(0, 0, 0, 0.18);
}

html[data-theme="light"] .share-btn img {
    content: url("img/share-button-black.png");
}


/*INSPIRAÇÃO*/
.inspiracao-section {
    background: var(--bg-alt);
    padding: 80px 20px;
    text-align: center;
}

.inspiracao-intro {
    max-width: 750px;
    margin: 0 auto 50px auto;
    font-size: 1.15rem;
    color: var(--text-muted);
}

.inspiracao-container {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    max-width: 1100px;
    margin: auto;
}

.inspiracao-card {
    background: var(--card);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #ffffff;
    transition: .3s;
    text-align: left;
}

.inspiracao-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
}

.inspiracao-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    gap: 30px;
}

.inspiracao-card h3 {
    font-family: var(--fonte-principal);
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: var(--text);
}

.inspiracao-card a {
    color: var(--accent);
}

/*ÍCONES*/
.icones-section {
    position: relative;
    background-image: url("img/background-icones.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 20px;
    text-align: center;
}

.icones-overlay {
    background: rgba(0, 0, 0, 0.70);
    padding: 80px 20px;
    border-radius: 10px;
    max-width: 1200px;
    margin: auto;
}

.icones-section h2 {
    font-family: var(--fonte-principal);
    font-size: 2.7rem;
    margin-bottom: 25px;
    color: #ffffff;
}

.icones-text {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.15rem;
    color: #ffffff;
}

.icones-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.icone-card {
    background: rgba(0, 0, 0, 0.6);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #ffffff;
    transition: .3s;
    text-align: left;
}

.icone-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 30, 30, 0.8);
}

.icone-card h3 {
    font-family: var(--fonte-principal);
    margin-bottom: 10px;
    font-size: 1.4rem;
    color: #ffffff;
}

.icone-card p {
    font-family: var(--fonte-secundaria);
    font-size: 1rem;
    color: #dddddd;
    line-height: 1.6;
}

/*GIFS*/

.gif-section {
    padding: 100px 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gif-title {
    font-family: var(--fonte-principal);
    font-size: 3rem;
    margin-bottom: 8px;
}

.gif-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.gif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}

/*card*/
.gif-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
    transition: transform .25s ease, box-shadow .25s ease;
}

.gif-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}

/*IMAGEM*/
.gif-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.gif-card:hover img {
    transform: scale(1.05);
}

/* Modo Light */
[data-theme="light"] .gif-card {
    border-color: #e5e5e5;
}

[data-theme="light"] .gif-subtitle {
    color: #555;
}


/*QUIZ*/
.quiz-section {
    position: relative;
    padding: 120px 20px;
    background-image: url("img/background-image-section-strong.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

/* Sobreposição escura para melhorar a legibilidade do texto sobre a imagem. */
.quiz-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.50),
            rgba(0, 0, 0, 0.75));
    z-index: 1;
}

.quiz-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quiz-inner h2 {
    font-family: var(--fonte-principal);
    font-size: 3rem;
    margin-bottom: 8px;
    color: #fff;
}

.quiz-inner .muted {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 26px;
    font-size: 1.05rem;
}

/* cards */
.quiz-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.quiz-q {
    background: rgba(0, 0, 0, 0.45);
    padding: 22px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    border-left: 4px solid #fff;
    text-align: left;
}

.q-title {
    font-family: var(--fonte-principal);
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #fff;
}

.quiz-q label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #eee;
    cursor: pointer;
    line-height: 1.6;
}

.quiz-q input[type="radio"] {
    accent-color: #fff;
    margin-right: 8px;
}

/* actions */
.quiz-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
}

#quizSubmit {
    background: #fff;
    color: #000;
    font-weight: bold;
    padding: 10px 22px;
    border-radius: 10px;
    cursor: pointer;
}

#quizSubmit:hover {
    filter: brightness(.9);
}

#quizReset {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 10px 22px;
    border-radius: 10px;
    cursor: pointer;
}

#quizReset:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* resultado */
.quiz-result {
    margin-top: 30px;
    padding: 24px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    color: #fff;
    border-left: 4px solid #fff;
}

/*PLAYER DE MÚSICA - parte mais legal do site, imersão pura*/

.music-wrapper {
    position: fixed;
    left: 18px;
    bottom: 22px;
    z-index: 12000;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}

/* Botão principal redondo que abre o menu */
.music-toggle {
    pointer-events: auto;
    appearance: none;
    border: none;
    background: rgba(255, 255, 255, 0.04);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
    transition: transform .18s ease, background .18s ease;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.music-toggle img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: invert(1) brightness(2);
}

.music-toggle:hover {
    transform: translateY(-3px) scale(1.03);
}

/* Modal das musicas*/
.music-menu {
    pointer-events: auto;
    width: 260px;
    max-width: calc(100vw - 56px - 48px);
    /* Garanto que o menu não saia da tela. */
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.9), rgba(8, 8, 8, 0.95));
    border-radius: 12px;
    padding: 12px;
    margin-right: 8px;
    color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    transform-origin: bottom left;
    transform: translateY(8px) scale(.98);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.music-menu.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.music-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.music-header strong {
    font-size: 0.95rem;
    letter-spacing: .4px;
}

.music-close {
    background: transparent;
    border: none;
    color: #ddd;
    cursor: pointer;
    font-size: 1rem;
}

.music-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
}

.music-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: #fff;
    cursor: pointer;
}

/* Estilo para a faixa que está tocando. */
.music-track[aria-pressed="true"] {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.02);
}

.track-title {
    font-size: 0.95rem;
}

.track-action {
    font-size: 0.95rem;
    opacity: 0.95;
}

/* Controles de volume e o botão de parar. */
.music-controls {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.music-controls label {
    font-size: 0.82rem;
    color: #ddd;
}

.music-controls input[type="range"] {
    width: 110px;
    accent-color: #fff;
}

/* Um botão para parar a música. */
.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 6px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
}

.music-note {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
    text-align: left;
}

/*HISTÓRIA DOS ÍCONES*/

.historia-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.historia-title {
    font-family: var(--fonte-principal);
    font-size: 3.2rem;
    margin-bottom: 10px;
}

.historia-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

.historia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.historia-card {
    background: var(--card);
    padding: 20px;
    border-radius: 14px;
    border-left: 4px solid #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, .15);
    text-align: left;
    transition: .3s ease;
}

.historia-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 26px rgba(255, 255, 255, .08);
}

.historia-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 14px;
}

.historia-card h3 {
    font-family: var(--fonte-principal);
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.historia-card p {
    color: var(--text-muted);
    line-height: 1.6;
}



/* RODAPÉ (FOOTER)*/
footer {
    height: 80vh;
    position: relative;
    background: #000;
    overflow: hidden;
}

.footer-content {
    background-image: url('img/backgroun-footer.jpg');
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Ícones das redes sociais */
.footer-social-floating {
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    gap: 18px;
    z-index: 10;
}

.footer-social-floating img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    opacity: 0.9;
    transition: .25s ease;
}

.footer-social-floating img:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.07);
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5));
}

/* Título gigante */
.footer-title-area {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-title-area h1 {
    font-family: var(--fonte-principal);
    font-size: 15vw;
    color: #fff;
    font-weight: bold;
    /* Esse blend mode faz a cor do texto se inverter em relação ao que está atrás. */
    mix-blend-mode: difference;
    margin: 0;
    text-shadow: 0 0 25px rgba(0, 0, 0, .45);
}

/* Créditos final da página. */
footer p {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    color: #ccc !important;
    font-size: .9rem;
}

footer a {
    color: #ccc !important;
    transition: .2s;
}

footer a:hover {
    transform: translateY(-2px);
}


/*BOTÃO VOLTAR AO TOPO*/
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 1.4rem;
    text-decoration: none;
    transition:
        transform .2s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: #000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}


/*RESPONSIVIDADE*/
@media (max-width: 720px) {

    .hero {
        background-image: url("img/background-hero-image-mobile.jpg");
        background-size: cover;
        background-position: center;
        height: 80vh;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 0 20px 140px;
    }

    .hero-text {
        width: 100%;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
        line-height: 1.4;
    }

    .historia-title {
        font-size: 2.2rem;
    }

    .historia-grid {
        gap: 20px;
    }


    .theme-slider {
        width: 50px;
        height: 28px;
    }

    .theme-slider::after {
        width: 18px;
        height: 18px;
        transform: none;
    }

    .quiz-section {
        background-image: url("img/background-strong-image-mobile.jpg");
        background-size: cover;
        background-position: center;
    }

    .music-menu {
        width: 240px;
        padding: 10px;
    }

    .music-toggle {
        width: 48px;
        height: 48px;
    }

    .music-toggle img {
        width: 22px;
        height: 22px;
    }

    .footer-social-floating img {
        width: 31px;
        height: 31px;
        opacity: 0.9;
        transition: .25s ease;
    }

    .footer-content h1 {
        font-size: 4.2rem;
    }

    footer p {
        text-align: center;
    }

    .icones-section {
        background-image: url("img/background-icon-image-mobile.jpg");
        background-size: cover;
        background-position: center;
    }

    /*Carrossel horizontal na seção galeria */
    .galeria-container {
        display: flex;
        overflow-x: auto;
        gap: 18px;
        padding: 20px 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        grid-template-columns: none;
    }

    .galeria-card {
        min-width: 240px;
        height: 340px;
        flex-shrink: 0;
        scroll-snap-align: center;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid var(--border);
        background: var(--card);
    }

    .galeria-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .shortcut {
        display: none;
    }

    .share-btn {
        width: 28px;
        height: 28px;
        top: 10px;
        right: 10px;
        padding: 5px;
    }

    .share-btn img {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 360px) {

    .footer-content h1 {
        font-size: 4.0rem;
    }
}