/* ============================================================
   FACILITA Construção e Reforma — Folha de estilos
   Paleta: cobre/laranja queimado · grafite · off-white quente · areia
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --orange: #C2641C;          /* laranja queimado / cobre */
  --orange-strong: #A4530F;
  --orange-bright: #E07A2B;   /* hover / detalhes */
  --orange-soft: rgba(194, 100, 28, .10);
  --orange-line: rgba(194, 100, 28, .28);

  --ink: #1B1C20;             /* texto principal */
  --ink-soft: #45474E;
  --muted: #6E6B66;           /* texto secundário (cinza quente) */

  --graphite: #161719;        /* preto sofisticado */
  --graphite-2: #1F2126;
  --graphite-3: #2A2D34;

  --bg: #FAF7F2;              /* off-white quente */
  --sand: #F2EBE0;            /* areia */
  --gray-light: #ECE5DB;
  --card: #FFFFFF;

  --line: rgba(23, 24, 28, .10);
  --line-soft: rgba(23, 24, 28, .065);

  --radius: 16px;
  --radius-sm: 11px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(16, 18, 24, .04), 0 3px 10px rgba(16, 18, 24, .05);
  --shadow-md: 0 8px 24px rgba(16, 18, 24, .09), 0 2px 6px rgba(16, 18, 24, .05);
  --shadow-lg: 0 28px 64px rgba(16, 18, 24, .18);

  --container: 1200px;
  --header-h: 90px;
  --gutter: clamp(1.1rem, 4vw, 2rem);

  --font-display: 'Sora', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.01em; font-weight: 700; }

:focus-visible { outline: 3px solid var(--orange-bright); outline-offset: 3px; border-radius: 4px; }

/* Sections offset for fixed header */
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

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

.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.section { padding: clamp(3.6rem, 7vw, 6.5rem) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-strong); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
.eyebrow-light { color: var(--orange-bright); }

.display { font-size: clamp(1.75rem, 1.1rem + 2.6vw, 2.85rem); font-weight: 700; }
.accent { color: var(--orange-bright); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); margin-top: .9rem; font-size: 1.075rem; max-width: 60ch; }
.section-head-light h2 { color: #fff; }
.section-head-light p { color: rgba(255, 255, 255, .7); }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; max-width: none; }
.section-head-row p { max-width: 380px; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--orange); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: .82rem 1.4rem; border: 1.5px solid transparent; border-radius: var(--radius-sm);
  transition: transform .18s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { box-shadow: 0 8px 20px rgba(194, 100, 28, .28); }
