/* ==========================================================================
   Kirsten Advocacia — LP Direito Trabalhista e Previdenciário
   --------------------------------------------------------------------------
   1. Tokens & base
   2. Botões
   3. Navbar
   4. Hero + formulário
   5. Seções (base, cabeçalhos, molduras)
   6. Diferenciais
   7. Dor do cliente
   8. Público
   9. Áreas de atuação
   10. Como funciona
   11. História
   12. FAQ
   13. CTA final
   14. Rodapé + WhatsApp flutuante
   15. Reveal
   ========================================================================== */

/* 1. Tokens & base ======================================================= */
:root {
  --kr-ink: #16110d;
  --kr-espresso: #211812;
  --kr-brown: #3b2b20;
  --kr-gold: #c9a35a;
  --kr-gold-light: #e2c588;
  --kr-gold-deep: #7f5e24;
  --kr-gold-grad: linear-gradient(135deg, #e6c98a 0%, #c9a35a 48%, #a9803a 100%);
  --kr-red: #8a1813;
  --kr-red-600: #6e130f;
  --kr-red-soft: #e0766e;
  --kr-red-tint: rgba(138, 24, 19, .08);
  --kr-cream: #f6f1e8;
  --kr-cream-200: #ece3d4;
  --kr-white: #ffffff;
  --kr-text: #2a211b;
  --kr-muted: #6b5f55;
  --kr-on-dark: #f5efe6;
  --kr-on-dark-muted: rgba(245, 239, 230, .74);
  --kr-line: rgba(59, 43, 32, .14);
  --kr-line-dark: rgba(226, 197, 136, .18);
  --kr-whatsapp: #25d366;
  --kr-radius: 10px;
  --kr-radius-lg: 16px;
  --kr-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --kr-sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --kr-ease: cubic-bezier(.2, .7, .2, 1);
  --kr-nav-h: 88px;

  --custom-primary: var(--kr-red);
  --bs-body-font-family: var(--kr-sans);
  --bs-body-color: var(--kr-text);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kr-nav-h) + 12px);
}

body {
  font-family: var(--kr-sans);
  font-size: 1.0625rem;
  color: var(--kr-text);
  background: var(--kr-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

::selection {
  background: var(--kr-red);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--kr-red);
  outline-offset: 3px;
}

/* 2. Botões ============================================================== */
.kr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3.4rem;
  padding: .85rem 1.75rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  transition: background-color .25s var(--kr-ease), color .25s var(--kr-ease), border-color .25s var(--kr-ease), transform .25s var(--kr-ease), box-shadow .25s var(--kr-ease), filter .25s var(--kr-ease);
}

.kr-btn i {
  font-size: 1.1em;
  transition: transform .25s var(--kr-ease);
}

.kr-btn:hover i.bi-arrow-right {
  transform: translateX(4px);
}

.kr-btn--red {
  background: var(--kr-red);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(138, 24, 19, .75);
}

.kr-btn--red:hover {
  background: var(--kr-red-600);
  color: #fff;
  transform: translateY(-2px);
}

.kr-btn--dark {
  background: var(--kr-ink);
  color: var(--kr-gold-light);
}

.kr-btn--dark:hover {
  background: var(--kr-brown);
  color: var(--kr-gold-light);
  transform: translateY(-2px);
}


/* 3. Navbar ============================================================== */
.kr-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1030;
  height: var(--kr-nav-h);
  background: rgba(22, 17, 13, .96);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(8px);
  transition: box-shadow .3s var(--kr-ease), border-color .3s var(--kr-ease);
}

.kr-nav.is-scrolled {
  border-color: var(--kr-line-dark);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8);
}

.kr-nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.kr-nav__brand img {
  height: 68px;
  width: auto;
}

.kr-nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.kr-nav__menu ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kr-nav__menu ul a {
  position: relative;
  color: var(--kr-on-dark);
  font-weight: 600;
  font-size: .98rem;
  text-decoration: none;
  padding: .35rem 0;
}

.kr-nav__menu ul a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--kr-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--kr-ease);
}

.kr-nav__menu ul a:hover {
  color: var(--kr-gold-light);
}

