@font-face {
  font-family: Rubik;
  src: url("assets/fontes/Rubik.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fontes/Instrument-Sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --preto: #080808;
  --preto-secundario: #101010;
  --branco: #f4f0e8;
  --texto-suave: #c6c0b7;
  --dourado: #dfbe83;
  --linha: #3a352e;
  --titulo: "Instrument Sans", Arial, sans-serif;
  --texto: Rubik, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; color: var(--texto-suave); background: var(--preto); font: 1rem/1.65 var(--texto); }
figure, dl { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .26em; }
a:hover { color: var(--dourado); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--dourado); outline-offset: 5px; }
h1, h2 { font-family: var(--titulo); font-weight: 550; line-height: 1.04; letter-spacing: -.046em; margin: 0; color: var(--branco); }
h2 { font-size: clamp(2.55rem, 4.5vw, 4.4rem); }
p { margin: 0 0 1rem; }
.limite { width: min(100% - 7.5rem, 1280px); margin-inline: auto; }
.salto { position: absolute; left: 1rem; top: 1rem; z-index: 2; padding: .5rem 1rem; background: var(--branco); color: var(--preto); transform: translateY(-200%); }
.salto:focus { transform: none; }

.navegacao { min-height: 91px; display: flex; align-items: center; justify-content: space-between; gap: 1rem 2.5rem; border-bottom: 1px solid var(--linha); }
.marca img { width: 151px; height: auto; filter: invert(94%) sepia(9%) saturate(301%); }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0 2.15rem; color: var(--branco); }
nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-size: .9rem; }
nav a:hover { color: var(--dourado); }
.nav-contato { color: var(--dourado); }
.menu-toggle { display: none; }

.abertura { --progresso: 0; }
.abertura-grid { display: grid; grid-template-columns: 1fr 1.04fr; align-items: center; gap: 3rem; padding: clamp(1.75rem, 4.25vh, 3.5rem) 0 clamp(2.65rem, 7vh, 5rem); }
.abertura-texto { min-width: 0; }
.abertura h1 { font-size: clamp(3.2rem, 7.65vw, 7.35rem); line-height: .94; letter-spacing: -.062em; }
.abertura h1 span { display: block; color: var(--dourado); }
.intro { max-width: 40ch; margin: clamp(1.55rem, 4vh, 2.55rem) 0 1rem; color: var(--branco); font-size: clamp(1.02rem, 1.34vw, 1.2rem); }
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 44px;
  max-width: 100%;
  padding: .55rem .9rem;
  border: 1px solid var(--dourado);
  border-radius: 4px;
  color: var(--dourado);
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.botao:hover { color: var(--preto); background: var(--dourado); }
.botao-principal { background: var(--dourado); color: var(--preto); }
.botao-principal:hover { background: var(--branco); border-color: var(--branco); }
nav .botao:hover { color: var(--preto); }
.botao span { flex: none; font-size: 1.12em; }
.abertura-foto { min-width: 0; align-self: end; transform-origin: top right; }
.abertura-foto img { display: block; width: 100%; height: clamp(395px, 65svh, 710px); object-fit: cover; object-position: 51% 49%; }
.abertura-foto figcaption { display: flex; justify-content: space-between; gap: .3rem 1rem; padding-top: .55rem; font-size: .8rem; }
.abertura-foto figcaption span:first-child { color: var(--branco); }
@media (prefers-reduced-motion: no-preference) {
  .com-movimento .abertura-foto { transform: translateY(calc(22px * var(--progresso))) scale(calc(1 - .24 * var(--progresso))); }
}

