/*:root {
    --bg-color: #121212;
    --text-color: #FFFFFF;
    --accent-color: #00E676;
    --focus-color: #FFD600;
    --dropdown-bg: #1E1E1E;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f5f5f5;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--focus-color);
    color: #000;
    padding: 8px;
    z-index: 100;
    transition: top 0.2s;
    text-decoration: none;
    font-weight: bold;
}

.skip-link:focus {
    top: 0;
}

.accessible-header {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid var(--accent-color);
    position: relative;
}

.logo a {
    color: var(--text-color);
    font-size: 24px;
    text-decoration: none;
    font-weight: bold;
}

.logo a:focus {
    outline: 3px solid var(--focus-color);
}

/* Menu de navegação geral 
.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu a, .dropdown-btn {
    color: var(--text-color);
    text-decoration: none;
    font-size: 18px;
    padding: 8px 12px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu a:hover, .nav-menu a:focus, .dropdown-btn:hover, .dropdown-btn:focus {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    outline: 3px solid var(--focus-color);
}

/* Estrutura do Menu Suspenso (Dropdown) 
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dropdown-bg);
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.4);
    z-index: 10;
    flex-direction: column;
    gap: 0 !important;
    border: 1px solid #333;
}

/* Mostra o dropdown quando a classe 'open' é aplicada via JS 
.dropdown.open .dropdown-content {
    display: flex;
}

.dropdown-content a {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border-bottom: none;
}

/* Botão do Menu Hambúrguer (Escondido por padrão no Desktop) 
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 20;
}

.hamburger-btn:focus {
    outline: 3px solid var(--focus-color);
}

.hamburger-icon, .hamburger-icon::before, .hamburger-icon::after {
    display: block;
    width: 30px;
    height: 4px;
    background: var(--text-color);
    transition: all 0.3s;
    position: relative;
}

.hamburger-icon::before, .hamburger-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger-icon::before { top: -10px; }
.hamburger-icon::after { bottom: -10px; }

/* Animação do Hambúrguer quando aberto 
.hamburger-btn[aria-expanded="true"] .hamburger-icon { background: transparent; }
.hamburger-btn[aria-expanded="true"] .hamburger-icon::before { transform: rotate(45deg); top: 0; }
.hamburger-btn[aria-expanded="true"] .hamburger-icon::after { transform: rotate(-45deg); bottom: 0; }

.voice-btn {
    background-color: var(--accent-color);
    color: #000;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
}

.voice-btn:focus {
    outline: 3px solid var(--focus-color);
}

.status-alert {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    display: none;
    font-weight: bold;
    z-index: 100;
}

#conteudo-principal { padding: 40px; }

/* ================= RESPONSIVIDADE (MOBILE) ================= 
@media (max-width: 768px) {
    .hamburger-btn {
        display: block; /* Revela o botão hambúrguer 
    }

    .nav-menu {
        display: none; /* Esconde o menu original 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        border-bottom: 4px solid var(--accent-color);
        z-index: 15;
    }

    /* Mostra o menu quando o hambúrguer é ativado 
    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 10px 0;
    }

    .nav-menu li, .dropdown, .dropdown-btn, .nav-menu a {
        width: 100%;
    }

    .dropdown-content {
        position: relative;
        top: 0;
        box-shadow: none;
        background-color: #1a1a1a;
        padding-left: 20px;
    }
}

// https://piccalil.li/blog/a-modern-css-reset
//Modern CSS Reset Andy Bell

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
