/* Fontes hospedadas no próprio site, sob a licença SIL Open Font License 1.1 */
@font-face {
  font-family: "Young Serif";
  src: url("fontes/young-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fontes/atkinson-hyperlegible-next-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --goiaba: #f7c1b6;
  --goiaba-clara: #fdebe6;
  --beterraba: #5a0f2e;
  --folha: #1d4a38;
  --prato: #fffbfa;
  --tinta: #2b141e;
  --serifa: "Young Serif", Georgia, "Times New Roman", serif;
  --texto: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --margem: clamp(1rem, 4vw, 3.5rem);
  --respiro: clamp(4rem, 9vw, 7.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  background: var(--prato);
  color: var(--tinta);
  font-family: var(--texto);
  font-size: 1.125rem;
  line-height: 1.55;
  font-synthesis: none;
}

h1,
h2,
h3,
blockquote {
  margin: 0;
  font-family: var(--serifa);
  font-weight: 400;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  line-height: 1.08;
  color: var(--beterraba);
}

p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.largura {
  width: 100%;
  max-width: 78rem;
  margin-inline: auto;
  padding-inline: var(--margem);
}

.pular {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2;
  padding: 0.5rem 1rem;
  background: var(--prato);
}

.pular:focus {
  top: 1rem;
}

/* Botões: toda ação de agendar usa esta forma, e nada mais na página é arredondado */
.botao {
  display: inline-block;
  padding: 0.8em 1.4em;
  border-radius: 999px;
  background: var(--folha);
  color: var(--prato);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.15s;
}

.botao:hover {
  background: var(--beterraba);
}

.botao:focus-visible {
  outline-color: var(--tinta);
}

/* Abertura */
.abertura {
  background: var(--goiaba);
  color: var(--beterraba);
}

.topo {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  max-width: 78rem;
  margin-inline: auto;
  padding: 1.5rem var(--margem) 0;
}

.marca {
  font-family: var(--serifa);
  font-size: 1.375rem;
  text-decoration: none;
}

.topo-nav {
  display: flex;
  gap: 1.75rem;
}

.topo-nav a {
  text-decoration: none;
  text-underline-offset: 0.25em;
}

.topo-nav a:hover {
  text-decoration: underline;
}

.abertura-grade {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: 78rem;
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 5rem) var(--margem) clamp(2.5rem, 5vw, 4.5rem);
}

h1 {
  font-size: clamp(3.25rem, 8.2vw, 7.25rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.abertura-lide {
  max-width: 34rem;
  margin-top: 1.75rem;
  font-size: clamp(1.125rem, 1.6vw, 1.3125rem);
  color: var(--tinta);
}

.abertura-acao {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
}

.telefone {
  padding-block: 0.4em;
  font-family: var(--serifa);
  font-size: 1.25rem;
  white-space: nowrap;
  text-underline-offset: 0.2em;
}

.credencial {
  max-width: 34rem;
  margin-top: 1.25rem;
  font-size: 1rem;
  color: var(--tinta);
}

.junto {
  white-space: nowrap;
}

/* A foto invade a seção seguinte de propósito: é o que costura as duas cores */
.retrato {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-bottom: -9rem;
}

/* O que trouxe você até aqui */
.motivos {
  padding-block: clamp(3rem, 6vw, 5rem) var(--respiro);
  background: var(--beterraba);
  color: var(--prato);
}

.motivos h2 {
  max-width: 62%;
  color: var(--goiaba);
}

.motivos-apoio {
  max-width: 62%;
  margin: 1rem 0 clamp(2rem, 4vw, 3.5rem);
}

.motivos details {
  border-top: 1px solid rgb(247 193 182 / 0.35);
}

.motivos details:last-of-type {
  border-bottom: 1px solid rgb(247 193 182 / 0.35);
}

.motivos summary {
  position: relative;
  padding: 1.25rem 3rem 1.25rem 0;
  font-family: var(--serifa);
  font-size: clamp(1.375rem, 2.6vw, 2.25rem);
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}

.motivos summary::-webkit-details-marker {
  display: none;
}

.motivos summary::after {
  content: "+";
  position: absolute;
  top: 1.1rem;
  right: 0.25rem;
  color: var(--goiaba);
}

.motivos summary:hover,
.motivos details[open] summary {
  color: var(--goiaba);
}

.motivos details[open] summary::after {
  content: "\2212";
}

.resposta {
  max-width: 40rem;
  padding-bottom: 2.25rem;
  animation: aparece 0.25s ease-out;
}

.resposta .botao {
  margin-top: 1.25rem;
  background: var(--goiaba);
  color: var(--beterraba);
}

.resposta .botao:hover {
  background: var(--prato);
}

.resposta .botao:focus-visible {
  outline-color: var(--prato);
}

@keyframes aparece {
  from {
    opacity: 0;
  }
}

/* Título à esquerda, conteúdo à direita: o mesmo eixo para todas as seções de leitura */
.par {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 1.5rem clamp(2rem, 5vw, 4.5rem);
  padding-block: var(--respiro) 0;
}

#duvidas {
  padding-bottom: var(--respiro);
}

.formas {
  margin: 0;
}

.formas div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 0.25rem 1.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgb(90 15 46 / 0.25);
}

.formas div:first-child {
  padding-top: 0;
  border-top: 0;
}

.formas dt {
  font-family: var(--serifa);
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--beterraba);
}

