/* ============================================================
   Cicero Assunção Advocacia — v3
   Referência de padrão: NWADV (institucional, sóbrio, espaçado)
   Paleta: navy #0e1529 + dourado #b08d4f + papel
   Tipografia: Playfair Display (títulos) + Inter (texto)
   ============================================================ */

:root {
  --navy: #0e1529;
  --navy-2: #16203a;
  --navy-3: #222f4e;
  --ink: #1a1d24;
  --gold: #b08d4f;
  --gold-2: #c9a86a;
  --gold-soft: #f4ecdc;
  --paper: #fafaf7;
  --white: #ffffff;
  --muted: #5a6270;
  --line: #e2e0d8;
  --ok: #2e7d32;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --shadow-1: 0 1px 3px rgba(14, 21, 41, .07), 0 6px 18px rgba(14, 21, 41, .06);
  --shadow-2: 0 10px 34px rgba(14, 21, 41, .14);
  --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, html { max-width: 100%; overflow-x: hidden; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(1240px, 90%); margin: 0 auto; }

/* ============ TOPBAR ============ */
.topbar {
  background: #080d1a;
  color: #8e9ab0;
  font-size: 12.5px;
  letter-spacing: .2px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; gap: 18px; flex-wrap: wrap;
}
.topbar .tb-right { display: flex; gap: 26px; align-items: center; }
.topbar a:hover { color: var(--gold-2); }
.topbar strong { color: #d7dce6; font-weight: 600; }

/* ============ HEADER ============ */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 60;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 50px; height: 50px; flex: none;
  display: grid; place-items: center;
  background: var(--navy);
  border-radius: 2px;
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-name strong {
  display: block; font-family: var(--serif); font-size: 20px;
  color: var(--navy); font-weight: 700; letter-spacing: .2px; line-height: 1.2;
}
.brand-name small {
  display: block; font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold); font-weight: 600;
}
.nav { display: flex; gap: 30px; align-items: center; }
.nav a {
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  letter-spacing: 1.1px; text-transform: uppercase;
  padding: 8px 0; border-bottom: 1.5px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 2px;
  font-weight: 600; font-size: 12.5px; letter-spacing: 1.4px;
  text-transform: uppercase; line-height: 1.2;
  transition: all .2s ease; cursor: pointer; border: 1px solid transparent;
}
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #188f47; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #9a7a40; }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(14,21,41,.35); }
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-sm { padding: 11px 20px; font-size: 11.5px; }

.menu-btn {
  display: none;
  width: 44px; height: 44px; flex: none;
  background: transparent; border: 1px solid var(--line);
  border-radius: 2px; cursor: pointer; color: var(--navy);
  align-items: center; justify-content: center;
}
.menu-btn:hover { background: var(--gold-soft); }

/* menu mobile aberto */
.nav.open {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff; padding: 10px 5% 22px;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  gap: 0; align-items: stretch;
  z-index: 70;
}
.nav.open a {
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.nav.open a:last-child { border-bottom: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 540px;
  display: flex; align-items: center;
  background: #0e1529 url("hero-bg.jpg") center/cover no-repeat;
  color: #fff;
  padding: 110px 0 120px;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,13,26,.94) 0%, rgba(10,16,32,.82) 45%, rgba(10,16,32,.42) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: end; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: 3.4px; text-transform: uppercase;
  color: var(--gold-2); font-weight: 700; margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); display: inline-block; }

