@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Barlow:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ==========================================================================
   SHALOM - Design System & Responsive Stylesheet
   Base Desktop (Figma Frame 1920px) + Fluid Adaptability (4K to Mobile)
   ========================================================================== */

:root {
  --navy: #0B1F45;
  --navy-2: #132D5E;
  --royal: #1C4FA3;
  --steel: #7A7D80;
  --yellow: #F5B800;
  --yellow-hover: #FFC91F;
  --green: #1FA855;
  --green-hover: #188D46;
  --ink: #1A2230;
  --muted: #5B6474;
  --line: #DCE1E8;
  --bg: #FFFFFF;
  --bg-soft: #F1F4F8;
  --radius: 6px;
  --radius-lg: 10px;
  --f-head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --f-body: 'Barlow', 'Segoe UI', Arial, sans-serif;
  --header-height: 84px;
}

/* --- Reset & Global Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

p, h1, h2, h3, h4, li {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cond {
  font-family: var(--f-head);
  font-weight: 700;
}

/* --- Tipografia Fluida (Modern Clamp) --- */
h1 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h2 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.12;
  color: var(--navy);
}

.dark h2,
.dark h1 {
  color: #fff;
}

.kicker {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 14px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  color: var(--royal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.kicker::after {
  content: "";
  height: 3px;
  width: 100%;
  background: var(--yellow);
  border-radius: 2px;
}

.dark .kicker {
  color: var(--yellow);
}

.sec-head {
  margin-bottom: 40px;
  max-width: 780px;
}

.sec-head h2 {
  margin-top: 8px;
}

.sec-head p {
  margin-top: 12px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.5;
}

/* --- Botões --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 31, 69, 0.12);
}

.btn:active,
button:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(11, 31, 69, 0.1);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
}

.btn-yellow:hover {
  background: var(--yellow-hover);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--royal);
}

.btn-green,
.btn-wa {
  background: var(--green);
  color: #fff;
}

.btn-green:hover,
.btn-wa:hover {
  background: var(--green-hover);
}

.btn-line {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  background: transparent;
}

.btn-line:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--royal);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
}

.link-arrow:hover {
  color: var(--navy);
  gap: 9px;
}

/* --- Faixa Superior (Topbar) --- */
.topbar {
  background: var(--navy);
  min-height: 39px;
  color: #c9d3e3;
  font-size: 14px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.topbar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* --- Cabeçalho (Header) --- */
header.site,
header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: height 0.2s ease;
}

header.site .wrap,
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

/* Menu de Navegação Desktop */
nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav > ul > li {
  position: relative;
}

nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  border-radius: var(--radius);
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

nav > ul > li > a:hover {
  color: var(--royal);
  background: var(--bg-soft);
}

nav > ul > li > a.active {
  color: var(--royal);
  box-shadow: inset 0 -3px 0 var(--yellow);
}

/* Seta indicadora de submenu */
nav > ul > li:has(.sub) > a::after,
nav > ul > li.has-sub > a::after {
  content: '▾';
  font-size: 11px;
  opacity: 0.65;
  transition: transform 0.2s ease;
}

/* Submenu Dropdown Desktop */
nav .sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 260px;
  list-style: none;
  padding: 8px 0;
  margin-top: 6px;
  box-shadow: 0 14px 34px rgba(11, 31, 69, 0.12);
  z-index: 1001;
  animation: fadeInDown 0.2s ease forwards;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 992px) {
  /* Ponte invisível para o cursor não perder o hover entre o item do menu e o dropdown */
  nav .sub::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -10px;
    right: -10px;
    height: 16px;
    background: transparent;
    display: block;
  }

  nav > ul > li:hover:has(.sub) > a::after,
  nav > ul > li.has-sub:hover > a::after,
  nav > ul > li.open > a::after {
    transform: rotate(180deg);
  }

  nav ul > li:hover > .sub,
  nav ul > li.open > .sub {
    display: block !important;
  }
}

