/* Estilos exclusivos para index.html e contato.html */

body.page-modern {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Compensação para páginas que NÃO possuem o slider (ex: contato.html) */
body.page-modern:not(.has-hero-slider) {
  padding-top: 100px;
}

/* =====================================================
   HEADER & MENU MOBILE (FIXO E PREMIUM - LARANJA & BRANCO)
===================================================== */
body.page-modern .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(20, 20, 20, 0.25); /* Transparente escuro para contraste inicial */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

body.page-modern .header.scrolled {
  background-color: #ffffff; /* Fundo branco ao rolar */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 3px solid var(--laranja); /* Detalhe em laranja */
}

body.page-modern .header-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s ease;
}

body.page-modern .header.scrolled .header-container {
  padding: 10px 32px;
}

body.page-modern .logo {
  height: 70px;
  width: auto;
  transition: height 0.4s ease, transform 0.4s ease;
}

body.page-modern .header.scrolled .logo {
  height: 52px;
}

body.page-modern .logo-link:hover .logo {
  transform: scale(1.03);
}

body.page-modern .nav {
  display: flex;
  align-items: center;
}

body.page-modern .nav a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.98rem;
  margin-left: 32px;
  transition: color 0.3s ease;
}

body.page-modern .header.scrolled .nav a {
  color: #333333; /* Links escuros no fundo branco */
}

body.page-modern .nav a:hover,
body.page-modern .nav a.is-active,
body.page-modern .header.scrolled .nav a:hover,
body.page-modern .header.scrolled .nav a.is-active {
  color: var(--laranja);
}

body.page-modern .nav a.is-active::after {
  background-color: var(--laranja);
}

/* Menu Toggle Hambúrguer */
body.page-modern .menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  z-index: 1002;
  transition: background 0.2s ease, border-color 0.2s ease;
}

body.page-modern .menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

body.page-modern .menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

body.page-modern .header.scrolled .menu-toggle {
  border-color: rgba(247, 148, 29, 0.6);
}

body.page-modern .header.scrolled .menu-toggle span {
  background: var(--laranja); /* Linhas laranjas no fundo branco */
}

body.page-modern .header.scrolled .menu-toggle:hover {
  background: rgba(247, 148, 29, 0.05);
  border-color: var(--laranja-hover);
}

body.page-modern .menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.page-modern .menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

body.page-modern .menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.page-modern .nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 5, 0.6);
  z-index: 999;
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}

body.page-modern .nav-overlay.is-visible {
  display: block;
  opacity: 1;
}

/* =====================================================
   HERO SLIDER (FULL SCREEN)
===================================================== */
.hero-slider-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: #111111;
}

.hero-slider-wrapper {
  display: flex;
  height: 100%;
  width: 300%; /* Para 3 slides */
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.hero-slide {
  width: 33.33333%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay Escuro com Tom Quente (Laranja/Cinza) */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(25, 20, 15, 0.45) 0%,
    rgba(20, 15, 10, 0.7) 60%,
    rgba(15, 10, 5, 0.95) 100
  );
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 90%;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
  margin-top: 60px; /* Compensa o menu */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

/* Animação do conteúdo ativo */
.hero-slide.active .hero-slide-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-slide-content h1 span {
  color: var(--laranja);
}

.hero-slide-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  opacity: 0.95;
  margin: 0 auto 36px;
  max-width: 680px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-slide-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-btn-primary {
  background: var(--laranja);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(247, 148, 29, 0.4);
}

.hero-btn-primary:hover {
  background: var(--laranja-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 148, 29, 0.5);
}

.hero-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* Controles do Slider */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: var(--laranja);
  border-color: var(--laranja);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow-left {
  left: 30px;
}

.slider-arrow-right {
  right: 30px;
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 12px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.slider-dot.active {
  background: var(--laranja);
  width: 28px;
  border-radius: 6px;
  transform: scale(1.1);
}

/* =====================================================
   SEÇÕES DA PÁGINA INICIAL
===================================================== */
body.page-modern .categoria {
  max-width: 1300px;
  margin: 90px auto;
  padding: 0 32px;
}

body.page-modern .categoria h2 {
  font-size: 2.2rem;
  color: #1a1a1a; /* Título principal escuro neutral */
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

body.page-modern .categoria h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background-color: var(--laranja);
  margin: 12px auto 0;
  border-radius: 2px;
}

body.page-modern .section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
  color: var(--cinza-texto);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* =====================================================
   CARDS DE ENGENHARIA (MODERNOS - LARANJA & BRANCO)
===================================================== */
.categoria.engenharia .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-content: center;
}

.categoria.engenharia .card {
  background: #ffffff;
  border: 1px solid rgba(247, 148, 29, 0.12); /* Borda laranja muito sutil */
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 8px 24px rgba(247, 148, 29, 0.02);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.categoria.engenharia .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--laranja); /* Linha de realce laranja */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.categoria.engenharia .card:hover::before {
  transform: scaleX(1);
}

.categoria.engenharia .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(247, 148, 29, 0.08); /* Sombra com tom quente */
  border-color: rgba(247, 148, 29, 0.3);
}

