/* =========================================================
   Gustavo Ribeiro de Souza Advocacia
   Azul-marinho profundo + dourado champanhe, fundo branco/cinza claro,
   CTAs em verde WhatsApp
   ========================================================= */
:root {
  --navy: #0f172a;
  --navy-2: #16213a;
  --gold: #d4af37;
  --gold-soft: #e8cf7a;
  --bronze: #8c6d1a;
  --wa: #15803d;
  --wa-hover: #166534;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --line: #e2e8f0;
  --line-dark: rgba(212, 175, 55, .2);
  --text: #1e293b;
  --muted: #64748b;
  --muted-light: #a3b0c4;

  --head: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px -12px rgba(15, 23, 42, .14);
  --shadow-hover: 0 2px 4px rgba(15, 23, 42, .05), 0 18px 40px -14px rgba(15, 23, 42, .22);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.2; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.i { width: 1.15em; height: 1.15em; flex: none; }
.center { text-align: center; margin-top: 40px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; font-weight: 700; text-decoration: none; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font: 600 1rem/1.2 var(--head); text-decoration: none; cursor: pointer;
  padding: .95em 1.6em; border-radius: var(--radius-sm); border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn--wa { color: var(--white); background: var(--wa); box-shadow: 0 8px 22px -10px rgba(21, 128, 61, .8); }
.btn--wa:hover { background: var(--wa-hover); transform: translateY(-1px); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .3); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn--outline { color: var(--navy); border-color: var(--line); background: var(--white); }
.btn--outline:hover { border-color: var(--gold); }
.btn--sm { padding: .7em 1.15em; font-size: .9rem; }
.btn--lg { padding: 1.05em 1.8em; font-size: 1.02rem; }
.btn--block { width: 100%; }

.link { display: inline-flex; align-items: center; gap: .45em; font-family: var(--head); font-weight: 600; font-size: .95rem; color: var(--bronze); text-decoration: none; }
.link:hover { color: var(--navy); }

/* ===== Cabeçalho fixo ===== */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); color: var(--white); transition: background .3s, box-shadow .3s; }
.header.is-scrolled, .header.menu-open { background: rgba(15, 23, 42, .97); box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .5); backdrop-filter: blur(8px); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; flex-shrink: 0; white-space: nowrap; }
.brand__mark { width: 46px; height: 46px; }
.brand__text { font-family: var(--head); font-weight: 600; font-size: 1rem; line-height: 1.15; }
.brand__text small { display: block; font-size: .66rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-top: 4px; }
.nav { display: flex; gap: 22px; }
.header__cta { flex-shrink: 0; white-space: nowrap; }
.nav a { white-space: nowrap; text-decoration: none; font-family: var(--head); font-weight: 500; font-size: .9rem; color: rgba(255, 255, 255, .8); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); border-bottom-color: var(--gold); }

