/* Importação de Fonte */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
    height: auto;
    background-color: #051d49;
    color: white;
    text-align: center;
    overflow-x: hidden;
}

body {
    color: white;
    /* padding-top: 70px; */
    min-height: 100vh;
    width: 100%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* LIGHT MODE THEME */
body.light-mode {
    background: linear-gradient(180deg, rgba(51, 219, 137, 0.08) 0%, rgba(26, 54, 102, 0.05) 100%);
    color: #1a3666;
}

body.light-mode header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid rgba(51, 219, 137, 0.4);
}

body.light-mode .nav-link {
    color: #080808ff;
}

body.light-mode .nav-link:hover {
    color: #33DB89;
    background: rgba(51, 219, 137, 0.12);
}

body.light-mode .nav-link.active {
    color: #33DB89;
}

body.light-mode .nav-link::after {
    background: #33DB89;
}

body.light-mode .hero {
    background: linear-gradient(135deg, rgba(26, 54, 102, 0.85) 0%, rgba(51, 219, 137, 0.75) 100%);
}

body.light-mode .categories-section {
    background: rgba(26, 54, 102, 0.04);
}

body.light-mode .categories-title {
    color: #1a3666;
}

body.light-mode .category-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(26, 54, 102, 0.15);
}

body.light-mode .category-card:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(51, 219, 137, 0.5);
}

body.light-mode .category-name {
    color: #1a3666;
}

body.light-mode .category-count {
    color: rgba(26, 54, 102, 0.7);
}

body.light-mode .faq {
    background: #4d7982
}

body.light-mode .faq h2,
body.light-mode .faq p {
    color: #f7faffff;
}

body.light-mode .card-front {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(26, 54, 102, 0.2);
    color: #1a3666;
}

body.light-mode .card-front h3 {
    color: #060606ff;
    font-weight: 600;
}

body.light-mode .card-back {
    background: #ffffff;
    border: 1px solid rgba(26, 54, 102, 0.2);
    color: #1a3666;
}

body.light-mode .card-back p {
    color: #1a3666;
}

body.light-mode .dashboard-layout {
    background:#4d7982
}

body.light-mode .dashboard-list {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(26, 54, 102, 0.2);
    box-shadow: 0 2px 12px rgba(26, 54, 102, 0.08);
}

body.light-mode .dashboard-list h2 {
    color: #1a3666;
}

body.light-mode .dashboard-item {
    background: rgba(26, 54, 102, 0.06);
    color: #1a3666;
    border: 1px solid rgba(26, 54, 102, 0.15);
}

body.light-mode .dashboard-item:hover {
    background: rgba(26, 54, 102, 0.12);
    border-color: rgba(51, 219, 137, 0.4);
}

body.light-mode .dashboard-item.active {
    background: rgba(51, 219, 137, 0.2);
    border-color: rgba(51, 219, 137, 0.5);
}

body.light-mode .dashboard-header {
    color: #1a3666; 
}

body.light-mode .dashboard-content a {
    color: #1a3666;
}

body.light-mode .dashboard-content-area {
    background: rgba(255, 255, 255, 0.85);
    color: #1a3666;
    border: 1px solid rgba(26, 54, 102, 0.2);
    box-shadow: 0 2px 12px rgba(26, 54, 102, 0.08);
}

body.light-mode .dashboard-content-area h2 {
    color: #33DB89;
}

body.light-mode .dashboard-content-area h3 {
    color: #1a3666;
}

body.light-mode .dashboard-content-area p {
    background: rgba(51, 219, 137, 0.08);
    color: #1a3666;
    border-left: 3px solid #33DB89;
}

body.light-mode .theme-toggle {
    background: rgba(26, 54, 102, 0.08);
    border-color: rgba(26, 54, 102, 0.2);
}

body.light-mode .theme-icon {
    color: #1a3666;
}

body.light-mode .language-selector {
    background: rgba(26, 54, 102, 0.08);
}

body.light-mode .lang-button {
    color: rgba(26, 54, 102, 0.7);
}

body.light-mode .lang-button:hover {
    background: rgba(51, 219, 137, 0.15);
    color: #1a3666;
}

body.light-mode .lang-button.active {
    background: rgba(51, 219, 137, 0.25);
    color: #1a3666;
}

/* HEADER */
header {
    background-color: #051d49;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid rgba(43, 212, 111, 0.4);
    box-sizing: border-box;
}

.logo {
    position: relative;
    z-index: 1002;
    flex-shrink: 0;
    order: 1;
}

.logo img {
    height: 45px;
    max-width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
    order: 4;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

/* Header Controls (Theme + Language) */
.header-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1002;
    order: 3;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(51, 219, 137, 0.4);
}

.theme-icon {
    color: #ffffff;
    transition: all 0.3s ease;
}

.moon-icon {
    display: none;
}

body.light-mode .sun-icon {
    display: none;
}

body.light-mode .moon-icon {
    display: block;
}

.language-selector {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px;
}

.lang-button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.lang-button.active {
    background: rgba(51, 219, 137, 0.2);
    color: #33DB89;
}

/* Menu style: centered horizontal nav (matching provided image) */
.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  order: 2;
}

@media (min-width: 1201px) {
  .main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: auto;
    height: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
    top: auto;
  }
}

