/* =========================================================
   Francisca Morais — Perita em Cálculos Trabalhistas
   Design tokens
   ========================================================= */
:root {
  --bg-dark: #0d0c0a;
  --bg-dark-2: #17140f;
  --bg-cream: #f4ead9;
  --bg-cream-2: #ede0c9;
  --gold: #c9a227;
  --gold-light: #e1c368;
  --gold-deep: #7d5f15;
  --burgundy: #6b1626;
  --burgundy-dark: #4a0f1a;
  --text-dark: #211c14;
  --text-dark-muted: #5c5344;
  --text-light: #f6efe2;
  --text-light-muted: #cabfa9;
  --border-gold: rgba(201, 162, 39, 0.35);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;

  --container: 1240px;
  --radius: 10px;
  --transition: 220ms ease;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-cream);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--bg-dark);
  padding: 12px 20px;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold);
  margin: 0 0 14px;
}
.about .eyebrow, .steps .eyebrow { color: var(--gold-deep); }

.accent { color: var(--gold); font-style: italic; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: inherit;
  margin: 0;
  text-wrap: balance;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Âncoras de navegação: compensa a altura do header fixo */
.hero, #sobre, #servicos, #diferenciais, #como-funciona, #contato {
  scroll-margin-top: 88px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-wpp { fill: currentColor; stroke: none !important; }
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--burgundy);
  color: var(--text-light);
}
.btn--primary:hover { background: var(--burgundy-dark); }

.btn--outline-light {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(246, 239, 226, 0.45);
}
.btn--outline-light:hover { background: var(--text-light); color: var(--burgundy-dark); }

.btn--sm { padding: 11px 20px; font-size: 0.72rem; }

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.header.is-scrolled {
  background: rgba(13, 12, 10, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.18);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
}

.brand { display: flex; align-items: center; gap: 16px; margin-right: auto; }
.brand__mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: 2rem;
  line-height: 1;
  color: var(--gold);
  padding-right: 16px;
  border-right: 1px solid rgba(201, 162, 39, 0.5);
  flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.3; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--burgundy-dark);
  transition: color var(--transition);
}
.brand__role {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dark-muted);
  transition: color var(--transition);
}
.header.is-scrolled .brand__name { color: var(--text-light); }
.header.is-scrolled .brand__role { color: var(--text-light-muted); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark-muted);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav a:hover, .nav a:focus-visible { color: var(--burgundy); border-color: var(--burgundy); }
.nav a[aria-current="page"] { color: var(--burgundy-dark); border-color: var(--gold); }
.header.is-scrolled .nav a { color: var(--text-light-muted); }
.header.is-scrolled .nav a:hover, .header.is-scrolled .nav a:focus-visible { color: var(--gold); border-color: var(--gold); }
.header.is-scrolled .nav a[aria-current="page"] { color: var(--text-light); border-color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--burgundy-dark);
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.header.is-scrolled .nav-toggle span { background: var(--text-light); }
.nav-toggle.is-open span { background: var(--text-light); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: var(--bg-cream);
  overflow: hidden;
  min-height: 860px;
  display: flex;
  align-items: center;
  padding: 0;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 32%;
  z-index: 0;
  will-change: transform;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(100deg,
      var(--bg-cream) 0%,
      var(--bg-cream) 26%,
      rgba(244,234,217,0.82) 40%,
      rgba(244,234,217,0.42) 54%,
      rgba(244,234,217,0.08) 70%,
      rgba(244,234,217,0) 100%),
    linear-gradient(0deg, rgba(244,234,217,0.35) 0%, rgba(244,234,217,0) 22%, rgba(244,234,217,0) 78%, rgba(244,234,217,0.3) 100%);
}
.hero__decor {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 46%;
  max-width: 500px;
  height: 100%;
}
.hero__decor svg { width: 100%; height: 100%; }
.hero__decor circle { fill: none; stroke: rgba(201, 162, 39, 0.5); stroke-width: 1; }
.hero__decor line { stroke: rgba(201, 162, 39, 0.4); stroke-width: 1; }
.hero__spark path { fill: var(--gold); opacity: 0.85; }

.hero__grid {
  position: relative;
  z-index: 2;
  display: block;
  padding: 168px 0 72px;
}

.hero__content { color: var(--text-dark); max-width: 560px; }

.hero__kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dark-muted);
  line-height: 1.7;
  margin: 0;
}

.hero__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
}
.hero__divider span { width: 42px; height: 1px; background: rgba(33, 28, 20, 0.3); }
.hero__divider i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.hero__name {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--burgundy-dark);
}

.hero__role {
  margin: 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--gold-deep);
}

.hero__text {
  font-size: 1.05rem;
  color: var(--text-dark-muted);
  margin: 0 0 32px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-in {
  opacity: 0;
  animation: hero-in 700ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: var(--d, 0ms);
}

/* =========================================================
   Diferenciais
   ========================================================= */
.diff {
  background: var(--bg-cream-2);
  border-bottom: 1px solid rgba(33,28,20,0.06);
}
.diff__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.diff__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 34px 26px;
  border-left: 1px solid rgba(33,28,20,0.1);
}
.diff__item:first-child { border-left: none; }
.diff__item svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--burgundy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.diff__item h3 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 6px;
}
.diff__item p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-dark-muted);
}

/* =========================================================
   Sobre mim
   ========================================================= */
