/* Cores e fontes */

:root {
  --cor-fundo: #080807;
  --cor-fundo-2: #100E0B;
  --cor-cartao: #15120E;
  --cor-destaque: #D6A84F;
  --cor-destaque-claro: #F0C66B;
  --cor-destaque-escuro: #8D682C;
  --cor-texto: #F4EEE4;
  --cor-texto-2: #C4BBAE;
  --cor-borda: #382B1B;
  --cor-divisoria: rgba(244, 238, 228, 0.10);
  --fonte-titulo: 'Cormorant Garamond', Georgia, serif;
  --fonte-corpo: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: var(--fonte-corpo);
  font-weight: 300;
  color: var(--cor-texto);
  background-color: var(--cor-fundo);
  overflow-x: hidden;
}

/* Acessibilidade */

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
}

.logo,
.rodape__logo {
  object-fit: contain;
}

.pular-conteudo {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 14px 20px;
  background: var(--cor-destaque);
  color: var(--cor-fundo);
  transform: translateY(-180%);
}

.pular-conteudo:focus {
  transform: translateY(0);
}

a:focus-visible {
  outline: 2px solid var(--cor-destaque-claro);
  outline-offset: 5px;
}

/* Cabeçalho */

.cabecalho {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 84px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  background-color: var(--cor-fundo);
}

.logo {
  display: block;
  height: 60px;
  width: auto;
}

/* Apresentação */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 132px 72px 64px;
  background-image: url("../img/hero-desktop.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 760px;
  min-height: max(680px, 100svh);
  padding-inline: clamp(24px, 5vw, 96px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient( to right, rgba(8, 8, 7, 0) 22%, rgba(8, 8, 7, 0.62) 48%, rgba(8, 8, 7, 0.93) 78%, rgba(8, 8, 7, 0.97) 100% ), linear-gradient( to top, rgba(8, 8, 7, 0.85) 0%, rgba(8, 8, 7, 0.35) 22%, transparent 45% ), radial-gradient( ellipse at center, transparent 38%, rgba(8, 8, 7, 0.72) 100% );
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  background: radial-gradient( ellipse 70% 42% at 62% 38%, rgba(8, 8, 7, 0.82) 0%, rgba(8, 8, 7, 0.55) 45%, transparent 100% );
  pointer-events: none;
  z-index: 1;
}

.hero__conteudo {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  max-width: 1440px;
  margin-inline: auto;
}

.hero__texto {
  text-align: center;
  width: 52%;
  max-width: 640px;
}

.hero__coroa {
  display: block;
  width: 62px;
  height: auto;
  margin: 0 auto 10px;
  color: var(--cor-destaque);
}

.hero__nome {
  margin: 0;
  font-family: var(--fonte-titulo);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 1px;
  text-wrap: balance;
  color: var(--cor-texto);
  text-shadow: 0 0 8px rgba(8, 8, 7, 0.9), 0 0 18px rgba(8, 8, 7, 0.85), 0 1px 3px rgba(8, 8, 7, 1), 0 2px 24px rgba(0, 0, 0, 0.75);
  font-size: clamp(3rem, 5.5vw, 5.6rem);
}

.hero__nome span {
  color: var(--cor-destaque);
}

.hero__cargo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(300px, 100%);
  margin: 18px auto 0;
  font-family: var(--fonte-corpo);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--cor-destaque);
}

.hero__cargo::before,
.hero__cargo::after {
  content: "";
  flex: 0 0 42px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--cor-destaque));
}

.hero__cargo::after {
  background: linear-gradient(to left, transparent, var(--cor-destaque));
}

.hero__bio {
  max-width: 430px;
  margin: 30px auto 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--cor-texto);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.hero__acao {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.hero__acao .botao {
  min-height: 52px;
  justify-content: center;
}

/* Botões */

.botao {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  font-family: var(--fonte-corpo);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cor-fundo);
  background-color: var(--cor-destaque);
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}