.kr-nav__menu ul a:hover::after {
  transform: scaleX(1);
}

.kr-nav__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.25rem;
  border-radius: 999px;
  background: var(--kr-red);
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s var(--kr-ease);
}

.kr-nav__cta:hover {
  background: var(--kr-red-600);
  color: #fff;
}

.kr-nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--kr-line-dark);
  border-radius: 10px;
  background: transparent;
}

.kr-nav__toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--kr-gold-light);
  transition: transform .3s var(--kr-ease), top .3s var(--kr-ease);
}

.kr-nav__toggle span:first-child {
  top: 17px;
}

.kr-nav__toggle span:last-child {
  top: 25px;
}

.kr-nav.is-open .kr-nav__toggle span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.kr-nav.is-open .kr-nav__toggle span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

@media (max-width: 1199.98px) {
  .kr-nav__menu {
    gap: 1.25rem;
  }

  .kr-nav__menu ul {
    gap: 1.1rem;
  }
}

@media (max-width: 991.98px) {
  :root {
    --kr-nav-h: 74px;
  }

  .kr-nav__brand img {
    height: 56px;
  }

  .kr-nav__toggle {
    display: block;
  }

  .kr-nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: .5rem 1.25rem 1.5rem;
    background: var(--kr-ink);
    border-bottom: 1px solid var(--kr-line-dark);
    box-shadow: 0 24px 30px -20px rgba(0, 0, 0, .8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s var(--kr-ease), transform .25s var(--kr-ease), visibility .25s;
  }

  .kr-nav.is-open .kr-nav__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .kr-nav__menu ul {
    flex-direction: column;
    gap: 0;
  }

  .kr-nav__menu ul a {
    display: block;
    padding: .9rem 0;
    border-bottom: 1px solid var(--kr-line-dark);
  }

  .kr-nav__menu ul a::after {
    display: none;
  }

  .kr-nav__cta {
    justify-content: center;
    padding: .95rem 1.2rem;
  }
}

/* 4. Hero + formulário =================================================== */
.kr-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--kr-nav-h) + 3.5rem) 0 4.5rem;
  color: var(--kr-on-dark);
  background: var(--kr-ink) url('../images/banner-kirsten-advocacia-principal.jpg') center / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}

.kr-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(22, 17, 13, .8) 0%, rgba(22, 17, 13, .6) 45%, rgba(22, 17, 13, .25) 100%),
    linear-gradient(0deg, rgba(22, 17, 13, .4) 0%, transparent 35%);
}

.kr-hero__title {
  font-family: var(--kr-serif);
  font-size: clamp(2.35rem, 4.6vw, 3.9rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0 0 1.4rem;
  color: #fff;
  text-wrap: balance;
}

.kr-hero__title em {
  font-style: italic;
  color: var(--kr-gold-light);
}

.kr-hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--kr-on-dark-muted);
  max-width: 38rem;
  margin: 0 0 2rem;
}

.kr-seals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 40rem;
}

.kr-seals li {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1rem;
  border-radius: var(--kr-radius);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--kr-line-dark);
  font-weight: 600;
  font-size: .97rem;
  line-height: 1.3;
  color: #fff;
}

.kr-seals i {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  border: 1px solid var(--kr-red);
  color: #fff;
  font-size: 1.05rem;
}

/* Card do formulário */
.kr-form-card {
  position: relative;
  background: var(--kr-white);
  color: var(--kr-text);
  border-radius: var(--kr-radius-lg);
  padding: 2.1rem 2rem 1.6rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .75);
}

.kr-form-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: var(--kr-radius-lg) var(--kr-radius-lg) 0 0;
  background: var(--kr-red);
}

.kr-form-card__title {
  font-family: var(--kr-serif);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--kr-ink);
  margin: 0 0 .5rem;
}

.kr-form-card__sub {
  font-size: .98rem;
  line-height: 1.55;
  color: var(--kr-muted);
  margin: 0 0 1.35rem;
}

.kr-form-card__note {
  font-size: .9rem;
  line-height: 1.5;
  color: var(--kr-muted);
  text-align: center;
  margin: 1rem 0 0;
}

