/* ===================== CSS GERAL ===================== */
/* Reset, variáveis, utilidades, layout base, componentes globais */
/* 
  CSS ARCHITECTURE INDEX:
  1. RESET & VARIABLES (lines 1-50)
  2. GLOBAL UTILITIES (lines 50-200)
  3. HEADER & NAVIGATION (lines 200-400)
  4. HOME PAGE (lines 400-1000)
  5. BUTTONS & COMPONENTS (lines 1000-1500)
  6. FORMS & INPUTS (lines 1500-2000)
  7. CONTACT PAGE (lines 2000-2500)
  8. SEGMENTOS PAGE (lines 2500-3500)
  9. SOBRE PAGE (lines 3500-4200)
  10. SERVICOS PAGE (lines 4200-4500)
  11. FOOTER (lines 4500-end)
  12. MEDIA QUERIES (Scattered - consider consolidating)
*/

html, body {
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body, .header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* Typewriter effect for hero */
.typewriter-container-mobile {
  display: block;
  text-align: left;
  margin-bottom: 5px;
  min-height: 160px;
  width: 100%;
}
/* Typewriter gold effect with shine */
.typewriter-gold {
  color: var(--gold);
  font-family: "Oswald", "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 1.5px;
  display: block;
  line-height: 1.2;
  white-space: normal;
  overflow: visible;
  position: relative;
  word-wrap: break-word;
  width: 100%;
}
.typewriter-gold-sub {
  color: var(--gold);
  font-family: "Inter", sans-serif;
  font-size: clamp(1.4rem, 2.3vw, 2rem);
  font-weight: 500;
  opacity: 0.92;
  letter-spacing: 1px;
  display: block;
  line-height: 1.2;
  white-space: normal;
  overflow: visible;
  position: relative;
  word-wrap: break-word;
  width: 100%;
}

@media (min-width: 769px) {
  .page-home .hero {
    padding: 56px 0 34px;
    min-height: calc(100vh - 132px);
  }

  .page-home .hero .container {
    gap: 14px;
  }

  .page-home .typewriter-gold {
    font-size: clamp(2.5rem, 4.2vw, 3.1rem);
    line-height: 1.05;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    width: auto;
  }

  .page-home .typewriter-gold-sub {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    letter-spacing: 0.8px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    width: auto;
  }

  .page-home .typewriter-container-mobile {
    margin-bottom: 1px;
    min-height: 140px;
  }

  .page-home .hero h1 {
    margin-top: 0;
  }

  .page-home .hero-tagline {
    margin-top: -2px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.04);
    border-left-width: 3px;
    font-size: 0.93rem;
  }
}

@media (max-width: 600px) {
  .typewriter-container-mobile {
    min-height: 170px;
    margin-bottom: 3px;
  }

  .typewriter-gold,
  .typewriter-gold-sub {
    width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
  }

  .typewriter-gold-sub {
    font-size: 1.65rem;
    letter-spacing: 0.4px;
  }
}

@media (max-width: 480px) {
  .typewriter-container-mobile {
    min-height: 180px;
    margin-bottom: 2px;
  }

  .typewriter-gold,
  .typewriter-gold-sub {
    width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
  }

  .typewriter-gold-sub {
    font-size: 1.5rem;
  }
}

