/* ===========================================================
   Dynasty Detail — folha de estilos
   Paleta: fundo quase-preto, texto marfim, acento verde
=========================================================== */

:root {
  --bg: #020304;
  --surface: #0b0e0f;
  --surface-2: #101315;
  --border: #181b1d;
  --border-soft: rgba(255, 255, 255, 0.08);
  --ink: #ecebe7;
  --muted: #8a9095;
  --muted-2: #797d81; /* AA-compliant on --bg for small text (~5:1) */
  --brand: #70c35d;
  --brand-soft: #6bac5c;
  --brand-dim: rgba(112, 195, 93, 0.14);

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@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;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.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: fixed;
  top: -100px; left: 8px;
  z-index: 200;
  background: var(--brand);
  color: #06110a;
  padding: 10px 16px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 8px;
  position: fixed;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--brand);
  color: #06110a;
}
.btn-primary:hover { background: var(--brand-soft); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-soft);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  background: transparent;
  backdrop-filter: none;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(2, 3, 4, 0.86);
  border-bottom-color: var(--border-soft);
  backdrop-filter: blur(10px);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark img { height: 38px; width: 38px; object-fit: contain; }
.brand-mark span {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
}
.brand-mark span em {
  color: var(--brand);
  font-style: normal;
}

.main-nav { display: none; align-items: center; gap: 36px; }
.main-nav a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); border-color: var(--brand); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { display: none; }
.header-call {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
.header-call:hover { color: var(--brand); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }

.mobile-nav {
  position: fixed;
  inset: 0;
  top: 76px;
  background: var(--bg);
  z-index: 55;
  padding: 32px 24px;
  display: none;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.mobile-nav.is-open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-nav a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}
.mobile-nav a span { font-size: 12px; color: var(--muted-2); }
.mobile-nav .mobile-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .header-actions .btn { display: inline-flex; }
  .header-call { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: -76px;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,3,4,0.55) 0%, rgba(2,3,4,0.35) 30%, rgba(2,3,4,0.92) 92%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px 88px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero-content .eyebrow { color: var(--brand); }
.hero-content h1 {
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  max-width: 16ch;
  color: var(--ink);
}
.hero-content .lede {
  margin-top: 20px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 17px;
}
.hero-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-footline {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
  color: var(--muted);
  max-width: 420px;
}

/* Page hero (subpáginas) */
.page-hero {
  padding: 168px 0 64px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 18ch; }
.page-hero .lede { margin-top: 18px; max-width: 56ch; color: var(--muted); font-size: 16px; }

/* ---------------- Sections ---------------- */
section { padding: 96px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 16px; }
.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.link-more {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 600;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--brand);
}

/* ---------------- Approach / text block ---------------- */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 860px) {
  .approach-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
}
.approach-text p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.approach-figure {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius);
  max-width: 460px;
  margin-left: auto;
}
.approach-figure img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- Featured video/work ---------------- */
.featured-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 860px) {
  .featured-wrap { grid-template-columns: 320px 1fr; gap: 56px; }
}
.feature-panel {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  /* Fonte é um vídeo vertical (9:16, tipo Reel) — o painel respeita
     essa proporção nativa para nunca cortar nem esticar a imagem. */
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9/16;
  margin: 0 auto;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
}
.feature-media { position: relative; width: 100%; height: 100%; background: var(--surface); }
.feature-media video, .feature-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.feature-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(2,3,4,0.15);
  cursor: pointer;
  border: none;
  padding: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.feature-panel:hover .feature-play,
.feature-play:focus-visible { opacity: 1; }
.feature-play .play-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(2,3,4,0.55);
  border: 1px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
}
.feature-play:hover .play-icon { transform: scale(1.08); background: var(--brand); border-color: var(--brand); }
.feature-play:hover .play-icon svg { fill: #06110a; }
.feature-play.is-playing { display: none; }
.feature-mute {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(2,3,4,0.55);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  cursor: pointer;
  z-index: 2;
}
.feature-caption p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.feature-caption .btn { width: max-content; }
@media (max-width: 859px) {
  .feature-caption { text-align: center; }
  .feature-caption p { margin: 20px auto 22px; max-width: 40ch; }
  .feature-caption .btn { margin: 0 auto; }
}

/* ---------------- Services grid ---------------- */
.services-list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border);
}
.service-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px 4px;
  border-bottom: 1px solid var(--border);
  transition: padding-left 0.25s ease, background 0.25s ease;
}
.service-row:hover { padding-left: 12px; background: var(--surface); }
.service-num { font-family: var(--font-display); color: var(--muted-2); font-size: 14px; }
.service-row h3 { font-size: 19px; font-weight: 500; }
.service-row .arrow { color: var(--brand); font-size: 18px; opacity: 0; transition: opacity 0.2s ease, transform 0.2s ease; }
.service-row:hover .arrow { opacity: 1; transform: translateX(4px); }
.services-note { margin-top: 28px; color: var(--muted-2); font-size: 14px; max-width: 60ch; }

