/* ============================================================
   Débora Finanças — Sistema visual do site institucional
   ============================================================ */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fraunces-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fraunces-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fraunces-400i.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('inter-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('inter-700.woff2') format('woff2');
}

:root {
  --ink:        #0b120d;
  --green-900:  #142418;
  --green-800:  #1b3220;
  --green-700:  #203a25;
  --green-600:  #274429;
  --green-500:  #355b37;
  --gold-100:   #f6ecd2;
  --gold-300:   #e9d39e;
  --gold-500:   #cda957;
  --gold-700:   #a9823f;
  --cream:      #efe6d0;
  --paper:      #f7f2e6;
  --ink-text:   #16241a;
  --line:       rgba(233, 211, 158, .16);
  --line-soft:  rgba(233, 211, 158, .10);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  background: var(--green-800);
  color: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Film-grain overlay (cinematic texture, fixed, sits above bg / below content) ── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ── Kicker / eyebrow label ── */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.kicker::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold-500);
  display: inline-block;
}
.kicker.center { justify-content: center; }

/* ── Typography ── */
h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; color: #fff; letter-spacing: -0.01em; }
.hairline {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500) 20%, var(--gold-500) 80%, transparent);
  opacity: .35;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 14px 0;
  background: rgba(11, 18, 13, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .01em;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.nav-brand em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-300);
  font-size: 15px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: .015em;
  color: rgba(239, 230, 208, .94);
  position: relative;
  padding-bottom: 5px;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold-500);
  transition: right .3s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after,
