:root {
    --bg-primary: #f0f0f0;
    --bg-secondary: #ffffff;
    --accent: #000000;
    --text-primary: #3c3c3c;
    --text-secondary: #787878;
    --text-inverse: #ffffff;
    --border-light: #d2d2d2;
    --border-medium: #b4b4b4;
    --shadow: rgba(0, 0, 0, 0.1);
    --accent-hover: #3c3c3c;
    --primary: #000;
    --primaryT: hsla(0,0%,0%,0.5);
    --transDur: 0.3s;
    --bg: #f0f0f0;
    --light: #d8dbe0;
    --dark: #28292c;
    --link: rgb(27, 129, 112);
    --link-hover: rgb(24, 94, 82);
    --download-bg: #000000;
    --download-bg-hover: #333333;
    --download-success: #00aa00;
}

body {
    margin: 0;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* Remove o destaque azul ao tocar em elementos no celular */
    -webkit-tap-highlight-color: transparent;
}

body.modo-escuro {
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --accent: #ffffff;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --text-inverse: #000000;
    --border-light: #333333;
    --border-medium: #555555;
    --shadow: rgba(0, 0, 0, 0.3);
    --accent-hover: #cccccc;
    --primary: #fff;
    --primaryT: hsla(0,0%,100%,0.5);
    --bg: #121212;
    --download-bg: #ffffff;
    --download-bg-hover: #cccccc;
    --download-success: #00aa00;
}

.fundo-animado {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    opacity: 1;
}

.blob-1 {
    width: 280px;
    height: 320px;
    top: -180px;
    left: -120px;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    background: #C4B454;
    animation: flutuar-1 22s ease-in-out infinite alternate;
}

.blob-2 {
    width: 350px;
    height: 300px;
    top: -140px;
    right: -160px;
    border-radius: 38% 62% 43% 57% / 48% 35% 65% 52%;
    background: #7A9B7F;
    animation: flutuar-2 26s ease-in-out infinite alternate;
}

.blob-3 {
    width: 320px;
    height: 380px;
    bottom: -220px;
    left: -140px;
    border-radius: 47% 53% 68% 32% / 62% 43% 57% 38%;
    background: #A39770;
    animation: flutuar-3 24s ease-in-out infinite alternate;
}

.blob-4 {
    width: 340px;
    height: 310px;
    bottom: -180px;
    right: -150px;
    border-radius: 57% 43% 37% 63% / 44% 58% 42% 56%;
    background: #6B8B6F;
    animation: flutuar-4 28s ease-in-out infinite alternate;
}

@keyframes flutuar-1 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, 30px) scale(1.08); }
    66% { transform: translate(-30px, 50px) scale(0.95); }
    100% { transform: translate(20px, -20px) scale(1.02); }
}

@keyframes flutuar-2 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-35px, 40px) scale(1.05); }
    66% { transform: translate(25px, 20px) scale(0.98); }
    100% { transform: translate(-15px, -25px) scale(1.03); }
}

@keyframes flutuar-3 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -40px) scale(1.06); }
    66% { transform: translate(-20px, -30px) scale(0.96); }
    100% { transform: translate(30px, 15px) scale(1.04); }
}

