/* ==========================================================================
   Levve Arquitetura — sistema visual
   Cores e fontes vêm de contexto/identidade-visual/. Não improvisar aqui.
   ========================================================================== */

@font-face {
  font-family: 'Bizantheum';
  src: url('../assets/fonts/Bizantheum.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Century Gothic';
  src: url('../assets/fonts/century-gothic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* paleta oficial */
  --cream: #EDE9E0;
  --taupe: #CBBCB1;
  --terracotta: #9F6B56;
  --sage: #661414;
  --dark: #7B6C69;

  --ink: #33302e;       /* texto principal — não é preto puro, combina com a paleta quente */
  --white: #FFFFFF;

  --font-display: 'Bizantheum', Georgia, serif;
  --font-body: 'Century Gothic', 'Futura', 'Trebuchet MS', sans-serif;

  --max-width: 1240px;
  --gap: clamp(1rem, 2vw, 1.75rem);
  --section-pad: clamp(3.5rem, 8vw, 6.5rem);
}

@view-transition {
  navigation: auto;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "dlig" 0, "clig" 0;
}

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

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

/* ---------- tipografia ---------- */

h1, h2, h3 { margin: 0; font-weight: normal; }

.section-label {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--dark);
}

.section-title {
  font-family: var(--font-body);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  letter-spacing: 0.01em;
  margin-top: 0.5rem;
  color: var(--ink);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--taupe);
  padding-bottom: 1.25rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading .kicker {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--dark);
}

.section-heading .intro {
  text-align: right;
  color: var(--dark);
  font-size: 0.98rem;
}

@media (min-width: 901px) {
  .section-heading .intro { white-space: nowrap; }
}

/* ---------- header / menu fixo ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border-bottom-color: rgba(203, 188, 177, 0.5);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.header-spacer { display: none; }

.site-header .logo img {
  height: 160px;
  width: auto;
  transition: height 0.3s ease;
}

.site-header.is-scrolled .logo img,
.site-header:not(.is-home) .logo img { height: 58px; }

/* home: logo desce pra área escura da foto e troca de cor conforme o scroll */
.site-header.is-home .logo {
  position: absolute;
  top: clamp(16px, 3vh, 44px);
  left: clamp(1.25rem, 4vw, 3rem);
}

.site-header.is-home.is-scrolled .logo {
  position: static;
  top: auto;
  left: auto;
}

.site-header.is-home .header-actions { margin-left: auto; }

.site-header.is-home .logo-dark { display: none; }
.site-header.is-home.is-scrolled .logo-light { display: none; }
.site-header.is-home.is-scrolled .logo-dark { display: block; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

/* o menu de seções abre como uma gaveta parcial, deixando o resto do site visível atrás */
.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  width: min(340px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 1.5rem;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 90;
  overflow-y: auto;
  box-shadow: -12px 0 30px rgba(30,27,25,0.12);
}

.site-nav.is-open { transform: translateX(0); }

.nav-close {
  position: absolute;
  top: 1.5rem;
  right: clamp(1.25rem, 4vw, 3rem);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  padding: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-close:hover { color: var(--terracotta); transform: rotate(90deg); }

.site-nav a {
  font-size: 1.15rem;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--terracotta);
  transition: width 0.25s ease;
}

.site-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.3s ease;
  box-shadow: 0 0 6px rgba(0,0,0,0.35);
}

.site-header.is-scrolled .nav-toggle span,
.nav-toggle.is-open span {
  background: var(--ink);
  box-shadow: none;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.88rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  align-self: flex-start;
}

.btn-primary {
  background: var(--sage);
  color: var(--white);
}

.btn-primary:hover { background: #4a0f0f; transform: translateY(-1px); }

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

.btn-outline:hover { border-color: var(--terracotta); color: var(--terracotta); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: 72svh;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
}

.hero-track {
  display: flex;
  height: 100%;
  width: max-content;
  animation: hero-marquee 230s linear infinite;
}

.hero-track img {
  flex: 0 0 auto;
  width: 33.333vw;
  height: 100%;
  margin-right: 4px;
  object-fit: cover;
}

@keyframes hero-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-track { animation: none; }
}

