/* =========================================================
   Amanda Campez Belon – Advogada
   Identidade: off-white #FAF8F5 · bege #A58E7C · marrom #4A3429
   Fontes: Inter Tight (títulos) · Poppins (textos)
   ========================================================= */

:root {
  --off: #FAF8F5;
  --linho: #F3EEE8;
  --bege: #A58E7C;
  --bege-escuro: #857261;
  --bege-claro: #D9CCBF;
  --marrom: #4A3429;
  --texto: #5E4B3F;
  --linha: rgba(165, 142, 124, .32);

  --f-titulo: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-texto: "Poppins", "Helvetica Neue", Arial, sans-serif;

  --raio: 2px;
  --largura: 1120px;
  --topo-h: 72px;

  /* granulado leve (ruído em SVG) */
  --grao: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .29 0 0 0 0 .2 0 0 0 0 .16 0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--topo-h); }

body {
  margin: 0;
  background: var(--off);
  color: var(--texto);
  font-family: var(--f-texto);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* granulado sobre o site inteiro */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grao);
  opacity: .09;
  pointer-events: none;
  z-index: 100;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
strong { font-weight: 500; }

.container {
  width: 100%;
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 24px;
}
.container--estreito { max-width: 820px; }

/* ---------- Tipografia ---------- */
.rotulo {
  font-family: var(--f-titulo);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--bege);
  margin-bottom: 18px;
}

.titulo-duplo {
  font-family: var(--f-titulo);
  text-transform: uppercase;
  color: var(--bege-escuro);
  font-size: clamp(30px, 5.4vw, 54px);
  line-height: 1.12;
  letter-spacing: .02em;
  margin: 0 0 28px;
}
.titulo-duplo span { display: block; }
.titulo-duplo--h2 { font-size: clamp(26px, 4vw, 40px); }
.fino { font-weight: 300; }
.forte { font-weight: 700; }

.titulo-linha::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--bege);
  margin-top: 26px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-titulo);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--off);
  background: var(--bege);
  border: 1px solid var(--bege);
  padding: 16px 28px;
  border-radius: var(--raio);
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--bege-escuro); border-color: var(--bege-escuro); }
.btn--linha { background: transparent; color: var(--bege-escuro); }
.btn--linha:hover { background: var(--bege); color: var(--off); border-color: var(--bege); }
.btn--sm { padding: 10px 18px; font-size: 12px; }

/* ---------- Cabeçalho ---------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--topo-h);
  background: rgba(250, 248, 245, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.topo.rolou { border-bottom-color: var(--linha); }
.topo__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.marca { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.marca__mono { height: 40px; width: auto; }
.marca__nome { height: 26px; width: auto; }

.menu { display: flex; align-items: center; gap: 30px; }
.menu a:not(.btn) {
  font-family: var(--f-titulo);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--marrom);
  position: relative;
}
.menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--bege);
  transition: width .3s;
}
.menu a:not(.btn):hover::after { width: 100%; }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 7px;
}
.menu-btn span {
  display: block; width: 24px; height: 1px; background: var(--marrom);
  transition: transform .3s;
}
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Início ---------- */
.hero { padding: 72px 0 96px; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 64px;
  align-items: center;
}
.hero h1 { font-size: clamp(23px, 3.3vw, 43px); }
.hero h1 span { white-space: nowrap; }
.hero__sub { font-size: 17px; max-width: 520px; margin-bottom: 22px; }
.hero__atendimento {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-titulo); font-weight: 600; font-size: 15px;
  letter-spacing: .02em; line-height: 1.45;
  color: var(--bege-escuro);
  margin-bottom: 34px;
}
.hero__atendimento::before {
  content: ""; flex: none; width: 32px; height: 1px; background: var(--bege);
}
.hero__acoes { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__painel {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bege);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__painel::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grao); opacity: .22; mix-blend-mode: multiply;
}
.hero__painel img { width: 72%; position: relative; z-index: 1; }

/* ---------- Seções ---------- */
.secao { padding: 104px 0; }
.secao--linho { background: var(--linho); }
.secao__cabeca { margin-bottom: 56px; }
.secao__intro { color: var(--bege-escuro); font-size: 15px; margin: -4px 0 0; }

/* ---------- Sobre ---------- */
.sobre__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.foto { position: relative; margin: 0; overflow: hidden; background: var(--linho); }
.foto::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grao); opacity: .18; mix-blend-mode: multiply; pointer-events: none;
}
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto--retrato { aspect-ratio: 4 / 5; }
.foto--retrato::before {
  content: ""; position: absolute; inset: 14px; z-index: 1;
  border: 1px solid rgba(250, 248, 245, .55); pointer-events: none;
}
.foto--palestra { aspect-ratio: 4 / 3; }
.foto--palestra img { object-position: 30% 50%; }