.kr-form-card__privacy {
  display: flex;
  gap: .55rem;
  margin: .9rem 0 0;
  padding-top: .9rem;
  border-top: 1px solid var(--kr-line);
  font-size: .8rem;
  line-height: 1.5;
  color: var(--kr-muted);
}

.kr-form-card__privacy i {
  flex: none;
  color: var(--kr-red);
  font-size: .95rem;
}

.kr-form-card__privacy a,
.kr-footer__legal a {
  color: var(--kr-red);
  font-weight: 700;
}

/* Layout do form (markup herdado do core) */
.kr-form-card form {
  gap: .75rem !important;
}

.kr-form-card .form-floating > .form-control,
.kr-form-card .form-floating > .form-select {
  height: 3.45rem;
  min-height: 3.45rem;
  border: 1px solid #ddd3c4;
  border-radius: var(--kr-radius);
  background-color: #fbf8f3;
  font-size: 1rem;
  color: var(--kr-text);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}

.kr-form-card .form-floating > .form-control:focus,
.kr-form-card .form-floating > .form-select:focus {
  background-color: #fff;
  border-color: var(--kr-red);
  box-shadow: 0 0 0 3px rgba(138, 24, 19, .14);
}

.kr-form-card .form-floating > label {
  font-size: .95rem;
  color: var(--kr-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.kr-form-card .form-floating > .form-control:focus ~ label,
.kr-form-card .form-floating > .form-control:not(:placeholder-shown) ~ label,
.kr-form-card .form-floating > .form-select ~ label {
  color: var(--kr-muted);
}

.kr-form-card .form-floating > .form-control:focus ~ label::after,
.kr-form-card .form-floating > .form-control:not(:placeholder-shown) ~ label::after,
.kr-form-card .form-floating > .form-select ~ label::after {
  background-color: transparent;
}

/* Pergunta da área é longa: label fixo acima do select, sem cortar no mobile */
.kr-form-card .form-floating:has(#area) {
  display: flex;
  flex-direction: column-reverse;
  gap: .4rem;
}

.kr-form-card .form-floating:has(#area) > label {
  position: static;
  height: auto;
  padding: 0;
  transform: none;
  white-space: normal;
  overflow: visible;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--kr-text) !important;
  opacity: 1;
}

.kr-form-card .form-floating:has(#area) > label::after {
  display: none;
}

.kr-form-card .form-floating > #area {
  padding-top: .375rem;
  padding-bottom: .375rem;
}

.kr-form-card .form-floating:has(#area).is-highlight > #area {
  border-color: var(--kr-red);
  box-shadow: 0 0 0 4px rgba(138, 24, 19, .2);
}

.kr-form-card .form-floating > textarea.form-control {
  height: auto;
  min-height: 7.5rem !important;
}

.kr-form-card .form-floating:has(textarea)::before {
  background-color: #fbf8f3;
}

.kr-form-card .form-floating:has(textarea:focus)::before {
  background-color: #fff;
}

.kr-form-card .form-select:has(option[value=""]:checked) {
  color: #8d8278;
}

.kr-form-card .required {
  color: #a5301f;
}

/* Consentimento LGPD */
.kr-form-card .form-check {
  display: flex;
  gap: .65rem;
  padding: 0;
  margin: .1rem 0 0;
}

.kr-form-card .form-check-input {
  flex: none;
  float: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: .1rem 0 0;
  border: 1.5px solid #bcae99;
  cursor: pointer;
}

.kr-form-card .form-check-input:checked {
  background-color: var(--kr-red);
  border-color: var(--kr-red);
}

.kr-form-card .form-check-input:focus {
  border-color: var(--kr-red);
  box-shadow: 0 0 0 3px rgba(138, 24, 19, .16);
}

.kr-form-card .form-check label {
  font-size: .86rem;
  line-height: 1.45;
  color: var(--kr-muted);
  cursor: pointer;
}

.kr-form-card #submit-button-form {
  margin-top: .35rem;
  min-height: 3.5rem;
  border-radius: 999px;
  background: var(--kr-red);
  border: 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  box-shadow: 0 14px 30px -14px rgba(138, 24, 19, .75);
}

