/* =================================================================
   THAÍS UCHÔA ASSESSORIA — STYLESHEET
   Design tokens: off-white / bege / chumbo / vinho · Manrope
   ================================================================= */

/* ---------- TOKENS ---------- */
:root {
  /* Cores */
  --color-bg:          #FAF7F2; /* off-white */
  --color-bg-alt:      #F1E9DB; /* bege claro */
  --color-white:       #FFFFFF;
  --color-warm-gray:   #8A8478; /* cinza quente */
  --color-warm-gray-light: #B8B0A2;
  --color-charcoal:    #2B2924; /* chumbo */
  --color-wine:        #6E1F2B; /* vinho */
  --color-wine-dark:   #571723;

  --border-soft: rgba(43, 41, 36, 0.08);
  --shadow-soft: 0 4px 24px rgba(43, 41, 36, 0.06);
  --shadow-med:  0 12px 40px rgba(43, 41, 36, 0.10);

  /* Tipografia */
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container-w: 1140px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.5s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

:focus-visible {
  outline: 2px solid var(--color-wine);
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* ---------- TYPOGRAPHY HELPERS ---------- */
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-wine);
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-charcoal);
  line-height: 1.15;
}

.section-head {
  margin-bottom: 56px;
  max-width: 640px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
}

/* ---------- SCROLL-REVEAL ANIMATION ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-animate="fade-in"] { transform: none; }
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.btn--lg { padding: 16px 32px; font-size: 1rem; }

.btn--whatsapp {
  background: var(--color-wine);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}
.btn--whatsapp:hover {
  background: var(--color-wine-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-med);
}

.btn--ghost {
  background: transparent;
  color: var(--color-charcoal);
  border: 1.5px solid var(--border-soft);
}
.btn--ghost:hover {
  border-color: var(--color-charcoal);
  transform: translateY(-2px);
}

.icon-wa { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* =================================================================
   HEADER / NAV
   ================================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.header.is-scrolled {
  border-bottom-color: var(--border-soft);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.nav__brand-mark {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-charcoal);
  color: var(--color-bg);
  border-radius: 10px;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-size: 0.95rem;
}
.nav__brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-warm-gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links {
  display: flex;
  gap: 32px;
  font-size: 0.92rem;
  font-weight: 600;
}
.nav__links a {
  position: relative;
  color: var(--color-charcoal);
  transition: color var(--dur-fast) var(--ease);
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--color-wine);
  transition: width var(--dur-fast) var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
}
.nav__toggle span {
  display: block;
  width: 100%; height: 2px;
  background: var(--color-charcoal);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}

/* ---------- MOBILE NAV ---------- */
@media (max-width: 860px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 28px;
    border-bottom: 1px solid var(--border-soft);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links {
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
  }
  .nav__links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .nav__cta { justify-content: center; }

  .nav__toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-active span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* =================================================================
   HERO
   ================================================================= */
.hero {
  padding: 168px 0 96px;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg) 70%, var(--color-bg-alt) 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 1.08rem;
  color: var(--color-warm-gray);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__media {
  position: relative;
}
.hero__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-med);
}
.hero__media-frame {
  position: absolute;
  inset: -16px;
  border: 1.5px solid var(--border-soft);
  border-radius: calc(var(--radius-lg) + 12px);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero { padding: 128px 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { order: -1; max-width: 420px; margin: 0 auto; }
  .hero__subtitle { max-width: 100%; }
}

/* =================================================================
   PAIN SECTION
   ================================================================= */
.pain {
  padding: 88px 0;
  background: var(--color-bg-alt);
}
.pain__grid {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.pain__title {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 22px;
}
.pain__title span { color: var(--color-wine); }
.pain__text {
  font-size: 1.08rem;
  color: var(--color-warm-gray);
}

/* =================================================================
   SERVICES
   ================================================================= */
.services { padding: 110px 0; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card--service {
  background: var(--color-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.card--service:hover,
.card--service:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--shadow-med);
  border-color: transparent;
}

.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: background var(--dur-fast) var(--ease);
}
.card__icon svg {
  width: 24px; height: 24px;
  stroke: var(--color-wine);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card--service:hover .card__icon { background: var(--color-wine); }
.card--service:hover .card__icon svg { stroke: var(--color-white); }

.card--service h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.card--service p {
  color: var(--color-warm-gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.card__cta {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--color-wine);
}
.card__cta span { transition: transform var(--dur-fast) var(--ease); display: inline-block; }
.card--service:hover .card__cta span { transform: translateX(4px); }

@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* =================================================================
   PROCESS / COMO FUNCIONA  (signature element)
   ================================================================= */
.process {
  padding: 110px 0;
  background: var(--color-bg-alt);
}

.process__timeline {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  padding-left: 40px;
}
.process__timeline::before {
  content: '';
  position: absolute;
  left: 11px; top: 8px; bottom: 8px;
  width: 1.5px;
  background: linear-gradient(180deg, var(--color-wine) 0%, var(--border-soft) 100%);
}

.process__step {
  position: relative;
  padding-bottom: 48px;
}
.process__step:last-child { padding-bottom: 0; }

.process__mark {
  position: absolute;
  left: -40px; top: -2px;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--color-wine);
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-wine);
  border-radius: 50%;
}

.process__step p {
  font-size: 1.15rem;
  font-weight: 700;
  padding-top: 0;
}

/* =================================================================
   DIFERENCIAIS
   ================================================================= */
.diff { padding: 110px 0; }

.diff__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
}

.diff__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  font-weight: 600;
}
.diff__check {
  color: var(--color-wine);
  font-weight: 800;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .diff__grid { grid-template-columns: 1fr; }
}