.hero h1 {
  font-family: var(--serif); font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.13; font-weight: 700; letter-spacing: -.5px;
  margin-bottom: 26px; max-width: 20ch;
}
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero .lead {
  font-size: 17px; color: #b6c0d2; max-width: 56ch; margin-bottom: 38px;
  line-height: 1.75;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* bloco de cartão no hero (dados) */
.hero-card {
  border-left: 1px solid rgba(176,141,79,.4);
  padding: 6px 0 6px 30px;
}
.hero-card h3 {
  font-size: 10.5px; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--gold-2); font-weight: 700; margin-bottom: 20px;
}
.stat { margin-bottom: 20px; }
.stat .n {
  font-family: var(--serif); font-size: 34px; font-weight: 700;
  color: #fff; line-height: 1.05;
}
.stat .l { font-size: 12.5px; color: #94a1b8; margin-top: 4px; line-height: 1.45; }
.hc-note {
  margin-top: 22px; font-size: 10.5px; color: #6f7c94; line-height: 1.55;
  max-width: 30ch;
}

/* hora + status (padrão institucional) */
.hero-status {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: #8b98ae; margin-top: 34px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #35b96b; box-shadow: 0 0 0 3px rgba(53,185,107,.18); }

/* ============ FAIXA DE CREDENCIAIS ============ */
.strip {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.07);
}
.strip .container {
  display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 22px 0;
}
.strip span {
  display: flex; align-items: center; gap: 11px;
  font-size: 12px; letter-spacing: 1.1px; text-transform: uppercase;
  color: #93a0b6; font-weight: 500;
}
.strip svg { flex: none; }

/* ============ SEÇÕES ============ */
.section { padding: 104px 0; }
.section.alt { background: var(--white); }
.section.dark { background: var(--navy); color: #fff; }
.section.dark .sec-head h2 { color: #fff; }
.section.dark .sec-head p { color: #a7b3c7; }

.sec-head { max-width: 680px; margin-bottom: 62px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head .eyebrow { color: var(--gold); margin-bottom: 18px; }
.sec-head h2 {
  font-family: var(--serif); font-size: clamp(27px, 3.3vw, 38px);
  color: var(--navy); line-height: 1.18; margin-bottom: 16px; font-weight: 700;
  letter-spacing: -.3px;
}
.sec-head p { color: var(--muted); font-size: 16.5px; line-height: 1.75; }

/* ============ ÁREAS ============ */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
/* variante de 2 colunas (paginas de area) mantem-se via style inline */
.area-card {
  background: var(--paper); padding: 42px 34px 36px;
  position: relative; transition: background .25s ease; display: flex; flex-direction: column;
}
.section.alt .area-card { background: var(--white); }
.area-card:hover { background: #fff; }
.area-card::after {
  content: ""; position: absolute; left: 34px; bottom: 0; width: 0; height: 2px;
  background: var(--gold); transition: width .3s ease;
}
.area-card:hover::after { width: calc(100% - 68px); }
.area-num {
  font-family: var(--serif); font-size: 12px; color: var(--gold);
  font-weight: 700; letter-spacing: 2.4px; margin-bottom: 20px;
}
.area-card h3 {
  font-family: var(--serif); font-size: 21px; color: var(--navy);
  margin-bottom: 14px; line-height: 1.32; font-weight: 600;
}
.area-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 24px; flex: 1; line-height: 1.72; }
.area-link {
  font-size: 11.5px; font-weight: 700; color: var(--navy);
  letter-spacing: 1.5px; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 9px;
}
.area-link:hover { color: var(--gold); }

/* ============ PROCESSO ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 0 30px; position: relative; counter-increment: step; }
.step:first-child { padding-left: 0; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 13px; font-weight: 700;
  color: var(--gold); letter-spacing: 2px;
  display: block; margin-bottom: 16px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.step h4 { font-size: 16px; color: var(--navy); margin-bottom: 10px; font-weight: 700; letter-spacing: .2px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ============ SOBRE / QUEM ATENDE ============ */
.about { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: center; }
.about-photo {
  position: relative; margin: 0;
  border-radius: 2px; overflow: hidden;
  background: var(--navy);
  aspect-ratio: 4/4.7;
  box-shadow: var(--shadow-2);
}
.about-photo .about-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
}
.about-content h2 {
  font-family: var(--serif); font-size: clamp(27px, 3.1vw, 36px);
  color: var(--navy); margin-bottom: 22px; line-height: 1.2; font-weight: 700;
}
.about-content p { color: var(--muted); margin-bottom: 18px; font-size: 16px; line-height: 1.78; }

/* bloco do retrato pequeno (padrão institucional) */
.advogado-mini {
  display: flex; align-items: center; gap: 20px;
  margin-top: 36px; padding-top: 30px;
  border-top: 1px solid var(--line);
}
.advogado-mini img {
  width: 76px; height: 76px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold); flex: none;
}
.advogado-mini .am-txt strong {
  display: block; font-family: var(--serif); font-size: 17px; color: var(--navy);
  margin-bottom: 3px; font-weight: 700;
}
.advogado-mini .am-txt span {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}

.about-creds { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); margin-top: 34px; }
.cred {
  background: var(--white); padding: 18px 20px;
  border-top: 2px solid transparent;
  transition: border-color .2s;
}
.section.alt .cred { background: var(--paper); }
.cred:hover { border-top-color: var(--gold); }
.cred b {
  display: block; color: var(--navy); font-size: 10.5px; letter-spacing: 1.6px;
  text-transform: uppercase; margin-bottom: 5px; font-weight: 700;
}
.cred span { color: var(--muted); font-size: 13.5px; }

/* ============ GALERIA ============ */
.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.galeria figure { margin: 0; position: relative; overflow: hidden; background: var(--navy); }
.galeria img { width: 100%; height: 300px; object-fit: cover; transition: transform .5s ease, opacity .3s; }
.galeria figure:hover img { transform: scale(1.04); }

/* ============ FAQ ============ */
.faq { max-width: 840px; margin: 0 auto; }
.faq-item {
  background: var(--white); border: 1px solid var(--line);
  margin-bottom: -1px; overflow: hidden;
  transition: border-color .2s;
}
.faq-item[open] { border-color: var(--gold); position: relative; z-index: 2; }
.faq-item summary {
  cursor: pointer; padding: 24px 26px; font-weight: 600;
  color: var(--navy); font-size: 15.5px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  letter-spacing: .1px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--serif); font-size: 22px;
  color: var(--gold); font-weight: 400; flex: none;
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 26px 24px; color: var(--muted); font-size: 15px; line-height: 1.78; }

/* ============ CONTATO ============ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow-2); }
.contact-info { background: var(--navy); color: #fff; padding: 58px 50px; }
.contact-info h3 { font-family: var(--serif); font-size: 26px; margin-bottom: 10px; font-weight: 700; }
.contact-info > p { color: #a3afc4; font-size: 14.5px; margin-bottom: 34px; }
.c-line {
  display: flex; gap: 18px; padding: 17px 0;
  border-top: 1px solid rgba(255,255,255,.1); font-size: 14.5px;
}
.c-line b {
  color: var(--gold-2); font-weight: 600; min-width: 92px; flex: none;
  font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; padding-top: 3px;
}
.c-line a:hover { color: var(--gold-2); }
.contact-cta {
  background: var(--white); padding: 58px 50px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.contact-cta h4 { font-family: var(--serif); font-size: 23px; color: var(--navy); margin-bottom: 12px; font-weight: 700; }
.contact-cta p { color: var(--muted); font-size: 14.5px; margin-bottom: 28px; line-height: 1.72; }
.contact-cta .btn { margin-bottom: 12px; width: 100%; }
.contact-cta small { color: #8a9099; font-size: 11.5px; line-height: 1.6; margin-top: 8px; }

/* ============ RODAPÉ ============ */
.footer { background: #080d1a; color: #7d8aa1; padding: 68px 0 30px; font-size: 13.5px; }
.footer .container { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.footer h5 {
  color: #fff; font-size: 10.5px; letter-spacing: 2.4px;
  text-transform: uppercase; margin-bottom: 20px; font-weight: 700;
}
.footer .f-brand strong {
  font-family: var(--serif); color: #fff; font-size: 19px;
  display: block; margin-bottom: 12px; font-weight: 700;
}
.footer .f-brand p { line-height: 1.7; }
.footer-logo { width: 120px; height: auto; display: block; margin-bottom: 18px; border-radius: 2px; }
.footer ul { list-style: none; }
.footer li { padding: 6px 0; }
.footer a:hover { color: var(--gold-2); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: 52px; padding-top: 26px;
  display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  font-size: 11.5px; color: #5f6b81; line-height: 1.65;
}
.footer-bottom span { max-width: 54ch; }

/* ============ FLUTUANTE ============ */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #1fa855; display: grid; place-items: center;
  box-shadow: 0 8px 26px rgba(31,168,85,.4);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.07); }

/* ============ LGPD ============ */
.lgpd {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100000;
  background: #0b1222; color: #b8c2d4;
  padding: 18px 0; font-size: 13px;
  border-top: 2px solid var(--gold);
  transform: translateY(110%); transition: transform .35s ease;
}
.lgpd.show { transform: translateY(0); }
.lgpd .container {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between;
  padding-right: 170px; /* espaco para o selo 'Powered by Netlify', que fica no canto */
}
.lgpd p { flex: 1; min-width: 260px; line-height: 1.6; }
.lgpd a { color: var(--gold-2); text-decoration: underline; }
.lgpd-btns { display: flex; gap: 10px; flex: none; }
.lgpd button {
  font-family: var(--sans); font-size: 11.5px; letter-spacing: 1.3px; text-transform: uppercase;
  font-weight: 700; padding: 11px 20px; border-radius: 2px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff;
  transition: all .18s;
}
.lgpd button:hover { background: rgba(255,255,255,.1); }
.lgpd button.aceitar { background: var(--gold); border-color: var(--gold); }
.lgpd button.aceitar:hover { background: #9a7a40; }

/* ============ ACESSIBILIDADE ============ */
.a11y-toggle {
  position: fixed; left: 0; top: 46%; z-index: 92;
  width: 38px; height: 44px;
  background: var(--navy); color: #fff;
  border: none; border-radius: 0 3px 3px 0; cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 2px 0 8px rgba(0,0,0,.18);
}
.a11y-panel {
  position: fixed; left: 0; top: 46%; z-index: 93;
  background: #fff; border: 1px solid var(--line);
  border-left: none; border-radius: 0 4px 4px 0;
  padding: 18px; width: 208px;
  box-shadow: 4px 4px 20px rgba(14,21,41,.14);
  display: none;
}
.a11y-panel.show { display: block; }
.a11y-panel h6 {
  font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px; font-weight: 700;
}
.a11y-panel button {
  display: block; width: 100%; text-align: left;
  font-family: var(--sans); font-size: 12.5px; font-weight: 500;
  padding: 8px 10px; margin-bottom: 4px;
  background: #f4f4f1; border: 1px solid var(--line);
  border-radius: 2px; cursor: pointer; color: var(--ink);
  transition: all .15s;
}
.a11y-panel button:hover { background: var(--gold-soft); border-color: var(--gold); }

/* alto contraste */
body.contraste { background: #000 !important; color: #fff !important; }
body.contraste .section, body.contraste .header, body.contraste .footer,
body.contraste .area-card, body.contraste .faq-item, body.contraste .contact-cta { background: #000 !important; }
body.contraste h1, body.contraste h2, body.contraste h3, body.contraste h4,
body.contraste p, body.contraste span, body.contraste a, body.contraste b { color: #fff !important; }
body.contraste .btn { border: 2px solid #fff !important; }
body.contraste .area-card, body.contraste .faq-item { border-color: #fff !important; }

/* ============ RESPONSIVO ============ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; align-items: start; }
  .hero-card { border-left: none; border-top: 1px solid rgba(176,141,79,.4); padding: 28px 0 0; }
  .hero { min-height: auto; padding: 80px 0 84px; }
  .nav { display: none; }
  .menu-btn { display: flex; }
  .header .container { position: relative; }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .about { grid-template-columns: 1fr; gap: 44px; }
  .about-photo { order: 2; max-width: 340px; margin: 0 auto; }
  .about-content { order: 1; }
  .contact-wrap { grid-template-columns: 1fr; }
  .galeria { grid-template-columns: 1fr; }
  .footer .container { grid-template-columns: 1fr 1fr; gap: 36px; }
  .strip .container { justify-content: flex-start; gap: 20px 34px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .hero { padding: 60px 0 68px; }
  .hero h1 { font-size: clamp(28px, 7.6vw, 36px); }
  .steps { grid-template-columns: 1fr; gap: 34px 0; }
  .step { padding: 0; }
  .about-creds { grid-template-columns: 1fr; }
  .topbar .tb-right { display: none; }
  .brand-name strong { font-size: 16.5px; }
  .footer .container { grid-template-columns: 1fr; gap: 32px; }
  .a11y-toggle, .a11y-panel { top: 40%; }
  .lgpd .container { flex-direction: column; align-items: stretch; padding-right: 0; padding-bottom: 58px; }
  .lgpd-btns { justify-content: flex-end; }
  .galeria img { height: 230px; }
  .areas { grid-template-columns: 1fr; }
  .areas[style] { grid-template-columns: 1fr !important; }
}
