/* ===========================================================
   Home page — Makita & Lucato (Full Light Theme)
   Cream paper, navy text, brushed gold accents.
   =========================================================== */

/* ----- Hero (LIGHT) ----- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 140px 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 45% 55% at 10% 25%, rgba(156,122,54,0.10), transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 80%, rgba(184,146,76,0.08), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--bg-deep) 60%, var(--bg) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.35;
  z-index: 4;
}

/* Marble veining over the hero (subtle) */
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  opacity: 0.4;
}
.hero-marble { display: none; }
.hero-vignette { display: none; }

.hero-brasao {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 34%;
  max-width: 480px;
  height: auto;
  z-index: 2;
  opacity: 1;
  filter: drop-shadow(0 40px 50px rgba(156, 122, 54, 0.28)) drop-shadow(0 0 30px rgba(156, 122, 54, 0.08));
  animation: brasaoFloat 14s ease-in-out infinite;
  pointer-events: none;
}
@keyframes brasaoFloat {
  0%, 100% { transform: translateY(-50%) translateY(0); }
  50% { transform: translateY(-50%) translateY(-10px); }
}
@media (max-width: 1100px) {
  .hero-brasao { right: -8%; width: 56%; opacity: 0.22 !important; }
}
@media (max-width: 720px) {
  .hero-brasao {
    right: -22%; bottom: -8%; top: auto; transform: none;
    width: 80%; opacity: 0.16 !important;
    animation: brasaoEnter 2.4s 0.4s var(--ease-out) forwards;
  }
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
}
.hero-inner > * { max-width: 640px; }
.hero-inner .hero-bottom { max-width: none; }

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 40px;
  font-weight: 500;
}
.hero-meta-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.hero-title {
  margin: 0 0 40px;
  max-width: none;
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.026em;
  color: var(--text);
  font-family: var(--font-display);
}
.hero-title .line {
  display: block;
  white-space: nowrap;
}
.hero-title .line > * { display: inline-block; }
.hero-title .line:nth-child(2) { color: var(--gold-deep); padding-left: 28px; }
.hero-title .line:nth-child(2) em { font-style: italic; font-weight: 300; }

.hero-sub {
  max-width: 50ch;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--text-soft);
  margin: 0 0 48px;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 96px;
  flex-wrap: wrap;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto;
  gap: 0;
  align-items: end;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  position: relative;
}
.hero-bottom > .hero-stat { padding-right: 48px; padding-left: 48px; }
.hero-bottom > .hero-stat:first-child { padding-left: 0; }
.hero-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
  margin-block: 8px;
}
@media (max-width: 880px) {
  .hero-bottom { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-bottom > .hero-stat { padding: 0; }
  .hero-divider { display: none; }
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
  color: var(--text);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.018em;
}
.hero-stat .num .plus {
  font-size: 0.5em;
  color: var(--gold);
  vertical-align: super;
  margin-left: 2px;
}
.hero-stat .num .plus-pre {
  font-family: var(--font-body);
  font-size: 0.42em;
  letter-spacing: 0.06em;
  color: var(--gold);
  vertical-align: middle;
  margin-right: 8px;
  font-weight: 500;
  text-transform: lowercase;
}
.hero-stat .cap {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: 14px;
  line-height: 1.5;
  font-weight: 500;
}
.hero-scroll {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.hero-scroll .line-anim {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll .line-anim::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--gold-bright), transparent);
  animation: scrollLine 2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
@media (max-width: 880px) { .hero-scroll { display: none; } }

/* ----- Manifesto ----- */
.manifesto {
  border-top: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, var(--gold), transparent);
  opacity: 0.4;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
  position: relative;
}
@media (max-width: 780px) { .manifesto-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ----- Pillars ----- */
.pillars {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.pillars-head { margin-bottom: 88px; max-width: 720px; }

.pillar-list { display: flex; flex-direction: column; }
.pillar {
  display: grid;
  grid-template-columns: 80px 1.2fr 1fr;
  gap: 64px;
  align-items: stretch;
  padding: 72px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.pillar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 1.2s var(--ease-out);
}
.pillar.in::before, .pillar:hover::before { width: 80px; }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  font-style: italic;
  font-weight: 400;
}
.pillar-title { margin: 0 0 22px; color: var(--text); font-weight: 400; }
.pillar-desc {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 50ch;
  margin: 0 0 28px;
}
.pillar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pillar-tags li a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line-soft);
  background: var(--paper);
  font-size: 0.78rem;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  transition: all var(--t-fast) var(--ease);
}
.pillar-tags li a:hover {
  border-color: var(--gold);
  color: var(--navy);
  background: var(--bg-soft);
}
.pillar-visual {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 240px;
}

@media (max-width: 880px) {
  .pillar { grid-template-columns: 1fr; gap: 24px; padding: 44px 0; }
}

/* Ledger visual */
.ledger { font-family: var(--font-body); font-size: 0.86rem; }
.ledger-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line-soft);
  color: var(--text-soft);
}
.ledger-line:last-child { border-bottom: 0; }
.ledger-line-em { color: var(--text); }
.ledger-total {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--navy);
  border-bottom: 0 !important;
  color: var(--text);
  font-weight: 500;
}
.ledger-total .gold { color: var(--gold-deep); }
.ledger-line-em .gold { color: var(--gold-deep); }