.nav-list {
  display: flex;
  gap: 14px; /* espaçamento reduzido entre itens */
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: flex;
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link:focus {
  color: #ffffff;
  background: rgba(51,219,137,0.12);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(51,219,137,0.08);
  font-weight: 600;
}

/* Underline indicator for active link */
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  bottom: 2px;
  height: 2px;
  width: 70%;
  background: #33DB89;
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Medium screens adjustment */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav-link {
    font-size: 14px;
    padding: 8px 14px;
  }
  
  .nav-list {
    gap: 8px;
  }
  
  header {
    padding: 15px 30px;
  }
}

/* Mobile Menu Responsive */
@media (max-width: 1200px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: rgba(5, 29, 73, 0.98);
    backdrop-filter: blur(10px);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 20px 0;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    transform: translateX(0);
    left: auto;
  }

  .main-nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .nav-list li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 16px 24px;
    text-align: left;
    border-radius: 0;
    font-size: 16px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    background: rgba(51, 219, 137, 0.15);
    border-left: 4px solid #33DB89;
  }

  header {
    padding: 12px 20px;
    flex-wrap: nowrap;
    gap: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    flex-shrink: 0;
    order: 1;
  }

  .header-controls {
    margin-left: auto;
    gap: 10px;
    order: 2;
  }

  .mobile-menu-toggle {
    flex-shrink: 0;
    order: 3;
  }

  body.light-mode header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(26, 54, 102, 0.1);
  }

  body.light-mode .main-nav {
    background: #ffffff;
    box-shadow: -2px 0 15px rgba(26, 54, 102, 0.15);
  }

  body.light-mode .nav-list li {
    border-bottom: 1px solid rgba(26, 54, 102, 0.1);
  }

  body.light-mode .nav-link {
    color: #1a3666;
  }

  body.light-mode .nav-link:hover {
    background: rgba(51, 219, 137, 0.12);
    color: #33DB89;
  }

  body.light-mode .nav-link.active {
    background: rgba(51, 219, 137, 0.15);
    border-left: 4px solid #33DB89;
  }

  body.light-mode .hamburger-line {
    background: #1a3666;
  }
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.search-container {
    display: flex;
    align-items: center;
    position: relative;
}

.input {
    width: 250px;
    height: 40px;
    padding-left: 40px;
    border-radius: 10px;
    border: none;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    max-width: 100%;
}

.input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-icon {
    position: absolute;
    left: 10px;
    fill: white;
    width: 20px;
    height: 20px;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, #051d49 0%, #214679 50%, #00e475 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    min-height: 60vh;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Hero do Catálogo - mais compacto */
.catalog-hero {
    min-height: 45vh;
    padding: 60px 40px;
}

.catalog-hero h1 {
    font-size: 36px;
    margin-top: 40px;
}

.hero-content {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    z-index: 2;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.3);
    margin: 10px;
    letter-spacing: -0.5px;
    margin-top: 80px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-top: 30px;
    text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.2);
}

.hero-search {
    display: flex;
    width: 100%;
    max-width: 700px;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.3s ease;
}