.botao__icone {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.botao__seta {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.botao:hover {
  background-color: var(--cor-destaque-claro);
}

.botao:hover .botao__seta {
  transform: translateX(4px);
}

.botao:focus-visible {
  outline: 2px solid var(--cor-destaque-claro);
  outline-offset: 3px;
}

.botao--contorno {
  color: var(--cor-destaque);
  background-color: transparent;
  border: 1px solid var(--cor-destaque-escuro);
}

.botao--contorno:hover {
  color: var(--cor-fundo);
  background-color: var(--cor-destaque);
  border-color: var(--cor-destaque);
}

/* Seções */

.secao {
  width: 100%;
  padding: 88px 40px;
  position: relative;
}

.secao-escura {
  background-color: var(--cor-fundo-2);
}

.secao__interno {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.titulo-secao {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 44px;
  font-family: var(--fonte-titulo);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  color: var(--cor-texto);
}

.titulo-secao::before {
  content: "";
  flex-shrink: 0;
  width: 56px;
  height: 1px;
  background-color: var(--cor-destaque);
}

/* Depoimentos */

.depoimentos {
  position: relative;
  border-top: 1px solid var(--cor-borda);
  background-color: var(--cor-fundo);
  background-image: url("../img/depoimentos.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.depoimentos::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(8, 8, 7, 0.82);
  pointer-events: none;
}

.depoimentos .secao__interno {
  position: relative;
  z-index: 1;
}

.depoimentos__janela {
  overflow: hidden;
  margin-top: 12px;
}

.depoimentos__trilho {
  display: flex;
  gap: 28px;
  justify-content: center;
  padding: 4px 40px;
  flex-wrap: wrap;
  padding-inline: 0;
}

.depoimento {
  flex: 0 1 560px;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 32px 32px 32px 28px;
  background-color: var(--cor-cartao);
  border: 1px solid var(--cor-borda);
  border-radius: 4px;
  border-left: 2px solid var(--cor-destaque);
}

.depoimento__texto {
  margin: 0;
  font-family: var(--fonte-titulo);
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--cor-texto);
}

.depoimento__rodape {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--cor-divisoria);
}

.depoimento__autor {
  font-family: var(--fonte-titulo);
  font-size: 1.15rem;
  color: var(--cor-texto);
}

.depoimento__papel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--cor-texto-2);
}

.depoimento__papel::before {
  content: "";
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  background-color: var(--cor-destaque);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Agenda */

.agenda {
  position: relative;
  border-top: 1px solid var(--cor-borda);
  background-color: var(--cor-fundo-2);
  background-image: url("../img/agenda.webp");
  background-repeat: no-repeat;
  background-size: auto 780px;
  background-position: right top;
}

.agenda::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient( to right, rgba(8, 8, 7, 0.94) 0%, rgba(8, 8, 7, 0.88) 38%, rgba(8, 8, 7, 0.55) 62%, rgba(8, 8, 7, 0.15) 100% );
  pointer-events: none;
}

.agenda .secao__interno {
  position: relative;
  z-index: 1;
}

.agenda__conteudo {
  max-width: 640px;
}

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

.agenda__item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--cor-divisoria);
}

.agenda__item:first-child {
  border-top: 1px solid var(--cor-divisoria);
}

.agenda__data {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 28px;
  border-right: 1px solid var(--cor-borda);
  line-height: 1;
  color: var(--cor-destaque);
}

.agenda__dia {
  font-family: var(--fonte-titulo);
  font-size: 2.4rem;
  font-weight: 700;
}

.agenda__mes {
  margin-top: 6px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cor-destaque);
}

.agenda__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.agenda__cidade {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fonte-titulo);
  font-size: 1.55rem;
  color: var(--cor-texto);
}

.agenda__cidade::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background-color: var(--cor-destaque);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.agenda__local {
  font-size: 0.95rem;
  color: var(--cor-texto-2);
}

.agenda__hora {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--cor-texto-2);
}

.agenda__hora::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background-color: var(--cor-destaque);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm1-13h-2v6l5 3 1-1.7-4-2.3V7z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm1-13h-2v6l5 3 1-1.7-4-2.3V7z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.agenda__contagem {
  align-self: center;
  padding: 7px 16px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--cor-fundo);
  background-color: var(--cor-destaque);
  border-radius: 999px;
}

.agenda__contagem:empty {
  display: none;
}

.agenda__introducao {
  margin: -20px 0 32px;
  color: var(--cor-texto-2);
  line-height: 1.7;
}

.agenda__vazia {
  line-height: 1.8;
  color: var(--cor-texto-2);
}

.agenda__vazia a {
  color: var(--cor-destaque-claro);
}

/* Atalho do WhatsApp */

.zap-fixo {
  position: fixed;
  right: 28px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--fonte-corpo);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cor-fundo);
  background-color: var(--cor-destaque);
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
  transition: background-color 0.2s ease, transform 0.2s ease;
  bottom: max(20px, env(safe-area-inset-bottom));
}

.zap-fixo:hover {
  background-color: var(--cor-destaque-claro);
  transform: translateY(-2px);
}

.zap-fixo:focus-visible {
  outline: 2px solid var(--cor-destaque-claro);
  outline-offset: 3px;
}