.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--white); margin: 5px 0; transition: transform .25s, opacity .25s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #16213a 0%, var(--navy) 55%); color: var(--white); padding: calc(var(--header-h) + clamp(40px, 7vw, 80px)) 0 clamp(48px, 7vw, 88px); }
.hero__slats { /* ripas verticais atrás do retrato */
  position: absolute; top: 0; right: 0; bottom: 0; width: 44%;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 14px, rgba(0, 0, 0, .18) 14px 16px, rgba(255, 255, 255, .015) 16px 30px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero__kicker { color: var(--gold); font-family: var(--head); font-weight: 600; font-size: .85rem; letter-spacing: .04em; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.hero__kicker::before { content: ""; width: 32px; height: 2px; border-radius: 2px; background: var(--gold); flex: none; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.1; max-width: 16ch; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__lead { margin-top: 22px; font-size: 1.12rem; color: rgba(255, 255, 255, .75); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__actions .btn--lg { padding-inline: 1.4em; }
.hero__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.hero__trust li { display: flex; gap: 10px; font-size: .9rem; color: var(--muted-light); line-height: 1.4; }
.hero__trust .i { color: var(--gold); width: 22px; height: 22px; margin-top: 1px; }
.hero__trust strong { display: block; color: var(--white); font-family: var(--head); font-weight: 600; font-size: .92rem; }

.hero__portrait { position: relative; margin: 0; justify-self: end; width: 100%; max-width: 460px; }
.portrait { position: relative; aspect-ratio: 4 / 5; background: var(--navy-2); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 40% top; }
.portrait__fallback { display: none; position: absolute; inset: 0; margin: auto; width: 46%; height: 46%; }
.portrait.no-photo img { display: none; }
.portrait.no-photo .portrait__fallback { display: block; }
.portrait__card { position: absolute; left: -28px; bottom: 28px; max-width: 300px; background: var(--white); color: var(--text); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-hover); border-left: 3px solid var(--gold); }
.portrait__name { display: block; font-family: var(--head); font-weight: 700; color: var(--navy); line-height: 1.3; }
.portrait__role { display: block; margin-top: 4px; font-size: .85rem; color: var(--muted); }

/* ===== Seções ===== */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section--compact { padding: clamp(40px, 6vw, 64px) 0; }
.section--white { background: var(--white); }
.section--gray { background: var(--gray-50); }
.section--dark { background: var(--navy); color: var(--white); }
.section__head { max-width: 660px; margin-bottom: clamp(32px, 5vw, 52px); }
.section__head h2, .lawyer__bio h2, .contact__info h2, .faq-wrap__head h2, .region__text h2, .visit__card h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy); }
.section--dark h2 { color: var(--white); }
.section__head h2::after, .faq-wrap__head h2::after, .contact__info h2::after, .region__text h2::after { content: ""; display: block; width: 48px; height: 3px; border-radius: 3px; background: var(--gold); margin-top: 16px; }
.section__head p { margin-top: 16px; color: var(--muted); }
.section--dark .section__head p { color: var(--muted-light); }

/* Sua situação */
.triage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tri { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s, border-color .25s; }
.tri:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); border-color: rgba(212, 175, 55, .6); }
.tri__tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-size: .75rem; font-weight: 600; color: var(--bronze); background: rgba(212, 175, 55, .14); padding: 4px 10px; border-radius: 99px; }
.tri__tag .i { width: 14px; height: 14px; }
.tri h3 { margin-top: 14px; font-size: 1.12rem; color: var(--navy); }
.tri p { margin-top: 8px; font-size: .95rem; color: var(--muted); flex: 1; }
.tri__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--head); font-weight: 600; font-size: .92rem; color: var(--wa); }
.tri__go .i { transition: transform .2s; }
.tri:hover .tri__go .i { transform: translateX(4px); }

/* Abas */
.tabs__list { display: inline-flex; gap: 6px; padding: 6px; background: var(--gray-100); border-radius: 99px; margin-bottom: 28px; max-width: 100%; overflow-x: auto; }
.tabs__tab { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font: 600 .95rem var(--head); color: var(--muted); background: transparent; border: 0; border-radius: 99px; padding: 12px 22px; cursor: pointer; transition: background .2s, color .2s; }
.tabs__tab:hover { color: var(--navy); }
.tabs__tab.is-active { background: var(--navy); color: var(--white); box-shadow: var(--shadow); }
.tabs__tab.is-active .i { color: var(--gold); }
.panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.panel__intro h3 { font-size: 1.4rem; color: var(--navy); }
.panel__intro p { margin: 14px 0 24px; color: var(--muted); }
.panel__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.panel__list li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; background: var(--gray-50); border-radius: var(--radius-sm); font-size: .97rem; line-height: 1.4; }
.panel__list .i { color: var(--wa); margin-top: 1px; }

/* Como funciona */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 28px 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.step__num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-family: var(--head); font-weight: 700; color: var(--navy); background: var(--gold); }
.step h3 { margin-top: 18px; font-size: 1.12rem; color: var(--white); }
.step p { margin-top: 8px; font-size: .96rem; color: var(--muted-light); }

