/* ==========================================================================
   Alexa Chaves · Advogada e Correspondente Jurídica
   Folha de estilos única (sem Bootstrap). Mobile-first.
   ========================================================================== */

/* ---------- Fontes (hospedadas localmente: mais rápido e sem requisições ao Google) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Roboto Slab"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/roboto-slab-var.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --navy: #094780;          /* azul da marca */
  --navy-700: #0a3c6c;
  --navy-800: #073159;
  --navy-900: #052645;
  --navy-950: #031a31;
  --bronze: #a8844f;        /* acento discreto (tom da estátua do banner) */
  --bronze-light: #d2b384;

  --ink: #14202e;
  --text: #4a5566;
  --muted: #6b7687;
  --line: #e1e6ed;
  --soft: #f4f6f9;
  --white: #fff;
  --wa: #25d366;
  --danger: #b42318;
  --success: #067647;

  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Roboto Slab", Georgia, "Times New Roman", serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(3, 26, 49, .06), 0 2px 8px rgba(3, 26, 49, .05);
  --shadow: 0 10px 30px -12px rgba(3, 26, 49, .22);
  --shadow-lg: 0 24px 60px -20px rgba(3, 26, 49, .35);

  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-800); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.2; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; color: var(--navy); }
small { font-size: .86em; color: var(--muted); }
:focus-visible { outline: 3px solid var(--bronze-light); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--navy); color: var(--white); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.ico { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -.18em; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 500;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 14px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bronze);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.eyebrow--light { color: var(--bronze-light); }

.section { padding-block: var(--section-y); }
.section--soft { background: var(--soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 4.2vw, 44px);
  letter-spacing: -.01em;
}
.section-title--light { color: var(--white); }
.section-title--light em { color: var(--bronze-light); }
.section-lead { margin-top: 16px; font-size: clamp(15.5px, 1.6vw, 17px); color: var(--muted); }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  border: 1.5px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 14px/1.2 var(--font-sans); letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { --btn-bg: var(--navy-800); --btn-bd: var(--navy-800); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: rgba(9, 71, 128, .45); }
.btn--ghost:hover { --btn-bg: var(--navy); --btn-fg: var(--white); --btn-bd: var(--navy); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--navy); --btn-bd: var(--white); }
.btn--light:hover { --btn-fg: var(--navy-900); }
.btn--text { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bd: transparent; padding-inline: 12px; }
.btn--text:hover { box-shadow: none; --btn-bg: rgba(9, 71, 128, .07); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 12.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; box-shadow: none; }

/* ---------- Barra superior ---------- */
.topbar { display: none; background: var(--navy-900); color: rgba(255, 255, 255, .82); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.topbar__info { display: flex; gap: 28px; }
.topbar__info li { display: flex; align-items: center; gap: 8px; }
.topbar a { color: inherit; display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: var(--white); }
.topbar .ico { color: var(--bronze-light); }

.social { display: flex; gap: 6px; }
.social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; transition: background-color .2s, color .2s; }
.social svg { width: 15px; height: 15px; }
.topbar .social a:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(3, 26, 49, .25); border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand__mark { width: 52px; height: auto; aspect-ratio: 836 / 567; color: var(--navy); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 20px; color: var(--navy); letter-spacing: -.005em; }
.brand__tag { font-size: 9.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); opacity: .85; margin-top: 3px; }
.brand--light .brand__mark, .brand--light .brand__name, .brand--light .brand__tag { color: var(--white); }

