/* ==========================================================================
   Dr. Kainã Andrade — estilos
   Celular primeiro; pontos de quebra em 600, 768, 900 e 1100px.
   ========================================================================== */

@font-face {
  font-family: "Marcellus";
  src: url("../assets/fonts/marcellus-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-latin-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Paleta (logo, placa da fachada e recepção) */
  --marinho: #16223f;
  --marinho-profundo: #0d1630;
  --dourado: #c8a048;
  --dourado-claro: #d6b261;
  --dourado-escuro: #876619;
  --marmore: #f1f2f4;
  --cinza-estudio: #c9cacb;
  --branco: #fff;
  --texto-suave-claro: #4b5570;
  --texto-suave-escuro: #c3cad9;
  --linha-clara: rgb(22 34 63 / 0.16);
  --linha-escura: rgb(200 160 72 / 0.3);

  --fonte-titulo: "Marcellus", Georgia, "Times New Roman", serif;
  --fonte-texto: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --margem-lateral: 1.25rem;
  --largura-maxima: 72rem;
  --altura-topo: 4rem;
  --espaco-barra: 5.25rem;

  --foco: var(--dourado-escuro);
}

/* ---------- Base ---------- */

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

html {
  scroll-padding-top: calc(var(--altura-topo) + 1rem);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--marmore);
  color: var(--marinho);
  font-family: var(--fonte-texto);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--fonte-titulo);
  font-weight: 400;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--foco);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icone {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
}

.visualmente-oculto {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.pular {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--dourado);
  color: var(--marinho);
  font-weight: 600;
  transform: translateY(-200%);
}

.pular:focus-visible {
  transform: none;
  outline-color: var(--marinho);
}

/* ---------- Botões ---------- */

.botao {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--fonte-texto);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}

/* Resposta ao toque: o botão "afunda" de leve */
.botao:active {
  transform: scale(0.97);
}

/* Brilho que atravessa o botão, como a luz no logo metálico */
.botao::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 0.42) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.botao:hover::after,
.botao:focus-visible::after {
  transform: translateX(120%);
}

.botao--dourado {
  background: var(--dourado);
  color: var(--marinho);
}

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

.botao--dourado:focus-visible {
  outline-color: var(--marinho);
  outline-offset: -6px;
}

.botao--contorno {
  border-color: rgb(200 160 72 / 0.7);
  color: var(--marmore);
}

.botao--contorno:hover {
  border-color: var(--dourado);
  background: rgb(200 160 72 / 0.1);
}

.botao--contorno-escuro {
  border-color: var(--marinho);
  color: var(--marinho);
}

.botao--contorno-escuro:hover {
  background: rgb(22 34 63 / 0.06);
}

.botao--escuro {
  background: var(--marinho);
  color: var(--marmore);
}

.botao--escuro:hover {
  background: var(--marinho-profundo);
}

.botao--compacto {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
}

.link-orcamento,
.link-acao {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--dourado-escuro);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  transition: color 0.2s ease;
}

.link-orcamento:hover,
.link-acao:hover {
  color: var(--marinho);
}

/* ---------- Topo ---------- */

.topo {
  --foco: var(--dourado);
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--marinho);
  border-bottom: 1px solid var(--linha-escura);
}

.topo__interno {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--largura-maxima);
  height: var(--altura-topo);
  margin-inline: auto;
  padding-inline: var(--margem-lateral);
}

.marca {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--marmore);
  text-decoration: none;
}

.marca__monograma {
  width: auto;
  height: 2.25rem;
}

