:root {
  --azul: #0B2A52;
  --azul-escuro: #071C3A;
  --dourado: #C08830;
  --dourado-claro: #E3C27A;
  --marfim: #FAF6EC;
  --marfim-2: #F1EADA;
  --texto: #1E2A3A;
  --texto-suave: #4A5668;
  --raio: 14px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--marfim);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: var(--azul); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 40px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--azul); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(250,246,236,.96); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(192,136,48,.35); }
.topo__in { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marca__txt { font-family: var(--serif); font-weight: 700; color: var(--azul); font-size: 1.15rem; line-height: 1.1; display: flex; flex-direction: column; }
.marca__txt small { font-family: var(--sans); font-weight: 500; font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: var(--dourado); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--azul); position: relative; padding: 4px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--dourado); transition: width .25s; }
.nav a:not(.btn):hover::after, .nav a:not(.btn):focus-visible::after { width: 100%; }

.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: var(--azul); margin: 5px 0; transition: transform .25s, opacity .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Botões */
.btn { display: inline-block; background: var(--azul); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 28px; border-radius: 999px; border: 2px solid var(--azul); transition: background .2s, color .2s, transform .2s; }
.btn:hover, .btn:focus-visible { background: var(--dourado); border-color: var(--dourado); color: #fff; transform: translateY(-1px); }
.btn--sm { padding: 9px 20px; font-size: .92rem; }
.btn--ghost { background: transparent; color: var(--azul); }
.btn--ghost-claro { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-claro:hover, .btn--ghost-claro:focus-visible { background: #fff; color: var(--azul); border-color: #fff; }
:focus-visible { outline: 3px solid var(--dourado); outline-offset: 3px; }

/* Hero */
.hero { padding: clamp(48px, 8vw, 96px) 0; background: radial-gradient(1200px 500px at 85% 20%, rgba(227,194,122,.28), transparent 60%), var(--marfim); }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--dourado); margin-bottom: 14px; }
.lead { font-size: 1.2rem; color: var(--texto-suave); max-width: 52ch; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__logo { display: flex; justify-content: center; }
.hero__logo img { width: min(420px, 100%); }

/* Seções */
.secao { padding: clamp(56px, 8vw, 96px) 0; }
.secao--alt { background: var(--marfim-2); }
.secao__intro { color: var(--texto-suave); max-width: 60ch; margin-bottom: 2em; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card { background: #fff; border-radius: var(--raio); padding: 28px 26px; border: 1px solid rgba(11,42,82,.08); border-top: 4px solid var(--dourado); box-shadow: 0 6px 22px rgba(11,42,82,.06); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11,42,82,.1); }
.card p { color: var(--texto-suave); margin: 0; font-size: 1rem; }

/* Sobre */
.sobre { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.sobre__foto img { border-radius: var(--raio); box-shadow: 0 18px 40px rgba(11,42,82,.18); border-bottom: 6px solid var(--dourado); }
.oab { color: var(--dourado); font-weight: 600; letter-spacing: .04em; }
.lista { list-style: none; padding: 0; margin: 1.4em 0 0; }
.lista li { position: relative; padding-left: 28px; margin-bottom: .7em; }
.lista li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 2px; background: var(--dourado); }

/* Passos */
.passos { list-style: none; margin: 2em 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.passos li { padding-top: 6px; }
.passos__n { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: var(--azul); border: 2px solid var(--dourado); margin-bottom: 14px; }
.passos p { color: var(--texto-suave); }

/* Contato */
.secao--escura { background: var(--azul); color: #fff; }
.secao--escura h2 { color: #fff; }
.secao--escura .secao__intro { color: rgba(255,255,255,.8); }
.secao--escura .eyebrow { color: var(--dourado-claro); }
.contato__lista { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: 20px; }
.contato__lista strong { display: block; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dourado-claro); margin-bottom: 4px; }
.contato__lista a { text-decoration: none; font-size: 1.15rem; border-bottom: 1px solid rgba(227,194,122,.5); }
.contato__lista a:hover { border-color: var(--dourado-claro); }
address { font-style: normal; font-size: 1.1rem; line-height: 1.6; }

/* Rodapé */
.rodape { background: var(--azul-escuro); color: rgba(255,255,255,.78); padding: 44px 0 90px; font-size: .92rem; }
.rodape p { margin-bottom: .5em; }
.rodape__nome { font-family: var(--serif); font-size: 1.2rem; color: #fff; font-weight: 700; }
.rodape__aviso { max-width: 80ch; margin-top: 1.2em; padding-top: 1.2em; border-top: 1px solid rgba(255,255,255,.15); font-size: .84rem; color: rgba(255,255,255,.65); }
.rodape__copy { font-size: .84rem; color: rgba(255,255,255,.55); }

/* WhatsApp flutuante */
.zap { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0,0,0,.28); transition: transform .2s; }
.zap:hover, .zap:focus-visible { transform: scale(1.07); }

/* Mobile */
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--marfim); border-bottom: 1px solid rgba(192,136,48,.35); padding: 8px 20px 20px; display: none; }
  .nav.aberto { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(11,42,82,.08); }
  .nav .btn { margin-top: 14px; text-align: center; }
  .hero__in, .sobre { grid-template-columns: 1fr; gap: 32px; }
  .hero__logo { order: -1; }
  .hero__logo img { width: min(260px, 70%); }
  .sobre__foto { max-width: 340px; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ===== Dinamismo ===== */
.topo { transition: box-shadow .3s; }
.topo--rolado { box-shadow: 0 6px 20px rgba(11,42,82,.1); }
.nav a.ativo:not(.btn)::after { width: 100%; }

/* Entrada do hero */
@keyframes sobe { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes surge { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes flutua { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes risca { from { width: 0; } to { width: 72px; } }
.hero__txt > * { animation: sobe .8s cubic-bezier(.2,.7,.2,1) both; }
.hero__txt > :nth-child(2) { animation-delay: .12s; }
.hero__txt > :nth-child(3) { animation-delay: .24s; }
.hero__txt > :nth-child(4) { animation-delay: .36s; }
.hero__logo img { animation: surge 1s cubic-bezier(.2,.7,.2,1) .2s both, flutua 7s ease-in-out 1.4s infinite; }
.hero h1::after { content: ""; display: block; height: 3px; width: 72px; background: linear-gradient(90deg, var(--dourado), var(--dourado-claro)); margin-top: 18px; border-radius: 2px; animation: risca .9s ease .6s both; }

/* Aparecer ao rolar */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.visivel { opacity: 1; transform: none; }
.card.reveal.visivel:hover { transform: translateY(-3px); }

/* Botão com brilho dourado */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s; }
.btn:hover::after { left: 130%; }

/* Perguntas frequentes */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq__lista details { background: #fff; border-radius: var(--raio); border: 1px solid rgba(11,42,82,.08); margin-bottom: 14px; box-shadow: 0 4px 16px rgba(11,42,82,.05); transition: box-shadow .2s, border-color .2s; }
.faq__lista details[open] { border-color: var(--dourado); box-shadow: 0 10px 26px rgba(11,42,82,.1); }
.faq__lista summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-family: var(--serif); font-weight: 700; color: var(--azul); font-size: 1.1rem; position: relative; }
.faq__lista summary::-webkit-details-marker { display: none; }
.faq__lista summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--dourado); color: var(--dourado); display: flex; align-items: center; justify-content: center; font-family: var(--sans); font-size: 1.2rem; line-height: 1; transition: transform .25s, background .25s, color .25s; }
.faq__lista details[open] summary::after { content: "–"; background: var(--dourado); color: #fff; }
.faq__lista details p { margin: 0; padding: 0 24px 22px; color: var(--texto-suave); animation: sobe .35s ease both; }

@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 24px; } }

/* Ajustes finos */
.secao--escura .btn:not(.btn--ghost-claro) { background: var(--dourado); border-color: var(--dourado); color: #fff; }
.secao--escura .btn:not(.btn--ghost-claro):hover, .secao--escura .btn:not(.btn--ghost-claro):focus-visible { background: #fff; border-color: #fff; color: var(--azul); }
.hero { padding: clamp(40px, 6vw, 72px) 0; }

/* ===== Na mídia e Atualizações ===== */
.midia-grid, .atual-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.midia-card, .atual-card { background: #fff; border-radius: var(--raio); padding: 26px; border: 1px solid rgba(11,42,82,.08); box-shadow: 0 6px 22px rgba(11,42,82,.06); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.midia-card { border-left: 4px solid var(--dourado); }
.midia-card:hover, .atual-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11,42,82,.1); }
.midia-card__topo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.tag { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--azul); background: var(--marfim-2); padding: 5px 11px; border-radius: 999px; }
.selo-modelo { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8A5A12; background: #FFF1CC; border: 1px dashed var(--dourado); padding: 4px 9px; border-radius: 999px; }
.midia-card__veiculo { font-size: .85rem; font-weight: 600; color: var(--dourado); margin: 0 0 6px; letter-spacing: .02em; }
.midia-card h3, .atual-card h3 { font-size: 1.18rem; margin-bottom: .5em; }
.midia-card__data { font-size: .85rem; color: var(--texto-suave); margin: 0 0 1em; }
.atual-card__resumo { color: var(--texto-suave); font-size: 1rem; margin-bottom: 1.1em; }
.seta { margin-top: auto; align-self: flex-start; font-weight: 600; color: var(--azul); text-decoration: none; border-bottom: 2px solid var(--dourado); padding-bottom: 2px; transition: color .2s, gap .2s; }
.seta::after { content: " →"; transition: margin-left .2s; }
.seta:hover { color: var(--dourado); }
.seta:hover::after { margin-left: 4px; }

.filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip { font: inherit; font-size: .92rem; font-weight: 600; color: var(--azul); background: transparent; border: 2px solid rgba(11,42,82,.2); padding: 8px 18px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--dourado); }
.chip[aria-pressed="true"] { background: var(--azul); border-color: var(--azul); color: #fff; }
.atual-card { animation: sobe .45s ease both; }

/* ===== Guia de documentos ===== */
.guia__passo { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-weight: 700; color: var(--azul); font-size: 1.15rem; margin: 0 0 14px; }
.guia__passo span { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; align-items: center; justify-content: center; font-size: .95rem; color: #fff; background: var(--dourado); flex: none; }
#guiaPasso2 { margin-top: 10px; }
.guia .filtros { margin-bottom: 22px; }
.guia__res { background: #fff; border-radius: var(--raio); padding: clamp(22px, 4vw, 36px); border: 1px solid rgba(11,42,82,.08); border-top: 4px solid var(--dourado); box-shadow: 0 12px 32px rgba(11,42,82,.1); margin-top: 8px; }
.guia__res--anim { animation: sobe .45s ease both; }
.guia__cab { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.guia__cab h3 { margin: 0 0 .4em; }
.guia__prog { margin: 0 0 .4em; font-size: .9rem; font-weight: 600; color: var(--dourado); }
.guia__barra { height: 8px; background: var(--marfim-2); border-radius: 999px; overflow: hidden; margin-bottom: 20px; }
.guia__barra span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--dourado), var(--dourado-claro)); border-radius: 999px; transition: width .35s ease; }
.guia__barra.completa span { background: #1FA855; }
.guia__aviso { background: #FFF1CC; border-left: 4px solid var(--dourado); padding: 12px 16px; border-radius: 8px; color: #6B4510; font-weight: 600; font-size: .98rem; }
.guia__lista { list-style: none; padding: 0; margin: 0 0 18px; }
.guia__lista li { border-bottom: 1px solid rgba(11,42,82,.08); }
.guia__lista li:last-child { border-bottom: 0; }
.guia__lista label { display: flex; gap: 14px; align-items: flex-start; padding: 13px 4px; cursor: pointer; line-height: 1.5; }
.guia__lista input { appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; margin-top: 1px; border: 2px solid var(--dourado); border-radius: 7px; background: #fff; display: grid; place-content: center; cursor: pointer; transition: background .2s; }
.guia__lista input::after { content: ""; width: 12px; height: 7px; border-left: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-45deg) scale(0); transition: transform .15s; margin-top: -3px; }
.guia__lista input:checked { background: var(--dourado); }
.guia__lista input:checked::after { transform: rotate(-45deg) scale(1); }
.guia__lista input:checked + span { color: var(--texto-suave); text-decoration: line-through; text-decoration-color: rgba(11,42,82,.3); }
.guia__nota { font-size: .85rem; color: var(--texto-suave); margin-bottom: 0; }
.guia__res .hero__acoes { margin-top: 18px; }