.hero-search:focus-within {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hero-input {
    flex: 1;
    border: none;
    padding: 18px 28px;
    font-size: 16px;
    color: #333;
    background: transparent;
    outline: none;
}

.hero-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.hero-search-btn {
    background: #051d49;
    color: white;
    border: none;
    padding: 18px 32px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.hero-search-btn:hover {
    background: #167877;
}

.search-icon-btn {
    width: 18px;
    height: 18px;
    fill: white;
}

/* SEARCH RESULTS */
.search-results {
    width: 100%;
    max-width: 900px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    max-height: 400px;
    overflow-y: auto;
}

.search-result-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(5, 29, 73, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: rgba(51, 219, 137, 0.1);
    border-color: rgba(51, 219, 137, 0.4);
    transform: translateX(5px);
}

.search-result-title {
    font-size: 16px;
    font-weight: 600;
    color: #051d49;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-result-title::before {
    content: '📊';
    font-size: 18px;
}

.search-result-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.keyword-tag {
    background: linear-gradient(135deg, #33DB89 0%, #2bd46f 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
/* 
.search-result-description {
    font-size: 13px;
    color: rgba(5, 29, 73, 0.7);
    margin-top: 6px;
    line-height: 1.5;
} */

.search-results-header {
    font-size: 14px;
    color: #051d49;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(51, 219, 137, 0.3);
}

body.light-mode .search-results {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(26, 54, 102, 0.15);
}

body.light-mode .search-result-item {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(26, 54, 102, 0.15);
}

body.light-mode .search-result-item:hover {
    background: rgba(51, 219, 137, 0.08);
    border-color: rgba(51, 219, 137, 0.3);
}


/* CATEGORIES SECTION */
.categories-section {
    background-color: #0a2540;
    padding: 80px 0;
    width: 100%;
    box-sizing: border-box;
}

.categories-container {
    max-width: 100%;
    margin: 0;
    padding: 0 40px;
}

.categories-title {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 40px;
    text-align: left;
    letter-spacing: -0.3px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(51, 219, 137, 0.3);
}

.category-card.selected {
    background: rgba(51, 219, 137, 0.1);
    border-color: rgba(51, 219, 137, 0.5);
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-info {
    flex: 1;
    min-width: 0;
}

.category-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
    letter-spacing: -0.2px;
}

.category-count {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-weight: 400;
}

/* Responsive categories */
@media (max-width: 768px) {
    .categories-section {
        padding: 60px 20px;
    }
    
    .categories-title {
        font-size: 26px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .category-card {
        padding: 20px;
    }
    
    .category-icon {
        width: 56px;
        height: 56px;
    }
    
    .category-name {
        font-size: 18px;
    }
}

/* FAQ SECTION */
.faq {
    background-color: #051d49;
    padding: 60px 40px 40px 40px;
    text-align: center;
    color: white;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.faq h2 {
    font-size: 28px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.faq p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Container de Cards */
.faq-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 50px auto;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    max-width: 1400px;
}

/* Estilização dos Cards */
.faq-card {
    width: calc(25% - 20px);
    height: 300px;
    perspective: 1200px;
    flex: 0 1 auto;
    min-width: 280px;
    max-width: 340px;
    box-sizing: border-box;
}

/* Telas grandes - 4 cards */
@media (min-width: 1201px) {
    .faq-card {
        width: calc(25% - 20px);
    }
}

/* Telas médias - 3 cards */
@media (max-width: 1200px) and (min-width: 901px) {
    .faq-container {
        max-width: 1000px;
    }
    
    .faq-card {
        width: calc(33.333% - 20px);
        min-width: 280px;
        max-width: 340px;
    }
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card-front {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%);
    color: #fff;
    transform: rotateY(0deg);
}

.card-front:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    border-color: rgba(51, 219, 137, 0.4);
    box-shadow: 0 12px 40px rgba(51, 219, 137, 0.15);
}

.card-back {
    background: linear-gradient(135deg, rgba(51, 219, 137, 0.12) 0%, rgba(51, 219, 137, 0.06) 100%);
    color: #fff;
    transform: rotateY(180deg);
    text-align: center;
    border-color: rgba(51, 219, 137, 0.3);
}

.card-front h3, .card-back p {
    font-size: 15px;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    font-weight: 500;
    color: #ffffff;
}

/* Ícone dentro do Card */
.faq-card-icon {
    height: 72px;
    margin-bottom: 16px;
    max-width: 100%;
    filter: drop-shadow(0 4px 12px rgba(51, 219, 137, 0.3));
}

/* Cabeçalho do Card */
.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-header h3 {
    font-size: 15px;
    color: white;
    margin: 6px 0;
    flex-grow: 1;
    letter-spacing: -0.3px;
    line-height: 1.2;
    word-spacing: -1px;
    font-weight: normal;
    text-transform: none;
}

/* Ícone de abrir/fechar */
.toggle-icon {
    display: inline-block;
    font-size: 22px;
    color: #33DB89;
    margin-left: 8px;
    transition: transform 0.3s;
    vertical-align: middle;
    cursor: pointer;
}
/* Conteúdo dos Cards */
.faq-content {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    padding: 0;
    width: 100%;
    max-width: 100%;
    line-height: 1.7;
    letter-spacing: 0px;
    font-weight: 400;
}   word-spacing: -1px;
}

/* Quando ativo, exibir resposta */
.faq-card.active .faq-content {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.faq-card.active .toggle-icon {
    transform: rotate(45deg);
}

h3{
    text-align: center;
    padding: 10px;
    margin-top: 10px;
}

li{
    padding: 5px;
    list-style: none;
}

p{
    text-align: center;
}

/* Animação */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* DASHBOARD LAYOUT */
.dashboard-layout {
    display: flex;
    flex-direction: row;
    gap: 24px;
    padding: 40px;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

.dashboard-list {
    width: 35%;
    min-width: 320px;
    background: hsla(215, 71%, 23%, 1.00);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-sizing: border-box;
}

.dashboard-list h2 {
    color: #ffffff;
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.dashboard-item {
    background: rgba(255, 255, 255, 0.05);
    margin: 8px 0;
    padding: 8px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.dashboard-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(51, 219, 137, 0.3);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 13px;
    color: #ffffff;
    line-height: 1.4;
}

.dashboard-header::before {
    content: '';
    margin-right: 0;
    font-size: 18px;
    opacity: 1;
}

.dashboard-content {
    display: none;
    padding: 15px 0 5px 0;
    text-align: left;
    background: transparent;
    border-radius: 8px;
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-content a {
    color: #fdfeff;
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    margin: 4px 0;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 15px;
    position: relative;
    padding-left: 30px;
}

.dashboard-content a::before {
    content: '→';
    position: absolute;
    left: 12px;
    color: #33DB89;
    font-weight: bold;
    transition: transform 0.2s ease;
    font-size: 16px;
}

.dashboard-content a:hover {
    color: #33DB89;
    background: rgba(51, 219, 137, 0.1);
    transform: translateX(5px);
}

.dashboard-content a:hover::before {
    transform: translateX(3px);
}

/* Exibir conteúdo quando ativo */
.dashboard-item.active {
    background: rgba(51, 219, 137, 0.1);
    border-color: rgba(51, 219, 137, 0.4);
}

.dashboard-item.active .dashboard-content {
    display: block;
}


.dashboard-content-area {
    flex: 1;
    background: linear-gradient(135deg, rgba(26, 54, 102, 0.4) 0%, rgba(5, 29, 73, 0.6) 100%);
    padding: 0;
    border-radius: 16px;
    color: white;
    text-align: left;
    min-height: 400px;
    border: 1px solid rgba(51, 219, 137, 0.2);
    box-sizing: border-box;
    overflow: hidden;
}

/* Header do Dashboard */
.dashboard-detail-header {
    /* background: linear-gradient(135deg, #2bd46f 0%, #1fa857 100%); */
    padding: 32px;
    text-align: center;
    border-bottom: 3px solid rgba(51, 219, 137, 0.3);
}

.dashboard-description {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin: 16px 32px;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

/* Seções de Detalhes */
.dashboard-details-section {
    padding: 24px 32px;
}

/* Botão de Acesso ao Dashboard */
.dashboard-access-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2bd46f 0%, #1fa857 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(43, 212, 111, 0.3);
    border: none;
}

.dashboard-access-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(43, 212, 111, 0.5);
}

.dashboard-access-section {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 24px;
}

/* Área de Feedback Moderna */
.feedback-section {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 32px;
    margin: 24px 32px 32px 32px;
    border: 1px solid rgba(51, 219, 137, 0.2);
}

.feedback-section > p:first-child {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    text-align: center;
}

/* Botão Flutuante Voltar ao Início - Pop-up */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #33DB89 0%, #2bd46f 100%);
    border: none;
    color: #ffffff;
    padding: 14px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(51, 219, 137, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    pointer-events: auto;
    user-select: none;
}

.back-to-top-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(51, 219, 137, 0.6);
    background: linear-gradient(135deg, #2bd46f 0%, #33DB89 100%);
}

.back-to-top-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(51, 219, 137, 0.5);
}

.back-to-top-btn svg {
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.back-to-top-btn span {
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

body.light-mode .back-to-top-btn {
    background: linear-gradient(135deg, #1a3666 0%, #0f2447 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(26, 54, 102, 0.4);
}

body.light-mode .back-to-top-btn:hover {
    background: linear-gradient(135deg, #0f2447 0%, #1a3666 100%);
    box-shadow: 0 12px 32px rgba(26, 54, 102, 0.6);
}

.dashboard-content-area h2 {
    font-size: 28px;
    color: #ffffff;
    text-align: center;
    margin: 18px 0 12px 0;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.dashboard-content-area p {
    margin: 8px 0;
    line-height: 1.8;
}

.dashboard-content-area h3 {
    color: #33DB89;
    font-size: 18px;
    margin: 28px 0 16px 0;
    text-align: left;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}

.dashboard-content-area h3:first-of-type {
    margin-top: 0;
}

.dashboard-content-area h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #33DB89 0%, #2bd46f 100%);
    border-radius: 2px;
}

.dashboard-content-area ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0 0 20px 0;
    display: grid;
    gap: 10px;
}

.dashboard-content-area li {
    margin-bottom: 0;
    padding: 14px 18px 14px 48px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
    /* color: rgba(255, 255, 255, 0.9); */
}

.dashboard-content-area li:hover {
    background: rgba(51, 219, 137, 0.12);
    border-color: rgba(51, 219, 137, 0.4);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(51, 219, 137, 0.15);
}

.dashboard-content-area li:before {
    /* content: '✔️'; */
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
}

.dashboard-content a:hover {
    color: rgba(60, 254, 6, 0.762);
}

/* Botão de Acesso ao Dashboard */
.dashboard-access-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2bd46f 0%, #1fa857 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(43, 212, 111, 0.3);
    border: none;
}

.dashboard-access-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(43, 212, 111, 0.5);
}

.dashboard-access-section {
    text-align: center;
    padding: 32px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 24px;
}

/* Área de Feedback Moderna */
.feedback-section {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 32px;
    margin: 24px 32px 32px 32px;
    border: 1px solid rgba(51, 219, 137, 0.2);
}

.feedback-section > p:first-child {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    text-align: center;
}

/* Botão Flutuante Voltar ao Início - Pop-up */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #33DB89 0%, #2bd46f 100%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(51, 219, 137, 0.4);
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.back-to-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(51, 219, 137, 0.6);
}

/* Botão Ver Todos */
.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2bd46f 0%, #1fa857 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(43, 212, 111, 0.3);
    border: none;
    cursor: pointer;
}

.view-all-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(43, 212, 111, 0.5);
    background: linear-gradient(135deg, #1fa857 0%, #2bd46f 100%);
}

/* FOOTER */
.rodape{
    padding: 60px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

body.light-mode .rodape {
    background: rgba(255, 255, 255, 0.95);
    color: #1a3666;
}

body.light-mode .rodape p {
    color: #1a3666;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    body {
        /* padding-top: 140px; */
    }
    .card-front,
    .card-back {
      height: 170px;
    }

    .card-front h3,
    .card-back p {
      font-size: 12px;
    }

    .faq-card-icon{
      height: 100px;
      margin-top: 0px;
    }

    /* Header adjustments */
    header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 12px 20px !important;
        gap: 12px !important;
    }

    .logo {
        order: 1 !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    .logo img {
        height: 32px;
    }

    .header-controls {
        order: 2 !important;
        margin-left: auto !important;
        gap: 10px !important;
    }

    .mobile-menu-toggle {
        order: 3 !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    .language-selector {
        padding: 3px;
    }

    .lang-button {
        padding: 6px 10px;
        font-size: 12px;
    }

    .logo img {
        height: 32px;
    }

    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin: 0;
        padding: 0;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    nav ul li {
        margin: 0 2px;
        list-style: none;
    }







    .search-container {
        display: flex;
        align-items: center;
        position: relative;
        margin: 10px 0;
        width: 100%;
        max-width: 300px;
    }

    .input {
        width: 100%;
        height: 35px;
        padding-left: 35px;
        border-radius: 8px;
        border: none;
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
        font-size: 14px;
    }

    .search-icon {
        position: absolute;
        left: 8px;
        fill: white;
        width: 16px;
        height: 16px;
    }
    .small-line{
      margin: 0px 30px;
    }

    /* Hero section adjustments */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 15px;
        min-height: 50vh;
        margin-top: 20px;
    }

    .hero h1 {
        font-size: 25px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-search {
        max-width: 100%;
    }

    .hero-input {
        font-size: 14px;
        padding: 14px 20px;
    }

    .hero-search-btn {
        font-size: 14px;
        padding: 14px 24px;
    }

    .content {
        width: 100%;
        text-align: center;
        padding: 10px;
    }

    .content h1 {
        font-size: 28px;
        line-height: 1.3;
        max-width: 100%;
        padding: 15px;
        border-radius: 8px;
        background-color: rgba(255, 0, 0, 0.1);
        margin: 20px auto;
        display: inline-block;
    }

    .image-container {
        display: none;
    }

    /* FAQ section adjustments */
    .faq {
        padding: 40px 20px;
    }

    .faq h2,
    .categories-title,
    .dashboard-content-area h2 {
        font-size: 18px;
    }

    .faq h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .faq p {
        font-size: 12px;
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .faq-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 15px;
        gap: 20px;
        width: 100%;
        max-width: 100%;
        margin: 30px auto;
    }

    .faq-card {
        width: 100% !important;
        min-width: auto !important;
        height: 240px;
        min-height: 240px;
        max-width: 380px !important;
        flex: 0 0 auto !important;
    }

    .faq-card.card {
        width: 100% !important;
        min-width: auto !important;
        max-width: 380px !important;
    }

    .card-front h3, .card-back p {
        font-size: 13px;
        width: 95%;
        padding: 10px;
        line-height: 1.4;
    }

    /* Dashboard layout adjustments */
    .dashboard-layout {
        flex-direction: column;
        align-items: center;
        padding: 10px;
        gap: 15px;
        width: 100%;
    }

    .dashboard-list {
        width: 100%;
        margin-bottom: 20px;
        padding: 20px;
        min-width: auto;
        border-radius: 12px;
    }

    .dashboard-list h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .dashboard-item {
        padding: 12px 15px;
        margin: 8px 0;
        border-radius: 10px;
    }

    .dashboard-header {
        font-size: 14px;
    }

    .categories-title {
        font-size: 20px;
    }

    .category-name {
        font-size: 14px;
    }

    .category-count {
        font-size: 12px;
    }

    .dashboard-header::before {
        font-size: 16px;
        margin-right: 8px;
    }

    .dashboard-content a {
        font-size: 13px;
        padding: 6px 10px;
        padding-left: 25px;
    }

    .dashboard-content-area {
        width: 100%;
        padding: 25px;
        min-width: auto;
        border-radius: 12px;
    }

    .back-to-top-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px;
        font-size: 13px;
        border-radius: 40px;
    }

    .dashboard-content-area h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .dashboard-content-area p {
        font-size: 14px;
        padding: 12px 15px;
    }

    .dashboard-content-area h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .dashboard-content-area li {
        padding: 10px 12px;
        margin-bottom: 8px;
        font-size: 14px;
    }
}

/* Ajustes para telas muito pequenas */
@media (max-width: 480px) {
    body {
        /* padding-top: 160px; */
    }

    header {
        padding:23px 10px;
        flex-direction: column;
        gap: 10px;
    }

    .logo img {
        height: 20px;

     
    }

    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 5px;
    }



    .search-container {
        display: flex;
        align-items: center;
        position: relative;
        margin: 8px 0;
        width: 100%;
        max-width: 250px;
    }

    .input {
        width: 100%;
        height: 30px;
        padding-left: 30px;
        border-radius: 6px;
        border: none;
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
        font-size: 12px;
    }

    .search-icon {
        position: absolute;
        left: 6px;
        fill: white;
        width: 14px;
        height: 14px;
    }

    /* Hero section adjustments */
    .hero {
        margin-top: 20px;
    }

    .hero h1 {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 11px;
    }

    .content h1 {
        font-size: 24px;
      
        padding: 12px;
        border-radius: 8px;
        /* background-color: rgba(255, 0, 0, 0.1); */
        margin: 15px auto;
        display: inline-block;
    }

    .faq h2 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .faq p {
        font-size: 11px;
        margin-bottom: 25px;
        padding: 0 15px;
    }

    .faq-container {
        padding: 10px;
        gap: 18px;
    }

    .faq-card {
        width: 100% !important;
        min-width: auto !important;
        height: 220px;
        min-height: 220px;
        max-width: 350px !important;
        flex: 0 0 auto !important;
    }

    .faq-card.card {
        width: 100% !important;
        min-width: auto !important;
        max-width: 350px !important;
    }

    .card-front h3, .card-back p {
        font-size: 12px;
        width: 95%;
        padding: 8px;
    }

    .dashboard-list {
        padding: 15px;
        border-radius: 10px;
    }

    .dashboard-list h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .dashboard-item {
        padding: 12px 15px;
        margin: 8px 0;
        border-radius: 8px;
    }

    .dashboard-header {
        font-size: 14px;
    }

    .dashboard-header::before {
        font-size: 16px;
        margin-right: 8px;
    }

    .dashboard-content a {
        font-size: 12px;
        padding: 5px 8px;
        padding-left: 22px;
    }

    .dashboard-content-area {
        padding: 20px;
        border-radius: 10px;
    }

    .dashboard-content-area h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .dashboard-content-area p {
        font-size: 13px;
        padding: 10px 12px;
    }

    .dashboard-content-area h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .dashboard-content-area li {
        padding: 8px 10px;
        margin-bottom: 6px;
        font-size: 13px;
    }
}

/* Ajustes para telas médias */
@media (max-width: 1024px) and (min-width: 769px) {
    .dashboard-layout {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .dashboard-list {
        width: 100%;
        max-width: 700px;
        border-radius: 14px;
    }

    .dashboard-content-area {
        width: 100%;
        max-width: 900px;
        border-radius: 14px;
    }

    .faq-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        max-width: 800px;
    }

    .faq-card {
        width: calc(50% - 15px);
        min-width: 280px;
        max-width: 350px;
        flex: 0 1 auto;
    }
}

/* Tablets pequenos e telas menores - 2 cards por linha */
@media (max-width: 900px) and (min-width: 601px) {
    .faq-container {
        flex-wrap: wrap;
        gap: 18px;
        max-width: 700px;
        padding: 20px 15px;
    }

    .faq-card {
        width: calc(50% - 12px);
        min-width: 240px;
        max-width: 320px;
        height: 260px;
    }
}

/* Cards FAQ específicos */
.faq-card.card {
    /* background: linear-gradient(135deg, #0a3c7b 0%, #1a3666 100%); */
    border-radius: 16px;
    box-shadow: 0 8px 21px #051d49, 0 2px 1px #051d49;
    padding: 10px;
    margin: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* border: 2px solid rgba(51, 219, 137, 0.2); */
    min-width: 280px;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
}

.faq-card.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    /* background: linear-gradient(90deg, #2bd46f, #33DB89, #2bd46f); */
    opacity: 0.8;
}

.faq-card.card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 6px 20px rgba(43, 212, 111, 0.15);
    transform: translateY(-4px);
    border-color: rgba(51, 219, 137, 0.4);
}

.faq-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.faq-card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.faq-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #e2e7f8;
    margin: 0;
    text-align: center;
    line-height: 1.4;
    /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); */
}