@media (max-width: 700px) {
  .hero-track img { width: 72vw; }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(51,48,46,0.62) 0%, rgba(51,48,46,0.4) 22%, rgba(51,48,46,0.2) 45%, rgba(51,48,46,0.25) 60%, rgba(51,48,46,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.hero-content h1 {
  font-family: var(--font-body);
  font-weight: normal;
  letter-spacing: 0.01em;
  font-size: clamp(0.9rem, 1.9vw, 1.5rem);
  line-height: 1.3;
  max-width: 42ch;
  color: var(--cream);
  text-shadow: 0 2px 6px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.6);
}

.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,0.6);
}

.hero-scroll::after {
  content: '';
  position: absolute;
  left: -3px;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  animation: hero-scroll-dot 2s ease-in-out infinite;
}

@keyframes hero-scroll-dot {
  0% { bottom: 100%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { bottom: -1px; opacity: 0; }
}

/* ---------- seções / grade de cards ---------- */

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

.block-alt { background: var(--cream); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  align-items: stretch;
}

.card-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  border: 1px solid var(--taupe);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--white);
}

.card-image { position: relative; overflow: hidden; height: 260px; }

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

a.card:hover .card-image img { transform: scale(1.06); }

.card-body {
  padding: 1.35rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-eyebrow {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--dark);
}

.card-title {
  font-family: var(--font-body);
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: 0.4rem;
  color: var(--ink);
}

.card-line {
  font-size: 0.92rem;
  line-height: 1.4;
  margin-top: 0.4rem;
  color: var(--dark);
  max-width: 32ch;
}

.card-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(30,27,25,0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

a.card:hover .card-arrow {
  background: var(--terracotta);
  border-color: var(--terracotta);
  transform: rotate(45deg);
}

.card-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.75);
  background: rgba(30,27,25,0.4);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  padding: 0;
  transition: background 0.2s ease;
}

.card-nav:hover { background: var(--terracotta); border-color: var(--terracotta); }
.card-nav.prev { left: 0.6rem; }
.card-nav.next { right: 0.6rem; }

.card-image .dots {
  position: absolute;
  bottom: 0.7rem;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.card-image .dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
}

.card-image .dots span.is-active { background: var(--white); }

/* navegação rápida entre outros itens (serviços/projetos) */
.switch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

/* ---------- faixas horizontais com setas (Projetos, Avaliações) ---------- */

.scroll-row-wrap { position: relative; }

.scroll-row {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
}

.scroll-row::-webkit-scrollbar { display: none; }

.scroll-row > * {
  flex: 0 0 calc(25% - var(--gap) * 3 / 4);
  scroll-snap-align: start;
  min-width: 260px;
}

.scroll-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--taupe);
  background: var(--white);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.scroll-nav:hover { background: var(--terracotta); color: var(--white); border-color: var(--terracotta); }
.scroll-nav.is-disabled { opacity: 0.3; pointer-events: none; }
.scroll-nav.prev { left: -22px; }
.scroll-nav.next { right: -22px; }

@media (max-width: 900px) {
  .scroll-row > * { flex-basis: calc(50% - var(--gap) / 2); }
  .scroll-nav.prev { left: -14px; }
  .scroll-nav.next { right: -14px; }
}

@media (max-width: 560px) {
  .scroll-row > * { flex-basis: 82%; }
}

/* faixa de Projetos na Home — 3 por vez, fotos maiores, sem caixa branca */
.scroll-row.cols-3 > * {
  flex: 0 0 calc(33.333% - var(--gap) * 2 / 3);
  min-width: 260px;
}

@media (max-width: 900px) {
  .scroll-row.cols-3 > * { flex-basis: calc(50% - var(--gap) / 2); }
}

@media (max-width: 560px) {
  .scroll-row.cols-3 > * { flex-basis: 86%; }
}