.kr-form-card #submit-button-form:hover:not(:disabled) {
  background: var(--kr-red-600) !important;
  color: #fff !important;
  filter: none !important;
}

.kr-form-card #submit-button-form:disabled {
  opacity: .7;
}

@media (max-width: 991.98px) {
  .kr-hero {
    min-height: 0;
    padding: calc(var(--kr-nav-h) + 2.75rem) 0 4rem;
    background-position: 62% center;
  }

  .kr-hero::before {
    background: linear-gradient(180deg, rgba(22, 17, 13, .55) 0%, rgba(22, 17, 13, .72) 60%, rgba(22, 17, 13, .9) 100%);
  }
}

@media (max-width: 575.98px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .kr-seals {
    grid-template-columns: 1fr;
    gap: .55rem;
  }

  .kr-form-card {
    padding: 1.75rem 1.25rem 1.4rem;
  }

  .kr-form-card__title {
    font-size: 1.65rem;
  }
}

/* 5. Seções ============================================================== */
.kr-section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.kr-section--white {
  background: var(--kr-white);
}

.kr-section--cream {
  background: var(--kr-cream);
}

.kr-section--dark {
  background: var(--kr-ink);
  color: var(--kr-on-dark);
}

.kr-head {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.kr-head--center {
  text-align: center;
  max-width: 50rem;
  margin-left: auto;
  margin-right: auto;
}

.kr-title {
  font-family: var(--kr-serif);
  font-size: clamp(2.05rem, 3.6vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.005em;
  color: var(--kr-ink);
  margin: 0 0 1rem;
  text-wrap: balance;
}

.kr-head--center .kr-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  margin: 1.1rem auto 0;
  background: var(--kr-red);
}

.kr-section--dark .kr-title {
  color: #fff;
}

.kr-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--kr-muted);
  margin: 0;
}

.kr-section--dark .kr-lead {
  color: var(--kr-on-dark-muted);
}

/* Moldura de imagem com filete dourado deslocado */
.kr-frame {
  position: relative;
  margin: 0 1.1rem 1.1rem 0;
  isolation: isolate;
}

.kr-frame::before {
  content: '';
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  z-index: -1;
  border: 1.5px solid var(--kr-gold);
  border-radius: var(--kr-radius-lg);
}

.kr-frame img {
  width: 100%;
  border-radius: var(--kr-radius-lg);
  box-shadow: 0 30px 70px -35px rgba(0, 0, 0, .75);
}

@media (max-width: 991.98px) {
  .kr-frame {
    max-width: 440px;
    margin: 0 auto 1.1rem;
    transform: translateX(-.55rem);
  }
}

/* 6. Diferenciais ======================================================== */
.kr-features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.25rem;
}

.kr-feature {
  grid-column: span 2;
  padding: 2rem 1.75rem;
  border-radius: var(--kr-radius-lg);
  background: var(--kr-white);
  border: 1px solid var(--kr-line);
  transition: border-color .3s var(--kr-ease), transform .3s var(--kr-ease), box-shadow .3s var(--kr-ease);
}

/* 5 cards: 3 em cima, 2 centralizados embaixo */
.kr-feature:nth-child(4) {
  grid-column: 2 / span 2;
}

.kr-feature:hover {
  border-color: rgba(138, 24, 19, .35);
  box-shadow: 0 24px 50px -30px rgba(59, 43, 32, .45);
  transform: translateY(-4px);
}

.kr-feature img {
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
}

.kr-feature h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--kr-ink);
  margin: 0 0 .45rem;
}

.kr-feature p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--kr-muted);
  margin: 0;
}

@media (max-width: 991.98px) {
  .kr-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kr-feature,
  .kr-feature:nth-child(4) {
    grid-column: auto;
  }

  .kr-feature:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .kr-features {
    grid-template-columns: 1fr;
    gap: .85rem;
  }

  .kr-feature {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 1rem;
    padding: 1.35rem 1.2rem;
  }

  .kr-feature img {
    width: 52px;
    height: 52px;
    grid-row: span 2;
    margin: 0;
  }
}

/* 7. Dor do cliente ====================================================== */
.kr-pain {
  overflow: hidden;
}