.toggle-icon {
    display: inline-block;
    font-size: 22px;
    color: #fcfcfcff;
    margin-left: 8px;
    transition: transform 0.3s;
    vertical-align: middle;
    cursor: pointer;
}

.faq-content {
    font-size: 1rem;
    color: #444;
    text-align: center;
    margin-top: 12px;
}

/* Feedback component styles */
.feedback {
  --normal: #414052;
  --normal-shadow: #313140;
  --normal-shadow-top: #4c4b60;
  --normal-mouth: #2e2e3d;
  --normal-eye: #282734;
  --active: #f8da69;
  --active-shadow: #f4b555;
  --active-shadow-top: #fff6d3;
  --active-mouth: #f05136;
  --active-eye: #313036;
  --active-tear: #76b5e7;
  --active-shadow-angry: #e94f1d;
  --hover: #454456;
  --hover-shadow-top: #59586b;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.feedback label {
  position: relative;
  transition: transform 0.3s;
  cursor: pointer;
}

.feedback label:not(:last-child) {
  margin-right: 20px;
}

.feedback label input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border: none;
  display: block;
  position: absolute;
  width: 40px;
  height: 40px;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: var(--sb, var(--normal));
  box-shadow:
    inset 3px -3px 4px var(--sh, var(--normal-shadow)),
    inset -1px 1px 2px var(--sht, var(--normal-shadow-top));
  transition:
    background 0.4s,
    box-shadow 0.4s,
    transform 0.3s;
  -webkit-tap-highlight-color: transparent;
}