.secao { padding-block: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--linha); }
.escritorio-texto { max-width: 615px; }
.escritorio-local { margin-top: .9rem; color: var(--dourado); }
.escritorio-fotos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.5rem, 2vw, 1.5rem);
  margin-top: clamp(1.65rem, 4vw, 3rem);
}
.escritorio-fotos img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.sobre-mim { display: grid; grid-template-columns: .58fr 1fr; gap: clamp(2.5rem, 9vw, 9rem); align-items: center; }
.sobre-mim > div { max-width: 540px; }
.foto-perfil { aspect-ratio: 1.3; width: 100%; height: auto; object-fit: cover; object-position: 50% 24%; }
.rotulo { color: var(--dourado); font-size: .87rem; margin-bottom: .8rem; }
.registro { color: var(--dourado); margin-top: 1.05rem; }
.atuacao-fundo, .contato-fundo { background: var(--preto-secundario); }
.perguntas, .contato { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(2.5rem, 8vw, 7.5rem); }
.atuacao h2, .contato h2 { color: var(--dourado); }
.areas-grade {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, 1.55vw, 1.3rem);
  width: min(100%, 960px);
  margin: clamp(1.65rem, 4vw, 3rem) auto 0;
  padding: 0;
  list-style: none;
}
.area-botao {
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1;
  padding: clamp(.7rem, 2vw, 1.4rem);
  border: 1px solid var(--linha);
  border-radius: 4px;
  overflow: hidden;
  background: var(--preto);
  color: var(--branco);
  font: 600 clamp(1.02rem, 2.05vw, 1.65rem)/1.1 var(--titulo);
  text-align: left;
  cursor: pointer;
}
.area-botao img, .area-botao::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.area-botao img { object-fit: cover; z-index: -2; }
.area-botao::after { content: ""; z-index: -1; background: linear-gradient(180deg, transparent 26%, rgb(8 8 8 / .94) 100%); }
.area-botao:hover, .area-botao:focus-visible { border-color: var(--dourado); }
.area-botao:hover span { color: var(--dourado); }
html:has(.area-dialogo[open]) { overflow: hidden; }
.area-dialogo {
  position: fixed;
  width: min(calc(100% - 2rem), 560px);
  max-height: min(82vh, calc(100dvh - 2rem));
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgb(223 190 131 / .55);
  border-radius: 16px;
  background: #1a1916;
  box-shadow: 0 18px 72px rgb(0 0 0 / .55);
  color: var(--branco);
}
.area-dialogo::backdrop { background: rgb(0 0 0 / .61); }
@supports (backdrop-filter: blur(1px)) {
  .area-dialogo { background: rgb(26 25 22 / .82); backdrop-filter: blur(18px) saturate(120%); }
}
.area-cabecalho {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .9rem clamp(1rem, 4vw, 1.7rem);
  border-bottom: 1px solid var(--linha);
  background: rgb(22 21 18 / .96);
}
.area-cabecalho h3 { margin: 0; color: var(--dourado); font: 550 clamp(1.35rem, 4vw, 2rem)/1.1 var(--titulo); }
.area-cabecalho form { flex: none; margin: 0; }
.area-fechar { width: 44px; height: 44px; border: 1px solid var(--linha); border-radius: 50%; background: transparent; color: var(--branco); font: 1.6rem/1 var(--texto); cursor: pointer; }
.area-fechar:hover { border-color: var(--dourado); color: var(--dourado); }
.area-conteudo { padding: 1.15rem clamp(1rem, 4vw, 1.7rem) 1.5rem; }
.area-conteudo ul { margin: 0; padding-left: 1.2em; }
.area-conteudo li + li { margin-top: .55rem; }
.area-conteudo li::marker { color: var(--dourado); }
.area-conteudo .botao { margin-top: 1.1rem; }
.contato h2 + p { margin-top: 1.2rem; }
.perguntas img { margin-top: 1.7rem; width: min(100%, 330px); height: auto; }
.faq { min-width: 0; }
.faq-abas { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.25rem; }
.faq-abas [aria-selected="true"] { background: var(--dourado); color: var(--preto); }
.faq-painel + .faq-painel { margin-top: 1.25rem; }
.faq-abas[role="tablist"] ~ .faq-painel { margin-top: 0; }
details { border-top: 1px solid var(--linha); }
details:first-child { border-top-color: var(--dourado); }
details:last-of-type { border-bottom: 1px solid var(--linha); }
summary { color: var(--branco); cursor: pointer; font-weight: 500; padding: 1rem .15rem; }
summary:hover { color: var(--dourado); }
summary::marker { color: var(--dourado); }
details p { padding: 0 .15rem; }
.canais { align-self: end; min-width: 0; }
.acoes-contato { display: flex; flex-wrap: wrap; gap: .65rem; }
.canais p { margin-top: .75rem; max-width: 44ch; }
.rodape { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem 1.6rem; padding-block: 1.75rem max(1.75rem, calc(5.35rem - env(safe-area-inset-bottom, 0px))); border-top: 1px solid var(--linha); font-size: .88rem; }
.rodape .marca img { width: 134px; }
.rodape p { margin: 0; }
.rodape-privacidade { flex: 0 0 100%; max-width: 74ch; color: var(--texto-suave); }
.privacidade { max-width: 750px; }
.privacidade h1 { font-size: clamp(3.3rem, 7vw, 6rem); }
.privacidade h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 2.25rem 0 .8rem; }
.privacidade a { overflow-wrap: anywhere; }