.categoria.engenharia .card-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: rgba(247, 148, 29, 0.08); /* Ícones com fundo laranja suave */
  color: var(--laranja);
  transition: all 0.3s ease;
}

.categoria.engenharia .card:hover .card-icon {
  background: var(--laranja);
  color: #ffffff;
  transform: scale(1.05);
}

.categoria.engenharia .card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222222; /* Títulos pretos/cinza escuro */
  margin-bottom: 12px;
  line-height: 1.4;
}

.categoria.engenharia .card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--cinza-texto);
  margin: 0;
}

/* =====================================================
   CARDS COM FOTO PARA LOCAÇÕES (LARANJA & BRANCO)
===================================================== */
.categoria.locacoes .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-content: center;
}

.categoria.locacoes .card {
  background: #ffffff;
  border: 1px solid rgba(247, 148, 29, 0.1);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(247, 148, 29, 0.02);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.categoria.locacoes .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(247, 148, 29, 0.08);
  border-color: rgba(247, 148, 29, 0.25);
}

.categoria.locacoes .card-header {
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #fdfdfd;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #f9f9f9;
  margin-bottom: 0;
}

.categoria.locacoes .card-header img {
  height: 68%;
  max-height: 135px;
  width: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.categoria.locacoes .card:hover .card-header img {
  transform: scale(1.08);
}

.categoria.locacoes .card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.categoria.locacoes .card-body h3 {
  font-size: 1.3rem;
  color: #222222;
  margin-bottom: 8px;
  font-weight: 700;
}

.categoria.locacoes .card-body p {
  font-size: 0.95rem;
  color: var(--cinza-texto);
  line-height: 1.5;
  margin-bottom: 16px;
}

.categoria.locacoes .card-footer {
  border-top: 1px solid #f0f0f0;
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Forçando botão principal de locação a ser laranja */
body.page-modern .card-footer .btn {
  background: var(--laranja);
  color: #ffffff;
  border: 2px solid var(--laranja);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

body.page-modern .card-footer .btn:hover {
  background: var(--laranja-hover);
  border-color: var(--laranja-hover);
  color: #ffffff;
}

/* =====================================================
   ESTILO PARA CARDS DE "SAIBA MAIS" / CONVERSÃO
===================================================== */
.card.card-more {
  background: linear-gradient(135deg, rgba(247, 148, 29, 0.01) 0%, rgba(247, 148, 29, 0.04) 100%);
  border: 2px dashed rgba(247, 148, 29, 0.35); /* Borda tracejada laranja */
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 32px 24px;
}

.categoria.engenharia .card.card-more {
  justify-content: center;
}

.categoria.locacoes .card.card-more {
  justify-content: center;
  padding: 24px;
}

.card.card-more:hover {
  border-color: var(--laranja);
  background: rgba(247, 148, 29, 0.06);
}

.card.card-more .card-icon {
  background: var(--laranja);
  color: #ffffff;
  margin-bottom: 16px;
}

.card.card-more h3 {
  color: #222222;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card.card-more p {
  font-size: 0.95rem;
  color: var(--cinza-texto);
  line-height: 1.5;
  margin-bottom: 24px;
}

.card.card-more .btn {
  width: 100%;
  margin-top: auto;
  border-radius: 20px;
  background: var(--laranja);
  color: #ffffff;
  border: none;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.card.card-more .btn:hover {
  background: var(--laranja-hover);
}

/* =====================================================
   SEÇÃO CTA (LARANJA & BRANCO - BOLD & PREMIUM)
===================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--laranja) 0%, var(--laranja-hover) 100%); /* Fundo laranja corporativo */
  color: #ffffff;
  padding: 80px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-container h2 {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #ffffff;
}

.cta-container p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 36px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.cta-btn-primary {
  background: #ffffff; /* Botão branco */
  color: var(--laranja); /* Texto laranja */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn-primary:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff; /* Borda branca */
}

.cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* =====================================================
   PÁGINA CONTATO (PRESERVADO COM TONS NEUTROS E LARANJA)
===================================================== */
.contato-page-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.contato-page-header h2 {
  margin-bottom: 16px;
  color: #1a1a1a;
}

.contato-page-header p {
  font-size: 1.05rem;
  color: var(--cinza-texto);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contato-info-panel,
.contato-form-panel {
  background: var(--branco);
  border-radius: 18px;
  padding: 32px;
  border: 1px solid var(--cinza-borda);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.contato-info-panel h3,
.contato-form-panel h3 {
  font-size: 1.35rem;
  color: #222222;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--laranja);
}

.contato-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 28px;
}

.contato-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contato-info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(247, 148, 29, 0.1);
  color: var(--laranja);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contato-info-item strong {
  display: block;
  color: #222222;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contato-info-item a {
  color: var(--laranja);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contato-info-item a:hover {
  color: var(--laranja-hover);
}

.contato-info-item p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.contato-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.contato-map iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 0;
}

.contato-form-panel .form-intro {
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.6;
}

body.page-modern .contato-form-panel .form-group label {
  display: block;
  margin-bottom: 6px;
  color: #222222;
  font-weight: 600;
  font-size: 0.9rem;
}

body.page-modern .contato-form-panel .form-group input,
body.page-modern .contato-form-panel .form-group textarea {
  border: 1px solid var(--cinza-borda);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.page-modern .contato-form-panel .form-group input:focus,
body.page-modern .contato-form-panel .form-group textarea:focus {
  outline: none;
  border-color: var(--laranja);
  box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.15);
}

body.page-modern .contato-form-panel .btn {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  border-radius: 10px;
  margin-top: 8px;
  background-color: var(--laranja);
  color: #ffffff;
}

body.page-modern .contato-form-panel .btn:hover {
  background-color: var(--laranja-hover);
  transform: translateY(-1px);
}

/* =====================================================
   RODAPÉ (REDESENHADO NEUTRO PREMIUM - LARANJA & BRANCO)
===================================================== */
body.page-modern .footer {
  background: #141414; /* Fundo grafite/neutral escuro */
  color: #ffffff;
  margin-top: 0;
  text-align: left;
  padding: 0;
  border-top: 4px solid var(--laranja); /* Borda laranja grossa no topo */
}

body.page-modern .footer-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 32px 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

body.page-modern .footer-col {
  display: flex;
  flex-direction: column;
}

body.page-modern .footer-col strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: #ffffff;
  font-weight: 700;
  position: relative;
}

body.page-modern .footer-col strong::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 36px;
  height: 3px;
  background-color: var(--laranja);
  border-radius: 2px;
}

body.page-modern .footer-col p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}

body.page-modern .footer-col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

body.page-modern .footer-col a:hover {
  color: var(--laranja);
  transform: translateX(4px);
}

body.page-modern .footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.page-modern .footer-nav a {
  font-size: 0.95rem;
}

body.page-modern .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: #0b0b0b;
  text-align: center;
  padding: 24px 32px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
}

/* =====================================================
   RESPONSIVIDADE (ATUALIZADA)
===================================================== */
@media (max-width: 992px) {
  body.page-modern .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  body.page-modern .footer-col:first-child {
    grid-column: span 2;
  }
  
  .slider-arrow {
    width: 46px;
    height: 46px;
    font-size: 1.25rem;
  }
  
  .slider-arrow-left {
    left: 15px;
  }
  
  .slider-arrow-right {
    right: 15px;
  }
}

@media (max-width: 768px) {
  body.page-modern:not(.has-hero-slider) {
    padding-top: 86px;
  }
  
  body.page-modern .logo {
    height: 56px;
  }
  
  body.page-modern .header-container {
    padding: 14px 20px;
  }
  
  body.page-modern .header.scrolled .header-container {
    padding: 10px 20px;
  }

  body.page-modern .menu-toggle {
    display: flex;
  }

  body.page-modern .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 80vw);
    height: 100vh;
    background: #ffffff; /* Fundo branco para o drawer móvel corporativo */
    border-left: 4px solid var(--laranja);
    flex-direction: column;
    align-items: flex-start;
    padding: 110px 32px 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1001;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
    display: flex;
  }

  body.page-modern .nav.is-open {
    transform: translateX(0);
  }

  body.page-modern .nav a {
    margin: 0;
    padding: 16px 0;
    width: 100%;
    font-size: 1.05rem;
    color: #333333 !important; /* Sempre escuro no drawer */
    border-bottom: 1px solid #f0f0f0;
  }
  
  body.page-modern .nav a:hover,
  body.page-modern .nav a.is-active {
    padding-left: 8px;
    color: var(--laranja) !important;
  }

  body.page-modern .nav a::after {
    display: none;
  }

  body.page-modern .categoria {
    margin: 64px auto;
    padding: 0 20px;
  }
  
  body.page-modern .categoria h2 {
    font-size: 1.8rem;
  }

  .categoria.locacoes .grid {
    grid-template-columns: 1fr;
  }

  .contato-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body.page-modern .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 20px 32px;
  }
  
  body.page-modern .footer-col:first-child {
    grid-column: span 1;
  }
}

