/* ==========================================================================
   LB Engenharia Estrutural — folha de estilos principal
   Índice:
   1. Tokens (cores, fontes, espaçamentos)
   2. Reset e base
   3. Utilitários e layout
   4. Botões
   5. Topbar e cabeçalho
   6. Hero e cabeçalho de página
   7. Seções da home
   8. Serviços
   9. Galeria e lightbox
   10. Depoimentos e FAQ
   11. Contato e formulário
   12. Rodapé e WhatsApp flutuante
   13. Responsivo
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --navy-900: #071d34;
  --navy-800: #0b2a4a;
  --navy-700: #123a63;
  --blue-600: #1565c0;
  --blue-100: #e3edf8;
  --orange-500: #f28c28;
  --orange-600: #d97614;

  --ink: #0f1f30;
  --ink-soft: #4a5a6b;
  --line: #d8e1eb;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --white: #ffffff;

  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
  --radius: 6px;
  --shadow: 0 10px 30px rgba(11, 42, 74, 0.08);
  --header-h: 76px;
  --transition: 200ms ease;
}

/* 2. Reset e base ------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy-800);
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4vw, 2.875rem); }
h3 { font-size: 1.5rem; }

p {
  margin: 0 0 1em;
}

a {
  color: var(--blue-600);
}

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

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 3px;
}

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

/* 3. Utilitários e layout ---------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section--alt {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--navy-800);
  color: #c7d4e2;
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.section--dark .section-head p {
  color: #a9bbcf;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 3px;
  background: var(--orange-500);
}

.section--dark .eyebrow,
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--orange-500);
}

.blueprint {
  background-color: var(--navy-800);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
}

.grid {
  display: grid;
  gap: 28px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.media-frame {
  position: relative;
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.media-frame::after {
  content: '';
  position: absolute;
  inset: 20px -20px -20px 20px;
  z-index: -1;
  border: 3px solid var(--orange-500);
  border-radius: var(--radius);
}

.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2a4a' stroke-width='4'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--orange-500);
  color: var(--navy-900);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

.icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  fill: currentColor;
}

/* 4. Botões ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--orange-500);
  color: var(--navy-900);
}

.btn--primary:hover {
  background: var(--orange-600);
}

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

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

.btn--dark {
  background: var(--navy-800);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--navy-700);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow::after {
  content: '→';
  transition: transform var(--transition);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* 5. Topbar e cabeçalho ------------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: #a9bbcf;
  font-size: 0.9rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 42px;
}

.topbar__info,
.topbar__social {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.topbar a:hover {
  color: var(--white);
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}

.header.is-scrolled {
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy-800);
}

.logo__img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 6px;
}

@media (max-width: 900px) {
  .logo__img {
    width: 58px;
    height: 58px;
  }
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--navy-800);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  border-bottom: 4px solid var(--orange-500);
}

.logo__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  line-height: 1.05;
}

.logo__text strong {
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.logo__text span {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: block;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--navy-800);
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.nav__link:hover,
.nav__link[aria-current='page'] {
  border-bottom-color: var(--orange-500);
}

.nav__cta {
  margin-left: 12px;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy-800);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px auto;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 6. Hero e cabeçalho de página ---------------------------------------- */
.hero {
  position: relative;
  color: #c7d4e2;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  padding-block: clamp(72px, 10vw, 128px);
}

.hero h1 {
  color: var(--white);
}

.hero h1 em {
  font-style: normal;
  color: var(--orange-500);
}

.hero__lead {
  max-width: 560px;
  margin-bottom: 32px;
  font-size: 1.2rem;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 6px solid rgba(255, 255, 255, 0.08);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--white);
}

.hero__badge span {
  font-size: 0.95rem;
}

.page-hero {
  color: #c7d4e2;
  padding-block: clamp(56px, 8vw, 96px);
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 620px;
  font-size: 1.15rem;
  margin: 0;
}

.breadcrumb ol {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0 0 18px;
  list-style: none;
  font-size: 0.95rem;
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 8px;
  opacity: 0.5;
}

