:root {
    /* Cores */
    --color-bg: #08000f; /* roxo/950 */
    --color-surface: #13002a; /* roxo/900 */
    --color-primary: #7c3aed; /* violeta/600 */
    --color-primary-light: #a78bfa; /* violeta/400 */
    --color-accent: #f97316; /* laranja/500 */
    --color-accent-soft: #fdba74; /* laranja/300 */
    --color-text: #f3f4f6; /* cinza/100 */
    --color-muted: #c4b5fd; /* violeta/300 */
    --color-white: #ffffff;
    --color-accent-hover: #ea6c0e; /* laranja/600 */

    /* Tipografia */
    --font-display: 'Barlow Condensed', sans-serif;
    --font-body: 'Barlow', sans-serif;

    /* Altura do Header */
    --header-height: 64px;

    /* Sobrescreve Bootstrap com o tema */
    --bs-body-bg: var(--color-bg);
    --bs-body-color: var(--color-text);
    --bs-link-color: var(--color-primary-light);
    --bs-link-hover-color: var(--color-white);
    --bs-border-color: rgba(124, 58, 237, .2);
    --bs-border-radius: .75rem; /*12px*/
    --bs-border-radius-lg: 1rem; /*16px*/
    --bs-border-radius-xl: 1.5rem; /*24px*/
}

html {
    scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.625; 
    color: var(--color-text);
    background-color: var(--color-bg);
    background-image: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(124, 58, 237, .18), transparent);
    background-repeat: no-repeat;
}

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background: linear-gradient(-135deg, rgba(19, 0, 42, .95), rgba(8, 0, 15, 1));
        opacity: .8;
    }

/* Títulos: Barlow Condensed 900 caixa alta */
.display-font {
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: 1;
}