/* =====================================================
   HERO BANNER DE PÁGINAS INTERNAS
===================================================== */
.page-hero-section {
  position: relative;
  height: 45vh;
  min-height: 320px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
}

.page-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(25, 20, 15, 0.45) 0%,
    rgba(15, 10, 5, 0.85) 100%
  );
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin-top: 60px; /* Compensa o menu fixo */
}

.page-hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 18px;
  color: #ffffff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-hero-content p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.6;
  opacity: 0.95;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin: 0;
}

/* =====================================================
   LISTAS DE CARDS PERSONALIZADAS (BULLETS LARANJA)
===================================================== */
body.page-modern .card-list {
  list-style: none;
  padding-left: 0;
  margin: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

body.page-modern .card-list li {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--cinza-texto);
  position: relative;
  padding-left: 24px;
}

body.page-modern .card-list li::before {
  content: "✓"; /* Checkmark laranja */
  position: absolute;
  left: 0;
  top: 0;
  color: var(--laranja);
  font-weight: bold;
  font-size: 1.05rem;
}

/* =====================================================
   LAYOUT DA PÁGINA DE LOCAÇÕES (COM SIDEBAR)
===================================================== */
.locacoes-wrapper {
  max-width: 1300px;
  margin: 100px auto 60px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sidebar */
.locacoes-sidebar {
  background: #ffffff;
  border: 1px solid rgba(247, 148, 29, 0.15);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
  position: sticky;
  top: 100px; /* Gruda abaixo do cabeçalho fixo */
  z-index: 10;
}

.locacoes-sidebar h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--laranja);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Botões do Filtro */
.sidebar-btn {
  background: transparent;
  border: none;
  text-align: left;
  padding: 12px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cinza-texto);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.sidebar-btn:hover {
  background: rgba(247, 148, 29, 0.05);
  color: var(--laranja);
}