@keyframes gold-shine {
  0% { filter: brightness(1.1) drop-shadow(0 0 0px #ffd700); }
  30% { filter: brightness(1.2) drop-shadow(0 0 6px #ffd700); }
  60% { filter: brightness(1.4) drop-shadow(0 0 12px #ffd700); }
  80% { filter: brightness(1.2) drop-shadow(0 0 6px #ffd700); }
  100% { filter: brightness(1.1) drop-shadow(0 0 0px #ffd700); }
}
:root {
  --black: #000000;
  --dark: #333333;
  --border: #d9d9d9;
  --light: #f2f2f2;
  --gold: #ffc300;
  --gold-dark: #c4a000;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--dark);
  background: var(--white); 
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.topbar {
  background: var(--black);
  color: var(--white);
  font-size: 0.9rem;
}

.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 10px 24px 10px 0; 
}

.topbar-links {
  display: flex;
  gap: 20px;
}

@media (max-width: 480px) {
  .sobre-universidade p,
  .sobre-universidade p.lead,
  .sobre-orgulho p,
  .sobre-orgulho p.lead,
  .sobre-pequeno p,
  .sobre-pequeno p.lead,
  .sobre-psicologia p,
  .sobre-psicologia p.lead,
  .sobre-denuncias p,
  .sobre-denuncias p.lead {
    text-align: center !important;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  .page-sobre .hero-sobre-text {
    text-align: center !important;
    hyphens: auto;
    -webkit-hyphens: auto;
  }
  .topbar .container {
    padding: 8px 0;
    gap: 10px;
  }

  .topbar-links {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .topbar a {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
}

.topbar-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
  color: var(--white);
}

.topbar-toggle .toggle-bars {
  display: grid;
  gap: 3px;
}

.topbar-toggle .toggle-bars span {
  width: 16px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
  display: block;
}

.topbar a {
  opacity: 0.9;
}

.topbar a:hover {
  opacity: 1;
  color: var(--gold);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black) url("../img/hero/banner.png") center/cover no-repeat;
  border-bottom: 1px solid var(--border);
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.page-segmentos, body.page-servicos {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
  position: relative;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 44px;
}

@media (min-width: 769px) {
  .header .container {
    padding: 6px 0;
  }

  .brand {
    height: 64px;
  }

  .brand img {
    height: 100%;
    width: auto;
    max-height: none;
  }
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav a {
  font-weight: 600;
  color: var(--white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.nav a:hover,
.nav a.active {
  color: var(--gold-dark);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav {
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    background: #1f1f1f;
    border: 1px solid #121212;
    border-radius: 14px;
    padding: 12px;
    flex-direction: column;
    gap: 0;
    z-index: 99;
    width: 200px;
    max-height: 0;
    max-height: calc(100vh - 100px);
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav.open {
    max-height: 500px;
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  .nav a {
    padding: 10px 12px;
    border-bottom: none;
    font-size: 0.95rem;
    display: block;
    color: var(--white);
    text-shadow: none;
  }

  .nav a:hover,
  .nav a.active {
    color: var(--gold);
    background: rgba(255, 195, 0, 0.1);
    border-radius: 8px;
  }
}

.menu-toggle .toggle-bars {
  display: grid;
  gap: 3px;
}

.menu-toggle .toggle-bars span {
  width: 16px;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
  display: block;
}

.hero-logo {
  position: absolute;
  height: 350px;
  opacity: 0.06;
  pointer-events: none;
}

.hero-logo-left {
  left: -80px;
  top: 50%;
  transform: translateY(-50%);
}

.hero-logo-right {
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 900px) {
  .hero-logo {
    height: 220px;
  }

  .hero-logo-left {
    left: -50px;
  }

  .hero-logo-right {
    right: -50px;
  }
}

.hero {
  position: relative;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.4)),
    url("../img/hero/fundo3.png") center/cover no-repeat;
  color: var(--white);
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 40px 0 30px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 30px 0 20px;
  }
}

.page-home .hero {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.4)),
    url("../img/hero/fundo1.png") center/cover no-repeat;
}

.page-contato .hero {
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.4)),
    url("../img/hero/fundo2.png") center/cover no-repeat;
}

.page-contato .section-contato-proposta {
  position: relative;
  background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.9),
      rgba(255, 255, 255, 0.86)
    ),
    url("../img/hero/wallOcta.jpg") center/cover no-repeat;
}

.hero .container {
  display: grid;
  gap: 12px;
  max-width: 760px;
  width: min(100% - 32px, 760px);
  margin: 0 auto;
}

.hero h1 {
  font-family: "Oswald", "Montserrat", sans-serif;
  font-size: clamp(1.82rem, 3.3vw, 3rem);
  line-height: 1.1;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(1.6rem, 5.5vw, 2.4rem);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(1.55rem, 5vw, 2rem);
    line-height: 1.15;
  }
}

.hero p {
  font-size: 1.1rem;
}

.page-home .hero > .container > p:not(.hero-tagline):last-of-type {
  white-space: nowrap;
  font-size: 0.98rem;
}

.hero-tagline {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  margin: -4px 0 0;
}

@media (max-width: 768px) {
  .hero p {
    font-size: 1rem;
  }

  .page-home .hero > .container > p:not(.hero-tagline):last-of-type {
    white-space: normal;
    font-size: 1rem;
  }

  .hero-tagline {
    white-space: normal;
    font-size: clamp(0.72rem, 2.8vw, 0.88rem);
    padding: 6px 8px;
    line-height: 1.15;
  }
}

@media (max-width: 480px) {
  .hero p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .page-home .hero > .container > p:not(.hero-tagline):last-of-type {
    white-space: normal;
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .hero-tagline {
    white-space: normal;
    font-size: 0.8rem;
    padding: 5px 7px;
    line-height: 1.1;
    width: fit-content;
    max-width: 100%;
  }

  .cta-group .btn {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}

.hero.hero-services .container {
  max-width: 1180px;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.hero.hero-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.66) 55%,
    rgba(0, 0, 0, 0.74) 100%
  );
  z-index: 1;
}

.hero.hero-services h2 {
  margin-bottom: 2px;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}

.hero.hero-services .services-hero-lead {
  margin: 0 0 10px;
  max-width: 64ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.55;
}

.hero.hero-services .service-group-title {
  color: rgba(255, 255, 255, 0.96);
}

.hero.hero-services {
  align-items: flex-start;
  padding: 48px 0 72px;
  position: relative;
  background: url("../img/hero/walltechb.png") center/cover no-repeat !important;
}

.hero.hero-services .service-group-header {
  margin-bottom: 0.6rem;
}

.hero.hero-services .service-group-header-spaced {
  margin-top: 2.4rem;
}

.hero.hero-services .services-grid-main {
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  gap: 12px;
}

.hero.hero-services .services-grid-jpf {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 12px;
}

.hero.hero-services .card {
  min-height: 76px;
  padding: 15px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.hero.hero-services .card:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.26);
}

.hero.hero-services .service-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}

.hero.hero-services .service-group-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero.hero-services .card-with-logo {
  flex-direction: column;
  gap: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top: 5px solid var(--gold);
}

.hero.hero-services .services-grid-jpf .card-with-logo {
  border-top-color: #4b5563;
}

.hero.hero-services .card-with-logo span {
  flex: 1;
  text-align: center;
  line-height: 1.3;
}

.hero.hero-services .service-nav-card {
  position: relative;
  overflow: hidden;
}

.hero.hero-services .service-nav-card::after {
  content: "→";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: #6b7280;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero.hero-services .service-nav-card:hover::after,
.hero.hero-services .service-nav-card:focus-visible::after,
.hero.hero-services .service-nav-card.is-active::after {
  opacity: 1;
  transform: translateY(-50%) translateX(1px);
}

.hero.hero-services .service-nav-card.is-active {
  border-color: var(--gold);
  background: #fff7d6;
  box-shadow: 0 0 0 2px rgba(255, 195, 0, 0.26), 0 12px 24px rgba(0, 0, 0, 0.22);
}

.hero.hero-services .service-nav-card:focus-visible {
  outline: 3px solid rgba(255, 195, 0, 0.75);
  outline-offset: 2px;
}


@media (max-width: 1100px) {
  .hero.hero-services .services-grid-main {
    grid-template-columns: repeat(3, minmax(210px, 1fr));
  }
}

@media (max-width: 900px) {
  .hero.hero-services .services-grid-main,
  .hero.hero-services .services-grid-jpf {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 620px) {
  .hero.hero-services .services-grid-main,
  .hero.hero-services .services-grid-jpf {
    grid-template-columns: 1fr;
  }

  .hero.hero-services .card {
    min-height: 78px;
  }
}

.service-compare-container {
  max-width: 1100px !important;
}



.contact-quick {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 195, 0, 0.4);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
}

.contact-item {
  display: grid;
  gap: 4px;
}

.contact-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-item a {
  font-weight: 700;
  font-size: 1.1rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 768px) {
  .cta-group {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .cta-group {
    flex-direction: column;
    gap: 10px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: 0.2s ease;
}

@media (max-width: 768px) {
  .cta-group .btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .cta-group .btn {
    padding: 10px 14px;
    font-size: 0.93rem;
  }
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--gold-dark);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.btn-hide-mobile {
  display: inline-flex;
}

@media (max-width: 768px) {
  .btn-hide-mobile {
    display: none;
  }
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

.btn-outline-dark {
  border-color: var(--dark);
  color: var(--dark);
}

.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.btn-title {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cta-group-equal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.cta-group-equal .btn {
  width: 100%;
  border-radius: 8px;
}

.proposal-groups {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(340px, 1.15fr) minmax(300px, 1fr);
  gap: 16px;
  align-items: stretch;
}

.proposal-groups-right {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: stretch;
}

.proposal-btn {
  width: 100%;
  min-height: 0;
  border-radius: 14px;
  padding: 17px 18px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
  text-align: left;
  border: 1px solid #d5dbe5;
  box-shadow: 0 4px 14px rgba(12, 20, 32, 0.08);
}

.proposal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(12, 20, 32, 0.14);
}

.proposal-btn-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.proposal-btn-logo {
  height: 40px;
  width: auto;
  max-width: 116px;
  object-fit: contain;
}

.proposal-btn-kicker {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
}

.proposal-btn-title {
  display: block;
  margin-top: 2px;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}

.proposal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proposal-tag {
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
}

.proposal-btn--guardiao {
  background: linear-gradient(145deg, #fff8da 0%, #ffefaf 100%);
  color: var(--black);
  border-color: #efc54f;
}

.proposal-btn--guardiao .proposal-tag {
  background: rgba(178, 133, 0, 0.19);
  color: var(--black);
}

.proposal-btn--guardiao .proposal-tags {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  flex: 1;
  justify-items: center;
  align-content: center;
}

.proposal-btn--guardiao .proposal-tag {
  width: 100%;
  max-width: 170px;
  text-align: center;
}

.proposal-btn--jpf {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  color: #1f2a3c;
  border-color: #c2cede;
}

.proposal-btn--jpf .proposal-tag {
  background: #e9eff8;
  color: #1f2a3c;
}

.proposal-btn--escolta-exclusive {
  background: linear-gradient(180deg, #f9fbff 0%, #f1f6ff 100%);
  border: 2px solid #274b80;
}

@media (max-width: 1024px) {
  .proposal-groups {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .proposal-groups-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    align-content: start;
  }

  .proposal-btn--guardiao .proposal-tags {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .proposal-groups {
    grid-template-columns: 1fr;
  }

  .proposal-groups-right {
    grid-template-columns: 1fr;
  }

  .proposal-btn {
    min-height: auto;
  }

  .proposal-btn--guardiao .proposal-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .badges {
    gap: 8px;
    font-size: 0.85rem;
  }

  .badge {
    padding: 5px 10px;
  }
}

@media (max-width: 480px) {
  .badges {
    gap: 6px;
    font-size: 0.8rem;
  }

  .badge {
    padding: 4px 8px;
  }
}

.section {
  padding: 72px 0;
}

.section.light {
  background: var(--light);
}

.section-home-servicos {
  background:
    linear-gradient(180deg, rgba(242, 242, 242, 0.9) 0%, rgba(242, 242, 242, 0.97) 58%, #f2f2f2 100%),
    url("../img/hero/walltechw.png") center bottom / cover no-repeat;
}

.section-home-segmentos {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.74) 100%),
    url("../img/hero/wallOcta.jpg") right top / min(920px, 86vw) auto no-repeat;
}

.section-home-clientes {
  background:
    linear-gradient(180deg, rgba(242, 242, 242, 0.96) 0%, rgba(242, 242, 242, 0.88) 100%),
    url("../img/hero/wallOcta.jpg") center center / cover no-repeat;
}

@media (max-width: 768px) {
  .section-home-clientes h2 {
    white-space: nowrap;
    font-size: clamp(1.15rem, 5.2vw, 1.55rem);
  }
}

.section-home-outros {
  background:
    linear-gradient(120deg, rgba(12, 12, 12, 0.92) 0%, rgba(35, 35, 35, 0.86) 52%, rgba(8, 8, 8, 0.94) 100%),
    url("../img/hero/walltechb.png") center center / cover no-repeat;
  color: var(--white);
}

.section-home-outros h2,
.section-home-outros .lead {
  color: var(--white);
}

.section-home-outros .service-group {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 195, 0, 0.22);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

@media (min-width: 901px) {
  .section-home-outros {
    padding: 38px 0 42px;
  }

  .section-home-outros h2 {
    margin-bottom: 10px;
  }

  .section-home-outros .lead {
    margin-bottom: 18px;
  }
}

.section-home-outros .service-group-title {
  color: #1f2937;
}

.section-home-diferenciais {
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.9) 0%, rgba(31, 31, 31, 0.88) 54%, rgba(0, 0, 0, 0.94) 100%),
    url("../img/hero/walltechb.png") center center / cover no-repeat;
  color: var(--white);
}

.section-home-diferenciais h2 {
  color: var(--white);
}

.section-home-diferenciais .diferencial-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--dark);
  border-color: rgba(255, 195, 0, 0.28);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.section-home-proposta {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(247, 247, 247, 0.96) 100%),
    url("../img/hero/walltechw.png") center bottom / cover no-repeat;
}

.section-home-proposta .grid-2 {
  align-items: stretch;
}

.section-home-proposta .faq,
.section-home-proposta .contact-card {
  height: 100%;
}

.section-home-proposta details,
.section-home-proposta .contact-card {
  border-color: rgba(196, 160, 0, 0.22);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.section-home-proposta .contact-card {
  border-top: 4px solid var(--gold);
  justify-items: center;
  align-content: center;
}

.section h2 {
  font-family: "Oswald", "Montserrat", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 16px;
}

.section p.lead {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
  text-align: center;
}

.card h3 {
  font-size: 1.25rem;
}

.card a {
  color: var(--gold-dark);
  font-weight: 700;
}

.icon-pill {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--black);
}

.carousel {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.carousel.carousel-fade::before,
.carousel.carousel-fade::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
}

@media (max-width: 768px) {
  .carousel.carousel-fade::before,
  .carousel.carousel-fade::after {
    width: 50px;
  }
}

@media (max-width: 480px) {
  .carousel.carousel-fade::before,
  .carousel.carousel-fade::after {
    width: 30px;
  }
}

.carousel.carousel-fade::after {
  right: 0;
  transform: scaleX(-1);
}

.carousel.carousel-fade::before {
  left: 0;
}

.section.light .carousel.carousel-fade::before,
.section.light .carousel.carousel-fade::after {
  background: linear-gradient(
    to right,
    rgba(242, 242, 242, 1),
    rgba(242, 242, 242, 0)
  );
}

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  cursor: grab;
}

@media (max-width: 768px) {
  .carousel-track {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .carousel-track {
    gap: 12px;
  }
}

.carousel-track {
  touch-action: pan-y;
}

.carousel-track.is-dragging {
  cursor: grabbing;
}

.carousel-continuous .carousel-track {
  scroll-snap-type: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0;
}

.carousel-smooth .carousel-track {
  scroll-snap-type: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-continuous .carousel-controls {
  display: none;
}

.carousel-continuous .carousel-track::-webkit-scrollbar {
  height: 0;
}

.carousel-track::-webkit-scrollbar {
  height: 6px;
}

.carousel-smooth .carousel-track::-webkit-scrollbar {
  height: 0;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}

.logo-card {
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 600;
  scroll-snap-align: center;
}

.service-card {
  width: clamp(260px, 78vw, 340px);
  min-width: clamp(260px, 78vw, 340px);
  min-height: 0;
  font-size: 1rem;
  text-align: center;
  align-content: start;
  gap: 12px;
  padding: 12px;
  overflow: hidden;
}

.section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.hero {
  content-visibility: visible;
}

.service-card img {
  width: 100%;
  height: 255px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 42%;
  border-radius: 10px;
  margin: 0 auto;
  user-select: none;
  -webkit-user-drag: none;
  filter: contrast(1.1) saturate(1.15) brightness(1.05);
  background: #ececec;
}

.service-card h3 {
  font-size: 1.05rem;
}

.service-card p {
  font-size: 0.9rem;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-0.5px);
  transition: 0.2s ease;
}

.logo-card:not(.service-card) img {
  max-height: 60px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  padding: 4px;
}

.page-home .carousel-smooth .logo-card {
  min-width: 150px;
  padding: 12px;
}

.page-home .carousel-smooth .logo-card img {
  max-height: 44px;
  max-width: 110px;
  padding: 2px;
}

.clients-mobile-rows {
  display: none;
}

@media (min-width: 769px) {
  .page-home .carousel-smooth .logo-card {
    min-width: 230px;
    padding: 14px;
    overflow: hidden;
  }

  .page-home .carousel-smooth .logo-card img {
    max-height: 88px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }
}

@keyframes clients-marquee-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes clients-marquee-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.carousel-center-controls .carousel-controls {
  width: 100%;
  justify-content: center;
}

.carousel-button {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
}

.process {
  display: grid;
  gap: 18px;
  position: relative;
}

.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: var(--border);
}

.process-step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}

.process-step-marker {
  display: grid;
  justify-items: center;
  position: relative;
  z-index: 1;
}

.process-step-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 195, 0, 0.18);
  color: var(--gold-dark);
  flex-shrink: 0;
}

.process-step-icon svg {
  width: 18px;
  height: 18px;
}

.process-step-body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow);
}

.process-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
}


.process-step h3 {
  font-size: 1.1rem;
}

.process-step p {
  margin: 0;
  color: var(--dark);
}

.faq {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  background: var(--white);
}

.card img {
  max-height: 70px;
  width: 100%;
  object-fit: contain;
}

.segment-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: none;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.page-home .home-segment-accordion .segment-image {
  width: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center center;
}

.segment-card {
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  min-height: 420px;
}

.segment-mobile-toggle {
  display: none;
}

.segment-content {
  padding: 22px 24px 24px;
  display: grid;
  gap: 12px;
}

.segment-content p {
  text-align: justify;
}

.segment-content a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-dark);
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: fit-content;
}

.segment-content a::after {
  content: "→";
  transition: transform 0.3s ease;
}

.segment-content a:hover {
  background: rgba(255, 195, 0, 0.1);
  transform: translateX(4px);
}