.titulo-secao {
    font-size: 3.75rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   CABEÇALHO 
   ========================================================================== */

.nav-glass {
    background-color: rgba(8, 0, 15, .85);
    border-bottom: 1px solid rgba(124, 58, 237, .2);
}

.nav-inner {
    min-height: var(--header-height); 
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin: 0;
}

.nav-link-theme {
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.428; 
    color: var(--color-muted) !important;
    padding: .5rem .75rem !important;
}

    .nav-link-theme:hover,
    .nav-link-theme:focus-visible {
        color: var(--color-primary-light) !important;
    }

.navbar-toggler[disabled],
.navbar-toggler[aria-disabled="true"],
.btn[disabled],
.btn[aria-disabled="true"] {
    pointer-events: none;
    opacity: 1;
}

.hamburger {
    padding: .35rem .6rem;
}

:root {
    --btn-accent-fg: var(--color-white);
}

/* ==========================================================================
   BOTÕES PADRÕES 
   ========================================================================== */

.btn-primary {
    --bs-btn-font-family: var(--font-display);
    --bs-btn-font-weight: 700;
    --bs-btn-font-size: 1rem; /* Botão/16 */
    --bs-btn-letter-spacing: .05em;
    --bs-btn-color: var(--color-white);
    --bs-btn-bg: var(--color-primary);
    --bs-btn-border-color: var(--color-primary);
    --bs-btn-hover-color: var(--color-white);
    --bs-btn-hover-bg: var(--color-primary-light);
    --bs-btn-hover-border-color: var(--color-primary-light);
    --bs-btn-active-bg: var(--color-primary-light);
    --bs-btn-active-border-color: var(--color-primary-light);
    --bs-btn-disabled-bg: rgba(124, 58, 237, .4);
    --bs-btn-disabled-border-color: rgba(124, 58, 237, .4);
    text-transform: uppercase;
    border-radius: .75rem;
    box-shadow: 0 0 16px rgba(124, 58, 237, .4); 
    transition: box-shadow .2s ease, background-color .2s ease;
}

    .btn-primary:hover {
        box-shadow: 0 0 20px rgba(124, 58, 237, .5); 
    }

.btn-accent {
    --bs-btn-font-family: var(--font-display);
    --bs-btn-font-weight: 600;
    --bs-btn-font-size: .75rem;
    --bs-btn-letter-spacing: .5em;
    --bs-btn-color: var(--color-white);
    --bs-btn-bg: var(--color-accent);
    --bs-btn-border-color: var(--color-accent);
    --bs-btn-hover-color: var(--btn-accent-fg);
    --bs-btn-hover-bg: var(--color-accent-hover);
    --bs-btn-hover-border-color: var(--color-accent-hover);
    --bs-btn-active-bg: var(--color-accent-hover);
    --bs-btn-active-border-color: var(--color-accent-hover);
    text-transform: uppercase;
    border-radius: .75rem;
    transition: box-shadow .2s ease;
    padding-top: 20px;
    padding-bottom: 2px;
    letter-spacing: .1em;
}

    .btn-accent:hover {
        box-shadow: 0 0 20px rgba(249, 115, 22, .6);
        --bs-btn-color: var(--color-white);
    }

.btn-outline {
    --bs-btn-font-family: var(--font-display);
    --bs-btn-font-weight: 700;
    --bs-btn-font-size: .875rem; /* Botão/14 */
    --bs-btn-letter-spacing: .05em;
    --bs-btn-color: var(--color-primary-light);
    --bs-btn-bg: transparent;
    --bs-btn-border-color: rgba(124, 58, 237, .4); /* primary/40 */
    --bs-btn-hover-color: var(--color-primary-light);
    --bs-btn-hover-bg: rgba(124, 58, 237, .1); /* primary/10 */
    --bs-btn-hover-border-color: var(--color-primary-light);
    --bs-btn-active-color: var(--color-white);
    --bs-btn-active-bg: rgba(124, 58, 237, .2);
    --bs-btn-active-border-color: var(--color-primary-light);
    --bs-btn-disabled-color: rgba(196, 181, 253, .5);
    --bs-btn-disabled-border-color: rgba(124, 58, 237, .2);
    text-transform: uppercase;
    border-radius: .75rem; /* 12px */
    box-shadow: none;
    transition: box-shadow .2s ease, color .2s ease, background-color .2s ease;
}

    .btn-outline:hover {
        box-shadow: 0 0 16px rgba(124, 58, 237, .25);
    }



/* ==========================================================================
   RODAPÉ
   ========================================================================== */

.site-footer {
    background-color: var(--color-bg);
    border-top: 1px solid rgba(124, 58, 237, .15);
    padding-top: 55px;
}

@media (min-width: 640px) {
    .site-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.footer-inner {
    max-width: 1024px;
    margin: 0 auto;
}

.footer-block {
    text-align: left;
    word-break: break-word;
}

.footer-logo {
    display: block;
    margin-bottom: .25rem;
}

.footer-tagline {
    font-size: .875rem; /* Texto/14 */
    line-height: 1.428;
    color: var(--color-muted);
    margin: 0;
}

.footer-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem; /* 20px */
    letter-spacing: .02em;
    color: var(--color-white);
    margin: 0 0 .75rem;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .375rem; 
    font-size: .875rem; /* Texto/14 */
    line-height: 1.428;
    color: var(--color-muted);
}

.social-list {
    gap: .375rem; 
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    font-weight: 500;
    color: var(--color-muted);
    text-decoration: none;
    transition: color .15s ease;
}

    .social-link:hover,
    .social-link:focus-visible {
        color: var(--color-primary-light);
    }


.social-link:hover {
    color: var(--color-white);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid rgba(124, 58, 237, .15);
    text-align: center;
}

.footer-copy {
    margin: 0;
    font-size: .75rem; 
    line-height: 1.333;
    color: var(--color-muted);
}

@media (max-width: 767.98px) {
    .site-footer .footer-logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

.site-footer .footer-logo {
    display: inline-block;
    margin: 0;
}

.navbar-toggler .mdi {
    color: var(--color-muted);
    font-size: 1.25rem;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .site-footer .footer-inner {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .site-footer .footer-grid .footer-block {
        text-align: center;
    }

    .site-footer .footer-bottom .footer-copy {
        text-align: center;
    }
}

.site-footer .footer-grid .footer-block.text-md-end {
    text-align: right;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: calc(var(--header-height) + 3.5rem) 0 4rem;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(ellipse 50% 65% at 50% 25%, rgba(124, 58, 237, .25), transparent 75%);
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 56rem;
}

/* Tag */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    margin: 0 0 2rem;
    padding: .3125rem 1rem;
    font-size: .8125rem;
    font-weight: 500;
    color: var(--color-muted);
    background-color: rgba(124, 58, 237, .2);
    border: 1px solid rgba(124, 58, 237, .4);
    border-radius: 999px;
}

.hero-tag-dot {
    width: .375rem;
    height: .375rem;
    border-radius: 50%;
    background-color: var(--color-muted);
}

/* Logo como título */
.hero-title {
    margin: 0 0 1.5rem;
    line-height: 0;
}

.hero-logo {
    display: block;
    width: clamp(240px, 50vw, 470px);
    height: auto;
}

/* 3ª edição */
.hero-overline {
    margin: 0 0 1.25rem;
    font-size: .9375rem;
    font-weight: 500;
    color: var(--color-primary-light);
}

/* Subtítulo */
.hero-subtitle {
    margin: 0 0 1rem;
    font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-muted);
    text-wrap: balance;
}

/* Data e local */
.hero-info {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem 1.25rem;
    margin: 0 0 2rem;
    padding: 0;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-text);
}

    .hero-info li {
        display: inline-flex;
        align-items: center;
        gap: .375rem;
    }

    .hero-info .mdi {
        flex-shrink: 0;
        font-size: 1.125rem;
        color: var(--color-text);
    }

