/* D'Styll Móveis Planejados — LP
   Paleta oficial: #EF4044 (vermelho) · #EEE2D8 (bege) · #231F20 (texto) · #FFFFFF (fundo)
   Tipografia oficial: Playfair Display · Inter Tight · Figtree
   Layout: limpo, branco dominante, arejado. Mobile-first. */

:root {
  --red: #EF4044;
  --red-2: #C8252A;
  --red-soft: #FBE5E6;
  --sand: #EEE2D8;
  --sand-2: #F6EFE7;
  --sand-3: #FAF6F1;
  --ink: #231F20;
  --ink-2: #4A4344;
  --paper: #FFFFFF;
  --muted: #7A7273;
  --line: rgba(35,31,32,.10);
  --line-strong: rgba(35,31,32,.18);
  --shadow: 0 6px 24px rgba(35,31,32,.08);
  --shadow-lg: 0 18px 48px rgba(35,31,32,.16);
  --r: 4px;
  --container: 1240px;

  --f-display: "Playfair Display", Georgia, serif;
  --f-ui: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--red); }
ul { list-style: none; padding: 0; margin: 0; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) { .wrap { padding: 0 36px; } }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 12px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  width: auto; height: 52px; object-fit: contain; display: block;
}
@media (min-width: 720px) { .brand-logo { height: 56px; } }

/* Logo no footer escuro — fundo claro pra preservar cores e legibilidade */
.brand-footer {
  background: #fff;
  padding: 10px 16px;
  border-radius: var(--r);
  align-self: flex-start;
}
.brand-footer .brand-logo { height: 56px; }
@media (min-width: 720px) { .brand-footer .brand-logo { height: 64px; } }

.nav-links { display: none; gap: 28px; font-family: var(--f-ui); }
.nav-links a { font-size: 14.5px; color: var(--ink); font-weight: 500; }
.nav-links a:hover { color: var(--red); }
.nav-links.is-open {
  display: flex; flex-direction: column;
  position: absolute; top: 76px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 18px 24px 22px; gap: 14px;
  box-shadow: 0 12px 28px rgba(35,31,32,.08);
}
@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .nav-links.is-open { position: static; flex-direction: row; padding: 0; box-shadow: none; border: 0; background: transparent; }
}

.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 4px;
  width: 40px; height: 40px; padding: 0;
  background: transparent; border: 0; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--ink); display: block;
}
@media (min-width: 1080px) { .nav-toggle { display: none; } }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 22px; min-height: 46px;
  font-family: var(--f-ui); font-size: 15px; font-weight: 600;
  border-radius: var(--r); border: 1.5px solid transparent;
  cursor: pointer; transition: all .18s ease;
  text-align: center; letter-spacing: .3px;
}
.btn-primary {
  background: var(--red); color: #fff;
  box-shadow: 0 6px 18px rgba(239,64,68,.26);
}
.btn-primary:hover {
  background: var(--red-2); color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(239,64,68,.36);
}
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-light:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-link {
  background: transparent; color: var(--ink);
  padding: 13px 4px; gap: 10px;
  border-bottom: 1px solid transparent; border-radius: 0;
}
.btn-link:hover { color: var(--red); border-bottom-color: var(--red); }
.btn-wpp {
  background: #25D366; color: #fff;
  box-shadow: 0 6px 18px rgba(37,211,102,.28);
}
.btn-wpp:hover {
  background: #1FB955; color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37,211,102,.38);
}
.btn-wpp svg { flex-shrink: 0; }
.btn-link svg { transition: transform .2s ease; }
.btn-link:hover svg { transform: translateX(3px); }
.btn-lg { padding: 16px 28px; font-size: 16px; min-height: 52px; }
.btn-block { display: flex; width: 100%; }

/* ---------- TYPOGRAPHY UTIL ---------- */
.kicker {
  font-family: var(--f-ui); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2.4px; margin: 0 0 16px;
  color: var(--red); display: inline-flex; align-items: center; gap: 12px;
}
.kicker::before {
  content: ""; width: 32px; height: 2px; background: var(--red);
  display: inline-block;
}
.kicker.light { color: var(--red); }

