/* ==========================================================================
   Casa Pronta – Arquitetura Integrada
   Paleta extraída do logotipo (azul petróleo, cinza-azulado, âmbar)
   e das fotos da equipe (off-white, areia, marrom, marsala).
   ========================================================================== */

:root {
  --petrol-950: #16262d;
  --petrol-900: #1c313a;
  --petrol: #2b4955;
  --petrol-600: #3c5763;
  --steel: #708792;
  --mist: #c5d3da;
  --amber: #f6b655;
  --amber-600: #e09a30;

  --paper: #faf7f2;
  --sand: #f1ebe2;
  --sand-300: #e4dacb;
  --wood: #8a6a55;
  --marsala: #7b2f2b;

  --ink: #1d2a30;
  --ink-soft: #4a5a61;
  --line: #e2dbd0;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-brand: "Nunito", var(--font-body);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(22, 38, 45, .06), 0 2px 8px rgba(22, 38, 45, .05);
  --shadow: 0 10px 30px -12px rgba(22, 38, 45, .22);
  --shadow-lg: 0 30px 60px -25px rgba(22, 38, 45, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--petrol); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Tipografia ---------- */
.display, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.08;
  font-optical-sizing: auto;
  text-wrap: balance;
}
.display { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.2rem); }
.display em, .h2 em { font-style: italic; color: var(--petrol); }
.h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); max-width: 20ch; }
.h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); line-height: 1.2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--amber); border-radius: 2px;
}
.eyebrow-light { color: var(--mist); }