/* O advogado */
.lawyer { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.lawyer__media { position: relative; max-width: 460px; }
.lawyer__art { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); background: var(--navy); }
.lawyer__art img { width: 100%; height: auto; }
.lawyer__badge { position: absolute; right: -20px; bottom: 32px; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow-hover); border-top: 3px solid var(--gold); }
.lawyer__badge span { display: block; font-size: .78rem; color: var(--muted-light); }
.lawyer__badge strong { font-family: var(--head); font-size: 1rem; }
.lawyer__meta { margin: 10px 0 20px; font-family: var(--head); font-weight: 600; font-size: .95rem; color: var(--bronze); }
.lawyer__bio > p:not(.lawyer__meta) { color: #475569; max-width: 62ch; }
.lawyer__bio > p + p { margin-top: 14px; }
.values { margin-top: 28px; display: grid; gap: 14px; }
.values li { display: flex; gap: 14px; align-items: flex-start; }
.values .i { width: 40px; height: 40px; padding: 9px; border-radius: 10px; color: var(--navy); background: rgba(212, 175, 55, .18); }
.values strong { display: block; font-family: var(--head); color: var(--navy); font-size: .98rem; }
.values span { display: block; font-size: .93rem; color: var(--muted); }
.lawyer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 32px; }

/* Dúvidas */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap__head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-wrap__head p { margin: 16px 0 24px; color: var(--muted); }
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; font: 600 1rem/1.4 var(--head); color: var(--navy); background: none; border: 0; padding: 20px 22px; cursor: pointer; }
.faq__q span { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--gray-100); }
.faq__q span::before, .faq__q span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .25s; }
.faq__q span::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__q span { background: var(--gold); }
.faq__item.is-open .faq__q span::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 22px 20px; color: var(--muted); }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__info > p { margin-top: 18px; color: var(--muted-light); max-width: 46ch; }
.contact__list { margin-top: 28px; }
.contact__list li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.contact__list .i { color: var(--gold); margin-top: 4px; }
.contact__list small { display: block; font-size: .8rem; color: var(--muted-light); }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--gold-soft); }
.contact__route { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-family: var(--head); font-weight: 600; font-size: .9rem; color: var(--gold); }
.contact__list--light li { border-top-color: var(--line); }
.contact__list--light small { color: var(--muted); }
.contact__list--light .i { color: var(--bronze); }
.contact__list--light a:hover { color: var(--bronze); }