/* ---------- HERO ---------- */
.hero {
  background: var(--sand-3);
  padding: 32px 0 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 36px 0 64px;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
    padding: 64px 0 88px;
  }
}
.hero-text { max-width: 620px; }
.hero h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.02;
  margin: 0 0 22px;
  letter-spacing: -1px;
  color: var(--ink);
}
.hero h1 em { font-style: italic; color: var(--red); font-weight: 500; }
.lead {
  font-family: var(--f-body);
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.55;
  max-width: 56ch;
  color: var(--ink-2);
  margin: 0 0 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 32px; }
.hero-trust {
  display: flex; gap: 12px; align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-trust .stars { color: var(--red); letter-spacing: 2px; font-size: 18px; }
.hero-trust p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.4; }

/* hero visual collage */
.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 10px;
}
@media (min-width: 540px) {
  .hero-visual {
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto auto;
  }
}
.hero-img-main {
  margin: 0; overflow: hidden;
  border-radius: var(--r);
  aspect-ratio: 4/5;
}
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-aux {
  margin: 0; overflow: hidden;
  border-radius: var(--r);
  aspect-ratio: 4/3;
  align-self: end;
}
@media (min-width: 540px) {
  .hero-img-main { grid-row: 1 / 3; aspect-ratio: 3/4; }
  .hero-img-aux { aspect-ratio: 1/1; }
}
.hero-img-aux img { width: 100%; height: 100%; object-fit: cover; }

.hero-badge {
  position: absolute; left: -14px; bottom: 18px;
  background: var(--red); color: #fff;
  padding: 18px 22px; border-radius: var(--r);
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-lg);
}
.hero-badge .num {
  font-family: var(--f-display);
  font-size: 48px; font-weight: 600; line-height: 1;
}
.hero-badge .lbl {
  font-family: var(--f-ui); font-size: 11.5px;
  text-transform: uppercase; letter-spacing: 1.6px;
  line-height: 1.35; font-weight: 500;
}
@media (min-width: 540px) {
  .hero-badge { left: auto; right: -18px; bottom: 28px; }
  .hero-badge .num { font-size: 56px; }
}

/* ---------- STATS ---------- */
.stats {
  background: var(--ink);
  color: #fff;
  padding: 44px 0;
}
.stats-grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.stats-grid > div { display: flex; flex-direction: column; align-items: center; }
.stats-grid > div { position: relative; }
@media (min-width: 760px) {
  .stats-grid > div + div::before {
    content: ""; position: absolute; left: -10px; top: 14%; bottom: 14%;
    width: 1px; background: rgba(255,255,255,.14);
  }
}
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(36px, 4.6vw, 56px);
  color: var(--red); font-weight: 600;
  line-height: 1;
}
.stat-suf {
  font-family: var(--f-display); font-size: clamp(28px, 3vw, 40px);
  color: var(--red); font-weight: 500; line-height: 1; margin-left: 2px;
}
.stats-grid p {
  font-family: var(--f-ui); font-size: 13px;
  color: rgba(255,255,255,.78); line-height: 1.4;
  margin: 10px 0 0; max-width: 22ch;
}

/* ---------- SECTIONS ---------- */
.section { padding: 96px 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-sand { background: var(--sand); }
.section-cream { background: var(--sand-3); }
.section-head { max-width: 740px; margin: 0 auto 56px; text-align: center; }
.section-head h2 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(32px, 4.6vw, 50px); line-height: 1.1;
  letter-spacing: -.6px; margin: 0 0 16px; color: var(--ink);
}
.section-head h2 em { font-style: italic; color: var(--red); font-weight: 500; }
.section-dark .section-head h2 { color: #fff; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 60ch; margin: 0 auto; line-height: 1.55; }
.section-sub.light { color: rgba(255,255,255,.78); }

/* ---------- SPLIT (sobre) ---------- */
.split-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 960px) { .split-grid { grid-template-columns: 1fr 1.15fr; gap: 72px; } }
.split-text h2 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(28px, 4vw, 44px); line-height: 1.12;
  letter-spacing: -.4px; margin: 0 0 20px; color: var(--ink);
}
.split-text p {
  color: var(--ink-2); font-size: 16.5px; line-height: 1.65; margin: 0 0 16px;
}
.bullet-list { margin-top: 22px; display: grid; gap: 10px; }
.bullet-list li {
  padding-left: 30px; position: relative; color: var(--ink-2); font-size: 15.5px;
}
.bullet-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 16px; height: 2px; background: var(--red);
}

