/* Reset básico e fontes */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    position: relative;
    z-index: 1;
}

/* MARCA D'ÁGUA COM OPACIDADE VIA CSS */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/logo.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 350px;
    opacity: 0.05;
    z-index: -1;
}

/* Containers */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 0;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    width: 100%;
}
footer .container {
    padding: 0 20px;
    display: block;
}

/* Estilo do Cabeçalho */
header {
    background: #333;
    color: #fff;
    padding: 10px 0;
    border-bottom: #77aaff 3px solid;
}
.header-logo {
    height: 150px;
    width: auto;
}
.header-tagline {
    text-align: center;
    color: white;
    font-size: 1.3em;
    font-weight: 600;
}
header nav {}
header ul { margin: 0; padding: 0; list-style: none; }
header li { display: inline; padding: 0 20px; }
header a { color: #fff; text-decoration: none; text-transform: uppercase; font-size: 16px; }

/* Layout Principal */
.page-body-container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    gap: 20px;
}
.sidebar {
    flex-basis: 220px;
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: fit-content;
}
.main-content {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.sidebar h3 { margin-top: 0; border-bottom: 2px solid #ddd; font-size: 1.2em; padding-bottom: 12px; margin-bottom: 15px; }
.sidebar-menu { list-style: none; padding: 0; margin: 0; }
.sidebar-menu li a {
    display: block; padding: 10px 15px; color: #555;
    text-decoration: none; border-radius: 5px;
    transition: background-color 0.3s ease;
    border-left: 4px solid transparent; font-weight: 500; margin-bottom: 5px;
}
.sidebar-menu li a:hover {
    background-color: #f5f5f5; color: #0056b3; border-left: 4px solid #77aaff;
}
.sidebar-menu li a.active {
    background-color: #e9efff; color: #0056b3; font-weight: bold; border-left: 4px solid #0056b3;
}
.content-header { border-bottom: 1px solid #eee; margin-bottom: 30px; padding-bottom: 20px; }
.content-header h2 { margin-bottom: 5px; }
.content-header p { color: #666; font-size: 1.1em; }
.section-divider { border: 0; height: 1px; background-color: #e0e0e0; margin: 40px 0; }
.skills-list { list-style: none; padding: 0; margin: 20px 0; }
.skills-list li {
    display: inline-block; background-color: #e9efff; color: #0056b3;
    font-weight: bold; padding: 8px 15px; margin: 5px;
    border-radius: 20px; font-size: 0.9em;
}

/* FILTROS DA PÁGINA DE MATERIAL */
.filter-section { background-color: #f9f9f9; padding: 25px; border-radius: 8px; border: 1px solid #ddd; }
.filter-group { margin-bottom: 20px; }
.filter-group label { display: block; margin-bottom: 8px; font-weight: bold; color: #333; }
.filter-group select { width: 100%; padding: 10px; border-radius: 5px; border: 1px solid #ccc; font-size: 16px; }
.filter-group select:disabled { background-color: #e9ecef; cursor: not-allowed; }
.download-area { margin-top: 30px; text-align: center; }
.download-button {
    display: inline-block; background: #007bff; color: #fff; padding: 10px 20px;
    text-decoration: none; border-radius: 5px; font-weight: bold;
}
.download-button.hidden { display: none; }

/* ESTILOS DO CARROSSEL */
.carousel-container { padding: 2rem 0; }
.carousel { position: relative; max-width: 900px; margin: 0 auto; }
.carousel__track-container { overflow: hidden; border-radius: 15px; }
.carousel__track { padding: 0; margin: 0; list-style: none; display: flex; transition: transform 250ms ease-in; }
.carousel__slide { position: relative; flex: 0 0 50%; padding: 0 10px; }
.carousel__card {
    display: block; height: 250px; background-color: #4a4a4a; color: white;
    text-decoration: none; border-radius: 10px; padding: 20px;
    display: flex; flex-direction: column; justify-content: space-between;
    transition: transform 150ms ease-in-out;
}
.carousel__card:hover { transform: scale(1.05); z-index: 10; }
.card__header { font-size: 0.8rem; color: #a0a0a0; text-transform: uppercase; }
.card__body h3 { margin: 10px 0; font-size: 1.4rem; color: #fff; }
.card__body p { font-size: 1rem; color: #d0d0d0; line-height: 1.4; }
.carousel__button {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5); border: 0; border-radius: 50%;
    width: 40px; height: 40px; cursor: pointer; z-index: 20;
}
.carousel__button--left { left: -20px; }
.carousel__button--right { right: -20px; }
.carousel__button img { width: 24px; filter: invert(1); }
.is-hidden { display: none; }


/* Estilos para o Simulador de Experimentos */
.simulator {
    display: grid;
    grid-template-areas: "controls results" "chart chart";
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    background-color: #f9f9f9;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.sim-controls { grid-area: controls; }
.sim-results { grid-area: results; }
.sim-chart-container { 
    grid-area: chart; 
    background-color: #fff; 
    padding: 15px; 
    border-radius: 8px;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.05);
}
.sim-controls h4, .sim-results h4 { margin-top: 0; border-bottom: 2px solid #ddd; padding-bottom: 10px; }
.input-group { margin-bottom: 15px; }
.input-group label { display: block; font-size: 0.9em; color: #555; margin-bottom: 5px; }
.input-group input { width: 95%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; font-size: 1em; }
#simulate-btn {
    width: 100%; padding: 12px; font-size: 1.1em; font-weight: bold;
    color: white; background-color: #007bff; border: none;
    border-radius: 5px; cursor: pointer; transition: background-color 0.2s ease;
}
#simulate-btn:hover { background-color: #0056b3; }
.sim-results p {
    background-color: #e9efff; padding: 10px;
    border-radius: 5px; border-left: 4px solid #007bff;
}

/* Estilos para a Foto de Perfil na Página Sobre */
.profile-picture-container {
    text-align: center;
    margin: 40px 0;
}
.profile-picture {
    width: 200px; height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Rodapé */
footer { padding: 20px; margin-top: 20px; color: #fff; background-color: #333; text-align: center; }
.footer-social-links { margin-top: 10px; font-size: 0.9em; }
.footer-social-links a {
    color: #a0a0a0; text-decoration: none;
    margin: 0 10px; transition: color 0.3s ease;
}
.footer-social-links a:hover { color: #ffffff; text-decoration: underline; }



/* ===== ESTILOS PARA BLOCOS DE CONTEÚDO (VERSÃO COMPLETA) ===== */

/* --- 1. Estilos Base --- */

.block-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px 0;
    overflow: auto; 
}

.block-card {
    display: flex;
    flex-direction: column;
    min-height: 220px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
    text-decoration: none;
    color: inherit;
    overflow: hidden; /* Garante que o rodapé não "vaze" */
}

.block-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.block-card__icon svg {
    color: #007bff;
    margin-bottom: 15px;
    width: 48px;
    height: 48px;
    transition: color 0.3s ease-in-out;
}

.block-card__title {
    font-size: 1.5em;
    margin: 10px 0;
    color: #333;
}

.block-card__desc {
    font-size: 1em;
    color: #666;
    line-height: 1.4;
}

/* --- 2. Estilos para Cards com Rodapé (Página Material) --- */

.layout-material .block-card {
    flex-grow: 1;
    flex-basis: 200px;
    max-width: calc(40% - 30px);
    justify-content: space-between;
    text-align: center;
}

.card-main-link {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 30px;
    padding-bottom: 20px;
    flex-grow: 1;
}

.block-card__footer {
    padding: 15px 30px;
    border-top: 1px solid #f0f0f0;
    background-color: #f9f9f9;
    text-align: center;
}

.code-link {
    font-size: 0.9em;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
}

.code-link:hover {
    text-decoration: underline;
}


/* --- 3. Estilos para Cards Simples (Página Experimentos) --- */

.layout-experimentos .block-card {
    flex-grow: 1;
    flex-basis: 250px; 
    max-width: calc(40% - 30px);
    justify-content: center;
    text-align: center;
    padding: 30px;
    /* Estética aprimorada */
    background: linear-gradient(to bottom, #ffffff, #f7f9fc);
    border: 1px solid #e8e8e8;
}

.layout-experimentos .block-card:hover {
    border-color: #77aaff;
}

.layout-experimentos .block-card:hover .block-card__icon svg {
    color: #0056b3;
}


/* ===== ESTILOS PARA A LISTA DE RESULTADOS DOS FILTROS ===== */

.results-list {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.results-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.results-link-list li {
    margin-bottom: 10px;
}

.results-link-list a {
    display: block;
    text-decoration: none;
    color: #0056b3;
    font-weight: bold;
    background-color: #e9efff;
    padding: 10px 15px;
    border-radius: 5px;
    border-left: 4px solid #77aaff;
    transition: background-color 0.2s ease, border-left-color 0.2s ease;
}

.results-link-list a:hover {
    background-color: #d1e0ff;
    border-left-color: #0056b3;
}

.no-results {
    color: #666;
    font-style: italic;
    padding: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
}


/* Estilos para o Simulador de Experimentos */
.simulator {
    display: grid;
    grid-template-areas:
        "controls results"
        "chart chart";
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    background-color: #f9f9f9;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.sim-controls { grid-area: controls; }
.sim-results { grid-area: results; }
.sim-chart-container { 
    grid-area: chart; 
    background-color: #fff; 
    padding: 15px; 
    border-radius: 8px;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.05);
}

.sim-controls h4, .sim-results h4 {
    margin-top: 0;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    font-size: 0.9em;
    color: #555;
    margin-bottom: 5px;
}

.input-group input {
    width: 95%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

#simulate-btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    font-weight: bold;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#simulate-btn:hover {
    background-color: #0056b3;
}

.sim-results p {
    background-color: #e9efff;
    padding: 10px;
    border-radius: 5px;
    border-left: 4px solid #007bff;
    font-size: 0.95em;
}

.sim-results span {
    font-weight: bold;
}



/* ==========================================================================
   REGRAS PARA DESIGN RESPONSIVO (TELAS PEQUENAS)
   ========================================================================== */

/* Aplica estes estilos quando a tela tem 768px de largura ou menos (tablets e celulares) */
@media (max-width: 768px) {

    /* 1. Ajusta o layout principal para uma única coluna */
    .page-body-container {
        flex-direction: column; /* Empilha o menu e o conteúdo */
    }

    /* 2. Ajusta o cabeçalho para telas pequenas */
    header .container {
        flex-direction: column; /* Empilha logo, slogan e menu */
        gap: 10px;
    }
    .header-tagline {
        font-size: 1em; /* Diminui um pouco a fonte do slogan */
    }

    /* 3. Faz os blocos de conteúdo ocuparem a largura total */
    .layout-experimentos .block-card,
    .layout-material .block-card {
        max-width: 90%; /* Faz o card ocupar quase toda a largura */
        flex-basis: auto; /* Permite que a largura seja flexível */
    }

    /* 4. Faz o carrossel mostrar um slide por vez */
    .carousel__slide {
        flex: 0 0 100%; /* Cada slide ocupa 100% da largura do container */
    }
    .carousel__button {
        /* Move os botões para dentro para não saírem da tela */
        left: 5px;
    }
    .carousel__button--right {
        right: 5px;
    }

    /* 5. Ajusta o simulador para uma única coluna */
    .simulator {
        grid-template-columns: 1fr; /* Muda o grid para 1 coluna */
        grid-template-areas:
            "controls"
            "results"
            "chart";
    }

    /* 6. Ajusta o tamanho da foto de perfil */
    .profile-picture {
        width: 150px;
        height: 150px;
    }
}




/* Reset básico e fontes */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    position: relative;
    z-index: 1;
}

/* MARCA D'ÁGUA */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url('../images/logo.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 350px;
    opacity: 0.05;
    z-index: -1;
}

/* Containers */
.container {
    width: 90%; max-width: 1200px;
    margin: auto; overflow: hidden; padding: 0;
}
header .container {
    display: flex; align-items: center;
    justify-content: space-between; padding: 0 20px; width: 100%;
}
footer .container { padding: 0 20px; display: block; }

/* Cabeçalho */
header {
    background: #333; color: #fff;
    padding: 10px 0; border-bottom: #77aaff 3px solid;
}
.header-logo { height: 40px; width: auto; }
.header-tagline {
    text-align: center; color: white;
    font-size: 1.3em; font-weight: 600;
}
header nav {}
header ul { margin: 0; padding: 0; list-style: none; }
header li { display: inline; padding: 0 20px; }
header a { color: #fff; text-decoration: none; text-transform: uppercase; font-size: 16px; }

/* Layout Principal */
.page-body-container {
    display: flex; width: 90%; max-width: 1200px;
    margin: 20px auto; gap: 20px;
}
.sidebar {
    flex-basis: 220px; flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 20px; border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: fit-content;
}
.main-content {
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 30px; border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.sidebar h3 { margin-top: 0; border-bottom: 2px solid #ddd; font-size: 1.2em; padding-bottom: 12px; margin-bottom: 15px; }
.sidebar-menu { list-style: none; padding: 0; margin: 0; }
.sidebar-menu li a {
    display: block; padding: 10px 15px; color: #555;
    text-decoration: none; border-radius: 5px;
    transition: background-color 0.3s ease;
    border-left: 4px solid transparent; font-weight: 500; margin-bottom: 5px;
}
.sidebar-menu li a:hover {
    background-color: #f5f5f5; color: #0056b3; border-left: 4px solid #77aaff;
}
.sidebar-menu li a.active {
    background-color: #e9efff; color: #0056b3; font-weight: bold; border-left: 4px solid #0056b3;
}
.content-header { border-bottom: 1px solid #eee; margin-bottom: 30px; padding-bottom: 20px; }
.content-header h2 { margin-bottom: 5px; }
.content-header p { color: #666; font-size: 1.1em; }
.section-divider { border: 0; height: 1px; background-color: #e0e0e0; margin: 40px 0; }
.skills-list { list-style: none; padding: 0; margin: 20px 0; }
.skills-list li {
    display: inline-block; background-color: #e9efff; color: #0056b3;
    font-weight: bold; padding: 8px 15px; margin: 5px;
    border-radius: 20px; font-size: 0.9em;
}

/* FILTROS DE PÁGINAS */
.filter-section { background-color: #f9f9f9; padding: 25px; border-radius: 8px; border: 1px solid #ddd; }
.filter-group { margin-bottom: 20px; }
.filter-group label { display: block; margin-bottom: 8px; font-weight: bold; color: #333; }
.filter-group select { width: 100%; padding: 10px; border-radius: 5px; border: 1px solid #ccc; font-size: 16px; }
.filter-group select:disabled { background-color: #e9ecef; cursor: not-allowed; }
.download-area { margin-top: 30px; text-align: center; }
.download-button {
    display: inline-block; background: #007bff; color: #fff; padding: 10px 20px;
    text-decoration: none; border-radius: 5px; font-weight: bold;
}
.download-button.hidden { display: none; }
.results-list { margin-top: 25px; padding-top: 20px; border-top: 1px solid #eee; }
.results-link-list { list-style: none; padding: 0; margin: 0; }
.results-link-list li { margin-bottom: 10px; }
.results-link-list a {
    display: block; text-decoration: none; color: #0056b3;
    font-weight: bold; background-color: #e9efff; padding: 10px 15px;
    border-radius: 5px; border-left: 4px solid #77aaff; transition: background-color 0.2s ease, border-left-color 0.2s ease;
}
.results-link-list a:hover { background-color: #d1e0ff; border-left-color: #0056b3; }
.no-results { color: #666; font-style: italic; padding: 10px; background-color: #f0f0f0; border-radius: 5px; }

/* ESTILOS PARA BLOCOS DE CONTEÚDO */
.block-grid {
    display: flex; justify-content: center;
    gap: 30px; flex-wrap: wrap; padding: 20px 0; overflow: auto; 
}
.block-card {
    display: flex; flex-direction: column; justify-content: center; text-align: center;
    min-height: 220px; background-color: #ffffff; border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); padding: 30px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
    text-decoration: none; color: inherit;
}
.block-card:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.block-card__icon svg { color: #007bff; margin-bottom: 15px; width: 48px; height: 48px; transition: color 0.3s ease-in-out; }
.block-card__title { font-size: 1.5em; margin: 10px 0; color: #333; }
.block-card__desc { font-size: 1em; color: #666; line-height: 1.4; }
.layout-experimentos .block-card, .layout-material .block-card {
    flex-grow: 1; flex-basis: 300px; max-width: calc(50% - 40px);
}
.layout-experimentos .block-card { background: linear-gradient(to bottom, #ffffff, #f7f9fc); border: 1px solid #e8e8e8; }
.layout-experimentos .block-card:hover { border-color: #77aaff; }
.layout-experimentos .block-card:hover .block-card__icon svg { color: #0056b3; }

/* ESTILOS DO CARROSSEL */
.carousel-container { padding: 2rem 0; }
.carousel { position: relative; max-width: 900px; margin: 0 auto; }
.carousel__track-container { overflow: hidden; border-radius: 15px; }
.carousel__track { padding: 0; margin: 0; list-style: none; display: flex; transition: transform 250ms ease-in; }
.carousel__slide { position: relative; flex: 0 0 50%; padding: 0 10px; }
.carousel__card {
    display: block; height: 250px; background-color: #4a4a4a; color: white;
    text-decoration: none; border-radius: 10px; padding: 20px;
    display: flex; flex-direction: column; justify-content: space-between;
    transition: transform 150ms ease-in-out;
}
.carousel__card:hover { transform: scale(1.05); z-index: 10; }
.card__header { font-size: 0.8rem; color: #a0a0a0; text-transform: uppercase; }
.card__body h3 { margin: 10px 0; font-size: 1.4rem; color: #fff; }
.card__body p { font-size: 1rem; color: #d0d0d0; line-height: 1.4; }
.carousel__button {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5); border: 0; border-radius: 50%;
    width: 40px; height: 40px; cursor: pointer; z-index: 20;
}
.carousel__button--left { left: -20px; }
.carousel__button--right { right: -20px; }
.carousel__button img { width: 24px; filter: invert(1); }
.is-hidden { display: none; }

/* Estilos para o Simulador de Experimentos */
.simulator {
    display: grid; grid-template-areas: "controls results" "chart chart";
    grid-template-columns: 1fr 1fr; gap: 25px; background-color: #f9f9f9;
    padding: 25px; border: 1px solid #ddd; border-radius: 8px;
}
.sim-controls { grid-area: controls; }
.sim-results { grid-area: results; }
.sim-chart-container { 
    grid-area: chart; background-color: #fff; padding: 15px; 
    border-radius: 8px; box-shadow: inset 0 1px 4px rgba(0,0,0,0.05);
}
.sim-controls h4, .sim-results h4 { margin-top: 0; border-bottom: 2px solid #ddd; padding-bottom: 10px; }
.input-group { margin-bottom: 15px; }
.input-group label { display: block; font-size: 0.9em; color: #555; margin-bottom: 5px; }
.input-group input { width: 95%; padding: 8px; border: 1px solid #ccc; border-radius: 4px; font-size: 1em; }
#simulate-btn {
    width: 100%; padding: 12px; font-size: 1.1em; font-weight: bold;
    color: white; background-color: #007bff; border: none;
    border-radius: 5px; cursor: pointer; transition: background-color 0.2s ease;
}
#simulate-btn:hover { background-color: #0056b3; }
.sim-results p {
    background-color: #e9efff; padding: 10px;
    border-radius: 5px; border-left: 4px solid #007bff;
}

/* Estilos para a Foto de Perfil na Página Sobre */
.profile-picture-container { text-align: center; margin: 40px 0; }
.profile-picture {
    width: 200px; height: 200px; border-radius: 50%;
    object-fit: cover; border: 5px solid #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Rodapé */
footer { padding: 20px; margin-top: 20px; color: #fff; background-color: #333; text-align: center; }
.footer-social-links { margin-top: 10px; font-size: 0.9em; }
.footer-social-links a { color: #a0a0a0; text-decoration: none; margin: 0 10px; transition: color 0.3s ease; }
.footer-social-links a:hover { color: #ffffff; text-decoration: underline; }

/* ==========================================================================
   ✅ REGRAS PARA DESIGN RESPONSIVO (TELAS PEQUENAS)
   ========================================================================== */
@media (max-width: 768px) {

    /* 1. Ajusta o layout principal para uma única coluna */
    .page-body-container {
        flex-direction: column;
        width: 95%; /* Ocupa mais espaço na tela */
    }

    /* 2. Ajusta o cabeçalho para telas pequenas */
    header .container {
        flex-direction: column;
        gap: 10px;
    }
    .header-tagline {
        font-size: 1em;
        padding: 0 10px; /* Evita que o texto encoste nas bordas */
    }
    header nav ul li {
        padding: 0 10px;
    }

    /* 3. Faz os blocos ocuparem a largura total */
    .layout-experimentos .block-card,
    .layout-material .block-card {
        max-width: 90%;
        flex-basis: auto;
    }
    
    /* 4. Faz o carrossel mostrar um slide por vez */
    .carousel__slide {
        flex: 0 0 100%;
    }
    .carousel__button--left {
        left: 5px;
    }
    .carousel__button--right {
        right: 5px;
    }

    /* 5. Ajusta o simulador para uma única coluna */
    .simulator {
        grid-template-columns: 1fr;
        grid-template-areas:
            "controls"
            "results"
            "chart";
    }

    /* 6. Ajusta o tamanho da foto de perfil */
    .profile-picture {
        width: 150px;
        height: 150px;
    }
}