/* Exclusão de conta do MemeHut — /delete-account
   Identidade: laranja #F95C3A e azul-marinho #020562, com temas claro/escuro. */

:root {
    --brand-orange: #f95c3a;
    --brand-orange-deep: #d1441f;
    --brand-orange-soft: #ffede7;
    --brand-blue: #020562;
    --brand-blue-light: #7c86ff;
    --brand-blue-soft: #e9eaf8;

    --bg: #ffffff;
    --surface: #f7f7f7;
    --surface-alt: #f3f3f3;
    --text: #111111;
    --muted: #6b6b6b;
    --border: #e5e5e5;
    --header-bg: rgba(255, 255, 255, 0.88);
    --danger: #dc2626;
    --danger-soft: #fee2e2;
    --success: #15803d;
    --success-soft: #dcfce7;
    --shadow: 0 18px 45px rgba(2, 5, 98, 0.12);
    --radius: 16px;
    --maxw: 760px;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #121212;
        --surface: #1c1c1c;
        --surface-alt: #1c1c1c;
        --text: #e5e5e5;
        --muted: #9c9c9c;
        --border: #3a3a3a;
        --header-bg: rgba(18, 18, 18, 0.88);
        --brand-orange-soft: #3a1f16;
        --brand-blue: #7c86ff;
        --brand-blue-soft: #171a3d;
        --danger: #f87171;
        --danger-soft: #3a1a1a;
        --success: #4ade80;
        --success-soft: #14301f;
        --shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    }
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand-blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--brand-orange);
    outline-offset: 2px;
    border-radius: 4px;
}

.shell {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Cabeçalho ---------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--header-bg);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    flex-wrap: wrap;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    font-size: 18px;
    padding: 6px 0;
}

.brand__logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.doc-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.doc-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.doc-nav__link:hover {
    color: var(--text);
    background: var(--surface);
}

/* Página ------------------------------------------------------------------- */

.page {
    max-width: var(--maxw);
    padding-top: 40px;
    padding-bottom: 64px;
}

.page__header {
    margin-bottom: 24px;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-orange);
    background: var(--brand-orange-soft);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.page__header h1 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.page__lead {
    margin-top: 12px;
    font-size: 17px;
    color: var(--muted);
}

/* Aviso -------------------------------------------------------------------- */

.notice {
    margin: 24px 0;
    padding: 20px 22px;
    border-radius: var(--radius);
    background: var(--brand-blue-soft);
    border-left: 4px solid var(--brand-blue);
}

.notice__title {
    font-size: 16px;
    margin-bottom: 10px;
}

.notice ul {
    margin-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.notice__meta {
    margin-top: 12px;
    font-size: 14px;
    color: var(--muted);
}

/* Cartões ------------------------------------------------------------------ */

.card {
    margin-top: 20px;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
}

.card--success {
    background: var(--success-soft);
    border-color: var(--success);
}

.card__title {
    font-size: 20px;
    margin-bottom: 8px;
}

.card__hint {
    color: var(--muted);
    margin-bottom: 16px;
}

/* Formulário --------------------------------------------------------------- */

.form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.field__input {
    min-height: 48px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
}

.field__input:focus {
    border-color: var(--brand-orange);
}

/* Botões ------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease, opacity 0.15s ease;
}

.btn--primary {
    background: var(--brand-orange);
    color: #111111;
}

.btn--primary:hover {
    background: var(--brand-orange-deep);
}

.btn--danger {
    background: var(--danger);
    color: #ffffff;
}

.btn--danger:hover {
    opacity: 0.9;
}

.btn:disabled {
    opacity: 0.6;
    cursor: default;
}

/* Separador / Google ------------------------------------------------------- */

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--muted);
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.google {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* O GIS renderiza camadas de divs com largura fixa (400px inline). Centraliza o
   botão em cada nível, sem esticá-lo. */
.google > div,
.google > div > div {
    display: flex;
    justify-content: center;
}

/* Feedback ----------------------------------------------------------------- */

.feedback {
    margin-top: 14px;
    font-size: 14px;
    min-height: 20px;
}

.feedback.is-error {
    color: var(--danger);
}

.feedback.is-ok {
    color: var(--success);
}

.account {
    margin: 8px 0 18px;
    font-size: 18px;
    font-weight: 700;
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn--ghost:hover {
    background: var(--surface);
    border-color: var(--brand-orange);
}

/* Passos / ações / tabela -------------------------------------------------- */

.steps {
    margin: 0 0 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.steps ul {
    margin: 6px 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 8px 0 12px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.data-table th,
.data-table td {
    text-align: left;
    vertical-align: top;
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
}

.data-table thead th {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.data-table tbody th {
    white-space: nowrap;
    color: var(--text);
}

.data-table tbody td {
    color: var(--muted);
}

/* Suporte ------------------------------------------------------------------ */

.support {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.support__title {
    font-size: 18px;
    margin-bottom: 8px;
}

.support p {
    color: var(--muted);
}

/* Rodapé ------------------------------------------------------------------- */

.site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    padding: 32px 0;
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

.site-footer__brand img {
    width: 28px;
    height: 28px;
}

.site-footer__links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.site-footer__links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.site-footer__links a:hover {
    color: var(--brand-orange);
}

.site-footer__copy {
    width: 100%;
    color: var(--muted);
    font-size: 13px;
    margin-top: 8px;
}

@media (max-width: 480px) {
    .brand__name {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
