/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #111;
    color: #eee;
    line-height: 1.6;
}

/* espaço para header fixo */
/* espaço para header fixo (ajustado para altura real do header) */
body { padding-top: 90px; }

/* Menu */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #000;
    color: #fff;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

nav {
    display: flex;
    justify-content: center; /* center header contents */
    align-items: center;
    padding: 15px 50px;
    gap: 20px; /* spacing between logo and menu */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: #eee;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    padding: 5px 10px;
    border-radius: 8px;
}

nav ul li a:hover {
    background-color: #ff6700;
    color: #fff;
    /* removed glow box-shadow to avoid color fade effect */
}

.logo {
    height: 50px;
    margin-right: 8px; /* small spacing to separate from menu when centered */
}


/* Seções */
section {
    padding: 80px 50px;
    min-height: auto;
    text-align: center;
}

/* Home */
#home {
    /* solid background to remove gradient/fade */
    background: #111;
}

#home h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ff6700;
    /* removed glow/text-shadow for a flatter heading */
}

#home p {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 15px;
}

.button {
    background-color: #ff6700;
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.18s ease;
    /* reduced shadow for a flatter appearance */
    box-shadow: 0 3px 10px rgba(0,0,0,0.35);
    margin-top: 10px;
}

.button:hover {
    background-color: #ff8533;
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

/* Quem Somos */
.cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.card {
    background-color: #1a1a1a;
    color: #eee;
    padding: 12px 15px;
    border-radius: 12px;
    width: 180px;
    text-align: center;
    transition: transform 0.4s, box-shadow 0.4s;
    box-shadow: 0 5px 15px rgba(255,103,0,0.2);
    margin-bottom: 15px;
}

.card:hover {
    transform: translateY(-8px);
    /* softened hover shadow to reduce warm glow */
    box-shadow: 0 8px 20px rgba(0,0,0,0.45);
}

.card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
    border: 2px solid #ff6700;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.card p {
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.card a {
    font-size: 0.9rem;
    margin-top: 5px;
    color: #ff6700;
    text-decoration: none;
    display: inline-block;
}

.card a:hover {
    text-decoration: underline;
}

/* Tema e Comunidade */
#tema, #comunidade {
    background: #111;
    padding-bottom: 50px;
}

h2 {
    color: #ff6700;
    font-size: 2rem;
    margin-bottom: 15px;
    /* removed heading glow/text-shadow for flatter look */
}

p {
    font-size: 1.1rem;
    margin-bottom: 12px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Animação fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Diagrama */
.diagram-container{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    margin-top:20px;
}
.diagram{
    max-width:90%;
    height:auto;
    border-radius:8px;
    box-shadow:0 8px 20px rgba(0,0,0,0.6);
    border:2px solid rgba(255,103,0,0.15);
}
.caption{
    font-size:0.95rem;
    color:#ccc;
}

/* Telas e protótipos (galeria) - usa o background padronizado */
#telas-prototipos {
    background: #1a1a1a; /* padronizado com outras sections */
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Padroniza cor de background das principais sections para cinza escuro */
#tema,
#produto-viavel-minimo,
#lista-tarefas,
#concluir-tarefa,
#telas-prototipos,
#comunidade,
#exemplos-cenario,
#diagrama,
#quem-somos,
#visitar-repositorio {
    background: #1a1a1a; /* cinza escuro padronizado */
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Produto viavel minimo (uses the standardized background above) */

/* Agrupa as seções relacionadas ao MVP para parecerem um bloco único */

/* end of previous grouping styles (removed to revert to earlier layout) */

/* Padrão visual para blocos/sections do site — aplica separação consistente entre blocos */
.task-block{
    background: #121212;
    padding: 18px;
    border-radius: 10px;
    min-width: 300px;
    max-width: 820px;
    margin: 0 auto 28px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,103,0,0.06);
    text-align: left;
}

.task-block ul{
    list-style: disc; /* keep bullets visible */
    padding-left: 1.2rem;
    line-height: 1.7;
}

.task-block ul li{ color: #ddd; margin-bottom: 10px; font-size: 1rem; }

#produto-viavel-minimo h3{
    margin-top: 18px;
    margin-bottom: 14px;
    color: #ff6700;
    font-size: 2rem;
    /* removed glow/text-shadow for a flatter header */
}

#produto-viavel-minimo ul{
    max-width: 820px;
    margin: 0 auto 28px;
    padding-left: 1.15rem;
    line-height: 1.8;
    display:flex;
    flex-direction:column;
    align-items:center; /* centraliza o bloco de itens */
    gap:8px;
}

/* Itens centralizados — texto centrado para melhor leitura dentro do bloco */
#produto-viavel-minimo ul li{
    margin-bottom: 0;
    text-align: center;
    list-style-position: inside;
    width: 100%;
}

/* Imagem do MVP, exibida logo após a lista */
.mvp-image{
    display:block;
    margin: 12px auto 36px;
    max-width: 920px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,103,0,0.06);
}

/* Imagem menor especificamente para a seção Concluir Tarefa */
#concluir-tarefa .mvp-image{
    max-width: 640px; /* reduzida para ficar visualmente menor */
}

/* Lista de Tarefas - seguir mesma apresentação centralizada de bullets */
#lista-tarefas ul{
    max-width: 820px;
    margin: 0 auto 28px;
    padding-left: 1.15rem;
    line-height: 1.8;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
}

#lista-tarefas ul li{
    margin-bottom: 0;
    text-align: center;
    list-style-position: inside;
    width: 100%;
}

/* Match heading style with Produto viavel minimo */
#lista-tarefas h3, #lista-tarefas h2{
    color: #ff6700;
    font-size: 2rem;
    margin-bottom: 15px;
    /* removed glow/text-shadow for consistency */
}

/* Lista de tarefas (uses the standardized background above) */



/* Carrossel de protótipos */
.prototype-carousel{
    position: relative;
    max-width: 980px;
    margin: 24px auto 0;
    padding: 0 52px 44px;
}

.carousel-track{
    position: relative;
    min-height: 520px;
}

.carousel-slide{
    display: none;
    background: #141414;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,103,0,0.06);
    animation: slideFade 0.4s ease;
}

.carousel-slide.active{
    display: block;
}

.carousel-slide img{
    width: 50%;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    display: block;
    object-fit: contain;
}

.carousel-slide figcaption{
    margin-top: 8px;
    color: #ddd;
    font-size: 0.95rem;
}

.carousel-btn{
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,103,0,0.9);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 2;
}

.carousel-btn.prev{ left: 4px; }
.carousel-btn.next{ right: 4px; }

.carousel-btn:hover{
    background: #ff8533;
}

.carousel-dots{
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.carousel-dot{
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: none;
    background: #666;
    cursor: pointer;
}

.carousel-dot.active{
    background: #ff6700;
}

@keyframes slideFade {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

@media (max-width: 520px){
    .prototype-carousel{
        padding: 0 8px 40px;
    }

    .carousel-track{
        min-height: 220px;
    }

    .carousel-btn{
        top: unset;
        bottom: -2px;
        transform: none;
        width: 34px;
        height: 34px;
    }

    .carousel-btn.prev{ left: 28%; }
    .carousel-btn.next{ right: 28%; }

    section { padding: 60px 18px; }
    /* Stack header items vertically on small screens */
    nav { flex-direction: column; gap: 10px; padding: 12px 18px; }
    nav ul { flex-wrap: wrap; justify-content: center; }
}