.nav-links a.is-active::after { right: 0; }
.nav-links a.is-active { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(205, 169, 87, .22);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(205, 169, 87, .32); }
.btn-ghost {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--gold-500); background: rgba(255, 255, 255, .07); }
.btn-wa {
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .28);
}
.btn-wa:hover { transform: translateY(-2px); background: #1fbd5a; }
.btn svg { width: 17px; height: 17px; }
.btn-lg { padding: 17px 32px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; color: var(--cream); }

/* Submenu "Serviços" (desktop) */
.nav-item-sub { position: relative; }
.nav-sub-trigger { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-caret { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav-item-sub:hover .nav-caret,
.nav-item-sub.is-open .nav-caret { transform: rotate(180deg); }
.nav-sub {
  position: absolute;
  top: 100%; left: 50%;
  transform: translate(-50%, 8px);
  margin-top: 14px;
  min-width: 278px;
  padding: 14px 10px 12px;
  border-radius: 16px;
  background: rgba(13, 22, 15, .97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
/* ponte invisível: o mouse atravessa o vão sem fechar o menu */
.nav-sub::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item-sub:hover .nav-sub,
.nav-item-sub:focus-within .nav-sub,
.nav-item-sub.is-open .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-sub-h {
  display: block;
  padding: 0 14px 10px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-300);
}
.nav-sub a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(239, 230, 208, .82);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.nav-sub a::after { display: none; }
.nav-sub a:hover { background: rgba(233, 211, 158, .10); color: #fff; }
.nav-sub a.is-active { color: var(--gold-300); background: rgba(233, 211, 158, .08); }

.nav-cta-desktop { display: flex; align-items: center; gap: 18px; }

@media (max-width: 900px) {
  .nav-links, .nav-cta-desktop .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta-desktop .btn-wa { padding: 10px 16px; font-size: 12.5px; }
}

/* Mobile drawer */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(9, 15, 10, .97);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.mnav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.mnav-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; flex-shrink: 0; }
.mnav-close {
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--line); background: rgba(255,255,255,.04);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.mnav-close svg { width: 18px; height: 18px; color: var(--cream); }
.mnav-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mnav-links > li > a {
  display: block;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 300;
  text-decoration: none;
  color: #fff;
}
.mnav-links > li > a.is-active { color: var(--gold-300); }
.mnav-group { padding: 15px 0 6px; border-bottom: 1px solid var(--line-soft); }
.mnav-group-h {
  display: block;
  margin-bottom: 4px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-300);
}
/* especificidade acima de `.mnav-links > li > a`, senão herdam o serif de 27px */
.mnav-links > li.mnav-group > a {
  display: block;
  padding: 10px 0 10px 14px;
  border-bottom: 0;
  border-left: 2px solid var(--line-soft);
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 600;
  text-decoration: none;
  color: rgba(239, 230, 208, .88);
}
.mnav-links > li.mnav-group > a.is-active { color: var(--gold-300); border-left-color: var(--gold-500); }
.mnav-cta { margin-top: auto; flex-shrink: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }

/* ============================================================
   HERO (shared skeleton, per-page background variations)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--green-800);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 55% at 82% 12%, rgba(233, 211, 158, .10), transparent 60%),
    radial-gradient(50% 45% at 8% 92%, rgba(205, 169, 87, .09), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--green-800) 42%, var(--green-700) 100%);
}
.hero-vignette {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(120% 90% at 50% 20%, transparent 40%, rgba(6, 10, 7, .55) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  padding-top: 140px; padding-bottom: 90px;
}
.hero-kicker { margin-bottom: 22px; }
.hero-title {
  font-size: clamp(38px, 6.4vw, 78px);
  line-height: 1.04;
  max-width: 900px;
  margin-bottom: 26px;
}
.hero-title em { font-style: italic; font-weight: 400; color: var(--gold-300); }
.hero-title strong { font-weight: 600; color: #fff; }
.hero-desc {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(239, 230, 208, .78);
  margin-bottom: 40px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.scroll-cue {
  position: absolute;
  left: 24px; bottom: 34px;
  z-index: 2;
  display: flex; align-items: center; gap: 12px;
  color: rgba(239, 230, 208, .55);
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.scroll-cue-line {
  width: 1px; height: 40px;
  background: linear-gradient(180deg, var(--gold-500), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after {
  content: '';
  position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent, #fff);
  animation: cue-fall 2.2s ease-in-out infinite;
}
@keyframes cue-fall { 0% { top: -100%; } 100% { top: 100%; } }

/* ── Split hero with portrait (home) ── */
.hero-split { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.hero-portrait {
  position: relative;
  height: min(74vh, 700px);
  display: flex; align-items: flex-end; justify-content: center;
}
.hero-portrait img {
  height: 100%; width: auto; object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.4)) drop-shadow(0 0 60px rgba(205,169,87,.10));
  position: relative; z-index: 2;
}
.hero-portrait-glow {
  position: absolute;
  width: 60%; height: 60%;
  left: 50%; top: 55%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(205,169,87,.18), transparent 70%);
  filter: blur(40px);
  z-index: 1;
}
.hero-portrait-ring {
  position: absolute;
  left: 50%; bottom: 6%;
  transform: translateX(-50%);
  width: 78%; aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  z-index: 1;
}
@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; height: 46vh; margin-bottom: 8px; }
  .hero-inner { padding-top: 118px; }
}

/* ── Simple hero (inner pages) ── */
.hero-simple { min-height: 62vh; }
.hero-simple .hero-inner { padding-top: 150px; padding-bottom: 70px; }
.hero-index {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--gold-500);
  margin-bottom: 18px;
  display: block;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-wrap {
  position: relative; z-index: 3;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--green-900);
  overflow: hidden;
  padding: 20px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  display: inline-flex; align-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: rgba(239, 230, 208, .55);
  padding: 0 28px;
  white-space: nowrap;
}
.marquee-track span::after {
  content: '◆';
  font-style: normal;
  color: var(--gold-500);
  margin-left: 28px;
  font-size: 10px;
  opacity: .8;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  position: relative; z-index: 3;
  background: var(--green-800);
  padding: 88px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  color: var(--gold-300);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-label {
  font-size: 13.5px;
  color: rgba(239, 230, 208, .68);
  line-height: 1.5;
  max-width: 220px;
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr; gap: 40px; text-align: left; }
}

