/* Estilo compartilhado das páginas públicas estáticas (suporte, termos, privacidade, renovação).
   Mantém o tema escuro do app. Logo SEM caixa branca: cod-logo.png foi desenhado para fundo
   escuro (as formas "O"/"D" são cinza-claro e ficam quase invisíveis sobre branco). */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, sans-serif;
    line-height: 1.6;
    color: #e8eaed;
    background: #0d1117;
    background-image: radial-gradient(circle at top left, rgba(29, 86, 153, 0.12), transparent 40%),
        radial-gradient(circle at bottom right, rgba(31, 185, 111, 0.1), transparent 40%);
    background-attachment: fixed;
    min-height: 100vh;
}

.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    min-height: 100vh;
}

/* Header --------------------------------------------------------------- */

header {
    text-align: center;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(139, 148, 158, 0.15);
}

.logo {
    width: 176px;
    margin: 0 auto 28px;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

h1 {
    font-size: 1.75em;
    font-weight: 700;
    color: #f0f2f4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

h1 .icon {
    width: 26px;
    height: 26px;
    color: #1FB96F;
    flex-shrink: 0;
}

.date,
.subtitle {
    font-size: 0.9em;
    color: #8b949e;
    margin-top: 8px;
}

/* Typography ------------------------------------------------------------ */

h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f0f2f4;
    margin-top: 36px;
    margin-bottom: 16px;
    font-size: 1.3em;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(139, 148, 158, 0.15);
}

h2 .icon,
h3 .icon,
h4 .icon {
    width: 20px;
    height: 20px;
    color: #1FB96F;
    flex-shrink: 0;
}

h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e8eaed;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.05em;
    font-weight: 600;
}

h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c9d1d9;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95em;
}

h4 .icon {
    width: 18px;
    height: 18px;
}

p {
    margin-bottom: 15px;
    color: #c9d1d9;
}

ul {
    list-style: none;
    margin: 10px 0 15px 0;
}

li {
    margin-bottom: 10px;
    padding-left: 18px;
    position: relative;
    color: #c9d1d9;
    line-height: 1.5;
}

li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(31, 185, 111, 0.5);
}

li:has(> svg.icon) {
    display: flex;
    gap: 10px;
    padding-left: 0;
}

li:has(> svg.icon)::before {
    content: none;
}

li .icon {
    width: 16px;
    height: 16px;
    color: #1FB96F;
    flex-shrink: 0;
    margin-top: 3px;
}

strong {
    color: #f0f2f4;
    font-weight: 600;
}

a {
    color: #5db8e6;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
    color: #1FB96F;
}

/* Callout boxes ---------------------------------------------------------- */

.highlight,
.warning,
.danger,
.section-box,
.contact {
    border-radius: 10px;
    padding: 18px 20px;
    margin: 18px 0;
}

.highlight {
    background: rgba(29, 86, 153, 0.12);
    border: 1px solid rgba(29, 86, 153, 0.3);
}

.warning {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.warning strong,
.danger strong {
    color: #f0f2f4;
}

.danger {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.section-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(139, 148, 158, 0.15);
}

.callout-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.callout-row .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.warning .callout-row .icon {
    color: #f59e0b;
}

.danger .callout-row .icon {
    color: #ef4444;
}

.contact {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(31, 185, 111, 0.25);
}

.contact h3 {
    margin-top: 0;
}

.contact-list {
    margin-top: 12px;
}

.contact-list li {
    align-items: center;
}

/* Footer ------------------------------------------------------------------ */

footer {
    text-align: center;
    padding: 28px 0 8px;
    color: #6e7681;
    font-size: 0.85em;
    border-top: 1px solid rgba(139, 148, 158, 0.15);
    margin-top: 40px;
}

footer a {
    color: #8b949e;
}

footer p {
    color: inherit;
    margin-bottom: 4px;
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 600px) {
    .container {
        padding: 32px 18px 24px;
    }

    .logo {
        width: 140px;
    }

    h1 {
        font-size: 1.4em;
    }

    h2 {
        font-size: 1.15em;
        margin-top: 28px;
    }

    p {
        text-align: left;
    }
}
