/* ===== VARIÁVEIS ===== */
:root {
  --primary-color: #FF6B00;
  --secondary-color: #FF3D00;
  --accent-color: #4CAF50;
  --dark-color: #2D3748;
  --light-color: #F7FAFC;
  --text-color: #2D3748;
  --text-light: #718096;
  --section-spacing: 3rem;
  --category-spacing: 2.5rem;
  --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 12px;
}

/* ===== RESET E BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 70px;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== BARRA DE PROGRESSO ===== */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  width: 0%;
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ===== CABEÇALHO ===== */
.main-header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: transform 0.3s ease;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.logo:hover {
  opacity: 0.9;
}

.logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.logo-icon i {
  font-size: 1.8rem;
}

.logo-text h1 {
  font-size: 1.5rem;
  margin-bottom: 2px;
  color: var(--dark-color);
}

.tagline {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.main-nav a {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-color);
}

.main-nav i {
  margin-right: 6px;
  font-size: 0.9rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 100;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--dark-color);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ===== SEÇÕES ===== */
section {
  padding: var(--section-spacing) 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-size: 1.8rem;
  color: var(--dark-color);
  position: relative;
  padding-bottom: 0.75rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

.view-all a {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
}

.view-all a:hover {
  color: var(--secondary-color);
}

.view-all i {
  margin-left: 5px;
  font-size: 0.8rem;
}

.tools-count {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-left: 1rem;
}

/* Hero Section */
.hero-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #f8fafc 100%);
  display: flex;
  align-items: center;
  min-height: 60vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.highlight {
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(255, 107, 0, 0.2);
  z-index: -1;
  border-radius: 4px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.search-container {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.search-container:focus-within {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 107, 0, 0.3);
}

.search-container i {
  color: var(--text-light);
  margin-right: 0.8rem;
  font-size: 1.1rem;
}

#search-tools {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 0.5rem 0;
  background: transparent;
  color: var(--text-color);
}

#search-tools::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

.search-btn {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1.8rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-left: 0.5rem;
}

.search-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== CATEGORIAS ===== */
.categories-section {
  position: relative;
  padding: 1.5rem 0 2rem;
  margin-bottom: 0.5rem;
}

.categories-scroller {
  overflow-x: auto;
  padding: 1.5rem 0;
  margin: 0 -1.5rem;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.categories-scroller::-webkit-scrollbar {
  display: none;
}

.categories-container {
  display: flex;
  gap: 2rem;
  padding: 0 3rem;
  scroll-snap-type: x mandatory;
  width: max-content;
}

.category-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border: none;
  border-radius: var(--border-radius);
  padding: 1.5rem 1.8rem;
  min-width: 140px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
  scroll-snap-align: start;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.category-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-btn.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.category-btn.active .category-icon {
  color: white;
}

.category-icon {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.category-btn span {
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.section-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.scroll-btn {
  pointer-events: all;
  background: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin: 0 1rem;
}

.scroll-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.scroll-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.scroll-btn i {
  font-size: 1.2rem;
}

/* ===== CARDS DE FERRAMENTAS ===== */
.featured-grid,
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.tool-card,
.featured-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tool-card:hover,
.featured-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.featured-card {
  position: relative;
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card-badge.popular {
  background: linear-gradient(90deg, #FF5722, #FF7043);
}

.card-badge.new {
  background: linear-gradient(90deg, #2196F3, #64B5F6);
}

.card-badge.essential {
  background: linear-gradient(90deg, #FFC107, #FFD54F);
  color: var(--dark-color);
}

.card-badge.musthave {
  background: linear-gradient(90deg, #9C27B0, #BA68C8);
}

.card-badge.classic {
  background: linear-gradient(90deg, #607D8B, #90A4AE);
}

.card-badge.cnpj {
  background: linear-gradient(90deg, #795548, #A1887F);
}

.tool-content,
.card-content {
  padding: 1.75rem;
}

.tool-name,
.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--dark-color);
}

.tool-description,
.card-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.tool-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-light);
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.tool-meta span {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.03);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.tool-meta i {
  margin-right: 5px;
  font-size: 0.85rem;
}

.tool-footer,
.card-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.25rem 1.75rem;
}

.tool-link,
.card-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.tool-link:hover,
.card-link:hover {
  color: var(--secondary-color);
}

.tool-link i,
.card-link i {
  margin-left: 6px;
  font-size: 0.85rem;
}

/* ===== SEÇÃO DE FERRAMENTAS ===== */
.tools-section {
  margin-top: 2rem;
}

.tools-section h3.category-title {
  margin-bottom: 1rem;
}

.all-tools-section {
  padding-top: 1.5rem;
}

.featured-section {
  padding-top: 1.5rem;
}

/* ===== RODAPÉ ===== */
.main-footer {
  background-color: var(--dark-color);
  color: white;
  padding: 2rem 0 2rem;
  margin-top: 1rem;
  position: relative;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-col {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.75rem;
}

.footer-logo .logo-icon {
  color: white;
  margin-right: 0.75rem;
}

.footer-logo h3 {
  color: white;
  font-size: 1.5rem;
}

.footer-about {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: 1.75rem;
  color: white;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.stats-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: var(--border-radius);
}

.stats-icon,
.contact-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.25rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.stats-text {
  display: flex;
  flex-direction: column;
}

.stats-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.stats-update {
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.stats-label,
.contact-item a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  border-radius: 6px;
  transition: var(--transition);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.contact-item a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1.75rem 0;
  margin-top: 3rem;
}

.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.6;
}

.copyright a {
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
}

.copyright a:hover {
  color: var(--secondary-color);
}

.copyright i {
  color: #FF5252;
  margin: 0 3px;
}

/* ===== BOTÃO VOLTAR AO TOPO ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top i {
  font-size: 1.25rem;
}

/* ===== MODAL ===== */
.welcome-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(5px);
}

.welcome-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  border-radius: var(--border-radius);
  width: 90%;
  max-width: 500px;
  overflow: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.welcome-modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  position: relative;
  text-align: center;
}

.modal-header h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.close-modal:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
  padding: 2.5rem 2rem;
  text-align: center;
}

.modal-body p {
  margin-bottom: 1.5rem;
  color: var(--text-color);
  line-height: 1.6;
  font-size: 1.05rem;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  flex: 1;
  min-width: 160px;
  padding: 0.85rem;
  border: none;
  border-radius: 50px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 0.95rem;
}

.share-btn i {
  margin-right: 8px;
  font-size: 1.1rem;
}

.share-btn.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 2px 15px rgba(37, 211, 102, 0.3);
}

.share-btn.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 2px 15px rgba(220, 39, 67, 0.3);
}

.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

.enter-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.85rem 2.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.05rem;
  box-shadow: 0 2px 15px rgba(255, 107, 0, 0.3);
  width: 100%;
  max-width: 300px;
}

.enter-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(255, 107, 0, 0.4);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease forwards;
}

