/* Reset básico */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0b0c10 0%, #1a1d25 100%);
  color: #cfd8dc;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Header */
header {
  text-align: center;
  padding: 3rem 1rem 1.5rem;
  color: #5ce1e6;
  text-shadow: 0 0 12px #5ce1e6cc;
  user-select: none;
}
header h1 {
  margin: 0 0 0.25rem;
  font-weight: 900;
  font-size: 3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
header p {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  font-style: italic;
  color: #7ee8fa;
  text-shadow: 0 0 6px #7ee8faaa;
}

/* Navigation */
nav {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.2rem 0 2.5rem;
  background-color: #12171f;
  box-shadow: 0 5px 15px rgba(92, 225, 230, 0.25);
  user-select: none;
  border-radius: 0 0 24px 24px;
  transition: background-color 0.3s ease;
}
nav:hover {
  background-color: #0f131a;
}
nav a {
  color: #5ce1e6;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 12px;
  transition: 
    background-color 0.35s ease, 
    color 0.35s ease, 
    transform 0.25s ease;
  position: relative;
  z-index: 0;
}
nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 3px;
  background: #7ee8fa;
  border-radius: 3px;
  transition: width 0.3s ease, left 0.3s ease;
  z-index: -1;
}
nav a:hover,
nav a:focus {
  color: #0b0c10;
  background-color: #5ce1e6;
  transform: scale(1.1);
  outline: none;
}
nav a:hover::after,
nav a:focus::after {
  width: 100%;
  left: 0;
}

.filtro-categorias {
  max-width: 960px;
  margin: 2rem auto 3rem;
  padding: 0 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  user-select: none;
  color: #cfd8dc;
}

.filtro-categorias fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

.filtro-categorias legend {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #5ce1e6;
  text-shadow: 0 0 10px #5ce1e6aa;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  background: #12171f;
  padding: 8px 16px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1.05rem;
  color: #7ee8fa;
  box-shadow: 0 0 8px #0d313a44;
  user-select: none;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.4s ease;
  border: 2px solid transparent;
  min-width: max-content;
}

.checkbox-group label:hover {
  background-color: #16303a;
  box-shadow: 0 0 14px #5ce1e6aa;
  color: #b5f1fb;
}

.checkbox-group input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border-radius: 6px;
  border: 2px solid #5ce1e6;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0;
}

.checkbox-group input[type="checkbox"]:checked {
  background-color: #5ce1e6;
  border-color: #5ce1e6;
}

.checkbox-group input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 7px;
  width: 5px;
  height: 10px;
  border: solid #0b0c10;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.checkbox-group input[type="checkbox"]:focus-visible {
  outline: 2.5px solid #7ee8fa;
  outline-offset: 3px;
}

/* Responsividade */
@media (max-width: 480px) {
  .checkbox-group {
    justify-content: center;
  }
}


/* Main container & Grid dos cards */
main.container {
  max-width: 960px;
  margin: 0 auto 3.5rem;
  padding: 0 1rem;
}
main.container > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

