/* INOVACON — folha de estilos única (mobile-first) */

/* ---------- Fontes ---------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/montserrat-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #112531;
  --navy-700: #0b1a22;
  --navy-600: #1a3140;
  --yellow: #ffcf00;
  --yellow-600: #e6ba00;
  --gray-100: #edecec;
  --gray-200: #e4e4e4;
  --white: #fdfdfd;

  --ink: var(--navy);
  --ink-on-navy: var(--white);
  --accent-on-navy: var(--yellow);

  --font-base: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 2.5rem;
  --sp-6: 3rem;
  --sp-7: 3.5rem;
  --sp-8: 4rem;
  --sp-9: 5rem;
  --sp-10: 6rem;

  --fs-sm: clamp(0.8125rem, 0.78rem + 0.15vw, 0.9375rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1.06rem + 0.3vw, 1.375rem);
  --fs-xl: clamp(1.375rem, 1.26rem + 0.5vw, 1.75rem);
  --fs-2xl: clamp(1.75rem, 1.55rem + 0.9vw, 2.375rem);
  --fs-3xl: clamp(2.125rem, 1.8rem + 1.5vw, 3.25rem);

  --container-w: 1200px;
  --container-pad: var(--sp-3);
  --radius: 4px;
  --radius-lg: 10px;
  --border: 1px solid rgba(17, 37, 49, 0.14);
  --shadow: 0 10px 30px rgba(17, 37, 49, 0.12);
  --header-h: 76px;
  --transition: 180ms ease;
}

@media (min-width: 640px) {
  :root {
    --container-pad: var(--sp-5);
  }
}

@media (min-width: 1200px) {
  :root {
    --container-pad: var(--sp-7);
  }
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-base);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

svg {
  display: block;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

label {
  display: inline-block;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ---------- Tipografia ---------- */
h1 {
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h2 {
  font-size: var(--fs-2xl);
  font-weight: 800;
  line-height: 1.18;
}

h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.25;
}

h4 {
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.3;
}

p {
  max-width: 68ch;
}

.lead {
  font-size: var(--fs-lg);
  line-height: 1.55;
  margin-bottom: var(--sp-4);
}

/* ---------- Foco acessível ---------- */
a,
button,
input,
select,
textarea,
[tabindex] {
  outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}

.on-navy a:focus-visible,
.on-navy button:focus-visible,
[data-surface="navy"] a:focus-visible,
[data-surface="navy"] button:focus-visible {
  outline-color: var(--yellow);
}

/* ---------- Utilidades ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--sp-2);
  top: -60px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--radius);
  z-index: 1000;
  transition: top var(--transition);
}

.skip-link:focus {
  top: var(--sp-2);
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--sp-8);
}

.section--tight {
  padding-block: var(--sp-6);
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--light {
  background: var(--gray-100);
}

/* Ícones: SVG externos recoloridos via CSS mask (currentColor não é herdado
   por SVG carregado como <img>, por isso usamos background-color + máscara) */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.icon-menu {
  -webkit-mask-image: url("../icons/menu.svg");
  mask-image: url("../icons/menu.svg");
}

.icon-close {
  -webkit-mask-image: url("../icons/close.svg");
  mask-image: url("../icons/close.svg");
}

.icon-whatsapp {
  -webkit-mask-image: url("../icons/whatsapp.svg");
  mask-image: url("../icons/whatsapp.svg");
}

.icon-email {
  -webkit-mask-image: url("../icons/email.svg");
  mask-image: url("../icons/email.svg");
}

.icon-instagram {
  -webkit-mask-image: url("../icons/instagram.svg");
  mask-image: url("../icons/instagram.svg");
}

.icon-helmet {
  -webkit-mask-image: url("../icons/helmet.svg");
  mask-image: url("../icons/helmet.svg");
}

.icon-theodolite {
  -webkit-mask-image: url("../icons/theodolite.svg");
  mask-image: url("../icons/theodolite.svg");
}

.icon-excavator {
  -webkit-mask-image: url("../icons/excavator.svg");
  mask-image: url("../icons/excavator.svg");
}

.icon-beam {
  -webkit-mask-image: url("../icons/beam.svg");
  mask-image: url("../icons/beam.svg");
}

.icon-check {
  -webkit-mask-image: url("../icons/check.svg");
  mask-image: url("../icons/check.svg");
}

/* Selo circular amarelo com check (listas de itens) */
.check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  margin-top: 0.2em;
}

.item-card .check-badge {
  margin-top: 0;
}

