/* Site da Flor & Almeida: paleta oficial do manual da marca (Shadow Blue, Space Indigo, Brown, Soft Light).
   Blocos escuros para abrir e fechar, seções claras que leem como um parecer (a lei citada na margem). */
:root {
  --shadow: #1b1d2a;      /* Shadow Blue */
  --indigo: #242b3e;      /* Space Indigo */
  --indigo-line: #323a52;
  --brown-light: #966f46; /* Light Brown */
  --brown: #6b4832;       /* Brown */
  --brown-on-dark: #c39d70;
  --soft: #deded6;        /* Soft Light */
  --soft-2: #ebebe5;
  --white: #ffffff;
  --ink: #1b1d2a;
  --muted: #5a5d68;
  --line: #cfcfc6;
  --on-dark: #eeeee8;
  --on-dark-muted: #a9acb8;
  --wa: #1f9d57;

  --f-display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --f-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 44px);
  --wrap: 1180px;
  --r: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--soft-2); color: var(--ink); font: 400 17px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brown-light); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; margin: 0; font-weight: 400; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow { font: 700 12px/1.3 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--brown); }
.dark .eyebrow { color: var(--brown-on-dark); }
.dark { background: var(--shadow); color: var(--on-dark); }
.bg-soft { background: var(--soft); }
.bg-white { background: var(--white); }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 999px; font: 700 16px/1 var(--f-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1a8a4c; }
.btn-gold { background: var(--brown-light); color: #fff; }
.btn-gold:hover { background: var(--brown); }
.btn-line { color: var(--on-dark); border-color: var(--indigo-line); }
.btn-line:hover { border-color: var(--brown-on-dark); }
.btn-ink { color: var(--ink); border-color: var(--line); background: var(--white); }
.btn-ink:hover { border-color: var(--brown-light); }
.btn svg { width: 20px; height: 20px; flex: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* Cabeçalho */
.top { background: var(--shadow); border-bottom: 1px solid var(--indigo); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.top .logo img { height: 24px; width: auto; }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a { color: var(--on-dark-muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--on-dark); }
.menu a[aria-current="page"] { box-shadow: 0 2px 0 var(--brown-light); }
.top .btn { padding: 10px 16px; font-size: 14px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--indigo-line); color: var(--on-dark); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; place-items: center; }
.menu-toggle svg { width: 20px; height: 20px; }
@media (max-width: 980px) {
  .menu-toggle { display: grid; }
  .top .wrap { flex-wrap: wrap; }
  .menu { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-block: 8px 6px; border-top: 1px solid var(--indigo); }
  .menu.aberto { display: flex; }
  .menu a { padding: 13px 2px; border-bottom: 1px solid var(--indigo); font-size: 16px; }
  .menu a[aria-current="page"] { box-shadow: none; color: var(--brown-on-dark); }
  .menu .btn { margin-top: 12px; justify-content: center; padding: 14px; font-size: 15px; border-bottom: 0; }
  .top .logo img { height: 20px; }
}

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 6vw, 92px); }
.hero { background: linear-gradient(115deg, var(--shadow) 55%, var(--indigo)); }
.hero h1 { font: 400 clamp(38px, 5.2vw, 66px)/1.04 var(--f-display); letter-spacing: -.015em; margin-top: 20px; }
.hero h1 em { color: var(--brown-on-dark); }
.hero .lede { margin-top: 24px; font-size: clamp(17px, 1.6vw, 19px); color: var(--on-dark-muted); max-width: 33em; }
.hero .lede strong { color: var(--on-dark); font-weight: 700; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--indigo-line); font-size: 14px; color: var(--on-dark-muted); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brown-light); }
.hero-foto { margin: 0; position: relative; }
.hero-foto img { width: 100%; border-radius: var(--r); object-fit: cover; }
.hero-foto.paisagem img { aspect-ratio: 5 / 4; object-position: 50% 35%; }
.hero-foto.retrato { max-width: 460px; justify-self: end; width: 100%; }
.hero-foto.retrato img { aspect-ratio: 4 / 5; object-position: 50% 35%; }
.hero-foto .tag { position: absolute; left: -24px; bottom: 26px; background: var(--soft); color: var(--ink); border-radius: 14px; padding: 13px 18px; border-left: 4px solid var(--brown-light); box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); }
.hero-foto .tag b { display: block; font: 500 19px/1.15 var(--f-display); }
.hero-foto .tag small { font-size: 12.5px; color: var(--muted); }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-foto.retrato { justify-self: start; max-width: 420px; }
  .hero-foto .tag { left: 14px; bottom: 14px; }
  .hero-foto.paisagem img { aspect-ratio: 3 / 2; }
}

