/* Plano Legalização · componentes globais */

/* ---------- Ícones ---------- */
.icon { width: 20px; height: 20px; flex: none; }
.icon--wa { color: currentColor; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  height: 60px;
  padding: 0 26px 0 30px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font: 700 16px/1 var(--font-ui);
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn__arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform .2s;
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--wa { gap: 10px; padding: 0 28px 0 24px; }
.btn--sm { height: 46px; padding: 0 22px 0 20px; font-size: 14px; gap: 10px; }
.btn--sm .btn__arrow { font-size: 15px; }
.btn--lg-text { font-size: 17px; }

.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); }

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

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--mid); }

.btn--outline { background: transparent; border-color: rgba(11, 28, 61, .25); color: var(--navy); }
.btn--outline:hover { background: var(--ice); border-color: rgba(11, 28, 61, .4); }

.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--ice); }

/* ---------- Botões circulares (setas, +/−) ---------- */
.round-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(11, 28, 61, .2);
  border-radius: 50%;
  color: var(--navy);
  font: 700 22px/1 var(--font-ui);
  transition: background-color .2s, border-color .2s, color .2s, opacity .2s;
}
.round-btn:hover { background: var(--ice); }
.round-btn--solid { background: var(--navy); border-color: var(--navy); color: #fff; }
.round-btn--solid:hover { background: var(--mid); border-color: var(--mid); }
.round-btn[disabled] { opacity: .35; cursor: default; }
.round-btn.is-hidden { display: none; }

.arrows { display: flex; gap: 12px; }

/* ---------- Selo / eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 13px/1.2 var(--font-ui);
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  background: var(--blue);
  border-top-right-radius: 5px;
}
.eyebrow--light { color: var(--light); }

/* ---------- Títulos de seção ---------- */
.title {
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: var(--h2-track);
  color: var(--navy);
  text-wrap: balance;
}
.title em {
  font-style: normal;
  font-weight: 300;
  color: var(--blue);
}
.title--light { color: #fff; }
.title--light em { color: var(--light); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}
.sec-head__main { display: flex; flex-direction: column; gap: 22px; }

/* ---------- Lote (quadradinho com canto curvo) ---------- */
.lote {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--blue);
  border-top-right-radius: 4px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-top: 36px;
  padding-bottom: 0;
  transition: padding .3s var(--ease-out), background-color .3s, box-shadow .3s;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(6, 15, 36, .85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity .3s;
}
.site-header.is-scrolled { padding-top: 12px; padding-bottom: 12px; }
.site-header.is-scrolled::before { opacity: 1; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: var(--header-h);
}
.header__logo { flex: none; }
.header__logo img { width: 236px; height: auto; }

.nav { display: flex; align-items: center; gap: 38px; }
.nav__link {
  position: relative;
  font: 600 15px/1 var(--font-ui);
  color: rgba(255, 255, 255, .72);
  white-space: nowrap;
  transition: color .2s;
}
.nav__link:hover { color: #fff; }
.nav__link.is-active { color: #fff; font-weight: 700; }

.header__actions { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--r);
  background: rgba(255, 255, 255, .06);
  align-items: center;
  justify-content: center;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform .3s var(--ease-out), opacity .2s;
}
.burger span { position: relative; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile em tela cheia */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 120px var(--pad-x) 24px;
  background: var(--deep);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s .3s;
}
.mnav.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.mnav__list { display: flex; flex-direction: column; }
.mnav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-light);
  font: 600 26px/1.2 var(--font-display);
  letter-spacing: -.5px;
  color: #fff;
}
.mnav__link::after { content: "→"; font: 700 18px/1 var(--font-ui); color: var(--light); }
.mnav__cta { margin-top: auto; }
.mnav__cta .btn { width: 100%; }

@media (max-width: 1199px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 767px) {
  .site-header { padding-top: 16px; }
  .site-header.is-scrolled { padding-top: 8px; padding-bottom: 8px; }
  .header__logo img { width: 190px; }
  .header__wa { display: none; }
}

/* ---------- Botão flutuante de WhatsApp (mobile) ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: none;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 30px rgba(6, 15, 36, .35);
  opacity: 0;
  transform: translateY(16px) scale(.9);
  pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease-out);
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 767px) {
  .wa-float { display: inline-flex; }
}

/* ---------- Botões em largura total no mobile ---------- */
@media (max-width: 767px) {
  .btn-row { flex-direction: column; align-items: stretch; width: 100%; }
  .btn-row .btn,
  .btn--block-sm { width: 100%; }
  .sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; gap: 24px; }
}