.check-badge::before {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  background-color: var(--navy);
  -webkit-mask-image: url("../icons/check.svg");
  mask-image: url("../icons/check.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.text-center {
  text-align: center;
}

.section-title--center {
  margin-inline: auto;
}

.hero__actions--center {
  justify-content: center;
}

/* Celular: botões empilhados com a mesma largura */
@media (max-width: 479px) {
  .hero__actions,
  .not-found__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__actions--center,
  .not-found__actions {
    align-items: center;
  }

  .hero__actions .btn,
  .not-found__actions .btn {
    min-width: 240px;
  }
}

.section-actions {
  margin-top: var(--sp-4);
}

.lead--center {
  margin-inline: auto;
}

.muted {
  opacity: 0.82;
}

/* Barrinha amarela antes de títulos em caixa alta */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: var(--sp-2);
}

.on-navy .eyebrow,
[data-surface="navy"] .eyebrow {
  color: var(--white);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 5px;
  background: var(--yellow);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  margin-bottom: var(--sp-5);
  max-width: 62ch;
}

/* Losango ornamental */
.diamond {
  position: relative;
  width: 14px;
  height: 14px;
  border: 2px solid var(--yellow);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.diamond--solid {
  background: var(--yellow);
  border-color: var(--yellow);
}

/* Padrão de pontinhos amarelos */
.dots {
  --dot: rgba(255, 207, 0, 0.9);
  background-image: radial-gradient(var(--dot) 1.5px, transparent 1.6px);
  background-size: 14px 14px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-weight: 700;
  font-size: var(--fs-base);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition),
    transform var(--transition);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}

.btn--primary:hover {
  background: var(--yellow-600);
  border-color: var(--yellow-600);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  height: 40px;
  width: auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.nav-toggle .icon {
  width: 24px;
  height: 24px;
}

.nav-toggle__icon--close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon--open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close {
  display: block;
}

.primary-nav {
  display: flex;
}

.primary-nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex-wrap: wrap;
}

.primary-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.6rem;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-sm);
  white-space: nowrap;
  color: var(--navy);
  border-radius: var(--radius);
  border-bottom: 3px solid transparent;
}

.primary-nav__link:hover {
  border-bottom-color: var(--yellow);
}

.primary-nav__link[aria-current="page"] {
  border-bottom-color: var(--yellow);
  font-weight: 800;
}

.primary-nav__cta {
  background: var(--navy);
  color: var(--white) !important;
  border-radius: var(--radius);
  padding-inline: var(--sp-2);
}

.primary-nav__cta:hover {
  background: var(--navy-600);
  border-bottom-color: transparent;
}

@media (max-width: 1279px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--white);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    overflow-y: auto;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    padding: var(--sp-2) var(--container-pad) var(--sp-6);
  }

  .primary-nav__link {
    min-height: 56px;
    padding: var(--sp-2);
    border-bottom: 1px solid var(--gray-200);
    border-radius: 0;
    width: 100%;
  }

  .primary-nav__link[aria-current="page"] {
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-100);
  }

  .primary-nav__cta {
    margin-top: var(--sp-2);
    justify-content: center;
  }
}

@media (min-width: 1280px) {
  .nav-toggle {
    display: none;
  }

  .primary-nav__list {
    flex-wrap: nowrap;
    gap: 0.125rem;
  }

  .primary-nav__link {
    padding-inline: 0.55rem;
  }

  .primary-nav__cta {
    margin-left: var(--sp-1);
  }
}

@media (min-width: 1400px) {
  .primary-nav__list {
    gap: var(--sp-1);
  }

  .primary-nav__link {
    padding-inline: 0.75rem;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--sp-9);
  max-width: 640px;
}

.hero__eyebrow {
  margin-bottom: var(--sp-3);
}

.hero__title {
  margin-bottom: var(--sp-3);
}

.hero__lead {
  font-size: var(--fs-lg);
  max-width: 56ch;
  margin-bottom: var(--sp-5);
  color: var(--gray-100);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.hero__ornament {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero__ornament .diamond {
  position: absolute;
}

.hero__ornament .diamond:nth-child(1) {
  width: 64px;
  height: 64px;
  border-width: 3px;
  top: var(--sp-6);
  right: 6%;
  opacity: 0.9;
}

.hero__ornament .diamond:nth-child(2) {
  width: 30px;
  height: 30px;
  top: 58%;
  right: 16%;
}

.hero__ornament .diamond:nth-child(3) {
  width: 16px;
  height: 16px;
  bottom: 10%;
  right: 4%;
}

.hero__ornament .dots-block {
  position: absolute;
  width: 120px;
  height: 80px;
  top: var(--sp-7);
  right: 1%;
}

.hero__ornament .stripes-block {
  position: absolute;
  width: 110px;
  height: 160px;
  bottom: -20px;
  right: 10%;
  transform: rotate(18deg);
  background: repeating-linear-gradient(
    135deg,
    var(--yellow) 0,
    var(--yellow) 4px,
    transparent 4px,
    transparent 18px
  );
  opacity: 0.5;
}

@media (max-width: 899px) {
  .hero__ornament {
    display: none;
  }
}

/* ---------- Cabeçalho de página (internas) ---------- */
.page-hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  padding-block: var(--sp-9);
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--navy-600);
  color: var(--yellow);
  margin-bottom: var(--sp-3);
}