@keyframes flutuar-4 {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, -35px) scale(1.07); }
    66% { transform: translate(35px, -20px) scale(0.97); }
    100% { transform: translate(-25px, 25px) scale(1.01); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.conteudo-animado {
    opacity: 0;
    transform: translateY(30px);
    animation: aparecer 0.6s ease-out forwards;
}

.cabecalho {
    text-align: center;
    padding: 25px 20px;
    background-color: var(--accent);
    color: #ffffff;
    border-radius: 24px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px var(--shadow);
    animation-delay: 0.1s;
}

body.modo-escuro .cabecalho {
    background-color: var(--bg-primary);
    border: 2px solid #ffffff;
}

.cabecalho img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.cabecalho h1 {
    font-size: 2rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    color: #ffffff;
}

body.modo-escuro .cabecalho h1 {
    color: #ffffff;
}

.cabecalho-texto {
    max-width: 600px;
    margin: 0 auto;
}

.cabecalho-mensagem {
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    color: #ffffff;
}

body.modo-escuro .cabecalho-mensagem {
    color: #ffffff;
}

.cabecalho-data {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 8px 0;
    color: #ffffff;
}

body.modo-escuro .cabecalho-data {
    color: #ffffff;
}

body.modo-escuro .cabecalho-data strong {
    color: #ffffff;
}

.cabecalho-incentivo {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    color: #ffffff;
}

body.modo-escuro .cabecalho-incentivo {
    color: #ffffff;
    opacity: 0.9;
}

.seletor-semana {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    animation-delay: 0.2s;
    gap: 15px;
}

.botao-semana {
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--accent);
    background-color: var(--bg-secondary);
    color: var(--accent);
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.botao-semana:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.botao-semana.ativo {
    background-color: var(--accent);
    color: var(--text-inverse);
}

.lista-apps {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    transition: opacity 0.3s ease;
}

.cartao-app {
    background-color: var(--bg-secondary);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: aparecer 0.5s ease-out forwards;
}

body.modo-escuro .cartao-app {
    background-color: var(--bg-primary);
    border: 1px solid #ffffff;
}

.cartao-app:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px var(--shadow);
}

.cartao-app img.icone {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    margin-bottom: 16px;
    object-fit: cover;
}