.feedback label div {
  width: 40px;
  height: 40px;
  position: relative;
  transform: perspective(240px) translateZ(4px);
}

.feedback label div svg,
.feedback label div:before,
.feedback label div:after {
  display: block;
  position: absolute;
  left: var(--l, 9px);
  top: var(--t, 13px);
  width: var(--w, 8px);
  height: var(--h, 1px);
  transform: rotate(var(--r, 0deg)) scale(var(--sc, 1)) translateZ(0);
}

.feedback label div svg {
  fill: none;
  stroke: var(--s);
  stroke-width: 1.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.4s;
}

.feedback label div svg.eye {
  --s: var(--e, var(--normal-eye));
  --t: 17px;
  --w: 7px;
  --h: 4px;
}

.feedback label div svg.eye.right {
  --l: 23px;
}

.feedback label div svg.mouth {
  --s: var(--m, var(--normal-mouth));
  --l: 11px;
  --t: 23px;
  --w: 18px;
  --h: 7px;
}

.feedback label div:before,
.feedback label div:after {
  content: "";
  z-index: var(--zi, 1);
  border-radius: var(--br, 1px);
  background: var(--b, var(--e, var(--normal-eye)));
  transition: background 0.4s;
}

.feedback label.angry {
  --step-1-rx: -24deg;
  --step-1-ry: 20deg;
  --step-2-rx: -24deg;
  --step-2-ry: -20deg;
}

