/* Thiago Cavalcanti · Advogado — identidade visual oficial (Manual da Marca v1.0) */
:root {
  --azul: #15284A;
  --azul-2: #1E3762;
  --latao: #A8844F;
  --latao-claro: #C9A66B;
  --marfim: #F6F2EA;
  --grafite: #2B2F36;
  --cinza: #5F646B;
  --linha: #DDD6C9;
  --branco: #FFFFFF;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", Arial, Helvetica, sans-serif;
  --raio: 10px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--branco); color: var(--grafite);
  font-family: var(--sans); font-size: 16px; line-height: 1.7;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); text-decoration-color: var(--latao); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--latao); }
:focus-visible { outline: 2px solid var(--latao); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--azul); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(36px, 6vw, 58px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--azul); color: var(--marfim); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

.kicker {
  display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--latao); margin-bottom: 14px;
}
.rule { width: 44px; height: 2px; background: var(--latao); border: 0; margin: 0 0 22px; }
.lead { font-size: 18px; color: var(--cinza); max-width: 660px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .03em;
  padding: 13px 22px; border-radius: 6px; text-decoration: none; border: 1.5px solid var(--azul);
  background: var(--azul); color: var(--marfim); transition: background .2s, color .2s, border-color .2s; cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: var(--azul-2); color: var(--marfim); border-color: var(--azul-2); }
.btn--ghost { background: transparent; color: var(--azul); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--azul); color: var(--marfim); }
.btn--latao { background: var(--latao-claro); border-color: var(--latao-claro); color: var(--azul); }
.btn--latao:hover, .btn--latao:focus-visible { background: var(--marfim); border-color: var(--marfim); color: var(--azul); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--marfim); border-bottom: 1px solid var(--linha); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: block; width: 250px; flex: none; }
.brand img { width: 100%; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-size: 14px; font-weight: 500; color: var(--azul); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--latao); }
.nav .btn { color: var(--marfim); padding: 10px 16px; }
.lang { font-size: 13px; font-weight: 600; color: var(--cinza); white-space: nowrap; }
.lang a { color: var(--cinza); font-weight: 600; }
.lang strong { color: var(--azul); }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--azul); border-radius: 6px; padding: 8px 10px; color: var(--azul); font: 600 13px var(--sans); cursor: pointer; }

@media (max-width: 980px) {
  .brand { width: 210px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--marfim);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--linha);
  }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--linha); font-size: 16px; }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
  .nav .lang { padding-top: 14px; }
  .nav-open .nav { display: flex; }
}

/* Seções */
.section { padding: 84px 0; }
.section--marfim { background: var(--marfim); }
.section--azul { background: var(--azul); color: #DCE1EA; }
.section--azul h2, .section--azul h3 { color: var(--marfim); }
.section--azul .kicker { color: var(--latao-claro); }
.section--azul .rule { background: var(--latao-claro); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .rule { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { background: var(--marfim); padding: 72px 0 84px; border-bottom: 1px solid var(--linha); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero-note { font-size: 13px; color: var(--cinza); margin-top: 18px; }
.hero-photo { position: relative; max-width: 420px; justify-self: end; width: 100%; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.hero-badge {
  position: absolute; left: -28px; bottom: 32px; background: var(--azul); color: #DCE1EA;
  border-radius: 10px; padding: 16px 20px; font-size: 13px; line-height: 1.5; max-width: 250px;
}
.hero-badge strong { display: block; font-family: var(--serif); font-size: 21px; color: var(--marfim); font-weight: 600; }
@media (max-width: 860px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { justify-self: center; max-width: 360px; }
  .hero-badge { left: 12px; bottom: 16px; }
}

/* Grades e cartões */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }

.card {
  background: var(--branco); border: 1px solid var(--linha); border-radius: var(--raio); padding: 30px 28px;
  display: flex; flex-direction: column; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--latao); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--cinza); }
.card .more { margin-top: auto; font-weight: 600; font-size: 14px; text-decoration: none; }
.card .more::after { content: " →"; }
.section--marfim .card { background: var(--branco); }

.step { position: relative; padding-top: 6px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--latao); color: var(--branco);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 600; margin-bottom: 14px;
}
.step h3 { font-size: 22px; }
.step p { color: var(--cinza); font-size: 15px; }
.section--azul .step p { color: #C5CCD8; }

/* Sobre (resumo) */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.about-photo { max-width: 420px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } .about-photo { max-width: 340px; } }

/* Perguntas frequentes */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--linha); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--azul); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--latao); font-family: var(--sans); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--cinza); }