.segment-content a:hover::after {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .home-segment-accordion {
    gap: 8px;
  }

  .home-segment-accordion .segment-card {
    min-height: auto;
    grid-template-rows: auto auto auto;
    border-radius: 10px;
  }

  .home-segment-accordion .segment-image {
    height: 78px;
    aspect-ratio: auto;
    max-height: none;
    object-fit: cover;
    object-position: center center;
  }

  .segment-mobile-toggle {
    display: flex;
    width: 100%;
    border: none;
    background: #1f1f1f;
    color: #ffffff;
    min-height: 36px;
    padding: 7px 12px;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
  }

  .segment-card.is-open .segment-mobile-toggle {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .segment-mobile-toggle::after {
    content: "+";
    font-size: 1.2rem;
    line-height: 1;
  }

  .segment-card.is-open .segment-mobile-toggle::after {
    content: "-";
  }

  .segment-accordion-content {
    display: none;
  }

  .segment-card.is-open .segment-accordion-content {
    display: grid;
  }

  .home-segment-accordion .segment-content {
    padding: 10px 12px 12px;
    gap: 8px;
    align-content: start;
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  }

  .home-segment-accordion .segment-content h3 {
    display: none;
  }

  .home-segment-accordion .segment-content p {
    margin: 0;
    text-align: left;
    font-size: 0.96rem;
    line-height: 1.48;
  }

  .home-segment-accordion .segment-content a {
    margin-top: 2px;
    padding: 6px 0;
  }

  .home-segment-accordion .icon-pill {
    display: none;
  }
}

@media (max-width: 480px) {
  .home-segment-accordion .segment-image {
    height: 64px;
  }

  .segment-mobile-toggle {
    min-height: 34px;
    padding: 6px 11px;
    font-size: 0.84rem;
  }

  .home-segment-accordion .segment-content {
    padding: 10px 12px 12px;
  }

  .home-segment-accordion .segment-content p {
    font-size: 0.92rem;
  }
}

summary {
  cursor: pointer;
  font-weight: 600;
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.form .row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
}

textarea {
  min-height: 120px;
}

.form .btn {
  width: fit-content;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  align-content: start;
  text-align: center;
}

.contact-card p {
  margin: 0;
}

.contact-card a {
  color: inherit;
}

.note {
  background: rgba(255, 195, 0, 0.12);
  border: 1px solid rgba(255, 195, 0, 0.4);
  padding: 18px;
  border-radius: 12px;
}

.service-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 0;
}

.footer .grid {
  gap: 26px;
  align-items: flex-start;
}

.footer .grid > div:first-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer .grid > div + div {
  border-left: 1px solid rgba(255, 195, 0, 0.4);
  padding-left: 24px;
}

.footer a {
  color: var(--white);
  opacity: 0.85;
}

.footer a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer small {
  opacity: 0.7;
  display: block;
  text-align: center;
  margin-top: 18px;
}

.footer img {
  max-height: 80px;
  width: auto;
}

.footer ul {
  list-style: disc;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.footer .grid > div:first-child ul {
  list-style: none;
  padding-left: 0;
}

.footer hr {
  border: 0;
  border-top: 1px solid rgba(255, 195, 0, 0.4);
  width: 100%;
  margin: 14px 0;
}

.footer p {
  margin-top: 12px;
}

.footer-home {
  padding: 26px 0 10px;
}

.footer-home-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 1fr 0.85fr;
  gap: 12px;
  align-items: start;
}

.footer-home-brand {
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-right: 10px;
}

.footer-home-brand img {
  margin: 0 auto 8px;
  max-height: 62px;
}

.footer-home-brand p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 300px;
  margin: 0 auto;
}

.footer-home-brand-hours {
  margin-top: 10px;
  display: grid;
  gap: 2px;
}

.footer-home-brand-hours strong {
  color: var(--white);
  font-size: 0.95rem;
}

.footer-home-brand-hours span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.93rem;
}

.footer-home-block {
  border-left: 1px solid rgba(255, 195, 0, 0.4);
  padding-left: 14px;
}

.footer-home-block h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  font-family: "Oswald", "Montserrat", sans-serif;
}

.footer-home-addresses {
  display: grid;
  gap: 6px;
}

.footer-address-card {
  display: grid;
  gap: 3px;
}

.footer-address-card strong {
  color: var(--white);
  font-size: 0.96rem;
}

.footer-address-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.35;
  font-size: 0.92rem;
}

.footer-home-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}

.footer-home-list li {
  display: grid;
  gap: 2px;
}

.footer-home-list strong {
  color: var(--white);
}

.footer-home-list span {
  color: rgba(255, 255, 255, 0.85);
}

.footer-home-links .footer-home-list li {
  display: block;
}

.footer-home-links a {
  display: inline-block;
  font-size: 0.94rem;
}

.footer-home-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: 12px;
  padding-top: 8px;
  text-align: center;
}

.footer-home-bottom small {
  margin: 0;
  opacity: 0.7;
}

@media (max-width: 1100px) {
  .footer-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .footer-home-brand {
    align-self: start;
    text-align: left;
  }

  .footer-home-brand img,
  .footer-home-brand p {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 760px) {
  .footer-home {
    padding: 22px 0 10px;
  }

  .footer-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }

  .footer-home-block {
    border-left: 0;
    padding-left: 0;
    padding-top: 10px;
  }

  .footer-home-brand {
    grid-column: 1 / -1;
    align-self: auto;
    text-align: center;
    padding-right: 0;
  }

  .footer-home-brand img,
  .footer-home-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-home-addresses {
    display: none;
  }

  .footer-home-contact,
  .footer-home-links {
    border-top: 1px solid rgba(255, 195, 0, 0.35);
  }

  .footer-home-contact {
    grid-column: 1;
    padding-right: 10px;
  }

  .footer-home-contact .footer-home-list li:nth-child(n + 3) {
    display: none;
  }

  .footer-home-links {
    grid-column: 2;
    border-left: 1px solid rgba(255, 195, 0, 0.35);
    padding-left: 10px;
  }

  .footer-home-block h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
  }
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.whatsapp-float img {
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .whatsapp-float {
    right: 12px;
    bottom: 12px;
  }

  .whatsapp-float img {
    width: 45px;
    height: 45px;
  }
}


.scroll-to-top {
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  background: rgba(251, 176, 52, 0.75);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(251, 176, 52, 0.3);
  z-index: 199;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.scroll-to-top:hover {
  background: rgba(251, 176, 52, 0.95);
  box-shadow: 0 6px 16px rgba(251, 176, 52, 0.4);
  transform: scale(1.1);
}

.scroll-to-top:active {
  transform: scale(0.95);
}

/* ===== PÁGINA SOBRE ===== */

/* Hero Sobre */
.hero-sobre {
  position: relative;
  background: url("../img/hero/banner.png") center/cover no-repeat !important;
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  padding: 56px 0 64px;
}

.hero-sobre-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.76) 50%,
    rgba(0, 0, 0, 0.84) 100%
  );
  z-index: 1;
}

.hero-sobre .container {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 1160px;
  --sobre-logo-col-width: 220px;
  --sobre-top-gap: 42px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-sobre-top {
  display: grid;
  grid-template-columns: var(--sobre-logo-col-width) minmax(0, 1fr);
  gap: var(--sobre-top-gap);
  align-items: flex-start;
}

.hero-sobre-logo-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}

.hero-sobre-logo-col .sobre-logo {
  max-width: 150px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.28));
}

.sobre-quick-nav {
  position: static;
  transform: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin-top: 14px;
  align-self: center;
}

.sobre-quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.32);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 0.93rem;
  line-height: 1.15;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}

.sobre-quick-link:hover {
  background: rgba(255, 195, 0, 0.2);
  border-color: rgba(255, 195, 0, 0.75);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(255, 195, 0, 0.25);
  transform: translateY(-1px);
}

.sobre-quick-link.is-active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.hero-sobre-heading-col h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
}

.hero-sobre-text {
  font-size: clamp(0.95rem, 1.1vw, 1.02rem);
  margin-bottom: 12px;
  opacity: 0.95;
  line-height: 1.72;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-sobre-intro {
  margin-bottom: 0;
}

.hero-sobre-body {
  width: auto;
  max-width: 100%;
  margin-left: 0;
  padding-right: 0;
  margin-top: 4px;
}

/* limit line length for readable paragraphs */
.hero-sobre-heading-col .hero-sobre-text,
.hero-sobre-body .hero-sobre-text {
  max-width: 70ch;
}

.hero-sobre-highlights {
  max-width: 70ch;
  margin: 6px 0 18px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  line-height: 1.55;
}

.hero-sobre-highlights li {
  color: rgba(255, 255, 255, 0.95);
}

/* removed left-offset media tweak to keep container centered */

.hero-sobre .cta-group {
  margin-top: 18px;
  text-align: left;
}

/* Desktop compacto: faz o bloco "Quem Somos" caber em uma tela */
@media (min-width: 1024px) {
  .page-sobre .hero-sobre {
    min-height: calc(100vh - 118px);
    padding: 24px 0;
    align-items: center;
  }

  .page-sobre .hero-sobre .container {
    max-width: 1260px;
    --sobre-logo-col-width: 175px;
    --sobre-top-gap: 34px;
    gap: 14px;
  }

  .page-sobre .hero-sobre-logo-col .sobre-logo {
    max-width: 118px;
  }

  .page-sobre .sobre-quick-nav {
    gap: 8px;
    margin-top: 8px;
  }

  .page-sobre .sobre-quick-link {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.84rem;
  }

  .page-sobre .hero-sobre-heading-col h1 {
    font-size: clamp(2rem, 2.9vw, 2.55rem);
    margin-bottom: 6px;
  }

  .page-sobre .hero-sobre-text {
    font-size: 1rem;
    line-height: 1.58;
    margin-bottom: 7px;
    text-align: justify;
    text-justify: inter-word;
    hyphens: none;
    -webkit-hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
  }

  .page-sobre .hero-sobre-heading-col .hero-sobre-text,
  .page-sobre .hero-sobre-body .hero-sobre-text,
  .page-sobre .hero-sobre-highlights {
    max-width: 88ch;
  }

  .page-sobre .hero-sobre-highlights {
    margin: 2px 0 8px;
    padding-left: 18px;
    gap: 4px;
    line-height: 1.36;
    font-size: 0.92rem;
  }
}

#universidade-corporativa,
#merito-guardiao,
#apoio-psicologico,
#canal-denuncias {
  scroll-margin-top: 130px;
}

/* Cabeçalhos das seções sobre */
.sobre-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.sobre-icon {
  font-size: 2.8rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.sobre-projeto-logo {
  max-width: 120px;
  height: auto;
}

/* Cards para seções com destaque */
.sobre-universidade .container,
.sobre-orgulho .container,
.sobre-psicologia .container,
.sobre-denuncias .container {
  max-width: 900px;
}

.sobre-universidade-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: stretch;
}

.sobre-universidade-logo-col {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

.sobre-universidade-logo {
  width: 100%;
  max-width: 230px;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.sobre-universidade-logo:hover {
  transform: translateY(-4px);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.sobre-universidade-logo-col {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  border-right: 6px solid var(--gold);
  padding-right: 28px;
}

/* Orgulho Guardião Container */
/* Orgulho Guardião Background */
.section.sobre-orgulho {
  position: relative;
  padding: 50px 0 !important;
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  background: linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.15)
    );
}

.section.sobre-orgulho h2,
.section.sobre-orgulho h3,
.section.sobre-orgulho p {
  color: #1f2328;
}

.section.sobre-orgulho p.lead {
  color: #2b3036;
}

.section.sobre-orgulho strong {
  color: #161a1f;
}

.sobre-orgulho-container {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
  align-items: center;
}

.sobre-orgulho-content-col {
  min-width: 0;
}

.sobre-orgulho-content-col {
  min-width: 0;
}

.sobre-orgulho-content-col .sobre-header {
  align-items: flex-start;
  margin-bottom: 12px;
}

.sobre-orgulho-logo-col {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.sobre-orgulho-logo {
  width: 100%;
  max-width: 262px !important;
  height: auto;
}

@media (min-width: 901px) {
  .sobre-universidade-container,
  .sobre-psicologia-container {
    grid-template-columns: 1fr 360px;
  }

  .sobre-universidade-container {
    grid-template-columns: 360px 1fr;
  }

  .sobre-universidade-logo-col,
  .sobre-orgulho-logo-col,
  .sobre-psicologia-logo-col {
    min-height: 280px;
    align-items: center;
  }

  .sobre-universidade-logo,
  .sobre-orgulho-logo,
  .sobre-psicologia-logo {
    width: auto;
    max-width: 100%;
    max-height: 317px;
    height: auto;
    object-fit: contain;
  }

  .sobre-orgulho-logo {
    max-height: 222px;
  }

  .sobre-universidade-logo {
    max-width: 230px;
  }
}

/* Banner Pequeno Guardião */
.section.light.sobre-pequeno {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 0 !important;
  overflow-x: hidden;
  background: linear-gradient(
      120deg,
      rgba(0, 0, 0, 0.72),
      rgba(0, 0, 0, 0.48)
    );
}

.section.light.sobre-pequeno h2,
.section.light.sobre-pequeno p {
  color: var(--white);
}

.sobre-pequeno-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 140px);
  gap: 0;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100%;
  align-items: center;
  overflow: hidden;
}