.btn-primary:hover { background: var(--orange-bright); box-shadow: 0 12px 26px rgba(194, 100, 28, .36); }
.btn-primary:hover .icon { transform: translateX(3px); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn-dark { background: var(--graphite); color: #fff; }
.btn-dark:hover { background: var(--graphite-3); }
.btn-dark:hover .icon { transform: translateX(3px); }

.btn-sm { padding: .58rem 1.05rem; font-size: .9rem; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.link-more {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  color: var(--orange-strong); margin-top: auto;
}
.link-more .icon { width: 1em; height: 1em; transition: transform .2s ease; }
.link-more:hover { color: var(--orange-bright); }
.link-more:hover .icon { transform: translateX(4px); }

/* ---------- Grids ---------- */
.cards-grid { display: grid; gap: 1.4rem; }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease, height .3s ease;
}
.site-header.scrolled {
  background: #fff;
  box-shadow: 0 4px 24px rgba(16, 18, 24, .09);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; color: var(--ink); }
.brand-logo { height: 46px; width: auto; display: block; }
.site-header .brand-logo { height: 69px; }
@media (max-width: 600px) {
  :root { --header-h: 78px; }
  .site-header .brand-logo { height: 50px; }
}

.nav-list { display: flex; align-items: center; gap: .35rem; }
.nav-list > li > a:not(.btn) {
  display: inline-block; padding: .55rem .8rem; border-radius: 8px;
  font-weight: 500; font-size: .96rem; color: var(--ink-soft);
  transition: color .2s ease, background .2s ease;
}
.nav-list > li > a:not(.btn):hover { color: var(--orange-strong); background: var(--orange-soft); }
.nav-cta { margin-left: .5rem; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; color: var(--ink); align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: clamp(620px, 94vh, 940px);
  display: flex; align-items: center; padding-top: var(--header-h);
  color: #fff; overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 16, 18, .92) 0%, rgba(15, 16, 18, .72) 42%, rgba(15, 16, 18, .28) 78%, rgba(15, 16, 18, .12) 100%),
    linear-gradient(0deg, rgba(15, 16, 18, .65) 0%, rgba(15, 16, 18, 0) 38%);
}
.hero-inner { position: relative; padding-block: clamp(2.5rem, 6vw, 4rem); }
.hero-content { max-width: 720px; padding-left: clamp(1rem, 2vw, 1.6rem); border-left: 3px solid var(--orange); }
.hero-title { font-size: clamp(2.1rem, 1.2rem + 4vw, 4rem); font-weight: 800; line-height: 1.06; }
.hero-sub { margin-top: 1.3rem; font-size: clamp(1.05rem, .98rem + .4vw, 1.25rem); color: rgba(255, 255, 255, .82); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.hero-stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.1rem, 2.2vw, 1.7rem);
  margin-top: 2.4rem; padding-top: 1.8rem; border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: #fff; }
.hero-stats span { font-size: .86rem; color: rgba(255, 255, 255, .68); max-width: 142px; margin-top: .2rem; }

.hero-scroll { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 14px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; translate: -50% 0; width: 4px; height: 8px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } 100% { opacity: 0; } }

/* ============================================================
   POSICIONAMENTO + FEATURE CARDS
   ============================================================ */
.positioning-head {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end; margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}
.positioning-text .display { max-width: 16ch; }
.positioning-lead { color: var(--muted); font-size: 1.1rem; padding-bottom: .4rem; }

.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--orange-line); }
.feature-icon, .service-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 1.15rem;
  background: var(--orange-soft); color: var(--orange-strong);
}
.feature-icon .icon, .service-icon .icon { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.feature-card p { color: var(--muted); font-size: .96rem; }

/* ============================================================
   SPLIT (Quem somos / Crédito / Contato)
   ============================================================ */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-reverse .split-media { order: 2; }
.split-text .display { margin-bottom: 1.1rem; }
.split-text > p { color: var(--ink-soft); font-size: 1.08rem; }

.split-media { position: relative; }
.split-media img {
  width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; object-position: center;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
#quem-somos .split-media img { object-position: center 14%; }
.split-media::before {
  content: ""; position: absolute; inset: auto auto -18px -18px; width: 58%; height: 58%;
  border: 2px solid var(--orange-line); border-radius: var(--radius-lg); z-index: -1;
}
.media-badge {
  position: absolute; right: -14px; bottom: 26px;
  display: flex; align-items: center; gap: .8rem;
  background: #fff; padding: .9rem 1.15rem; border-radius: 14px; box-shadow: var(--shadow-md);
  max-width: 280px;
}
.media-badge .icon { width: 30px; height: 30px; color: var(--orange); }
.media-badge strong { display: block; font-family: var(--font-display); font-size: .98rem; }
.media-badge span { font-size: .8rem; color: var(--muted); }

.highlight-list { display: grid; gap: 1.1rem; margin: 1.8rem 0 2rem; }
.highlight-list li { display: flex; gap: 1rem; align-items: flex-start; }
.hl-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--graphite); color: var(--orange-bright); flex: none; }
.hl-icon .icon { width: 23px; height: 23px; }
.highlight-list strong { display: block; font-family: var(--font-display); font-size: 1.03rem; }
.highlight-list span { font-size: .94rem; color: var(--muted); }

.check-list { display: grid; gap: .7rem; margin: 1.6rem 0 2rem; }
.check-list li { display: flex; align-items: center; gap: .7rem; font-weight: 500; color: var(--ink-soft); }
.check-list .icon { width: 22px; height: 22px; color: #fff; background: var(--orange); border-radius: 50%; padding: 4px; flex: none; }

/* ============================================================
   SERVIÇOS
   ============================================================ */
.section-services { background: linear-gradient(180deg, var(--bg) 0%, var(--sand) 100%); }
.service-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--orange-line); }
.service-card h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .94rem; margin-bottom: 1.2rem; }
.service-card-accent { background: var(--graphite); border-color: var(--graphite); }
.service-card-accent h3 { color: #fff; }
.service-card-accent p { color: rgba(255, 255, 255, .7); }
.service-card-accent .service-icon { background: rgba(224, 122, 43, .16); color: var(--orange-bright); }
.service-card-accent .link-more { color: var(--orange-bright); }

/* ============================================================
   PROCESSO
   ============================================================ */
.section-process { position: relative; background: var(--graphite); color: #fff; }
.section-process::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(1200px 400px at 80% -10%, rgba(224, 122, 43, .14), transparent 60%);
}
.section-process > .container { position: relative; }
.process-track { display: grid; gap: 1.4rem 1.6rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); position: relative; }
.process-step {
  position: relative; padding: 1.6rem 1.4rem;
  background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius); transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.process-step:hover { transform: translateY(-4px); border-color: rgba(224, 122, 43, .5); background: rgba(255, 255, 255, .06); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  color: #fff; background: linear-gradient(135deg, var(--orange) 0%, var(--orange-strong) 100%);
  box-shadow: 0 8px 20px rgba(194, 100, 28, .35);
}
.process-step h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.process-step p { color: rgba(255, 255, 255, .68); font-size: .94rem; }