.project-tile {
  display: flex;
  flex-direction: column;
}

.project-tile .card-image { height: 360px; border-radius: 4px; }

.project-tile-info { padding: 0.75rem 0.1rem 0; }

.project-tile-info .card-eyebrow {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--dark);
}

.project-tile-title {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0.25rem 0 0;
  color: var(--ink);
}

.project-tile-line {
  font-size: 0.88rem;
  line-height: 1.2;
  margin: 0.2rem 0 0;
  color: var(--dark);
}

@media (max-width: 560px) {
  .project-tile .card-image { height: 300px; }
}

/* ---------- FAQ ---------- */

.faq-item {
  border-top: 1px solid var(--taupe);
  padding: 1.5rem 0;
}

.faq-item:last-child { border-bottom: 1px solid var(--taupe); }

.faq-item summary {
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--ink);
  list-style: none;
}

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

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary .faq-icon {
  flex: none;
  color: var(--terracotta);
  font-family: var(--font-body);
  font-size: 1.3rem;
}

.faq-item[open] summary .faq-icon { transform: rotate(45deg); }

.faq-item p { margin: 1rem 0 0; color: var(--dark); max-width: 62ch; }

/* cards de avaliação — sem foto, sem clique */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--taupe);
  color: var(--ink);
  padding: 1.75rem 1.6rem;
  min-height: 260px;
  align-self: stretch;
}

.testimonial-card .stars {
  color: var(--terracotta);
  letter-spacing: 0.15em;
  font-size: 0.95rem;
}

.testimonial-card blockquote {
  margin: 0.9rem 0 0;
  font-size: 0.98rem;
  font-style: normal;
  color: var(--ink);
}

.testimonial-card cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--dark);
}

/* ---------- bloco final: sobre + orçamento ---------- */

.closing {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.closing-about {
  position: relative;
  background: var(--dark);
  min-height: 460px;
  overflow: hidden;
}

.closing-about-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.closing-about-text {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  max-width: 23rem;
  margin: 1.25rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(3px);
  border-radius: 4px;
  color: var(--ink);
  font-size: 0.88rem;
}

.closing-about-text p { color: var(--ink); }

.closing-about .link-more {
  margin-top: 1rem;
  display: inline-block;
  border-bottom: 1px solid var(--dark);
  padding-bottom: 2px;
  font-size: 0.92rem;
  color: var(--ink);
}

.closing-form {
  background: var(--cream);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.closing-form h2 {
  font-family: var(--font-body);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: 0.01em;
}

.closing-form .sub {
  color: var(--dark);
  margin: 0.6rem 0 1.75rem;
  max-width: 46ch;
}

.contact-lead {
  margin: 2rem 0 0.6rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--taupe);
  font-size: 0.85rem;
  color: var(--dark);
}

.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  font-size: 0.9rem;
}

.contact-list a:hover { color: var(--terracotta); }

/* ---------- formulário de orçamento (próprio do site) ---------- */

.orcamento-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.orcamento-form label {
  display: block;
  font-size: 0.82rem;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.orcamento-form input,
.orcamento-form select,
.orcamento-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--taupe);
  border-radius: 4px;
  padding: 0.65rem 0.8rem;
  resize: vertical;
}

.orcamento-form input:focus,
.orcamento-form select:focus,
.orcamento-form textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}

.orcamento-form .btn { margin-top: 0.25rem; }

.form-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--dark);
}

/* ---------- páginas internas (sobre, serviço, projeto, método) ---------- */

.page-hero {
  position: relative;
  height: 46vh;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,27,25,0.35) 0%, rgba(30,27,25,0.15) 30%, rgba(30,27,25,0.78) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(2rem, 5vw, 3rem);
}

.page-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  opacity: 0.85;
}

.page-hero h1 {
  font-family: var(--font-body);
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-top: 0.5rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55), 0 1px 1px rgba(0,0,0,0.6);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--dark);
  padding: 1.5rem 0 0;
}

.back-link:hover { color: var(--terracotta); }