.feedback label.angry div:before {
  --r: 20deg;
}

.feedback label.angry div:after {
  --l: 23px;
  --r: -20deg;
}

.feedback label.angry div svg.eye {
  stroke-dasharray: 4.55;
  stroke-dashoffset: 8.15;
}

.feedback label.angry input:checked {
  -webkit-animation: angry 1s linear;
  animation: angry 1s linear;
}

.feedback label.angry input:checked + div:before {
  --middle-y: -2px;
  --middle-r: 22deg;
  -webkit-animation: toggle 0.8s linear forwards;
  animation: toggle 0.8s linear forwards;
}

.feedback label.angry input:checked + div:after {
  --middle-y: 1px;
  --middle-r: -18deg;
  -webkit-animation: toggle 0.8s linear forwards;
  animation: toggle 0.8s linear forwards;
}

.feedback label.sad {
  --step-1-rx: 20deg;
  --step-1-ry: -12deg;
  --step-2-rx: -18deg;
  --step-2-ry: 14deg;
}

.feedback label.sad div:before,
.feedback label.sad div:after {
  --b: var(--active-tear);
  --sc: 0;
  --w: 5px;
  --h: 5px;
  --t: 15px;
  --br: 50%;
}

.feedback label.sad div:after {
  --l: 25px;
}