/* ============================================================
   SECTION HEADER (reused block)
   ============================================================ */
.section { position: relative; z-index: 3; padding: 120px 0; }
.section-alt { background: var(--paper); color: var(--ink-text); }
.section-alt h2, .section-alt h3 { color: var(--ink-text); }
.section-alt .kicker { color: var(--gold-700); }
.section-alt .hairline { opacity: .5; }
.section-head { max-width: 640px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(30px, 4vw, 46px); line-height: 1.15; margin-top: 18px; }
.section-alt .section-title { color: var(--ink-text); }
.section-desc { margin-top: 18px; font-size: 16px; line-height: 1.7; color: rgba(239,230,208,.72); }
.section-alt .section-desc { color: rgba(22, 36, 26, .68); }

/* ============================================================
   ABOUT TEASER (split quote + text)
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.4;
  color: #fff;
  border-left: 2px solid var(--gold-500);
  padding-left: 28px;
}
.about-text p { font-size: 16px; line-height: 1.8; color: rgba(239, 230, 208, .78); margin: 0 0 18px; }
.about-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 8px;
  font-weight: 700; font-size: 13.5px; letter-spacing: .02em;
  color: var(--gold-300); text-decoration: none;
}
.about-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.about-link:hover svg { transform: translateX(5px); }
@media (max-width: 880px) {
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .about-quote { padding-left: 20px; }
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--green-800);
  padding: 44px 34px 38px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  transition: background .35s var(--ease);
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 50% 120%, rgba(205,169,87,.14), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.service-card:hover { background: var(--green-700); }
.service-card:hover::before { opacity: 1; }
.service-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-500);
  font-size: 15px;
  margin-bottom: 26px;
}
.service-title {
  font-size: 25px;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 14px;
}
.service-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(239, 230, 208, .68);
  margin-bottom: auto;
}
.service-cta {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 28px;
  font-size: 13px; font-weight: 700; letter-spacing: .02em;
  color: var(--gold-300);
}
.service-cta svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.service-card:hover .service-cta svg { transform: translateX(5px); }
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 36px 26px; }
}
.services-grid-2 { grid-template-columns: repeat(2, 1fr); }
.services-group-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-300); margin: 56px 0 22px;
}
.services-group-label:first-child { margin-top: 0; }
@media (max-width: 700px) { .services-grid-2 { grid-template-columns: 1fr; } }

/* ============================================================
   RESULTS GRID (outcomes)
   ============================================================ */
.results-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.result-item {
  padding: 26px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
  background: rgba(255,255,255,.02);
}
.result-icon {
  width: 40px; height: 40px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(205,169,87,.10);
  border: 1px solid rgba(205,169,87,.22);
  color: var(--gold-300);
}
.result-icon svg { width: 19px; height: 19px; }
.result-label { font-size: 13px; line-height: 1.5; color: rgba(239,230,208,.8); font-weight: 600; }
@media (max-width: 980px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .results-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* ============================================================
   PULL QUOTE (full width banner)
   ============================================================ */
.pullquote-section {
  position: relative; z-index: 3;
  padding: 130px 0;
  background: var(--green-900);
  text-align: center;
  overflow: hidden;
}
.pullquote-glow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 700px; height: 400px;
  background: radial-gradient(circle, rgba(205,169,87,.10), transparent 70%);
  filter: blur(30px);
}
.pullquote {
  position: relative; z-index: 1;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1.35;
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
}
.pullquote .accent { color: var(--gold-300); font-weight: 600; font-style: normal; }
.pullquote-cite {
  position: relative; z-index: 1;
  margin-top: 26px;
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(239,230,208,.55);
}

/* ============================================================
   FINAL CTA BANNER
   ============================================================ */