.zap-fixo__icone {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Contato */

.contato {
  position: relative;
  padding: 96px 40px;
  background-color: var(--cor-fundo);
  background-image: url("../img/contato.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 70%;
  border-top: 1px solid var(--cor-borda);
}

.contato::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient( to right, rgba(8, 8, 7, 0.92) 0%, rgba(8, 8, 7, 0.75) 55%, rgba(8, 8, 7, 0.92) 100% );
  pointer-events: none;
}

.contato__interno {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.contato .titulo-secao {
  margin-bottom: 24px;
}

.contato__texto {
  max-width: 520px;
  margin: 0 0 40px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--cor-texto);
}

.contato__linha {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Rodapé */

.rodape {
  background-color: var(--cor-fundo);
  border-top: 1px solid var(--cor-borda);
  padding: 32px 40px;
  padding-bottom: 96px;
}

.rodape__interno {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.rodape__logo {
  display: block;
  height: 40px;
  width: auto;
}

.rodape__copia {
  font-size: 0.85rem;
  color: var(--cor-texto-2);
  line-height: 1.6;
}

.rodape__criador {
  max-width: 1180px;
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--cor-divisoria);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .82rem;
  line-height: 1.6;
  color: var(--cor-texto-2);
}

.rodape__portfolio {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--cor-destaque-escuro);
  border-radius: 999px;
  color: var(--cor-destaque-claro);
  text-decoration: none;
  text-align: center;
  transition: background-color .2s ease, color .2s ease;
}

.rodape__portfolio:hover {
  background: var(--cor-destaque);
  color: var(--cor-fundo);
}

/* Desktop */
@media (min-width: 1101px) {
  .agenda {
    min-height: 760px;
  }

  .agenda::before {
    background: linear-gradient(to bottom, transparent 480px, var(--cor-fundo-2) 780px), linear-gradient(to right, #080807 0%, rgba(8,8,7,.96) 35%, rgba(8,8,7,.72) 52%, rgba(8,8,7,.08) 77%, transparent 100%);
  }

  .agenda__conteudo {
    max-width: min(640px, 56%);
  }
}

/* Tablet */
@media (min-width: 701px) and (max-width: 1100px) {
  .hero {
    padding-inline: 32px;
  }

  .hero__texto {
    width: 56%;
  }

  .hero__nome {
    font-size: clamp(2.8rem, 5.8vw, 4rem);
  }

  .hero__acao {
    flex-direction: column;
    align-items: center;
  }

  .agenda {
    padding-top: 72px;
    background-size: auto 740px;
  }

  .agenda::before {
    background: linear-gradient(to bottom, transparent 400px, var(--cor-fundo-2) 740px), linear-gradient(to right, rgba(8,8,7,.96), rgba(8,8,7,.84) 48%, rgba(8,8,7,.48));
  }

  .agenda__conteudo {
    max-width: 720px;
    margin-inline: auto;
  }
}

/* Celular */
@media (max-width: 700px) {
  html {
    scroll-padding-top: 84px;
  }

  .cabecalho {
    height: 68px;
    padding: 0 20px;
  }

  .logo {
    height: 42px;
  }

  .hero {
    align-items: flex-end;
    min-height: 840px;
    min-height: max(840px, 100svh);
    padding: 390px 20px 56px;
    background-image: url("../img/hero-mobile.webp");
    background-size: auto 520px;
    background-position: center 68px;
    background-color: var(--cor-fundo);
  }

  .hero::before {
    background: linear-gradient(to bottom, transparent 230px, rgba(8,8,7,.3) 330px, #080807 530px);
  }

  .hero::after {
    display: none;
  }

  .hero__conteudo {
    padding-right: 0;
  }

  .hero__texto {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
  }

  .hero__coroa {
    width: 50px;
    margin-bottom: 12px;
  }

  .hero__nome {
    letter-spacing: 0;
    font-size: clamp(2rem, 8.6vw, 3.6rem);
    white-space: normal;
  }

  .hero__cargo {
    width: min(260px, 100%);
    gap: 10px;
    letter-spacing: 4px;
  }

  .hero__bio {
    max-width: 100%;
    font-size: 0.95rem;
    margin-top: 24px;
  }

  .hero__acao {
    gap: 12px;
    margin-top: 28px;
  }

  .botao {
    padding: 15px 28px;
  }

  .secao {
    padding: 64px 20px;
  }

  .depoimento {
    padding: 24px;
  }

  .agenda {
    padding-top: 64px;
    background-size: auto 620px;
    background-position: 88% top;
  }

  .agenda::before {
    background: linear-gradient(to bottom, rgba(8,8,7,.24), var(--cor-fundo-2) 620px), linear-gradient(to right, rgba(8,8,7,.94), rgba(8,8,7,.68));
  }

  .agenda__conteudo {
    max-width: 720px;
    margin-inline: auto;
  }

  .agenda__item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 16px 18px;
    align-items: start;
  }

  .agenda__data {
    padding-right: 16px;
  }

  .agenda__cidade {
    font-size: 1.35rem;
  }

  .agenda__contagem {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
    max-width: 100%;
    white-space: normal;
    line-height: 1.5;
  }

  .zap-fixo {
    right: 18px;
    padding: 0;
    width: 58px;
    height: 58px;
    justify-content: center;
    border-radius: 50%;
  }

  .zap-fixo__icone {
    width: 26px;
    height: 26px;
  }

  .contato {
    padding: 72px 20px;
  }

  .rodape__interno {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .hero__cargo::before,
  .hero__cargo::after {
    flex-basis: 30px;
  }

  .zap-fixo__texto {
    display: none;
  }

  .hero__acao .botao {
    width: 100%;
    max-width: 360px;
  }

  .contato__linha .botao {
    justify-content: center;
    max-width: 100%;
    letter-spacing: 1px;
    padding-inline: 20px;
  }

  .rodape__criador {
    flex-direction: column;
    text-align: center;
  }

  .rodape__portfolio {
    max-width: 100%;
  }
}

/* Respeita a preferência de reduzir movimento. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