.cartao-app h3 {
    margin: 0 0 8px;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.cartao-app .versao {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.cartao-app p {
    font-size: 1rem;
    color: var(--text-primary);
    flex-grow: 1;
}

.mensagem-vazia {
    text-align: center;
    padding: 40px 20px;
    font-size: 1.2rem;
    color: var(--text-secondary);
    background-color: var(--bg-secondary);
    border-radius: 16px;
    box-shadow: 0 2px 8px var(--shadow);
}

@keyframes aparecer {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-container {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.modal-container.modal-ativado {
    animation: fade-in 0.3s ease;
}

.modal-container.modal-fechando {
    animation: fade-out 0.6s ease forwards;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

.modal-conteudo {
    background-color: var(--bg-secondary);
    padding: 30px;
    border-radius: 24px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow-y: auto;
    max-height: 90vh;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

.modal-conteudo::-webkit-scrollbar {
    width: 8px;
}

.modal-conteudo::-webkit-scrollbar-track {
    background: transparent;
}

.modal-conteudo::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 10px;
    border: 2px solid var(--bg-secondary);
}

.modal-conteudo::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-hover);
}

.modal-container.modal-ativado .modal-conteudo {
    animation: tv-ligar 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.modal-container.modal-fechando .modal-conteudo {
    animation: tv-desligar 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes tv-ligar {
    0% { transform: scaleY(0.01) scaleX(1); filter: brightness(30); opacity: 1; }
    20% { transform: scaleY(0.01) scaleX(0.5); filter: brightness(10); }
    40% { transform: scaleY(0.8) scaleX(1); filter: brightness(2); }
    60% { transform: scaleY(1.05) scaleX(1); filter: brightness(1.5); }
    100% { transform: scaleY(1) scaleX(1); filter: brightness(1); opacity: 1; }
}

@keyframes tv-desligar {
    0% { transform: scaleY(1) scaleX(1); filter: brightness(1); opacity: 1; }
    40% { transform: scaleY(0.01) scaleX(1); filter: brightness(20); }
    70% { transform: scaleY(0.005) scaleX(0.5); filter: brightness(50); }
    100% { transform: scaleY(0) scaleX(0); filter: brightness(100); opacity: 0; }
}

.fechar-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    color: var(--text-secondary);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.fechar-modal:hover {
    color: var(--accent);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.modal-header img {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: cover;
}

.modal-header h2 {
    margin: 0;
    font-size: 2rem;
}

.modal-header .versao {
    margin: 5px 0 0;
    font-size: 1rem;
}

.modal-abas {
    display: flex;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 20px;
}

.modal-abas button {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.modal-abas button.aba-ativa {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.modal-conteudo-aba {
    display: none;
}

.modal-conteudo-aba.ativa {
    display: block;
    animation: fade-in 0.4s ease;
}

.modal-body p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 20px;
}

.modal-body a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.modal-body a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.modal-galeria {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-galeria img {
    max-width: 100%;
    width: 300px;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.botao-download {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-inverse);
    background-color: var(--accent);
    border-radius: 28px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
}

.botao-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow);
}

.icone-config-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100; /* AUMENTADO para ficar acima da barra lateral */
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 60px;
    height: 60px;
    user-select: none;
    -webkit-tap-highlight-color: transparent; /* Remove highlight azul no mobile */
    touch-action: manipulation; /* Melhora resposta ao toque */
}

.icone-config-container:active {
    transform: scale(0.95); /* Feedback visual no mobile */
}

.icone-config-container:hover {
    transform: scale(1.1);
}

.icone-config {
    background-color: var(--accent);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--shadow), 0 0 0 3px var(--bg-secondary);
    transition: all 0.3s ease;
    animation: pulsar 2s ease-in-out infinite;
    pointer-events: none; /* Garante que apenas o container recebe cliques */
}

body.modo-escuro .icone-config {
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2), 0 0 0 3px var(--bg-secondary);
}

.icone-config-container:hover .icone-config {
    box-shadow: 0 6px 25px var(--shadow), 0 0 0 5px var(--bg-secondary);
    transform: rotate(15deg);
}

.icone-config svg {
    width: 32px;
    height: 32px;
    color: var(--text-inverse);
}

.barra-lateral {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background-color: var(--bg-secondary);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.barra-lateral-ativada {
    right: 0;
}

body.modo-escuro .barra-lateral {
    background-color: var(--bg-primary);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    border-left: 1px solid #ffffff;
}

.barra-lateral-conteudo {
    padding: 20px;
}

.barra-lateral-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-light);
}

.barra-lateral-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.fechar-barra-lateral {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 20px;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fechar-barra-lateral:hover {
    color: var(--accent);
}

.barra-lateral-opcoes {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.opcao-barra-lateral {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 15px;
    border-radius: 12px;
    background-color: var(--bg-primary);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    gap: 10px;
}

body.modo-escuro .opcao-barra-lateral {
    background-color: var(--bg-secondary);
}

.opcao-barra-lateral:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow);
}

.opcao-texto h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.opcao-texto p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-switch-track {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 26px;
}

.theme-switch-thumb {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .theme-switch-track {
    background-color: #2196F3;
}

input:checked + .theme-switch-track + .theme-switch-thumb {
    transform: translateX(24px);
}

body.modo-escuro .theme-switch-track {
    background-color: #555;
}

.sobre-button {
    background-color: var(--accent);
    color: var(--text-inverse);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sobre-button:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.sobre-button svg {
    width: 20px;
    height: 20px;
}

body.modo-escuro .sobre-button {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.sobre-conteudo {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sobre-secao {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.sobre-secao:last-child {
    border-bottom: none;
}

.sobre-secao h3 {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 1.3rem;
}

.sobre-secao p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-primary);
}

.download-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding: 10px;
}

.download-label {
    background-color: transparent;
    border: 2px solid var(--download-bg);
    display: flex;
    align-items: center;
    border-radius: 50px;
    width: 140px;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 5px;
    position: relative;
}

body.modo-escuro .download-label {
    border-color: var(--download-bg);
}

.download-label::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-inverse);
    width: 8px;
    height: 8px;
    transition: all 0.4s ease;
    border-radius: 100%;
    margin: auto;
    opacity: 0;
    visibility: hidden;
}

.download-label .download-input {
    display: none;
}

.download-label .download-title {
    font-size: 17px;
    color: var(--accent);
    transition: all 0.4s ease;
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    margin: 0;
    white-space: nowrap;
}

body.modo-escuro .download-label .download-title {
    color: var(--download-bg);
}

.download-label .download-title:last-child {
    opacity: 0;
    visibility: hidden;
}

.download-label .download-circle {
    height: 45px;
    width: 45px;
    min-width: 45px;
    border-radius: 50%;
    background-color: var(--download-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    position: relative;
    box-shadow: 0 0 0 0 var(--text-inverse);
    overflow: hidden;
}

body.modo-escuro .download-label .download-circle {
    background-color: var(--download-bg);
}

.download-label .download-circle .download-icon {
    color: var(--text-inverse);
    width: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

body.modo-escuro .download-label .download-circle .download-icon {
    color: var(--text-primary);
}

.download-label .download-circle .download-square {
    aspect-ratio: 1;
    width: 15px;
    border-radius: 2px;
    background-color: var(--text-inverse);
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

body.modo-escuro .download-label .download-circle .download-square {
    background-color: var(--text-primary);
}

.download-label .download-circle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--download-bg-hover);
    width: 100%;
    height: 0;
    transition: all 0.4s ease;
}

body.modo-escuro .download-label .download-circle::before {
    background-color: #999999;
}

.download-label:has(.download-input:checked) {
    width: 57px;
    animation: installed 0.4s ease 3.5s forwards;
}

.download-label:has(.download-input:checked)::before {
    animation: rotate 3s ease-in-out 0.4s forwards;
}

.download-label .download-input:checked + .download-circle {
    animation:
        pulse 1s forwards,
        circleDelete 0.2s ease 3.5s forwards;
    rotate: 180deg;
}

.download-label .download-input:checked + .download-circle::before {
    animation: installing 3s ease-in-out forwards;
}

.download-label .download-input:checked + .download-circle .download-icon {
    opacity: 0;
    visibility: hidden;
}

.download-label .download-input:checked ~ .download-circle .download-square {
    opacity: 1;
    visibility: visible;
}

.download-label .download-input:checked ~ .download-title {
    opacity: 0;
    visibility: hidden;
}

.download-label .download-input:checked ~ .download-title:last-child {
    animation: showInstalledMessage 0.4s ease 3.5s forwards;
}

@keyframes pulse {
    0% {
        scale: 0.95;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        scale: 1;
        box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
    }
    100% {
        scale: 0.95;
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes installing {
    from {
        height: 0;
    }
    to {
        height: 100%;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(-90deg) translate(27px) rotate(0);
        opacity: 1;
        visibility: visible;
    }
    99% {
        transform: rotate(270deg) translate(27px) rotate(270deg);
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes installed {
    100% {
        width: 150px;
        border-color: var(--download-success);
    }
}

@keyframes circleDelete {
    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes showInstalledMessage {
    100% {
        opacity: 1;
        visibility: visible;
        left: 60px;
    }
}

@media (max-width: 768px) {
    .blob-1 { width: 200px; height: 220px; top: -120px; left: -80px; }
    .blob-2 { width: 250px; height: 210px; top: -90px; right: -100px; }
    .blob-3 { width: 220px; height: 260px; bottom: -140px; left: -90px; }
    .blob-4 { width: 240px; height: 220px; bottom: -120px; right: -100px; }

    .container {
        padding: 15px;
    }

    .cabecalho {
        padding: 20px 15px;
    }

    .cabecalho h1 {
        font-size: 1.8rem;
    }

    .cabecalho-mensagem {
        font-size: 1rem;
    }

    .cabecalho-data {
        font-size: 1.1rem;
    }

    .cabecalho-incentivo {
        font-size: 0.9rem;
    }

    .seletor-semana {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .lista-apps {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal-header {
        flex-direction: column;
        text-align: center;
    }

    .icone-config-container {
        top: 15px;
        right: 15px;
        width: 56px; /* Área de toque maior que o botão visível */
        height: 56px;
        z-index: 1100; /* Mantém acima de tudo */
    }

    .icone-config {
        width: 50px;
        height: 50px;
        margin: 3px; /* Centraliza dentro do container maior */
    }

    .icone-config svg {
        width: 26px;
        height: 26px;
    }

    .barra-lateral {
        width: 280px;
        right: -300px;
    }

    .barra-lateral-conteudo {
        padding: 15px;
    }

    .barra-lateral-header {
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .barra-lateral-header h3 {
        font-size: 1.3rem;
    }

    .opcao-barra-lateral {
        padding: 12px;
    }

    .opcao-texto h4 {
        font-size: 1rem;
    }

    .opcao-texto p {
        font-size: 0.8rem;
    }
}