/* Páginas de conteúdo */
.page-head { background: var(--marfim); padding: 64px 0 56px; border-bottom: 1px solid var(--linha); }
.breadcrumb { font-size: 13px; color: var(--cinza); margin-bottom: 18px; }
.breadcrumb a { color: var(--cinza); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; }
@media (max-width: 960px) { .content-grid { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 3.4vw, 34px); margin-top: 1.6em; padding-top: 4px; }
.prose h2::before { content: ""; display: block; width: 36px; height: 2px; background: var(--latao); margin-bottom: 16px; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--latao); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--linha); vertical-align: top; }
.prose th { background: var(--azul); color: var(--marfim); font-weight: 600; }
.prose tr:nth-child(even) td { background: #FAF8F3; }
.table-wrap { overflow-x: auto; }
.note { font-size: 14px; color: var(--cinza); border-top: 1px solid var(--linha); padding-top: 16px; margin-top: 32px; }

.aside-box { position: sticky; top: 100px; background: var(--azul); color: #DCE1EA; border-radius: 12px; padding: 28px 24px; }
.aside-box h3 { color: var(--marfim); font-size: 24px; }
.aside-box p { font-size: 15px; }
.aside-box .btn { width: 100%; }
.aside-box .small { font-size: 12.5px; color: #AEB7C6; margin: 14px 0 0; }

.callout { background: var(--marfim); border-left: 3px solid var(--latao); padding: 18px 22px; border-radius: 0 8px 8px 0; margin: 0 0 1.4em; }
.callout p:last-child { margin-bottom: 0; }

/* Agendamento */
.aviso { background: var(--marfim); border: 1px solid var(--linha); border-radius: 12px; padding: 28px; margin: 8px 0 28px; }
.aviso p { font-size: 17px; }
.aceite { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; cursor: pointer; margin-top: 14px; }
.aceite input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--azul); flex: none; }
.agenda { border: 1px dashed var(--latao); border-radius: 12px; padding: 32px; text-align: center; background: var(--branco); }
.agenda[hidden] { display: none; }
.agenda-bloqueada { color: var(--cinza); font-size: 14px; }

/* Blog */
.post-card .meta, .post-meta { font-size: 13px; color: var(--cinza); margin-bottom: 8px; }
.post-card h3 a { text-decoration: none; color: var(--azul); }
.post-card h3 a:hover { color: var(--latao); }
.author { display: flex; gap: 16px; align-items: center; background: var(--marfim); border-radius: 12px; padding: 20px 22px; margin-top: 36px; }
.author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.author p { margin: 0; font-size: 14px; color: var(--cinza); }
.author strong { color: var(--azul); }

/* Faixa de chamada */
.cta-band { text-align: center; }
.cta-band p { max-width: 620px; margin: 0 auto; }

/* Rodapé */
.site-footer { background: var(--azul); color: #C5CCD8; font-size: 14px; padding: 64px 0 28px; }
.site-footer a { color: #E6EAF1; text-decoration: none; }
.site-footer a:hover { color: var(--latao-claro); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-grid h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--latao-claro); margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-logo { width: 230px; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid #2E436B; margin-top: 44px; padding-top: 22px; font-size: 12.5px; color: #9FA9BA; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .section { padding: 60px 0; }
  .page-head { padding: 44px 0 40px; }
  .lead { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