.sobre-pequeno-banner-col {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 40px 8px 40px 12px;
  order: -1;
  min-width: 0;
}

.sobre-pequeno-banner {
  width: 100%;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  border-radius: 0;
  overflow: hidden;
  margin: 0 0 0 auto;
}

.sobre-pequeno-banner img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.sobre-pequeno-content-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 15px 34px 15px 6px;
  overflow-y: visible;
  overflow-x: hidden;
  max-height: none;
  justify-content: center;
  min-width: 0;
  max-width: 760px;
  justify-self: start;
}

.sobre-pequeno-content-col .sobre-header {
  display: flex;
  margin-bottom: 8px;
  gap: 12px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.sobre-pequeno-content-col h2 {
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  margin: 0;
  text-align: left;
  overflow-wrap: anywhere;
}

.sobre-pequeno-content-col .sobre-projeto-logo {
  max-width: 80px;
  flex-shrink: 0;
}

.sobre-pequeno-content-col p {
  font-size: clamp(0.88rem, 1.5vw, 0.95rem);
  line-height: 1.55;
  margin-bottom: 0;
}

.sobre-pequeno-content-col p.lead {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.6;
  margin-bottom: 0;
}

.sobre-pequeno-lista {
  margin: 4px 0 6px 20px;
  padding: 0;
  display: grid;
  gap: 6px;
  list-style: none;
}

.sobre-pequeno-lista li {
  font-size: clamp(0.86rem, 1.4vw, 0.93rem);
  line-height: 1.45;
}

.section.light.sobre-pequeno .sobre-pequeno-lista li {
  color: rgba(255, 255, 255, 0.96);
}

.section.light.sobre-pequeno .sobre-pequeno-lista li::marker {
  color: var(--gold);
}

/* Galeria Projeto Pequeno Guardião */
.sobre-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 35px 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.galeria-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--white);
}

.galeria-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.galeria-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* CTA nas seções */
.sobre-cta {
  margin-top: 30px;
  text-align: center;
}