.formas dd {
  margin: 0;
}

.locais {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 0.75rem;
}

.locais h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--beterraba);
}

.mapa {
  display: block;
  width: 100%;
  height: 16rem;
  border: 0;
  background: var(--goiaba-clara);
}

.como-chegar {
  margin-top: 0.5rem;
}

.como-chegar a {
  display: inline-block;
  padding-block: 0.4em;
  font-weight: 600;
  color: var(--beterraba);
  text-underline-offset: 0.2em;
}

.mapa-aviso {
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

.nota {
  max-width: 38rem;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--goiaba-clara);
}

.passos {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: passo;
}

.passos li {
  position: relative;
  padding: 0 0 2rem 4rem;
  counter-increment: passo;
}

.passos li:last-child {
  padding-bottom: 0;
}

.passos li::before {
  content: counter(passo);
  position: absolute;
  top: -0.2rem;
  left: 0;
  font-family: var(--serifa);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--beterraba);
}

.passos h3 {
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--beterraba);
}

.passos p {
  margin-top: 0.25rem;
}

/* Sobre mim */
.sobre {
  margin-top: var(--respiro);
  padding-bottom: var(--respiro);
  background: var(--goiaba-clara);
}

.sobre blockquote {
  margin-bottom: 1.75rem;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  color: var(--beterraba);
}

.sobre p {
  max-width: 38rem;
}

.sobre p + p {
  margin-top: 1rem;
}

.sobre h3 {
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--beterraba);
}

.trajetoria {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trajetoria li {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  padding-block: 0.6rem;
  border-top: 1px solid rgb(90 15 46 / 0.2);
}

.trajetoria li:first-child {
  padding-top: 0;
  border-top: 0;
}

.trajetoria span {
  font-family: var(--serifa);
  color: var(--beterraba);
}

.imprensa li {
  grid-template-columns: 8.75rem minmax(0, 1fr);
}

/* A coluna de datas precisa caber "2014 até hoje" */
.trajetoria-grupo li {
  grid-template-columns: 8.75rem minmax(0, 1fr);
}

.trajetoria-grupo + .trajetoria-grupo {
  margin-top: 2.25rem;
}

.trajetoria-grupo h4 {
  margin: 0 0 0.75rem;
  font-family: var(--serifa);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--beterraba);
}

/* Dúvidas */
.perguntas details {
  border-top: 1px solid rgb(90 15 46 / 0.25);
}

.perguntas details:first-child {
  border-top: 0;
}

.perguntas summary {
  padding-block: 0.9rem;
  font-weight: 600;
  color: var(--beterraba);
  cursor: pointer;
}

.perguntas details:first-child summary {
  padding-top: 0;
}

.perguntas p {
  max-width: 38rem;
  padding-bottom: 1.25rem;
}

/* Fechamento */
.fechamento {
  padding-block: var(--respiro) 2.5rem;
  background: var(--folha);
  color: var(--goiaba);
}

.fechamento h2 {
  max-width: 16ch;
  font-size: clamp(2.75rem, 6.6vw, 5.5rem);
  line-height: 1.04;
  color: inherit;
}

.fechamento .botao {
  background: var(--goiaba);
  color: var(--folha);
}

.fechamento .botao:hover {
  background: var(--prato);
}

.fechamento .botao:focus-visible {
  outline-color: var(--prato);
}

.assinatura {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  font-size: 1rem;
  color: var(--prato);
}

.assinatura p + p {
  margin-top: 0.75rem;
}

.aviso {
  font-size: 0.875rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  .resposta {
    animation: none;
  }

  .botao {
    transition: none;
  }
}

/* Aviso de privacidade */
.privacidade-titulo {
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--margem) clamp(2.5rem, 5vw, 4rem);
  max-width: 78rem;
  margin-inline: auto;
  font-size: clamp(2.75rem, 7vw, 5rem);
}

.texto-legal {
  padding-block: clamp(2.5rem, 5vw, 4rem) var(--respiro);
}

.texto-legal > * {
  max-width: 40rem;
}

.texto-legal h2 {
  margin-top: 2.5rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

.texto-legal p {
  margin-top: 0.75rem;
}

/* Sem isso, a resposta aberta sai em branco na impressão */
@media print {
  .resposta {
    animation: none;
  }
}

@media (max-width: 52rem) {
  .topo-nav {
    display: none;
  }

  .abertura-grade,
  .par {
    grid-template-columns: minmax(0, 1fr);
  }

  .retrato {
    width: min(100%, 26rem);
    margin-bottom: -6rem;
  }

  .motivos {
    padding-top: 6rem;
  }

  .motivos h2,
  .motivos-apoio {
    max-width: none;
  }

  .formas div,
  .locais {
    grid-template-columns: minmax(0, 1fr);
  }
}