.marca__nome {
  font-family: var(--fonte-titulo);
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.menu {
  display: none;
}

.menu__lista {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu__lista a {
  color: var(--texto-suave-escuro);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.menu__lista a:hover {
  color: var(--dourado);
}

.topo__whatsapp {
  display: none;
}

/* ---------- Abertura ---------- */

.abertura {
  --foco: var(--dourado);
  display: grid;
  background: var(--marinho);
  color: var(--marmore);
}

.abertura__foto {
  position: relative;
  height: clamp(20rem, 52svh, 34rem);
  background: var(--marinho);
}

/* O recorte leva a diagonal; a foto dentro dele pode receber zoom e paralaxe sem desalinhar a linha dourada */
.abertura__recorte {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--cinza-estudio);
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}

/* 12% de sobra na altura para a paralaxe não mostrar borda */
.abertura__recorte img {
  position: absolute;
  top: -6%;
  left: 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 50% 20%;
}

/* A linha dourada inclinada da placa da fachada */
.abertura__diagonal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.abertura__risco {
  fill: none;
  stroke: var(--dourado);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.abertura__risco--tela-larga {
  display: none;
}

.abertura__texto {
  padding: 1.75rem var(--margem-lateral) 3rem;
}

.abertura__titulo {
  margin: 0 0 0.75rem;
  font-size: clamp(2.75rem, 12vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: 0.01em;
}

.abertura__subtitulo {
  max-width: 26ch;
  margin: 0 0 1.75rem;
  color: var(--texto-suave-escuro);
  font-size: 1.125rem;
  line-height: 1.5;
}

.abertura__acoes {
  display: grid;
  gap: 0.75rem;
}

.abertura__registro {
  margin: 1.5rem 0 0;
  color: var(--dourado);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

/* Estado inicial da animação de abertura (só existe enquanto o GSAP não assume) */
.com-animacao [data-entrada],
.com-animacao .abertura__risco {
  opacity: 0;
}

/* ---------- Seções ---------- */

.secao {
  padding-block: clamp(3.5rem, 9vw, 7rem);
}

.secao__interno {
  max-width: var(--largura-maxima);
  margin-inline: auto;
  padding-inline: var(--margem-lateral);
}

.secao__cabeca {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.secao__titulo {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 7vw, 3rem);
}

.secao__intro {
  max-width: 52ch;
  margin: 0;
  color: var(--texto-suave-claro);
  font-size: 1.0625rem;
}

/* ---------- Tratamentos ---------- */

.tratamentos__principais {
  display: grid;
  gap: clamp(3.5rem, 9vw, 5rem);
}

.tratamento {
  position: relative;
}

/* A lista ocupa a largura toda; o conteúdo de cada tratamento fica centralizado */
.tratamento__conteudo {
  position: relative;
  display: grid;
  grid-template-areas:
    "nome"
    "texto"
    "foto"
    "acao";
  gap: 1.25rem;
  max-width: var(--largura-maxima);
  margin-inline: auto;
  padding: 1.75rem var(--margem-lateral) 0;
}

/* Fio dourado, como as linhas do logo; cresce com a rolagem quando o GSAP está ativo */
.tratamento__fio {
  position: absolute;
  top: 0;
  left: var(--margem-lateral);
  right: var(--margem-lateral);
  height: 2px;
  background: var(--dourado);
  transform-origin: left center;
}

.tratamento__nome {
  grid-area: nome;
  margin: 0;
  font-size: clamp(2.25rem, 9vw, 3.75rem);
  line-height: 1.05;
}

.tratamento__texto {
  grid-area: texto;
}

.tratamento__texto p {
  max-width: 46ch;
  margin: 0 0 0.75rem;
  color: var(--texto-suave-claro);
  font-size: 1.0625rem;
}

.tratamento__texto p:last-child {
  margin-bottom: 0;
}

.tratamento__foto {
  grid-area: foto;
  max-width: 34rem;
  margin: 0;
}

.tratamento__moldura {
  overflow: hidden;
  background: var(--cinza-estudio);
}

.tratamento__moldura img {
  width: 100%;
}

.tratamento__foto figcaption,
.outro__foto figcaption {
  margin-top: 0.5rem;
  color: var(--texto-suave-claro);
  font-size: 0.8125rem;
}

.tratamento__acao {
  grid-area: acao;
  justify-self: start;
}

/*
 * Pilha de painéis (computador). A classe só é colocada pelo JavaScript, que também fixa cada
 * painel no topo enquanto o próximo sobe por cima. Sem JavaScript, a lista fica normal.
 */
.tratamentos__principais--pilha {
  gap: 0;
}

/* Painéis alternam mármore e branco para cada um se destacar ao cobrir o anterior.
   (Classe explícita: o GSAP envolve os painéis fixados em outra div, o que quebraria :nth-child.) */
.tratamentos__principais--pilha .tratamento {
  background: var(--marmore);
  box-shadow: 0 -1.5rem 3rem -1.5rem rgb(13 22 48 / 0.18);
}

.tratamentos__principais--pilha .tratamento--invertido {
  background: var(--branco);
}

/* Véu marinho que escurece o painel de baixo enquanto o próximo o cobre */
.tratamentos__principais--pilha .tratamento::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--marinho-profundo);
  opacity: var(--veu, 0);
  pointer-events: none;
}

.tratamentos__principais--pilha .tratamento__conteudo {
  grid-template-areas:
    ".     foto"
    "nome  foto"
    "texto foto"
    "acao  foto"
    ".     foto";
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-rows: 1fr auto auto auto 1fr;
  gap: 1.5rem 4rem;
  min-height: calc(100vh - var(--altura-topo));
  padding-block: 2.5rem;
  transform-origin: 50% 0;
}

.tratamentos__principais--pilha .tratamento--invertido .tratamento__conteudo {
  grid-template-areas:
    "foto ."
    "foto nome"
    "foto texto"
    "foto acao"
    "foto .";
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}

.tratamentos__principais--pilha .tratamento__foto {
  align-self: center;
  justify-self: center;
  max-width: none;
}

/* A foto ocupa a altura do painel, deixando espaço para a legenda */
.tratamentos__principais--pilha .tratamento__moldura img {
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - var(--altura-topo) - 9rem);
}

.outros {
  margin-top: clamp(4rem, 10vw, 7rem);
}

.outros__titulo {
  margin: 0 0 2rem;
  font-size: clamp(1.875rem, 6vw, 2.5rem);
}

.outros__lista {
  display: grid;
  gap: 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* A foto aparece primeiro na tela; o título continua primeiro para leitores de tela */
.outro {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.outro__foto {
  order: -1;
  margin: 0 0 0.5rem;
}

.outro__moldura {
  aspect-ratio: 1;
  overflow: hidden;
  background: #e4e5e7;
}

.outro__moldura img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.outro__nome {
  margin: 0;
  font-size: 1.625rem;
}

.outro p {
  max-width: 46ch;
  margin: 0;
  color: var(--texto-suave-claro);
}

.outro .link-orcamento {
  align-self: flex-start;
}

.tratamentos__aviso {
  max-width: 60ch;
  margin: 3.5rem 0 0;
  color: var(--texto-suave-claro);
  font-size: 0.875rem;
}

/* ---------- Conheça ---------- */

.conheca {
  --foco: var(--dourado);
  background: var(--marinho-profundo);
  color: var(--marmore);
}

.conheca__grade {
  display: grid;
  grid-template-areas:
    "titulo"
    "video"
    "texto";
  gap: 2rem;
}

.conheca__titulo {
  grid-area: titulo;
  margin: 0;
}

.conheca__texto {
  grid-area: texto;
}

.conheca__video {
  grid-area: video;
  position: relative;
  width: 100%;
  max-width: 21rem;
  margin-inline: auto;
  padding: 0.5rem;
  border: 1px solid var(--linha-escura);
}

.video-apresentacao {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--marinho);
}

.conheca__som {
  position: absolute;
  left: 50%;
  bottom: 5rem;
  white-space: nowrap;
  transform: translateX(-50%);
}

.conheca__som:active {
  transform: translateX(-50%) scale(0.97);
}

.conheca__som[hidden] {
  display: none;
}

/* Um único parágrafo ao lado do vídeo: tamanho de texto de destaque para a coluna não ficar vazia */
.conheca__texto p {
  max-width: 34ch;
  margin: 0 0 2rem;
  color: var(--texto-suave-escuro);
  font-size: clamp(1.1875rem, 3.2vw, 1.5rem);
  line-height: 1.55;
}

/* ---------- Avaliações ---------- */

.avaliacoes {
  background: var(--branco);
}

.avaliacoes__lista {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(85%, 22rem);
  gap: 1rem;
  margin: 0 calc(var(--margem-lateral) * -1) 2rem;
  padding: 0 var(--margem-lateral) 1rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--margem-lateral);
  overscroll-behavior-x: contain;
}

.avaliacao {
  scroll-snap-align: start;
}

.avaliacao figure {
  height: 100%;
  margin: 0;
  padding: 1.5rem;
  background: var(--marmore);
  border-top: 2px solid var(--dourado);
}

.estrelas {
  display: inline-flex;
  gap: 0.15rem;
  color: var(--dourado-escuro);
}

.estrelas .icone {
  width: 1.1rem;
  height: 1.1rem;
}

.avaliacao blockquote {
  margin: 0.75rem 0 1.25rem;
}

.avaliacao blockquote p {
  margin: 0;
}

.avaliacao figcaption {
  display: flex;
  flex-direction: column;
}

.avaliacao__nome {
  font-weight: 600;
}

.avaliacao__fonte {
  color: var(--texto-suave-claro);
  font-size: 0.8125rem;
}

/* ---------- Onde estamos ---------- */

.onde__grade {
  display: grid;
  gap: 2.5rem;
}

.onde__endereco {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-style: normal;
  line-height: 1.6;
}

.onde__referencia {
  margin: 0 0 2rem;
  color: var(--texto-suave-claro);
}

.onde__subtitulo {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
}

.horarios {
  max-width: 26rem;
  margin: 0 0 2rem;
}

.horarios__linha {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--linha-clara);
}

.horarios dt {
  font-weight: 500;
}

.horarios dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.onde__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.onde__fotos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.onde__foto {
  margin: 0;
}

.onde__foto img {
  width: 100%;
  background: var(--cinza-estudio);
}

.onde__foto figcaption {
  margin-top: 0.5rem;
  color: var(--texto-suave-claro);
  font-size: 0.8125rem;
}

.onde__mapa iframe {
  width: 100%;
  height: clamp(18rem, 55vw, 26rem);
  border: 0;
  background: var(--cinza-estudio);
}

/* ---------- Perguntas frequentes ---------- */

.duvidas {
  background: var(--branco);
}

.duvidas__grade {
  display: grid;
  gap: 2rem;
}

.duvidas__cabeca .secao__intro {
  margin-bottom: 1.5rem;
}

.duvidas__lista {
  border-top: 1px solid var(--linha-clara);
}

.duvida {
  border-bottom: 1px solid var(--linha-clara);
}

.duvida summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.875rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

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

/* Sinal de "+" que vira "×" quando a resposta está aberta */
.duvida summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--dourado-escuro);
  font-family: var(--fonte-titulo);
  font-size: 1.75rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.duvida[open] summary::after {
  transform: rotate(45deg);
}

