* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: #333;
  background: #f5f5f5;
  padding-top: 80px;
  scroll-padding-top: 100px;
}

.tooltip-word {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted currentColor;
  text-decoration: none;
  display: inline-block;
}

.tooltip-word::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.95);
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 0.9em;
  white-space: normal;
  width: 280px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10000;
  line-height: 1.5;
  font-weight: normal;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tooltip-word::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.95);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10000;
  margin-bottom: 2px;
}

.tooltip-word:hover::after,
.tooltip-word:hover::before {
  opacity: 1;
  visibility: visible;
}

.top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3em;
  font-weight: 700;
  color: #667eea;
}

.logo-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 5px 10px;
  border-radius: 5px;
}

nav a:hover {
  color: #667eea;
  background: #f0f0f0;
}

.hero-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 0;
}

.hero-header h1 {
  font-size: 2.5em;
  font-weight: 700;
}

/* Estilos para os banners AdSense */
.adsense-container {
  text-align: center;
  margin: 20px auto;
  padding: 20px;
  width: 90%;
  max-width: 900px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.adsense-top {
  margin-bottom: 30px;
}

.adsense-bottom {
  margin-top: 40px;
  margin-bottom: 0;
}

/* Wrapper para os banners laterais e conteúdo */
#table-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.adsense-sidebar {
  flex: 0 0 160px;
  position: sticky;
  top: 100px;
  display: block;
}

/* Esconde os banners laterais em telas médias e pequenas */
@media (max-width: 1400px) {
  .adsense-sidebar {
    display: none;
  }

  #table-wrapper {
    justify-content: center;
  }
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #cacaca;
  opacity: 0.1;
  background: repeating-linear-gradient(
    45deg,
    #863905,
    #863905 2px,
    #cacaca 2px,
    #cacaca 10px
  );
  z-index: -1;
}

.main-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 20px 0;
}

#table-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 40px;
}

#center-content {
  width: 100%;
  max-width: 1000px;
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.copy-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
  animation: pulseGlow 2s ease-in-out infinite;
}

.filter-container {
  background: white;
  border: 2px solid #667eea;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 12px;
  font-size: 1.1em;
}

.filter-icon {
  font-size: 1.3em;
}

.filter-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1em;
  transition: all 0.3s ease;
  outline: none;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.filter-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.filter-input::placeholder {
  color: #999;
}

.filter-count {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9em;
  color: #667eea;
  font-weight: 600;
}

.copy-icon {
  font-size: 1.5em;
  animation: bounce 2s ease-in-out infinite;
}

.copy-text {
  font-size: 1em;
  line-height: 1.4;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
  }

  50% {
    box-shadow: 0 3px 20px rgba(102, 126, 234, 0.5);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

#center-content table {
  border-collapse: collapse;
  width: 100%;
  border: 0px solid black;
  text-align: center;
}

#center-content th {
  border: 0px solid black;
  padding: 12px;
  background-color: #667eea;
  color: white;
  font-weight: 600;
}

#center-content td {
  border: 0px solid black;
  padding: 10px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

#center-content td:active {
  transform: scale(0.98);
}

#description-container {
  background: white;
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

#description-container h2 {
  font-size: 2em;
  color: #667eea;
  margin-bottom: 20px;
  border-left: 5px solid #667eea;
  padding-left: 20px;
}

#description-container h3 {
  font-size: 1.4em;
  color: #764ba2;
  margin-top: 30px;
  margin-bottom: 15px;
}

#description-container p {
  color: #555;
  margin-bottom: 15px;
  text-align: justify;
  line-height: 1.8;
}

#description-container ul {
  margin-left: 30px;
  margin-bottom: 15px;
}

#description-container li {
  color: #555;
  margin-bottom: 8px;
}

#description-container pre {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid #667eea;
  margin: 15px 0;
  font-family: "Courier New", monospace;
  font-size: 1.1em;
}

#description-container code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  color: #667eea;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 15px;
  z-index: 1000;
}

#cookie-banner a {
  color: #667eea;
  text-decoration: underline;
}

#accept-cookies {
  background: #667eea;
  color: white;
  border: none;
  padding: 10px 20px;
  margin-left: 15px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

#accept-cookies:hover {
  background: #764ba2;
}

#cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

#modal-content {
  background: white;
  padding: 40px;
  border-radius: 15px;
  max-width: 500px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#modal-content h2 {
  color: #667eea;
  margin-bottom: 20px;
}

#close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #999;
}

#close-modal:hover {
  color: #333;
}

footer {
  background: #2c3e50;
  color: white;
  padding: 40px 20px 20px;
  margin-top: 0;
}

