/* =========================================================
   Tomás Lucas Savoldi — Advogado Trabalhista
   Landing page institucional | HTML + CSS + JS
   Paleta: verde oliva #403E1F · marrom #644924
           off-white #F7F5F0 · branco #FFF · grafite #2B2A22
   ========================================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: #2B2A22;
  background: #F7F5F0;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: #644924; text-decoration: none; }
a:hover { color: #4f3a1c; }
img { display: block; max-width: 100%; }
.serif { font-family: 'Lora', Georgia, serif; }

/* container / utilidades ---------------------------------- */
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.eyebrow {
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: #644924; font-weight: 700; margin-bottom: 16px;
}
.section-title {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: #403E1F;
  line-height: 1.12; text-wrap: pretty;
}

/* animação fade-in ao rolar ------------------------------- */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

/* botões -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #644924; color: #fff; font-weight: 700;
  border-radius: 11px; transition: background .2s, transform .2s;
  cursor: pointer;
}
.btn:hover { background: #4f3a1c; color: #fff; }
.btn .arrow { font-size: 1.1em; }
.btn--lg  { font-size: 1.08rem; padding: 17px 34px; }
.btn--xl  { font-size: 1.1rem;  padding: 18px 38px; }
.btn--md  { font-size: 1.05rem; padding: 16px 32px; }
.btn--sm  { font-size: .9rem;   padding: 12px 22px; border-radius: 9px; white-space: nowrap; }

/* 1. barra superior --------------------------------------- */
.topbar {
  background: #2B2A22; color: #F7F5F0; font-size: .8rem;
  letter-spacing: .04em; text-align: center; padding: 9px 20px; font-weight: 500;
}