nav .sub li {
  width: 100%;
  list-style: none;
}

nav .sub a {
  display: block;
  padding: 10px 20px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: none !important;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

nav .sub a:hover {
  background: var(--bg-soft);
  color: var(--royal);
  padding-left: 24px;
}

/* Botão CTA dentro do Menu (Oculto no Desktop) */
.nav-cta {
  display: none;
}

/* Botão Hambúrguer Mobile */
.menu-btn {
  display: none;
  background: none;
  border: 0;
  font-size: 1.65rem;
  color: var(--navy);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  z-index: 1002;
  border-radius: var(--radius);
  transition: background 0.2s ease, color 0.2s ease;
}

.menu-btn:hover,
.menu-btn:active {
  background: var(--bg-soft);
  color: var(--royal);
}

/* Fundo desfocado para o menu mobile (Backdrop Overlay) */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 69, 0.52);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-backdrop.open {
  display: block;
  opacity: 1;
}

body.nav-open {
  overflow: hidden;
}

.nav-mobile-footer {
  display: none;
}

/* --- Banner Hero Principal (Home) --- */
.hero {
  position: relative;
  background: var(--navy);
  min-height: 580px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero .wrap {
  position: relative;
  width: 100%;
  padding-top: 64px;
  padding-bottom: 72px;
  z-index: 2;
  max-width: 1200px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(245, 184, 0, 0.45);
  border-radius: 40px;
  background: rgba(245, 184, 0, 0.14);
  color: var(--yellow);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.hero h1 {
  color: #fff;
  max-width: 650px;
  margin-bottom: 18px;
}

.hero p {
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.6;
  color: #c9d3e3;
  max-width: 580px;
  margin-bottom: 30px;
}

.hero .acts {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.dots {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  gap: 10px;
}

.dots span {
  width: 32px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.28);
}

.dots span.on {
  background: var(--yellow);
}

.hero-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* --- Selos de Destaque --- */
.seals {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.seals .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.seal {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-right: 1px solid var(--line);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.3;
  color: var(--navy);
}

.seal:last-child {
  border-right: 0;
}

.seal b {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 27px;
  line-height: 1;
  color: var(--royal);
  flex-shrink: 0;
}

/* --- Seções Globais --- */
.section {
  padding: 84px 0;
}

.section.soft {
  background: var(--bg-soft);
}

.section.dark {
  background: var(--navy);
  color: #E7ECF4;
}

.section.dark h2,
.section.dark h3,
.section.dark h4 {
  color: #ffffff;
}

.section.dark .sec-head p {
  color: #C9D3E3;
}

/* --- Quem Somos (About Home) --- */
.about {
  padding: 84px 0;
}

.about .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.about .txt h2 {
  margin-top: 12px;
  margin-bottom: 18px;
}

.about .p1 {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 14px;
}

.about .p2 {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 26px;
}

.about .img {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 31, 69, 0.08);
}

.about .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* --- Nossas Frentes (Home) --- */
.fronts {
  background: var(--bg-soft);
  padding: 84px 0;
}

.fronts .cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
}

.front {
  position: relative;
  height: 440px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.front:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(11, 31, 69, 0.16);
}

.front > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.4s ease;
}

.front > img.f1 {
  object-position: center 25%;
}

.front > img.f2 {
  object-position: center 18%;
}

.front:hover > img {
  transform: scale(1.04);
}

.front::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 31, 69, 0.1) 20%, rgba(11, 31, 69, 0.94) 80%);
}

.front > *:not(img) {
  position: relative;
  z-index: 2;
}

.front h3 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 8px;
}

.front p {
  font-size: 16px;
  line-height: 1.5;
  color: #e7ecf4;
  margin-bottom: 16px;
}

.front ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-bottom: 18px;
}

.front li {
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px;
  font-size: 13.5px;
  color: #e7ecf4;
  background: rgba(11, 31, 69, 0.4);
}

