/* ===== BR TAX CORP — Landing Page ===== */

:root {
  --green: #009739;
  --green-light: #1fb35a;
  --yellow: #FEDD00;
  --gold: #C9A227;
  --gold-light: #e3c25a;
  --blue: #012169;
  --blue-light: #1e4bb8;

  --bg: #070b14;
  --bg-2: #0b1220;
  --surface: #111a2b;
  --surface-2: #16223a;
  --border: rgba(201, 162, 39, 0.18);
  --text: #eef2f8;
  --text-dim: #9aa7bd;

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1140px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --trans: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

.section { padding: 96px 0; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.06);
  margin-bottom: 18px;
}
.section__title {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  background: linear-gradient(135deg, var(--yellow), var(--gold));
  color: #1a1300;
  box-shadow: 0 10px 26px rgba(201, 162, 39, 0.3);
}
.btn--gold:hover { box-shadow: 0 14px 32px rgba(201, 162, 39, 0.45); }
.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
}
.btn--outline:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--trans), box-shadow var(--trans), padding var(--trans);
  padding: 16px 0;
}
.header.scrolled {
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  padding: 10px 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__img { height: 38px; width: auto; }
.logo__img--footer { height: 70px; }
.header.scrolled .logo__img { height: 32px; transition: height var(--trans); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 0.95rem; font-weight: 500; color: var(--text-dim); transition: color var(--trans); }
.nav a:hover { color: var(--text); }
.nav__cta { color: #1a1300 !important; }

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

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
}
.lang-toggle__opt { transition: color var(--trans); }
.lang-toggle__opt.is-active { color: var(--gold-light); }
.lang-toggle__sep { opacity: 0.4; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--trans); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; padding: 170px 0 110px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 151, 57, 0.22), transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(1, 33, 105, 0.35), transparent 50%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 60%, rgba(201,162,39,0.08) 75%, transparent 90%);
}
.hero__inner { position: relative; z-index: 1; max-width: 820px; }
.hero__eyebrow {
  color: var(--green-light);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero__title span { display: block; }
.hero__title-accent {
  background: linear-gradient(100deg, var(--green-light), var(--yellow), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
  padding-bottom: 0.12em;
}
.hero__subtitle { font-size: 1.12rem; color: var(--text-dim); max-width: 620px; margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== Services ===== */
.services { background: var(--bg-2); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}
.card:hover { transform: translateY(-6px); border-color: rgba(201,162,39,0.4); box-shadow: var(--shadow); }
.card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 20px;
}
.card__icon--blue { background: linear-gradient(135deg, var(--blue-light), var(--blue)); }
.card__icon--gold { background: linear-gradient(135deg, var(--yellow), var(--gold)); color: #1a1300; }
.card__icon--green { background: linear-gradient(135deg, var(--green-light), var(--green)); }
.card__title { font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.card__text { font-size: 0.94rem; color: var(--text-dim); }

/* ===== About ===== */
.about__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about__media {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 30% 30%, rgba(0,151,57,0.3), transparent 60%),
    radial-gradient(circle at 75% 75%, rgba(1,33,105,0.5), transparent 60%),
    var(--surface);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  overflow: hidden;
}
.about__media::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.about__badge {
  position: relative;
  text-align: center;
  background: rgba(7,11,20,0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 38px;
  backdrop-filter: blur(4px);
}
.about__badge-num {
  display: block;
  font-size: 3rem; font-weight: 800;
  background: linear-gradient(120deg, var(--yellow), var(--green-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about__badge-label { color: var(--text-dim); font-size: 0.9rem; letter-spacing: 0.05em; }
.about__content .section__title { margin: 14px 0 18px; }
.about__content p { color: var(--text-dim); margin-bottom: 16px; }
.about__list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.about__list li { position: relative; padding-left: 30px; font-weight: 500; }
.about__list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  background: var(--green); color: #fff;
  border-radius: 50%; font-size: 0.7rem; font-weight: 700;
}

/* ===== FAQ ===== */
.faq { background: var(--bg-2); }
.faq__list { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 1.02rem; font-weight: 600; color: var(--text);
  text-align: left;
  padding: 20px 22px;
}
.faq__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--gold-light);
  transition: transform var(--trans);
}
.faq__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item.open .faq__icon::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq__a p { padding: 0 22px 20px; color: var(--text-dim); font-size: 0.95rem; }

/* ===== Contact ===== */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact__info .section__title { margin: 14px 0 16px; }
.contact__info > p { color: var(--text-dim); margin-bottom: 28px; }
.contact__list { list-style: none; display: grid; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-size: 1rem; }
.contact__ico {
  width: 42px; height: 42px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; font-size: 1.1rem;
}
.contact__list a { color: var(--text); transition: color var(--trans); }
.contact__list a:hover { color: var(--gold-light); }

.contact__form-wrap {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form__row { margin-bottom: 18px; }
.form__label { display: block; font-size: 0.85rem; font-weight: 500; color: var(--text-dim); margin-bottom: 8px; }
.form__input {
  width: 100%;
  font-family: inherit; font-size: 0.95rem; color: var(--text);
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color var(--trans), box-shadow var(--trans);
  resize: vertical;
}
.form__input:focus {
  outline: none;
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}
.form__input::placeholder { color: #5c6b85; }
.form__status { margin-top: 14px; font-size: 0.9rem; text-align: center; min-height: 1.2em; }
.form__status.ok { color: var(--green-light); }
.form__status.err { color: #ff6b6b; }

/* ===== Footer ===== */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding-top: 56px; }
.footer__inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 30px; flex-wrap: wrap; padding-bottom: 40px;
}
.footer__tagline { color: var(--text-dim); font-size: 0.9rem; margin-top: 12px; max-width: 280px; }
.footer__contacts { display: grid; gap: 10px; }
.footer__contacts a { color: var(--text-dim); font-size: 0.92rem; transition: color var(--trans); }
.footer__contacts a:hover { color: var(--gold-light); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 22px 0; }
.footer__bottom span { color: var(--text-dim); font-size: 0.85rem; }

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform var(--trans);
  animation: wa-pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 28px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 10px 28px rgba(37,211,102,0.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 28px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Reveal on scroll (fade-in suave) ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

/* leve escalonamento dos cards e itens do FAQ */
.services__grid .card:nth-child(2) { transition-delay: 0.08s; }
.services__grid .card:nth-child(3) { transition-delay: 0.16s; }
.services__grid .card:nth-child(4) { transition-delay: 0.24s; }
.faq__list .faq__item:nth-child(2) { transition-delay: 0.06s; }
.faq__list .faq__item:nth-child(3) { transition-delay: 0.12s; }
.faq__list .faq__item:nth-child(4) { transition-delay: 0.18s; }
.faq__list .faq__item:nth-child(5) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 36px; }
  .about__media { min-height: 240px; }
}

@media (max-width: 760px) {
  .hamburger { display: flex; }
  .nav {
    position: fixed; inset: 0 0 auto 0;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(7, 11, 20, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 10px 22px 22px;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav__cta { margin-top: 14px; border-bottom: 0 !important; text-align: center; }
  .section { padding: 70px 0; }
  .hero { padding: 140px 0 80px; }
}

@media (max-width: 520px) {
  .services__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
  .contact__form-wrap { padding: 24px 20px; }
}