/* ---------------- Serviços: separadores + cartões premium ---------------- */
.services-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 40px;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
}
.services-tabs::-webkit-scrollbar { display: none; }
.services-tab {
  flex: 0 0 auto;
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.services-tab:hover { color: var(--ink); }
.services-tab.is-active { color: var(--brand); border-color: var(--brand); }

.services-panels { position: relative; }
.services-panel { display: none; }
.services-panel.is-active { display: block; animation: fadeUp 0.35s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.price-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 720px) {
  .price-cards { grid-template-columns: 1fr 1fr; }
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 26px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.price-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.price-card .pc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.price-card h3 { font-size: 18px; font-weight: 500; max-width: 22ch; }
.price-card .pc-price {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--brand);
  white-space: nowrap;
}
.price-card .pc-price small { font-size: 12px; color: var(--muted-2); font-weight: 400; display: block; text-align: right; }
.price-card p.pc-desc { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.pc-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.pc-meta span {
  font-size: 12px;
  color: var(--muted-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.pc-meta svg { width: 13px; height: 13px; flex-shrink: 0; }
.services-legend {
  margin-top: 28px;
  font-size: 13px;
  color: var(--muted-2);
  max-width: 64ch;
}

/* ---------------- Before / After slider ---------------- */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 860px) {
  .ba-grid { grid-template-columns: 1fr 1fr; }
}
.ba-item .ba-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.ba-item .ba-label h3 { font-size: 15px; font-weight: 500; letter-spacing: 0.02em; }
.ba-item .ba-label span { font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.1em; }

.ba-slider {
  position: relative;
  aspect-ratio: 3/4;
  max-width: 420px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: ew-resize;
  user-select: none;
  touch-action: pan-y;
}
.ba-slider img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.ba-slider .ba-before { z-index: 1; }
.ba-slider .ba-after-wrap {
  position: absolute; inset: 0;
  z-index: 2;
  /* Recorte via clip-path (definido por JS): evita qualquer duplicação de
     regras de largura entre CSS/JS e nunca mostra a imagem mal alinhada
     antes do JavaScript carregar, porque a imagem ocupa sempre 100% do
     contentor — só a área visível muda. */
  clip-path: inset(0 50% 0 0);
}
.ba-slider .ba-after-wrap img,
.ba-slider .ba-after-wrap picture { width: 100%; height: 100%; }
.ba-tag {
  position: absolute;
  top: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  background: rgba(2,3,4,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  z-index: 3;
  pointer-events: none;
}
.ba-tag.tag-before { left: 14px; }
.ba-tag.tag-after { right: 14px; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 0;
  z-index: 4;
  pointer-events: none;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -1px;
  width: 2px;
  background: var(--ink);
}
.ba-handle .grip {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  gap: 4px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}
.ba-handle .grip span {
  display: block; width: 2px; height: 12px; background: var(--bg);
}

/* ---------------- Interior/exterior split ---------------- */
.split-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
@media (min-width: 720px) {
  .split-media { grid-template-columns: 1fr 1fr; }
}
.split-media figure { margin: 0; aspect-ratio: 4/5; overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.split-media figure:hover img { transform: scale(1.04); }

/* ---------------- Gallery ---------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid figure {
  margin: 0;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--surface);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, opacity 0.5s ease; }
.gallery-grid figure:hover img { transform: scale(1.05); }

/* ---------------- Team / Sobre ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
}
.about-media { aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { color: var(--muted); font-size: 16px; margin-bottom: 18px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.about-stats .stat h3 { font-size: 30px; color: var(--brand); font-family: var(--font-display); }
.about-stats .stat span { font-size: 13px; color: var(--muted-2); }

/* ---------------- Values ---------------- */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 56px;
}
@media (min-width: 720px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card { background: var(--bg); padding: 32px 28px; }
.value-card .service-num { display: block; margin-bottom: 18px; }
.value-card h3 { font-size: 17px; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: 14px; }

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: var(--radius);
  min-width: 0;
}
.contact-panel .btn { width: 100%; margin-bottom: 14px; }
.contact-info { display: flex; flex-direction: column; gap: 26px; margin-top: 26px; }
.contact-info .item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info .icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--brand);
}
.contact-info h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info p, .contact-info a { color: var(--muted); font-size: 14px; }
.contact-info a:hover { color: var(--brand); }

.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.form-note { font-size: 12px; color: var(--muted-2); margin-top: 6px; }
.form-success {
  display: none;
  padding: 16px;
  border: 1px solid var(--brand);
  background: var(--brand-dim);
  color: var(--brand);
  font-size: 14px;
  border-radius: var(--radius);
  margin-top: 16px;
}
.form-success.is-visible { display: block; }

/* ---------------- CTA band ---------------- */
.cta-band {
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); max-width: 20ch; margin: 0 auto; }
.cta-band p { color: var(--muted); margin-top: 16px; max-width: 48ch; margin-left: auto; margin-right: auto; }
.cta-band .cta-actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------- Footer ---------------- */
.site-footer { padding: 64px 0 32px; }
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 780px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-brand .brand-mark { margin-bottom: 16px; }
.footer-brand p { color: var(--muted-2); font-size: 14px; max-width: 34ch; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  color: var(--muted-2);
}
@media (min-width: 780px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--brand); }

/* ---------------- Legal pages ---------------- */
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 22px; margin-top: 40px; margin-bottom: 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; }
.legal-content strong { color: var(--ink); }

/* ---------------- WhatsApp float ---------------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #06110a; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------- Responsive refinements ---------------- */
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  section { padding: 64px 0; }
  .page-hero { padding: 132px 0 44px; }
  .hero { min-height: 82vh; }
  .hero-content { padding: 0 18px 56px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-footline { flex-wrap: wrap; }
  .cta-band .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-band .cta-actions .btn { width: 100%; }
  .contact-panel .btn { margin-bottom: 12px; }
  .service-row { grid-template-columns: 32px 1fr auto; padding: 20px 4px; }
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (min-width: 641px) and (max-width: 1023px) {
  /* Tablet: mantém a grelha de 2 colunas mas com mais respiro */
  .service-cards { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 480px; margin: 0 auto; }
}

@media (min-width: 1600px) {
  .container { max-width: 1320px; }
}

/* Utility */
.mt-0 { margin-top: 0; }