.front .go {
  font-weight: 600;
  font-size: 16px;
  color: var(--yellow);
}

/* --- Principais Serviços (Chips) --- */
.services {
  padding: 84px 0;
}

.services .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 36px;
}

.services h4 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 21px;
  color: var(--navy);
  margin-bottom: 14px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 40px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--navy);
  transition: all 0.2s ease;
}

.chip:hover {
  border-color: var(--royal);
  color: var(--royal);
  background: var(--bg-soft);
  transform: translateY(-1px);
}

/* --- Unificação dos Grids (Sectors, Diferenciais, Cards) --- */
.grid3,
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Setores e Destaques */
.sectors {
  background: var(--bg-soft);
  padding: 84px 0;
}

.sector {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sector:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 31, 69, 0.06);
}

.sector h4 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}

.sector p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  flex-grow: 1;
}

.sector .tag2 {
  font-weight: 600;
  font-size: 13px;
  color: var(--royal);
  margin-top: 14px;
}

/* Diferenciais (.diffs / .feat) */
.dark {
  background: var(--navy);
}

.diffs {
  padding: 84px 0;
}

.feat {
  padding: 26px;
  border-left: 4px solid var(--yellow);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: transform 0.2s ease;
}

.feat:hover {
  transform: translateY(-2px);
}

.feat h3,
.feat h4 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}

.feat p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.dark .feat,
.diffs .feat {
  background: var(--navy-2);
  border: 0;
  border-left: 4px solid var(--yellow);
}

.dark .feat h3,
.dark .feat h4,
.diffs .feat h3,
.diffs .feat h4 {
  color: #fff;
}

.dark .feat p,
.diffs .feat p {
  color: #c9d3e3;
}

/* Clientes / Parceiros */
.clients {
  padding: 84px 0;
}

.logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.logos div {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f9fb;
  border: 2px dashed #aeb8c7;
  border-radius: var(--radius);
  font-size: 14px;
  color: #7c889b;
}

/* --- Chamada Final para Ação (CTA Global) --- */
.cta {
  background: var(--yellow);
  padding: 64px 0;
}

.cta .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta h2 {
  color: var(--navy);
  max-width: 500px;
  line-height: 1.15;
}

.cta p {
  font-size: 17px;
  line-height: 1.5;
  color: #3d3100;
  margin-top: 10px;
  max-width: 500px;
}

.cta .acts {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.cta .btn-navy,
.cta .btn-green,
.cta .btn-wa {
  min-width: 190px;
}

/* --- Rodapé (Footer) --- */
footer {
  background: #081631;
  color: #9fb0cb;
  padding: 64px 0 calc(32px + env(safe-area-inset-bottom, 0px));
}

.fwrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.fcols {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

footer h4 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 19px;
  color: #fff;
  margin-bottom: 16px;
}

footer ul {
  list-style: none;
}

footer li {
  font-size: 14.5px;
  line-height: 1.5;
  margin-bottom: 10px;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.flogo {
  height: 64px;
  width: auto;
  object-fit: contain;
  margin-bottom: 18px;
}

.fabout {
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 280px;
}

.fbottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #1b2c4f;
  padding-top: 24px;
  font-size: 13.5px;
  color: #7b8ea9;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Botão Flutuante do WhatsApp --- */
.wa-float {
  position: fixed;
  right: calc(22px + env(safe-area-inset-right, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.28));
  z-index: 999;
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.08);
  background: var(--green-hover);
}

.wa-float:active {
  transform: scale(0.92);
}

body:has(nav.open) .wa-float {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.7);
}

.wa-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* ==========================================================================
   Páginas Internas (Sobre, EPC, Facilities, Contato, Orçamento)
   ========================================================================== */

/* Page Hero */
.page-hero {
  background: var(--navy);
  color: #E7ECF4;
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}

.page-hero .wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.page-hero h1 {
  color: #fff;
  margin-bottom: 14px;
}