.content-block {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.prose {
  max-width: 62ch;
}

.prose p { margin: 0 0 1.2rem; color: var(--ink); }
.prose p:last-child { margin-bottom: 0; }

.prose h2 {
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  color: var(--sage);
  margin: 0 0 0.75rem;
}

.prose .lead-note { color: var(--dark); font-style: italic; }

.prose.obra-divider {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--taupe);
}

.prose ul {
  margin: 0 0 1.2rem;
  padding: 0;
  list-style: none;
}

.prose ul li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--taupe);
  color: var(--ink);
}

.prose ul li:last-child { border-bottom: 1px solid var(--taupe); }

.closing-note {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--taupe);
  max-width: 62ch;
  color: var(--dark);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.two-col img {
  border-radius: 4px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 1.5rem 0 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--taupe);
  font-size: 0.9rem;
  color: var(--dark);
}

.gallery {
  column-count: 3;
  column-gap: var(--gap);
  margin-top: 2.5rem;
}

.gallery img {
  display: block;
  border-radius: 4px;
  width: 100%;
  height: auto;
  margin: 0 0 var(--gap);
  break-inside: avoid;
}

/* ---------- faixa de troca rápida (topo das páginas de serviço/projeto) ---------- */

.detail-switch {
  display: flex;
  gap: var(--gap);
  padding: 1.75rem 0 0.5rem;
}

.switch-item {
  position: relative;
  flex: 1;
  height: 130px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--taupe);
}

.switch-item.is-current {
  flex: 1.7;
  height: 210px;
  border: 2px solid var(--terracotta);
}

.switch-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

a.switch-item:hover img { transform: scale(1.06); }

.switch-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,27,25,0) 45%, rgba(30,27,25,0.8) 100%);
}

.switch-item span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.6rem 0.75rem;
  color: var(--white);
  font-size: 0.82rem;
  line-height: 1.25;
}

.switch-item.is-current span { font-size: 1.05rem; padding: 0.85rem 1rem; }

.page-title-block { padding: 1.75rem 0 0.5rem; }

.page-title-block .eyebrow-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--dark);
}

.page-title-block h1 {
  font-family: var(--font-body);
  font-weight: normal;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  margin: 0.5rem 0 0;
  color: var(--ink);
}

.cta-band {
  background: var(--cream);
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-body);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 1.25rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--taupe);
}

.timeline-step:last-child { border-bottom: 1px solid var(--taupe); }

.timeline-step:nth-child(even) .timeline-media { order: 2; }

.timeline-media {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.timeline-media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.timeline-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1.2rem;
}

.timeline-step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  font-weight: normal;
  color: var(--ink);
}

.timeline-step p { color: var(--dark); margin: 0; max-width: 48ch; }

.substep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  margin-top: 1.5rem;
}

.substep {
  background: var(--white);
  border: 1px solid var(--taupe);
  padding: 1.5rem;
  border-radius: 4px;
}

.substep h4 {
  font-weight: normal;
  font-size: 1.05rem;
  margin: 0 0 0.6rem;
  color: var(--terracotta);
}

.substep p { margin: 0; font-size: 0.95rem; color: var(--ink); }

/* ---------- footer ---------- */

footer.site-footer {
  background: var(--cream);
  color: var(--ink);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--taupe);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-inner img { height: 92px; width: auto; }

.footer-menu {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--ink);
}

.footer-menu a:hover { color: var(--terracotta); }

/* ---------- botões flutuantes de contato ---------- */

