/* Last update: May 04, 2026 – 18:20 */
/* ============================================================
   GitCourse Landing — CSS Exclusivo (Refatorado por Copilot)
   Last update: May 04, 2026
   ============================================================ */

/* ---------- 1. Estrutura Geral ---------- */

body {
    background: url('/gitcourse-frontend-v2/assets/images/waves.webp')
               center/cover no-repeat fixed;
    font-family: 'Victor Mono', monospace;
    color: #222;
}

#landing-root {
    width: 100%;
}

/* ---------- 2. Container Principal ---------- */

.main-container {
    background: rgba(255,255,255,0.75);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(31,38,135,0.25);
    margin: 40px auto;
    padding: 40px;
    max-width: 1100px;
    min-height: calc(100vh - 140px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* ---------- 3. Header ---------- */

.header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}

.git-logo-img {
    max-width: 150px;
}

.banner-message {
    font-size: 2rem;
    font-weight: 700;
}

.banner-submessage a {
    margin-right: 10px;
}

/* ---------- 4. Botões ---------- */

.btn-primary-landing {
    background: linear-gradient(135deg, #f14e32, #ff7a59);
    color: white;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
}

.btn-secondary-landing {
    background: rgba(255,255,255,0.2);
    border: 1px solid #f14e32;
    color: #f14e32;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 600;
}

/* ---------- 5. Grid Principal ---------- */

.grid-container {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.column1 {
    width: 60%;
}

.column2 {
    width: 40%;
}

/* ---------- 6. Navegação Interna ---------- */

.landing-nav ul {
    list-style: none;
    padding-left: 0;
}

.landing-nav ul li {
    margin-bottom: 8px;
}

.landing-nav a {
    color: #222;
    text-decoration: none;
    transition: 0.2s;
}

.landing-nav a:hover {
    color: #f14e32;
    padding-left: 6px;
}

/* ---------- 7. Parágrafos ---------- */

.landing-paragraph {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* ---------- 8. Accordion Acessível ---------- */

.accordion-item {
    margin-bottom: 12px;
}

.accordion-trigger {
    width: 100%;
    text-align: left;
    padding: 12px;
    background: rgba(255,255,255,0.6);
    border: none;
    border-left: 4px solid #f14e32;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.accordion-trigger:hover {
    background: rgba(255,255,255,0.9);
}

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.4s ease;
    padding-left: 10px;
}

.accordion-trigger[aria-expanded="true"] + .accordion-panel {
    max-height: 500px;
    opacity: 1;
    margin-top: 8px;
}


/* Ícones + e - no accordion */
.accordion-trigger {
    position: relative;
    padding-right: 35px; /* espaço para o ícone */
}

.accordion-trigger::after {
    content: "+";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    font-size: 1.2rem;
    color: #f14e32;
    transition: 0.2s ease;
}

.accordion-trigger[aria-expanded="true"]::after {
    content: "–"; /* travessão curto */
    font-size: 1.4rem;
}

/* Ícones SVG minimalistas no accordion */
.accordion-trigger {
    position: relative;
    padding-right: 40px; /* espaço para o ícone */
}

/* Ícone padrão: "+" */
.accordion-trigger::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: center;

    /* Ícone "+" minimalista */
    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' stroke='%23f14e32' stroke-width='2' stroke-linecap='round'>\
<line x1='8' y1='3' x2='8' y2='13'/>\
<line x1='3' y1='8' x2='13' y2='8'/>\
</svg>");
}

/* Ícone quando aberto: "-" */
.accordion-trigger[aria-expanded='true']::after {
    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' stroke='%23f14e32' stroke-width='2' stroke-linecap='round'>\
<line x1='3' y1='8' x2='13' y2='8'/>\
</svg>");
}



/* ---------- 9. Footer ---------- */

.site-footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background: rgba(255,255,255,0.75);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(31,38,135,0.25);
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.footer-logo {
    height: 20px;
    opacity: 0.8;
}

/* ---------- 10. Responsividade ---------- */

@media (max-width: 900px) {
    .grid-container {
        flex-direction: column;
    }
    .column1, .column2 {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    .banner-message {
        font-size: 1.4rem;
    }
    .banner-submessage a {
        display: block;
        margin: 10px auto;
        width: 85%;
    }
}

/* ==========================================================================
   Ajuste Fino do Módulo 16 (Jujutsu): Remove a bolinha e mantém o diamante
   ========================================================================== */
#acc-topic-15 ul {
    list-style-type: none !important; /* Desliga as bolinhas pretas padrão do navegador */
    padding-left: 0 !important;       /* Remove o recuo antigo da bolinha */
    margin-left: 5px !important;      /* Alinha o diamante perfeitamente à esquerda */
}

acc-topic-15 li {
    display: block !important;        /* Força o navegador a respeitar o fim da lista antiga */
    margin-bottom: 8px;               /* Dá um espaçamento agradável entre os diamantes */
}
