/* ============================================
   LESSA ADVOCACIA — Landing Page
   Paleta sóbria, tipografia forense e moderna
   ============================================ */

:root {
  --navy:        #0f2540;
  --navy-dark:   #0a1a2e;
  --gold:        #c9a24b;
  --gold-dark:   #a8852d;
  --ink:         #1b1f24;
  --text:        #3a4352;
  --muted:       #6b7280;
  --line:        #e6e8ec;
  --bg:          #ffffff;
  --bg-soft:     #f7f8fa;
  --bg-dark:     #0f2540;
  --radius:      14px;
  --radius-sm:   8px;
  --shadow-sm:   0 2px 10px rgba(15,37,64,.06);
  --shadow-md:   0 10px 30px rgba(15,37,64,.10);
  --shadow-lg:   0 20px 50px rgba(15,37,64,.15);
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --max:         1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { margin: 0 0 1em; }
ul { list-style: none; padding: 0; margin: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: all .25s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--gold); color: #fff; box-shadow: 0 8px 20px rgba(201,162,75,.35); }
.btn--primary:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(201,162,75,.45); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--sm { padding: 10px 20px; font-size: .88rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.logo__img { height: 56px; width: auto; display: block; }
.logo__img--light { height: 72px; }
@media (max-width: 720px) {
  .logo__img { height: 46px; }
  .logo__img--light { height: 60px; }
}

.nav { display: flex; gap: 28px; }
.nav a { font-size: .94rem; font-weight: 500; color: var(--ink); position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--gold); transition: width .25s ease;
}
.nav a:hover { color: var(--navy); }
.nav a:hover::after { width: 100%; }

.nav__toggle { display: none; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; padding: 0; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: all .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 90vh; padding: 140px 0 80px;
  color: #fff; display: flex; align-items: center;
  background:
    linear-gradient(90deg, #0a1a2e 0%, #0a1a2e 35%, rgba(10,26,46,.75) 55%, rgba(10,26,46,.15) 80%, transparent 100%),
    url("hero-bg.png") right center / auto 98% no-repeat,
    #0a1a2e;
  overflow: hidden;
}
.hero::before {
  content:""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(201,162,75,.10), transparent 50%);
  pointer-events: none;
}
@media (max-width: 880px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(10,26,46,.88) 0%, rgba(10,26,46,.75) 55%, rgba(10,26,46,.55) 100%),
      url("hero-bg.png") center / cover no-repeat,
      #0a1a2e;
  }
}
.hero__content { position: relative; max-width: 600px; }
.hero__eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); padding: 6px 14px; border: 1px solid rgba(201,162,75,.5); border-radius: 999px;
  margin-bottom: 28px;
}
.hero__title { color: #fff; margin-bottom: 20px; }
.hero__title .accent { color: var(--gold); font-style: italic; }
.hero__subtitle { font-size: 1.1rem; color: rgba(255,255,255,.85); max-width: 660px; }
.hero__subtitle strong { color: var(--gold); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__badges {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px;
  margin-top: 56px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.15);
  max-width: 620px;
}
.hero__badges li strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--gold); }
.hero__badges li span { font-size: .85rem; color: rgba(255,255,255,.75); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--muted { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: rgba(255,255,255,.88); }
.section--contact { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }

.section__header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__eyebrow {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
  color: var(--gold-dark);
}
.section__eyebrow--light { color: var(--gold); }
.section__header h2 { margin-top: 10px; }
.section__header p { color: var(--muted); font-size: 1.05rem; }
.h2--light { color: #fff; }
.lead { font-size: 1.1rem; color: rgba(255,255,255,.85); }
.section--dark .lead strong { color: var(--gold); }

/* ---------- Cards ---------- */
.cards {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: all .3s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; background: rgba(201,162,75,.12);
  color: var(--gold-dark); display: grid; place-items: center; margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card p { color: var(--muted); font-size: .95rem; }
.card__link { display: inline-block; margin-top: 8px; color: var(--navy); font-weight: 600; font-size: .9rem; }
.card__link:hover { color: var(--gold-dark); }
.card--featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff; border: none;
}
.card--featured h3 { color: #fff; }
.card--featured p { color: rgba(255,255,255,.8); }
.card--featured .card__icon { background: rgba(201,162,75,.25); color: var(--gold); }
.card--featured .card__link { color: var(--gold); }

/* ---------- Grid two ---------- */
.grid-two {
  display: grid; gap: 60px; align-items: center;
  grid-template-columns: 1fr 1fr;
}
.grid-two--reverse > *:first-child { order: 2; }
@media (max-width: 880px) {
  .grid-two { grid-template-columns: 1fr; gap: 40px; }
  .grid-two--reverse > *:first-child { order: 0; }
}

/* ---------- Check list ---------- */
.check-list { display: grid; gap: 12px; margin: 26px 0 32px; }
.check-list li {
  position: relative; padding-left: 34px; color: rgba(255,255,255,.9); font-size: .98rem;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--gold);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 14px; background-repeat: no-repeat; background-position: center;
}

/* ---------- Fact box ---------- */
.fact-box {
  background: linear-gradient(135deg, rgba(201,162,75,.14), rgba(201,162,75,.04));
  border: 1px solid rgba(201,162,75,.35); border-radius: var(--radius);
  padding: 40px; text-align: center;
}
.fact-box__label { color: var(--gold); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin: 0; font-weight: 600; }
.fact-box__value { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); color: #fff; margin: 10px 0 18px; font-weight: 700; }
.fact-box__desc { color: rgba(255,255,255,.78); font-size: .95rem; }
.fact-box__meta {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15);
  display: flex; justify-content: space-between; font-size: .85rem;
}
.fact-box__meta span { color: rgba(255,255,255,.6); }
.fact-box__meta strong { color: var(--gold); }

/* ---------- About ---------- */
.about__image { position: relative; min-height: 520px; }
.about__photo {
  position: absolute; inset: 0; border-radius: var(--radius);
  background:
    linear-gradient(180deg, transparent 60%, rgba(10,26,46,.35) 100%),
    url("sobre.jpg") center 20% / cover no-repeat,
    #0a1a2e;
  box-shadow: var(--shadow-lg);
}
.about__quote {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--gold); color: var(--navy); padding: 24px 28px; border-radius: var(--radius);
  max-width: 260px; box-shadow: var(--shadow-md);
  font-family: var(--serif); font-style: italic;
}
.about__quote p { margin: 0; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill-list li {
  padding: 6px 16px; border-radius: 999px; background: var(--bg-soft);
  border: 1px solid var(--line); font-size: .85rem; color: var(--text); font-weight: 500;
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.testimonial {
  background: #fff; padding: 32px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  position: relative; margin: 0;
}
.testimonial::before {
  content: "\201C"; position: absolute; top: 8px; left: 24px;
  font-family: var(--serif); font-size: 4rem; color: var(--gold); line-height: 1;
}
.testimonial blockquote { margin: 20px 0 18px; font-size: 1rem; color: var(--text); font-style: italic; }
.testimonial figcaption strong { color: var(--navy); display: block; }
.testimonial figcaption span { font-size: .85rem; color: var(--muted); }

/* ---------- Contato ---------- */
.contact-list { display: grid; gap: 20px; margin-top: 30px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--gold-dark); margin-top: 2px; }
.contact-list strong { display: block; color: var(--ink); font-size: .95rem; }
.contact-list span, .contact-list a { color: var(--muted); font-size: .95rem; }
.contact-list a:hover { color: var(--gold-dark); }

.form {
  background: #fff; padding: 36px; border-radius: var(--radius);
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--ink); }
.form__full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.18);
}
.form textarea { resize: vertical; }
.form__check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); font-size: .82rem; }
.form__check input { width: auto; margin-top: 3px; }
.form__submit { grid-column: 1 / -1; width: 100%; padding: 16px; }
.form__note { grid-column: 1 / -1; text-align: center; margin: 0; font-size: .82rem; color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-dark); color: rgba(255,255,255,.75);
  padding: 60px 0 30px;
}
.footer__inner {
  display: grid; gap: 30px; grid-template-columns: 1.2fr 1fr 1.2fr; align-items: start;
}
.footer__inner p { font-size: .9rem; margin-top: 12px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer nav a { color: rgba(255,255,255,.75); font-size: .9rem; }
.footer nav a:hover { color: var(--gold); }
.footer__legal { font-size: .82rem; color: rgba(255,255,255,.55); text-align: right; line-height: 1.7; }
@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer nav { justify-content: center; }
  .footer__legal { text-align: center; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .25s ease;
  animation: pulse 2.2s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  50%      { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); }
}