.nav-toggle {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle__close { display: none !important; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none !important; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block !important; }

/* menu mobile */
.nav {
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 8px var(--gutter) 24px;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(3, 26, 49, .35);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav__list li + li { border-top: 1px solid var(--line); }
.nav__link { display: block; padding: 15px 2px; font-weight: 500; font-size: 16px; color: var(--ink); }
.nav__link:hover, .nav__link.is-active { color: var(--navy); }
.nav__cta { width: 100%; margin-top: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: center;
  min-height: clamp(520px, 78vh, 760px);
  padding-block: 56px 112px;
  background-color: #b8b8b8;
  background-image: url("../img/hero-justica.jpg");
  background-image: image-set(url("../img/hero-justica.webp") type("image/webp"), url("../img/hero-justica.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: 70% center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(236, 238, 241, .93) 0%, rgba(236, 238, 241, .82) 60%, rgba(236, 238, 241, .7) 100%);
}
.hero__inner { position: relative; }
.hero__content { max-width: 600px; }
.hero__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(44px, 8vw, 80px); line-height: 1.02; letter-spacing: -.02em;
  color: var(--navy-900);
}
.hero__title em { color: var(--navy); }
.hero__subtitle {
  margin: 16px 0 0; max-width: 34ch; font-size: clamp(16px, 2vw, 19px); font-weight: 500; color: var(--navy);
}
.hero__text { margin: 18px 0 0; max-width: 520px; font-size: clamp(15.5px, 1.6vw, 17px); color: #3a4556; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Destaques ---------- */
.highlights { position: relative; z-index: 2; margin-top: -64px; }
.highlights__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  width: calc(100% - var(--gutter) * 2); max-width: var(--container); padding: 0;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.highlight {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 4px; padding: 22px 14px; background: var(--white);
}
.highlight:last-child:nth-child(odd) { grid-column: 1 / -1; }
.highlight__num { font-family: var(--font-serif); font-weight: 600; font-size: clamp(24px, 3vw, 32px); color: var(--navy); line-height: 1.1; }
.highlight__num--icon svg { width: 32px; height: 32px; color: var(--navy); }
.highlight__label { font-size: 13px; color: var(--muted); line-height: 1.35; }

/* ---------- Áreas ---------- */
.areas { display: grid; grid-template-columns: 1fr; gap: 20px; }
.area {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 34px);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.area::after {
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.area:hover::after { transform: scaleX(1); }
.area__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px;
  border-radius: 14px; background: rgba(9, 71, 128, .08); color: var(--navy);
}
.area__icon svg { width: 28px; height: 28px; }
.area__title { font-family: var(--font-serif); font-weight: 500; font-size: clamp(20px, 2.2vw, 23px); margin-bottom: 16px; }
.area__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px;
  font-weight: 600; font-size: 14px; color: var(--navy);
}
.area__link .ico { transition: transform .25s var(--ease); }
.area__link:hover .ico { transform: translateX(4px); }

.checklist li { position: relative; padding-left: 28px; font-size: 15px; line-height: 1.55; color: var(--text); }
.checklist li + li { margin-top: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(9, 71, 128, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23094780' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.checklist small { display: block; margin-top: 2px; }
.checklist--light li { color: rgba(255, 255, 255, .88); }
.checklist--light li::before {
  background-color: rgba(255, 255, 255, .14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d2b384' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.area--feature {
  display: grid; gap: 28px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
  border-color: transparent; color: rgba(255, 255, 255, .85);
  overflow: hidden;
}
.area--feature::before {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 0 0 40px rgba(255, 255, 255, .025), 0 0 0 80px rgba(255, 255, 255, .02);
  pointer-events: none;
}
.area--feature::after { background: var(--bronze-light); }
.area--feature .area__icon { background: rgba(255, 255, 255, .1); color: var(--white); }
.area--feature .area__title { color: var(--white); }
.area--feature p { color: rgba(255, 255, 255, .82); font-size: 15.5px; }
.area--feature .btn { margin-top: 24px; }
.area--feature .checklist { align-self: center; position: relative; }

/* ---------- Sobre ---------- */
.about { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.about__photo { position: relative; margin: 0 auto; width: min(100% - 14px, 440px); }
.about__photo::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: 0;
  border: 1.5px solid var(--bronze); border-radius: calc(var(--radius) + 6px); opacity: .55;
}
.about__photo img {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%;
  border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-lg); background: #111;
}
.about__badge {
  position: absolute; z-index: 2; left: -12px; bottom: 28px;
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  font-size: 12px; line-height: 1.3; color: var(--muted); letter-spacing: .06em;
}
.about__badge svg { width: 44px; height: auto; aspect-ratio: 836 / 567; color: var(--navy); }
.about__badge strong { display: block; font-family: var(--font-serif); font-size: 17px; color: var(--navy); letter-spacing: 0; }
.about__lead { font-size: clamp(17px, 1.9vw, 19px); color: var(--ink); margin-top: 18px; line-height: 1.6; }
.about__subtitle {
  margin: 30px 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
}
.checklist--cols { display: grid; gap: 12px 28px; }
.checklist--cols li + li { margin-top: 0; }
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 34px; }

/* ---------- Como funciona ---------- */
.section--dark {
  position: relative; isolation: isolate; color: rgba(255, 255, 255, .8);
  background-color: var(--navy-950);
  background-image: url("../img/fundo-escritorio.jpg");
  background-image: image-set(url("../img/fundo-escritorio.webp") type("image/webp"), url("../img/fundo-escritorio.jpg") type("image/jpeg"));
  background-size: cover; background-position: center;
}
.section--dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(160deg, rgba(9, 71, 128, .92) 0%, rgba(3, 26, 49, .95) 100%);
}
.steps { display: grid; gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: clamp(26px, 3vw, 36px);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: background-color .3s, transform .35s var(--ease);
}
.step:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.step__num {
  display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px;
  border-radius: 50%; border: 1.5px solid var(--bronze-light);
  font-family: var(--font-serif); font-weight: 500; font-size: 18px; color: var(--bronze-light);
}
.step__title { font-family: var(--font-serif); font-weight: 500; font-size: 22px; color: var(--white); margin-bottom: 10px; }
.step p { font-size: 15px; }

/* ---------- Contato ---------- */
.contact { display: grid; gap: clamp(36px, 5vw, 64px); align-items: start; }
.section-lead--left { margin-bottom: 28px; }
.contact-list { display: grid; gap: 12px; }
.contact-item {
  display: flex; align-items: center; gap: 16px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--ink);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
a.contact-item:hover { border-color: rgba(9, 71, 128, .35); box-shadow: var(--shadow-sm); transform: translateX(3px); color: var(--ink); }
.contact-item__icon {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: rgba(9, 71, 128, .08); color: var(--navy);
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item__icon--wa { background: rgba(37, 211, 102, .14); color: #128c4a; }
.contact-item__label { display: block; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-item__value { display: block; font-weight: 500; font-size: 15.5px; word-break: break-word; }

.form {
  padding: clamp(22px, 4vw, 40px);
  background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow);
}
.form__row { display: grid; gap: 0 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 500; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 15px;
  font: 400 16px/1.5 var(--font-sans); color: var(--ink);
  background: var(--soft); border: 1.5px solid transparent; border-radius: var(--radius-sm);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23094780' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa3b0; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white); border-color: var(--navy); box-shadow: 0 0 0 4px rgba(9, 71, 128, .12);
}
.field.has-error input, .field.has-error textarea { border-color: var(--danger); background: #fff6f5; }
.field__error { display: block; margin-top: 6px; font-size: 13px; color: var(--danger); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form__status { margin: 14px 0 0; font-size: 14.5px; font-weight: 500; min-height: 0; }
.form__status:empty { display: none; }
.form__status.is-error { color: var(--danger); }
.form__note { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }

.form-success { text-align: center; padding: 24px 8px; }
.form-success__icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: rgba(6, 118, 71, .1); color: var(--success);
}
.form-success__icon svg { width: 30px; height: 30px; }
.form-success h3 { font-family: var(--font-serif); font-weight: 500; font-size: 24px; margin-bottom: 8px; }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .7); font-size: 14.5px; }
.footer__grid { display: grid; gap: 36px; padding-block: 56px 40px; }
.footer__brand p { margin-top: 16px; }
.footer h3 { margin-bottom: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze-light); }
.footer ul li + li { margin-top: 8px; }
.footer a { color: rgba(255, 255, 255, .8); transition: color .2s; }
.footer a:hover { color: var(--white); }
.social--footer { margin-top: 18px; gap: 10px; }
.social--footer li + li { margin-top: 0 !important; }
.social--footer a { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .18); }
.social--footer a:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px; font-size: 13px; color: rgba(255, 255, 255, .55); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: flex; align-items: center; gap: 10px;
  height: 58px; min-width: 58px; padding: 0 16px;
  background: var(--wa); color: var(--white); border-radius: 999px;
  box-shadow: 0 10px 28px -8px rgba(18, 140, 74, .6);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--wa); z-index: -1;
  animation: wa-pulse 2.6s ease-out infinite;
}
.wa-float:hover { color: var(--white); transform: translateY(-3px) scale(1.03); }
.wa-float svg { width: 27px; height: 27px; flex: none; }
.wa-float__label { display: none; font-weight: 600; font-size: 14.5px; white-space: nowrap; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 560px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .checklist--cols { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .highlights__grid { grid-template-columns: repeat(3, 1fr); }
  .highlight:last-child:nth-child(odd) { grid-column: auto; }
  .highlight { padding: 28px 16px; }
  .areas { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .areas > .area:nth-child(3):not(.area--feature) { grid-column: 1 / -1; }
  .area--feature { grid-column: 1 / -1; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .wa-float__label { display: inline; }
  .wa-float { padding: 0 22px 0 18px; right: 24px; bottom: 24px; }
  .hero::before {
    background: linear-gradient(90deg, rgba(236, 238, 241, .95) 0%, rgba(236, 238, 241, .8) 38%, rgba(236, 238, 241, .15) 62%, rgba(236, 238, 241, 0) 75%);
  }
  .hero { background-position: right center; }
}

@media (min-width: 768px) {
  .topbar { display: block; }
}

@media (min-width: 720px) and (max-width: 959px) {
  .hero::before {
    background: linear-gradient(90deg, rgba(236, 238, 241, .96) 0%, rgba(236, 238, 241, .88) 55%, rgba(236, 238, 241, .35) 100%);
  }
}

@media (min-width: 960px) {
  .areas { grid-template-columns: repeat(3, 1fr); }
  .areas > .area:nth-child(3):not(.area--feature) { grid-column: auto; }

  .about { grid-template-columns: 440px 1fr; }
  .about__photo { margin: 0; width: 100%; }
  .contact { grid-template-columns: 5fr 7fr; }
  .contact__info { position: sticky; top: calc(var(--header-h) + 32px); }
  .hero { padding-block: 72px 128px; }
}

@media (min-width: 1100px) {
  :root { --header-h: 84px; }
  .nav-toggle { display: none; }
  .nav {
    position: static; display: flex; align-items: center; gap: 28px;
    padding: 0; background: none; border: 0; box-shadow: none;
    visibility: visible; opacity: 1; transform: none; transition: none;
  }
  .nav__list { display: flex; gap: 30px; }
  .nav__list li + li { border: 0; }
  .nav__link { position: relative; padding: 8px 0; font-size: 15px; }
  .nav__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--navy);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
  .nav__cta { width: auto; margin: 0; }
  .brand__mark { width: 60px; }
  .brand__name { font-size: 22px; }
  .nav__link { white-space: nowrap; }
}

@media (min-width: 1100px) and (max-width: 1279px) {
  .brand__tag { display: none; }
  .nav { gap: 22px; }
  .nav__list { gap: 22px; }
}

@media (min-width: 1200px) {
  .hero::before {
    background: linear-gradient(90deg, rgba(236, 238, 241, .92) 0%, rgba(236, 238, 241, .6) 34%, rgba(236, 238, 241, 0) 55%);
  }
}

/* Telas grandes: não ampliar demais a foto do banner (mantém nitidez) */
@media (min-width: 1500px) {
  .hero {
    background-image: url("../img/hero-justica.jpg"), linear-gradient(180deg, #d0d0d2, #c4c4c6);
    background-image: image-set(url("../img/hero-justica.webp") type("image/webp"), url("../img/hero-justica.jpg") type("image/jpeg")), linear-gradient(180deg, #d0d0d2, #c4c4c6);
    background-size: auto 100%, cover;
    background-position: right center, center;
    background-repeat: no-repeat;
  }
}

/* Telas muito estreitas */
@media (max-width: 380px) {
  .brand__tag { display: none; }
  .hero__actions .btn { width: 100%; }
  .about__badge { left: 8px; }
}

/* Acessibilidade: menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Impressão */
@media print {
  .topbar, .header, .wa-float, .hero__actions, .form { display: none !important; }
  .hero { min-height: 0; background: none; padding: 24px 0; }
  .section--dark { background: none; color: #000; }
}