@media (min-width: 760px) {
  .process-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Mobile: passos compactos em formato de linha do tempo (número à esquerda) */
@media (max-width: 759px) {
  .process-track { gap: .85rem; }
  .process-step {
    display: grid; grid-template-columns: auto 1fr;
    column-gap: .95rem; align-items: center;
    padding: 1.05rem 1.2rem;
  }
  .step-num {
    width: 44px; height: 44px; border-radius: 12px;
    font-size: 1.05rem; margin-bottom: 0;
  }
  .process-step h3 { grid-column: 2; font-size: 1.04rem; margin-bottom: 0; }
  .process-step p { grid-column: 2; margin-top: .2rem; font-size: .92rem; }
}

/* ============================================================
   PROJETOS
   ============================================================ */
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.project-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .project-media img { transform: scale(1.06); }
.project-body { display: flex; flex-direction: column; padding: 1.4rem 1.4rem 1.5rem; flex: 1; }
.tag {
  align-self: flex-start; font-family: var(--font-display); font-weight: 600;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-strong); background: var(--orange-soft);
  padding: .32rem .7rem; border-radius: var(--radius-pill); margin-bottom: .8rem;
}
.project-body h3 { font-size: 1.14rem; margin-bottom: .5rem; }
.project-body p { color: var(--muted); font-size: .94rem; margin-bottom: 1.2rem; }

/* ============================================================
   LINHA DE CRÉDITO
   ============================================================ */
.section-credit { background: var(--sand); }