.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--ink-soft); max-width: 36em; }
.section-intro { color: var(--ink-soft); max-width: 38em; margin-top: 1.2rem; font-size: 1.075em; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.35em;
  border-radius: 999px; border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: .98rem; line-height: 1.1; text-decoration: none;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { --btn-bg: var(--petrol); --btn-fg: #fff; box-shadow: 0 8px 20px -10px rgba(43, 73, 85, .8); }
.btn-primary:hover { --btn-bg: var(--petrol-900); }
.btn-primary .icon { color: var(--amber); }
.btn-ghost { --btn-bd: rgba(43, 73, 85, .3); --btn-fg: var(--petrol); }
.btn-ghost:hover { --btn-bd: var(--petrol); background: #fff; }
.btn-light { --btn-bg: var(--amber); --btn-fg: var(--petrol-950); }
.btn-light:hover { --btn-bg: #ffc56e; }
.btn-lg { min-height: 56px; padding: .9em 1.6em; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(250, 247, 242, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(22, 38, 45, .4); }

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-icon { width: 58px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-brand); }
.brand-name { font-size: 1.28rem; font-weight: 600; color: var(--petrol); }
.brand-tag { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--steel); font-weight: 600; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 4px; }
.nav ul a {
  display: block; padding: 8px 12px; border-radius: 999px;
  font-size: .94rem; font-weight: 600; color: var(--ink-soft); text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav ul a:hover, .nav ul a[aria-current="true"] { color: var(--petrol); background: var(--sand); }
.nav-cta { min-height: 44px; padding: .6em 1.1em; font-size: .92rem; }

.nav-toggle {
  display: none; position: relative; width: 48px; height: 48px;
  border: 0; background: transparent; border-radius: 12px; cursor: pointer;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 13px; width: 22px; height: 2px; background: var(--petrol); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle-bar { top: 23px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 28px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .25s, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav ul a:hover { background: transparent; }
  .nav-cta { min-height: 52px; }
}

/* ---------- Seções ---------- */
.section { padding-block: var(--section-y); }
.section-sand { background: var(--sand); }
.section-dark { background: var(--petrol); color: #eef3f5; }
.section-dark .h2 { color: #fff; }
.section-dark .h2 em { color: var(--amber); }
.section-dark .section-intro, .section-dark p { color: #d3dee3; }

.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head-split { display: grid; gap: 24px; align-items: end; }
@media (min-width: 900px) {
  .section-head-split { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .section-head-split .section-intro { margin-top: 0; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: .95fr 1.05fr; } }

.hero-copy .display { margin-bottom: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero-tags li { font-size: .9rem; font-weight: 600; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 8px; }
.hero-tags li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }

.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 55% 40%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
@media (min-width: 960px) {
  .hero-media img { aspect-ratio: 4 / 4.2; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); }
}
.hero-badge {
  position: absolute; left: clamp(12px, 3vw, -28px); bottom: 24px;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px);
  padding: 14px 20px 14px 18px; border-radius: var(--radius);
  box-shadow: var(--shadow); font-size: .82rem; color: var(--ink-soft);
  border-left: 4px solid var(--amber);
}
@media (min-width: 960px) { .hero-badge { left: -32px; } }
.hero-badge-title { font-family: var(--font-display); font-size: 1.1rem; color: var(--petrol); font-weight: 500; }

/* ---------- Integrada (comparação) ---------- */
.compare { max-width: 980px; margin-inline: auto; }
.segmented {
  display: flex; width: fit-content; max-width: 100%; padding: 5px; gap: 4px; border-radius: 999px;
  background: rgba(0, 0, 0, .18); margin: 0 auto 36px;
}
.segmented button {
  border: 0; background: transparent; color: #d3dee3; cursor: pointer;
  padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: background-color .25s, color .25s;
}
.segmented button[aria-selected="true"] { background: #fff; color: var(--petrol); box-shadow: var(--shadow-sm); }

.compare-panel { animation: fade .45s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.node {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 12px 26px; border-radius: 999px; font-weight: 700;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); color: #fff;
}
.node-you { background: #fff; color: var(--petrol); border-color: #fff; }

.chaos, .hub { display: flex; flex-direction: column; align-items: center; text-align: center; }
.chaos-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 28px; padding: 28px; border: 1.5px dashed rgba(255, 255, 255, .28); border-radius: var(--radius-lg);
}
.chaos-list li {
  padding: 8px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
}
.chaos-list li:nth-child(3n) { transform: rotate(-3deg); }
.chaos-list li:nth-child(4n) { transform: rotate(2.5deg) translateY(4px); }
.pain-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-top: 26px; }
.pain-list li {
  padding: 6px 12px; border-radius: 8px; font-size: .86rem; font-weight: 700;
  background: rgba(123, 47, 43, .55); color: #ffe3de;
}

.hub-line { width: 2px; height: 34px; background: linear-gradient(var(--mist), var(--amber)); }
.node-hub {
  border-radius: var(--radius-lg); padding: 20px 36px; background: var(--petrol-900);
  border: 1.5px solid var(--amber); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
}
.node-hub img { width: 60px; margin-bottom: 6px; }
.node-hub strong { font-family: var(--font-brand); font-size: 1.25rem; font-weight: 600; }
.node-hub span { font-size: .85rem; color: var(--mist); font-weight: 600; }
.hub-list {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; width: 100%; max-width: 860px;
  padding-top: 26px; border-top: 2px solid rgba(197, 211, 218, .35); position: relative;
}
@media (min-width: 700px) { .hub-list { grid-template-columns: repeat(7, 1fr); } }
.hub-list li {
  position: relative; padding: 12px 8px; border-radius: 14px; font-size: .9rem; font-weight: 700;
  background: #fff; color: var(--petrol);
}
@media (min-width: 700px) {
  .hub-list li::before {
    content: ""; position: absolute; left: 50%; top: -28px; width: 2px; height: 26px; background: rgba(197, 211, 218, .35);
  }
}
.hub-note { margin-top: 28px; font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); color: #fff !important; }

/* ---------- Serviços ---------- */
.services { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.service-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon {
  width: 52px; height: 52px; padding: 10px; border-radius: 14px;
  background: var(--sand); color: var(--petrol); margin-bottom: 6px;
}
.service-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; line-height: 1.2; }
.service-card p { color: var(--ink-soft); font-size: .97rem; }
.service-card .tags { margin-top: auto; padding-top: 8px; }
.service-card-cta { background: var(--petrol); color: #fff; border-color: var(--petrol); justify-content: center; }
.service-card-cta p { color: #d3dee3; }
.service-card-cta .btn { align-self: flex-start; margin-top: 8px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-size: .78rem; font-weight: 700; color: var(--petrol-600);
  padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
}
.tags-lg li { font-size: .88rem; padding: 7px 14px; background: #fff; }

/* ---------- Camadas ---------- */
.layers { display: grid; gap: 16px; counter-reset: layer; }
@media (min-width: 720px) { .layers { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .layers { grid-template-columns: repeat(4, 1fr); align-items: end; } }
.layer {
  position: relative; display: flex; flex-direction: column; gap: 10px;
  padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--sand-300);
  overflow: hidden;
}
@media (min-width: 1080px) { .layer { padding-top: calc(28px + (var(--level) - 1) * 26px); } }
.layer::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--level) * 5px);
  background: linear-gradient(90deg, var(--petrol), var(--steel));
}
.layer-step { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--sand-300); font-weight: 500; }
.layer h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.2; color: var(--petrol); }
.layer p { color: var(--ink-soft); font-size: .95rem; }
.layer-list { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; margin-bottom: 8px; }
.layer-list li {
  display: flex; align-items: center; gap: 10px; font-size: .88rem; color: #a59c90;
  text-decoration: line-through; text-decoration-color: rgba(165, 156, 144, .5);
}
.layer-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--sand-300);
}
.layer-list li.on { color: var(--ink); text-decoration: none; font-weight: 600; }
.layer-list li.on::before {
  border-color: var(--petrol); background: var(--petrol)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.layer-featured { background: var(--petrol); border-color: var(--petrol); box-shadow: var(--shadow-lg); }
.layer-featured h3 { color: #fff; }
.layer-featured p { color: #d3dee3; }
.layer-featured .layer-step { color: var(--amber); }
.layer-featured .layer-list { border-color: rgba(255, 255, 255, .15); }
.layer-featured .layer-list li.on { color: #fff; }
.layer-featured .layer-list li.on::before { background-color: var(--amber); border-color: var(--amber); }
.layer-featured::after { background: var(--amber); }

/* ---------- Processo ---------- */
.process-grid { display: grid; gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (min-width: 960px) { .process-grid { grid-template-columns: .8fr 1.2fr; } .process-media { position: sticky; top: calc(var(--header-h) + 32px); } }
.process-media { position: relative; }
.process-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.principle {
  position: relative; margin: -72px 16px 0; padding: 24px; border-radius: var(--radius);
  background: var(--petrol); color: #fff; box-shadow: var(--shadow-lg);
}
.principle-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--amber); }
.principle strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; margin: 6px 0 8px; }
.principle p { color: #d3dee3; font-size: .95rem; }

.steps { margin-top: 40px; display: grid; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; position: relative; padding-bottom: 36px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: 27px; top: 56px; bottom: 4px; width: 2px;
  background: repeating-linear-gradient(var(--sand-300) 0 6px, transparent 6px 12px);
}
.step:last-child::before { display: none; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.4rem; color: var(--petrol);
  background: var(--sand); border: 1.5px solid var(--sand-300);
}
.step:last-child .step-num { background: var(--amber); border-color: var(--amber); color: var(--petrol-950); }
.step h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; margin: 10px 0 6px; }
.step p { color: var(--ink-soft); }

/* ---------- Filosofia ---------- */
.philosophy { display: grid; gap: clamp(48px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .philosophy { grid-template-columns: 1.05fr .95fr; } }
.pillars { display: grid; gap: 24px 32px; margin-top: 40px; }
@media (min-width: 560px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillars div { padding-top: 16px; border-top: 1.5px solid var(--sand-300); }
.pillars dt { font-weight: 700; color: var(--petrol); margin-bottom: 4px; }
.pillars dd { color: var(--ink-soft); font-size: .95rem; }

.philosophy-media { position: relative; padding-bottom: 18%; }
.philosophy-media img { border-radius: var(--radius-lg); object-fit: cover; }
.ph-a { width: 88%; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.ph-b {
  position: absolute; right: 0; bottom: 0; width: 58%; aspect-ratio: 4 / 3;
  border: 8px solid var(--sand); box-shadow: var(--shadow-lg);
}

.budget {
  display: grid; gap: 28px; margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--sand-300);
}
@media (min-width: 900px) { .budget { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; } }
.budget-copy p { color: var(--ink-soft); margin-top: 12px; }
.budget-list { display: grid; gap: 14px; }
.budget-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.budget-list .icon { color: #fff; background: var(--petrol); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: -1px; }

/* ---------- Projetos ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.filters button {
  min-height: 42px; padding: 8px 18px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem; color: var(--ink-soft);
  transition: all .2s;
}
.filters button:hover { border-color: var(--petrol); color: var(--petrol); }
.filters button[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: #fff; }

.projects { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.project {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s, opacity .3s;
}
.project:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project[hidden] { display: none; }
.project > img, .project-art { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.project-art {
  background-color: var(--sand);
  background-image: var(--art),
    linear-gradient(rgba(43, 73, 85, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 73, 85, .06) 1px, transparent 1px);
  background-size: 62% auto, 22px 22px, 22px 22px;
  background-position: center, 0 0, 0 0;
  background-repeat: no-repeat, repeat, repeat;
}
.art-house     { --art: url("../img/projetos/art-house.svg"); }
.art-reform    { --art: url("../img/projetos/art-reform.svg"); }
.art-gym       { --art: url("../img/projetos/art-gym.svg"); }
.art-container { --art: url("../img/projetos/art-container.svg"); }
.art-kitchen   { --art: url("../img/projetos/art-kitchen.svg"); }
.art-facade    { --art: url("../img/projetos/art-facade.svg"); }
.project-body { padding: 24px 24px 28px; display: grid; gap: 8px; }
.project-kind { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wood); }
.project h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; line-height: 1.2; }
.project-body p:last-child { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Sobre ---------- */
.about { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) { .about { grid-template-columns: .8fr 1.2fr; } }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); }
.about-role { color: var(--amber) !important; font-weight: 700; margin: 12px 0 24px; font-size: .95rem; }
.about-copy > p + p { margin-top: 1rem; }
.about-copy p { max-width: 36em; }
.about-quote {
  margin-top: 32px; padding-left: 20px; border-left: 3px solid var(--amber);
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.65rem); color: #fff; line-height: 1.35;
}

/* ---------- Equipe ---------- */
.team { display: grid; gap: 20px; }
@media (min-width: 600px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .team { grid-template-columns: repeat(3, 1fr); } }
.member { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.member img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.member:hover img { transform: scale(1.03); }
.member-info { padding: 22px 24px 26px; position: relative; background: #fff; }
.member h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; }
.member-role { color: var(--wood); font-weight: 700; font-size: .88rem; margin: 2px 0 10px; }
.member-info p:last-child { color: var(--ink-soft); font-size: .94rem; }

.partners {
  display: grid; gap: 20px; margin-top: 24px; padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius-lg); background: var(--sand);
}
@media (min-width: 900px) { .partners { grid-template-columns: .8fr 1.2fr; align-items: center; gap: 48px; } }
.partners p { color: var(--ink-soft); margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; } .faq-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; } }
.faq-grid .btn { margin-top: 28px; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border-radius: var(--radius); border: 1px solid var(--sand-300); transition: box-shadow .25s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-weight: 700; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232b4955' stroke-width='2' stroke-linecap='round' d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--amber); }
.faq details p { padding: 0 24px 22px; color: var(--ink-soft); }

/* ---------- Contato ---------- */
.contact { background: radial-gradient(1200px 600px at 100% 0%, var(--petrol-600), transparent 60%), var(--petrol); }
.contact-grid { display: grid; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-copy > p { margin-top: 1rem; max-width: 32em; }
.contact-list { display: grid; gap: 10px; margin-top: 32px; }
.contact-list a, .contact-static {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff;
  padding: 12px 14px; border-radius: var(--radius-sm); transition: background-color .2s; word-break: break-word;
}
.contact-list a:hover { background: rgba(255, 255, 255, .07); }
.contact-list .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--amber); }
.contact-list small { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); font-weight: 700; }
.contact-photo { margin-top: 32px; border-radius: var(--radius-lg); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
@media (max-width: 959px) { .contact-photo { display: none; } }

.form {
  background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55);
}
.form-title { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; }
.form-hint { color: var(--ink-soft) !important; margin: 6px 0 24px; font-size: .94rem; }
.field { display: grid; gap: 6px; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 520px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field label, .field legend { font-weight: 700; font-size: .9rem; padding: 0; }
.optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--petrol); background: #fff; box-shadow: 0 0 0 4px rgba(43, 73, 85, .12);
}
.field input[aria-invalid="true"] { border-color: var(--marsala); box-shadow: 0 0 0 4px rgba(123, 47, 43, .1); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; font-size: .92rem; transition: all .2s;
}
.chips input:checked + span { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.form-error { color: var(--marsala) !important; font-weight: 700; font-size: .92rem; margin-bottom: 12px; }
.form-privacy { color: var(--ink-soft) !important; font-size: .8rem; margin-top: 14px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol-950); color: #b9c7cd; padding-top: 72px; font-size: .95rem; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.footer-brand .brand { margin-bottom: 20px; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-tag { color: var(--mist); }
.footer-brand p { max-width: 30em; }
.footer-title { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; word-break: break-word; }
.site-footer a:hover { color: var(--amber); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 24px 96px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: #8ea1a9;
}
.footer-bottom p { margin: 0; }
@media (min-width: 800px) { .footer-bottom { padding-bottom: 28px; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .4);
  transition: transform .25s var(--ease), opacity .3s;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.06); }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }

/* ---------- Revelação suave ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
