/* =========================================================
   Silva & Teixeira — Landing: Assessoria Jurídica para Condomínios
   Builds on colors_and_type.css. Differentiated, photographic,
   premium tone — keeps brand DNA (gold, wood, serif, square
   corners, hairline rules, numbers-as-ornament).
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
body { margin: 0; }

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

/* Shared image treatment — warm sepia, brand spec ----------- */
.imgtreat {
  filter: sepia(var(--lp-sepia, 0.32)) saturate(0.92) brightness(0.96) contrast(1.02);
}

/* Section scaffolding -------------------------------------- */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--bg2 { background: var(--bg-2); }
.section--paper { background: var(--paper); }
.section--wood {
  background:
    radial-gradient(ellipse 60% 70% at 80% 0%, rgba(201,168,106,0.12), transparent 60%),
    var(--wood);
  color: var(--paper);
}
.section__head { max-width: 820px; margin: 0 auto clamp(48px, 6vw, 76px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.section__head.is-left { text-align: left; align-items: flex-start; margin-left: 0; margin-right: 0; }
.section__head h2 { margin: 0; max-width: 20ch; }
.section__head p { margin: 0; max-width: 60ch; font-size: 17px; }
.section--wood .section__head h2 { color: var(--paper); }
.section--wood .section__head p { color: rgba(250,246,238,0.74); }

.eyebrow--pill { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow--pill::before,
.eyebrow--pill.center::after { content: ""; width: 30px; height: 1px; background: var(--gold); }
.eyebrow--light { color: var(--gold-soft); }
.eyebrow--light.eyebrow--pill::before,
.eyebrow--light.eyebrow--pill.center::after { background: var(--gold-soft); }

em.gold { font-style: italic; color: var(--gold-deep); }
.section--wood em.gold, .hero em.gold { color: var(--gold-soft); }

/* Reveal on scroll ----------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 760ms var(--ease), transform 760ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   HEADER (fixed, scroll-aware) — landing variant
   ========================================================= */
.lp-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; padding: 16px 0;
  transition: background-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.lp-header.scrolled { background: rgba(20,14,8,0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: rgba(201,168,106,0.22); box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6); }
.lp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lp-brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; flex: 0 0 auto; }
.lp-brand > span { display: flex; flex-direction: column; justify-content: center; }
.lp-brand img { width: 42px; height: 42px; flex: 0 0 42px; }
.lp-brand__name { font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1; color: var(--paper); white-space: nowrap; }
.lp-brand__sub { font-family: var(--sans); font-size: 9px; font-weight: 500; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-soft); margin-top: 6px; white-space: nowrap; }
.lp-brand__dot { letter-spacing: 0; margin: 0 0.18em; }
.lp-nav { display: inline-flex; align-items: center; gap: 30px; }
.lp-nav a { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: rgba(250,246,238,0.78); transition: color var(--dur) var(--ease); }
.lp-nav a:hover { color: var(--gold-soft); }
.lp-header__cta { padding: 11px 20px; font-size: 11px; letter-spacing: 0.16em; flex: 0 0 auto; }
@media (max-width: 1100px) {
  .lp-nav { display: none; }
  .lp-header__cta { padding: 11px; }
  .lp-header__cta .lp-header__cta-label { display: none; }
  .lp-header__cta.wa { gap: 0; }
}
@media (max-width: 600px) {
  .lp-header__inner { gap: 12px; }
  .lp-brand { min-width: 0; }
  .lp-brand img { width: 36px; height: 36px; flex: 0 0 36px; }
  .lp-brand__name { font-size: 17px; }
  .lp-brand__sub { font-size: 8px; }
}

/* WhatsApp button glyph ------------------------------------ */
.wa { display: inline-flex; align-items: center; gap: 11px; }
.wa svg { width: 17px; height: 17px; flex: 0 0 17px; }

/* =========================================================
   HERO — three variations, toggled by body[data-hero]
   ========================================================= */
.hero { position: relative; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; }

.hero .eyebrow { color: var(--gold-soft); }
.hero h1 { font-size: clamp(40px, 6vw, 84px); line-height: 1.0; max-width: 16ch; margin: 22px 0 0; }
.hero__sub { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.42; margin: 24px 0 0; max-width: 40ch; }
.hero__comp { font-family: var(--sans); font-size: 16px; line-height: 1.65; margin: 18px 0 0; max-width: 46ch; }
.hero__ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 38px; }

.hero__trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.hero__trust .ti { padding: 20px 22px; display: flex; align-items: flex-start; gap: 13px; }
.hero__trust .ti span { font-family: var(--sans); font-size: 13px; line-height: 1.4; letter-spacing: 0.01em; }
.hero__trust .ti b { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1; }
.hero__trust .tick { width: 8px; height: 8px; margin-top: 5px; flex: 0 0 8px; background: var(--gold-soft); transform: rotate(45deg); }