.sidebar-btn.active {
  background: var(--laranja);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(247, 148, 29, 0.25);
}

/* Grupo de Categoria e Sub-links */
.sidebar-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.sidebar-sublinks {
  list-style: none;
  padding-left: 14px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), margin 0.3s ease;
}

.sidebar-sublinks.expanded {
  max-height: 1000px; /* Expande dinamicamente */
  margin-top: 6px;
  margin-bottom: 12px;
}

.sublink-item {
  display: block;
  padding: 6px 12px;
  font-size: 0.86rem;
  font-weight: 500;
  color: #555555;
  text-decoration: none;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all 0.22s ease;
  white-space: normal;
  line-height: 1.3;
}

.sublink-item:hover {
  background: rgba(247, 148, 29, 0.05);
  color: var(--laranja);
  padding-left: 18px;
}

.sublink-item.active {
  color: var(--laranja);
  font-weight: 700;
  border-left-color: var(--laranja);
  background: rgba(247, 148, 29, 0.04);
  padding-left: 18px;
}

/* Conteúdo principal de Locações */
.locacoes-content {
  display: flex;
  flex-direction: column;
}

/* Ajustes nas seções internas de locações para caber no wrapper */
.locacoes-content .categoria {
  margin: 0 0 60px 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
}

/* Ajustes responsivos para o menu lateral */
@media (max-width: 768px) {
  .locacoes-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 86px;
    padding: 0 20px;
  }

  .locacoes-sidebar {
    position: sticky;
    top: 86px; /* Gruda abaixo do cabeçalho responsivo */
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  }

  .locacoes-sidebar h3 {
    display: none; /* Esconde título no celular */
  }

  .sidebar-links {
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 4px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar-links::-webkit-scrollbar {
    display: none; /* Oculta a barra de rolagem horizontal */
  }

  .sidebar-btn {
    flex: 0 0 auto;
    width: auto;
    padding: 8px 16px;
    font-size: 0.88rem;
  }

  /* Oculta os sublinks individuais no mobile para manter a simplicidade */
  .sidebar-sublinks {
    display: none !important;
  }
}


