@charset "UTF-8";

/*====================
    Variáveis CSS
====================*/
:root {
    --cor-principal: #00e1ff;
    --cor-destaque: #ff7f50;
    --cor-fundo: #0a2a2e;
    --cor-fundo-hover: rgba(0, 30, 50, 0.35);
    --cor-texto: #e6f7ff;
    --cor-texto-alt: #ffffff;
    --cor-mark-verde: #00ff99;
    --cor-mark-amarelo: #fff200;
    --cor-shadow-light: 0 2px 10px #0004;
    --cor-shadow-hover: 0 6px 18px rgba(0,0,0,0.6);
    --cor-navbar-border: #00ffff;
    --cor-navbar-border-hover: rgba(0,255,255,0.1);
}

/*====================
    Reset e Estilos Base
====================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, sans-serif;
    background-color: rgba(0, 24, 27, 0.77);
    color: var(--cor-texto-alt);
    margin: 20px;
    line-height: 1.6;
}

/*====================
    Tipografia e Listas
====================*/
h1, h2, h3, h4, h5 {
    color: yellow;
    margin-bottom: 16px;
    scroll-margin-top: 90px;
}

h1 { text-align: center; }

.centralizado { text-align: center; }

h2:not(.exemplo-visual) {
    border-bottom: 2px solid var(--cor-destaque);
    padding-bottom: 6px;
    margin-top: 24px;
}

p.destaque {
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 1.05em;
    color: var(--cor-texto);
    background: rgba(0, 30, 50, 0.2);
    padding: 8px 12px;
    border-left: 4px solid var(--cor-destaque);
    border-right: 4px solid var(--cor-destaque);
    border-radius: 6px;
    text-shadow: 0 1px 2px #0006;
    transition: all 0.3s ease;
}

p.destaque:hover {
    background: var(--cor-fundo-hover);
    transform: translateX(2px);
}

/*====================
    Estilo de Listas
====================*/
ul, ol {
    margin: 0;
    padding: 0;
    list-style-position: inside;
}

.explicacao ul, .explicacao ol,
.complemento ul, .complemento ol {
    margin-left: 1.5em;
    margin-bottom: 16px;
    list-style-position: outside;
}

li { margin-bottom: 0.5em; }

.navbar ul { list-style: none; display: flex; justify-content: center; gap: 24px; }

.indice-simples ul { list-style: disc inside; padding-left: 0.5em; }

.redes-sociais {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/*====================
    Navegação
====================*/
nav.navbar {
    background: rgba(10, 42, 46, 0.95);
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border: 1px solid var(--cor-navbar-border);
    border-radius: 4px;
}
nav.navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 24px;
}
nav.navbar li { display: inline-block; position: relative; }
nav.navbar a {
    color: var(--cor-principal);
    font-weight: bold;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid var(--cor-navbar-border-hover);
}
nav.navbar a:hover {
    background: var(--cor-navbar-border-hover);
    color: #fff;
    border-color: var(--cor-navbar-border);
}

/*====================
    Blocos de Conteúdo
====================*/
.explicacao {
    background: var(--cor-fundo);
    border: 2px solid var(--cor-destaque);
    border-radius: 10px;
    padding: 20px;
    margin: 24px auto;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: var(--cor-shadow-light);
    text-align: left;
    overflow-x: hidden;
}

/* Exemplo Visual */
.exemplo-visual {
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 16px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Grid de cores para exemplos */
.cores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
    margin: 12px 0;
}