.credenciais {
  list-style: none; margin: 72px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--linha); border-bottom: 1px solid var(--linha);
}
.credenciais li {
  display: flex; flex-direction: column; gap: 2px;
  padding: 22px 20px 22px 0;
}
.credenciais li + li { padding-left: 20px; border-left: 1px solid var(--linha); }
.credenciais strong {
  font-family: var(--f-titulo); font-weight: 600; color: var(--marrom);
  font-size: 15px; letter-spacing: .02em;
}
.credenciais span { font-size: 13.5px; line-height: 1.55; color: var(--bege-escuro); }

.palestras {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
  margin-top: 96px;
}
.destaque--menor { font-size: clamp(19px, 2.1vw, 22px); margin-bottom: 20px; }

.destaque {
  font-family: var(--f-titulo);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.4vw, 25px);
  line-height: 1.5;
  color: var(--bege-escuro);
  margin-bottom: 32px;
}

/* ---------- Áreas ---------- */
.areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--linha);
  border-left: 1px solid var(--linha);
}
.area {
  background: var(--off);
  border-right: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
}
.area__topo {
  all: unset;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  width: 100%;
  padding: 32px 28px;
  cursor: pointer;
  transition: background .25s;
}
.area__topo:hover { background: #fff; }
.area__topo:focus-visible { outline: 1px solid var(--bege); outline-offset: -6px; }
.area__nome {
  font-family: var(--f-titulo);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--marrom);
}
.area__resumo { grid-column: 1 / 2; font-size: 14.5px; line-height: 1.65; color: var(--texto); }
.area__mais {
  grid-column: 2; grid-row: 1;
  position: relative; width: 14px; height: 14px; margin-top: 4px;
}
.area__mais::before, .area__mais::after {
  content: ""; position: absolute; background: var(--bege);
  left: 0; top: 6.5px; width: 14px; height: 1px;
  transition: transform .3s;
}
.area__mais::after { transform: rotate(90deg); }
.area.aberta .area__mais::after { transform: rotate(0); }

.area__detalhe {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.area.aberta .area__detalhe { grid-template-rows: 1fr; }
.area__detalhe ul {
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0 28px;
  font-size: 14px;
}
.area.aberta .area__detalhe ul { padding-bottom: 28px; }
.area__detalhe li {
  padding: 8px 0 8px 18px;
  border-top: 1px solid var(--linha);
  position: relative;
}
.area__detalhe li::before {
  content: ""; position: absolute; left: 0; top: 19px;
  width: 8px; height: 1px; background: var(--bege);
}

/* ---------- Frase ---------- */
.frase {
  position: relative;
  background: var(--bege);
  padding: 96px 0;
  text-align: center;
  overflow: hidden;
}
.frase::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grao); opacity: .22; mix-blend-mode: multiply; pointer-events: none;
}
.frase__inner { position: relative; z-index: 1; }
.frase__mono { width: 54px; margin: 0 auto 34px; opacity: .95; }
.frase blockquote {
  margin: 0;
  font-family: var(--f-titulo);
  text-transform: uppercase;
  color: var(--off);
  font-size: clamp(22px, 3.6vw, 38px);
  line-height: 1.3;
  letter-spacing: .03em;
}
.frase blockquote span { display: block; }

/* ---------- Etapas ---------- */
.etapas {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
}
.etapa { border-top: 1px solid var(--bege); padding-top: 24px; }
.etapa__num {
  font-family: var(--f-titulo); font-weight: 300; font-size: 14px;
  letter-spacing: .2em; color: var(--bege);
}
.etapa h3 {
  font-family: var(--f-titulo); font-weight: 600; font-size: 16px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--marrom);
  margin: 10px 0 12px;
}
.etapa p { font-size: 14.5px; margin: 0; }

/* ---------- Dúvidas ---------- */
.faq details { border-top: 1px solid var(--linha); }
.faq details:last-child { border-bottom: 1px solid var(--linha); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 40px 24px 0;
  position: relative;
  font-family: var(--f-titulo);
  font-weight: 400;
  font-size: 18px;
  color: var(--marrom);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 14px; height: 1px; background: var(--bege);
  transition: transform .3s;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding: 0 40px 20px 0; font-size: 15px; margin: 0; }

/* ---------- Contato ---------- */
.contato { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contato__texto p { max-width: 420px; margin-bottom: 32px; }
.contato__lista { list-style: none; margin: 0; padding: 0; }
.contato__lista li {
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 0;
  border-top: 1px solid var(--linha);
}
.contato__lista li:last-child { border-bottom: 1px solid var(--linha); }
.contato__rotulo {
  font-family: var(--f-titulo); font-size: 12px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--bege);
}
.contato__lista a {
  font-family: var(--f-titulo); font-size: 18px; color: var(--marrom);
  text-decoration: none; line-height: 1.5;
}
.contato__lista a:hover { color: var(--bege-escuro); }
.contato__lista small { font-size: 12px; color: var(--bege-escuro); }