/* Hide all heroes by default, reveal active one ------------ */
.hero--cinema, .hero--split, .hero--plaque { display: none; }
body[data-hero="cinema"] .hero--cinema { display: flex; }
body[data-hero="split"]  .hero--split  { display: grid; }
body[data-hero="plaque"] .hero--plaque { display: block; }

/* --- Variation A: Cinema (full-bleed photo) --------------- */
.hero--cinema { min-height: 100vh; flex-direction: column; justify-content: flex-end; padding-top: 120px; }
.hero--cinema .hero__scrim {
  background:
    linear-gradient(180deg, rgba(20,14,8,0.62) 0%, rgba(20,14,8,0.28) 32%, rgba(20,14,8,0.55) 72%, rgba(15,10,6,0.94) 100%),
    linear-gradient(90deg, rgba(15,10,6,0.78) 0%, rgba(15,10,6,0.12) 60%);
}
.hero--cinema .hero__inner { padding: 40px 0 60px; }
.hero--cinema h1, .hero--cinema .eyebrow { color: var(--paper); }
.hero--cinema .hero__sub { color: rgba(250,246,238,0.9); }
.hero--cinema .hero__comp { color: rgba(250,246,238,0.7); }
.hero--cinema .hero__trust { margin-top: 54px; border-top: 1px solid rgba(201,168,106,0.28); }
.hero--cinema .hero__trust .ti { border-left: 1px solid rgba(201,168,106,0.18); padding-left: 22px; }
.hero--cinema .hero__trust .ti:first-child { border-left: 0; padding-left: 0; }
.hero--cinema .hero__trust .ti span { color: rgba(250,246,238,0.82); }

/* --- Variation B: Split (text + photo column) ------------- */
.hero--split { grid-template-columns: 1.05fr 0.95fr; min-height: 100vh; }
.hero--split .hero__panel {
  background:
    radial-gradient(ellipse 70% 60% at 0% 10%, rgba(201,168,106,0.10), transparent 62%),
    var(--wood);
  display: flex; align-items: center; padding: 140px clamp(28px, 5vw, 88px) 80px;
}
.hero--split .hero__panel-in { max-width: 560px; }
.hero--split h1, .hero--split .eyebrow { color: var(--paper); }
.hero--split .hero__sub { color: rgba(250,246,238,0.88); }
.hero--split .hero__comp { color: rgba(250,246,238,0.66); }
.hero--split .hero__photo { position: relative; overflow: hidden; min-height: 420px; }
.hero--split .hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--split .hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(31,21,13,0.5), transparent 45%); }
.hero--split .hero__trust { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); background: var(--ink); }
.hero--split .hero__trust .ti { background: var(--wood); border-left: 1px solid rgba(201,168,106,0.16); }
.hero--split .hero__trust .ti:first-child { border-left: 0; }
.hero--split .hero__trust .ti span { color: rgba(250,246,238,0.8); }

/* --- Variation C: Plaque (dark, framed photo inset) ------- */
.hero--plaque {
  background:
    radial-gradient(ellipse 50% 60% at 50% 0%, rgba(201,168,106,0.14), transparent 60%),
    var(--wood);
  padding: 160px 0 90px; text-align: center;
}
.hero--plaque .hero__inner { display: flex; flex-direction: column; align-items: center; }
.hero--plaque h1, .hero--plaque .eyebrow { color: var(--paper); }
.hero--plaque h1 { max-width: 18ch; }
.hero--plaque .hero__sub { color: rgba(250,246,238,0.86); margin-left: auto; margin-right: auto; max-width: 52ch; }
.hero--plaque .hero__ctas { justify-content: center; }
.hero--plaque .hero__frame { margin: 56px auto 0; max-width: 1080px; border: 1px solid var(--gold-deep); padding: 10px; background: rgba(0,0,0,0.25); position: relative; }
.hero--plaque .hero__frame img { width: 100%; height: clamp(220px, 38vw, 440px); object-fit: cover; }
.hero--plaque .hero__frame::after { content: ""; position: absolute; inset: 10px; background: linear-gradient(180deg, transparent 55%, rgba(15,10,6,0.5)); pointer-events: none; }
.hero--plaque .hero__trust { max-width: 1080px; margin: 0 auto; border: 1px solid rgba(201,168,106,0.24); border-top: 0; background: rgba(201,168,106,0.18); }
.hero--plaque .hero__trust .ti { background: var(--wood); justify-content: center; text-align: left; }
.hero--plaque .hero__trust .ti span { color: rgba(250,246,238,0.8); }