.page-hero p {
  color: #C9D3E3;
  font-size: 17.5px;
  line-height: 1.6;
  max-width: 620px;
}

.page-hero .ph-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center 25%;
  border-bottom: 6px solid var(--yellow);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-hero.slim {
  padding: 48px 0;
}

.page-hero.slim .wrap {
  display: block;
}

.crumbs {
  font-size: 14px;
  color: #9FB0CB;
  margin-bottom: 14px;
}

.crumbs a {
  color: #C9D3E3;
}

.crumbs a:hover {
  color: #fff;
  text-decoration: underline;
}

.slide-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.photo {
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  aspect-ratio: 4/3;
  width: 100%;
}

.split .photo {
  aspect-ratio: 4/5;
  min-height: 480px;
  background-position: center top;
}

/* Cards de Serviços nas Páginas Internas */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  isolation: isolate;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(11, 31, 69, 0.1);
  border-color: #cbd5e1;
}

.card .img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center 25%;
  transition: transform 0.35s ease;
}

.card:hover .img {
  transform: scale(1.03);
}

.card .body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card .body h3,
.card .body h4 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 22px;
  color: var(--navy);
  margin: 0;
  transition: color 0.2s ease;
}

.card:hover .body h3:not([style*="color"]),
.card:hover .body h4:not([style*="color"]) {
  color: var(--royal);
}

.card .body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.card .body .link-arrow {
  margin-top: auto;
  padding-top: 6px;
}

/* Opção 1: Botão Circular com Seta nos Cards */
.card-arrow {
  margin-top: auto;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--navy);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
  margin-top: 14px;
}

.card-arrow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.card-arrow svg {
  display: block;
}

.card:hover .card-arrow {
  background: var(--royal);
  color: #ffffff;
  border-color: var(--royal);
  box-shadow: 0 4px 12px rgba(28, 79, 163, 0.25);
}

.card:active .card-arrow {
  transform: scale(0.95);
}

/* Passos / Steps */
.steps {
  counter-reset: s;
  display: grid;
  grid-template-columns: repeat(var(--n, 4), 1fr);
  gap: 24px;
}

.step {
  position: relative;
  padding-top: 56px;
}

.step::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
}

.step h4 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 6px;
}

.step p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.section.dark .step h4 {
  color: #ffffff;
}

.section.dark .step p {
  color: #C9D3E3;
}

.section.dark .step::before {
  background: var(--yellow);
  color: var(--navy);
}

/* Checklist */
.check {
  list-style: none;
  display: grid;
  gap: 10px;
}

.check li {
  padding-left: 26px;
  position: relative;
  line-height: 1.5;
  font-size: 15.5px;
}

.check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 12px;
  height: 6px;
  border-left: 2.5px solid var(--royal);
  border-bottom: 2.5px solid var(--royal);
  transform: rotate(-45deg);
}

.section.dark .check li::before {
  border-color: var(--yellow);
}

/* Catálogo de Serviços em Detalhe (servicos-epc e servicos-facilities) */
.svc-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.svc-index {
  position: sticky;
  top: 110px;
  border-left: 3px solid var(--line);
  padding: 4px 0;
}