.duvida summary:hover {
  color: var(--dourado-escuro);
}

.duvida__resposta {
  padding-bottom: 1.25rem;
}

/* Abertura suave da resposta nos navegadores que já animam a altura de <details> */
@supports (interpolate-size: allow-keywords) {
  .duvida {
    interpolate-size: allow-keywords;
  }

  .duvida::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1), content-visibility 0.35s allow-discrete;
  }

  .duvida[open]::details-content {
    height: auto;
  }
}

.duvida__resposta p {
  max-width: 60ch;
  margin: 0 0 0.75rem;
  color: var(--texto-suave-claro);
}

.duvida__resposta p:last-child {
  margin-bottom: 0;
}

/* ---------- Rodapé ---------- */

.rodape {
  --foco: var(--dourado);
  /* Espaço extra no fim para a barra fixa do WhatsApp não cobrir o rodapé no celular */
  padding: 3.5rem var(--margem-lateral) calc(2.5rem + var(--espaco-barra));
  background: var(--marinho);
  color: var(--texto-suave-escuro);
  text-align: center;
}

.rodape__interno {
  max-width: var(--largura-maxima);
  margin-inline: auto;
}

.rodape__logo {
  width: min(15rem, 70%);
  margin: 0 auto 1rem;
}

.rodape__registro {
  margin: 0 0 1.5rem;
  color: var(--dourado);
  font-size: 0.875rem;
}