@media (max-width: 1050px) {
  .limite { width: min(100% - 4rem, 1280px); }
  .abertura-grid { gap: 2rem; }
  nav { column-gap: 1.1rem; }
}
@media (max-width: 720px) {
  .limite { width: min(100% - 2.5rem, 1280px); }
  .navegacao { min-height: 0; flex-wrap: wrap; gap: .3rem 1rem; padding: .95rem 0 .15rem; }
  .marca img { width: 128px; }
  nav { gap: 0 .78rem; }
  nav a { font-size: .83rem; }
  .topo:has(.menu-toggle:not([hidden])) {
    position: absolute;
    inset: 0 0 auto;
    z-index: 4;
  }
  .navegacao:has(.menu-toggle:not([hidden])) {
    position: relative;
    flex-wrap: nowrap;
    min-height: 72px;
    padding: 0;
    margin-top: .55rem;
    border: 0;
  }
  .menu-toggle:not([hidden]) {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgb(244 240 232 / .22);
    border-radius: 8px;
    background: rgb(244 240 232 / .06);
    color: var(--branco);
    cursor: pointer;
  }
  .menu-toggle:focus-visible { outline: 2px solid var(--dourado); outline-offset: 3px; }
  .menu-toggle span { display: block; width: 18px; height: 1px; background: currentColor; }
  .menu-toggle[aria-expanded="true"] { color: var(--dourado); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { visibility: hidden; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-6px) rotate(-45deg); }
  .menu-toggle:not([hidden]) + nav {
    display: none;
    position: absolute;
    inset: calc(100% + .35rem) -1px auto;
    padding: .3rem 1rem;
    border: 1px solid rgb(244 240 232 / .16);
    border-radius: 12px;
    background: rgb(8 8 8 / .84);
  }
  @supports (backdrop-filter: blur(1px)) {
    .menu-toggle:not([hidden]) + nav {
      background: rgb(8 8 8 / .5);
      backdrop-filter: blur(16px) saturate(125%);
    }
  }
  .menu-toggle[aria-expanded="true"] + nav { display: block; }
  .menu-toggle:not([hidden]) + nav a { display: flex; min-height: 48px; font-size: .96rem; }
  .menu-toggle:not([hidden]) + nav a + a:not(.botao) { border-top: 1px solid var(--linha); }
  .menu-toggle:not([hidden]) + nav .botao { margin: .35rem 0 .55rem; }
  .abertura-grid { grid-template-columns: minmax(0, 1fr); gap: 1.45rem; padding-block: 0 2.65rem; }
  .abertura-foto { grid-row: 1; width: calc(100% + 2.5rem); justify-self: center; transform-origin: top center; }
  .abertura-foto img { height: clamp(390px, 66svh, 590px); object-position: center 17%; }
  .abertura-foto figcaption { display: none; }
  .abertura h1 { font-size: clamp(2.9rem, 12.05vw, 5.4rem); }
  .intro { margin: 1.15rem 0 .65rem; }
  .areas-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sobre-mim, .perguntas, .contato { grid-template-columns: 1fr; gap: 1.65rem; }
  .escritorio-fotos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .escritorio-fotos img:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .sobre-mim > img { width: min(100%, 420px); }
  .perguntas img { width: min(100%, 280px); }
}
@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .com-movimento .abertura-foto { transform: translateY(calc(10px * var(--progresso))) scale(calc(1 - .16 * var(--progresso))); }
}

.whatsapp-flutuante {
  position: fixed;
  inset: auto max(1.15rem, env(safe-area-inset-right, 0px)) max(1.15rem, env(safe-area-inset-bottom, 0px)) auto;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3.35rem;
  height: 3.35rem;
  border: 1px solid #1eb75c;
  border-radius: 50%;
  background: #14783e;
  color: #fff;
}
.whatsapp-flutuante:hover { color: #fff; background: #126935; }
.whatsapp-flutuante::before {
  position: absolute;
  inset: -1px;
  border: 1px solid #40cf76;
  border-radius: inherit;
  content: "";
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .whatsapp-flutuante::before { animation: pulso-whatsapp 1.55s ease-out 3; }
}
@keyframes pulso-whatsapp {
  from { opacity: .77; transform: scale(1); }
  to { opacity: 0; transform: scale(1.32); }
}
