/* ═══════════════════════════════════════════════
   AlavancaPME — Design System Global
═══════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&family=Inter:wght@300;400;500&display=swap');

:root {
  --bg:      #0D0D0F;
  --bg2:     #1A1A1D;
  --bg3:     #222226;
  --white:   #F5F5F5;
  --w80:     rgba(245,245,245,0.80);
  --w60:     rgba(245,245,245,0.60);
  --w35:     rgba(245,245,245,0.35);
  --w12:     rgba(245,245,245,0.08);
  --gold:    #D4AF37;
  --gold-bg: rgba(212,175,55,0.08);
  --border:  rgba(212,175,55,0.14);
  --borderw: rgba(245,245,245,0.08);
  --fh:      'Poppins', sans-serif;
  --fb:      'Inter', sans-serif;
  --max:     1200px;
  --pad:     56px;
  --sec:     clamp(72px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--fb);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── CONTAINER ── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sec  { padding: var(--sec) 0; }
.sec-dark { background: var(--bg2); }

/* ── TYPOGRAPHY ── */
.label {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.label::before { content:''; display:block; width:24px; height:1px; background:var(--gold); flex-shrink:0; }
h1.display {
  font-family: var(--fh); font-size: clamp(40px, 6vw, 80px);
  font-weight: 300; line-height: 1.08; letter-spacing: -.02em;
}
h2.title {
  font-family: var(--fh); font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 300; line-height: 1.15; letter-spacing: -.01em;
}
h3.sub {
  font-family: var(--fh); font-size: clamp(17px, 2vw, 22px);
  font-weight: 400; line-height: 1.25;
}
.body-text { font-size: 16px; font-weight: 300; line-height: 1.8; color: var(--w60); }
.small-text { font-size: 13px; font-weight: 400; line-height: 1.7; color: var(--w35); }
em.gold { font-style: normal; color: var(--gold); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--fb); font-size: 13px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 16px 36px; transition: all .3s; white-space: nowrap;
}
.btn-primary { background: var(--gold); color: var(--bg); }
.btn-primary:hover { background: #E5C040; }
.btn-outline { color: var(--white); border: 1px solid var(--borderw); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-text {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gold); transition: all .25s;
}
.btn-text::after { content: '→'; transition: transform .25s; }
.btn-text:hover { color: var(--white); }
.btn-text:hover::after { transform: translateX(4px); }

/* ── DIVIDER ── */
hr.line { border: none; border-top: 1px solid var(--borderw); }
.gold-bar { width: 36px; height: 1px; background: var(--gold); }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  border-bottom: 1px solid transparent;
  transition: background .4s, padding .4s, border-color .4s;
}
#nav.scrolled {
  background: rgba(13,13,15,.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-color: var(--borderw);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--pad); transition: padding .4s;
}
#nav.scrolled .nav-wrap { padding: 16px var(--pad); }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-text { font-family: var(--fh); font-size: 16px; font-weight: 600; letter-spacing: .04em; color: var(--white); }
.nav-logo-text span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a { font-size: 13px; color: var(--w60); transition: color .25s; }
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-btn { font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--bg); background: var(--gold); padding: 11px 24px; transition: background .25s; white-space: nowrap; }
.nav-btn:hover { background: #E5C040; }
.nav-hbg { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-hbg span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: transform .3s, opacity .3s; transform-origin: center; }
.nav-hbg.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hbg.open span:nth-child(2) { opacity: 0; }
.nav-hbg.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-mob { display: none; position: fixed; inset: 0; background: var(--bg); z-index: 800; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.nav-mob.open { display: flex; }
.nav-mob a { font-family: var(--fh); font-size: 26px; font-weight: 300; color: var(--white); padding: 14px; transition: color .25s; }
.nav-mob a:hover { color: var(--gold); }
.nav-mob .m-btn { margin-top: 24px; font-family: var(--fb); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--bg); padding: 14px 40px; }

/* ── PAGE HERO ── */
.pg-hero { padding: 150px var(--pad) 72px; border-bottom: 1px solid var(--borderw); }
.pg-hero-inner { max-width: var(--max); margin: 0 auto; }
.pg-hero h1 { margin-top: 16px; max-width: 720px; }
.pg-hero .pg-sub { margin-top: 24px; max-width: 520px; font-size: 17px; line-height: 1.75; color: var(--w60); }

/* ── GRID BLOCKS ── */
.blocks { display: grid; gap: 2px; background: var(--borderw); border: 1px solid var(--borderw); }
.blocks-3 { grid-template-columns: repeat(3, 1fr); }
.blocks-4 { grid-template-columns: repeat(4, 1fr); }
.blocks-2 { grid-template-columns: repeat(2, 1fr); }
.block {
  background: var(--bg); padding: 44px 40px;
  transition: background .35s; position: relative; overflow: hidden;
}
.block-dark { background: var(--bg2); }
.block::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.block:hover { background: var(--bg3); }
.block:hover::after { transform: scaleX(1); }
.block-n { font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.block h3 { font-family: var(--fh); font-size: 18px; font-weight: 400; color: var(--white); margin-bottom: 12px; line-height: 1.3; }
.block p { font-size: 14px; line-height: 1.8; color: var(--w60); }

/* ── 2-COL LAYOUT ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.two-col-center { align-items: center; }
.three-col { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }

/* ── SERVICE ITEM (listagem) ── */
.svc-row {
  display: grid; grid-template-columns: 60px 1fr auto;
  gap: 28px; align-items: start; padding: 40px 0;
  border-top: 1px solid var(--borderw); position: relative;
  transition: background .3s;
}
.svc-row:last-child { border-bottom: 1px solid var(--borderw); }
.svc-row::before {
  content: ''; position: absolute; left: -1px; top: 0; bottom: 0;
  width: 2px; background: var(--gold);
  transform: scaleY(0); transform-origin: top;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.svc-row:hover::before { transform: scaleY(1); }
.svc-n { font-family: var(--fh); font-size: 36px; font-weight: 300; color: var(--borderw); line-height: 1; padding-top: 4px; transition: color .3s; }
.svc-row:hover .svc-n { color: rgba(212,175,55,.25); }
.svc-info h3 { font-family: var(--fh); font-size: 20px; font-weight: 400; margin-bottom: 10px; line-height: 1.3; }
.svc-info p { font-size: 14px; line-height: 1.8; color: var(--w60); max-width: 520px; }

/* ── FAQ ── */
.faq-item { border-top: 1px solid var(--borderw); }
.faq-item:last-child { border-bottom: 1px solid var(--borderw); }
.faq-q { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; transition: background .25s; }
.faq-q h4 { font-family: var(--fh); font-size: 18px; font-weight: 400; line-height: 1.3; }
.faq-icon { width: 26px; height: 26px; min-width: 26px; border: 1px solid var(--borderw); display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--gold); transition: transform .35s, background .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); color: var(--bg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.4,0,.2,1); }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-bottom: 24px; font-size: 14px; line-height: 1.8; color: var(--w60); }