.floating-contacts {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 95;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.floating-contacts a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(30,27,25,0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-contacts a:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(30,27,25,0.32); }
.floating-contacts a svg { width: 24px; height: 24px; }
.floating-contacts .fc-whatsapp { background: var(--sage); }
.floating-contacts .fc-instagram { background: #4a0f0f; }

@media (max-width: 560px) {
  .floating-contacts { right: 0.85rem; bottom: 0.85rem; gap: 0.6rem; }
  .floating-contacts a { width: 46px; height: 46px; }
  .floating-contacts a svg { width: 21px; height: 21px; }
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  font-size: 0.88rem;
  flex-wrap: wrap;
  color: var(--ink);
}

.footer-links a:hover { color: var(--terracotta); }

/* ---------- responsivo ---------- */

@media (max-width: 900px) {
  .header-actions { gap: 0.75rem; }
  .header-actions .btn-primary { font-size: 0.78rem; padding: 0.6rem 1rem; }

  .card-grid,
  .card-grid.cols-5 { grid-template-columns: 1fr 1fr; }

  .closing { grid-template-columns: 1fr; }
  .closing-about { order: 1; }
  .closing-form { order: 2; }

  .section-heading { flex-direction: column; align-items: flex-start; }
  .section-heading .intro { text-align: left; }
}

@media (max-width: 560px) {
  .card-grid,
  .card-grid.cols-5 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  /* nessa largura o cabeçalho vira simples: logo à esquerda, ações à direita —
     sem isso, o conteúdo da direita empurra o grid e a logo sai do centro */
  .site-header .wrap { display: flex; justify-content: space-between; }
  .site-header .logo { justify-self: auto; }
  .site-header .logo img { height: 48px; }
}

@media (max-width: 900px) {
  .closing-about { min-height: auto; }

  .closing-about-img {
    position: static;
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 32%;
  }

  .closing-about-text {
    position: static;
    max-width: none;
    margin: 0;
    padding: 1.75rem clamp(1.25rem, 4vw, 3rem);
    background: var(--white);
    backdrop-filter: none;
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .closing-about-img { height: 320px; }
}

@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
  .gallery { column-count: 2; }
  .substep-grid { grid-template-columns: 1fr; }
  .timeline-step { grid-template-columns: 1fr; }
  .timeline-step:nth-child(even) .timeline-media { order: 0; }
  .switch-grid { grid-template-columns: 1fr; }

  .detail-switch { flex-wrap: wrap; }
  .switch-item,
  .switch-item.is-current {
    flex: 1 1 calc(50% - var(--gap) / 2);
    height: 150px;
  }
}

@media (max-width: 480px) {
  .gallery { column-count: 1; }
}

/* ---------- hero: texto alinhado com a logo ---------- */

.hero-content.wrap {
  max-width: none;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
}

.hero-content h1 { margin-left: 14px; }

@media (max-width: 480px) {
  .hero-content h1 { margin-left: 4px; }
}

/* ---------- páginas de serviço: intro com foto e cards numerados ---------- */

.service-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-top: 1.5rem;
}

.service-intro p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 52ch;
}

.service-intro img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 4px;
}

.feature-heading {
  font-family: var(--font-body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--dark);
  margin: 3.25rem 0 1.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--taupe);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.feature-tile {
  border: 1px solid var(--taupe);
  border-radius: 4px;
  background: var(--white);
  padding: 1.35rem 1.4rem 1.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-tile:hover { border-color: var(--sage); transform: translateY(-2px); }

.feature-num {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--sage);
  margin-bottom: 0.8rem;
}

.feature-tile p { margin: 0; color: var(--ink); line-height: 1.5; }

/* ---------- página de Obra: duas opções lado a lado ---------- */

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-top: 2rem;
  align-items: stretch;
}

.compare-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--taupe);
  border-radius: 4px;
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.compare-card.is-featured { background: var(--cream); border-color: var(--sage); }

.compare-tag {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--dark);
}

.compare-card h2 {
  font-family: var(--font-body);
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  color: var(--ink);
  margin: 0.45rem 0 0.6rem;
}

.compare-card .lead-note { color: var(--sage); font-style: italic; margin: 0 0 1rem; }
.compare-card > p { margin: 0 0 0.5rem; color: var(--ink); }

.check-list {
  list-style: none;
  margin: 1rem 0 1.25rem;
  padding: 0;
}