.cor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.cor-box {
    width: 100%;
    height: 60px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cor-label {
    font-size: 0.85em;
    text-align: center;
    word-break: break-word;
    max-width: 100%;
}

@media (max-width: 480px) {
    .cores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cor-box {
        height: 50px;
        font-size: 0.8em;
    }
    
    .cor-label {
        font-size: 0.75em;
    }
}
.exemplo-visual h2 { border: none; padding-bottom: 0; margin-top: 0; }
.treiner-content .exemplo-visual.verde,
.exemplo-visual.verde { background-color: #4cffb3; color: #000; }
.treiner-content .exemplo-visual.amarelo,
.exemplo-visual.amarelo { background-color: #fff700; color: #000; }
.exemplo-visual:hover { transform: scale(1.05); box-shadow: var(--cor-shadow-hover); }

/*====================
    Tabelas Responsivas
====================*/
.explicacao table {
    width: 100%;
    border-collapse: collapse;
    color: var(--cor-texto);
    table-layout: auto;
    word-wrap: break-word;
    font-size: 0.9em;
}

.explicacao th,
.explicacao td {
    padding: 6px;
    border: 2px solid var(--cor-destaque);
    text-align: left;
    white-space: normal;
    min-width: 60px;
}

/* Linhas alternadas e hover */
.explicacao tr:nth-child(even) { background: rgba(0,225,255,0.05); }
.explicacao tr:hover { background: rgba(0,225,255,0.15); transition: background-color 0.3s ease; }

/* Ajustes para telas médias e pequenas */
@media (max-width: 768px) {
    .explicacao table {
        font-size: 0.85em;
    }
    
    .explicacao th,
    .explicacao td {
        padding: 4px;
    }
}

@media (max-width: 480px) {
    .explicacao table {
        font-size: 0.75em;
    }
    
    .explicacao th,
    .explicacao td {
        padding: 3px;
    }
}

.explicacao tr:nth-child(even) { background: rgba(0, 225, 255, 0.05); }

.explicacao tr:hover { background: rgba(0, 225, 255, 0.15); transition: background-color 0.3s ease; }

@media (max-width: 480px) {
    .explicacao table {
        display: block;
        overflow-x: auto;
        width: 100%;
    }
    .explicacao th, .explicacao td {
        padding: 8px 6px;
        font-size: 0.85em;
    }
    .explicacao td {
        max-width: 120px;
        white-space: normal;
    }
}
/*====================
    Códigos e Marcações
====================*/
.exemplo-container { display: flex; gap: 20px; margin: 20px 0; }
.exemplo-codigos, .exemplo-renders { flex: 1; min-width: 45%; }
.exemplo-renders {
    background: var(--cor-fundo);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--cor-destaque);
}
@media (max-width: 768px) {
    .exemplo-container { flex-direction: column; }
    .exemplo-codigos, .exemplo-renders { min-width: 100%; }
}

pre {
    background-color: var(--cor-fundo);
    color: var(--cor-texto-alt);
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 10px #0006;
    line-height: 1.5em;
    font-family: 'Courier New', Courier, monospace;
    white-space: pre;
    overflow-x: auto;
    margin: 10px 0;
    width: 100%;
    font-size: 14px;
}
pre code { background: transparent; color: inherit; padding: 0; display: block; white-space: pre; overflow-x: auto; }

mark.verde { background-color: var(--cor-mark-verde); color: #000; padding: 2px 4px; }
mark.amarelo { background-color: var(--cor-mark-amarelo); color: #000; font-weight: bold; padding: 2px 4px; }

/*====================
    Imagens e Mídia
====================*/
/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    object-fit: contain;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid var(--cor-navbar-border);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,255,255,0.3);
}

.modal .close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: var(--cor-navbar-border);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--cor-navbar-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal .close:hover {
    color: #fff;
    background: rgba(0,255,255,0.2);
}

/* Figuras e Imagens */
.explicacao figure,
.complemento figure,
.card figure {
    text-align: center;
    margin: 20px auto;
}

.explicacao figure img,
.complemento figure img,
.card figure img {
    display: block;
    width: 30%;
    max-width: 200px;
    height: auto;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgb(0, 238, 255);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 auto;
}

.explicacao figure img.img-unica {
    max-width: 600px;
    width: 80%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.explicacao figure img.img-unica:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0,255,255,0.3);
}

.explicacao figure img:hover,
.complemento figure img:hover,
.card figure img:hover {
    transform: scale(1.05);
    box-shadow: var(--cor-shadow-hover);
}

/* Grade de vídeos */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* sempre 2 colunas */
    gap: 10px;
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    padding: 15px;
    background: var(--cor-fundo);
    border-radius: 12px;
}

/* Cada vídeo como link quadrado */
.video-grid a {
    display: block;
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* mantém proporção quadrada */
}

/* Miniaturas de vídeos */
.video-grid img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,255,255,0.2);
    transition: all 0.3s ease;
}

.video-grid a:hover img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,255,255,0.4);
}

/* Responsividade */
@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr); /* mantém 2 colunas no celular */
        gap: 8px;
        padding: 10px;
        width: 100%;
    }

    /* Galerias e Mídia */
    .galeria-imagens img,
    .galeria-videos video {
        max-width: 90%;
    }
}

/* Galeria de Imagens */
.galeria-imagens {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 32px 0;
}

.galeria-imagens img {
    max-width: 220px;
    flex: 1 1 calc(33% - 20px);
    min-width: 150px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-imagens img:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}


/* Amostras de cores */
.cores {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    vertical-align: middle;
    margin: 0 5px;
}