.split-gallery {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
}
.split-gallery figure { margin: 0; overflow: hidden; border-radius: var(--r); }
.split-gallery figure:nth-child(1) {
  grid-row: 1 / 3;
  aspect-ratio: 3/4;
}
.split-gallery figure:nth-child(2),
.split-gallery figure:nth-child(3) {
  aspect-ratio: 4/3;
}
.split-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.split-gallery figure:hover img { transform: scale(1.04); }

/* ---------- SERVICES ---------- */
.svc-grid {
  display: grid; gap: 26px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc {
  background: #fff;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex; flex-direction: column;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--red); }
.svc figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.svc figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc:hover figure img { transform: scale(1.05); }
.svc-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.svc-body h3 {
  font-family: var(--f-display); font-weight: 600;
  font-size: 24px; margin: 0; color: var(--ink); line-height: 1.2;
}
.svc-body p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.55; flex: 1; }
.link-arrow {
  font-family: var(--f-ui); font-size: 14px; font-weight: 600;
  color: var(--red); display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px; padding-bottom: 4px;
  border-bottom: 1px solid transparent; align-self: flex-start;
}
.link-arrow span { transition: transform .2s ease; }
.link-arrow:hover { border-bottom-color: var(--red); }
.link-arrow:hover span { transform: translateX(3px); }

/* ---------- STEPS ---------- */
.steps {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
  counter-reset: steps;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li {
  padding: 32px 26px;
  background: var(--sand-3);
  border-radius: var(--r);
  position: relative;
  border: 1px solid var(--line);
}
.step-num {
  font-family: var(--f-display);
  font-size: 38px; font-weight: 600; color: var(--red);
  line-height: 1; display: inline-block; margin-bottom: 14px;
}
.steps h3 {
  font-family: var(--f-display); font-weight: 600;
  font-size: 21px; margin: 0 0 10px; color: var(--ink);
}
.steps p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.6; }

/* ---------- WHY (section-dark) ---------- */
.why-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) { .why-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.why-grid h2 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(28px, 4vw, 42px); line-height: 1.12;
  letter-spacing: -.4px; margin: 0 0 18px; color: #fff;
}
.why-grid h2 em { font-style: italic; color: var(--red); font-weight: 500; }
.why-list { display: grid; gap: 18px; }
.why-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 22px 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-left: 3px solid var(--red);
  border-radius: var(--r);
}
.why-num {
  font-family: var(--f-display); font-size: 28px; color: var(--red);
  font-weight: 600; line-height: 1;
}
.why-list h3 {
  font-family: var(--f-display); font-weight: 600;
  font-size: 19px; margin: 0 0 6px; color: #fff;
}
.why-list p { margin: 0; color: rgba(255,255,255,.78); font-size: 14.5px; line-height: 1.55; }

/* ---------- PROJECT GRID (asymmetric) ---------- */
.proj-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 760px) {
  .proj-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 180px;
    gap: 16px;
  }
  .g-1 { grid-column: span 2; grid-row: span 2; }
  .g-2 { grid-column: span 2; }
  .g-3 { grid-column: span 2; }
  .g-4 { grid-column: span 2; grid-row: span 2; }
  .g-5 { grid-column: span 2; }
  .g-6 { grid-column: span 2; grid-row: span 2; }
  .g-7 { grid-column: span 2; }
}
.g-item {
  padding: 0; border: 0; background: transparent; cursor: zoom-in;
  overflow: hidden; border-radius: var(--r);
  position: relative;
}
.g-item img {
  width: 100%; height: 100%; object-fit: cover;
  aspect-ratio: 3/4;
  transition: transform .5s ease;
}
@media (min-width: 760px) {
  .g-item img { aspect-ratio: auto; }
}
.g-item:hover img { transform: scale(1.05); }
.g-item:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- REPUTATION ---------- */
.rep-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 880px) { .rep-grid { grid-template-columns: 1.4fr 1fr; gap: 60px; } }
.rep-grid h2 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(28px, 4vw, 42px); line-height: 1.12;
  letter-spacing: -.4px; margin: 0 0 18px; color: var(--ink);
}
.rep-grid h2 em { font-style: italic; color: var(--red); font-weight: 500; }
.rep-grid p { color: var(--ink-2); margin: 0 0 16px; font-size: 16px; line-height: 1.6; }
.check { display: grid; gap: 12px; }
.check li {
  position: relative; padding: 10px 0 10px 36px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px; color: var(--ink-2);
}
.check li:last-child { border: 0; }
.check li::before {
  content: ""; position: absolute; left: 0; top: 17px;
  width: 22px; height: 2px; background: var(--red);
}