/* 2. header ----------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,245,240,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid #e6e1d6;
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; flex-direction: column; line-height: 1.15; color: #403E1F; }
.brand__name { font-family: 'Lora', serif; font-weight: 600; font-size: 1.18rem; letter-spacing: .01em; }
.brand__role { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #644924; font-weight: 600; }
.nav-links { display: flex; gap: 34px; font-size: .92rem; font-weight: 600; }
.nav-links a { color: #403E1F; }

/* 3. hero ------------------------------------------------- */
.hero { background: #403E1F; color: #F7F5F0; position: relative; }
.hero__inner {
  max-width: 1200px; margin: 0 auto; padding: clamp(48px,7vw,96px) 24px;
  display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px,5vw,64px);
}
.hero__col-text { flex: 1 1 400px; min-width: 300px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: #c9c3a8; font-weight: 600; margin-bottom: 26px;
}
.hero__kicker .rule { width: 30px; height: 1px; background: #644924; display: inline-block; }
.hero h1 {
  font-family: 'Lora', serif; font-weight: 600;
  font-size: clamp(2.1rem,5vw,3.5rem); line-height: 1.1;
  letter-spacing: -.01em; margin-bottom: 24px; text-wrap: pretty;
}
.hero__sub { font-size: clamp(1.02rem,1.6vw,1.2rem); color: #e4dfcf; max-width: 560px; margin-bottom: 36px; text-wrap: pretty; }
.hero__micro { font-size: .86rem; color: #b9b298; margin-top: 16px; }
.hero__col-img { flex: 1 1 340px; min-width: 280px; display: flex; justify-content: center; }

/* moldura de imagem --------------------------------------- */
.framed { position: relative; width: 100%; }
.framed__border { position: absolute; border: 1px solid #644924; border-radius: 16px; }
.framed__inner { position: relative; border-radius: 16px; overflow: hidden; }
.framed__inner img { width: 100%; object-fit: cover; }
.framed__overlay { position: absolute; inset: 0; }

.hero .framed { max-width: 400px; }
.hero .framed__border { inset: 18px -18px -18px 18px; }
.hero .framed__inner { box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); }
.hero .framed__inner img { height: clamp(420px,54vw,560px); object-position: center 15%; }
.hero .framed__overlay { background: linear-gradient(180deg, rgba(64,62,31,0) 55%, rgba(64,62,31,.45) 100%); }

/* 4. indicadores ------------------------------------------ */
.indicators { background: #F7F5F0; border-bottom: 1px solid #e6e1d6; }
.indicators__grid {
  max-width: 1120px; margin: 0 auto; padding: clamp(40px,5vw,64px) 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: clamp(28px,4vw,56px);
}
.indicator { text-align: center; }
.indicator .rule { width: 44px; height: 2px; background: #644924; margin: 0 auto 18px; }
.indicator p { font-family: 'Lora', serif; font-size: 1.3rem; color: #403E1F; line-height: 1.35; }

/* 5. seu caso --------------------------------------------- */
.cases { max-width: 1120px; margin: 0 auto; padding: clamp(64px,8vw,110px) 24px; }
.cases__head { max-width: 640px; margin-bottom: clamp(38px,5vw,58px); }
.cases__head p { margin-top: 18px; font-size: 1.05rem; color: #4d4b40; max-width: 560px; }
.cases__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; }
.case-card { background: #fff; border: 1px solid #e6e1d6; border-radius: 14px; padding: 30px 28px; }
.case-card h3 { font-family: 'Lora', serif; font-size: 1.22rem; color: #403E1F; margin-bottom: 12px; line-height: 1.3; }
.case-card p { font-size: .96rem; color: #57554a; }

/* 6. como funciona ---------------------------------------- */
.how { background: #fff; border-top: 1px solid #e6e1d6; border-bottom: 1px solid #e6e1d6; }
.how__inner {
  max-width: 1160px; margin: 0 auto; padding: clamp(64px,8vw,110px) 24px;
  display: flex; flex-wrap: wrap; gap: clamp(40px,5vw,70px); align-items: center;
}
.how__col-img { flex: 1 1 300px; min-width: 280px; }
.how__col-text { flex: 1 1 380px; min-width: 300px; }
.how .framed { max-width: 440px; }
.how .framed__border { inset: -16px 16px 16px -16px; background: #403E1F; border: 0; }
.how .framed__inner { box-shadow: 0 24px 50px -22px rgba(0,0,0,.35); }
.how .framed__inner img { height: clamp(380px,48vw,520px); object-position: center 20%; }
.how h2 { margin-bottom: 38px; }
.steps { display: flex; flex-direction: column; gap: 30px; }
.step { display: flex; gap: 22px; align-items: flex-start; }
.step__num { font-family: 'Lora', serif; font-size: 2rem; color: #644924; font-weight: 600; line-height: 1; min-width: 52px; }
.step h3 { font-family: 'Lora', serif; font-size: 1.28rem; color: #403E1F; margin-bottom: 6px; }
.step p { color: #57554a; font-size: 1rem; }
.step-divider { height: 1px; background: #eae5da; }

/* 7 & 12. faixas CTA -------------------------------------- */
.cta-band { background: #403E1F; color: #F7F5F0; }
.cta-band__inner { max-width: 900px; margin: 0 auto; padding: clamp(52px,6vw,80px) 24px; text-align: center; }
.cta-band h2 { font-family: 'Lora', serif; font-weight: 600; font-size: clamp(1.7rem,3.4vw,2.5rem); line-height: 1.18; margin-bottom: 14px; text-wrap: pretty; }
.cta-band p { color: #d9d3c1; font-size: 1.05rem; max-width: 560px; margin: 0 auto 32px; }

.cta-final { background: #2B2A22; color: #F7F5F0; }
.cta-final__inner { max-width: 900px; margin: 0 auto; padding: clamp(56px,7vw,90px) 24px; text-align: center; }
.cta-final h2 { font-family: 'Lora', serif; font-weight: 600; font-size: clamp(1.9rem,3.8vw,2.7rem); line-height: 1.15; margin-bottom: 30px; text-wrap: pretty; }
.cta-final__micro { font-size: .86rem; color: #a29c86; margin-top: 16px; }

/* 8. sobre ------------------------------------------------ */
.about {
  max-width: 1160px; margin: 0 auto; padding: clamp(64px,8vw,110px) 24px;
  display: flex; flex-wrap: wrap; gap: clamp(40px,5vw,72px); align-items: center;
}
.about__col-text { flex: 1 1 320px; min-width: 290px; order: 2; }
.about__col-img { flex: 1 1 320px; min-width: 290px; order: 1; display: flex; justify-content: center; }
.about h2 { margin-bottom: 24px; }
.about__body { display: flex; flex-direction: column; gap: 16px; color: #4d4b40; font-size: 1.05rem; max-width: 560px; }
.oab-badge {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid #d8d2c4; border-radius: 10px; padding: 12px 18px; background: #fff;
}
.oab-badge__label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #644924; font-weight: 700; }
.oab-badge__num { font-family: 'Lora', serif; font-size: 1.05rem; color: #403E1F; }
.about__cta { margin-top: 28px; }
.about .framed { max-width: 420px; }
.about .framed__border { inset: 20px -20px -20px 20px; }
.about .framed__inner { box-shadow: 0 28px 55px -22px rgba(64,62,31,.4); }
.about .framed__inner img { height: clamp(420px,52vw,560px); object-position: center 12%; }
.about .framed__overlay { background: linear-gradient(160deg, rgba(64,62,31,0) 60%, rgba(64,62,31,.28) 100%); }

/* 9. áreas ------------------------------------------------ */
.areas { background: #fff; border-top: 1px solid #e6e1d6; border-bottom: 1px solid #e6e1d6; }
.areas__inner { max-width: 1160px; margin: 0 auto; padding: clamp(64px,8vw,110px) 24px; }
.areas__head { max-width: 640px; margin-bottom: clamp(36px,5vw,54px); }
.areas__head p { margin-top: 18px; font-size: 1.05rem; color: #4d4b40; }
.areas__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 16px; }
.area-card { background: #F7F5F0; border: 1px solid #e6e1d6; border-radius: 13px; padding: 24px 22px; }
.area-card .rule { width: 28px; height: 2px; background: #644924; margin-bottom: 14px; }
.area-card h3 { font-family: 'Lora', serif; font-size: 1.12rem; color: #403E1F; line-height: 1.28; margin-bottom: 8px; }
.area-card p { font-size: .9rem; color: #57554a; line-height: 1.5; }

/* 10. atendimento online ---------------------------------- */
.online {
  max-width: 1160px; margin: 0 auto; padding: clamp(64px,8vw,110px) 24px;
  display: flex; flex-wrap: wrap; gap: clamp(40px,5vw,72px); align-items: center;
}
.online__col-text { flex: 1 1 360px; min-width: 300px; }
.online__col-seal { flex: 1 1 300px; min-width: 280px; display: flex; justify-content: center; }
.online h2 { margin-bottom: 26px; }
.online__list { display: flex; flex-direction: column; gap: 18px; }
.online__item { display: flex; gap: 16px; align-items: flex-start; }
.online__item .dot { width: 9px; height: 9px; background: #644924; border-radius: 2px; margin-top: 8px; flex: none; }
.online__item p { color: #4d4b40; font-size: 1.02rem; }
.online__item strong { color: #403E1F; }
.seal {
  width: clamp(240px,60%,320px); aspect-ratio: 1; border-radius: 999px;
  background: #403E1F; color: #F7F5F0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 40px;
  box-shadow: 0 30px 60px -24px rgba(64,62,31,.6);
}
.seal__icon { width: 50px; height: 50px; border: 2px solid #644924; border-radius: 999px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.seal__icon span { width: 14px; height: 14px; background: #644924; border-radius: 2px 2px 2px 8px; transform: rotate(45deg); }
.seal__title { font-family: 'Lora', serif; font-size: 1.5rem; line-height: 1.2; margin-bottom: 8px; }
.seal__sub { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: #b9b298; font-weight: 600; }

/* 11. faq ------------------------------------------------- */
.faq { background: #403E1F; color: #F7F5F0; }
.faq__inner { max-width: 820px; margin: 0 auto; padding: clamp(64px,8vw,110px) 24px; }
.faq__head { text-align: center; margin-bottom: clamp(38px,5vw,56px); }
.faq__head .eyebrow { color: #b9b298; }
.faq__head h2 { color: #F7F5F0; }
.faq__list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid rgba(255,255,255,.14); }
.faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between;
  align-items: center; gap: 18px; padding: 22px 2px;
  font-family: 'Lora', serif; font-size: clamp(1.05rem,2vw,1.22rem); color: #F7F5F0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark {
  flex: none; width: 26px; height: 26px; border: 1px solid #7a7458; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; color: #c9c3a8;
  font-size: 1.1rem; line-height: 1;
}
.faq-item p { padding: 0 40px 24px 2px; color: #d3cdb9; font-size: 1rem; line-height: 1.65; }

/* 13. rodapé ---------------------------------------------- */
.site-footer { background: #403E1F; color: #e4dfcf; }
.footer-grid {
  max-width: 1160px; margin: 0 auto; padding: clamp(48px,6vw,72px) 24px 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 40px;
}
.footer-brand__name { font-family: 'Lora', serif; font-size: 1.3rem; color: #fff; margin-bottom: 6px; }
.footer-brand__role { font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: #b9b298; font-weight: 600; margin-bottom: 16px; }
.footer-brand__oab { font-family: 'Lora', serif; color: #e4dfcf; }
.footer-brand__city { font-size: .92rem; color: #b9b298; margin-top: 8px; }
.footer-col__title { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #b9b298; font-weight: 700; margin-bottom: 16px; }
.footer-col__links { display: flex; flex-direction: column; gap: 10px; font-size: .96rem; }
.footer-col__links a { color: #e4dfcf; }
.footer-col__links a:hover { color: #fff; }
.footer-legal { max-width: 1160px; margin: 0 auto; padding: 0 24px 40px; }
.footer-legal__inner { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; font-size: .8rem; color: #a49e88; line-height: 1.7; }
.footer-legal__inner p:first-child { margin-bottom: 8px; }

/* 14. whatsapp flutuante ---------------------------------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 100;
  display: inline-flex; align-items: center; gap: 10px;
  background: #644924; color: #fff; font-weight: 700; font-size: .95rem;
  padding: 14px 22px; border-radius: 999px;
  box-shadow: 0 12px 30px -8px rgba(43,42,34,.5);
  transition: background .2s, transform .2s;
}
.wa-float:hover { background: #4f3a1c; color: #fff; transform: translateY(-2px); }
.wa-float .dot { width: 11px; height: 11px; background: #fff; border-radius: 999px; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }

/* responsivo ---------------------------------------------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .wa-float span:last-child { display: none; }
  .wa-float { padding: 16px; }
}