/* ============================================================
   BLOG
   ============================================================ */
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-media img { transform: scale(1.06); }
.post-cat {
  position: absolute; left: 14px; top: 14px;
  font-family: var(--font-display); font-weight: 600; font-size: .74rem; letter-spacing: .05em;
  color: #fff; background: var(--orange); padding: .32rem .75rem; border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
}
.post-body { display: flex; flex-direction: column; padding: 1.4rem; flex: 1; }
.post-body h3 { font-size: 1.14rem; line-height: 1.3; margin-bottom: .6rem; }
.post-body h3 a:hover { color: var(--orange-strong); }
.post-body p { color: var(--muted); font-size: .94rem; margin-bottom: 1.2rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; padding: clamp(3rem, 6vw, 5rem) 0; color: #fff; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; background: var(--graphite); }
.cta-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 360px at 12% 120%, rgba(224, 122, 43, .26), transparent 60%),
    radial-gradient(700px 300px at 90% -20%, rgba(224, 122, 43, .14), transparent 60%);
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-text h2 { color: #fff; max-width: 18ch; }
.cta-text p { color: rgba(255, 255, 255, .76); margin-top: .7rem; max-width: 46ch; }

/* ============================================================
   CONTATO
   ============================================================ */
.contact-list { display: grid; gap: 1.1rem; margin-top: 1.8rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.contact-ic { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-strong); flex: none; }
.contact-ic .icon { width: 23px; height: 23px; }
.contact-list strong { display: block; font-family: var(--font-display); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-list a, .contact-list span { font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.contact-list a:hover { color: var(--orange-strong); }

.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(1.5rem, 3vw, 2.2rem); }
.form-intro { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 1.2rem; }
.contact-form .field { margin-bottom: 1rem; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: .4rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 16px; color: var(--ink); /* 16px evita zoom automático ao focar no iOS */
  padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .2s ease, box-shadow .2s ease; width: 100%;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px var(--orange-soft);
}
.contact-form input.invalid, .contact-form textarea.invalid { border-color: #d14343; box-shadow: 0 0 0 4px rgba(209, 67, 67, .12); }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: .9rem; }
.btn-block { margin-top: .4rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #fff; color: var(--ink-soft); padding-top: clamp(3rem, 6vw, 4.5rem); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); padding-bottom: 3rem; }
.footer-contact a, .contact-list a { overflow-wrap: anywhere; }
.brand-footer .brand-logo { height: 52px; }
.footer-brand > p { margin-top: 1.1rem; font-size: .95rem; max-width: 38ch; color: var(--muted); }
.social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 11px; background: var(--sand); color: var(--ink); border: 1px solid var(--line-soft); transition: background .2s ease, transform .2s ease, color .2s ease, border-color .2s ease; }
.social a:hover { background: var(--orange); color: #fff; border-color: var(--orange); transform: translateY(-3px); }
.social .icon { width: 20px; height: 20px; }

.footer-col h4 { font-size: 1rem; color: var(--ink); margin-bottom: 1.2rem; font-family: var(--font-display); }
.footer-links li, .footer-contact li { margin-bottom: .7rem; font-size: .95rem; }
.footer-links a { color: var(--ink-soft); }
.footer-links a:hover { color: var(--orange-strong); padding-left: 4px; transition: padding .2s ease, color .2s ease; }
.footer-contact li { display: flex; align-items: flex-start; gap: .65rem; color: var(--ink-soft); }
.footer-contact .icon { width: 18px; height: 18px; color: var(--orange); margin-top: 3px; flex: none; }
.footer-contact a:hover { color: var(--orange-strong); }

.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.4rem; font-size: .85rem; color: var(--muted); }

/* ============================================================
   LANDING DE CAMPANHA (/reforma-residencial)
   ============================================================ */
/* CTA WhatsApp — verde oficial */
.btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .30); }
.btn-whatsapp:hover { background: #1DA851; box-shadow: 0 12px 26px rgba(37, 211, 102, .38); }
.btn-whatsapp .icon { width: 1.2em; height: 1.2em; }
.cta-sla { margin-top: .75rem; font-size: .85rem; color: var(--muted); }
.cta-sla-light { color: rgba(255, 255, 255, .72); }
.btn-outline-dark { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline-dark:hover { background: var(--sand); border-color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* Hero */
.lp-hero { padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); background: linear-gradient(180deg, var(--bg) 0%, var(--sand) 100%); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.lp-hero h1 { font-size: clamp(1.85rem, 1.1rem + 2.9vw, 3rem); margin-bottom: 1rem; }
.lp-hero-sub { font-size: clamp(1.02rem, .98rem + .35vw, 1.14rem); color: var(--ink-soft); margin-bottom: 1.6rem; max-width: 56ch; }
.lp-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.7rem; }
.lp-badge { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: .45rem .85rem; font-size: .83rem; font-weight: 600; color: var(--ink-soft); }
.lp-badge .icon { width: 15px; height: 15px; color: var(--orange); flex: none; }
.lp-hero-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* Dor / empatia */
.lp-pain-close { margin-top: 1.9rem; padding: 1.2rem 1.4rem; background: var(--orange-soft); border-left: 3px solid var(--orange); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); font-weight: 500; }

/* Passos */
.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: 1.2rem; }

/* Prova */
/* Destaque: colagem antes/depois — limita a largura (nao cortar: perderia o antes/depois) */
.lp-proof-hero { max-width: 700px; margin-inline: auto; }
.lp-proof-hero img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
/* Flex (e não grid) para o bloco ficar bem resolvido com 1 ou 2 itens */
.lp-proof-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; margin-top: 1.8rem; }
.lp-proof-item { flex: 1 1 300px; max-width: 560px; }
.lp-proof-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.lp-caption { margin-top: .7rem; font-size: .92rem; color: var(--muted); }