.page-hero__icon .icon {
  width: 28px;
  height: 28px;
}

.page-hero h1 {
  margin-bottom: var(--sp-3);
}

.page-hero__tagline {
  color: var(--yellow);
  font-weight: 700;
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-2);
}

.page-hero .lead {
  color: var(--gray-100);
  margin-bottom: 0;
  max-width: 58ch;
}

@media (min-width: 900px) {
  /* Texto do cabeçalho nunca encosta nos ornamentos da direita */
  .page-hero .lead {
    max-width: min(58ch, calc(100% - 300px));
  }
}

.page-hero__ornament {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-hero__ornament .diamond {
  position: absolute;
}

.page-hero__ornament .diamond:nth-child(1) {
  width: 70px;
  height: 70px;
  border-width: 3px;
  top: var(--sp-6);
  right: 6%;
  opacity: 0.9;
}

.page-hero__ornament .diamond:nth-child(2) {
  width: 22px;
  height: 22px;
  bottom: 18%;
  right: 20%;
}

.page-hero__ornament .dots-block {
  position: absolute;
  width: 120px;
  height: 80px;
  top: var(--sp-7);
  right: 1%;
}

.page-hero__ornament .stripes-block {
  position: absolute;
  width: 90px;
  height: 140px;
  bottom: -16px;
  right: 12%;
  transform: rotate(18deg);
  background: repeating-linear-gradient(
    135deg,
    var(--yellow) 0,
    var(--yellow) 4px,
    transparent 4px,
    transparent 18px
  );
  opacity: 0.45;
}

@media (max-width: 899px) {
  .page-hero__ornament {
    display: none;
  }
}

/* ---------- "Em breve" (Clientes e Obras) ---------- */
.coming-soon-block {
  text-align: center;
  padding-block: var(--sp-9);
}

.coming-soon-block__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--navy);
  margin-inline: auto;
  margin-bottom: var(--sp-4);
}

.coming-soon-block__icon .icon {
  width: 30px;
  height: 30px;
}

.coming-soon-block__icon .diamond {
  width: 22px;
  height: 22px;
  border-width: 3px;
}

.coming-soon-block p {
  margin-inline: auto;
  margin-bottom: var(--sp-5);
}

/* ---------- Faixa amarela ---------- */
.band {
  background: var(--yellow);
  color: var(--navy);
  padding-block: var(--sp-3);
}

.band__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  text-align: center;
  font-weight: 700;
  font-size: var(--fs-base);
}

.band__inner .diamond {
  border-color: var(--navy);
}

/* ---------- Cartões de áreas ---------- */
.card-grid {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
  min-width: 0;
}

.card-grid > * {
  min-width: 0;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}

@media (min-width: 1024px) {
  .card-grid--4 .card {
    padding: var(--sp-3);
  }
}

a.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--yellow);
  transform: translateY(-2px);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--yellow);
}

.card__icon .icon {
  width: 28px;
  height: 28px;
}

.card__title {
  font-size: var(--fs-base);
  font-weight: 800;
  line-height: 1.25;
}

.card p {
  line-height: 1.5;
}

.card__link {
  margin-top: auto;
  font-weight: 700;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
}

a.card:hover .card__link {
  text-decoration: underline;
}

/* ---------- Listas de serviços (áreas) ---------- */
.service-groups {
  display: grid;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

@media (min-width: 768px) {
  .service-groups {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Grade equilibrada: 3 colunas em telas largas, com a última linha
   (4º e 5º itens) centralizada quando o total não é múltiplo de 3. */
@media (min-width: 768px) and (max-width: 1023px) {
  .service-groups--balanced .service-group:nth-child(5) {
    grid-column: 1 / -1;
    max-width: calc(50% - var(--sp-2));
    margin-inline: auto;
  }
}

@media (min-width: 1024px) {
  .service-groups--balanced {
    grid-template-columns: repeat(6, 1fr);
  }

  .service-groups--balanced .service-group {
    grid-column: span 2;
  }

  .service-groups--balanced .service-group:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .service-groups--balanced .service-group:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.service-group {
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  min-width: 0;
}

.service-group__title {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: var(--sp-2);
  padding-bottom: var(--sp-1);
  border-bottom: 3px solid var(--yellow);
  display: inline-block;
}

.check-list {
  display: grid;
  gap: var(--sp-1);
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-1);
}

.item-grid {
  display: grid;
  gap: var(--sp-2);
  grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr));
  margin-top: var(--sp-5);
}

.item-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
}