/* =================================================================
   AUDIENCE / PARA QUEM É
   ================================================================= */
.audience {
  padding: 80px 0;
  background: var(--color-bg-alt);
}
.audience__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.audience__tags span {
  background: var(--color-white);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 600;
}

/* =================================================================
   ABOUT / SOBRE
   ================================================================= */
.about { padding: 110px 0; }

.about__grid {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
}

.about__quote {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--color-wine);
  opacity: 0.25;
}

.about h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: 22px; }

.about__text {
  font-size: 1.05rem;
  color: var(--color-warm-gray);
  max-width: 620px;
  margin-bottom: 18px;
}
.about__text--highlight {
  color: var(--color-charcoal);
  font-weight: 700;
}

@media (max-width: 700px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__quote { display: none; }
}

/* =================================================================
   FAQ
   ================================================================= */
.faq { padding: 110px 0; }

.faq__list { max-width: 720px; }

.faq__item {
  border-bottom: 1px solid var(--border-soft);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
}

.faq__icon {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  background: var(--color-wine);
  transition: transform var(--dur-fast) var(--ease);
}
.faq__icon::before { left: 0; top: 8px; width: 18px; height: 1.5px; }
.faq__icon::after { left: 8px; top: 0; width: 1.5px; height: 18px; }

.faq__question[aria-expanded="true"] .faq__icon::after { transform: rotate(90deg); opacity: 0; }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-med) var(--ease);
}
.faq__answer p {
  padding-bottom: 24px;
  color: var(--color-warm-gray);
  font-size: 0.98rem;
  max-width: 600px;
}

/* =================================================================
   CTA FINAL
   ================================================================= */
.cta-final {
  padding: 120px 0;
  background: var(--color-charcoal);
  text-align: center;
}
.cta-final h2 {
  color: var(--color-bg);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}
.cta-final p {
  color: var(--color-warm-gray-light);
  max-width: 540px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}

/* =================================================================
   FOOTER
   ================================================================= */
.footer {
  padding: 56px 0 28px;
  background: var(--color-charcoal);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 36px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer__brand .nav__brand-mark {
  background: var(--color-bg);
  color: var(--color-charcoal);
}
.footer__name { color: var(--color-bg); font-weight: 700; }
.footer__location { color: var(--color-warm-gray-light); font-size: 0.88rem; margin-top: 4px; }

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}
.footer__links a {
  color: var(--color-warm-gray-light);
  transition: color var(--dur-fast) var(--ease);
}
.footer__links a:hover { color: var(--color-bg); }

.footer__copy {
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-warm-gray);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* =================================================================
   FLOATING WHATSAPP BUTTON
   ================================================================= */
.float-wa {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  background: var(--color-wine);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-med);
  z-index: 90;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  animation: float-pulse 2.6s ease-in-out infinite;
}
.float-wa svg { width: 27px; height: 27px; fill: var(--color-white); }
.float-wa:hover { transform: scale(1.08); background: var(--color-wine-dark); animation-play-state: paused; }

@keyframes float-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(110, 31, 43, 0.35), var(--shadow-med); }
  50% { box-shadow: 0 0 0 10px rgba(110, 31, 43, 0), var(--shadow-med); }
}

@media (max-width: 600px) {
  .float-wa { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .float-wa svg { width: 24px; height: 24px; }
}

/* =================================================================
   MODAL
   ================================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 41, 36, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}
.modal-overlay.is-open {
  display: flex;
  opacity: 1;
}

.modal {
  display: none;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform var(--dur-fast) var(--ease);
  box-shadow: var(--shadow-med);
}
.modal.is-active { display: block; }
.modal-overlay.is-open .modal.is-active { transform: translateY(0) scale(1); }

.modal__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-warm-gray);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.modal__close:hover { background: var(--color-bg-alt); color: var(--color-charcoal); }

.modal h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  padding-right: 30px;
}
.modal__intro {
  color: var(--color-warm-gray);
  margin-bottom: 22px;
  font-size: 0.98rem;
}
.modal__list {
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
}
.modal__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94rem;
  color: var(--color-charcoal);
}
.modal__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--color-wine);
}

body.modal-locked { overflow: hidden; }

/* =================================================================
   RESPONSIVE — small section padding adjustments
   ================================================================= */
@media (max-width: 700px) {
  .services, .process, .diff, .about, .faq, .pain { padding: 72px 0; }
  .cta-final { padding: 88px 0; }
  .section-head { margin-bottom: 40px; }
}