/* Card de destaque */
.sobre-card-destaque {
  background: linear-gradient(135deg, var(--gold) 0%, #f0b800 100%);
  color: var(--dark);
  padding: 30px;
  border-radius: var(--radius);
  margin: 30px 0;
  box-shadow: var(--shadow);
}

.sobre-card-destaque h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

/* Melhorias tipográficas */
.sobre-universidade p.lead,
.sobre-orgulho p.lead,
.sobre-pequeno p.lead,
.sobre-psicologia p.lead,
.sobre-denuncias p.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.sobre-pequeno .sobre-pequeno-content-col p.lead {
  font-size: 1.08rem;
}

.sobre-universidade p,
.sobre-orgulho p,
.sobre-pequeno p,
.sobre-psicologia p,
.sobre-denuncias p {
  margin-bottom: 15px;
  line-height: 1.7;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

/* Responsividade */
@media (max-width: 900px) {
  .hero-sobre {
    min-height: calc(100vh - 132px);
  }

  .sobre-universidade-container {
    grid-template-columns: 280px 1fr;
    gap: 20px;
  }

  .sobre-universidade-logo {
    max-width: 196px;
  }

  .sobre-orgulho-container {
    grid-template-columns: 1fr 330px;
    gap: 20px;
  }

  .section.sobre-orgulho {
    min-height: calc(100vh - 132px);
  }

  .sobre-orgulho-logo {
    max-width: 319px !important;
  }

  .hero-sobre .container {
    --sobre-logo-col-width: 170px;
    --sobre-top-gap: 24px;
  }

  .hero-sobre-top {
    grid-template-columns: var(--sobre-logo-col-width) 1fr;
    gap: var(--sobre-top-gap);
  }

  .hero-sobre-logo-col .sobre-logo {
    max-width: 145px;
  }
}

@media (max-width: 768px) {
  .hero-sobre {
    min-height: calc(100vh - 116px);
    padding: 30px 0;
  }

  .hero-sobre .container {
    --sobre-logo-col-width: 0px;
    --sobre-top-gap: 0px;
  }

  .hero-sobre-top {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sobre-quick-nav {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
    gap: 8px;
  }

  .sobre-quick-link {
    min-height: 34px;
    font-size: 0.8rem;
    padding: 8px;
  }

  .hero-sobre-body {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .hero-sobre-logo-col .sobre-logo {
    max-width: 120px;
  }

  .hero-sobre-heading-col h1 {
    margin-bottom: 10px;
    text-align: center;
  }

  .hero-sobre-intro {
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0;
  }

  .hero-sobre-text {
    margin-bottom: 12px;
    text-align: left;
    hyphens: none;
    -webkit-hyphens: none;
  }

  .hero-sobre .cta-group {
    margin-top: 16px;
    text-align: center;
  }

  .sobre-icon {
    font-size: 2.2rem;
  }

  .sobre-universidade-container {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sobre-universidade-logo-col {
    justify-content: center;
  }

  .sobre-universidade-logo {
    max-width: 148px;
  }

  .sobre-orgulho-container {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: auto;
  }

  .section.sobre-orgulho {
    min-height: calc(100vh - 116px);
    padding: 40px 0 !important;
  }

  .sobre-orgulho-logo-col {
    justify-content: center;
  }

  .sobre-orgulho-content-col .sobre-header {
    align-items: center;
  }

  .sobre-orgulho-logo {
    max-width: 175px !important;
  }

  .sobre-universidade-content-col .sobre-header {
    align-items: center;
  }

  .sobre-projeto-logo {
    max-width: 100px;
  }

  .sobre-galeria {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .galeria-item img {
    height: 220px;
  }

  .sobre-pequeno-banner {
    max-width: 100%;
  }

  /* Responsividade Projeto Pequeno Guardião */
  .sobre-pequeno-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sobre-pequeno-banner-col {
    padding: 20px;
    order: 0;
  }

  .sobre-pequeno-banner {
    max-width: 100%;
  }

  .sobre-pequeno-content-col {
    padding: 10px;
    max-height: none;
    overflow-y: visible;
    gap: 12px;
  }

  .sobre-pequeno-content-col .sobre-header {
    flex-direction: row;
    gap: 10px;
  }

  .sobre-pequeno-content-col .sobre-projeto-logo {
    max-width: 60px;
  }

  .sobre-pequeno-content-col h2 {
    font-size: 1.4rem;
  }

  .sobre-pequeno-content-col p {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  /* ===== HERO QUEM SOMOS — mobile redesign ===== */
  .page-sobre .hero-sobre {
    min-height: auto !important;
    padding: 20px 0 24px !important;
  }

  /* Switch top grid → flex column; heading first, chips last */
  .page-sobre .hero-sobre-top {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
  }

  /* Heading column comes first */
  .page-sobre .hero-sobre-heading-col {
    order: -1;
    width: 100%;
    text-align: center;
  }

  .page-sobre .hero-sobre-heading-col h1 {
    font-size: 2.2rem;
    line-height: 1.15;
    text-align: center;
    margin-bottom: 10px;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .page-sobre .hero-sobre-intro {
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0 auto;
    max-width: 46ch;
  }

  /* Body: CTA right after intro */
  .page-sobre .hero-sobre-body {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    text-align: center;
  }

  .page-sobre .hero-sobre-body .hero-sobre-text {
    margin: 0 auto 12px;
    text-align: justify;
    max-width: 46ch;
  }

  .page-sobre .hero-sobre-highlights {
    margin: 10px auto 16px;
    max-width: 44ch;
    text-align: left;
  }

  .page-sobre .hero-sobre .cta-group {
    margin-top: 18px;
    text-align: center;
  }

  /* Logo column comes last — hide logo, show only chips */
  .page-sobre .hero-sobre-logo-col {
    order: 1;
    width: 100%;
    margin-top: 20px;
  }

  .page-sobre .hero-sobre-logo-col .sobre-logo {
    display: none;
  }

  /* Chips: 2-per-row grid */
  .page-sobre .sobre-quick-nav {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    overflow-x: visible !important;
    gap: 8px;
    padding-bottom: 0;
    scrollbar-width: none;
  }

  .page-sobre .sobre-quick-nav::-webkit-scrollbar {
    height: 0;
  }

  .page-sobre .sobre-quick-link {
    flex: unset;
    min-height: 40px;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    white-space: normal;
    text-align: center;
  }

  /* CTA buttons — compactos no mobile */
  .page-sobre .hero-sobre .cta-group {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .page-sobre .hero-sobre .cta-group .btn {
    width: auto;
    min-width: 150px;
    font-size: 0.86rem;
    padding: 10px 16px;
    line-height: 1.1;
  }

  .page-sobre .section {
    padding: 38px 0;
  }

  .page-sobre .sobre-universidade-logo-col,
  .page-sobre .sobre-orgulho-logo-col {
    border: 0;
    padding: 0;
  }

  .page-sobre .sobre-universidade-logo {
    max-width: 163px;
  }

  .page-sobre .sobre-orgulho-logo {
    max-width: 198px;
  }

  .page-sobre .sobre-header {
    margin-bottom: 8px;
  }

  .page-sobre .sobre-header h2 {
    font-size: 1.55rem;
    line-height: 1.2;
  }

  .page-sobre .sobre-universidade p,
  .page-sobre .sobre-orgulho p,
  .page-sobre .sobre-pequeno p,
  .page-sobre .sobre-psicologia p,
  .page-sobre .sobre-denuncias p {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .page-sobre .sobre-universidade p.lead,
  .page-sobre .sobre-orgulho p.lead,
  .page-sobre .sobre-pequeno p.lead,
  .page-sobre .sobre-psicologia p.lead,
  .page-sobre .sobre-denuncias p.lead {
    font-size: 1rem;
  }

  .page-sobre #canal-denuncias .sobre-cta {
    display: flex;
    justify-content: center;
  }

  .page-sobre #canal-denuncias .sobre-cta .btn {
    width: auto;
    margin: 0 auto;
  }

  .page-sobre .sobre-pequeno-content-col {
    padding: 16px;
    gap: 10px;
  }

  .page-sobre .sobre-pequeno-lista li {
    font-size: 0.92rem;
  }

  .page-sobre .sobre-icon-box {
    width: 94px;
    height: 94px;
    font-size: 2.2rem;
  }

  .page-sobre main > section:last-of-type .card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px !important;
    gap: 10px !important;
    flex-direction: column !important;
    text-align: center !important;
  }

  .page-sobre main > section:last-of-type .card > div {
    text-align: center !important;
  }

  /* --- Hero: simplificar no mobile --- */
  .page-sobre .hero-sobre-logo-col .sobre-logo {
    display: none;
  }

  .page-sobre .hero-sobre-logo-col {
    gap: 0;
  }

  .page-sobre .hero-sobre-body p.hero-sobre-text {
    display: none;
  }

  /* --- Orgulho Guardião: logo ao topo --- */
  .page-sobre .sobre-orgulho-logo-col {
    order: -1;
  }

  /* --- Pequeno Guardião: conteúdo primeiro, banner abaixo --- */
  .page-sobre .sobre-pequeno-content-col {
    order: -1;
  }

  .page-sobre .sobre-pequeno-banner-col {
    order: 1;
    padding: 0 24px 16px;
  }

  .page-sobre .sobre-pequeno-banner img {
    border-radius: 10px;
  }

  .page-sobre .sobre-pequeno-content-col p:not(.lead) {
    display: none;
  }

  .page-sobre .sobre-pequeno-lista {
    display: none;
  }
}

/* ===== MELHORIAS PROFISSIONAIS ===== */

/* Tipografia melhorada */
.section h2 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.section p {
  line-height: 1.8;
}

.section p.lead {
  font-weight: 600;
}

/* Efeitos de hover nos logos */
.sobre-universidade-logo,
.sobre-orgulho-logo {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.sobre-universidade-logo:hover,
.sobre-orgulho-logo:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

/* Barras laterais em ouro */
.sobre-universidade-logo-col {
  border-right: 6px solid var(--gold);
  padding-right: 28px;
}

.sobre-orgulho-logo-col {
  border-left: 6px solid var(--gold);
  padding-left: 28px;
}

/* Fronteiras superiores para seções */
.section.light.sobre-universidade,
.section.sobre-orgulho,
.section.light.sobre-pequeno {
  border-top: 4px solid var(--gold);
}

.section.sobre-psicologia,
.section.light.sobre-denuncias {
  border-top: 4px solid var(--gold);
  position: relative;
}

/* Cards informativos */
.sobre-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.info-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 4px solid var(--gold);
  padding: 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.info-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-left-color: var(--gold);
  transform: translateX(4px);
}

.info-card strong {
  color: var(--gold);
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.info-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Apoio Psicológico */
.section.light.sobre-psicologia {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.15));
  padding: 60px 0 !important;
}

.sobre-psicologia-container {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 32px;
  align-items: center;
}

.sobre-psicologia-logo-col {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border-left: 6px solid var(--gold);
  padding-left: 24px;
  order: 2;
}

.sobre-psicologia-logo {
  width: 100%;
  max-width: 304px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.sobre-psicologia-logo:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.32));
}

.sobre-psicologia-content-col .sobre-header {
  align-items: flex-start;
}

@media (min-width: 901px) {
  .sobre-psicologia-container {
    grid-template-columns: 1fr 324px;
  }

  .sobre-psicologia-content-col .sobre-header h2 {
    white-space: nowrap;
    font-size: clamp(2.05rem, 3vw, 2.7rem);
  }
}

/* Canal de Denúncias */
.section.sobre-denuncias {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.42));
  padding: 60px 0 !important;
  position: relative;
}

.section.sobre-denuncias h2,
.section.sobre-denuncias p {
  color: var(--white);
}

.sobre-denuncias-container {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
}

.sobre-denuncias-icon-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sobre-icon-box {
  font-size: 5rem;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
  background: rgba(255, 195, 0, 0.1);
  padding: 30px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
}

.sobre-icon-box:hover {
  transform: scale(1.05) rotateZ(-5deg);
}

/* Responsivo */
@media (max-width: 900px) {
  .sobre-psicologia-container,
  .sobre-denuncias-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sobre-psicologia-logo-col {
    border-right: 0;
    padding-right: 0;
  }

  .sobre-psicologia-content-col .sobre-header {
    align-items: center;
  }

  .sobre-psicologia-logo {
    max-width: 251px;
  }

  .sobre-icon-box {
    width: 140px;
    height: 140px;
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .sobre-psicologia-container,
  .sobre-denuncias-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sobre-psicologia-logo-col {
    border-left: none;
    padding-left: 0;
    order: unset;
  }

  .sobre-psicologia-logo {
    max-width: 198px;
  }

  .sobre-icon-box {
    width: 120px;
    height: 120px;
    font-size: 3rem;
    padding: 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .sobre-galeria {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== FIM PÁGINA SOBRE ===== */


.map-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.map-tab {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.map-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.map-frame {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-address-grid {
  margin-top: 24px;
}

@media (max-width: 768px) {
  .page-contato .hero .container {
    gap: 16px;
  }

  .page-contato .hero p {
    max-width: 58ch;
  }

  .page-contato .contact-quick {
    gap: 10px;
    padding: 14px;
    border-radius: 10px;
  }

  .page-contato .contact-item a {
    font-size: 1.02rem;
    line-height: 1.35;
  }

  .page-contato .section {
    padding: 52px 0;
  }

  .page-contato .proposal-groups {
    margin-top: 18px;
    gap: 12px;
  }

  .page-contato .proposal-groups-right {
    gap: 12px;
  }

  .page-contato .proposal-btn {
    padding: 14px;
    gap: 10px;
  }

  .page-contato .proposal-btn-head {
    align-items: flex-start;
  }

  .page-contato .proposal-btn-logo {
    height: 34px;
    max-width: 96px;
  }

  .page-contato .proposal-btn-kicker {
    font-size: 0.7rem;
  }

  .page-contato .proposal-btn-title {
    font-size: 0.97rem;
  }

  .page-contato .proposal-tag {
    font-size: 0.79rem;
    padding: 5px 9px;
  }

  .page-contato .proposal-btn--guardiao .proposal-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .page-contato .map-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    margin-bottom: 12px;
    gap: 8px;
  }

  .page-contato .map-tab {
    min-height: 42px;
    border-radius: 9px;
    padding: 8px 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.25;
    font-size: 0.88rem;
  }

  .page-contato .map-frame {
    min-height: 270px;
  }

  .page-contato .contact-address-grid {
    margin-top: 16px;
    gap: 12px;
  }

  .page-contato .contact-address-grid .card {
    padding: 16px;
    gap: 6px;
    text-align: left;
  }

  .page-contato .contact-address-grid .card h3 {
    font-size: 1.02rem;
    line-height: 1.3;
  }

  .page-contato .contact-address-grid .card p {
    font-size: 0.93rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .page-contato .hero {
    padding: 26px 0 18px;
  }

  .page-contato .hero .container {
    gap: 14px;
  }

  .page-contato .section {
    padding: 44px 0;
  }

  .page-contato .proposal-btn {
    padding: 12px;
  }

  .page-contato .proposal-btn--guardiao .proposal-tags {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-contato .map-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .page-contato .map-tab {
    min-height: 40px;
    font-size: 0.79rem;
    padding: 7px 6px;
    line-height: 1.2;
  }

  .page-contato .map-frame {
    min-height: 230px;
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 72px;
    right: 16px;
    background: #1f1f1f;
    border: 1px solid #121212;
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.2s ease;
  }

  .topbar-links {
    position: fixed;
    top: 72px;
    right: 16px;
    background: #1f1f1f;
    border: 1px solid #121212;
    border-radius: 14px;
    padding: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.2s ease;
    z-index: 210;
  }

  .topbar-links.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  .nav a {
    color: var(--white);
    text-shadow: none;
  }

  .nav a:hover,
  .nav a.active {
    color: var(--gold);
  }

  .nav.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .topbar-toggle {
    display: inline-flex;
  }
}

@media (min-width: 769px) {
  .home-segment-accordion .segment-card {
    grid-template-rows: auto 1fr;
  }

  .page-home .home-segment-accordion .segment-image {
    height: auto;
    aspect-ratio: 16 / 6;
  }

  .home-segment-accordion .segment-accordion-content {
    display: grid;
  }

  .segment-mobile-toggle {
    display: none !important;
  }

  .page-home .home-segment-accordion {
    perspective: 1200px;
    transform-style: preserve-3d;
  }

  .page-home .home-segment-accordion .segment-card {
    position: relative;
    overflow: hidden;
    transform: translateZ(0) rotateX(0) rotateY(0);
    transform-style: preserve-3d;
    transition:
      transform 0.32s ease,
      box-shadow 0.32s ease,
      border-color 0.32s ease;
    will-change: transform;
  }

  .page-home .home-segment-accordion .segment-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(120deg, rgba(255, 255, 255, 0.22), transparent 36%),
      radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 20%), rgba(255, 195, 0, 0.22), transparent 32%);
    opacity: 0;
    transition: opacity 0.32s ease;
  }

  .page-home .home-segment-accordion .segment-card:hover {
    transform: translateY(-12px) translateZ(34px) rotateX(4deg) rotateY(-4deg);
    border-color: rgba(255, 195, 0, 0.72);
    box-shadow:
      0 24px 42px rgba(0, 0, 0, 0.2),
      0 0 0 1px rgba(255, 195, 0, 0.18);
  }

  .page-home .home-segment-accordion .segment-card:hover::before {
    opacity: 1;
  }

  .page-home .home-segment-accordion .segment-card > * {
    position: relative;
    z-index: 2;
  }

  .page-home .home-segment-accordion .segment-card:hover .segment-image {
    transform: scale(1.04);
    filter: contrast(1.08) saturate(1.1);
  }

  .page-home .home-segment-accordion .segment-image {
    transition: transform 0.32s ease, filter 0.32s ease;
  }

  .page-home .diferenciais-grid {
    perspective: 1200px;
    transform-style: preserve-3d;
  }

  .page-home .diferenciais-grid .diferencial-card {
    position: relative;
    overflow: hidden;
    transform: translateZ(0) rotateX(0) rotateY(0);
    transform-style: preserve-3d;
    transition:
      transform 0.32s ease,
      box-shadow 0.32s ease,
      border-color 0.32s ease;
    will-change: transform;
  }

  .page-home .diferenciais-grid .diferencial-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(120deg, rgba(255, 255, 255, 0.28), transparent 38%),
      radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 20%), rgba(255, 195, 0, 0.24), transparent 34%);
    opacity: 0;
    transition: opacity 0.32s ease;
  }

  .page-home .diferenciais-grid .diferencial-card:hover {
    transform: translateY(-10px) translateZ(30px) rotateX(3deg) rotateY(-3deg);
    border-color: rgba(255, 195, 0, 0.72);
    box-shadow:
      0 24px 42px rgba(0, 0, 0, 0.24),
      0 0 0 1px rgba(255, 195, 0, 0.18);
  }

  .page-home .diferenciais-grid .diferencial-card:hover::before {
    opacity: 1;
  }

  .page-home .diferenciais-grid .diferencial-card > * {
    position: relative;
    z-index: 2;
  }

  .page-home .diferenciais-grid .diferencial-icon {
    transition: transform 0.32s ease, box-shadow 0.32s ease;
  }

  .page-home .diferenciais-grid .diferencial-card:hover .diferencial-icon {
    transform: translateZ(22px) scale(1.06);
    box-shadow: 0 12px 22px rgba(255, 195, 0, 0.28);
  }
}

@media (max-width: 600px) {
  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: calc(100vh - 120px);
    padding: 60px 0 40px;
  }

  .carousel-track {
    gap: 16px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 10px;
    padding: 0 2px 8px;
  }

  .carousel-continuous .carousel-track,
  .carousel-smooth .carousel-track {
    scroll-snap-type: none;
  }

  .clients-carousel.carousel-smooth .carousel-track {
    scroll-snap-type: x mandatory;
  }

  .service-card {
    flex: 0 0 min(80vw, 300px);
    width: min(80vw, 300px);
    min-width: 0;
    min-height: 398px;
    padding: 12px;
    gap: 11px;
    border-top: 4px solid var(--gold);
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    scroll-snap-align: center;
  }

  .service-card img {
    height: 224px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    background: linear-gradient(180deg, #f7f7f7 0%, #eeeeee 100%);
    border-radius: 8px;
  }

  .service-card h3 {
    font-size: 1rem;
    line-height: 1.25;
    min-height: 2.5em;
    display: grid;
    place-items: center;
  }

  .service-card p {
    font-size: 0.88rem;
    line-height: 1.55;
    min-height: 4.65em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .carousel.carousel-fade::before,
  .carousel.carousel-fade::after {
    display: none;
  }

  .clients-carousel > .carousel-track {
    display: none;
  }

  .clients-carousel .clients-mobile-rows {
    display: grid;
    gap: 12px;
    overflow: hidden;
    padding: 2px 0 6px;
    mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 10%,
      #000 90%,
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent 0%,
      #000 10%,
      #000 90%,
      transparent 100%
    );
  }

  .clients-mobile-row {
    overflow: hidden;
    border-block: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f5 100%);
  }

  .clients-mobile-track {
    display: flex;
    width: max-content;
    gap: 12px;
    padding: 8px 6px;
    animation: clients-marquee-left 102s linear infinite;
    will-change: transform;
  }

  .clients-mobile-row-reverse .clients-mobile-track {
    animation-name: clients-marquee-right;
    animation-duration: 114s;
  }

  .clients-mobile-track .logo-card {
    flex: 0 0 112px;
    width: 112px;
    min-width: 112px;
    height: 68px;
    padding: 8px;
    border-radius: 8px;
    border-color: rgba(196, 160, 0, 0.26);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.06);
  }

  .clients-mobile-track .logo-card img {
    max-width: 94px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .service-media img {
    height: 220px;
  }

  .page-home .section-home-segmentos {
    padding-top: 34px;
    padding-bottom: 30px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.97) 76%, rgba(255, 255, 255, 0.94) 100%),
      url("../img/hero/wallOcta.jpg") right top / 520px auto no-repeat;
  }

  .page-home .section-home-segmentos h2 {
    font-size: clamp(1.65rem, 7vw, 2rem);
    line-height: 1.08;
    margin-bottom: 12px;
  }

  .page-home .section-home-segmentos .lead {
    font-size: 0.96rem;
    line-height: 1.55;
    margin-bottom: 18px;
  }

  .section-home-servicos,
  .section-home-clientes,
  .section-home-proposta {
    background-size: auto 100%, cover;
  }

  .section-home-diferenciais {
    background-position: center bottom;
  }

  .section-home-outros {
    background-position: center bottom;
  }

  .page-home .section-home-outros {
    position: relative;
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .page-home .section-home-outros::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 18%, var(--gold-dark) 50%, var(--gold) 82%, transparent 100%);
    box-shadow: 0 8px 22px rgba(255, 195, 0, 0.28);
  }

  .section-home-outros .section-kicker {
    color: var(--gold);
    margin-bottom: 5px;
    font-size: 0.72rem;
  }

  .section-home-outros h2 {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
    line-height: 1.08;
    margin-bottom: 10px;
  }

  .section-home-outros .lead {
    font-size: 0.92rem;
    line-height: 1.45;
    margin-bottom: 14px;
  }
}