.item-card {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--white);
  border: var(--border);
  border-radius: var(--radius);
  padding: var(--sp-2) var(--sp-2) var(--sp-2) var(--sp-3);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: break-word;
  min-width: 0;
  height: 100%;
}

/* ---------- Lista com losango (Quem Somos) ---------- */
.diamond-list-intro {
  margin-bottom: var(--sp-3);
}

.diamond-list {
  display: grid;
  gap: var(--sp-2);
}

.diamond-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.diamond-list a {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid transparent;
}

.diamond-list a:hover {
  border-bottom-color: var(--yellow);
}

/* ---------- Navegação entre áreas ---------- */
.area-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
}

.area-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--navy);
}

.area-nav a:hover,
.area-nav a[aria-current="page"] {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}


/* ---------- Formulário de orçamento ---------- */
.form-layout {
  display: grid;
  gap: var(--sp-6);
  min-width: 0;
}

.form-layout > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .form-layout {
    grid-template-columns: 1.6fr 1fr;
    align-items: start;
  }
}

.field {
  min-width: 0;
  margin-bottom: var(--sp-3);
}

.field label {
  font-weight: 700;
  margin-bottom: var(--sp-1);
}

.field__hint {
  font-size: var(--fs-sm);
  opacity: 0.75;
  margin-top: 0.25rem;
}

.field__error {
  display: none;
  align-items: center;
  gap: 0.4rem;
  color: #8a1f12;
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-top: 0.4rem;
}

.field.has-error .field__error {
  display: flex;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #8a1f12;
}

.input,
.select,
.textarea {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.9rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  border-color: var(--navy);
}

.char-count {
  font-size: var(--fs-sm);
  opacity: 0.75;
  text-align: right;
}

.error-summary {
  display: none;
  background: #fdecea;
  border: 2px solid #8a1f12;
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.error-summary.is-visible {
  display: block;
}

.error-summary h2 {
  font-size: var(--fs-base);
  color: #8a1f12;
  margin-bottom: var(--sp-1);
}

.error-summary ul {
  display: grid;
  gap: 0.3rem;
}

.error-summary a {
  color: #8a1f12;
  font-weight: 700;
  text-decoration: underline;
}

.confirmation {
  display: none;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  margin-bottom: var(--sp-4);
}

.confirmation.is-visible {
  display: block;
}

.confirmation h2 {
  color: var(--white);
  margin-bottom: var(--sp-1);
}

.confirmation a {
  color: var(--yellow);
  font-weight: 700;
}

.privacy-note {
  font-size: var(--fs-sm);
  opacity: 0.8;
  margin-top: var(--sp-2);
}

.contact-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
}

.contact-card h2 {
  color: var(--white);
  margin-bottom: var(--sp-3);
}

.contact-list {
  display: grid;
  gap: var(--sp-2);
  min-width: 0;
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: var(--fs-sm);
  white-space: nowrap;
  min-height: 44px;
  min-width: 0;
}

.contact-list .icon {
  width: 20px;
  height: 20px;
  color: var(--yellow);
  flex-shrink: 0;
}

@media (max-width: 374px) {
  .contact-card {
    padding: var(--sp-3);
  }

  .contact-list a {
    font-size: 0.75rem;
  }
}

.contact-list a:hover {
  text-decoration: underline;
}

.noscript-banner {
  background: var(--gray-100);
  border: 1px dashed var(--navy);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  margin-bottom: var(--sp-4);
}

/* ---------- 404 ---------- */
.not-found {
  text-align: center;
  padding-block: var(--sp-9);
}

.not-found__code {
  font-size: clamp(3.5rem, 3rem + 4vw, 6rem);
  font-weight: 800;
  color: var(--yellow);
  text-shadow: 3px 3px 0 var(--navy);
  line-height: 1.1;
  margin-bottom: var(--sp-2);
}

.not-found h1 {
  margin-bottom: var(--sp-3);
}

.not-found .lead {
  max-width: 56ch;
  margin-inline: auto;
}

.not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-5);
}