/* Elemento Video */
video {
    display: block;
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16/9;
    height: auto;
    margin: 16px auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    background: var(--cor-fundo);
    transition: transform 0.3s, box-shadow 0.3s;
}

video:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(0,255,255,0.25);
}

/* Container de iframes de vídeo */
.video-iframe {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    width: 100%;
}

.video-iframe iframe {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16/9;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.6);
    border: none;
    background: var(--cor-fundo);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Controles de Áudio */
audio {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgb(223,36,36);
    background-color: #0e1a2b;
    padding: 8px 12px;
    margin: 12px auto;
    outline: none;
    display: block;
}

audio::-webkit-media-controls-panel {
    background-color: #13e9e9;
    border-radius: 12px;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-volume-slider {
    filter: hue-rotate(30deg);
}

/*====================
    Componentes e Blocos
====================*/
.indice-simples {
    width: 100%;
    max-width: 340px;
    margin: 31px 0;
    padding: 0px 18px;
    color: #e79039;
    text-align: left;
    white-space: nowrap;
}

.indice-simples ul {
    list-style: disc inside;
    padding-left: 0.5em;
    margin: 0;
}

.indice-simples li {
    margin: 0;
}

.indice-simples a {
    color: var(--cor-principal);
    text-decoration: none;
    display: inline-block;
}

.indice-simples a:hover {
    text-decoration: underline;
}

.indice-simples h2 {
    margin-top: 0.5em;
    margin-bottom: 0.6em;
    padding-left: 15px;
    color: yellow;
    font-size: 1.3em;
    font-weight: bold;
    text-align: left;
}
/* Bloco de links — versão moderna e interativa */
.link-bloco {
    background: linear-gradient(135deg, rgba(0,225,255,0.06), rgba(155, 0, 255,0.02));
    color: var(--cor-texto-alt);
    padding: 18px 22px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.02);
    margin: 22px 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    line-height: 1.6;
    word-wrap: break-word;
    border: 1px solid rgba(0,225,255,0.12);
    transition: transform .24s ease, box-shadow .24s ease, background-color .24s ease;
    overflow: hidden;
}

/* efeito sutil ao passar o mouse no bloco (desktop) */
.link-bloco:hover,
.link-bloco:active {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,225,255,0.10);
}

/* estilo dos links internos — agora bem visíveis */
.link-bloco a,
.link-bloco a:link,
.link-bloco a:visited {
    display: inline-block;
    color: var(--cor-principal);
    text-decoration: underline; /* evidencia que é link */
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
    z-index: 1;
    transition: color .22s ease, transform .22s ease, text-shadow .22s ease;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer; /* reforça que é clicável */
}

/* fundo animado por baixo do link (pseudo-elemento) */
.link-bloco a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateX(-100%);
    width: 120%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,225,255,0.25), rgba(255,127,80,0.15));
    border-radius: 8px;
    transition: transform .36s cubic-bezier(.2,.9,.2,1), opacity .36s;
    opacity: 0;
    z-index: -1;
}

/* hover/focus/active no link — mais chamativo */
.link-bloco a:hover,
.link-bloco a:focus,
.link-bloco a:active {
    color: #fff;
    transform: translateY(-3px);
    text-shadow: 0 0 6px rgba(0,225,255,0.8); /* glow no hover */
    outline: none;
}

/* ativar animação do pseudo-elemento no hover/focus/active */
.link-bloco a:hover::before,
.link-bloco a:focus::before,
.link-bloco a:active::before {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
}

/* foco acessível */
.link-bloco a:focus {
    box-shadow: 0 0 0 4px rgba(0,225,255,0.12);
}

/* responsivo para telas muito pequenas */
@media (max-width:480px) {
    .link-bloco { padding: 14px 16px; border-radius:10px; }
    .link-bloco a { padding: 7px 10px; font-size:0.95rem; }
}

.proxima-aula {
    background: #1e2d3b;
    border: 2px solid #1eff00;
    border-radius: 10px;
    padding: 12px 15px;
    margin: 32px auto;
    max-width: 600px;
    color: #04fc2d;
    box-shadow: 0 2px 10px #0005;
    font-size: 1em;
    text-align: center;
    white-space: nowrap;
}

.proxima-aula a {
    color: rgb(237,253,14);
    text-decoration: none;
    font-weight: bold;
    margin: 0 4px;
    display: inline-block;
}

.proxima-aula a:hover {
    color: #fff;
    background: #9b04ff;
    border-radius: 4px;
    padding: 2px 6px;
}

