/* ==========================================================================
   Jesus Severo Junior Advocacia — Landing Page
   ========================================================================== */

:root {
  --navy-950: #0b1f36;
  --navy-900: #0f2946;
  --navy-800: #143355;
  --navy-700: #1c4370;
  --navy-600: #2a5c8f;

  --gold-500: #c9a25a;
  --gold-400: #d8b673;
  --gold-300: #e6cb99;
  --gold-50:  #f6efdf;

  --ink: #101820;
  --ink-soft: #3a4655;
  --muted: #6b7684;
  --cream: #f7f4ed;
  --paper: #ffffff;
  --line: #e7e2d6;
  --line-dark: rgba(255,255,255,.12);

  --shadow-sm: 0 4px 20px rgba(15, 41, 70, .06);
  --shadow-md: 0 20px 50px -20px rgba(15, 41, 70, .25);
  --shadow-lg: 0 40px 80px -30px rgba(15, 41, 70, .35);

  --radius: 14px;
  --radius-sm: 8px;

  --serif: 'Cormorant Garamond', 'Georgia', serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;

  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--navy-950); letter-spacing: -0.01em; line-height: 1.15; }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.7rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p  { color: var(--ink-soft); }

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: #fff;
}
.display .accent { color: var(--gold-400); font-style: italic; font-weight: 500; }

.lede {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  max-width: 560px;
  margin-top: 20px;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-400);
  font-weight: 500;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(201,162,90,.18);
  flex-shrink: 0;
}
.eyebrow-dark { color: var(--navy-800); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 500; font-size: .95rem; letter-spacing: .01em;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  text-align: center;
}
.btn-primary { background: var(--gold-500); color: var(--navy-950); }
.btn-primary:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(201,162,90,.6); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: var(--gold-400); color: var(--gold-400); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--navy-800); transform: translateY(-2px); }
.btn-gold { background: var(--gold-500); color: var(--navy-950); }
.btn-gold:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(201,162,90,.6); }
.btn-full { width: 100%; }

/* HEADER */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  padding: 10px 0;
  background: transparent;
  transition: background .5s ease, box-shadow .5s ease, border-color .5s ease, transform .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 31, 54, .88);
  backdrop-filter: saturate(120%) blur(10px);
  -webkit-backdrop-filter: saturate(120%) blur(10px);
  border-bottom-color: rgba(255,255,255,.06);
  box-shadow: 0 8px 30px -20px rgba(0,0,0,.5);
}
.site-header.hidden {
  transform: translateY(-100%);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; padding-left: 0; }
.brand-logo { width: 200px; height: 200px; object-fit: contain; flex-shrink: 0; }

.nav-desktop ul { display: flex; gap: 34px; }
.nav-desktop a {
  color: rgba(255,255,255,.82);
  font-size: .92rem; font-weight: 400;
  position: relative; padding: 6px 0;
  transition: color .2s ease;
}
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold-400); transition: width .3s ease;
}
.nav-desktop a:hover { color: #fff; }
.nav-desktop a:hover::after { width: 100%; }
.btn-header { padding: 12px 24px; font-size: 1rem; flex-shrink: 0; }

.hamburger { 
  display: none; 
  width: 40px; 
  height: 40px; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  gap: 5px; 
  z-index: 120;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: #fff; transition: transform .3s ease, opacity .3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy-950);
  padding: 100px 32px 40px;
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.65,.05,.36,1);
  z-index: 105;
  display: flex; 
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu a {
  display: block; padding: 18px 4px;
  font-family: var(--serif); font-size: 1.4rem; color: #fff;
}
.mobile-menu .btn-full { margin-top: 24px; }

/* BOTÃO FLUTUANTE WHATSAPP */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  background-color: #20ba5a;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* HERO */
.hero {
  position: relative;
  padding: 160px 0 100px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 20% 0%, rgba(201,162,90,.16), transparent 60%),
    radial-gradient(60% 60% at 90% 100%, rgba(28,67,112,.55), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 100%);
  z-index: -1;
}