.rodape__contatos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.rodape__contatos a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  color: var(--marmore);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.rodape__contatos a:hover {
  color: var(--dourado);
}

.rodape__endereco {
  margin: 0;
  font-size: 0.875rem;
}

.rodape__assinatura {
  margin: 1.75rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linha-escura);
  font-size: 0.8125rem;
}

/* ---------- Barra fixa do WhatsApp (celular) ---------- */

.barra-whatsapp {
  position: fixed;
  right: 0.75rem;
  bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  left: 0.75rem;
  z-index: 60;
  min-height: 3.25rem;
  box-shadow: 0 0.5rem 1.5rem rgb(13 22 48 / 0.35);
  transition: transform 0.3s ease, visibility 0s linear 0s;
}

/* Escondida só enquanto os botões da abertura estão na tela, para não duplicar o mesmo botão */
.barra-whatsapp--escondida {
  visibility: hidden;
  transform: translateY(calc(100% + 1.5rem));
  transition: transform 0.3s ease, visibility 0s linear 0.3s;
}

/* ---------- Telas maiores ---------- */

@media (min-width: 480px) {
  .abertura__acoes {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (min-width: 600px) {
  :root {
    --margem-lateral: 2rem;
  }
}

@media (min-width: 768px) {
  :root {
    --espaco-barra: 0px;
  }

  .barra-whatsapp {
    display: none;
  }

  .topo__whatsapp {
    display: inline-flex;
  }

  .outros__lista {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
  }

  .avaliacoes__lista {
    display: block;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
    columns: 2;
    column-gap: 1.5rem;
  }

  .avaliacao {
    margin-bottom: 1.5rem;
    break-inside: avoid;
  }

  .rodape__contatos {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 2rem;
  }
}

@media (min-width: 900px) {
  /* Como na placa: foto à esquerda, diagonal dourada, nome no painel marinho */
  .abertura {
    grid-template-columns: 52fr 48fr;
    min-height: min(calc(100svh - var(--altura-topo)), 48rem);
  }

  .abertura__foto {
    height: auto;
  }

  .abertura__recorte {
    position: absolute;
    inset: 0;
    clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
  }

  .abertura__risco--celular {
    display: none;
  }

  .abertura__risco--tela-larga {
    display: inline;
  }

  .abertura__texto {
    align-self: center;
    padding: 4rem var(--margem-lateral) 4rem 1.5rem;
  }

  /* Vídeo à esquerda; título e texto centralizados na altura dele */
  .conheca__grade {
    grid-template-areas:
      "video ."
      "video titulo"
      "video texto"
      "video .";
    grid-template-columns: minmax(0, 21rem) minmax(0, 1fr);
    grid-template-rows: 1fr auto auto 1fr;
    gap: 0 5rem;
  }

  .conheca__titulo {
    margin-bottom: 1.5rem;
  }

  .conheca__video {
    margin-inline: 0;
  }

  .onde__grade {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem 4rem;
    align-items: start;
  }

  .onde__mapa {
    grid-column: 1 / -1;
  }

  .duvidas__grade {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 4rem;
    align-items: start;
  }
}

/* Com 5 itens, o menu só cabe numa linha a partir de 1024px */
@media (min-width: 1024px) {
  .menu {
    display: block;
  }

  .menu__lista a {
    white-space: nowrap;
  }
}

@media (min-width: 1100px) {
  .avaliacoes__lista {
    columns: 3;
  }

  .abertura__texto {
    padding-left: 2.5rem;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .duvida::details-content {
    transition: none;
  }
}
