/*
Theme Name: FrameworkUpsites
Theme URI: https://upsites.digital
Author: Pedro Hilário
Description: Tema wordpress para melhorar o desempenho e o desenvolvimento de sites.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: frameworkupsites
*/

/* 
 * Este tema utiliza Tailwind CSS para estilização.
 * Os estilos compilados são carregados via functions.php
 */

/* Ajustes do tema quando a barra administrativa do WordPress está ativa */
body.admin-bar #area-cliente-dropdown {
  top: 164px !important;
}

body.admin-bar #menu-mobile-overlay {
  top: 32px;
  min-height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar #area-cliente-dropdown {
    top: 178px !important;
  }

  body.admin-bar #menu-mobile-overlay {
    top: 46px;
    min-height: calc(100vh - 46px);
  }
}

/* Home - Soluções: evitar corte dos 4 cards em resoluções de notebook */
@media (max-width: 1600px) and (min-width: 1338px) {
  .solucoes-section .solucoes-cards-wrap {
    gap: 33px;
  }

  .solucoes-section .solucoes-card-item {
    width: calc((100% - 99px) / 4) !important;
    min-width: 0 !important;
  }
}

/* Cards da seção Soluções menores em telas até 1337px (carrega por último, sobrescreve Tailwind) */
@media (max-width: 1337px) {
  .solucoes-section .solucoes-card-item {
    width: 280px !important;
    min-width: 280px !important;
    height: 420px !important;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-h1-label {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  padding: 14px 16px 0;
  pointer-events: none;
}

.error-404-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 132px 24px 96px;
  background: linear-gradient(151.88deg, #222222 53.83%, #f58634 266.4%);
}

.error-404-inner {
  width: 100%;
  max-width: 760px;
  padding: 48px 32px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  text-align: center;
  box-sizing: border-box;
}

.error-404-code {
  margin: 0 0 12px;
  color: #f58634;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-404-title {
  margin: 0;
  color: #141414;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
}

.error-404-text {
  max-width: 560px;
  margin: 20px auto 0;
  color: #535353;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.error-404-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 56px;
  margin-top: 36px;
  padding: 0 24px;
  border-radius: 999px;
  background: #f58634;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
  box-sizing: border-box;
}

.error-404-button:hover {
  opacity: 0.9;
}

@media (max-width: 767px) {
  .error-404-page {
    min-height: 60vh;
    padding: 104px 20px 72px;
  }

  .error-404-inner {
    padding: 40px 24px;
  }

  .error-404-title {
    font-size: 30px;
  }

  .error-404-text {
    font-size: 16px;
  }

  .error-404-button {
    width: 100%;
    min-width: 0;
  }
}