.breadcrumb a {
  color: inherit;
}

/* 7. Seções da home ---------------------------------------------------- */
.features {
  margin-top: -1px;
  background: var(--orange-500);
  color: var(--navy-900);
}

.features .grid {
  gap: 0;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 24px;
}

.feature + .feature {
  border-left: 1px solid rgba(7, 29, 52, 0.15);
}

.feature__num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.45;
}

.feature h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
  color: var(--navy-900);
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 3.75rem);
  line-height: 1;
  color: var(--white);
}

.stat strong span {
  color: var(--orange-500);
}

.stat p {
  margin: 8px 0 0;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue-600);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--orange-500);
}

.step p {
  margin: 0;
  color: var(--ink-soft);
}

.cta-band {
  color: #c7d4e2;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 64px;
}

.cta-band h2 {
  margin-bottom: 8px;
  color: var(--white);
}

.cta-band p {
  margin: 0;
  font-size: 1.1rem;
}

/* 8. Serviços ---------------------------------------------------------- */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.service-card__body p {
  flex: 1;
  color: var(--ink-soft);
}

.service-index {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-index a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-800);
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

.service-index a:hover {
  background: var(--navy-800);
  color: var(--white);
}

.service-detail {
  padding-block: 64px;
  border-bottom: 1px solid var(--line);
}

.service-detail:last-child {
  border-bottom: 0;
}

.service-detail:nth-child(even) .split > :first-child {
  order: 2;
}

.service-detail h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
}

.service-detail .check-list {
  margin-bottom: 28px;
}

/* 9. Galeria e lightbox ------------------------------------------------ */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  min-height: 44px;
  padding: 8px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-800);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.filter-btn:hover,
.filter-btn[aria-pressed='true'] {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--white);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery__item[hidden] {
  display: none;
}

.gallery__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: none;
  font: inherit;
  cursor: zoom-in;
}

.gallery__btn img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 400ms ease;
}

.gallery__btn:hover img {
  transform: scale(1.05);
}

.gallery__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 36px 18px 14px;
  background: linear-gradient(transparent, rgba(7, 29, 52, 0.8) 40%, rgba(7, 29, 52, 0.95));
  color: var(--white);
  text-align: left;
  font-weight: 600;
}

.gallery__caption small {
  display: block;
  font-weight: 400;
  color: var(--orange-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
}

.lightbox {
  width: min(1100px, 100% - 32px);
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--white);
}

