/* =========================================================
   Guilherme Lemos Advocacia — Landing Page Auxílio-Acidente
   ========================================================= */

:root{
  /* Paleta baseada na identidade visual (logo marrom/dourado) */
  --bg-dark: #1b120c;
  --bg-dark-2: #241811;
  --bg-darkest: #120c08;
  --bg-light: #faf6f0;
  --bg-light-alt: #f2e9da;

  --text-dark: #2a1e16;
  --text-muted: #6b5c4d;
  --text-light: #f7f1e6;
  --text-light-muted: #cdbda7;

  --gold: #c39a5c;
  --gold-light: #e6c88a;
  --gold-dark: #9c7a45;
  --gold-gradient: linear-gradient(135deg, #b98a4d 0%, #e6c88a 50%, #b98a4d 100%);

  --border-light: rgba(195, 154, 92, 0.25);
  --border-dark: rgba(247, 241, 230, 0.12);

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container-w: 1160px;
  --radius: 6px;
  --shadow-soft: 0 20px 50px -20px rgba(18, 12, 8, 0.35);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; font-size: 17.5px; }

body{
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3{
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 20px;
  color: var(--text-dark);
}
h1{ font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h2{ font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3{ font-size: 1.4rem; }

p{ margin: 0 0 16px; }
.lead{ font-size: 1.08rem; color: var(--text-dark); }
.text-light{ color: var(--text-light); }
.text-light-muted{ color: var(--text-light-muted); }

.eyebrow{
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin: 0 0 14px;
}
.eyebrow-light{ color: var(--gold-light); }

.section-subtitle{
  font-weight: 600;
  font-size: 1.05rem;
  margin: 28px 0 14px;
  color: var(--text-dark);
}

/* ---------- Páginas de conteúdo (política, termos) ---------- */
.policy-updated{
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 40px;
}
.policy-list{
  list-style: disc;
  margin: 0 0 20px;
  padding-left: 22px;
}
.policy-list li{ margin-bottom: 8px; }
.back-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
  margin-bottom: 32px;
}
.back-link:hover{ text-decoration: underline; }
.text-light .section-subtitle,
.final-cta .section-subtitle{ color: var(--text-light); }

/* ---------- Botões ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--gold-gradient);
  background-size: 200% auto;
  color: #211407;
  box-shadow: 0 10px 25px -8px rgba(157, 118, 61, 0.55);
}
.btn-primary:hover{
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -8px rgba(157, 118, 61, 0.65);
}
.btn-outline-light{
  background: transparent;
  color: var(--text-light);
  border-color: var(--gold);
}
.btn-outline-light:hover{
  background: var(--gold);
  color: #211407;
  transform: translateY(-2px);
}
.btn-lg{ padding: 16px 34px; font-size: 0.95rem; }
.ico-wpp{ width: 18px; height: 18px; flex-shrink: 0; }

.cta-center{
  text-align: center;
  margin-top: 32px;
}

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27, 18, 12, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border-dark);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
}
.brand-logo{ height: 56px; width: auto; }
.header-right{
  display: flex;
  align-items: center;
  gap: 20px;
}
.oab-tag{
  font-size: 0.78rem;
  color: var(--text-light-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.header-right .btn-primary{ padding: 11px 20px; font-size: 0.78rem; }

@media (max-width: 720px){
  .oab-tag{ display: none; }
  .brand-logo{ height: 42px; }
  .header-inner{ padding: 10px 16px; }
  .header-right .btn-primary{ padding: 10px 14px; font-size: 0.72rem; }
  .ico-wpp{ width: 16px; height: 16px; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
}
.hero-bg{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(27,18,12,0.72) 0%, rgba(27,18,12,0.88) 55%, rgba(27,18,12,0.97) 100%),
    radial-gradient(circle at 82% 20%, rgba(195,154,92,0.16), transparent 55%),
    url('../../hero-mobile.webp');
  background-size: cover;
  background-position: center;
}
@media (min-width: 981px){
  .hero-bg{
    background-image:
      linear-gradient(90deg, rgba(27,18,12,0.95) 0%, rgba(27,18,12,0.82) 40%, rgba(27,18,12,0.35) 100%),
      radial-gradient(circle at 82% 30%, rgba(195,154,92,0.18), transparent 55%),
      url('../../hero-desktop.webp');
    background-size: cover;
    background-position: center right;
  }
}
.hero-inner{
  position: relative;
  z-index: 1;
  padding: 32px 24px 64px;
}
.hero-content{ max-width: 640px; }
.hero h1{ color: var(--text-light); margin-bottom: 22px; }
.hero-lead{ color: var(--text-light-muted); font-size: 1.1rem; }
.hero-highlight{
  color: var(--gold-light);
  font-weight: 500;
  font-style: italic;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin: 22px 0 28px;
}
.hero-note{
  color: var(--text-light-muted);
  font-size: 0.85rem;
  margin-top: 18px;
}

@media (min-width: 981px){
  .hero-inner{ padding: 48px 24px 40px; min-height: 700px; display: flex; align-items: center; }
  .hero-lead{ line-height: 1.5; }
  .hero-highlight{ margin: 14px 0 18px; }
  .hero .check-list{
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 10px;
    margin-bottom: 16px;
  }
}

/* ---------- Listas com check ---------- */
.check-list{
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list.two-col{
  grid-template-columns: 1fr;
}
@media (min-width: 640px){
  .check-list.two-col{ grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .check-list.two-col li.check-solo{
    grid-column: 1 / -1;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}
.check-list li{
  position: relative;
  padding-left: 30px;
  font-size: 1rem;
}
.check-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold-gradient);
}
.check-list li::after{
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 9px;
  height: 5px;
  border-left: 2px solid #241811;
  border-bottom: 2px solid #241811;
  transform: rotate(-45deg);
}
.hero .check-list li,
.check-list-dark li{ color: var(--text-light-muted); }

/* ---------- Seções genéricas ---------- */
.section{ padding: 72px 0; }
.section-light{ background: var(--bg-light); }
.section-dark{ background: var(--bg-dark); }
.section-dark .lead{ color: var(--text-light-muted); }

@media (min-width: 768px){
  .section{ padding: 100px 0; }
}

#analise{ position: relative; }
#analise > .container{ position: relative; z-index: 1; }
@media (min-width: 981px){
  #analise::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1550px;
    z-index: 0;
    pointer-events: none;
    background-image:
      linear-gradient(100deg, rgba(250,246,240,0.15) 0%, rgba(250,246,240,0.55) 30%, rgba(250,246,240,0.92) 55%, var(--bg-light) 75%),
      url('../../d-background.webp');
    background-repeat: no-repeat;
    background-position: left top, left top;
    background-size: cover, cover;
    filter: contrast(1.1) saturate(1.1);
  }
}

.pull-quote{
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: var(--bg-light-alt);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-dark);
}
.pull-quote strong{ font-style: normal; }

/* ---------- Grid de cards (Seção 3) ---------- */
.info-grid{
  display: grid;
  gap: 24px;
  margin: 32px 0;
}
@media (min-width: 720px){
  .info-grid{ grid-template-columns: 1fr 1fr; }
}
.info-card{
  background: var(--bg-dark-2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.info-card-title{
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.info-card-text{ color: var(--text-light-muted); }
.info-card .check-list{ margin-bottom: 0; }

/* ---------- Passos (Seção 4) ---------- */
.steps-block{ margin: 36px 0; }
.steps-title{ text-align: center; font-size: 1.3rem; }
.steps-note{ text-align: center; }
.steps-list{
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px){
  .steps-list{ grid-template-columns: 1fr 1fr; gap: 18px; }
}
.steps-list li{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.step-num{
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #211407;
  font-family: var(--font-serif);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

/* ---------- Perfil do advogado ---------- */
.profile-card{
  margin-top: 56px;
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (max-width: 719px){
  .profile-photo{ order: -1; }
}
@media (min-width: 720px){
  .profile-card{ grid-template-columns: 1fr 360px; gap: 56px; }
}
.profile-info{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.profile-role{
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin: 0 0 16px;
  width: 100%;
}
.profile-role::after{
  content: "";
  flex: 1;
  height: 1px;
  max-width: 140px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.profile-info h3{ color: var(--text-dark); margin-bottom: 16px; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.profile-desc{ color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }
.profile-oab{
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 4px 0 28px;
}
.profile-photo{
  position: relative;
}
.profile-photo::before{
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(16px, 16px);
  background: var(--gold-gradient);
  border-radius: var(--radius);
  z-index: 0;
}
.profile-photo img{
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 75%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* ---------- FAQ ---------- */
.faq-list{ margin-top: 36px; }
.faq-item{
  border-bottom: 1px solid var(--border-light);
  padding: 6px 0;
}
.faq-item:first-child{ border-top: 1px solid var(--border-light); }
.faq-item summary{
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 4px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  position: relative;
  transition: color 0.2s ease;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--gold-dark);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item[open] summary{ color: var(--gold-dark); }
.faq-answer{
  padding: 0 4px 20px;
  color: var(--text-muted);
}
.faq-answer p{ margin-bottom: 12px; }
.faq-answer p:last-child{ margin-bottom: 0; }
.faq-answer .check-list{ margin: 12px 0; }

/* ---------- CTA final ---------- */
.final-cta{
  position: relative;
  background: var(--bg-darkest);
  overflow: hidden;
}
.final-cta-bg{
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(195,154,92,0.14), transparent 60%),
    linear-gradient(rgba(18,12,8,0.82), rgba(18,12,8,0.82)),
    url('../../d-sessao-cta.webp');
  background-size: cover;
  background-position: center;
}
.final-cta .container{ position: relative; z-index: 1; text-align: center; }
.final-cta .check-list{ text-align: left; max-width: 640px; margin-left: auto; margin-right: auto; }
.final-cta .hero-note{ margin-top: 20px; }

/* ---------- Rodapé ---------- */
.site-footer{
  background: var(--bg-dark);
  border-top: 1px solid var(--border-dark);
  padding: 48px 0 32px;
  text-align: center;
}
.footer-logo{ height: 58px; margin: 0 auto 18px; opacity: 0.9; }
.footer-title{
  font-family: var(--font-serif);
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.footer-oab{ color: var(--text-light-muted); font-size: 0.85rem; margin-bottom: 18px; }
.footer-links{
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.85rem;
  margin-bottom: 24px;
}
.footer-links a{
  color: var(--gold-light);
  text-decoration: none;
}
.footer-links a:hover{ text-decoration: underline; }
.footer-links span{ color: var(--text-light-muted); }
.footer-disclaimer{
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(247, 241, 230, 0.45);
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float{
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -6px rgba(0,0,0,0.4);
  animation: wpp-pulse 2.6s infinite;
}
.whatsapp-float svg{ width: 30px; height: 30px; }
@keyframes wpp-pulse{
  0%{ box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 10px 25px -6px rgba(0,0,0,0.4); }
  70%{ box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 10px 25px -6px rgba(0,0,0,0.4); }
  100%{ box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 10px 25px -6px rgba(0,0,0,0.4); }
}

/* ---------- Animação ao rolar a página ---------- */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.16,.8,.24,1), transform 0.7s cubic-bezier(.16,.8,.24,1);
}
.reveal.is-visible{
  opacity: 1;
  transform: none;
}

/* Efeito cascata para grupos de itens */
.check-list li.reveal:nth-child(1){ transition-delay: .04s; }
.check-list li.reveal:nth-child(2){ transition-delay: .09s; }
.check-list li.reveal:nth-child(3){ transition-delay: .14s; }
.check-list li.reveal:nth-child(4){ transition-delay: .19s; }
.check-list li.reveal:nth-child(5){ transition-delay: .24s; }
.check-list li.reveal:nth-child(6){ transition-delay: .29s; }
.check-list li.reveal:nth-child(7){ transition-delay: .34s; }

.info-grid .info-card.reveal:nth-child(1){ transition-delay: 0s; }
.info-grid .info-card.reveal:nth-child(2){ transition-delay: .15s; }

.steps-list li.reveal:nth-child(1){ transition-delay: 0s; }
.steps-list li.reveal:nth-child(2){ transition-delay: .1s; }
.steps-list li.reveal:nth-child(3){ transition-delay: .2s; }
.steps-list li.reveal:nth-child(4){ transition-delay: .3s; }

.faq-item.reveal:nth-child(1){ transition-delay: 0s; }
.faq-item.reveal:nth-child(2){ transition-delay: .05s; }
.faq-item.reveal:nth-child(3){ transition-delay: .1s; }
.faq-item.reveal:nth-child(4){ transition-delay: .15s; }
.faq-item.reveal:nth-child(5){ transition-delay: .2s; }
.faq-item.reveal:nth-child(6){ transition-delay: .25s; }
.faq-item.reveal:nth-child(7){ transition-delay: .3s; }
.faq-item.reveal:nth-child(8){ transition-delay: .35s; }
.faq-item.reveal:nth-child(9){ transition-delay: .4s; }
.faq-item.reveal:nth-child(10){ transition-delay: .45s; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .whatsapp-float{ animation: none; }
  .btn{ transition: none; }
  .reveal{ opacity: 1; transform: none; transition: none; }
}
