/* ==================================================
   RESET
================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: sans-serif;
    background: #111318;
    overflow-x: hidden;
}

/* ==================================================
   ROOT
================================================== */

:root {

    --bg-primary: #111318;
    --bg-secondary: #1B1F27;
    --bg-card: #252A33;

    --color-primary: #3B82F6;
    --color-primary-light: #2563EB;

    --text-primary: #F5F7FA;
    --text-secondary: #B6BECC;

    --border-primary: #363D49;

    --gradient-primary:
        linear-gradient(135deg,
            #2563EB,
            #3B82F6,
            #60A5FA);

    --shadow-primary:
        0 0 25px rgba(59, 130, 246, 0.2);

    --transition:
        0.3s ease;
}

/* ==================================================
   ELEMENTOS GLOBAIS
================================================== */

img {
    width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

h1,
h2 {
    color: var(--text-primary);
}

h2 {
    font-size: 2rem;
    text-align: center;
}

p {
    color: var(--text-secondary);
}

li {
    list-style: none;
}

/* ==================================================
   HEADER
================================================== */

.header-container {

    width: 100%;
    height: 85px;

    padding: 0 25px;

    position: sticky;
    top: 0;
    z-index: 999;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(17, 19, 24, 0.85);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid var(--border-primary);
}

.logo-academia {
    width: 130px;
}

.btn-menu {

    display: flex;
    flex-direction: column;
    gap: 6px;

    background: transparent;
    border: none;

    cursor: pointer;
}

.btn-menu div {

    width: 30px;
    height: 2px;

    background: white;
    border-radius: 20px;
}

/* ==================================================
  MENU LATERAL
================================================== */
.aside-categories {

    width: min(350px, 80vw);
    min-height: 100vh;

    position: fixed;
    top: 85px;
    right: 0;

    padding: 30px 24px;

    display: flex;
    flex-direction: column;

    background: var(--bg-secondary);

    transform: translateX(100%);
    transition: transform .4s ease;

    z-index: 999;

    border-left: 1px solid var(--border-primary);
}

.aside-categories.open {
    transform: translateX(0);
}

.aside-categories ul {

    display: flex;
    flex-direction: column;
    gap: 35px;
}

.aside-categories a {

    position: relative;

    font-size: 1.4rem;
    color: var(--text-primary);

    transition: var(--transition);
}

.aside-categories a::after {

    content: "";

    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background: var(--color-primary);

    transition: var(--transition);
}

.aside-categories a:hover {

    color: var(--color-primary);
}

.aside-categories a:hover::after {
    width: 100%;
}

/* ==================================================
   WHATSAPP
================================================== */

.whatsapp {

    width: 60px;
    height: 60px;
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    border-radius: 50%;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 25px rgba(37, 211, 102, .35);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp i {
    font-size: 1.6rem;
    color: white;
}

.whatsapp:hover {
    transform: scale(1.1);
}

/* ==================================================
   FOOTER
================================================== */

footer {

    margin-top: 80px;
    padding: 50px 25px 30px;

    background: var(--bg-secondary);

    border-top: 1px solid var(--border-primary);
}

.infos-extras {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    flex-direction: column;
    text-align: center;
}

footer img {
    width: 130px;
}

.redes-sociais {

    display: flex;
    gap: 20px;
}

.redes-sociais a {

    width: 50px;
    height: 50px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--bg-card);

    transition: var(--transition);
}

.redes-sociais a:hover {

    background: var(--color-primary);
    transform: translateY(-5px);
}

.redes-sociais i {

    font-size: 1.3rem;
    color: white;
}

.links-footer {

    display: flex;
    flex-direction: column;

    gap: 12px;
}

.links-footer a {

    color: var(--text-secondary);

    transition: var(--transition);
}

.links-footer a:hover {
    color: white;
}

hr {

    margin: 40px 0 20px;

    border: 1px solid var(--border-primary);
}

footer p {

    text-align: center;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .infos-extras {
        flex-direction: row;
        text-align: left;
    }
}