.check-list li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.8rem;
  border-top: 1px solid var(--taupe);
  color: var(--ink);
  line-height: 1.45;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0.15rem;
  top: 0.95rem;
  width: 0.7rem;
  height: 0.38rem;
  border-left: 2px solid var(--sage);
  border-bottom: 2px solid var(--sage);
  transform: rotate(-45deg);
}

.compare-note {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--taupe);
}

.compare-note p { margin: 0 0 1rem; font-size: 0.93rem; color: var(--dark); line-height: 1.55; }

.rrt-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--taupe);
  font-size: 0.78rem;
  color: var(--dark);
}

.rrt-badge.is-on { background: var(--sage); border-color: var(--sage); color: var(--white); }

/* ---------- projetos: grade com paginação ---------- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem var(--gap);
}

.project-tile[hidden] { display: none; }

.project-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2.5rem;
  color: var(--dark);
  font-size: 0.9rem;
}

.project-pager[hidden] { display: none; }

.pager-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--taupe);
  background: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.pager-btn:hover:not(:disabled) { border-color: var(--sage); color: var(--sage); }
.pager-btn:disabled { opacity: 0.35; cursor: default; }

/* ---------- processos: etapas gerais em bolinhas + cards numerados ---------- */

.sub-kicker {
  margin: 0 0 1.75rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--dark);
}

.stages {
  list-style: none;
  margin: 0 0 3.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
}

.stages::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 1px;
  background: var(--taupe);
}

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  color: var(--ink);
}

.stage-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage);
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  box-shadow: 0 0 0 6px var(--cream);
  transition: background 0.2s ease, transform 0.2s ease;
}

a.stage:hover .stage-dot { background: var(--terracotta); transform: translateY(-2px); }

.stage-label { font-size: 0.85rem; line-height: 1.35; max-width: 14ch; }

.card-body.is-steps { justify-content: flex-start; }

.step-num {
  display: block;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--sage);
  margin-bottom: 0.6rem;
}

.step-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--dark);
}

.step-list li { position: relative; padding-left: 1rem; margin-bottom: 0.45rem; }
.step-list li:last-child { margin-bottom: 0; }

.step-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage);
}

/* ---------- chamada pro FAQ ---------- */

.faq-callout {
  padding: clamp(2rem, 5vw, 3rem) 0;
  border-top: 1px solid var(--taupe);
  border-bottom: 1px solid var(--taupe);
  background: var(--white);
}

.faq-callout .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.faq-callout h2 {
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  color: var(--ink);
}

.faq-callout p { margin: 0.35rem 0 0; color: var(--dark); }

/* ---------- responsivo (novos blocos) ---------- */

@media (max-width: 900px) {
  .project-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .stages { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
  .stages::before { display: none; }
}

@media (max-width: 800px) {
  .service-intro { grid-template-columns: 1fr; }
  .service-intro img { height: 260px; }
}

@media (max-width: 560px) {
  .project-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .stages { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- etapas gerais com ícones ---------- */

.stage-dot {
  width: 76px;
  height: 76px;
  background: #e6e1d8;
  color: var(--ink);
  box-shadow: 0 0 0 6px var(--ring, var(--cream));
}

.stage-dot svg { width: 34px; height: 34px; }

a.stage:hover .stage-dot { background: var(--sage); color: var(--white); }

.stages::before { top: 38px; }

.stage-num { font-size: 1.05rem; letter-spacing: 0.04em; color: var(--ink); }

.stage-label {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
  max-width: 17ch;
  color: var(--ink);
}

.stage { gap: 0.55rem; }
.stage-dot { margin-bottom: 0.35rem; }

/* ---------- textos dos processos ---------- */

.step-lead { margin: 0.8rem 0 0; font-size: 0.9rem; line-height: 1.5; color: var(--ink); }
.step-lead + .step-list { margin-top: 0.7rem; }
.step-note { margin: 1rem 0 0; font-size: 0.88rem; line-height: 1.5; font-style: italic; color: var(--dark); }

.step-sub {
  margin: 1.4rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--taupe);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sage);
}

.substep img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1.1rem;
}

.substep#executivo { grid-column: 1 / -1; }
.substep#executivo img { height: 300px; object-position: center top; }