.footer-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-content > p {
  color: #bdc3c7;
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.6;
}

.copyright {
  color: #95a5a6;
  font-size: 0.9em;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-dual-container {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.cta-dual-container .cta-container {
  flex: 1;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.cta-dual-container .cta-content {
  height: 100%;
  flex: 1;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.cta-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.cta-content::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.cta-icon {
  font-size: 4em;
  flex-shrink: 0;
  animation: float 3s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.cta-text-wrapper {
  flex: 1;
  color: white;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.cta-description {
  font-size: 1.1em;
  opacity: 0.95;
  line-height: 1.5;
}

.cta-button {
  background: white;
  color: #667eea;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-arrow {
  font-size: 1.3em;
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .hero-header h1 {
    font-size: 1.8em;
  }

  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  #center-content {
    padding: 20px;
  }

  #description-container {
    padding: 25px;
  }

  #description-container h2 {
    font-size: 1.5em;
  }

  .adsense-container {
    width: 95%;
    padding: 15px;
  }

  .cta-dual-container {
    flex-direction: column;
    gap: 20px;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    gap: 20px;
  }

  .cta-icon {
    font-size: 3em;
  }

  .cta-title {
    font-size: 1.4em;
  }

  .cta-description {
    font-size: 1em;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
    padding: 12px 25px;
    font-size: 1em;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  .web-design-section {
    padding: 30px 25px;
  }

  .web-design-section h2 {
    font-size: 1.5em;
  }

  .web-design-section li {
    padding: 12px 15px;
  }

  footer {
    padding: 30px 20px 15px;
  }

  .footer-logo {
    font-size: 1.4em;
  }
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: #333;
  background: #f5f5f5;
  padding-top: 80px;
  scroll-padding-top: 100px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3em;
  font-weight: 700;
  color: #667eea;
}

.logo-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 5px 10px;
  border-radius: 5px;
}

nav a:hover {
  color: #667eea;
  background: #f0f0f0;
}

.hero-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.hero-header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  font-weight: 700;
}

.hero-header p {
  font-size: 1.2em;
  opacity: 0.95;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

#background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #cacaca;
  opacity: 0.1;
  background: repeating-linear-gradient(
    45deg,
    #863905,
    #863905 2px,
    #cacaca 2px,
    #cacaca 10px
  );
  z-index: -1;
}

.section {
  background: white;
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.section-title {
  font-size: 2em;
  color: #667eea;
  margin-bottom: 25px;
  border-left: 5px solid #667eea;
  padding-left: 20px;
}

.subsection {
  margin-bottom: 30px;
}

.subsection h3 {
  font-size: 1.4em;
  color: #764ba2;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-block;
}

.subsection p {
  color: #555;
  margin-bottom: 15px;
  text-align: justify;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.color-card {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.color-card:hover {
  transform: translateY(-5px);
}

.color-sample {
  width: 100%;
  height: 80px;
  border-radius: 8px;
  margin-bottom: 10px;
  border: 3px solid #eee;
}

.color-card p {
  font-size: 0.9em;
  font-weight: 600;
  margin: 0;
}

.emotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.emotion-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 25px;
  border-radius: 12px;
  border-left: 5px solid;
}

.emotion-card h4 {
  font-size: 1.2em;
  margin-bottom: 10px;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.brand-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-top: 5px solid;
}

.brand-card h4 {
  font-size: 1.4em;
  margin-bottom: 15px;
}

.brand-card .brand-color {
  width: 100%;
  height: 60px;
  border-radius: 8px;
  margin: 15px 0;
}

.brand-card p {
  text-align: justify;
}

.emotion-card p {
  text-align: justify;
}

.intro-text {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.8;
  text-align: justify;
}

.web-design-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 50px;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.web-design-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  font-weight: 700;
}

.web-design-section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  opacity: 0.95;
}

.web-design-section ul {
  list-style: none;
  padding: 0;
}

.web-design-section li {
  padding: 15px 20px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border-left: 4px solid white;
  transition: transform 0.3s ease, background 0.3s ease;
}

.web-design-section li:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.25);
}

footer {
  background: #2c3e50;
  color: white;
  padding: 40px 20px 20px;
  margin-top: 50px;
}

.footer-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-content > p {
  color: #bdc3c7;
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.6;
}

.copyright {
  color: #95a5a6;
  font-size: 0.9em;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .hero-header h1 {
    font-size: 1.8em;
  }

  .section {
    padding: 25px;
  }

  .section-title {
    font-size: 1.5em;
  }

  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}