.feedback label.sad div svg.eye {
  --t: 16px;
}

.feedback label.sad div svg.mouth {
  --t: 24px;
  stroke-dasharray: 9.5;
  stroke-dashoffset: 33.25;
}

.feedback label.sad input:checked + div:before,
.feedback label.sad input:checked + div:after {
  -webkit-animation: tear 0.6s linear forwards;
  animation: tear 0.6s linear forwards;
}

.feedback label.ok {
  --step-1-rx: 4deg;
  --step-1-ry: -22deg;
  --step-1-rz: 6deg;
  --step-2-rx: 4deg;
  --step-2-ry: 22deg;
  --step-2-rz: -6deg;
}

.feedback label.ok div:before {
  --l: 12px;
  --t: 17px;
  --h: 4px;
  --w: 4px;
  --br: 50%;
  box-shadow: 12px 0 0 var(--e, var(--normal-eye));
}

.feedback label.ok div:after {
  --l: 13px;
  --t: 26px;
  --w: 14px;
  --h: 2px;
  --br: 1px;
  --b: var(--m, var(--normal-mouth));
}

.feedback label.ok input:checked + div:before {
  --middle-s-y: 0.35;
  -webkit-animation: toggle 0.2s linear forwards;
  animation: toggle 0.2s linear forwards;
}

.feedback label.ok input:checked + div:after {
  --middle-s-x: 0.5;
  -webkit-animation: toggle 0.7s linear forwards;
  animation: toggle 0.7s linear forwards;
}

.feedback label.good {
  --step-1-rx: -14deg;
  --step-1-rz: 10deg;
  --step-2-rx: 10deg;
  --step-2-rz: -8deg;
}

.feedback label.good div:before {
  --b: var(--m, var(--normal-mouth));
  --w: 5px;
  --h: 5px;
  --br: 50%;
  --t: 22px;
  --zi: 0;
  opacity: 0.5;
  box-shadow: 16px 0 0 var(--b);
  filter: blur(2px);
}

.feedback label.good div:after {
  --sc: 0;
}

.feedback label.good div svg.eye {
  --t: 15px;
  --sc: -1;
  stroke-dasharray: 4.55;
  stroke-dashoffset: 8.15;
}

.feedback label.good div svg.mouth {
  --t: 22px;
  --sc: -1;
  stroke-dasharray: 13.3;
  stroke-dashoffset: 23.75;
}

.feedback label.good input:checked + div svg.mouth {
  --middle-y: 1px;
  --middle-s: -1;
  -webkit-animation: toggle 0.8s linear forwards;
  animation: toggle 0.8s linear forwards;
}

.feedback label.happy div {
  --step-1-rx: 18deg;
  --step-1-ry: 24deg;
  --step-2-rx: 18deg;
  --step-2-ry: -24deg;
}

.feedback label.happy div:before {
  --sc: 0;
}

.feedback label.happy div:after {
  --b: var(--m, var(--normal-mouth));
  --l: 11px;
  --t: 23px;
  --w: 18px;
  --h: 8px;
  --br: 0 0 8px 8px;
}

.feedback label.happy div svg.eye {
  --t: 14px;
  --sc: -1;
}