.lightbox::backdrop {
  background: rgba(7, 29, 52, 0.92);
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox figcaption {
  margin-top: 12px;
  text-align: center;
}

.lightbox__controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.lightbox__btn {
  min-width: 48px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 1.1rem;
  cursor: pointer;
}

.lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* 10. Depoimentos e FAQ ------------------------------------------------ */
.testimonial {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.testimonial__stars {
  margin-bottom: 14px;
  color: var(--orange-500);
  letter-spacing: 3px;
}

.testimonial blockquote {
  flex: 1;
  margin: 0 0 24px;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial__avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--navy-800);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial figcaption strong {
  display: block;
  color: var(--navy-800);
}

.testimonial figcaption span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.faq {
  max-width: 820px;
  margin-inline: auto;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy-800);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.75rem;
  color: var(--orange-500);
  transition: transform var(--transition);
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  padding-bottom: 20px;
  margin: 0;
  color: var(--ink-soft);
}

/* 11. Contato e formulário -------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.form {
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--navy-800);
}

.field .req {
  color: #c0392b;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #b9c7d6;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.2);
}

.field [aria-invalid='true'] {
  border-color: #c0392b;
}

.field__error {
  margin: 6px 0 0;
  color: #c0392b;
  font-size: 0.9rem;
}

.form__note {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.info-card {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.info-card:first-child {
  padding-top: 0;
}

.info-card__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--navy-800);
  color: var(--orange-500);
}

.info-card h3 {
  margin-bottom: 2px;
  font-size: 1.2rem;
}

.info-card p,
.info-card a {
  margin: 0;
  color: var(--ink-soft);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.info-card a:hover {
  color: var(--blue-600);
}

.map-placeholder {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 24px;
  text-align: center;
  color: #a9bbcf;
}

.map-embed {
  background: var(--bg-alt);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 45vw, 440px);
  border: 0;
}

/* 12. Rodapé e WhatsApp flutuante -------------------------------------- */
.footer {
  background: var(--navy-900);
  color: #a9bbcf;
  font-size: 0.97rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-block: 72px 48px;
}

.footer .logo {
  color: var(--white);
  margin-bottom: 18px;
}

.footer .logo__text span {
  color: #a9bbcf;
}

.footer h2 {
  margin-bottom: 18px;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer li {
  margin-bottom: 10px;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.footer a:hover {
  color: var(--orange-500);
}

.footer__contact li {
  display: flex;
  gap: 10px;
}

.footer__contact .icon {
  margin-top: 0.3em;
  color: var(--orange-500);
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.social a:hover {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: var(--navy-900);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 22px;
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

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

[data-hide-if-empty][hidden] {
  display: none !important;
}

/* 13. Responsivo ------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid--4,
  .stats { grid-template-columns: repeat(2, 1fr); }
  .features .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-left: 0; }
  .feature:nth-child(n + 3) { border-top: 1px solid rgba(7, 29, 52, 0.15); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .topbar__info a:not(:first-child) { display: none; }

  .nav-toggle { display: block; }

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

  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    padding: 16px 4px;
    font-size: 1.4rem;
    border-bottom: 1px solid var(--line);
  }

  .nav__link[aria-current='page'] {
    color: var(--blue-600);
    border-bottom-color: var(--line);
  }

  .nav__cta {
    margin: 24px 0 0;
  }

  .nav__cta .btn { width: 100%; }

  .hero .container,
  .split,
  .contact-layout { grid-template-columns: 1fr; }


  .service-detail:nth-child(even) .split > :first-child { order: 0; }

  .grid--3 { grid-template-columns: repeat(2, 1fr); }

  .cta-band .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .media-frame::after { inset: 12px -12px -12px 12px; }
}

@media (max-width: 600px) {
  .topbar__social { display: none; }

  .grid--2,
  .grid--3,
  .grid--4,
  .features .grid--4,
  .gallery,
  .form__row,
  .footer__grid { grid-template-columns: 1fr; }

  .feature + .feature {
    border-left: 0;
    border-top: 1px solid rgba(7, 29, 52, 0.15);
  }

  .stats { gap: 36px 16px; }

  .logo__text span { display: none; }

  .btn-row .btn { flex: 1 1 100%; }

  .media-frame::after { display: none; }
}

/* Ícones de traço (usados junto com .icon) */
.icon--stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section--compact {
  padding-block: 40px;
}

.section-footer {
  margin: 40px 0 0;
  text-align: center;
}

.steps {
  padding: 0;
  margin: 0;
  list-style: none;
}

.form__intro {
  margin: 0 0 24px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.page-hero--center {
  padding-block: 120px;
  text-align: center;
}

.page-hero--center p {
  margin: 0 auto 32px;
}


/* 14. Ajustes: logo, treliça, efeitos e novas seções ------------------- */
.topbar__text { display: inline-flex; align-items: center; gap: 8px; }

.logo__img { width: 100%; height: 100%; }
.header .logo {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  width: 104px;
  height: 104px;
  margin-bottom: -28px;
  box-shadow: 0 4px 14px rgba(7, 29, 52, 0.35);
  transition: width 200ms ease, height 200ms ease, margin 200ms ease;
}
.header.is-scrolled .logo { width: 68px; height: 68px; margin-top: 4px; margin-bottom: 0; }
.logo--footer { display: block; width: 120px; height: 120px; margin-bottom: 16px; }

.truss {
  display: block;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 56px;
  fill: none;
  stroke: var(--orange-500);
  stroke-width: 2.5;
}
.truss--draw path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: truss-draw 1.6s ease-out 200ms forwards;
}
.truss--draw path:nth-child(3) { animation-duration: 2.2s; }
@keyframes truss-draw { to { stroke-dashoffset: 0; } }

.hero { background: var(--navy-800); }
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 29, 52, 0.94) 0%, rgba(7, 29, 52, 0.82) 45%, rgba(7, 29, 52, 0.25) 100%);
}
.hero .container {
  position: relative;
  z-index: 2;
  display: block;
  padding-block: clamp(96px, 11vw, 140px) clamp(48px, 6vw, 72px);
}
.hero .container > div { max-width: 640px; }

.service-card { overflow: hidden; transition: transform 200ms ease, box-shadow 200ms ease; }
.service-card img { transition: transform 400ms ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(7, 29, 52, 0.14); }
.service-card:hover img { transform: scale(1.05); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.specialist { padding-block: clamp(40px, 6vw, 64px); color: var(--white); }
.specialist .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.specialist h2 { max-width: 22ch; margin: 0; color: var(--white); }

.works {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.works figure { grid-column: span 4; margin: 0; overflow: hidden; }
.works .works__wide { grid-column: span 8; }
.works__tall { grid-row: span 2; }
.works img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius); transition: transform 400ms ease; }
.works__tall img { height: calc(560px + 20px + 2 * 2em); }
.works figure:hover img { transform: scale(1.03); }
.works figcaption { height: 2em; padding-top: 6px; font-size: 0.95rem; color: var(--ink-soft); }

.location { display: grid; grid-template-columns: 1fr 1fr; }
.location__info { display: flex; align-items: center; padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 80px); color: #c7d4e2; }
.location__info h2 { color: var(--white); }
.location__map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }

.gallery { grid-auto-flow: dense; gap: 24px 20px; }
.gallery__item:nth-child(1), .gallery__item:nth-child(7), .gallery__item:nth-child(12) { grid-column: span 2; }
.gallery.is-filtered .gallery__item { grid-column: auto; }
.gallery__btn img { aspect-ratio: auto; height: clamp(220px, 25vw, 320px); }
.gallery__item:nth-child(12) img { object-position: 50% 18%; }
.gallery__item:nth-child(7) img { object-position: 50% 72%; }
.gallery__caption { position: static; padding: 10px 2px 0; background: none; color: var(--ink); }
.gallery__caption small { color: var(--ink-soft); text-transform: none; letter-spacing: 0; font-size: 0.875rem; }

@media (max-width: 900px) {
  .header .logo { width: 84px; height: 84px; margin-bottom: -22px; }
  .header.is-scrolled .logo { width: 60px; height: 60px; margin-top: 4px; margin-bottom: 0; }
  .topbar__extra { display: none !important; }
  .hero::before { background: linear-gradient(0deg, rgba(7, 29, 52, 0.95) 30%, rgba(7, 29, 52, 0.6) 100%); }
  .location { grid-template-columns: minmax(0, 1fr); }
  .works { grid-template-columns: 1fr 1fr; gap: 16px; }
  .works figure, .works .works__wide { grid-column: span 1; }
  .works .works__tall, .works .works__wide { grid-column: span 2; grid-row: auto; }
  .works img, .works__tall img { height: auto; aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery__item:nth-child(n) { grid-column: auto; }
  .gallery__btn img { height: auto; aspect-ratio: 4 / 3; }
  .works { grid-template-columns: minmax(0, 1fr); }
  .works figure, .works .works__tall, .works .works__wide { grid-column: auto; }
  .works figcaption { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .truss--draw path { animation: none; stroke-dashoffset: 0; }
  .service-card, .service-card img, .works img, .header .logo { transition: none; }
}

.page-hero { padding-bottom: 0; }
.page-hero .truss { margin-top: 40px; }
.gallery__btn img { display: block; }
.gallery__caption { display: block; text-align: left; }
.gallery__title { display: block; }