/* Service Group Header and Divider */
.service-group-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-divider {
  width: 4px;
  height: 32px;
  background: linear-gradient(180deg, #fbb034 0%, #f39c12 100%);
  border-radius: 2px;
}

.service-group-title {
  margin: 0;
  font-size: 1.3rem;
  color: #1f2937;
  font-weight: 700;
}

.service-group-header-spaced {
  margin-top: 2rem;
}

.service-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
  background: var(--white);
}

.service-hero.alt {
  background: var(--light);
}

.page-servicos .service-hero + .service-hero {
  position: relative;
}

.page-servicos .service-hero + .service-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 1120px);
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #ffc300 18%, #d5a300 50%, #ffc300 82%, transparent 100%);
  box-shadow: 0 0 12px rgba(255, 195, 0, 0.45);
}

.service-hero .container {
  max-width: var(--max-width);
}

.service-hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-hero-image {
  height: 400px;
  background: linear-gradient(135deg, #fbb034 0%, #f39c12 100%);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
}

.service-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-hero-text h2 {
  font-family: "Oswald", "Montserrat", sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin-bottom: 12px;
  line-height: 1.1;
}

.service-hero-text .lead {
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 100%;
}

.service-hero-text h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  margin-top: 32px;
}

.service-grid-how {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

@media (max-width: 1080px) {
  .service-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-hero-image {
    height: 300px;
  }
}

@media (max-width: 620px) {
  .service-hero {
    padding: 40px 0;
  }

  .service-hero-image {
    height: 240px;
  }

  .service-hero-image img {
    object-fit: contain;
    background: #f3f3f3;
  }

  .service-hero-text h2 {
    font-size: 1.8rem;
  }

  .service-hero-text h3 {
    font-size: 1.2rem;
  }
}

.cta-group-centered {
  justify-content: center;
  margin-top: 2rem;
}

.cta-contact-info {
  margin-top: 1.5rem;
  color: #666;
  font-size: 0.95rem;
}

.cta-contact-info .label-short {
  display: none;
}

@media (max-width: 768px) {
  .page-servicos .cta-contact-info {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .page-servicos .cta-contact-info .label-full {
    display: none;
  }

  .page-servicos .cta-contact-info .label-short {
    display: inline;
  }
}

/* Modern Service Cards */
.section:has(.services-grid-wrapper) {
  min-height: auto;
  display: flex;
  align-items: center;
}

.services-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1.8rem;
}

.service-group {
  display: flex;
  flex-direction: column;
  background: #fafafa;
  padding: 1.55rem;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.service-group:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.service-cards-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card-compact {
  background: white;
  border: 1px solid rgba(251, 176, 52, 0.34);
  border-left: 4px solid #fbb034;
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.62rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-card-compact:hover {
  border-color: #fbb034;
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(251, 176, 52, 0.2);
}

.service-card-compact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #fbb034 0%, #f39c12 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card-compact:hover::before {
  transform: scaleX(1);
}

.service-icon-compact {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #ffc300 0%, #f39c12 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.28rem;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 16px rgba(251, 176, 52, 0.28);
}

.service-card-compact h4 {
  font-size: 1.02rem;
  color: #1f2937;
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}

.title-mobile {
  display: none;
}

.service-card-compact p {
  color: #6b7280;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.service-link {
  color: #fbb034;
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  transition: gap 0.2s ease;
}

.service-card-compact:hover .service-link {
  gap: 0.75rem;
}

/* Background images for service cards */
.card-cameras,
.card-alarmes,
.card-consultoria,
.card-plano {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.card-cameras {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 62%, rgba(255, 255, 255, 0.76) 100%),
    url("../img/camera.png");
}

.card-alarmes {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 62%, rgba(255, 255, 255, 0.76) 100%),
    url("../img/alarme.png");
}

.card-consultoria {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 62%, rgba(255, 255, 255, 0.76) 100%),
    url("../img/consultoria.png");
}

.card-plano {
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 62%, rgba(255, 255, 255, 0.76) 100%),
    url("../img/plano.png");
}

.service-card-modern {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.service-card-modern:hover {
  border-color: #fbb034;
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(251, 176, 52, 0.15);
}

.service-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fbb034 0%, #f39c12 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card-modern:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #fff8e8 0%, #ffefc1 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  border: 2px solid #fbb034;
}

.service-card-modern h4 {
  font-size: 1.25rem;
  color: #1f2937;
  margin: 0;
  font-weight: 700;
  line-height: 1.3;
}

.service-card-modern img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0.5rem 0;
  filter: contrast(1.05) saturate(1.1) brightness(1.02);
}

.service-card-modern p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.service-link {
  color: #fbb034;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  transition: gap 0.2s ease;
}

.service-card-modern:hover .service-link {
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .section:has(.services-grid-wrapper) {
    min-height: auto;
  }
  
  .services-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .page-home .section-home-proposta {
    padding: 36px 0;
  }

  .page-home .section-home-proposta h2 {
    font-size: clamp(1.55rem, 7vw, 1.95rem);
    line-height: 1.1;
    margin-bottom: 10px;
  }

  .page-home .section-home-proposta .lead {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .page-home .section-home-proposta details {
    padding: 11px 13px;
    border-radius: 10px;
  }

  .page-home .section-home-proposta .contact-card {
    padding: 16px;
    border-radius: 10px;
    gap: 10px;
  }

  .page-home .cta-section {
    padding: 42px 0;
  }

  .page-home .cta-box h2 {
    font-size: clamp(1.7rem, 8vw, 2.1rem);
    line-height: 1.08;
  }

  .page-home .cta-box .lead {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.3rem;
  }

  .page-home .cta-contact-info {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .page-home .section-home-diferenciais {
    padding: 36px 0 34px;
    background-position: center bottom;
  }

  .page-home .section-home-diferenciais h2 {
    font-size: clamp(1.65rem, 7vw, 2rem);
    line-height: 1.08;
    margin-bottom: 22px;
  }

  .page-home .diferenciais-grid {
    gap: 12px;
  }

  .page-home .diferenciais-grid .diferencial-card {
    min-height: 0;
    padding: 14px 14px 14px 62px;
    border-radius: 10px;
    align-content: center;
    gap: 6px;
    text-align: left;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  }

  .page-home .diferenciais-grid .diferencial-icon {
    top: 14px;
    left: 14px;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    border-width: 2px;
    font-size: 1.05rem;
  }

  .page-home .diferenciais-grid .diferencial-card h3 {
    font-size: 0.98rem;
    line-height: 1.25;
    margin: 0;
    text-align: left;
  }

  .page-home .diferenciais-grid .diferencial-card p {
    font-size: 0.84rem;
    line-height: 1.42;
    margin: 0;
    text-align: left;
  }

  .services-grid-wrapper {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
  }

  .service-group {
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 10px;
    border-radius: 10px;
  }

  .service-group-header {
    min-height: auto;
    align-items: center;
    margin-bottom: 8px;
    gap: 8px;
  }

  .service-divider {
    width: 3px;
    height: 24px;
  }

  .service-group-title {
    font-size: 0.98rem;
    line-height: 1.2;
  }

  .service-cards-column {
    display: grid;
    gap: 8px;
  }

  .service-card-modern {
    padding: 1.5rem;
  }
  
  .service-card-modern img {
    height: 180px;
  }
  
  .service-card-compact {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    align-content: start;
    column-gap: 10px;
    padding: 9px 10px;
    border-radius: 9px;
    gap: 0.3rem;
  }

  .service-card-compact h4 {
    font-size: 0.9rem;
    line-height: 1.18;
  }

  .service-card-compact p {
    grid-column: 1 / -1;
    font-size: 0.78rem;
    line-height: 1.32;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .service-icon-compact {
    width: 34px;
    height: 34px;
    font-size: 0.98rem;
    grid-row: 1 / span 2;
  }

  .service-link {
    grid-column: 1 / -1;
    font-size: 0.78rem;
    margin-top: 3px;
    align-self: end;
  }

  .title-desktop {
    display: none;
  }

  .title-mobile {
    display: inline;
  }
}

/* Diferenciais com ícones */
.diferencial-card {
  position: relative;
  padding-top: 3rem;
}

.diferencial-icon {
  position: absolute;
  top: -20px;
  left: 24px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #fbb034 0%, #f39c12 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 12px rgba(251, 176, 52, 0.3);
  border: 3px solid white;
}

@media (max-width: 768px) {
  .page-home .section-home-diferenciais {
    padding: 34px 0 32px;
  }

  .page-home .section-home-diferenciais h2 {
    font-size: clamp(1.6rem, 7vw, 1.95rem);
    line-height: 1.08;
    margin-bottom: 16px;
  }

  .page-home .diferenciais-grid {
    gap: 10px;
  }

  .page-home .diferenciais-grid .diferencial-card {
    min-height: 0;
    padding: 12px 12px 12px 58px;
    border-radius: 10px;
    align-content: center;
    gap: 5px;
    text-align: left;
  }

  .page-home .diferenciais-grid .diferencial-icon {
    top: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    border-width: 2px;
    font-size: 1rem;
  }

  .page-home .diferenciais-grid .diferencial-card h3 {
    font-size: 0.95rem;
    line-height: 1.22;
    margin: 0;
    text-align: left;
  }

  .page-home .diferenciais-grid .diferencial-card p {
    font-size: 0.82rem;
    line-height: 1.38;
    margin: 0;
    text-align: left;
  }
}

/* CTA Section */
.cta-section {
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.88) 0%, rgba(31, 31, 31, 0.82) 55%, rgba(0, 0, 0, 0.92) 100%),
    url("../img/hero/walltechb.png") center center / cover no-repeat;
  padding: 4rem 0;
  border-top: 1px solid rgba(255, 195, 0, 0.22);
}

.cta-box {
  text-align: center;
  color: white;
  max-width: 820px;
  margin: 0 auto;
}

.cta-box .section-kicker {
  justify-content: center;
}

.cta-box h2 {
  color: white;
  margin-bottom: 0.9rem;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.cta-box .lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1.8rem;
}

.cta-box .btn-primary {
  box-shadow: 0 12px 26px rgba(255, 195, 0, 0.24);
}

.cta-box .btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
}