/*====================
    Rodapé
====================*/
.roda-pe p {
    font-size: 0.9em;
    color: #c8c8c8;
    text-align: center;
    margin: 6px 0;
    line-height: 1.4;
    font-style: italic;
    transition: color 0.3s ease;
}

.roda-pe p a {
    color: #ffdd00;
    text-decoration: none;
    font-weight: bold;
}

.roda-pe p a:hover {
    color: #fff;
    text-decoration: underline;
}

.creditos {
    background: #232b36;
    border: 2px solid #143df0;
    border-radius: 10px;
    padding: 18px 20px;
    margin: 32px auto;
    max-width: 700px;
    color: #fff;
    box-shadow: 0 2px 10px #0005;
    text-align: center;
}

.creditos a {
    color: var(--cor-principal);
    text-decoration: underline;
}

.perfil-bloco {
    background: var(--cor-fundo);
    color: var(--cor-texto);
    padding: 20px;
    margin: 24px auto;
    border-radius: 12px;
    max-width: 800px;
    box-shadow: 0 0 15px rgba(0,255,255,0.3);
    font-family: Arial, sans-serif;
    overflow: hidden;
}
.perfil-bloco h2, .perfil-bloco h3 {
    color: var(--cor-principal);
    margin-top: 50px;
}
.perfil-bloco .icone-redondo {
    float: left;
    margin: 0 16px 12px 0;
    border-radius: 50%;
    border: 2px solid var(--cor-principal);
    width: 150px;
    height: 150px;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(0,0,0,0.45);
}
.perfil-bloco .redes-sociais {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.perfil-bloco .redes-sociais li {
    display: flex;
    align-items: center;
    gap: 12px;
    background: hsla(177, 88%, 52%, 0.349);
    padding: 10px 14px;
    border-radius: 8px;
    transition: background-color 0.3s;
}
.perfil-bloco .redes-sociais li:hover {
    background: rgba(18,236,236,0.15);
}
.perfil-bloco .redes-sociais img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
}
.perfil-bloco .redes-sociais a {
    color: var(--cor-principal);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}
.perfil-bloco .redes-sociais a:hover {
    color: #fff;
    text-decoration: underline;
}
.perfil-bloco hr {
    border: none;
    border-top: 2px solid #f3eeec;
    margin: 16px 10px 24px 10px;
    width: 100%;
    box-shadow: 0 2px 8px #0006;
}
.perfil-bloco p.destaque {
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 1.05em;
    color: var(--cor-texto);
    background: rgba(0, 30, 50, 0.2);
    padding: 8px 12px;
    border-left: 4px solid var(--cor-destaque);
    border-right: 4px solid var(--cor-destaque);
    border-radius: 6px;
    text-shadow: 0 1px 2px #0006;
    transition: all 0.3s ease;
}
.perfil-bloco p.destaque:hover {
    background: var(--cor-fundo-hover);
    transform: translateX(2px);
}
.perfil-bloco .link-bloco { 
    background-color: var(--cor-fundo);
    color: var(--cor-texto-alt);
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: var(--cor-shadow-light);
    margin: 20px 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95em;
    line-height: 1.5em;
    word-wrap: break-word;
}
.perfil-bloco .link-bloco a {
    color: var(--cor-principal);
    text-decoration: underline;
    font-weight: bold;
    transition: all 0.3s ease;
}
.perfil-bloco .link-bloco a:hover {
    color: #ffdd00;
    text-shadow: 0 1px 2px #0006;
    transform: translateY(-1px);
}