.rep-cards { display: grid; gap: 14px; }
.rep-card {
  background: #fff; padding: 28px;
  border-radius: var(--r);
  border-top: 4px solid var(--red);
  text-align: center;
  box-shadow: var(--shadow);
}
.rep-card .rep-stars { color: var(--red); font-size: 18px; letter-spacing: 2px; margin-bottom: 6px; }
.rep-card strong {
  display: block; font-family: var(--f-display);
  font-size: 48px; font-weight: 600; color: var(--ink); line-height: 1;
  margin-bottom: 4px;
}
.rep-card span {
  display: block; font-family: var(--f-ui); font-size: 13px;
  color: var(--muted); letter-spacing: .5px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); margin-bottom: 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] {
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(35,31,32,.06);
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: 22px 26px; font-weight: 600; font-size: 16.5px;
  font-family: var(--f-body); color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 26px; line-height: 1; color: var(--red);
  font-weight: 400; flex-shrink: 0;
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--red); }
.faq details > div { padding: 0 26px 24px; }
.faq details p { margin: 0; color: var(--ink-2); line-height: 1.65; }

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.contact-text h2 {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(28px, 4vw, 42px); line-height: 1.12;
  letter-spacing: -.4px; margin: 0 0 18px; color: var(--ink);
}
.contact-text h2 em { font-style: italic; color: var(--red); font-weight: 500; }
.contact-text > p { color: var(--ink-2); font-size: 16.5px; line-height: 1.6; margin: 0 0 28px; }

.contact-info {
  display: grid; gap: 22px;
  grid-template-columns: 1fr;
  margin-bottom: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 600px) { .contact-info { grid-template-columns: repeat(3, 1fr); } }
.contact-info > div {
  font-size: 14.5px; color: var(--ink-2); line-height: 1.55;
}
.contact-info strong {
  display: block; font-family: var(--f-ui); font-size: 11.5px; font-weight: 600;
  color: var(--red); text-transform: uppercase; letter-spacing: 1.8px;
  margin-bottom: 8px;
}
.contact-info small { color: var(--muted); font-size: 12.5px; }
.map-link {
  display: inline-block; color: var(--red);
  font-family: var(--f-ui); font-size: 14px; font-weight: 600;
}

.contact-form-card {
  background: #fff;
  border-radius: 6px;
  padding: 32px 30px 28px;
  box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--red);
}
.contact-form-card h3 {
  font-family: var(--f-display); font-weight: 600;
  font-size: 26px; line-height: 1.2; margin: 0 0 8px; color: var(--ink);
}
.contact-form-card .sub {
  font-size: 14px; color: var(--muted); margin: 0 0 20px;
}
.form .field { margin-bottom: 14px; }
.form label {
  font-family: var(--f-ui);
  display: block; font-size: 12px; font-weight: 600; color: var(--ink);
  letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 6px;
}
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 16px; min-height: 48px;
  background: var(--sand-3); color: var(--ink);
  border: 1.5px solid transparent; border-radius: var(--r);
  font-family: var(--f-body); font-size: 15px;
  transition: border-color .15s ease, background .15s ease;
}
.form textarea { min-height: 88px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--red); background: #fff;
}
.form button { margin-top: 6px; }
.form-foot {
  font-size: 12.5px; color: var(--muted); margin: 14px 0 0;
  line-height: 1.5;
}
.form-foot a { color: var(--red); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: #161213; color: rgba(255,255,255,.74);
  padding: 64px 0 24px; font-size: 14px;
}
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
  margin-bottom: 40px;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand p { margin: 16px 0 0; max-width: 36ch; line-height: 1.6; }