.cta-box .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

@media (min-width: 1024px) {
  .page-servicos .cta-box {
    max-width: 980px;
  }

  .page-servicos .cta-box h2 {
    white-space: nowrap;
    font-size: clamp(1.8rem, 3.25vw, 2.8rem);
  }
}

/* SEGMENTOS PAGE STYLES */
body.page-segmentos main > .section:first-of-type {
  background: url("../img/hero/walltechw.png") center top / cover no-repeat;
}

.page-segmentos .tabs-menu .tab-btn:focus-visible {
  outline: 3px solid rgba(251, 176, 52, 0.7);
  outline-offset: -3px;
}

.page-segmentos .tab-btn.active {
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}

.page-segmentos .segment-mobile-tab[data-tab="condominios"] {
  background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url("../img/condominios.png");
}

.page-segmentos .segment-mobile-tab[data-tab="industrias"] {
  background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url("../img/industrias.png");
}

.page-segmentos .segment-mobile-tab[data-tab="hospitais"] {
  background-image: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)), url("../img/hospitais.png");
}

.page-segmentos .segment-hero.segment-hero-condominios {
  background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url("../img/condominios.png");
}

.page-segmentos .segment-hero.segment-hero-industrias {
  background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url("../img/industrias.png");
}

.page-segmentos .segment-hero.segment-hero-hospitais {
  background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url("../img/hospitais.png");
}

.page-segmentos .segment-summary-list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
  color: #374151;
}

.page-segmentos .segment-summary-list li {
  line-height: 1.55;
}

.page-segmentos .segment-cta {
  margin-top: 1rem;
}

.page-segmentos .segment-cta .btn {
  min-height: 44px;
}

.breadcrumb {
  padding: 1rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid #f0f0f0;
}

.breadcrumb a,
.breadcrumb span {
  font-size: 0.9rem;
  color: #666;
  text-decoration: none;
  margin: 0 0.5rem;
}

.breadcrumb a:hover {
  color: #fbb034;
}

.breadcrumb span {
  color: #fbb034;
  font-weight: 600;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.stat-item {
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
  border-radius: 12px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: #fbb034;
}

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fbb034;
  margin-bottom: 0.5rem;
}

.stat-item .stat-label {
  font-size: 0.95rem;
  color: #666;
  font-weight: 600;
}

/* TABS STYLING PROFISSIONAL */
main > .section:first-of-type {
  padding-top: 36px;
}

.tabs-container {
  margin: 0 0 3rem;
}

.tabs-wrapper {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 2rem;
}

.tabs-menu {
  display: flex;
  gap: 0;
  background: #f8f8f8;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  border-bottom: 2px solid #e0e0e0;
}

.tab-btn {
  padding: 1.25rem 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  position: relative;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-bottom: 3px solid transparent;
  margin-bottom: 0;
}

.tab-btn:hover {
  color: #fbb034;
  background: rgba(251, 176, 52, 0.05);
}

.tab-btn.active {
  color: white;
  background: #fbb034;
  border-bottom-color: #fbb034;
}

.tab-btn::before {
  content: attr(data-icon);
  font-size: 1.3rem;
}

.tab-content {
  display: none;
  padding: 0;
}

.tab-content.active {
  display: block;
}

.segment-mobile-menu {
  display: none;
}

/* CONTENT INSIDE TABS */
.tab-content-wrapper {
  padding: 2.5rem;
}

.segment-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3rem;
  border-radius: 12px;
  margin-bottom: 2.5rem;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  text-shadow: 0 3px 8px rgba(0,0,0,0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.page-segmentos .segment-hero {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.segment-hero h2 {
  margin: 0;
  font-size: 2.2rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.segment-description {
  background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
  padding: 2.5rem;
  border-radius: 12px;
  margin-bottom: 3rem;
  border-left: 5px solid #fbb034;

@media (min-width: 769px) {
  .page-segmentos main > .section:first-of-type {
    padding-top: 26px;
  }

  .page-segmentos .tabs-container {
    margin-bottom: 2rem;
  }

  .page-segmentos .tabs-wrapper {
    margin-bottom: 1.25rem;
    border-radius: 14px;
  }

  .page-segmentos .tabs-menu {
    min-height: 72px;
  }

  .page-segmentos .tab-btn {
    padding: 1rem 1.2rem;
    font-size: 0.96rem;
    min-width: 0;
  }

  .page-segmentos .tab-content-wrapper {
    padding: 2rem 2.25rem 2.25rem;
  }

  .page-segmentos .segment-hero {
    min-height: 208px;
    margin-bottom: 1.4rem;
  }

  .page-segmentos .segment-hero h2 {
    font-size: clamp(1.95rem, 3vw, 2.35rem);
    line-height: 1.08;
    max-width: 920px;
  }

  .page-segmentos .segment-description {
    padding: 2rem 2rem 2.1rem;
    margin-bottom: 2rem;
  }

  .page-segmentos .segment-description h3 {
    margin-bottom: 0.55rem;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
  }

  .page-segmentos .segment-description p {
    font-size: 1rem;
    line-height: 1.68;
    max-width: 1120px;
  }
}
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.segment-description h3 {
  margin-top: 0;
  color: #222;
  font-size: 1.4rem;
}

.segment-description p {
  color: #555;
  line-height: 1.8;
  font-size: 1rem;
}

.dores-section h3,
.clientes-section h3 {
  color: #222;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.dores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.dor-card {
  background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
  padding: 2rem;
  border-radius: 12px;
  border-left: 5px solid #fbb034;
  line-height: 1.7;
  color: #555;
  box-shadow: 0 2px 8px rgba(251, 176, 52, 0.1);
  transition: all 0.3s ease;
}

.dor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(251, 176, 52, 0.2);
}

.dor-card strong {
  color: #222;
  font-size: 1.05rem;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.cliente-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  border: 2px solid #eee;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cliente-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  border-color: #fbb034;
}

.cliente-card img {
  max-width: 140px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  padding: 8px;
}

.why-section {
  background: linear-gradient(180deg, #f6f6f6 0%, #efefef 100%);
}

.why-section .lead {
  color: #555;
  margin-bottom: 2rem;
}

.why-grid {
  gap: 1.5rem;
}

.why-card {
  text-align: left;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #fbb034 0%, #ffd176 100%);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: #f3d49a;
}

.why-title {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0;
  font-size: 1.1rem;
  color: #1f2937;
  line-height: 1.35;
}

.why-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(251, 176, 52, 0.15);
  color: #b77700;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 2px;
}

.why-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.65;
  font-size: 1rem;
}

.cta-final-section {
  background:
    linear-gradient(130deg, rgba(6, 10, 18, 0.75), rgba(9, 14, 24, 0.78)),
    url("../img/hero/walltechb.png") center/cover no-repeat;
}

.cta-final-panel {
  background: linear-gradient(130deg, #1f2430 0%, #2b313f 55%, #1f2430 100%);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(251, 176, 52, 0.28);
}

.cta-final-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
}

.cta-final-lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 760px;
  margin: 1rem 0 0;
  line-height: 1.65;
}

.cta-final-buttons {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.cta-final-contact {
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

@media (min-width: 769px) {
  .page-segmentos .cta-final-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 1.4rem 0 1rem;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
  }

  .page-segmentos .cta-final-title,
  .page-segmentos .cta-final-lead,
  .page-segmentos .cta-final-contact {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .page-segmentos .cta-final-buttons {
    justify-content: center;
    margin-top: 1.35rem;
  }

  .page-segmentos .cta-final-contact {
    margin-top: 1rem;
    border-top: 0;
  }
}

@media (max-width: 768px) {
  .cta-final-contact {
    font-size: 0.82rem;
    line-height: 1.6;
  }

  .cta-final-contact strong {
    white-space: nowrap;
  }
}

/* FORMULARIO ESTILO */

/* Sobre - Quer Trabalhar Conosco */
.sobre-work-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 140px;
}

.sobre-work-card {
  max-width: 100%;
  width: 600px;
  text-align: center;
  padding: 24px 32px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: visible;
}

.sobre-work-icon {
  font-size: 42px;
  flex-shrink: 0;
}

.sobre-work-content {
  flex: 1;
  text-align: left;
}

.sobre-work-card h3 {
  margin-bottom: 8px;
  margin-top: 0;
  font-size: 20px;
  color: var(--dark);
}

.sobre-work-card p {
  margin: 0 0 12px 0;
  color: #666;
  line-height: 1.5;
  font-size: 14px;
}

.sobre-work-card .btn {
  display: inline-block;
  font-size: 13px;
  padding: 8px 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #fbb034;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem;
  border: 1px solid #444;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: white;
  font-family: inherit;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #fbb034;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(251, 176, 52, 0.1);
}

.form-group select option {
  background: #2d2d2d;
  color: white;
}

.form-submit {
  background: #fbb034;
  color: #1a1a1a;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.form-submit:hover {
  background: #e8a628;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(251, 176, 52, 0.3);
}

.form-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-top: 1.5rem;
}

/* MOBILE RESPONSIVO - SEGMENTOS PAGE */
@media (max-width: 768px) {
  .page-segmentos .tabs-menu {
    display: none;
  }

  .page-segmentos .segment-mobile-menu {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 10px 8px;
    background: #f8f8f8;
    border-bottom: 1px solid #e5e7eb;
  }

  .page-segmentos .segment-mobile-tab {
    width: 100%;
    min-height: 84px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.86rem;
    text-align: center;
    padding: 8px 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .page-segmentos .segment-mobile-tab.active {
    outline: 2px solid #fbb034;
    border-color: #fbb034;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(251, 176, 52, 0.25);
  }

  .page-segmentos .segment-mobile-tab span {
    background: rgba(0, 0, 0, 0.45);
    border-radius: 8px;
    padding: 5px 8px;
    line-height: 1.1;
    white-space: nowrap;
  }

  .page-segmentos .tab-content-wrapper {
    padding: 1rem;
  }

  .page-segmentos .segment-description {
    padding: 1.1rem 1rem 1.15rem;
    margin-bottom: 1.2rem;
    border-left-width: 4px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  .page-segmentos .segment-description h3 {
    margin-bottom: 0.55rem;
    font-size: 1.2rem;
    line-height: 1.16;
    letter-spacing: -0.01em;
    text-wrap: balance;
    color: #111827;
    max-width: 22ch;
  }

  .page-segmentos .segment-description p {
    font-size: 1.02rem;
    line-height: 1.68;
    letter-spacing: 0.005em;
    color: #374151;
    margin: 0;
    text-wrap: pretty;
  }

  .page-segmentos .segment-hero {
    min-height: 140px;
    margin-bottom: 1.25rem;
  }

  .page-segmentos .tab-content .segment-hero {
    display: none;
  }

  .page-segmentos .dores-section h3,
  .page-segmentos .clientes-section h3 {
    font-size: 1.05rem;
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
  }

  .page-segmentos .dores-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
  }

  .page-segmentos .dor-card {
    padding: 0.95rem 0.9rem;
    border-left-width: 3px;
    border-radius: 10px;
    line-height: 1.45;
    font-size: 0.9rem;
  }

  .page-segmentos .dor-card strong {
    font-size: 0.95rem;
  }

  .page-segmentos .clientes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.7rem;
  }

  .page-segmentos .cliente-card {
    min-height: 86px;
    padding: 0.6rem;
    border-radius: 10px;
  }

  .page-segmentos .cliente-card img {
    max-width: 100px;
    max-height: 54px;
    padding: 2px;
  }

  .page-segmentos .why-section .lead {
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }

  .page-segmentos .why-section h2 {
    white-space: nowrap;
    font-size: clamp(1.1rem, 4.8vw, 1.45rem);
    letter-spacing: -0.01em;
  }

  .page-segmentos .why-grid {
    gap: 0.8rem;
  }

  .page-segmentos .why-card {
    padding: 0.95rem 0.9rem;
    border-radius: 12px;
  }

  .page-segmentos .why-title {
    gap: 0.5rem;
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .page-segmentos .why-check {
    width: 18px;
    height: 18px;
    min-width: 18px;
    font-size: 0.7rem;
    margin-top: 1px;
  }

  .page-segmentos .why-card p {
    font-size: 0.78rem;
    line-height: 1.42;
  }

  .tab-btn {
    min-width: 150px;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
  }

  .tab-content-wrapper {
    padding: 1.5rem;
  }

  .segment-hero {
    padding: 2rem;
    min-height: 180px;
  }

  .segment-hero h2 {
    font-size: 1.6rem;
  }

  .cta-final-panel {
    padding: 1.1rem 1rem 1rem;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.26);
  }

  .cta-final-title {
    font-size: 1.72rem;
    line-height: 1.16;
    letter-spacing: -0.01em;
    max-width: 100%;
    text-wrap: balance;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-final-lead {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.45;
    max-width: 30ch;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-final-buttons {
    flex-direction: column;
    margin-top: 1.1rem;
    gap: 0.6rem;
  }

  .cta-final-buttons .btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.95rem;
    border-radius: 999px;
  }

  .cta-final-contact {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.83rem;
    line-height: 1.5;
    text-align: center;
  }

  .cta-final-contact strong {
    display: inline-block;
  }
}

/* Remove depuração */
body.page-segmentos > .topbar,
body.page-segmentos > .header {
  border-bottom: none !important;
  border-top: none !important;
}

/* Remove padding/margin do topo dos elementos principais na segmentos */
body.page-segmentos main,
body.page-segmentos main > .section:first-of-type,
body.page-segmentos .tabs-container,
body.page-segmentos .tabs-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Restaura o banner do header na segmentos */
body.page-segmentos .header {
  background: var(--black) url("../img/hero/banner.png") center/cover no-repeat !important;
}

/* Moved from servicos/index.html inline style */
.service-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 34px 0;
  background: var(--white);
}

.service-hero.alt {
  background: #e8ebf0;
}

.service-hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.service-hero-image {
  height: 300px;
  background: linear-gradient(135deg, #fbb034 0%, #f39c12 100%);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
}

.service-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-hero-text h2 {
  font-family: "Oswald", "Montserrat", sans-serif;
  font-size: clamp(1.9rem, 2.7vw, 2.45rem);
  margin-bottom: 8px;
}

.service-title-with-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.service-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 8px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #6b7280;
  text-transform: uppercase;
}

.service-subtitle::before {
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffc300 0%, #c4a000 100%);
  flex-shrink: 0;
}

.service-title-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex: 0 0 38px;
}