/*====================
    Responsividade
====================*/
@media (min-width: 1025px) {
    .container {
        max-width: 1200px;
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    body {
        margin: 15px;
    }

    .card,
    .complemento,
    .explicacao,
    .proxima-aula,
    .creditos {
        padding: 20px;
        margin: 20px auto;
        max-width: 90%;
    }

    

@media (max-width: 768px) {
    /* Ajustes de Layout Base */
    body {
        margin: 12px;
    }

    /* Navegação Responsiva */
    nav.navbar {
        padding: 6px 12px;
    }

    nav.navbar ul {
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    nav.navbar li {
        flex: 0 0 auto;
    }

    nav.navbar a {
        display: inline-block;
        white-space: nowrap;
        padding: 6px 12px;
        font-size: 0.85em;
    }

    /* Componentes */
    .proxima-aula {
        padding: 12px 10px;
    }

    .proxima-aula a {
        padding: 6px 12px;
        font-size: 0.95em;
        flex-shrink: 0;
    }

    /* Tipografia */
    h1, h2, h3, h4 {
        font-size: 1.1em;
    }

    p.destaque {
        font-size: 1em;
    }


    pre {
        margin: 10px -15px;
        padding: 15px;
        width: calc(100% + 30px);
        font-size: 14px;
    }

    /* Perfil */
    .perfil-bloco {
        padding: 15px;
    }

    .perfil-bloco .icone-redondo {
        float: none;
        margin: 0 auto 15px;
        display: block;
    }

    .perfil-bloco .redes-sociais li {
        padding: 8px 10px;
    }

    .perfil-bloco .redes-sociais img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    /* Ajustes de Layout Base */
    body {
        margin: 5px;
    }

    /* Tipografia */
    h1, h2, h3, h4 {
        font-size: 1em;
    }

    /* Blocos de Conteúdo */
    .explicacao {
        padding: 10px;
        margin: 10px auto;
    }

    pre {
        margin: 10px -10px;
        padding: 10px;
        width: calc(100% + 20px);
        font-size: 11px;
    }

}

@media (max-width: 320px) {
    /* Ajustes de Layout Base */
    body {
        margin: 3px;
    }

    .explicacao {
        padding: 8px;
    }

    pre {
        font-size: 10px;
    }
}

/* Ajustes específicos do rodapé para tablets e móveis */
@media (max-width: 768px) {
    .roda-pe p {
        font-size: 0.75em;
        margin: 2px 0;
        line-height: 1.2;
    }
}

/*====================
    Classes Utilitárias
====================*/
.hover-scale { transition: transform 0.3s ease; }
.hover-scale:hover { transform: scale(1.05); }
.shadow-light { box-shadow: var(--cor-shadow-light); }
.shadow-hover { box-shadow: var(--cor-shadow-hover); }

/* Override para exemplos de código inline */
.explicacao [style*="font-size"] {
    font-size: inherit !important;
}

.explicacao [style*="color"] {
    color: inherit !important;
}

/* Exceção apenas para os exemplos específicos de demonstração */
.explicacao .demo-inline [style*="font-size"],
.explicacao .demo-inline [style*="color"] {
    font-size: unset !important;
    color: unset !important;
}

/* Estilos para blocos de exemplo de código */
.exemplo-codigo {
    position: relative;
    padding: 1rem;
    margin: 1rem 0;
}

.exemplo-codigo pre {
    background: var(--cor-fundo);
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
}

.exemplo-codigo code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
}

/* Blocos de visualização */
.demo-verde {
    background-color: #4cffb3;
    color: #000;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.demo-amarelo {
    background-color: #fff700;
    color: #000;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.demo-verde:hover,
.demo-amarelo:hover {
    transform: scale(1.02);
    box-shadow: var(--cor-shadow-hover);
}

/* Seção de demonstração */
.demo-section {
    border: 1px solid var(--cor-destaque);
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    background: var(--cor-fundo);
}

.demo-section h2 {
    color: var(--cor-principal);
    margin-top: 0;
}

.demo-description {
    margin-bottom: 15px;
    line-height: 1.5;
    color: var(--cor-texto);}
}

@font-face {
    font-family: 'love';
    src: url('fonts/Mf Love Song.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
    @font-face {
        font-family: 'fitgirl';
        src: url('fonts/Filxgirl.TTF') format('truetype');
        font-weight: normal;
        font-style: normal;
        font-display: swap;
    }
    @font-face {
        font-family: 'angelia';
        src: url('fonts/Angelia Beauty.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
        font-display: swap;
    }
    @font-face {
        font-family: 'lovely';
        src: url('fonts/love story ttf.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
        font-display: swap;
    }
    .love { font-family: 'love', sans-serif; color: #E94E77; font-size: 2rem; }

    .fitgirl { font-family: 'fitgirl', sans-serif; color: #5edf4d; font-size: 1.8rem; }

    .angelia { font-family: 'angelia', cursive; color: #1E90FF; font-size: 1.8rem; }

    .lovely { font-family: 'lovely', cursive; color: #FF7F50; font-size: 1.8rem; }
    
    @media (max-width: 768px) {
    .love { font-size: 1.5rem; }
    .fitgirl { font-size: 1.7rem; }
    .angelia { font-size: 1.5rem; }
    .lovely { font-size: 1.2rem; }
    }

    @media (max-width: 480px) {
        .love { font-size: 1.2rem; }
        .fitgirl { font-size: 1.6rem; }
        .angelia { font-size: 1.2rem; }
        .lovely { font-size: 0.8rem; }
    }