.hero-inner {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center;
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-dark);
}
.hero-meta li { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong { font-family: var(--serif); font-size: 1.15rem; color: var(--gold-400); font-weight: 600; }
.hero-meta span { font-size: .78rem; color: rgba(255,255,255,.55); }

.hero-visual { position: relative; }
.hero-photo {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--navy-800);
  box-shadow: var(--shadow-lg);
  backface-visibility: hidden;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  filter: brightness(.95) contrast(1.05);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,31,54,.55) 100%);
}
.hero-badge {
  position: absolute; left: -20px; bottom: 30px;
  background: var(--gold-500); color: var(--navy-950);
  padding: 20px 22px; border-radius: 4px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-md);
  z-index: 2;
  animation: floatBadge 5s ease-in-out infinite;
}
@keyframes floatBadge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.badge-num { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.badge-text { font-size: .75rem; line-height: 1.35; font-weight: 500; }

/* SECTIONS (base) */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 60px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p { font-size: 1.05rem; color: var(--ink-soft); }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-reverse .split-media { order: 2; }

/* Problems */
.problems { background: var(--cream); }
.card {
  background: var(--paper);
  padding: 34px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; }
.card-num {
  font-family: var(--serif); font-size: 1rem; font-weight: 600;
  color: var(--gold-500); margin-bottom: 20px; letter-spacing: .1em;
}
.card-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card::before {
  content: ""; position: absolute; left: 0; top: 34px; bottom: 34px; width: 2px;
  background: var(--gold-500); transform: scaleY(0); transform-origin: top; transition: transform .4s ease;
}
.card-lift:hover::before { transform: scaleY(1); }

/* Areas */
.areas { background: var(--navy-950); color: #fff; }
.areas .section-head h2 { color: #fff; }
.areas .section-head p { color: rgba(255,255,255,.7); }
.areas-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}
.area {
  padding: 50px 44px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  transition: background .35s ease;
  position: relative;
}
.area:hover { background: rgba(255,255,255,.03); }
.area-index { font-size: .75rem; letter-spacing: .3em; color: var(--gold-400); margin-bottom: 24px; }
.area h3 { font-size: 1.75rem; color: #fff; margin-bottom: 14px; }
.area p { color: rgba(255,255,255,.72); }
.area::after {
  content: ""; position: absolute; left: 44px; bottom: 40px; width: 30px; height: 1px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.area:hover::after { transform: scaleX(1); }

/* Differentials + About */
.differentials { background: var(--cream); }
.about { background: var(--paper); }
.split-media { position: relative; }
.split-media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-md);
}
.split-badge {
  position: absolute; right: -20px; top: 40px;
  background: var(--navy-900); color: #fff;
  padding: 18px 22px; border-radius: var(--radius-sm);
  display: flex; flex-direction: column; align-items: center;
  box-shadow: var(--shadow-md);
}
.split-badge span { font-size: .7rem; letter-spacing: .3em; color: var(--gold-400); }
.split-badge strong { font-family: var(--serif); font-size: 1.35rem; margin-top: 4px; }

.feature-list { display: flex; flex-direction: column; gap: 20px; margin-top: 30px; }
.feature-list li { display: flex; gap: 18px; align-items: flex-start; }
.feature-list svg { width: 22px; height: 22px; color: var(--gold-500); flex-shrink: 0; margin-top: 2px; }
.feature-list strong { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--navy-950); font-weight: 600; margin-bottom: 2px; }
.feature-list span { font-size: .92rem; color: var(--ink-soft); }

.about h2 { margin-bottom: 20px; }
.about p { margin-bottom: 18px; font-size: 1.02rem; }
.signature { font-family: var(--serif); font-size: 1.15rem; color: var(--navy-900); margin: 28px 0; }
.signature em { color: var(--gold-500); font-style: normal; font-size: .85rem; letter-spacing: .15em; margin-left: 6px; }

/* Process */
.process { background: var(--navy-950); color: #fff; }
.process .section-head h2 { color: #fff; }
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  counter-reset: step;
}
.step {
  padding: 34px 26px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.step:hover { transform: translateY(-6px); border-color: rgba(201,162,90,.4); background: rgba(255,255,255,.03); }
.step-num {
  font-family: var(--serif); font-size: 2.4rem; font-weight: 500;
  color: var(--gold-400); margin-bottom: 16px; line-height: 1;
}
.step h3 { color: #fff; margin-bottom: 8px; font-size: 1.15rem; }
.step p { color: rgba(255,255,255,.65); font-size: .92rem; }

/* FAQ */
.faq { background: var(--paper); }
.faq-inner { max-width: 900px; }
.accordion { margin-top: 40px; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary {
  list-style: none; cursor: pointer;
  padding: 24px 4px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--serif); font-size: 1.2rem; color: var(--navy-950); font-weight: 500;
  transition: color .25s ease;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary:hover { color: var(--gold-500); }
.acc-item .chev {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--cream); position: relative; flex-shrink: 0;
  transition: transform .3s ease, background .25s ease;
}
.acc-item .chev::before, .acc-item .chev::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 8px; height: 1.5px; background: var(--navy-900); transform-origin: center;
}
.acc-item .chev::before { transform: translate(-50%, -50%); }
.acc-item .chev::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s ease; }
.acc-item[open] .chev { background: var(--gold-500); }
.acc-item[open] .chev::before,
.acc-item[open] .chev::after { background: var(--navy-950); }
.acc-item[open] .chev::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc-item p {
  padding: 0 4px 26px; max-width: 780px;
  animation: accOpen .35s ease;
}
@keyframes accOpen { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* CTA Final */
.cta-final {
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(201,162,90,.15), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #fff;
  padding: 120px 0;
}
.cta-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.cta-inner h2 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 500;
  margin-bottom: 20px;
}
.cta-inner p { color: rgba(255,255,255,.75); font-size: 1.1rem; margin-bottom: 36px; }

/* Contact */
.contact { background: var(--cream); }
.contact-grid { margin-top: 40px; }
.contact-card {
  background: var(--paper);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex; gap: 18px; align-items: center;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-400); }
.contact-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy-950); color: var(--gold-400);
  display: grid; place-items: center; flex-shrink: 0;
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-card strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--navy-950); margin-bottom: 2px; }
.contact-card span { font-size: .9rem; color: var(--ink-soft); word-break: break-word; }
.contact-note { text-align: center; margin-top: 40px; color: var(--muted); font-size: .9rem; }