/* Card */
.model-inner-container {
  background: linear-gradient(145deg, #12171f, #1b2330);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(92, 225, 230, 0.18);
  overflow: hidden;
  transition: 
    box-shadow 0.35s ease, 
    transform 0.35s ease;
  cursor: pointer;

  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 220px;
  margin: 0 auto;

  font-size: 0.45rem; /* fonte menor */
}

.model-inner-container:hover,
.model-inner-container:focus-within {
  box-shadow: 0 18px 50px rgba(92, 225, 230, 0.55);
  transform: translateY(-8px) scale(1.03);
  outline: none;
}

/* Link fill card */
.model-inner-container a {
  color: inherit;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  outline-offset: 4px;
}


/* Grid image container */
.grid {
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #0e1118;
  height: 260px;
  width: 100%;
  border-radius: 20px 20px 0 0;
  box-shadow: inset 0 -5px 12px #0a0e14aa;
  background: linear-gradient(180deg, #0f131a 0%, #1c2535 100%);
  user-select: none;
}

/* Figure and image */
figure.effect-bubba {
  margin: 0;
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

figure.effect-bubba img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  user-select: none;
  border-radius: 20px 20px 0 0;
  will-change: transform;
}

figure.effect-bubba:hover img,
figure.effect-bubba:focus-within img {
  transform: scale(1.07);
}

/* Caption effect */
figure.effect-bubba figcaption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 14px 0;
  background: rgba(92, 225, 230, 0.85);
  color: #0b0c10;
  font-weight: 800;
  font-size: 1rem; /* 12px */
  letter-spacing: 1.2px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  user-select: none;
  border-radius: 0px;
}

figure.effect-bubba:hover figcaption,
figure.effect-bubba:focus-within figcaption {
  opacity: 1;
}

/* Model content wrapper - nome */
.model-content-wrapper {
  padding: 16px 20px;
  background: #0e1118;
  border-radius: 0px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.front-model-title {
  color: #5ce1e6;
  font-size: 1rem; /* 12px */
  font-weight: 800;
  text-shadow: 0 0 6px #7ee8faaa;
  letter-spacing: 0.6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: text;
  max-width: 100%;
}

/* Pagination */
.paginacao {
  max-width: 960px;
  margin: 0 auto 3rem;
  text-align: center;
  padding: 0 1rem;
  user-select: none;
}
.paginacao a {
  display: inline-block;
  margin: 0 6px;
  padding: 10px 18px;
  background-color: #0e1118;
  border: 2px solid #5ce1e6;
  border-radius: 14px;
  color: #5ce1e6;
  font-weight: 700;
  font-size: 1.1rem;
cursor: pointer;
    text-decoration: none;
    transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.25s ease;
    }
    .paginacao a:hover,
    .paginacao a:focus {
    background-color: #5ce1e6;
    color: #0b0c10;
    transform: scale(1.15);
    outline: none;
    }
    
    /* Responsividade */
    @media (max-width: 480px) {
    header h1 {
    font-size: 2.4rem;
    }
    nav {
    gap: 1.2rem;
    padding: 1rem 0 2rem;
    }
    .model-inner-container {
    max-width: 100%;
    }
    main.container > div {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    }

    /* Estilos gerais FAQ */
    #faq {
      max-width: 800px;
      margin: 2rem auto;
      padding: 1.5rem 2rem;
      background: #fdfdfd;
      border-radius: 10px;
      box-shadow: 0 6px 18px rgba(0,0,0,0.1);
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: #333;
    }

    #faq h2 {
      text-align: center;
      margin-bottom: 1.5rem;
      font-weight: 700;
      font-size: 2rem;
      color: #222;
    }

    dl {
      border-top: 1px solid #ddd;
    }

    dt {
      border-bottom: 1px solid #ddd;
    }

    dt button {
      width: 100%;
      background: none;
      border: none;
      text-align: left;
      padding: 1rem 0;
      font-size: 1.15rem;
      font-weight: 600;
      color: #005f73;
      cursor: pointer;
      position: relative;
      outline-offset: 3px;
      transition: color 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    dt button:hover,
    dt button:focus {
      color: #0a9396;
    }

    /* Ícone + e - com CSS */
    dt button::after {
      content: '+';
      font-size: 1.6rem;
      line-height: 1;
      color: #005f73;
      transition: transform 0.3s ease, color 0.3s ease;
      flex-shrink: 0;
      margin-left: 1rem;
      user-select: none;
    }

    dt button[aria-expanded="true"]::after {
      content: '−'; /* símbolo menos */
      color: #0a9396;
      transform: rotate(0deg);
    }

    dd {
      padding: 0.5rem 0 1.5rem 0;
      font-size: 1rem;
      line-height: 1.5;
      color: #444;
      transition: max-height 0.4s ease, opacity 0.3s ease;
      overflow: hidden;
    }

    /* Exibição com animação */
    dd[hidden] {
      display: none;
    }

    dd:not([hidden]) {
      display: block;
    }

    footer {
      background-color: #12171f; /* mesmo tom do nav */
      color: #cfd8dc; /* cor do texto principal */
      padding: 2rem 1rem;
      text-align: center;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      box-shadow: 0 -5px 15px rgba(92, 225, 230, 0.25);
      user-select: none;
      border-radius: 24px 24px 0 0;
    }
    
    footer p {
      margin: 0.3rem 0;
      font-weight: 500;
    }
    
    footer a {
      color: #5ce1e6;
      margin: 0 0.75rem;
      text-decoration: none;
      font-weight: 600;
      transition: color 0.3s ease;
    }
    
    footer a:hover,
    footer a:focus {
      color: #7ee8fa;
      outline: none;
    }