/* ---------- Responsivo ---------- */
@media (max-width: 880px) {
  .form { grid-template-columns: 1fr; padding: 28px; }
  .hero { padding: 140px 0 80px; min-height: auto; }
  .hero__badges { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav, .header__cta { display: none; }
  .nav__toggle { display: block; }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; padding: 20px 24px; border-top: 1px solid var(--line); box-shadow: var(--shadow-sm);
  }
  .section { padding: 70px 0; }
  .hero__badges { grid-template-columns: 1fr; max-width: 300px; }
  .about__quote { right: 10px; bottom: -10px; max-width: 220px; padding: 18px 22px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0 26px; transition: box-shadow .25s ease, border-color .25s ease;
}
.faq__item[open] { box-shadow: var(--shadow-sm); border-color: var(--gold); }
.faq__item summary {
  cursor: pointer; list-style: none; padding: 22px 0;
  font-weight: 600; color: var(--ink); font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-family: var(--serif); font-size: 1.6rem; color: var(--gold-dark);
  transition: transform .25s ease; flex-shrink: 0;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item p {
  color: var(--muted); font-size: .96rem; padding-bottom: 22px; margin: 0;
  border-top: 1px solid var(--line); padding-top: 16px;
}

/* ---------- Hero disclaimer ---------- */
.hero__disclaimer {
  margin-top: 40px; font-size: .78rem; color: rgba(255,255,255,.55);
  max-width: 560px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px;
}

/* ---------- About credentials ---------- */
.about__credentials {
  font-size: 1rem; color: var(--gold-dark); letter-spacing: .05em;
  margin: -12px 0 20px; text-transform: uppercase;
}

/* ---------- Footer addresses ---------- */
.footer__oab {
  font-size: .9rem; margin-top: 12px; color: rgba(255,255,255,.9);
}
.footer__oab strong { color: var(--gold); }
.footer__address {
  font-size: .82rem; color: rgba(255,255,255,.6); margin-top: 8px; line-height: 1.6;
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: all .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Agendar ---------- */
.booking {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1080px; margin: 0 auto;
}
.booking__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px 30px;
  display: flex; flex-direction: column; gap: 10px;
  transition: all .3s ease; position: relative; overflow: hidden;
  color: inherit;
}
.booking__card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-lg);
  border-color: var(--gold); color: inherit;
}
.booking__card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.booking__card:hover::after { transform: scaleX(1); }
.booking__icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(201,162,75,.12); color: var(--gold-dark);
  display: grid; place-items: center; margin-bottom: 8px;
}
.booking__icon svg { width: 28px; height: 28px; }
.booking__tag {
  align-self: flex-start;
  padding: 4px 12px; border-radius: 999px;
  background: var(--navy); color: var(--gold);
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.booking__card h3 { color: var(--navy); margin: 4px 0 0; }
.booking__card p { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.booking__cta {
  margin-top: 14px; color: var(--gold-dark); font-weight: 600; font-size: .95rem;
  display: inline-flex; align-items: center;
}
.booking__note {
  max-width: 720px; margin: 40px auto 0; text-align: center;
  font-size: .9rem; color: var(--muted); line-height: 1.7;
}
.booking__note strong { color: var(--navy); }

/* ---------- Notícias ---------- */
.news {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.news__item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; position: relative; transition: all .3s ease;
  display: flex; flex-direction: column; gap: 10px;
}
.news__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.news__tag {
  align-self: flex-start;
  padding: 4px 12px; border-radius: 999px;
  background: rgba(201,162,75,.15); color: var(--gold-dark);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.news__item time {
  font-size: .82rem; color: var(--muted); font-weight: 500;
}
.news__item h3 {
  font-size: 1.1rem; color: var(--navy); margin: 4px 0 6px; line-height: 1.3;
}
.news__item p {
  color: var(--text); font-size: .94rem; margin: 0; flex: 1;
}
.news__link {
  display: inline-block; margin-top: 10px;
  color: var(--gold-dark); font-weight: 600; font-size: .9rem;
}
.news__link:hover { color: var(--navy); }
.news__disclaimer {
  max-width: 760px; margin: 40px auto 0; text-align: center;
  font-size: .82rem; color: var(--muted); line-height: 1.6;
}