.substep .step-num { margin-bottom: 0.4rem; }
.substep h4 { color: var(--ink); font-size: 1.25rem; }

/* ---------- medidor de complexidade ---------- */

.meter { margin-top: 1.75rem; max-width: 20rem; }

.meter span {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--dark);
}

.meter-bar { height: 8px; border-radius: 999px; background: var(--taupe); overflow: hidden; }
.meter-bar i { display: block; height: 100%; border-radius: 999px; background: var(--sage); }

/* ---------- comparativo da Obra ---------- */

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

.compare-table-wrap { overflow-x: auto; }

.compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.95rem;
}

.compare-table thead th {
  background: var(--sage);
  color: var(--white);
  font-weight: normal;
  font-size: 1.05rem;
  padding: 1.2rem 1rem;
  text-align: center;
  width: 25%;
}

.compare-table thead th:first-child { background: transparent; width: 50%; }
.compare-table thead th:nth-child(2) { border-radius: 4px 0 0 0; }
.compare-table thead th:nth-child(3) { border-radius: 0 4px 0 0; }

.compare-table tbody th {
  text-align: left;
  font-weight: normal;
  color: var(--ink);
  padding: 0.85rem 1rem 0.85rem 0;
  border-bottom: 1px solid var(--taupe);
  line-height: 1.4;
}

.compare-table tbody td {
  text-align: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--taupe);
  background: rgba(237, 233, 224, 0.55);
  color: var(--dark);
  font-size: 0.88rem;
  line-height: 1.4;
}

.tick {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage);
  position: relative;
  vertical-align: middle;
}

.tick::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 5px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}

.none { color: var(--taupe); }

.table-foot {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  background: var(--cream);
  text-align: center;
  font-size: 0.9rem;
  color: var(--dark);
}

@media (max-width: 900px) {
  .stage-dot { width: 64px; height: 64px; }
  .stage-dot svg { width: 30px; height: 30px; }
  .substep#executivo { grid-column: auto; }
}

@media (max-width: 600px) {
  .compare-table { min-width: 0; font-size: 0.82rem; }
  .compare-table thead th { font-size: 0.78rem; padding: 0.8rem 0.35rem; width: 27%; }
  .compare-table thead th:first-child { width: 46%; }
  .compare-table tbody th { padding-right: 0.6rem; }
  .compare-table tbody td { padding: 0.6rem 0.3rem; font-size: 0.74rem; }
  .tick { width: 18px; height: 18px; }
  .tick::after { left: 5.5px; top: 3.5px; width: 5px; height: 8px; }
}

.substep .step-lead { margin: 0.8rem 0 0; font-size: 0.9rem; }
.substep .step-note { margin: 1rem 0 0; font-size: 0.88rem; }
.substep .step-sub { margin: 1.4rem 0 0; font-size: 0.78rem; }

/* ---------- FAQ: perguntas em negrito ---------- */

.faq-item summary > span:first-child { font-weight: bold; }

/* ---------- Método: processos em evidência ---------- */

.process-list {
  margin-top: 3rem;
  border-top: 1px solid var(--taupe);
}

.process-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-bottom: 1px solid var(--taupe);
  scroll-margin-top: 100px;
}

.process-row:nth-child(even) .process-img { order: 2; }

.process-img {
  display: block;
  width: 100%;
  height: clamp(300px, 38vw, 460px);
  object-fit: cover;
  border-radius: 4px;
}

.process-num {
  display: block;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--sage);
  margin-bottom: 0.7rem;
}

.process-text h2 {
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 1rem;
}

.process-text .step-lead { margin: 0; font-size: 1.05rem; }
.process-text .step-list { font-size: 1rem; margin-top: 1rem; }
.process-text .step-note { font-size: 0.95rem; }

.process-row.is-wide { grid-template-columns: 1fr; }
.process-row.is-wide .process-img { height: clamp(240px, 30vw, 360px); order: 0; }

.process-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-top: 1.5rem;
}