.svc-index a {
  display: block;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14.5px;
  margin-left: -3px;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.svc-index a:hover {
  color: var(--navy);
  border-color: var(--yellow);
}

.svc-index a.active {
  color: var(--navy);
  border-color: var(--royal);
  font-weight: 700;
  background: rgba(28, 79, 163, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.svc {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.svc:first-child {
  padding-top: 0;
}

.svc:last-child {
  border-bottom: 0;
}

.svc .photo {
  aspect-ratio: 1/1;
  box-shadow: 0 8px 24px rgba(11, 31, 69, 0.08);
  background-size: cover;
  background-position: center 20%;
}

/* Focal points inteligentes para serviços de Facilities */
#portaria .photo { background-position: center 15%; }
#recepcao .photo { background-position: center 15%; }
#limpeza .photo { background-position: center 18%; }
#copa .photo { background-position: center 20%; }
#jardinagem .photo { background-position: center center; }
#manutencao-predial .photo { background-position: center 25%; }

/* Focal points inteligentes para serviços de Proteções Coletivas (EPC) */
#tela-fachadeira .photo { background-position: center top; }
#slqa .photo { background-position: center 25%; }
#piso-a-piso .photo { background-position: center 20%; }
#vizinho-calcada .photo { background-position: center 30%; }
#linha-de-vida .photo { background-position: center center; }
#ancoragem .photo { background-position: center center; }
#bandeja .photo { background-position: center center; }

.svc h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  margin-bottom: 12px;
}

.svc .desc {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 15.5px;
  line-height: 1.6;
}

.svc h4 {
  margin: 18px 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--f-head);
}

.svc .info {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 18px;
  line-height: 1.5;
  border-left: 3px solid var(--royal);
}

/* Formulário de Orçamento e Contato */
.orcamento-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: start;
}

.form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form .full {
  grid-column: 1 / -1;
}

.form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--navy);
}

.form input,
.form select,
.form textarea {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid #C7CFDA;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  transition: border-color 0.2s ease, outline 0.2s ease;
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--royal);
  border-color: var(--royal);
}

/* Alertas de Retorno do Formulário */
.form-alert {
  grid-column: 1 / -1;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 4px;
  animation: fadeInDown 0.25s ease forwards;
}

.form-alert.success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.form-alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.form-alert strong {
  display: block;
  font-size: 16px;
  margin-bottom: 2px;
}

.form-alert a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

/* Campo anti-spam invisível para robôs */
.form-hp {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

.form .note {
  font-size: 13.5px;
  color: var(--muted);
}

.aside-box {
  background: var(--navy);
  color: #C9D3E3;
  border-radius: var(--radius);
  padding: 32px;
}

.aside-box h3 {
  color: #ffffff;
  margin-bottom: 18px;
}

.aside-box .step::before {
  background: var(--yellow);
  color: var(--navy);
}

.aside-box .step h4 {
  color: #ffffff;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 18px;
}

.aside-box .step p {
  color: #C9D3E3;
}

/* Cards de Contato */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cc:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 31, 69, 0.06);
}

.cc h4 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 6px;
}

.cc p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.cc a {
  color: var(--royal);
}

.cc a:hover {
  text-decoration: underline;
}

.cc-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--royal);
  margin-top: 6px;
  padding: 0;
  line-height: 1;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none !important;
}

.cc-social-link svg {
  display: block;
  flex-shrink: 0;
  margin: auto;
}

.cc-social-link:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 16px rgba(220, 39, 67, 0.35);
}

.map {
  height: 380px;
  width: 100%;
  border-radius: var(--radius);
}