.cta-banner {
  position: relative; z-index: 3;
  padding: 110px 0;
  background:
    radial-gradient(60% 100% at 20% 0%, rgba(233,211,158,.14), transparent 60%),
    radial-gradient(60% 100% at 85% 100%, rgba(205,169,87,.12), transparent 60%),
    var(--ink);
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-title {
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.18;
  max-width: 720px;
  margin: 0 auto 18px;
}
.cta-desc { max-width: 480px; margin: 0 auto 40px; color: rgba(239,230,208,.72); font-size: 16px; line-height: 1.7; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative; z-index: 3;
  background: var(--ink);
  padding: 70px 0 34px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand { font-family: var(--serif); font-size: 22px; color: #fff; margin-bottom: 14px; }
.footer-brand em { font-style: italic; color: var(--gold-300); font-weight: 400; }
.footer-tagline { font-size: 13.5px; line-height: 1.7; color: rgba(239,230,208,.6); max-width: 260px; }
.footer-h { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { font-size: 13.5px; color: rgba(239,230,208,.68); text-decoration: none; }
.footer-links a:hover { color: var(--gold-300); }
.footer-bottom {
  padding-top: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: rgba(239,230,208,.42);
}
.footer-bottom a { color: rgba(239,230,208,.42); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-300); }

/* Assinatura da agência — destacada */
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(233, 211, 158, .26);
  background: rgba(233, 211, 158, .06);
  font-size: 13px;
  color: rgba(239, 230, 208, .72) !important;
  text-decoration: none;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.footer-credit:hover {
  border-color: var(--gold-500);
  background: rgba(233, 211, 158, .11);
  transform: translateY(-1px);
}
.footer-credit-label { letter-spacing: .01em; }
.footer-credit-brand {
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--gold-300);
}
.footer-credit:hover .footer-credit-brand { color: var(--gold-100); }
.footer-credit svg { width: 13px; height: 13px; color: var(--gold-500); transition: transform .25s var(--ease); }
.footer-credit:hover svg { transform: translate(2px, -2px); }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   LONG-FORM ARTICLE (sobre.html)
   ============================================================ */
.article {
  max-width: 720px;
  margin: 0 auto;
}
.article p {
  font-size: 18px;
  line-height: 1.85;
  color: rgba(239, 230, 208, .82);
  margin: 0 0 26px;
}
.article p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 76px;
  font-weight: 300;
  color: var(--gold-300);
  float: left;
  line-height: .8;
  padding: 8px 14px 0 0;
}
.article-list {
  list-style: none;
  margin: 36px 0;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.02);
}
.article-list li {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--cream);
  padding: 10px 0 10px 30px;
  position: relative;
  border-bottom: 1px solid var(--line-soft);
}
.article-list li:last-child { border-bottom: none; }
.article-list li::before {
  content: '';
  position: absolute; left: 0; top: 18px;
  width: 14px; height: 1px;
  background: var(--gold-500);
}

/* ============================================================
   SERVICE DETAIL (consultoria / bpo / mentoria)
   ============================================================ */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.detail-lede {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 26px;
}
.detail-body p {
  font-size: 16px; line-height: 1.8; color: rgba(239,230,208,.75); margin: 0 0 20px;
}
.detail-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  background: rgba(255,255,255,.02);
  position: sticky;
  top: 110px;
}
.detail-card-h { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 20px; }
.detail-card ul { list-style: none; margin: 0 0 28px; padding: 0; }
.detail-card li {
  font-size: 14.5px; line-height: 1.6; color: var(--cream);
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
  display: flex; gap: 12px;
}
.detail-card li:last-child { border-bottom: none; }
.detail-card li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--gold-500); }

.detail-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; }
.detail-meta-item { padding: 18px 20px; border-left: 2px solid var(--gold-500); background: rgba(255,255,255,.02); border-radius: 0 12px 12px 0; }
.detail-meta-h { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 8px; }
.detail-meta-item p { font-size: 14px; line-height: 1.6; color: rgba(239,230,208,.75); margin: 0; }
@media (max-width: 560px) { .detail-meta-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail-card { position: static; }
}