@media (max-width: 900px) {
  .hero--split { grid-template-columns: 1fr; }
  .hero--split .hero__photo { min-height: 280px; order: -1; }
  .hero--split .hero__panel { padding-top: 120px; }
  .hero__trust { grid-template-columns: repeat(2, 1fr) !important; }
  .hero--cinema .hero__trust .ti:nth-child(3) { border-left: 0; }
}

/* =========================================================
   PROBLEM — ledger grid of common pains
   ========================================================= */
.prob-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.prob { background: var(--bg); padding: 30px 26px 34px; display: flex; flex-direction: column; gap: 14px; min-height: 188px; transition: background var(--dur) var(--ease); }
.prob:hover { background: var(--wood); }
.prob:hover h3 { color: var(--paper); }
.prob:hover p { color: rgba(250,246,238,0.74); }
.prob:hover .prob__n { color: var(--gold-soft); }
.prob:hover .prob__n::after { background: var(--gold-soft); }
.prob h3, .prob p, .prob__n { transition: color var(--dur) var(--ease); }
.prob__n::after { transition: background var(--dur) var(--ease); }
.prob__n { font-family: var(--serif); font-size: 13px; letter-spacing: 0.28em; color: var(--gold); display: inline-flex; align-items: center; gap: 11px; }
.prob__n::after { content: ""; width: 26px; height: 1px; background: var(--gold); }
.prob h3 { margin: 0; font-size: 22px; line-height: 1.18; }
.prob p { margin: 0; font-size: 14px; }
@media (max-width: 900px) { .prob-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .prob-grid { grid-template-columns: 1fr; } }

/* =========================================================
   SOLUTION — four differentials, one dark card for rhythm
   ========================================================= */
.diff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.diff { background: var(--paper); border: 1px solid var(--rule); padding: 40px 38px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease); }
.diff:hover { box-shadow: var(--shadow-md); }
.diff__ic { width: 46px; height: 46px; }
.diff__ic svg { width: 46px; height: 46px; stroke: var(--gold); stroke-width: 1.1; fill: none; }
.diff h3 { margin: 4px 0 0; font-size: 26px; }
.diff p { margin: 0; font-size: 15.5px; }
.diff--dark { background: var(--wood); border-color: var(--gold-deep); }
.diff--dark h3 { color: var(--paper); }
.diff--dark p { color: rgba(250,246,238,0.74); }
.diff--dark .diff__ic svg { stroke: var(--gold-soft); }
@media (max-width: 760px) { .diff-grid { grid-template-columns: 1fr; } }

/* =========================================================
   SERVICES — two-column ledger list
   ========================================================= */
.serv-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; }
.serv { display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.serv__n { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--gold-deep); border-top: 1px solid var(--gold); padding-top: 7px; }
.serv__t { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.28; color: var(--ink); }
@media (max-width: 760px) { .serv-list { grid-template-columns: 1fr; gap: 0; } }

/* =========================================================
   BENEFITS — on wood, gold ticks
   ========================================================= */
.benf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(201,168,106,0.2); border: 1px solid rgba(201,168,106,0.22); }
.benf { background: var(--wood); padding: 28px 30px; display: flex; gap: 18px; align-items: flex-start; }
.benf__mk { font-family: var(--serif); font-size: 22px; color: var(--gold-soft); line-height: 1; margin-top: 2px; }
.benf p { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.3; color: var(--paper); }
@media (max-width: 760px) { .benf-grid { grid-template-columns: 1fr; } }

/* =========================================================
   AUTHORITY — split: institutional photo + copy + stats
   ========================================================= */
.auth { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(40px, 6vw, 84px); align-items: center; }
.auth__media { position: relative; }
.auth__media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; border: 1px solid var(--rule); }
.auth__media .auth__seal { position: absolute; left: -1px; bottom: -1px; background: var(--wood); border: 1px solid var(--gold-deep); padding: 18px 22px; display: flex; align-items: center; gap: 14px; }
.auth__media .auth__seal img { width: 40px; height: 40px; min-height: 0; border: 0; }
.auth__media .auth__seal span { font-family: var(--sans); font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold-soft); line-height: 1.5; }
.auth__copy h2 { margin: 16px 0 0; }
.auth__copy > p { margin: 22px 0 0; font-size: 17px; max-width: 52ch; }
.auth__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-top: 40px; }
.auth__stats .st { background: var(--paper); padding: 26px 22px; }
.auth__stats .st b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 4vw, 46px); color: var(--gold-deep); line-height: 1; }
.auth__stats .st span { display: block; margin-top: 10px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.auth__areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.auth__tag { font-family: var(--sans); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--rule-strong); padding: 9px 15px; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; } .auth__media img { min-height: 320px; } }