.process-cols .step-sub { margin-top: 0; border-top: 0; padding-top: 0; }
.process-cols .step-lead { margin-top: 0.7rem; font-size: 0.95rem; }
.process-cols .step-list { font-size: 0.95rem; }

@media (max-width: 900px) {
  .process-row { grid-template-columns: 1fr; }
  .process-row:nth-child(even) .process-img { order: 0; }
  .process-img { height: 280px; }
  .process-cols { grid-template-columns: 1fr; }
}

/* ---------- cabeçalho: botões no canto, logo no outro canto ---------- */

.site-header .wrap { max-width: none; }

/* ---------- faixa de troca com muitos itens (projetos) ---------- */

.detail-switch.is-many { flex-wrap: wrap; }

.detail-switch.is-many .switch-item,
.detail-switch.is-many .switch-item.is-current {
  flex: 1 1 calc(20% - var(--gap));
  min-width: 130px;
  height: 120px;
}

.detail-switch.is-many .switch-item span,
.detail-switch.is-many .switch-item.is-current span { font-size: 0.8rem; padding: 0.55rem 0.7rem; }

/* ---------- etapas gerais: bolinha sempre na frente da linha ---------- */

.stages::before { z-index: 0; }
.stage-dot { position: relative; z-index: 1; background: #e6e1d8; }
a.stage:hover .stage-dot { background: var(--sage); }

/* ---------- processos (página Método): texto + imagens pequenas ---------- */

.process-row { grid-template-columns: 1fr 1fr; align-items: start; }
.process-row:nth-child(even) .process-img { order: 0; }

.process-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-self: start;
  max-width: 460px;
  width: 100%;
  justify-self: end;
}

.process-row:nth-child(even) .process-media { justify-self: start; }
.process-row:nth-child(even) .process-text { order: 2; }

.process-media figure { margin: 0; }
.process-media figure.wide { grid-column: 1 / -1; }

.process-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 230px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--taupe);
  background: var(--white);
}

.process-media figure.wide img { max-height: 260px; object-fit: contain; }
.process-media.is-single img { max-height: 340px; object-fit: cover; }

.process-media figcaption {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--dark);
}

.process-row.is-wide { grid-template-columns: 1fr; }
.process-row.is-wide .process-text { order: 0; }
.process-row.is-wide .process-cols { margin-top: 0.5rem; }
.process-cols .process-media { margin-top: 1.4rem; max-width: none; justify-self: stretch; }

/* ---------- Método: bloco de Obra ---------- */

.obra-section { padding: clamp(2.5rem, 6vw, 4rem) 0 0; scroll-margin-top: 100px; }
.obra-section .sub-kicker { margin-bottom: 0.6rem; }

.obra-title {
  font-family: var(--font-body);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  color: var(--ink);
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .process-row { grid-template-columns: 1fr; }
  .process-row:nth-child(even) .process-text { order: 0; }
  .process-media, .process-row:nth-child(even) .process-media { justify-self: stretch; max-width: none; }
  .detail-switch.is-many .switch-item,
  .detail-switch.is-many .switch-item.is-current { flex: 1 1 calc(33% - var(--gap)); height: 100px; }
}

@media (max-width: 560px) {
  .detail-switch.is-many .switch-item,
  .detail-switch.is-many .switch-item.is-current { flex: 1 1 calc(50% - var(--gap)); }
}

.process-row.no-media { grid-template-columns: 1fr; }
.process-row.no-media .process-text { max-width: 62ch; order: 0; }
.process-media.is-big { max-width: none; justify-self: stretch; }
.process-media.is-big img { max-height: 560px; }

/* ---------- crédito da fotógrafa nas galerias ---------- */

.gallery figure.credit {
  position: relative;
  margin: 0 0 var(--gap);
  break-inside: avoid;
}

.gallery figure.credit img { margin: 0; }

.gallery figure.credit figcaption {
  position: absolute;
  left: 0.6rem;
  bottom: 0.55rem;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
  pointer-events: none;
}