.site-footer strong {
  display: block; color: #fff;
  font-family: var(--f-ui); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px;
}
.site-footer ul { display: grid; gap: 8px; }
.site-footer a:hover { color: var(--red); }
.copy {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 18px;
  color: rgba(255,255,255,.5); font-size: 12px; font-family: var(--f-ui);
}

/* ---------- LIGHTBOX ---------- */
#lightbox {
  border: 0; padding: 0; background: rgba(35,31,32,.96);
  max-width: 96vw; max-height: 96vh; width: auto; height: auto;
  border-radius: var(--r); color: #fff;
}
#lightbox::backdrop { background: rgba(35,31,32,.86); }
#lightbox img { max-width: 96vw; max-height: 90vh; object-fit: contain; }
.lb-close {
  position: absolute; top: 12px; right: 16px;
  background: transparent; border: 0; color: #fff;
  font-size: 38px; line-height: 1; cursor: pointer;
}

/* ---------- FLOAT WHATSAPP ---------- */
.float-wpp {
  position: fixed; bottom: 18px; right: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
  transition: transform .2s ease;
}
.float-wpp:hover { transform: scale(1.08); color: #fff; }

/* =================================================
   DINÂMICA — animações, micro-interações, scroll fx
   ================================================= */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-2));
  transform-origin: left center; transform: scaleX(0);
  z-index: 99; pointer-events: none;
  transition: transform .08s linear;
}

/* Headline rotator */
.rot {
  display: inline-block;
  color: var(--red); font-style: italic; font-weight: 500;
  position: relative;
  transition: opacity .26s cubic-bezier(.2,.7,.3,1), transform .26s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.rot::after {
  content: ""; display: inline-block;
  width: 3px; height: .82em;
  background: var(--red); margin-left: 6px;
  vertical-align: -0.08em;
  animation: rotCursor 1s steps(1) infinite;
}
@keyframes rotCursor {
  50% { opacity: 0; }
}

/* CTA pulse — chama atenção sem ofender (verde WhatsApp) */
.cta-pulse { position: relative; }
.cta-pulse::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37,211,102,.5);
  animation: ctaPulse 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes ctaPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Ken-burns no hero */
.ken img {
  animation: ken 18s ease-in-out infinite alternate;
  transform-origin: center 38%;
}
@keyframes ken {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.1); }
}

/* Marquee */
.marquee {
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  padding: 18px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 80px;
  z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }
.marquee-track {
  display: inline-flex; gap: 32px; align-items: center;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--f-display); font-size: 22px; font-style: italic;
  color: #fff; font-weight: 500;
  padding-left: 32px;
}
.marquee-track .dot { color: var(--red); font-size: 12px; font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Reveal por scroll — aplica via JS adicionando .is-in */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
/* Stagger para listas/grids */
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }
.reveal.delay-5 { transition-delay: .40s; }
.reveal.delay-6 { transition-delay: .48s; }

/* Tilt 3D suave nos cards de serviço (somente hover desktop, mouse only) */
@media (hover: hover) and (pointer: fine) {
  .svc { transform-style: preserve-3d; perspective: 800px; }
  .svc figure img {
    transition: transform .5s cubic-bezier(.2,.7,.3,1);
  }
}

/* Float card do form do contato — leve suspensão */
.contact-form-card { transition: transform .4s ease, box-shadow .4s ease; }
.contact-form-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(35,31,32,.18); }

/* Hero badge — leve flutuar */
.hero-badge { animation: float 4.6s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Link arrow nudging */
.link-arrow span, .btn-link svg { display: inline-block; transition: transform .2s ease; }
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(4px); }
}
.link-arrow:not(:hover) span { animation: nudge 2.4s ease-in-out infinite; animation-delay: 1s; }

/* FAQ — open com leve slide */
.faq details > div {
  animation: faqIn .3s ease;
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Service card hover — sobe + brilho na borda inferior */
.svc { position: relative; }
.svc::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.svc:hover::after { transform: scaleX(1); }

/* Step card hover — número infla */
.steps li .step-num { transition: transform .3s ease, color .3s ease; display: inline-block; }
.steps li:hover .step-num { transform: scale(1.12) rotate(-3deg); }

/* ---------- A11y / reduced motion ---------- */
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .scroll-progress { display: none; }
}