.service-hero-text .lead {
  font-size: 1rem;
  margin-bottom: 18px;
  max-width: 100%;
  line-height: 1.68;
}

.service-hero-text h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
  margin-top: 20px;
}

.service-grid-how {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.service-grid-how .card {
  padding: 14px 12px;
  line-height: 1.4;
}

.service-hero.portaria-highlight {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 195, 0, 0.16), transparent 48%),
    radial-gradient(circle at 85% 10%, rgba(0, 0, 0, 0.08), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.portaria-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
  align-items: stretch;
}

.portaria-media {
  display: grid;
  gap: 12px;
}

.portaria-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.portaria-gallery .gallery-main {
  grid-column: span 3;
}

.portaria-gallery .gallery-main img,
.portaria-gallery .gallery-thumb img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.portaria-gallery .gallery-main img {
  height: 255px;
}

.portaria-gallery .gallery-thumb img {
  height: 92px;
}

.portaria-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6b7280;
  margin-bottom: 8px;
}

.portaria-label::before {
  content: "";
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffc300 0%, #c4a000 100%);
}

.portaria-functions {
  margin-top: 12px;
}

.portaria-functions ul {
  list-style: none;
  display: grid;
  gap: 8px;
}

.portaria-functions li {
  position: relative;
  padding-left: 22px;
  line-height: 1.45;
}

.portaria-functions li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffc300 0%, #c4a000 100%);
}

.pf-credential {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(196, 160, 0, 0.45);
  background: rgba(255, 195, 0, 0.14);
  color: #2f2f2f;
  font-weight: 700;
  line-height: 1.25;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  text-decoration: none;
  cursor: pointer;
}

.pf-credential img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

.pf-credential:hover {
  text-decoration: underline;
}

.portaria-benefits {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.portaria-benefits .card {
  border-top: 4px solid var(--gold);
  font-weight: 600;
  padding: 11px 10px;
  line-height: 1.3;
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.portaria-cta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portaria-cta .btn {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  padding: 10px 16px;
  font-size: 0.95rem;
  min-height: 48px;
}

@media (max-width: 900px) {
  .service-hero {
    min-height: auto;
    padding: 28px 0;
  }

  .service-subtitle {
    font-size: 0.88rem;
    margin: 2px 0 6px;
  }

  .service-hero-container {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-hero-image {
    height: 240px;
  }

  .service-hero-image img {
    object-fit: contain;
    object-position: center;
    background: #f3f3f3;
  }

  .portaria-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .portaria-gallery .gallery-main img {
    height: 220px;
  }

  .portaria-gallery .gallery-thumb img {
    height: 100px;
  }

  .pf-credential {
    font-size: 0.88rem;
    padding: 7px 10px;
  }

  .pf-credential img {
    width: 30px;
    height: 30px;
  }

  .portaria-benefits {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) {
  .service-hero-text {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .portaria-cta {
    margin-top: auto;
    padding-top: 14px;
  }

  .portaria-functions li {
    font-size: 0.97rem;
  }
}

.service-mobile-toggle {
  display: none;
}

.service-mobile-details {
  display: contents;
}

@media (max-width: 768px) {
  .page-servicos .hero.hero-services .container {
    gap: 4px !important;
  }

  .page-servicos .hero.hero-services {
    min-height: calc(100svh - 112px);
    padding: 14px 0 12px;
    align-items: stretch;
  }

  .page-servicos .hero.hero-services h2 {
    margin: 0 0 1px !important;
    font-size: clamp(1.9rem, 7vw, 2.2rem);
  }

  .page-segmentos .segment-cta .btn {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .page-servicos .hero.hero-services .services-hero-lead {
    margin: 0 0 8px;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .page-servicos .hero.hero-services .service-group-header {
    margin-top: 0 !important;
    margin-bottom: 0.3rem !important;
    gap: 8px;
  }

  .page-servicos .hero.hero-services .service-group-header-spaced {
    margin-top: 0.55rem;
  }

  .page-servicos .hero.hero-services .service-group-logo {
    width: 34px;
    height: 34px;
  }

  .page-servicos .hero.hero-services .service-group-title {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .page-servicos .hero.hero-services .services-grid-main,
  .page-servicos .hero.hero-services .services-grid-jpf {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    padding-bottom: 0;
  }

  .page-servicos .hero.hero-services .card {
    min-width: 0;
    min-height: 46px;
    padding: 6px 6px;
    white-space: normal;
    line-height: 1.15;
    font-size: 0.78rem;
    border-radius: 10px;
  }

  .page-servicos .hero.hero-services .card-with-logo span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex: 0 0 auto;
    text-align: center;
  }

  .page-servicos .service-hero {
    min-height: auto;
    padding: 14px 0;
  }

  .page-servicos .service-hero + .service-hero::before {
    width: calc(100% - 22px);
    top: -1px;
  }

  .page-servicos .portaria-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .page-servicos .service-hero-text {
    display: contents;
  }

  .page-servicos .portaria-label {
    order: 1;
    margin-bottom: 0;
  }

  .page-servicos .service-title-with-logo {
    order: 2;
    margin: 0;
  }

  .page-servicos .portaria-media {
    order: 3;
  }

  .page-servicos .service-hero-text .lead {
    order: 4;
  }

  .page-servicos .service-mobile-toggle {
    order: 5;
  }

  .page-servicos .service-mobile-details {
    order: 6;
    display: none;
    border: 1px solid rgba(196, 160, 0, 0.45);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: #fffdf5;
    padding: 8px 10px 10px;
    gap: 8px;
  }

  .page-servicos .service-hero.is-open .service-mobile-details {
    display: grid;
  }

  .page-servicos .service-hero.is-open .service-mobile-toggle {
    margin-bottom: 0;
    border-radius: 10px 10px 0 0;
    border-bottom: 0;
  }

  .page-servicos .service-mobile-details .portaria-functions,
  .page-servicos .service-mobile-details .portaria-cta {
    margin: 0;
  }

  .page-servicos .service-mobile-details .portaria-cta {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: stretch;
  }

  .page-servicos .service-mobile-details .portaria-cta .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 8px 8px;
    font-size: 0.78rem;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    line-height: 1.1;
  }

  .page-servicos .portaria-gallery {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page-servicos .portaria-gallery .gallery-main {
    grid-column: auto;
  }

  .page-servicos .portaria-gallery .gallery-main img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    background: transparent;
  }

  .page-servicos .portaria-gallery .gallery-thumb {
    display: none;
  }

  .page-servicos .portaria-benefits {
    display: none;
  }

  .page-servicos .service-title-logo {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
  }

  .page-servicos .service-hero-text h2 {
    font-size: 1.26rem;
    line-height: 1.15;
  }

  .page-servicos .service-hero-text .lead {
    margin-bottom: 6px;
    font-size: 0.92rem;
    line-height: 1.42;
  }

  .page-servicos .pf-credential {
    order: 4;
    margin: 0 0 8px;
    padding: 6px 10px;
    gap: 8px;
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .page-servicos .pf-credential img {
    width: 24px;
    height: 24px;
  }

  .service-mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: 1px solid rgba(196, 160, 0, 0.45);
    background: #fff8e8;
    color: #3b2f00;
    border-radius: 10px;
    padding: 8px 10px;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 6px 0 2px;
  }

  .service-mobile-toggle::after {
    content: "+";
    font-size: 1.1rem;
    line-height: 1;
  }

  .page-servicos .service-hero.is-open .service-mobile-toggle::after {
    content: "-";
  }

  .page-servicos .service-hero.is-open {
    border-left: 3px solid var(--gold);
  }

  .page-servicos .service-hero:not(.is-open) .portaria-functions,
  .page-servicos .service-hero:not(.is-open) .portaria-cta,
  .page-servicos .service-hero:not(.is-open) .portaria-benefits {
    display: none;
  }
}