.feedback label.happy input:checked + div:after {
  --middle-s-x: 0.95;
  --middle-s-y: 0.75;
  -webkit-animation: toggle 0.8s linear forwards;
  animation: toggle 0.8s linear forwards;
}

.feedback label input:checked {
  --sb: var(--active);
  --sh: var(--active-shadow);
  --sht: var(--active-shadow-top);
}

.feedback label input:checked + div {
  --m: var(--active-mouth);
  --e: var(--active-eye);
  -webkit-animation: shake 0.8s linear forwards;
  animation: shake 0.8s linear forwards;
}

.feedback label input:not(:checked):hover {
  --sb: var(--hover);
  --sht: var(--hover-shadow-top);
}

.feedback label input:not(:checked):active {
  transform: scale(0.925);
}

.feedback label input:not(:checked):active + div {
  transform: scale(0.925);
}

.feedback label:hover {
  transform: scale(1.08);
}

@-webkit-keyframes shake {
  30% {
    transform: perspective(240px) rotateX(var(--step-1-rx, 0deg))
      rotateY(var(--step-1-ry, 0deg)) rotateZ(var(--step-1-rz, 0deg))
      translateZ(10px);
  }
  60% {
    transform: perspective(240px) rotateX(var(--step-2-rx, 0deg))
      rotateY(var(--step-2-ry, 0deg)) rotateZ(var(--step-2-rz, 0deg))
      translateZ(10px);
  }
  100% {
    transform: perspective(240px) translateZ(4px);
  }
}

@keyframes shake {
  30% {
    transform: perspective(240px) rotateX(var(--step-1-rx, 0deg))
      rotateY(var(--step-1-ry, 0deg)) rotateZ(var(--step-1-rz, 0deg))
      translateZ(10px);
  }
  60% {
    transform: perspective(240px) rotateX(var(--step-2-rx, 0deg))
      rotateY(var(--step-2-ry, 0deg)) rotateZ(var(--step-2-rz, 0deg))
      translateZ(10px);
  }
  100% {
    transform: perspective(240px) translateZ(4px);
  }
}

@-webkit-keyframes tear {
  0% {
    opacity: 0;
    transform: translateY(-2px) scale(0) translateZ(0);
  }
  50% {
    transform: translateY(12px) scale(0.6, 1.2) translateZ(0);
  }
  20%,
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(24px) translateX(4px) rotateZ(-30deg) scale(0.7, 1.1)
      translateZ(0);
  }
}

@keyframes tear {
  0% {
    opacity: 0;
    transform: translateY(-2px) scale(0) translateZ(0);
  }
  50% {
    transform: translateY(12px) scale(0.6, 1.2) translateZ(0);
  }
  20%,
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(24px) translateX(4px) rotateZ(-30deg) scale(0.7, 1.1)
      translateZ(0);
  }
}

@-webkit-keyframes toggle {
  50% {
    transform: translateY(var(--middle-y, 0))
      scale(
        var(--middle-s-x, var(--middle-s, 1)),
        var(--middle-s-y, var(--middle-s, 1))
      )
      rotate(var(--middle-r, 0deg));
  }
}

@keyframes toggle {
  50% {
    transform: translateY(var(--middle-y, 0))
      scale(
        var(--middle-s-x, var(--middle-s, 1)),
        var(--middle-s-y, var(--middle-s, 1))
      )
      rotate(var(--middle-r, 0deg));
  }
}

@-webkit-keyframes angry {
  40% {
    background: var(--active);
  }
  45% {
    box-shadow:
      inset 3px -3px 4px var(--active-shadow),
      inset 0 8px 10px var(--active-shadow-angry);
  }
}

@keyframes angry {
  40% {
    background: var(--active);
  }
  45% {
    box-shadow:
      inset 3px -3px 4px var(--active-shadow),
      inset 0 8px 10px var(--active-shadow-angry);
  }
}



/* ======================= */
/* Menu responsivo (acréscimo) */
/* ======================= */
.nav-toggle {
  display: none; /* mostrado apenas em telas pequenas */
  background: transparent;
  border: 2px solid rgba(51, 219, 137, 0.14);
  color: #33DB89;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
}

.primary-nav ul {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav .nav-link {
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.18s ease, color 0.18s ease;
}

.primary-nav .nav-link:hover,
.primary-nav .nav-link:focus {
  background: rgba(51, 219, 137, 0.06);
  color: #33DB89;
  outline: none;
}

.search-container {
  position: relative;
}

.search-container .input {
  width: 220px;
}

.primary-nav .search-icon {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 18px;
  height: 18px;
  fill: white;
}

/* Mobile behavior */
@media (max-width: 768px) {
  .nav-toggle { display: inline-block; }

  .primary-nav {
    position: absolute;
    top: 64px;
    right: 20px;
    display: none;
    width: calc(100% - 40px);
    max-width: 360px;
    background: linear-gradient(180deg, rgba(10,30,60,0.96), rgba(5,29,73,0.98));
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    border: 1px solid rgba(51,219,137,0.08);
    z-index: 1200;
  }

  .primary-nav.open { display: block; }

  .primary-nav ul { flex-direction: column; gap: 8px; }

  .search-container .input { width: 100%; padding-left: 36px; }
}