/* =========================================================
   HOW IT WORKS — 4 numbered steps with connecting rule
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(201,168,106,0.22); border: 1px solid rgba(201,168,106,0.22); }
.step { background: var(--wood); padding: 40px 30px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.step__n { font-family: var(--serif); font-size: 56px; font-weight: 500; line-height: 0.9; color: var(--gold-soft); }
.step h3 { margin: 6px 0 0; font-size: 23px; color: var(--paper); }
.step p { margin: 0; font-size: 15px; color: rgba(250,246,238,0.72); }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* =========================================================
   FINAL CTA
   ========================================================= */
.finalcta { text-align: center; }
.finalcta__inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.finalcta h2 { margin: 0; font-size: clamp(36px, 4.6vw, 60px); }
.finalcta p { margin: 0; font-size: 18px; max-width: 50ch; }
.finalcta__support { font-family: var(--sans); font-size: 13px; letter-spacing: 0.04em; color: rgba(250,246,238,0.6); }

/* =========================================================
   FOOTER
   ========================================================= */
.lp-footer { background: var(--ink); color: rgba(250,246,238,0.6); padding: 76px 0 32px; }
.lp-footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-bottom: 52px; }
.lp-footer__brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.lp-footer__brand img { width: 200px; }
.lp-footer__lockup { display: inline-flex; align-items: center; gap: 15px; text-decoration: none; }
.lp-footer__lockup img { width: 52px; height: 52px; flex: 0 0 52px; }
.lp-footer__lockup-txt { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.lp-footer__lockup-name { font-family: var(--serif); font-size: 27px; font-weight: 600; color: var(--gold-soft); letter-spacing: 0.005em; }
.lp-footer__lockup-sub { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold-soft); margin-top: 7px; }
.lp-footer__brand p { margin: 0; font-size: 13px; color: rgba(250,246,238,0.56); line-height: 1.6; }
.lp-footer__lbl { font-family: var(--sans); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 16px; }
.lp-footer__col a, .lp-footer__col span { display: block; font-family: var(--sans); font-size: 14px; color: rgba(250,246,238,0.72); text-decoration: none; padding: 5px 0; transition: color var(--dur) var(--ease); }
.lp-footer__col a:hover { color: var(--gold-soft); }
.lp-footer .rule { background: rgba(201,168,106,0.2); height: 1px; border: 0; }
.lp-footer__bottom { display: flex; justify-content: space-between; gap: 18px; padding-top: 26px; font-family: var(--sans); font-size: 11px; letter-spacing: 0.05em; color: rgba(250,246,238,0.42); flex-wrap: wrap; }
.lp-footer__disc { margin-top: 14px; font-style: italic; font-family: var(--serif); font-size: 14px; color: rgba(250,246,238,0.5); }
@media (max-width: 760px) { .lp-footer__top { grid-template-columns: 1fr; gap: 36px; } }

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.wa-float { position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(16px, 3vw, 30px); z-index: 95; display: inline-flex; align-items: center; gap: 11px; background: var(--gold); color: var(--paper); padding: 14px 20px; text-decoration: none; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; box-shadow: 0 16px 40px -14px rgba(20,14,8,0.7); transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); border: 1px solid var(--gold-deep); }
.wa-float:hover { background: var(--gold-deep); transform: translateY(-2px); }
.wa-float svg { width: 20px; height: 20px; fill: var(--paper); }
.wa-float__label { white-space: nowrap; }
@media (max-width: 560px) { .wa-float__label { display: none; } .wa-float { padding: 15px; border-radius: 0; } }

/* Buttons: ensure WhatsApp icon buttons size well ----------- */
.btn-gold svg, .btn-primary svg, .btn-outline svg { fill: currentColor; }
.btn--lg { padding: 18px 32px; font-size: 13px; }

/* =========================================================
   MOBILE OVERFLOW SAFEGUARDS
   ========================================================= */
@media (max-width: 600px) {
  /* Long CTA buttons must wrap instead of forcing page width */
  .hero__ctas .btn { white-space: normal; text-align: center; justify-content: center; max-width: 100%; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn--lg { width: 100%; padding: 16px 22px; }
  .finalcta .btn--lg { white-space: normal; text-align: center; justify-content: center; max-width: 100%; padding: 16px 22px; }
  /* Authority stats: lighter type so 3 columns fit */
  .auth__stats .st { padding: 18px 12px; }
  .auth__stats .st b { font-size: 30px; }
  .auth__stats .st span { font-size: 9.5px; letter-spacing: 0.12em; }
  /* Hero trust: single column reads better on phones */
  .hero__trust { grid-template-columns: 1fr !important; }
  .hero--cinema .hero__trust .ti,
  .hero--cinema .hero__trust .ti:first-child { padding-left: 0; border-left: 0; }
  .auth__media img { min-height: 260px; }
}