/* Engenheiro responsável */
.lp-eng { background: var(--graphite); color: #fff; }
.lp-eng-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.lp-eng-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 12%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.lp-eng h2 { color: #fff; }
.lp-eng-name { font-family: var(--font-display); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); font-weight: 700; color: #fff; margin-bottom: .5rem; }
.lp-eng-cred { display: inline-flex; align-items: center; gap: .5rem; background: rgba(224, 122, 43, .16); color: var(--orange-bright); border-radius: var(--radius-pill); padding: .42rem .9rem; font-size: .85rem; font-weight: 600; margin-bottom: 1.2rem; }
.lp-eng-cred .icon { width: 16px; height: 16px; }
.lp-eng p { color: rgba(255, 255, 255, .72); margin-bottom: 1.6rem; }

/* FAQ */
.lp-faq { max-width: 820px; }
.lp-faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: .8rem; overflow: hidden; }
.lp-faq summary { cursor: pointer; list-style: none; padding: 1.05rem 1.2rem; font-family: var(--font-display); font-weight: 600; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 1.45rem; color: var(--orange); line-height: 1; flex: none; }
.lp-faq details[open] summary::after { content: "−"; }
.lp-faq details[open] summary { border-bottom: 1px solid var(--line); }
.lp-faq .faq-a { padding: 1rem 1.2rem 1.2rem; color: var(--ink-soft); font-size: .96rem; }

/* CTA final */
.lp-final { text-align: center; }
.lp-final h2 { color: #fff; margin-inline: auto; }
.lp-final > p { color: rgba(255, 255, 255, .76); margin: .8rem auto 0; max-width: 52ch; }
.lp-final-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 1.8rem; }

/* Barra fixa de CTA (somente mobile) */
.sticky-cta { display: none; }
@media (max-width: 767px) {
  .sticky-cta {
    display: flex; gap: .6rem; align-items: center;
    position: fixed; inset: auto 0 0 0; z-index: 95;
    padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16, 18, 24, .10);
  }
  .sticky-cta .btn { padding: .82rem .5rem; font-size: .95rem; }
  .sticky-cta .sticky-wa { flex: 0 0 68%; }
  .sticky-cta .sticky-call { flex: 1; }
  /* CTAs de texto longo: largura total e quebra de linha (evita rolagem horizontal) */
  .lp main .btn-lg { width: 100%; white-space: normal; }
  body.lp { padding-bottom: 86px; }      /* a barra não cobre o conteúdo */
  .lp .whatsapp-float { display: none; } /* redundante com a barra fixa */
  .lp .to-top { bottom: 98px; }
}

@media (max-width: 900px) {
  .lp-hero-grid, .lp-eng-grid { grid-template-columns: 1fr; }
  .lp-eng-media { max-width: 360px; }
}

/* ============================================================
   PÁGINA LEGAL (Política de Privacidade)
   ============================================================ */
.legal { padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.legal-inner { max-width: 780px; }
.legal h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.6rem); margin-bottom: .5rem; }
.legal-updated { color: var(--muted); font-size: .95rem; margin-bottom: 2.2rem; }
.legal h2 { font-size: 1.18rem; margin: 2.1rem 0 .7rem; }
.legal p { color: var(--ink-soft); margin-bottom: .9rem; }
.legal ul { margin: 0 0 1.1rem; }
.legal ul li { position: relative; padding-left: 1.35rem; margin-bottom: .5rem; color: var(--ink-soft); }
.legal ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.legal a { color: var(--orange-strong); text-decoration: underline; }
.legal a:hover { color: var(--orange-bright); }
.footer-legal a { color: inherit; text-decoration: underline; }
.footer-legal a:hover { color: var(--orange-bright); }

/* ============================================================
   FLOATING ELEMENTS
   ============================================================ */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .icon { width: 30px; height: 30px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

.to-top {
  position: fixed; right: 24px; bottom: 92px; z-index: 90;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease, color .2s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--ink); color: #fff; }
.to-top .icon { width: 22px; height: 22px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1080px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: rgba(250, 247, 242, .98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(16, 18, 24, .12);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .2rem; padding: 1rem var(--gutter) 1.5rem; }
  .nav-list > li > a:not(.btn) { display: block; padding: .85rem .6rem; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav-cta { margin: .8rem 0 0; }
  .nav-cta .btn { width: 100%; padding: .9rem; font-size: 1.02rem; }
  .nav-toggle { display: inline-flex; }

  .positioning-head { grid-template-columns: 1fr; align-items: start; gap: 1rem; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-reverse .split-media { order: 0; }
  .media-badge { right: 12px; }
  .section-head-row { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .section-head-row p { max-width: none; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .cols-4, .cols-3, .projects-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-content { border-left-width: 0; padding-left: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 1.2rem 1.8rem; }
  .hero-stats strong { font-size: 1.5rem; }
  .link-more { padding-block: .45rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > .footer-col:nth-child(2) { grid-column: 1 / -1; }
  .media-badge { position: static; margin-top: 1rem; max-width: none; }
  .split-media::before { display: none; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .whatsapp-float { width: 52px; height: 52px; }
}

/* ---------- Acessibilidade: movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