@media (min-width: 1280px) {
  /* espaço para o botão flutuante não cobrir a última linha do rodapé */
  .site-footer {
    padding-bottom: calc(56px + var(--sp-3) + var(--sp-4));
  }
}

.site-footer a {
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
  margin-bottom: var(--sp-6);
  min-width: 0;
}

.footer-grid > * {
  min-width: 0;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid > :nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.1fr 1fr 1.3fr;
  }

  .footer-grid > :nth-child(3) {
    grid-column: auto;
  }
}

.footer-brand img {
  height: 38px;
  margin-bottom: var(--sp-2);
}

.footer-brand p {
  color: var(--gray-100);
  max-width: 34ch;
}

.footer-heading {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--yellow);
  margin-bottom: var(--sp-2);
}

.footer-nav {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
}

.footer-nav a {
  text-decoration: none;
  font-weight: 600;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-contact {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
}

.footer-contact a,
.footer-contact span {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--fs-sm);
  min-width: 0;
}

.footer-contact a {
  white-space: nowrap;
}

.footer-contact .icon {
  width: 20px;
  height: 20px;
  color: var(--yellow);
  flex-shrink: 0;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(253, 253, 253, 0.16);
  padding-top: var(--sp-4);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--gray-100);
}

@media (min-width: 768px) {
  .footer-bottom {
    text-align: left;
  }
}

/* ---------- WhatsApp no cabeçalho (telas < 1280px) ----------
   Abaixo de 1280px não há margem lateral livre para um botão flutuante
   sem cobrir conteúdo; o atalho fica fixo no cabeçalho. */
.brand { order: 1; margin-right: auto; }
.primary-nav { order: 2; }
.header-wa { order: 3; }
.nav-toggle { order: 4; }

.header-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  border: 2px solid var(--yellow);
  text-decoration: none;
}

.header-wa:hover {
  background: var(--navy-600);
}

.header-wa .icon {
  width: 24px;
  height: 24px;
}

@media (min-width: 1280px) {
  .header-wa {
    display: none;
  }
}

/* ---------- Botão flutuante WhatsApp ---------- */

.whatsapp-float {
  position: fixed;
  right: var(--sp-3);
  bottom: var(--sp-3);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 90;
  text-decoration: none;
  border: 2px solid var(--yellow);
}

.whatsapp-float:hover {
  background: var(--navy-600);
}

.whatsapp-float .icon {
  width: 28px;
  height: 28px;
}

/* Abaixo de 1280px o atalho do WhatsApp fica no cabeçalho */
@media (max-width: 1279px) {
  .whatsapp-float {
    display: none;
  }
}

/* Telas muito estreitas (até 374px): cabeçalho mais compacto */
@media (max-width: 374px) {
  .site-header__bar {
    gap: var(--sp-1);
  }

  .brand img {
    height: 32px;
  }

  .header-wa,
  .nav-toggle {
    width: 44px;
    height: 44px;
  }
}

/* ---------- Ajuste 4 (revisão do Diretor Geral) ---------- */

/* 1. Cartões das áreas: título com altura de 2 linhas para os textos
   começarem na mesma linha */
@media (min-width: 640px) {
  .card-grid--4 .card__title {
    min-height: calc(2 * 1.25em);
  }
}

/* 3. Hero: elemento gráfico grande à direita (sem logo no hero) */
.hero__art {
  display: none;
}

@media (min-width: 1024px) {
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
    align-items: center;
    column-gap: var(--sp-6);
  }

  .hero__content {
    max-width: none;
  }

  .hero__art {
    display: block;
    justify-self: center;
    width: 100%;
    max-width: 420px;
    height: auto;
    aspect-ratio: 1;
  }

  .hero__ornament {
    display: none;
  }
}

/* 4. Outras áreas: as 3 outras, centralizadas, sem item órfão */
.text-center .area-nav {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 420px;
  margin-inline: auto;
  margin-top: var(--sp-2);
}

.text-center .area-nav a {
  justify-content: center;
}

@media (min-width: 768px) {
  .text-center .area-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 840px;
  }
}

/* 5. Botão flutuante menor entre 1280 e 1439px: não encosta no conteúdo */
@media (min-width: 1280px) and (max-width: 1439px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    right: var(--sp-2);
    bottom: var(--sp-2);
  }

  .whatsapp-float .icon {
    width: 24px;
    height: 24px;
  }
}

/* 6. Select com o texto alinhado aos demais campos */
.select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23112531' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 20px 20px;
}

/* 7. Hero no celular: botões em largura total */
@media (max-width: 639px) {
  .hero .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .hero__actions .btn {
    width: 100%;
    min-width: 0;
  }
}