/* FOOTER */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding-top: 70px; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; padding-bottom: 50px;
  border-bottom: 1px solid var(--line-dark);
}
.foot-brand img { width: 60px; height: 60px; object-fit: contain; border-radius: 8px; margin-bottom: 16px; }
.foot-brand p { max-width: 380px; color: rgba(255,255,255,.65); font-size: .95rem; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.foot-cols h4 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.foot-cols ul { display: flex; flex-direction: column; gap: 10px; }
.foot-cols a { color: rgba(255,255,255,.65); transition: color .2s ease; font-size: .92rem; }
.foot-cols a:hover { color: var(--gold-400); }
.foot-bottom { padding: 24px 0; }
.foot-bottom .container { display: flex; justify-content: space-between; gap: 16px; font-size: .82rem; color: rgba(255,255,255,.55); flex-wrap: wrap; }
.foot-bottom .oab { color: var(--gold-400); letter-spacing: .12em; }

/* REVEAL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { padding: 140px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-meta { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .split { grid-template-columns: 1fr; gap: 50px; }
  .split-reverse .split-media { order: 0; }
  .split-media { max-width: 500px; margin: 0 auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav-desktop, .btn-header { display: none; }
  .header-inner { justify-content: center; }
  .hamburger { display: flex; position: absolute; right: 24px; }
  .brand-logo { width: 110px; height: 110px; }
  .hero { padding: 130px 0 70px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-badge { left: 0; bottom: 14px; padding: 14px 16px; max-width: 90%; }
  .badge-num { font-size: 1.7rem; }
  .badge-text { font-size: .7rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; border-left: none; }
  .area { padding: 40px 24px; border-left: 1px solid var(--line-dark); }
  .steps { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .split-badge { right: 0; top: 14px; padding: 12px 16px; }
  .cta-final { padding: 80px 0; }
  .foot-cols { grid-template-columns: 1fr; gap: 30px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .acc-item summary { font-size: 1.05rem; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .btn { padding: 12px 20px; font-size: .88rem; width: 100%; }
  .hero-meta { grid-template-columns: 1fr; gap: 16px; }
  .contact-card { flex-direction: column; text-align: center; }
  .contact-icon { margin: 0 auto; }
}
.area-header{
    width:100%;
    border:none;
    background:none;
    display:flex;
    justify-content:space-between;
    align-items:center;
    cursor:pointer;
    text-align:left;
    padding:0;
    color:inherit;
    font:inherit;
}

.area-icon{
    font-size:32px;
    font-weight:300;
    transition:.3s;
}

.area-content{
    max-height:0;
    overflow:hidden;
    transition:max-height .45s ease;
}

.area-content p{
    margin-top:20px;
    color:#666;
    line-height:1.8;
}

.area.active .area-content{
    max-height:300px;
}

.area.active .area-icon{
    transform:rotate(45deg);
}