/* Seções */
section.block { padding-block: clamp(68px, 8vw, 116px); }
.sec-head { max-width: 700px; }
.sec-head h2 { font: 400 clamp(32px, 4.2vw, 50px)/1.06 var(--f-display); letter-spacing: -.01em; margin-top: 14px; }
.sec-head h2 em { color: var(--brown); }
.dark .sec-head h2 em { color: var(--brown-on-dark); }
.sec-head p { margin-top: 16px; color: var(--muted); }
.dark .sec-head p { color: var(--on-dark-muted); }

/* Áreas (home) */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.area { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 2.6vw, 34px); text-decoration: none; transition: border-color .15s, transform .15s; }
.area:hover { border-color: var(--brown-light); transform: translateY(-2px); }
.area .num { font: 400 15px/1 var(--f-display); font-style: italic; color: var(--brown-light); }
.area h3 { font: 400 29px/1.1 var(--f-display); margin-top: 16px; }
.area p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.area ul { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--soft); }
.area li { padding: 10px 0; border-bottom: 1px solid var(--soft); font-size: 15.5px; }
.area .mais { margin-top: auto; padding-top: 22px; font-weight: 800; font-size: 15px; color: var(--brown); }
@media (max-width: 960px) { .areas { grid-template-columns: minmax(0, 1fr); } }
.outras { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.outras b { font-size: 14px; color: var(--muted); font-weight: 700; margin-right: 6px; }
.outras span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: 14.5px; }
.destaque-multi { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 28px; align-items: center; background: var(--shadow); color: var(--on-dark); border-radius: var(--r); padding: 24px clamp(22px, 3vw, 34px); text-decoration: none; }
.destaque-multi b { font: 400 24px/1.2 var(--f-display); display: block; }
.destaque-multi span { color: var(--on-dark-muted); font-size: 15.5px; }
.destaque-multi .ir { color: var(--brown-on-dark); font-weight: 800; white-space: nowrap; }
@media (max-width: 640px) { .destaque-multi { grid-template-columns: minmax(0, 1fr); } }

/* Situações (páginas de área) */
.situacoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.situacao { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px 24px 26px; }
.situacao h3 { font: 700 18px/1.35 var(--f-body); }
.situacao p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.situacao a { color: var(--brown); font-weight: 700; }
@media (max-width: 960px) { .situacoes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .situacoes { grid-template-columns: minmax(0, 1fr); } }

/* Lei */
.law-list { margin-top: 50px; border-top: 1px solid var(--ink); }
.law-row { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 10px 44px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.cite { font: italic 400 16px/1.45 var(--f-display); color: var(--brown); padding-top: 3px; }
.law-row h3 { font: 700 20px/1.3 var(--f-body); }
.law-row p { margin-top: 8px; color: var(--muted); max-width: 62ch; }
@media (max-width: 680px) { .law-row { grid-template-columns: minmax(0, 1fr); } }
.disclaimer { margin-top: 22px; font-size: 14px; color: var(--muted); max-width: 70ch; }

/* Passos */
.how { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.how figure { margin: 0; }
.how img { border-radius: var(--r); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; width: 100%; }
.how figcaption { margin-top: 12px; font: italic 400 15px/1.4 var(--f-display); color: var(--muted); }
.steps { list-style: none; margin: 36px 0 0; padding: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 400 34px/1 var(--f-display); color: var(--brown-light); }
.steps h3 { font: 700 18px/1.3 var(--f-body); }
.steps p { margin-top: 6px; color: var(--muted); font-size: 16px; }
@media (max-width: 820px) { .how { grid-template-columns: minmax(0, 1fr); } .how figure { order: 2; } .how img { aspect-ratio: 4 / 3; object-position: 50% 22%; } }

/* Documentos */
.docs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 76px); align-items: center; }
.checklist { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 24px; border-bottom: 1px solid var(--soft); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--brown-light); }
.checklist b { display: block; font-weight: 700; }
.checklist span { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .docs { grid-template-columns: minmax(0, 1fr); } }