.about { background: var(--bg-cream); padding: 96px 0; }
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.about__media img {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
  box-shadow: 0 24px 48px -18px rgba(33,28,20,0.28);
}
.about__content h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1.28;
  margin-bottom: 26px;
}
.about__quote {
  margin: 0 0 30px;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
}
.about__quote p {
  font-size: 1rem;
  color: var(--text-dark-muted);
  margin: 0 0 14px;
  font-style: italic;
}
.about__quote p:last-child { margin-bottom: 0; }

/* =========================================================
   Serviços
   ========================================================= */
.services { background: var(--bg-dark); padding: 96px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head--center { max-width: 100%; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.services .section-head h2 { color: var(--text-light); font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1.28; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--bg-dark-2);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.service-card svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 18px;
}
.service-card h3 {
  font-family: var(--font-body);
  color: var(--text-light);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-bottom: 12px;
}
.service-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-light-muted);
}

/* =========================================================
   Como funciona
   ========================================================= */
.steps { background: var(--bg-cream-2); padding: 88px 0; }
.steps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  text-align: center;
  padding: 0 12px;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.step svg {
  width: 34px;
  height: 34px;
  margin: 0 auto 12px;
  fill: none;
  stroke: var(--burgundy);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}
.step h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-bottom: 6px;
}
.step p { margin: 0; font-size: 0.82rem; color: var(--text-dark-muted); }

/* =========================================================
   CTA Band
   ========================================================= */
.cta-band {
  position: relative;
  background: var(--burgundy-dark);
  overflow: hidden;
  padding: 64px 0;
}
.cta-band__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 90% 20%, rgba(201,162,39,0.12), transparent 45%),
    radial-gradient(circle at 100% 90%, rgba(201,162,39,0.10), transparent 40%);
}
.cta-band__inner {
  position: relative;
  text-align: center;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.cta-band__icon {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cta-band__inner p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  max-width: 760px;
  margin: 0;
}
.br-desktop { display: none; }
@media (min-width: 640px) {
  .br-desktop { display: inline; }
}

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--bg-cream-2); color: var(--text-dark-muted); padding-top: 72px; border-top: 1px solid rgba(33,28,20,0.08); }
.footer .brand__mark { color: var(--gold-deep); border-color: rgba(125,95,21,0.5); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(33,28,20,0.12);
}
.footer__brand p { font-size: 0.86rem; margin: 18px 0 22px; max-width: 320px; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(125,95,21,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}
.footer__social svg { width: 17px; height: 17px; fill: none; stroke: var(--gold-deep); stroke-width: 1.6; }
.footer__social a:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.footer__social a:hover svg { stroke: var(--text-light); }

.footer__col h4 {
  font-family: var(--font-body);
  color: var(--text-dark);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin: 0 0 18px;
}
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: 0.86rem; transition: color var(--transition); }
.footer__col a:hover { color: var(--gold-deep); }
.footer__location { font-size: 0.86rem; }
.footer__cta { margin-top: 10px; align-self: flex-start; }

.footer__bottom { padding: 22px 0; }
.footer__bottom p { margin: 0; font-size: 0.78rem; text-align: center; color: var(--text-dark-muted); }

/* =========================================================
   WhatsApp floating button
   ========================================================= */
.float-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  transition: transform var(--transition);
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 26px; height: 26px; }
.float-btn--whatsapp { background: #25d366; }
.float-btn--whatsapp svg { fill: #fff; }
.float-btn--instagram { background: var(--burgundy); }
.float-btn--instagram svg { fill: none; stroke: var(--gold); stroke-width: 1.7; }

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--sd, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .diff__grid { grid-template-columns: repeat(2, 1fr); }
  .diff__item:nth-child(3) { border-left: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .steps__list { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .step p { display: none; }
}

@media (max-width: 860px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 24px;
    border-bottom: 1px solid rgba(201,162,39,0.18);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition), padding var(--transition);
  }
  .nav.is-open { max-height: 400px; padding: 8px 24px 18px; }
  .nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid rgba(201,162,39,0.08); }
  .nav-toggle { display: flex; order: 3; }
  .header__cta { order: 2; }

  .hero { display: block; min-height: auto; }
  .hero__bg {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    object-position: 68% 50%;
  }
  .hero__scrim { display: none; }
  .hero__decor { display: none; }
  .hero__grid { position: static; padding: 32px 0 44px; background: var(--bg-cream); }
  .hero__content { max-width: 100%; }
  .hero__kicker, .hero__role, .hero__text { padding-right: 64px; }

  .float-stack { right: 16px; bottom: 16px; gap: 10px; }
  .float-btn { width: 48px; height: 48px; }
  .float-btn svg { width: 22px; height: 22px; }
  .hero__kicker { font-size: 0.72rem; }
  .hero__name { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero__divider { margin: 14px 0; }
  .hero__text { margin-bottom: 26px; }

  .about__grid { grid-template-columns: 1fr; gap: 36px; }
  .about__media { max-width: 380px; margin: 0 auto; }

  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 24px 12px; }
}

@media (max-width: 620px) {
  .header__cta { display: none; }
  .brand__role { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .diff__grid { grid-template-columns: 1fr; }
  .diff__item { border-left: none; border-top: 1px solid rgba(33,28,20,0.1); }
  .diff__item:first-child { border-top: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .steps__list { grid-template-columns: repeat(2, 1fr); }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}