/* ---------- Rodapé ---------- */
.rodape {
  position: relative;
  background: var(--bege);
  color: var(--off);
  text-align: center;
  padding: 72px 0 40px;
  overflow: hidden;
}
.rodape::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grao); opacity: .22; mix-blend-mode: multiply; pointer-events: none;
}
.rodape__inner { position: relative; z-index: 1; }
.rodape__logo { width: 260px; margin: 0 auto 26px; }
.rodape__slogan {
  font-family: var(--f-titulo); font-style: italic; font-weight: 300; font-size: 17px;
  margin-bottom: 28px;
}
.rodape__info { font-size: 13px; letter-spacing: .04em; margin-bottom: 8px; }
.rodape__aviso { font-size: 11.5px; opacity: .85; max-width: 560px; margin: 0 auto 8px; line-height: 1.6; }
.rodape__copy { font-size: 11.5px; opacity: .85; margin: 0; }

/* ---------- WhatsApp ---------- */
:root { --verde: #25D366; --verde-escuro: #1DA851; }

.btn--whats {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--verde); border-color: var(--verde); color: #fff;
}
.btn--whats:hover { background: var(--verde-escuro); border-color: var(--verde-escuro); }
.btn--whats svg { width: 20px; height: 20px; flex: none; }

.whats {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 22px 10px 10px;
  border-radius: 999px;
  background: var(--verde);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(18, 140, 76, .38), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .25s, background .25s, box-shadow .25s;
  animation: whats-entrada .6s 1s both;
}
.whats:hover { transform: translateY(-3px); background: var(--verde-escuro); box-shadow: 0 14px 32px rgba(18, 140, 76, .45); }
.whats__icone {
  position: relative;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: flex; align-items: center; justify-content: center;
}
.whats__icone::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid var(--verde);
  animation: whats-pulso 2.4s ease-out infinite;
}
.whats__icone svg { width: 28px; height: 28px; }
.whats__texto {
  display: flex; flex-direction: column; line-height: 1.15;
  font-family: var(--f-titulo); font-weight: 700; font-size: 17px; letter-spacing: .01em;
}
.whats__texto small { font-weight: 400; font-size: 12px; letter-spacing: .04em; opacity: .95; }

@keyframes whats-pulso {
  0%   { transform: scale(.75); opacity: .9; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@keyframes whats-entrada {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .whats { animation: none; }
  .whats__icone::before { animation: none; display: none; }
}

/* ---------- Animação de entrada ---------- */
.js .revelar { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .revelar.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .revelar { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 980px) {
  .areas { grid-template-columns: repeat(2, 1fr); }
  .etapas { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --topo-h: 64px; }
  .marca__mono { height: 34px; }
  .marca__nome { height: 22px; }

  .menu-btn { display: flex; }
  .menu {
    position: fixed;
    top: var(--topo-h); left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--off);
    padding: 8px 24px 28px;
    border-bottom: 1px solid var(--linha);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .menu.aberto { opacity: 1; visibility: visible; transform: none; }
  .menu a:not(.btn) { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--linha); }
  .menu a:not(.btn)::after { display: none; }
  .menu .btn { margin-top: 22px; }

  .hero { padding: 40px 0 72px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: clamp(22px, 6.3vw, 46px); }
  .frase blockquote { font-size: clamp(15px, 4.4vw, 30px); }
  .frase blockquote span { white-space: nowrap; }
  .hero__painel { aspect-ratio: 16 / 11; }
  .hero__painel img { width: 64%; }

  .secao { padding: 80px 0; }
  .sobre__grid, .contato, .palestras { grid-template-columns: 1fr; gap: 40px; }
  .foto--retrato { max-width: 440px; }
  .credenciais { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .credenciais li, .credenciais li + li { padding: 18px 16px 18px 0; border-left: 0; }
  .credenciais li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--linha); }
  .credenciais li:nth-child(n+3) { border-top: 1px solid var(--linha); }
  .palestras { margin-top: 72px; }
  .palestras .foto { order: -1; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .marca__nome { height: 19px; }
  .areas { grid-template-columns: 1fr; }
  .area__topo { padding: 26px 22px; }
  .area__detalhe ul { padding: 0 22px; }
  .etapas { grid-template-columns: 1fr; gap: 32px; }
  .hero__acoes .btn { flex: 1 1 100%; text-align: center; }
  .contato .btn { display: block; text-align: center; }
  .rodape__logo { width: 220px; }
  .rodape { padding-bottom: 110px; }
  .whats { right: 14px; bottom: 14px; padding: 8px 18px 8px 8px; gap: 10px; }
  .whats__icone { width: 42px; height: 42px; }
  .whats__texto { font-size: 16px; }
}