/* Sócios */
.team-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.team-intro img { border-radius: var(--r); aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 30%; width: 100%; }
.lawyers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.lawyer { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; background: var(--indigo); border-radius: var(--r); padding: 18px; align-items: start; }
.lawyer img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; border-radius: 14px; }
.lawyer h3 { font: 400 26px/1.1 var(--f-display); letter-spacing: .02em; text-transform: uppercase; margin-top: 4px; }
.lawyer .oab { display: inline-block; margin-top: 8px; font: 700 12px/1 var(--f-body); letter-spacing: .14em; color: var(--brown-on-dark); }
.lawyer ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--on-dark-muted); font-size: 14.5px; line-height: 1.5; }
.lawyer li + li { margin-top: 6px; }
.office { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; margin-top: 20px; }
.office img { width: 100%; height: 240px; object-fit: cover; border-radius: 14px; }
.office-cap { margin-top: 18px; color: var(--on-dark-muted); font-size: 15px; }
@media (max-width: 960px) { .lawyers { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 880px) { .team-intro { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .lawyer { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; } .lawyer h3 { font-size: 21px; } .office { grid-template-columns: 1fr 1fr; } .office img { height: 150px; } .office img:first-child { grid-column: 1 / -1; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 700 18px/1.4 var(--f-body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 30px/1 var(--f-display); color: var(--brown-light); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 24px; color: var(--muted); max-width: 64ch; }
.faq .a p + p { margin-top: 10px; }
@media (max-width: 880px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* Fechamento */
.final { background: linear-gradient(115deg, var(--shadow) 55%, var(--indigo)); color: var(--on-dark); }
.final .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: end; padding-block: clamp(68px, 8vw, 112px); }
.final h2 { font: 400 clamp(34px, 4.6vw, 58px)/1.05 var(--f-display); margin-top: 16px; }
.final h2 em { color: var(--brown-on-dark); }
.final p { margin-top: 18px; color: var(--on-dark-muted); max-width: 42ch; }
.contact { display: grid; }
.contact div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 15px 0; border-bottom: 1px solid var(--indigo-line); font-size: 15px; }
.contact div span:first-child { color: var(--brown-on-dark); font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding-top: 3px; }
.contact div span:last-child, .contact div a { overflow-wrap: anywhere; text-align: right; text-decoration: none; }
@media (max-width: 820px) { .final .wrap { grid-template-columns: minmax(0, 1fr); } }

footer { background: #13151f; color: #8d909c; font-size: 13.5px; padding-block: 44px calc(34px + 74px); }
footer .wrap { display: grid; gap: 28px; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
footer .logo img { height: 20px; width: auto; opacity: .9; }
footer p { margin-top: 12px; max-width: 34em; }
footer b { display: block; color: #c8cad2; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px; }
footer nav a { display: block; color: #c8cad2; text-decoration: none; padding: 4px 0; }
footer nav a:hover { color: #fff; }
footer .legal { border-top: 1px solid #22263a; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer .legal a { color: #c8cad2; }
@media (max-width: 760px) { footer .cols { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 761px) { footer { padding-bottom: 34px; } }

/* WhatsApp fixo */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(27, 29, 42, .96); border-top: 1px solid var(--indigo); display: none; }
.mbar .btn { width: 100%; justify-content: center; }
@media (max-width: 760px) { .mbar { display: block; } }
.fab { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.45); transition: transform .15s; }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 30px; height: 30px; }
@media (max-width: 760px) { .fab { display: none; } }