.kr-pain::before {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  right: -240px;
  top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 24, 19, .35) 0%, transparent 65%);
  pointer-events: none;
}

.kr-pain .kr-title {
  margin-bottom: 1.5rem;
}

.kr-pain__text {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--kr-on-dark-muted);
  margin: 0 0 1.75rem;
}

.kr-pain__highlight {
  margin: 0;
  padding: 1.4rem 1.6rem;
  border-radius: 0 var(--kr-radius) var(--kr-radius) 0;
  background: rgba(138, 24, 19, .14);
  border-left: 3px solid var(--kr-red);
  font-family: var(--kr-serif);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.35;
  color: #fff;
}

/* 8. Público ============================================================= */
.kr-profile {
  display: grid;
  grid-template-columns: 42% 1fr;
  height: 100%;
  border-radius: var(--kr-radius-lg);
  overflow: hidden;
  background: var(--kr-cream);
  border: 1px solid var(--kr-line);
  transition: transform .3s var(--kr-ease), box-shadow .3s var(--kr-ease);
}

.kr-profile:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px -34px rgba(59, 43, 32, .55);
}

.kr-profile__media {
  overflow: hidden;
}

.kr-profile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--kr-ease);
}

.kr-profile:hover .kr-profile__media img {
  transform: scale(1.04);
}

.kr-profile__body {
  padding: 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kr-profile__icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: var(--kr-ink);
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.kr-profile h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--kr-ink);
  margin: 0 0 .5rem;
}

.kr-profile p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--kr-muted);
  margin: 0;
}

@media (max-width: 1199.98px) and (min-width: 768px) {
  .kr-profile {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  .kr-profile__media {
    aspect-ratio: 16 / 10;
  }

  .kr-profile__body {
    justify-content: flex-start;
  }
}

@media (max-width: 575.98px) {
  .kr-profile {
    grid-template-columns: 1fr;
  }

  .kr-profile__media {
    aspect-ratio: 16 / 10;
  }

  .kr-profile__body {
    position: relative;
    padding: 0 1.25rem 1.5rem;
  }

  .kr-profile__icon {
    margin-top: -1.4rem;
    box-shadow: 0 0 0 4px var(--kr-cream);
  }
}

/* 9. Áreas de atuação ==================================================== */
.kr-area__head {
  position: sticky;
  top: calc(var(--kr-nav-h) + 2rem);
}

.kr-area__head .kr-lead {
  margin-bottom: 2rem;
}

.kr-area__badge {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: var(--kr-ink);
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 0 0 6px var(--kr-cream), 0 0 0 7px rgba(138, 24, 19, .4);
}

.kr-area--dark .kr-area__badge {
  background: var(--kr-red);
  color: #fff;
  box-shadow: 0 0 0 6px var(--kr-ink), 0 0 0 7px rgba(138, 24, 19, .6);
}

.kr-topics {
  display: grid;
  gap: 1rem;
  list-style: none;
  counter-reset: topic;
  padding: 0;
  margin: 0;
}

.kr-topics li {
  counter-increment: topic;
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  column-gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 1.6rem;
  border-radius: var(--kr-radius-lg);
  background: var(--kr-white);
  border: 1px solid var(--kr-line);
  transition: border-color .3s var(--kr-ease), transform .3s var(--kr-ease);
}

.kr-topics li:hover {
  border-color: rgba(138, 24, 19, .4);
  transform: translateX(4px);
}

.kr-topics li::before {
  content: counter(topic, decimal-leading-zero);
  grid-row: 1 / span 2;
  align-self: center;
  font-variant-numeric: lining-nums;
  font-family: var(--kr-serif);
  font-size: 2.3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--kr-red);
}

.kr-topics h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--kr-ink);
  margin: 0;
}

/* Itens sem descrição: título centralizado com o número */
.kr-topics h3:last-child {
  grid-row: 1 / span 2;
}

.kr-topics p {
  grid-column: 2;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--kr-muted);
  margin: .35rem 0 0;
}

.kr-area--dark .kr-topics li {
  background: rgba(255, 255, 255, .04);
  border-color: var(--kr-line-dark);
}

.kr-area--dark .kr-topics li::before {
  color: var(--kr-red-soft);
}