/* Botões */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-btn {
    --bs-btn-font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 2.875rem;
    padding: .625rem 1.75rem;
}

    .hero-btn.btn-outline {
        --bs-btn-font-size: .875rem;
        padding-inline: 1.25rem;
    }

/* Certificação */
.hero-cert {
    margin: 0;
    font-size: .875rem;
    color: var(--color-primary-light);
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
    .hero {
        padding: calc(var(--header-height) + 2.5rem) 0 2.5rem;
    }

    .hero-inner {
        padding-inline: 1.25rem;
    }

    .hero-tag {
        margin-bottom: 1.75rem;
        font-size: .8125rem;
    }

    .hero-title {
        margin-bottom: 1rem;
    }

    .hero-logo {
        width: min(72vw, 260px);
    }

    .hero-overline {
        margin-bottom: 1.5rem;
        font-size: .9375rem;
    }

    .hero-subtitle {
        margin-bottom: 1.25rem;
        font-size: 1.0625rem;
        line-height: 1.55;
        text-wrap: wrap; /* quebra natural, como na imagem */
    }

    .hero-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.75rem;
        font-size: .875rem;
    }

        .hero-info li {
            text-align: center;
        }

    .hero-actions {
        flex-direction: column;
        align-self: stretch;
        gap: .75rem;
    }

    .hero-btn {
        width: 100%;
        white-space: normal;
    }
}
/* Celulares baixos: compacta para caber em uma tela */
@media (max-width: 767.98px) and (max-height: 700px) {
    .hero {
        padding-top: calc(var(--header-height) + 1.5rem);
        padding-bottom: 1.5rem;
    }

    .hero-tag {
        margin-bottom: 1.25rem;
    }

    .hero-logo {
        width: 200px;
    }

    .hero-overline {
        margin-bottom: 1rem;
    }

    .hero-info {
        gap: .625rem;
        margin-bottom: 1.25rem;
    }
}