.animate-fadeInUp {
  animation: slideInUp 0.5s ease forwards;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
  :root {
    --section-spacing: 3rem;
    --category-spacing: 2rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .featured-grid,
  .tools-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 2.5rem;
  }

  body {
    padding-top: 60px;
  }

  .header-content {
    height: 60px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 5rem 2rem;
    transition: var(--transition);
    z-index: 99;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .main-nav a {
    font-size: 1rem;
    padding: 0.5rem 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-section {
    min-height: auto;
    padding: 2.5rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .search-container {
    flex-direction: column;
    border-radius: var(--border-radius);
    padding: 1rem;
    gap: 1rem;
  }

  .search-btn {
    width: 100%;
    margin-left: 0;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .categories-container {
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .category-btn {
    min-width: 120px;
    padding: 1.25rem 1.5rem;
  }

  .modal-content {
    width: 95%;
  }
}

@media (max-width: 576px) {
  :root {
    --section-spacing: 2rem;
    --category-spacing: 1.5rem;
  }

  .container {
    padding: 0 1rem;
  }

  .logo-text h1 {
    font-size: 1.3rem;
  }

  .hero-section {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .featured-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .share-buttons {
    flex-direction: column;
    align-items: center;
  }

  .share-btn {
    max-width: 100%;
    width: 100%;
  }

  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* ===== ERRO MESSAGE ===== */
.error-message {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: #FF3D00;
  color: white;
  text-align: center;
  z-index: 999;
  font-size: 0.9rem;
}