/* ── CTA BAND ── */
.cta-band { padding: var(--sec) 0; text-align: center; position: relative; overflow: hidden; }
.cta-band-inner { max-width: 640px; margin: 0 auto; }
.cta-band h2 { margin-bottom: 20px; }
.cta-band p { margin-bottom: 44px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer { background: var(--bg2); border-top: 1px solid var(--borderw); padding: 64px 0 36px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 52px; }
.f-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.f-logo-text { font-family: var(--fh); font-size: 15px; font-weight: 600; letter-spacing: .04em; }
.f-logo-text span { color: var(--gold); }
.f-tagline { font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.f-desc { font-size: 13px; line-height: 1.7; color: var(--w35); max-width: 260px; }
.f-col h4 { font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--w35); margin-bottom: 18px; }
.f-col ul { display: flex; flex-direction: column; gap: 11px; }
.f-col a { font-size: 13px; color: var(--w60); transition: color .25s; }
.f-col a:hover { color: var(--gold); }
.f-social { display: flex; gap: 12px; margin-top: 20px; }
.f-soc { width: 36px; height: 36px; border: 1px solid var(--borderw); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--w60); transition: border-color .25s, color .25s; }
.f-soc:hover { border-color: var(--gold); color: var(--gold); }
.footer-bot { padding-top: 28px; border-top: 1px solid var(--borderw); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.f-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.f-legal a { font-size: 12px; color: var(--w35); transition: color .25s; }
.f-legal a:hover { color: var(--gold); }
.f-copy { font-size: 12px; color: var(--w35); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  :root { --pad: 32px; }
  .blocks-4 { grid-template-columns: repeat(2,1fr); }
  .two-col, .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .blocks-3 { grid-template-columns: 1fr 1fr; }
  .three-col { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  :root { --pad: 20px; --sec: 64px; }
  .nav-links, .nav-btn { display: none; }
  .nav-hbg { display: flex; }
  .nav-wrap { padding: 18px var(--pad); }
  #nav.scrolled .nav-wrap { padding: 14px var(--pad); }
  .blocks-3, .blocks-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bot { flex-direction: column; align-items: flex-start; }
  .block { padding: 32px 24px; }
  .svc-row { grid-template-columns: 48px 1fr; }
  .svc-row .btn-text { display: none; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; max-width: 320px; justify-content: center; }
  .pg-hero { padding: 130px var(--pad) 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── FORM (contacto) ── */
.form-wrap { background: var(--bg2); border: 1px solid var(--borderw); padding: 52px 48px; }
.form-wrap h2 { font-family: var(--fh); font-size: 24px; font-weight: 300; margin-bottom: 8px; }
.form-wrap > p { font-size: 14px; line-height: 1.7; color: var(--w60); margin-bottom: 36px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.f-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.f-field:last-of-type { margin-bottom: 0; }
.f-field label { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--w35); }
.f-field input, .f-field select, .f-field textarea {
  background: var(--bg); border: 1px solid var(--borderw); color: var(--white);
  padding: 13px 16px; font-family: var(--fb); font-size: 14px; font-weight: 300;
  outline: none; transition: border-color .3s; width: 100%;
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { border-color: var(--gold); }
.f-field input.err, .f-field select.err { border-color: #c0392b; }
.f-field input::placeholder, .f-field textarea::placeholder { color: rgba(245,245,245,.18); }
.f-field select option { background: var(--bg2); }
.f-field textarea { resize: vertical; min-height: 110px; }
.f-submit {
  width: 100%; background: var(--gold); color: var(--bg); border: none;
  padding: 17px; font-family: var(--fb); font-size: 13px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  transition: background .3s; margin-top: 8px;
}
.f-submit:hover { background: #E5C040; }
.f-submit:disabled { opacity: .55; cursor: not-allowed; }
.f-note { font-size: 11px; color: var(--w35); text-align: center; margin-top: 14px; line-height: 1.6; }
.f-success { text-align: center; padding: 48px 20px; }
.f-success .f-check { font-size: 40px; color: var(--gold); margin-bottom: 20px; }
.f-success h3 { font-family: var(--fh); font-size: 24px; font-weight: 300; margin-bottom: 10px; }
.f-success p { font-size: 14px; line-height: 1.7; color: var(--w60); }

/* ── CALENDLY ── */
.calendly-wrap { text-align: center; padding: 40px; border: 1px solid var(--borderw); background: var(--bg2); }
.calendly-wrap p { font-size: 13px; color: var(--w35); margin-top: 16px; }

/* ── INFO BLOCK ── */
.info-block-grid { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--borderw); }
.info-block { padding: 22px 28px; border-bottom: 1px solid var(--borderw); }
.info-block:last-child { border-bottom: none; }
.info-block-lbl { font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.info-block-val { font-size: 14px; color: var(--w60); }

@media(max-width:768px){
  .f-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 32px 20px; }
}