.kr-area--dark .kr-topics h3 {
  color: #fff;
}

.kr-area--dark .kr-topics p {
  color: var(--kr-on-dark-muted);
}

.kr-area__foot {
  margin-top: 1.5rem;
}

@media (max-width: 991.98px) {
  .kr-area__head {
    position: static;
  }

  .kr-area__head .kr-lead {
    margin-bottom: 0;
  }
}

@media (max-width: 575.98px) {
  .kr-area__foot .kr-btn {
    width: 100%;
  }

  .kr-topics {
    gap: .75rem;
  }

  .kr-topics li {
    grid-template-columns: 2.4rem 1fr;
    column-gap: .9rem;
    padding: 1.2rem 1.15rem;
  }

  .kr-topics li::before {
    font-size: 1.85rem;
  }

  .kr-topics h3 {
    font-size: 1.1rem;
  }
}

/* 10. Como funciona ====================================================== */
.kr-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.kr-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 12.5%;
  right: 12.5%;
  height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--kr-red) 0 8px, transparent 8px 16px);
  opacity: .7;
}

.kr-step {
  position: relative;
  text-align: center;
  padding: 0 .5rem;
}

.kr-step__marker {
  position: relative;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--kr-red);
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 0 0 8px var(--kr-white), 0 0 0 9px rgba(138, 24, 19, .35);
}

.kr-step__num {
  display: block;
  font-variant-numeric: lining-nums;
  font-family: var(--kr-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--kr-red);
  margin-bottom: .3rem;
}

.kr-step h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--kr-ink);
  margin: 0 0 .5rem;
}

.kr-step p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--kr-muted);
  margin: 0;
}

@media (max-width: 991.98px) {
  .kr-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.5rem;
  }

  .kr-steps::before {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .kr-steps {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .kr-step {
    display: grid;
    grid-template-columns: 3.25rem 1fr;
    column-gap: 1.1rem;
    text-align: left;
    padding: 0 0 2rem;
  }

  .kr-step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: calc(1.625rem - 1px);
    top: 3.6rem;
    bottom: .4rem;
    width: 1.5px;
    background: rgba(138, 24, 19, .35);
  }

  .kr-step__marker {
    grid-row: span 3;
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.25rem;
    margin: 0;
    box-shadow: none;
  }
}

/* 11. História =========================================================== */
.kr-story .kr-title {
  margin-bottom: 1.5rem;
}

.kr-story__text {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--kr-muted);
  margin: 0 0 2.25rem;
}

.kr-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 1.75rem 0 0;
  margin: 0;
}

.kr-timeline::before {
  content: '';
  position: absolute;
  top: .55rem;
  left: .55rem;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--kr-red) 0%, rgba(138, 24, 19, .12) 100%);
}

.kr-timeline li {
  position: relative;
}

.kr-timeline li::before {
  content: '';
  position: absolute;
  top: -1.55rem;
  left: 0;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--kr-red);
  box-shadow: 0 0 0 5px var(--kr-cream);
}

.kr-timeline strong {
  display: block;
  font-variant-numeric: lining-nums;
  font-family: var(--kr-serif);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--kr-ink);
}

.kr-timeline span {
  display: block;
  margin-top: .25rem;
  font-size: 1rem;
  color: var(--kr-muted);
}

/* 12. FAQ ================================================================ */
.kr-faq__head {
  position: sticky;
  top: calc(var(--kr-nav-h) + 2rem);
}

.kr-faq {
  display: grid;
  gap: .85rem;
}

.kr-faq details {
  border-radius: var(--kr-radius);
  background: var(--kr-cream);
  border: 1px solid transparent;
  transition: background-color .25s var(--kr-ease), border-color .25s var(--kr-ease);
}

.kr-faq details[open] {
  background: #fff;
  border-color: rgba(138, 24, 19, .35);
  box-shadow: 0 20px 40px -30px rgba(59, 43, 32, .45);
}

.kr-faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 3.75rem 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--kr-ink);
}

.kr-faq summary::-webkit-details-marker {
  display: none;
}

.kr-faq summary::after {
  content: '+';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--kr-ink);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1;
}