/* Cross-link strip (other services) */
.crosslink-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 26px;
}
.crosslink {
  background: var(--ink);
  padding: 26px 28px;
  text-decoration: none;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: background .3s var(--ease);
}
.crosslink:hover { background: var(--green-700); }
.crosslink-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); display: block; margin-bottom: 6px; }
.crosslink-title { font-family: var(--serif); font-size: 19px; color: #fff; }
.crosslink svg { width: 18px; height: 18px; color: var(--gold-500); flex-shrink: 0; }
@media (max-width: 640px) { .crosslink-strip { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.contact-card {
  display: flex; align-items: center; gap: 18px;
  padding: 24px 26px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  text-decoration: none;
  margin-bottom: 16px;
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--gold-500); background: rgba(255,255,255,.045); }
.contact-ic {
  width: 50px; height: 50px; flex-shrink: 0; border-radius: 13px;
  display: grid; place-items: center;
  background: rgba(205,169,87,.10); border: 1px solid rgba(205,169,87,.2); color: var(--gold-300);
}
.contact-ic svg { width: 22px; height: 22px; }
.contact-main { font-size: 15.5px; font-weight: 600; color: #fff; }
.contact-sub { font-size: 13px; color: rgba(239,230,208,.65); margin-top: 3px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ============================================================
   HERO BYLINE (small circular photo + name, inner-page heroes)
   ============================================================ */
.hero-byline {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
}
.hero-byline-photo {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--gold-500);
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  flex-shrink: 0;
}
.hero-byline-text { font-size: 13.5px; color: rgba(239,230,208,.78); line-height: 1.4; }
.hero-byline-text strong { color: #fff; font-weight: 700; }
.hero-byline-text em { font-style: italic; color: var(--gold-300); }

/* ============================================================
   WHY / DIFFERENTIATORS
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-item { padding-top: 24px; border-top: 1px solid var(--line); }
.why-num { font-family: var(--serif); font-style: italic; color: var(--gold-500); font-size: 15px; margin-bottom: 16px; display: block; }
.why-title { font-size: 20px; color: #fff; margin-bottom: 10px; }
.why-desc { font-size: 14.5px; line-height: 1.7; color: rgba(239,230,208,.7); }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ============================================================
   PROCESS (how it works)
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  counter-reset: process;
}
.process-step {
  background: var(--ink);
  padding: 40px 32px;
  position: relative;
}
.process-num {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 300;
  color: var(--gold-500);
  opacity: .85;
  line-height: 1;
  margin-bottom: 22px;
}
.process-title { font-size: 21px; color: #fff; margin-bottom: 12px; }
.process-desc { font-size: 14px; line-height: 1.65; color: rgba(239,230,208,.68); }
.process-arrow {
  position: absolute;
  top: 44px; right: -13px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--gold-500);
  z-index: 2;
}
.process-arrow svg { width: 13px; height: 13px; }
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-arrow { display: none; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  font-family: var(--serif);
  font-size: 19px;
  color: #fff;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gold-500);
  color: var(--gold-300);
  display: grid; place-items: center;
  font-size: 17px;
  font-family: var(--sans);
  transition: transform .3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-answer { padding: 0 4px 24px; font-size: 15px; line-height: 1.75; color: rgba(239,230,208,.72); max-width: 640px; }

/* ============================================================
   PORTRAIT BAND (featured photo, e.g. Sobre)
   ============================================================ */
.portrait-band {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  max-height: 460px;
  display: flex;
  justify-content: center;
  background: var(--green-900);
}
.portrait-band img {
  width: auto;
  height: 460px;
  max-width: 100%;
  object-fit: cover;
  object-position: top center;
}
.portrait-band-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11,18,13,.55) 100%);
  pointer-events: none;
}
.portrait-band-cap {
  position: absolute;
  left: 28px; bottom: 22px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(239,230,208,.75);
}
/* A foto já separa os blocos; os 120px padrão de .section depois dela
   deixavam um vão vazio, pior ainda no celular. */
.section:has(.portrait-band) + .section { padding-top: 64px; }
@media (max-width: 640px) {
  .portrait-band { max-height: 340px; }
  .portrait-band img { height: 340px; }
  .section:has(.portrait-band) + .section { padding-top: 40px; }
}


/* ============================================================
   DEPOIMENTOS (estáticos + avaliações ao vivo do Google)
   ============================================================ */
.reviews-score {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(233, 211, 158, .06);
}
.reviews-score[hidden] { display: none; }
.reviews-score-num { font-family: var(--serif); font-size: 21px; color: #fff; line-height: 1; }
.reviews-score-count { font-size: 12.5px; color: rgba(239, 230, 208, .62); }

.review-stars { display: inline-flex; gap: 3px; margin-bottom: 14px; }
.review-stars svg { width: 15px; height: 15px; color: rgba(239, 230, 208, .22); }
.review-stars svg.is-on { color: var(--gold-500); }

/* Colunas (não grid): os depoimentos têm tamanhos muito diferentes e o grid
   deixaria buracos enormes nas linhas com um texto longo. */
/* Colapso: 22+ depoimentos em coluna única passavam de 11.000px no celular. */
.reviews-wrap { position: relative; max-height: 760px; overflow: hidden; }
.reviews-wrap.is-expanded { max-height: none; }
.reviews-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 190px;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(27, 50, 32, 0), var(--green-800) 88%);
}
.reviews-wrap.is-expanded .reviews-fade { display: none; }
.reviews-more { margin-top: 26px; text-align: center; }
.reviews-more .btn { cursor: pointer; font-family: inherit; }
.reviews-more svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.reviews-wrap.is-expanded + .reviews-more svg { transform: rotate(180deg); }
@media (max-width: 640px) { .reviews-wrap { max-height: 620px; } }

