/* ==========================================================
   Leonardo Amaral Advogados & Associados — estilo do site
   ========================================================== */

:root {
  --bg: #0a0c10;
  --bg-2: #0f131a;
  --card: #141922;
  --card-2: #1a202b;
  --line: #262c37;
  --line-soft: #1b2029;
  --text: #ebe7de;
  --text-2: #b8b9bd;
  --muted: #8a8e97;
  --gold: #c8a344;
  --gold-2: #e8cd83;
  --gold-soft: rgba(200, 163, 68, 0.12);
  --navy: #13202d;
  --green: #25d366;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }

html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
svg { flex-shrink: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--text);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 16px;
}
h1 { font-size: clamp(38px, 5.6vw, 66px); }
h2 { font-size: clamp(30px, 3.8vw, 46px); }
h3 { font-size: 25px; }
p { margin: 0 0 16px; }
strong { color: var(--text); font-weight: 600; }

.dourado { color: var(--gold); }
.dourado-grad {
  background: linear-gradient(100deg, #b98a2e 0%, #f3dc98 45%, #c8a344 70%, #9b6b25 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.secao { padding: 110px 0; position: relative; }
.secao-alt { background: var(--bg-2); }

.rotulo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.rotulo::before { content: ""; width: 34px; height: 1px; background: var(--gold); }

.cabecalho-secao { max-width: 680px; margin-bottom: 56px; }
.cabecalho-secao.centro { text-align: center; margin-inline: auto; }
.cabecalho-secao.centro .rotulo::after { content: ""; width: 34px; height: 1px; background: var(--gold); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 50px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-3px); }

.btn-ouro {
  background: linear-gradient(120deg, #b4892f, #e3c57a 50%, #c8a344);
  background-size: 200% 100%;
  color: #17130a;
  box-shadow: 0 10px 28px rgba(200, 163, 68, 0.28);
}
.btn-ouro:hover { background-position: 100% 0; box-shadow: 0 14px 34px rgba(200, 163, 68, 0.42); }

.btn-contorno { border-color: rgba(200, 163, 68, 0.55); color: var(--text); }
.btn-contorno:hover { background: var(--gold-soft); border-color: var(--gold); }

.btn-whats { background: var(--green); color: #06260f; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.25); }
.btn-whats:hover { box-shadow: 0 14px 34px rgba(37, 211, 102, 0.4); }

.btn-grande { padding: 19px 36px; font-size: 15px; }

/* ---------- Cabeçalho ---------- */
.topo {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s, border-color 0.4s, height 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.topo.rolado {
  --header-h: 66px;
  background: rgba(10, 12, 16, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line-soft);
}
.topo .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topo .logo img { height: 40px; width: auto; transition: height 0.4s var(--ease); }
.topo.rolado .logo img { height: 34px; }

.menu { display: flex; align-items: center; gap: 34px; }
.menu > a, .menu .sub > button {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  background: none;
  border: 0;
  padding: 8px 0;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s;
}
.menu > a::after, .menu .sub > button::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.menu > a:hover, .menu .sub:hover > button, .menu > a.ativo { color: var(--text); }
.menu > a:hover::after, .menu .sub:hover > button::after, .menu > a.ativo::after { transform: scaleX(1); transform-origin: left; }
.menu .sub > button svg { width: 12px; height: 12px; transition: transform 0.3s; }
.menu .sub:hover > button svg { transform: rotate(180deg); }

.sub { position: relative; }
.sub-lista {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 250px;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.3s, transform 0.35s var(--ease), visibility 0.3s;
}
.sub-lista::before { content: ""; position: absolute; inset: -16px 0 auto 0; height: 16px; }
.sub:hover .sub-lista, .sub:focus-within .sub-lista { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub-lista a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-2);
  transition: background 0.25s, color 0.25s, padding 0.3s var(--ease);
}
.sub-lista a:hover { background: var(--gold-soft); color: var(--gold-2); padding-left: 20px; }

.topo .btn { padding: 12px 22px; font-size: 13px; }

.hamburguer {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.hamburguer span, .hamburguer span::before, .hamburguer span::after {
  display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px;
  position: relative; transition: transform 0.35s var(--ease), background 0.2s;
}
.hamburguer span::before, .hamburguer span::after { content: ""; position: absolute; left: 0; }
.hamburguer span::before { top: -6px; }
.hamburguer span::after { top: 6px; }
.menu-aberto .hamburguer span { background: transparent; }
.menu-aberto .hamburguer span::before { transform: translateY(6px) rotate(45deg); }
.menu-aberto .hamburguer span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (início) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 78% 45%, rgba(200, 163, 68, 0.13), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgba(19, 32, 45, 0.9), transparent 70%);
  pointer-events: none;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; position: relative; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { font-size: 18px; max-width: 540px; margin-bottom: 38px; }
.hero .acoes { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-foto { position: relative; justify-self: end; width: 100%; max-width: 560px; }
.hero-foto img {
  width: 100%;
  -webkit-mask-image: radial-gradient(farthest-side at 50% 46%, #000 48%, transparent 100%);
  mask-image: radial-gradient(farthest-side at 50% 46%, #000 48%, transparent 100%);
}
.hero-foto .anel {
  position: absolute;
  inset: 6% 8% 14%;
  border: 1px solid rgba(200, 163, 68, 0.3);
  border-radius: 50%;
  animation: girar 30s linear infinite;
}
.hero-foto .anel::before {
  content: ""; position: absolute; top: 12%; left: 8%;
  width: 9px; height: 9px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 18px var(--gold);
}
.selo {
  position: absolute;
  left: -10px;
  bottom: 14%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: rgba(20, 25, 34, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  animation: flutuar 6s ease-in-out infinite;
}
.selo b { font-family: var(--serif); font-size: 34px; color: var(--gold-2); line-height: 1; }
.selo span { font-size: 12px; line-height: 1.4; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.08em; }

.rolar {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1px solid rgba(235, 231, 222, 0.3);
  border-radius: 20px;
}
.rolar::after {
  content: ""; position: absolute; left: 50%; top: 8px;
  width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold);
  animation: rolar 2s var(--ease) infinite;
}

@keyframes girar { to { transform: rotate(360deg); } }
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes rolar { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Faixa de números ---------- */
.numeros {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line-soft);
  background: var(--bg-2);
}
.numero { padding: 44px 20px; text-align: center; position: relative; }
.numero + .numero::before { content: ""; position: absolute; left: 0; top: 30%; bottom: 30%; width: 1px; background: var(--line); }
.numero b { display: block; font-family: var(--serif); font-size: clamp(42px, 5vw, 60px); font-weight: 600; line-height: 1; margin-bottom: 10px; }
.numero span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Sobre ---------- */
.sobre { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 80px; align-items: center; }
.sobre-foto { position: relative; }
.sobre-foto img { border-radius: var(--radius); box-shadow: var(--shadow); }
.sobre-foto::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid rgba(200, 163, 68, 0.4);
  border-radius: var(--radius);
  z-index: -1;
}
.diferenciais { list-style: none; padding: 0; margin: 30px 0 36px; display: grid; gap: 14px; }
.diferenciais li { display: flex; gap: 14px; align-items: flex-start; }
.diferenciais svg { width: 22px; height: 22px; color: var(--gold); margin-top: 3px; }

/* ---------- Cards de áreas ---------- */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.area {
  position: relative;
  padding: 40px 34px 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease);
}
.area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(200, 163, 68, 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.area:hover { transform: translateY(-8px); border-color: rgba(200, 163, 68, 0.5); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); }
.area:hover::before { opacity: 1; }
.area img { width: 74px; height: 74px; margin-bottom: 26px; transition: transform 0.6s var(--ease); }
.area:hover img { transform: scale(1.08) rotate(-4deg); }
.area p { font-size: 15px; flex: 1; }
.area .link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold);
}
.area .link svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.area:hover .link svg { transform: translateX(6px); }

/* ---------- Depoimentos ---------- */
.depoimentos { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.trilho { display: flex; gap: 22px; width: max-content; animation: deslizar 55s linear infinite; }
.depoimentos:hover .trilho { animation-play-state: paused; }
.depoimento {
  width: 360px;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.estrelas { display: flex; gap: 3px; color: var(--gold); margin-bottom: 16px; }
.estrelas svg { width: 17px; height: 17px; }
.depoimento p { font-size: 15px; flex: 1; }
.autor { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.autor .inicial {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold-2);
  font-family: var(--serif); font-size: 20px; font-weight: 600;
}
.autor b { display: block; color: var(--text); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.autor small { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.autor small svg { width: 13px; height: 13px; }
@keyframes deslizar { to { transform: translateX(calc(-50% - 11px)); } }

/* ---------- Contato ---------- */
.contato { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.canais { display: grid; gap: 14px; margin: 30px 0; }
.canal {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
a.canal:hover { border-color: rgba(200, 163, 68, 0.5); transform: translateX(6px); }
.canal .ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold);
}
.canal .ico svg { width: 21px; height: 21px; }
.canal small { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.canal span { color: var(--text); font-size: 15px; word-break: break-word; }

.formulario {
  padding: 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.formulario h3 { margin-bottom: 6px; }
.formulario > p { font-size: 14px; margin-bottom: 26px; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campo { display: flex; flex-direction: column; gap: 8px; }
.campo.inteiro { grid-column: 1 / -1; }
.campo label { font-size: 13px; color: var(--text-2); }
.campo input, .campo select, .campo textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.campo select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8a344' stroke-width='2'%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;
  padding-right: 42px;
}
.campo textarea { min-height: 120px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200, 163, 68, 0.12); }
.campo .erro { font-size: 12px; color: #e5484d; display: none; }
.campo.invalido input, .campo.invalido select, .campo.invalido textarea { border-color: #e5484d; }
.campo.invalido .erro { display: block; }
.formulario .btn { width: 100%; margin-top: 24px; }
.formulario .aviso { font-size: 12px; color: var(--muted); text-align: center; margin: 14px 0 0; }

.mapa { margin-top: 60px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 340px; }
.mapa iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(0.9) hue-rotate(180deg); }

/* ---------- Páginas de área ---------- */
.pagina-hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 100px;
  overflow: hidden;
}
.pagina-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(55% 70% at 85% 40%, rgba(200, 163, 68, 0.14), transparent 70%),
    linear-gradient(180deg, var(--navy) 0%, var(--bg) 100%);
  pointer-events: none;
}
.pagina-hero .container { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.pagina-hero h1 { font-size: clamp(34px, 4.6vw, 56px); }
.pagina-hero .lead { font-size: 18px; max-width: 580px; margin-bottom: 34px; }
.pagina-hero .emblema { justify-self: center; width: min(320px, 80%); opacity: 0.95; animation: flutuar 7s ease-in-out infinite; }

.itens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.item {
  padding: 32px 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.item:hover { transform: translateY(-6px); border-color: rgba(200, 163, 68, 0.45); }
.item .ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--gold-soft); color: var(--gold);
  margin-bottom: 20px;
}
.item .ico svg { width: 24px; height: 24px; }
.item h3 { font-size: 22px; margin-bottom: 10px; }
.item p { font-size: 15px; margin: 0 0 10px; }
.item p:last-child { margin-bottom: 0; }

.passos { display: grid; gap: 18px; counter-reset: passo; }
.passo {
  display: grid; grid-template-columns: 60px 1fr; gap: 20px; align-items: start;
  padding: 26px 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.passo::before {
  counter-increment: passo;
  content: counter(passo, decimal-leading-zero);
  font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold);
}
.passo h3 { font-size: 21px; margin-bottom: 6px; }
.passo p { margin: 0; font-size: 15px; }

.lista-check { list-style: none; padding: 0; margin: 20px 0 30px; display: grid; gap: 12px; }
.lista-check li { display: flex; gap: 12px; align-items: flex-start; }
.lista-check svg { width: 20px; height: 20px; color: var(--gold); margin-top: 4px; }

.duas-colunas { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.painel {
  padding: 40px;
  background: linear-gradient(160deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.painel h3 { font-size: 26px; }

.destaque {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.45;
  color: var(--text);
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  margin: 26px 0;
}

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.3s, background 0.3s;
}
.faq details[open] { border-color: rgba(200, 163, 68, 0.45); background: var(--card-2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .mais { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq summary .mais::before, .faq summary .mais::after {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 2px; background: var(--gold);
  transition: transform 0.4s var(--ease);
}
.faq summary .mais::after { transform: rotate(90deg); }
.faq details[open] summary .mais::after { transform: rotate(0); }
.faq .resposta { overflow: hidden; height: 0; transition: height 0.45s var(--ease); }
.faq details[open] .resposta { height: auto; }
.faq .resposta p { padding: 0 26px 22px; margin: 0; font-size: 15px; }

/* ---------- Faixa CTA ---------- */
.cta {
  position: relative;
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #16222f 0%, #0d141c 100%);
  border-block: 1px solid var(--line-soft);
}
.cta::before {
  content: "";
  position: absolute;
  width: 700px; height: 700px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200, 163, 68, 0.16), transparent 65%);
  pointer-events: none;
}
.cta .container { position: relative; }
.cta h2 { max-width: 760px; margin-inline: auto; }
.cta p { max-width: 600px; margin: 0 auto 34px; font-size: 17px; }

/* ---------- Rodapé ---------- */
.rodape { padding: 80px 0 30px; background: #07090c; border-top: 1px solid var(--line-soft); font-size: 14px; }
.rodape-grade { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 50px; margin-bottom: 60px; }
.rodape .logo img { height: 38px; width: auto; margin-bottom: 22px; }
.rodape h4 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); margin-bottom: 20px; }
.rodape ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.rodape ul a { transition: color 0.3s, padding 0.3s var(--ease); }
.rodape ul a:hover { color: var(--gold-2); padding-left: 6px; }
.rodape .contatos li { display: flex; gap: 10px; align-items: flex-start; }
.rodape .contatos svg { width: 16px; height: 16px; color: var(--gold); margin-top: 4px; }
.redes { display: flex; gap: 10px; margin-top: 20px; }
.redes a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--text-2);
  transition: border-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.redes a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.redes svg { width: 18px; height: 18px; }
.rodape-base { border-top: 1px solid var(--line-soft); padding-top: 26px; text-align: center; font-size: 12px; color: var(--muted); line-height: 1.8; }
.rodape-base p { margin: 0 0 6px; }

/* ---------- WhatsApp flutuante ---------- */
.whats-flutuante {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.4s var(--ease);
}
.whats-flutuante:hover { transform: scale(1.08); }
.whats-flutuante svg { width: 30px; height: 30px; position: relative; }
.whats-flutuante::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--green);
  animation: pulsar 2.4s ease-out infinite;
}
@keyframes pulsar { 0% { transform: scale(1); opacity: 0.55; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Animações de entrada ---------- */
.revelar { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--atraso, 0s); }
.revelar.esq { transform: translateX(-40px); }
.revelar.dir { transform: translateX(40px); }
.revelar.visivel { opacity: 1; transform: none; }

.hero .entrada { opacity: 0; transform: translateY(26px); animation: entrar 1s var(--ease) forwards; animation-delay: var(--atraso, 0s); }
.hero-foto.entrada { transform: scale(0.96); }
@keyframes entrar { to { opacity: 1; transform: none; } }

/* Barra de progresso de leitura */
.progresso { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 70; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform-origin: left; transform: scaleX(0); }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .menu { gap: 24px; }
  .topo .btn { display: none; }
}

@media (max-width: 960px) {
  .secao { padding: 80px 0; }
  .hamburguer { display: inline-flex; }
  .menu {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 100px 30px 40px;
    background: rgba(10, 12, 16, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }
  .menu-aberto .menu { opacity: 1; visibility: visible; }
  .menu > a, .menu .sub > button { font-size: 16px; padding: 12px 0; }
  .sub { display: flex; flex-direction: column; align-items: center; }
  .sub-lista { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; background: transparent; border: 0; padding: 0; text-align: center; min-width: 0; }
  .sub:hover .sub-lista, .sub:focus-within .sub-lista { transform: none; }
  .sub-lista a { font-size: 15px; padding: 8px 14px; }
  .menu .sub > button svg { display: none; }
  .menu .btn-mobile { display: inline-flex; margin-top: 18px; }

  .hero .container, .pagina-hero .container, .sobre, .contato, .duas-colunas { grid-template-columns: 1fr; }
  .hero { text-align: left; }
  .hero-foto { justify-self: center; max-width: 400px; order: -1; margin-top: 10px; }
  .pagina-hero .emblema { display: none; }
  .sobre { gap: 60px; }
  .sobre-foto { max-width: 420px; }
  .areas, .itens { grid-template-columns: 1fr 1fr; }
  .rodape-grade { grid-template-columns: 1fr 1fr; }
  .rolar { display: none; }
  .revelar.esq, .revelar.dir { transform: translateY(34px); }
}

@media (min-width: 961px) { .menu .btn-mobile { display: none; } }

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 32px); }
  .secao { padding: 64px 0; }
  .hero { padding-top: calc(var(--header-h) + 10px); }
  .hero .lead, .pagina-hero .lead { font-size: 16px; }
  .hero .acoes .btn, .pagina-hero .btn { width: 100%; }
  .topo .logo img { height: 30px; }
  .topo.rolado .logo img { height: 28px; }
  .numeros { grid-template-columns: 1fr; }
  .numero { padding: 28px 20px; }
  .numero + .numero::before { left: 30%; right: 30%; top: 0; bottom: auto; width: auto; height: 1px; }
  .areas, .itens, .campos { grid-template-columns: 1fr; }
  .sobre-foto::before { inset: 14px -10px -14px 14px; }
  .depoimento { width: 290px; padding: 24px; }
  .formulario, .painel { padding: 26px 20px; }
  .passo { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .rodape-grade { grid-template-columns: 1fr; gap: 36px; }
  .selo { left: 0; padding: 10px 14px; }
  .selo b { font-size: 26px; }
  .cta { padding: 70px 0; }
  .btn-grande { padding: 17px 26px; white-space: normal; text-align: center; }
  .mapa { height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .revelar, .hero .entrada { opacity: 1; transform: none; }
}