.kr-faq details[open] summary::after {
  content: '−';
  background: var(--kr-red);
  color: #fff;
}

.kr-faq details p {
  margin: 0;
  padding: 0 1.5rem 1.4rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--kr-muted);
}

.kr-faq a {
  color: var(--kr-red);
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .kr-faq__head {
    position: static;
    margin-bottom: 0;
  }
}

@media (max-width: 575.98px) {
  .kr-faq summary {
    padding: 1.1rem 3.4rem 1.1rem 1.15rem;
    font-size: 1.03rem;
  }

  .kr-faq summary::after {
    right: 1rem;
  }

  .kr-faq details p {
    padding: 0 1.15rem 1.25rem;
  }
}

/* 13. CTA final ========================================================== */
.kr-cta {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0;
  background: var(--kr-ink) url('../images/banner-kirsten-advocacia-cta.jpg') center / cover no-repeat;
  color: #fff;
  isolation: isolate;
}

.kr-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(59, 43, 32, .45) 0%, rgba(22, 17, 13, .7) 70%);
}

.kr-cta__inner {
  max-width: 62rem;
  margin: 0 auto;
  text-align: center;
}

.kr-cta__title {
  max-width: 44rem;
  margin: 0 auto 1.25rem;
  font-family: var(--kr-serif);
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.06;
  text-wrap: balance;
}

.kr-cta__text {
  max-width: 46rem;
  margin: 0 auto 2.25rem;
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.7;
  color: var(--kr-on-dark-muted);
}

.kr-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (max-width: 575.98px) {
  .kr-btn--cta {
    width: 100%;
    font-size: .95rem;
    padding: .85rem 1.1rem;
  }
}

/* 14. Rodapé + WhatsApp flutuante ======================================== */
.kr-footer {
  padding: 4rem 0 2rem;
  background: var(--kr-espresso);
  color: var(--kr-on-dark-muted);
}

.kr-footer__brand img {
  height: 110px;
  width: auto;
  margin-bottom: 1.5rem;
}

.kr-footer__social {
  display: flex;
  gap: .6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.kr-footer__social a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--kr-line-dark);
  color: var(--kr-gold-light);
  font-size: 1.1rem;
  text-decoration: none;
  transition: background-color .25s var(--kr-ease), color .25s var(--kr-ease);
}

.kr-footer__social a:hover {
  background: var(--kr-red);
  color: #fff;
}

.kr-footer__contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.kr-footer__contacts li {
  display: flex;
  gap: .8rem;
  min-width: 0;
}

.kr-footer__contacts li > i {
  flex: none;
  color: var(--kr-gold);
  font-size: 1.15rem;
  margin-top: .1rem;
}

.kr-footer__contacts span {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--kr-on-dark-muted);
  margin-bottom: .2rem;
}

.kr-footer__contacts a,
.kr-footer__contacts p {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--kr-on-dark);
  text-decoration: none;
  margin: 0;
  overflow-wrap: anywhere;
}

.kr-footer__contacts a:hover {
  color: var(--kr-gold-light);
}

.kr-footer__wide {
  grid-column: 1 / -1;
}

.kr-footer__legal {
  display: grid;
  gap: .75rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--kr-line-dark);
}

.kr-footer__legal p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.65;
}

.kr-footer__legal strong {
  color: var(--kr-on-dark);
}

.kr-footer__legal a {
  color: var(--kr-gold-light);
}

.kr-footer__bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--kr-line-dark);
  text-align: center;
}

.kr-footer__bottom p {
  margin: 0;
  font-size: .85rem;
}

@media (max-width: 575.98px) {
  .kr-footer__contacts {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .kr-footer {
    padding-bottom: 6rem;
  }
}

.kr-float-wa {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1020;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: var(--kr-whatsapp);
  color: #fff;
  font-size: 1.75rem;
  text-decoration: none;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .45);
  transition: transform .3s var(--kr-ease), opacity .3s var(--kr-ease), visibility .3s;
}

.kr-float-wa:hover {
  color: #fff;
  transform: scale(1.06);
}

.kr-float-wa.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}

/* 15. Reveal ============================================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--kr-ease), transform .7s var(--kr-ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