.form { background: var(--white); color: var(--text); border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.form__title { font-size: 1.2rem; color: var(--navy); margin-bottom: 20px; }
.form__row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form label { font-family: var(--head); font-size: .85rem; font-weight: 600; color: var(--navy); }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--gray-50); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; background: var(--white); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .22); }
.form .is-invalid { border-color: #dc2626; }
.form__error { min-height: 1.4em; font-size: .9rem; color: #b91c1c; margin-bottom: 8px; }
.form__note { margin-top: 12px; font-size: .82rem; color: var(--muted); text-align: center; }

/* ===== Página Como chegar ===== */
.page-hero { background: linear-gradient(160deg, #16213a 0%, var(--navy) 60%); color: var(--white); padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(40px, 6vw, 64px); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .hero__lead { max-width: 62ch; }
.visit { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: stretch; }
.visit__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow); }
.visit__card .contact__list { margin-top: 18px; }
.visit__actions { display: grid; gap: 12px; margin-top: 24px; }
.visit__actions .link { justify-self: center; margin-top: 4px; }
.visit__map { min-height: 420px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--gray-100); }
.visit__map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.region { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.region__photo { margin: 0; }
.office-photo { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--gray-100); box-shadow: var(--shadow); }
.office-photo img { width: 100%; height: 100%; object-fit: cover; }
.office-photo__empty { display: none; position: absolute; inset: 14px; border: 2px dashed #cbd5e1; border-radius: var(--radius-sm); flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-family: var(--head); font-weight: 600; }
.office-photo__empty .i { width: 40px; height: 40px; color: var(--bronze); }
.office-photo.no-photo img { display: none; }
.office-photo.no-photo .office-photo__empty { display: flex; }
.region__text > p { color: #475569; margin-top: 18px; }
.region__list { display: grid; gap: 10px; margin-top: 22px; }
.region__list li { display: flex; gap: 10px; align-items: flex-start; }
.region__list .i { color: var(--wa); margin-top: 3px; }
.region__text > .region__tip { margin-top: 24px; padding: 14px 18px; background: rgba(212, 175, 55, .12); border-left: 3px solid var(--gold); border-radius: var(--radius-sm); font-size: .95rem; color: var(--text); }
.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-strip p { margin-top: 8px; color: var(--muted-light); }


/* ===== Página Seus direitos ===== */
.page-hero__statement { max-width: 24ch; font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.15; }
.topic-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.topic-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .18); font-family: var(--head); font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--white); transition: border-color .2s, background .2s; }
.topic-nav a .i { color: var(--gold); }
.topic-nav a:hover { border-color: var(--gold); background: rgba(212, 175, 55, .1); }
.topic { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.topic__head { position: sticky; top: calc(var(--header-h) + 24px); }
.topic__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--gold); }
.topic__icon .i { width: 26px; height: 26px; }
.topic__label { margin-top: 18px; font-family: var(--head); font-weight: 600; font-size: .85rem; color: var(--bronze); }
.topic__head h2 { margin-top: 6px; font-size: clamp(1.6rem, 2.8vw, 2.1rem); color: var(--navy); }
.topic__head > p:not(.topic__label) { margin: 14px 0 24px; color: var(--muted); }
.recorrer { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.recorrer__text h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.recorrer__text h2::after { content: ""; display: block; width: 48px; height: 3px; border-radius: 3px; background: var(--gold); margin-top: 16px; }
.recorrer__text > p { margin-top: 18px; color: var(--muted-light); max-width: 60ch; }
.recorrer__actions { display: grid; gap: 12px; }
.region__list--light li { color: rgba(255, 255, 255, .85); }
.region__list--light .i { color: var(--gold); }

/* ===== Rodapé ===== */
.footer { background: #0a1020; color: var(--muted-light); padding: 56px 0 32px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__mark { width: 60px; height: 60px; }
.footer__brand strong { color: var(--white); font-family: var(--head); font-weight: 600; }
.footer__links, .footer__contact { display: flex; flex-direction: column; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold-soft); }
.footer__legal { padding-top: 24px; font-size: .82rem; }
.footer__legal p + p { margin-top: 10px; }
.footer__credit { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .06); }
.credit { display: inline-flex; align-items: center; gap: 12px; font-size: .82rem; color: var(--muted-light); }
.credit__mark { width: 34px; height: 34px; border-radius: 9px; transition: transform .2s; }
.credit strong { font-family: var(--head); font-weight: 700; color: var(--white); }
.credit small { display: block; font-size: .78rem; }
.credit:hover .credit__mark { transform: rotate(-6deg) scale(1.05); }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; color: var(--white); background: var(--wa); box-shadow: 0 0 0 6px rgba(21, 128, 61, .18), 0 12px 28px -8px rgba(0, 0, 0, .5); transition: transform .2s, background .2s; }
.wa-float .i { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); background: var(--wa-hover); }

/* ===== Animações: fade in na entrada + reveal on scroll ===== */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1), box-shadow .25s, border-color .25s; transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .tri.reveal.is-visible:hover { transform: translateY(-3px); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ===== Responsivo ===== */
@media (max-width: 1200px) {
  .nav, .header__cta { display: none; }
  .menu-toggle { display: block; }
  .header.menu-open .nav { display: flex; flex-direction: column; gap: 0; position: absolute; top: var(--header-h); left: 0; right: 0; background: rgba(15, 23, 42, .98); padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line-dark); }
  .header.menu-open .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 1.02rem; }
}
@media (max-width: 960px) {
  .hero__inner, .lawyer, .contact, .faq-wrap, .panel, .visit, .region, .topic, .recorrer { grid-template-columns: 1fr; }
  .topic__head { position: static; }
  .hero__portrait { justify-self: start; max-width: 420px; }
  .hero__slats { width: 100%; opacity: .5; }
  .portrait__card { left: 16px; }
  .triage, .steps { grid-template-columns: 1fr 1fr; }
  .faq-wrap__head { position: static; }
  .lawyer__media { max-width: 420px; }
  .lawyer__badge { right: 16px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .brand__text { font-size: .9rem; }
  .brand__mark { width: 40px; height: 40px; }
  .hero__actions .btn { width: 100%; }
  .hero__trust, .triage, .steps, .panel__list, .form__grid, .footer__grid { grid-template-columns: 1fr; }
  .hero__trust { gap: 14px; }
  .tabs__list { display: flex; }
  .tabs__tab { flex: 1; justify-content: center; padding: 12px 14px; font-size: .88rem; }
  .cta-strip .btn { width: 100%; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .footer { padding-bottom: 88px; }
}