.reviews-grid { column-count: 3; column-gap: 20px; }
.review-card {
  margin: 0 0 20px;
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  padding: 26px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.review-card:hover { border-color: rgba(233, 211, 158, .34); background: rgba(255, 255, 255, .05); }
.review-quote {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(239, 230, 208, .88);
}
.review-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  display: flex; align-items: center; justify-content: center;
}
.review-avatar svg { width: 17px; height: 17px; }
.review-avatar-ig { background: rgba(233, 211, 158, .10); color: var(--gold-300); }
.review-avatar-wa { background: rgba(37, 211, 102, .13); color: #4ade80; }
.review-avatar-google { background: rgba(255, 255, 255, .07); }
.review-avatar-fallback {
  background: var(--green-600);
  color: var(--gold-300);
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
}
.review-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.review-who strong { font-size: 13.5px; font-weight: 600; color: #fff; }
.review-who em { font-style: normal; font-size: 11.5px; color: rgba(239, 230, 208, .5); }
.review-link {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gold-300);
  text-decoration: none;
  white-space: nowrap;
}
.review-link:hover { color: var(--gold-100); }

.reviews-foot { margin-top: 18px; text-align: center; }
.reviews-foot[hidden] { display: none; }
.reviews-all {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-300);
  text-decoration: none;
}
.reviews-all svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.reviews-all:hover svg { transform: translateX(4px); }

@media (max-width: 980px) { .reviews-grid { column-count: 2; } }
@media (max-width: 640px) { .reviews-grid { column-count: 1; } }

/* ============================================================
   INSTAGRAM (widget de terceiro, carregado sob demanda)
   ============================================================ */
.instagram-section[hidden] { display: none; }
.instagram-embed {
  /* reserva a altura antes do widget chegar: sem isso o embed empurra a
     página quando carrega e estraga o CLS */
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
}
.instagram-embed iframe { display: block; width: 100%; border: 0; }
.instagram-cta { margin-top: 32px; text-align: center; }
.instagram-cta .btn svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .instagram-embed { min-height: 520px; } }