/* ==========================================================================
   SISTEMA DE RESPONSIVIDADE PROFISSIONAL (CENTRALIZADO E HIERÁRQUICO)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. LAPTOPS E TELAS MÉDIAS (max-width: 1199px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .hero-photo {
    width: 46%;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%);
  }

  .about .wrap {
    gap: 40px;
  }

  .fcols {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 28px;
  }

  .svc-layout {
    grid-template-columns: 210px 1fr;
    gap: 36px;
  }
}

/* --------------------------------------------------------------------------
   2. TABLETS & TRANSIÇÃO DE MENU MOBILE (max-width: 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  :root {
    --header-height: 72px;
  }

  .logo img {
    height: 48px;
  }

  /* Ativação do Menu Mobile */
  .menu-btn {
    display: block;
  }

  .header-cta {
    display: none;
  }

  nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    padding: 20px 20px calc(36px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 16px 36px rgba(11, 31, 69, 0.14);
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
  }

  nav.open {
    display: flex !important;
    animation: slideDownMenu 0.25s ease forwards;
  }

  @keyframes slideDownMenu {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  nav > ul > li > a {
    padding: 13px 16px;
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
    border-radius: 8px;
    border-bottom: 1px solid rgba(220, 225, 232, 0.4);
    transition: background 0.15s ease, color 0.15s ease;
  }

  nav > ul > li > a:hover,
  nav > ul > li > a.active {
    background: var(--bg-soft);
    color: var(--royal);
    box-shadow: none;
  }

  /* Submenu Acordeom no Mobile */
  nav > ul > li.has-sub > a,
  nav > ul > li:has(.sub) > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  nav > ul > li.has-sub > a::after,
  nav > ul > li:has(.sub) > a::after {
    display: inline-block !important;
    content: '▾';
    font-size: 14px;
    font-weight: 700;
    color: var(--royal);
    transition: transform 0.25s ease;
    margin-left: auto;
  }

  nav > ul > li.has-sub.open > a::after,
  nav > ul > li:has(.sub).open > a::after,
  nav li.open > a::after {
    transform: rotate(180deg);
  }

  nav .sub {
    display: none;
    position: static;
    box-shadow: none;
    border: 0;
    border-left: 3px solid var(--yellow);
    margin: 6px 0 12px 14px;
    padding: 6px 0 6px 14px;
    background: var(--bg-soft);
    border-radius: 0 var(--radius) var(--radius) 0;
    min-width: unset;
  }

  nav li.open > .sub,
  nav li.open .sub,
  nav > ul > li.has-sub.open > .sub,
  nav > ul > li:has(.sub).open > .sub {
    display: block !important;
    animation: accordionSlide 0.25s ease forwards;
  }

  @keyframes accordionSlide {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  nav .sub a {
    padding: 10px 14px;
    font-size: 15px;
    color: var(--muted);
    font-weight: 500;
    border-radius: 4px;
  }

  nav .sub a:hover,
  nav .sub a:active {
    color: var(--navy);
    background: rgba(11, 31, 69, 0.05);
    padding-left: 16px;
  }

  .nav-mobile-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    width: 100%;
  }

  .nav-mobile-footer .btn {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: var(--radius);
    box-shadow: 0 4px 14px rgba(245, 184, 0, 0.32);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  }

  .nav-mobile-footer .btn:hover,
  .nav-mobile-footer .btn:active {
    background: var(--yellow-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245, 184, 0, 0.42);
  }

  .nav-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    border-radius: var(--radius);
    background: rgba(31, 168, 85, 0.1);
    color: #12793b;
    font-weight: 600;
    font-size: 15.5px;
    border: 1px solid rgba(31, 168, 85, 0.3);
    transition: background 0.2s ease, transform 0.15s ease;
  }

  .nav-wa-btn:hover {
    background: rgba(31, 168, 85, 0.18);
  }

  .nav-wa-btn:active {
    transform: scale(0.98);
  }

  /* Hero Banner Tablet & Mobile (Hero Imersivo Full-Bleed de Alto Impacto) */
  .hero {
    position: relative;
    min-height: 520px;
    padding: 30px 0 38px;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
  }

  .hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    clip-path: none;
    margin: 0;
    z-index: 1;
    border-radius: 0;
  }

  .hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 0;
    opacity: 0.35;
  }

  .hero-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(11, 31, 69, 0.75) 0%,
      rgba(11, 31, 69, 0.88) 50%,
      rgba(11, 31, 69, 0.98) 100%
    );
    z-index: 2;
  }

  .hero .wrap {
    position: relative;
    z-index: 3;
    padding: 0 24px;
    width: 100%;
  }

  .hero .tag {
    background: rgba(245, 184, 0, 0.22);
    border: 1px solid rgba(245, 184, 0, 0.55);
    backdrop-filter: blur(8px);
    margin-bottom: 14px;
  }

  .hero h1 {
    font-size: clamp(32px, 7.5vw, 46px);
    line-height: 1.12;
    margin-bottom: 16px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  }

  .hero h1 br {
    display: none;
  }

  .hero p {
    font-size: clamp(15.5px, 3.8vw, 17.5px);
    line-height: 1.6;
    color: #dbe4f0;
    margin-bottom: 28px;
    max-width: 100%;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  }

  .hero p br {
    display: none;
  }

  .hero .acts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero .acts .btn {
    width: 100%;
    justify-content: center;
  }

  .dots {
    display: none;
  }

  /* Selos em Grade 2x2 Compacta & Executiva */
  .seals .wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .seal {
    min-height: 84px;
    padding: 16px 18px;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.35;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .seal:nth-child(2n) {
    border-right: 0 !important;
  }

  .seal:nth-child(3),
  .seal:nth-child(4) {
    border-bottom: 0;
  }

  .seal b {
    font-size: 25px;
  }

  .seal:not(:has(b))::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--royal);
    box-shadow: 0 0 0 4px rgba(33, 82, 168, 0.15);
    flex-shrink: 0;
  }

  /* Seções da Home - Padding Responsivo */
  .about,
  .fronts,
  .services,
  .sectors,
  .diffs,
  .cta {
    padding: 30px 0;
  }

  .fcols {
    padding-bottom: 30px;
  }

  footer {
    padding: 30px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  }

  footer h4 {
    margin-bottom: 8px;
  }

  /* About & Fluidez de Texto na Home */
  .about .wrap,
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about .txt h2 br,
  .about .p1 br,
  .about .p2 br,
  .sec-head h2 br,
  .sec-head p br,
  .sector p br,
  .feat p br,
  .cta h2 br {
    display: none;
  }

  .about .img {
    height: auto;
    aspect-ratio: 16/10;
    max-height: 320px;
    border-radius: var(--radius);
    box-shadow: 0 10px 24px rgba(11, 31, 69, 0.08);
  }

  /* Nossas Frentes */
  .fronts .cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .front {
    min-height: 400px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px 24px;
    border-radius: var(--radius);
  }

  .front::before {
    background: linear-gradient(
      180deg,
      rgba(11, 31, 69, 0) 10%,
      rgba(11, 31, 69, 0.55) 45%,
      rgba(11, 31, 69, 0.96) 90%
    );
  }

  .front h3 {
    font-size: 28px;
    line-height: 1.15;
    margin-bottom: 8px;
  }

  .front p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .front p br {
    display: none;
  }

  .front ul {
    gap: 6px;
    margin-bottom: 18px;
  }

  .front li {
    font-size: 13px;
    padding: 4px 10px;
  }

  .front .go {
    font-size: 15.5px;
    margin-top: 0;
  }

  .front:active {
    transform: scale(0.985);
  }

  /* Grids gerais para 2 colunas */
  .grid3,
  .grid-3,
  .grid-4,
  .contact-cards,
  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Principais Serviços: Trilho Fluido sem Vazar da Tela */
  .services {
    overflow: hidden;
  }

  .services .cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    width: 100%;
    min-width: 0;
  }

  .services .cols > div {
    min-width: 0;
    width: 100%;
    overflow: hidden;
  }

  .chips {
    display: flex;
    flex-wrap: wrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    gap: 10px;
    padding: 4px 4px 14px 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .chips::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 14.5px;
    padding: 10px 18px;
    scroll-snap-align: start;
    user-select: none;
    transition: all 0.15s ease;
  }

  .chip:active {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
    transform: scale(0.96);
  }

  .logos {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Page Hero */
  .page-hero .wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Layout de Serviços em Detalhes no Mobile (Fluxo Contínuo Limpo) */
  .svc-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .svc-index {
    display: none !important;
  }

  .svc {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0;
    scroll-margin-top: 90px;
  }

  .svc .photo {
    aspect-ratio: 16/10;
    max-height: 340px;
  }

  .split .photo {
    aspect-ratio: 4/3;
    min-height: auto;
  }

  /* Formulário e Orçamento */
  .orcamento-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* CTA */
  .cta .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Rodapé */
  .fcols {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

/* --------------------------------------------------------------------------
   3. MOBILE & SMARTPHONES (max-width: 640px)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  /* Padrão mobile de 30px de padding */
  .section,
  .about,
  .fronts,
  .services,
  .sectors,
  .diffs,
  .cta {
    padding: 30px 0;
  }

  footer {
    padding: 30px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  }

  footer h4 {
    margin-bottom: 8px;
  }

  .topbar {
    display: none;
  }

  /* Selos 2x2 mantidos no mobile com padding ergonômico */
  .seal {
    padding: 14px 12px;
    font-size: 13.5px;
    min-height: 76px;
  }

  .seal b {
    font-size: 22px;
  }

  /* Grids para 1 coluna */
  .grid3,
  .grid-3,
  .grid-4,
  .grid-2,
  .contact-cards,
  .steps {
    grid-template-columns: 1fr;
  }

  /* Formulário & Usabilidade iOS-Proof */
  .form {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    gap: 16px;
  }

  .form .full {
    grid-column: 1;
  }

  .form label {
    font-size: 15px;
  }

  .form input,
  .form select,
  .form textarea {
    font-size: 16px !important; /* Previne auto-zoom forçado no iOS Safari */
    min-height: 48px; /* Touch target ergonômico padrão Apple HIG / Google Material */
    padding: 12px 14px;
    border-radius: var(--radius);
  }

  .form textarea {
    min-height: 120px;
  }

  .form button[type="submit"] {
    width: 100%;
    justify-content: center;
    height: 52px;
    font-size: 16.5px;
  }

  .form .note {
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    width: 100%;
  }

  .aside-box {
    padding: 24px 20px;
  }

  /* Cards de Contato & Mapa */
  .contact-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cc {
    padding: 20px 18px;
  }

  .cc a:not(.cc-social-link) {
    display: inline-block;
    padding: 2px 0;
    min-height: 40px;
    line-height: 36px;
  }

  .cc-social-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    line-height: 1 !important;
  }

  .cc-social-link svg {
    display: block !important;
    margin: auto !important;
  }

  .map {
    height: 280px;
  }

  .about .txt .btn {
    width: 100%;
    justify-content: center;
  }

  /* Imagens */
  .front {
    min-height: 380px;
    padding: 26px 20px;
    justify-content: flex-end;
  }

  .logos {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Rodapé em 1 coluna */
  .fcols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fbottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .cta .acts {
    flex-direction: column;
    width: 100%;
  }

  .cta .btn {
    width: 100%;
  }

  .slide-actions {
    flex-direction: column;
    width: 100%;
  }

  .slide-actions .btn {
    width: 100%;
  }

  /* Botão Flutuante com Safe Areas no iPhone */
  .wa-float {
    width: 52px;
    height: 52px;
    right: calc(16px + env(safe-area-inset-right, 0px));
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
  }

  .wa-float svg {
    width: 26px;
    height: 26px;
  }
}

/* --------------------------------------------------------------------------
   4. SMARTPHONES PEQUENOS (max-width: 420px)
   -------------------------------------------------------------------------- */
@media (max-width: 420px) {
  .wrap,
  .fwrap {
    padding: 0 16px;
  }

  .btn {
    height: 50px;
    font-size: 15px;
    padding: 0 16px;
  }

  .chip {
    font-size: 14px;
    padding: 8px 14px;
  }

  .sec-head {
    margin-bottom: 28px;
  }



  .seal {
    padding: 12px 10px;
    font-size: 12.5px;
    gap: 8px;
  }

  .seal b {
    font-size: 19px;
  }
}

  .sec-head {
    margin-bottom: 28px;
  }



  .seal {
    padding: 12px 10px;
    font-size: 12.5px;
    gap: 8px;
  }

  .seal b {
    font-size: 19px;
  }
}