/* Blueprint visual */
.blueprint { flex: 1; }
.blueprint svg g[stroke] { stroke: rgba(13,26,46,0.4) !important; }
.blueprint svg g[fill] { fill: rgba(13,26,46,0.6) !important; }

/* Signature visual */
.signature-frame { flex: 1; padding: 12px; }
.signature-frame svg g:nth-child(1)[stroke] { stroke: rgba(13,26,46,0.85) !important; }
.signature-frame svg circle[stroke], .signature-frame svg line[stroke] { stroke: rgba(160,127,60,0.75) !important; }
.signature-frame svg text { fill: rgba(13,26,46,0.6) !important; }

/* Consulting visual */
.consulting-frame { flex: 1; }
.consulting-frame svg g[stroke], .consulting-frame svg circle[stroke], .consulting-frame svg path[stroke] {
  stroke: rgba(13,26,46,0.4) !important;
}
.consulting-frame svg text { fill: rgba(13,26,46,0.55) !important; }

/* ----- Methodology (DARK NAVY) ----- */
.methodology {
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.methodology.dark-bg {
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-deep) 100%);
  border-top-color: rgba(236,230,216,0.06);
  position: relative;
  overflow: hidden;
}
.methodology.dark-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 85% 15%, rgba(201,169,107,0.14), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 90%, rgba(201,169,107,0.06), transparent 60%);
  pointer-events: none;
}
.methodology.dark-bg::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.methodology.dark-bg .wrap { position: relative; z-index: 1; }
.method-head { max-width: 720px; margin-bottom: 88px; }
.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
@media (max-width: 880px) { .method-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .method-steps { grid-template-columns: 1fr; } }

.method-step {
  position: relative;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.method-step .m-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  position: absolute;
  top: -1px;
  left: 0;
  background: var(--bg);
  padding-right: 16px;
  transform: translateY(-50%);
}
.method-step h4 { margin: 0 0 14px; color: var(--text); }
.method-step p { font-size: 0.95rem; color: var(--text-soft); line-height: 1.7; margin: 0; }

/* ----- Differentials ----- */
.differentials {
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(48px, 9vw, 120px);
  align-items: start;
}
@media (max-width: 880px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-side { position: sticky; top: 120px; }
@media (max-width: 880px) { .diff-side { position: static; } }

.diff-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 600px) { .diff-list { grid-template-columns: 1fr; } }
.diff-item {
  padding: 40px 32px;
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}
.diff-item:nth-child(1), .diff-item:nth-child(2) { border-top-color: var(--line); }
@media (max-width: 600px) { .diff-item { border-left: 0; } }
.diff-key {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 16px;
}
.diff-item h4 { margin: 0 0 10px; }
.diff-item p { font-size: 0.92rem; color: var(--text-soft); margin: 0; line-height: 1.65; }

/* ----- Quote (dark moment) ----- */
.quote {
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  padding-block: clamp(100px, 11vw, 160px);
}
.quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 50% 50%, rgba(201,169,107,0.14), transparent 70%);
  pointer-events: none;
}
.quote.dark-bg .lede {
  color: var(--text);
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.4;
  font-style: italic;
}
.quote-mark { color: var(--gold); margin: 0 auto 32px; opacity: 0.85; }
.quote-attr {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.quote-rule { display: inline-block; width: 40px; height: 1px; background: var(--gold); }

/* ----- Articles teaser ----- */
.articles-teaser {
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.teaser-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 72px;
}
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 880px) { .teaser-grid { grid-template-columns: 1fr; } }

.t-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform var(--t-med) var(--ease);
}
.t-card:hover { transform: translateY(-4px); }
.t-img {
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line-soft);
  transition: border-color var(--t-fast) var(--ease);
}
.t-card:hover .t-img { border-color: var(--navy); }
.t-img::after {
  content: attr(data-cat);
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: var(--navy);
  padding: 6px 10px;
}
.t-meta {
  display: flex;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.t-meta span:first-child { color: var(--gold); }
.t-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.28;
  margin: 0;
  color: var(--text);
  text-wrap: balance;
  transition: color var(--t-fast) var(--ease);
}
.t-card:hover .t-title { color: var(--gold-deep); }

/* ----- FAQ ----- */
.faq {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
@media (max-width: 880px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-side { position: sticky; top: 120px; }
@media (max-width: 880px) { .faq-side { position: static; } }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.36rem;
  line-height: 1.32;
  text-align: left;
  cursor: pointer;
  font-weight: 500;
  transition: color 200ms;
}
.faq-q:hover { color: var(--gold-deep); }
.faq-toggle {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform 300ms var(--ease);
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.75;
  transition: max-height 400ms var(--ease), padding 400ms var(--ease);
  max-width: 70ch;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 0 32px;
}

/* ----- CTA band (dark, dramatic close) ----- */
.cta-band {
  padding-block: clamp(100px, 11vw, 160px);
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -50% -10% auto auto;
  width: 65%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201,169,107,0.18), transparent 65%);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  position: relative;
}
@media (max-width: 880px) { .cta-inner { grid-template-columns: 1fr; } }
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
}
.cta-actions .btn { justify-content: space-between; }
