/* ==========================================================================
   Valete Barbearia — estilos
   Mobile-first. Breakpoints: 480px · 768px · 1024px
   ========================================================================== */

/* ---------- Variáveis ---------- */
:root {
  --laranja: #F0A25C;      /* fundo das seções, com o padrão de bigodes */
  --dourado: #E5C158;      /* dourado da marca: estrelas da nota do Google */
  --branco: #FFFFFF;       /* header, "Quem Somos" */
  --preto: #1A1A1A;        /* títulos e textos sobre o laranja; rodapé */
  --texto: #222222;        /* textos sobre fundo branco */
  --vermelho: #C8102E;     /* detalhe da marca (coração do logo) */

  --linha: rgba(26, 26, 26, 0.22);
  --fonte: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --fonte-destaque: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --fonte-script: 'Dancing Script', 'Brush Script MT', cursive;

  --header-h: 68px;
  --gutter: 1.25rem;
  --max: 1200px;
  --espaco-secao: clamp(4rem, 9vw, 6.5rem);
}

@media (min-width: 768px) {
  :root {
    --gutter: 2rem;
    --header-h: 78px;
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--fonte);
  line-height: 1.7;
  color: var(--texto);
  background: var(--branco);
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  transition: all 0.3s ease;
}

:focus-visible {
  outline: 3px solid var(--preto);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* sprite de ícones: existe no HTML mas não ocupa espaço */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.pular {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 300;
  padding: 0.75rem 1rem;
  background: var(--preto);
  color: var(--branco);
}

.pular:focus {
  top: 1rem;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sem-quebra {
  white-space: nowrap;
}

.centro {
  margin-top: 2.5rem;
  text-align: center;
}

/* ---------- Botões ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.8rem 1.6rem;
  border: 0;
  border-radius: 2px;
  font-family: var(--fonte);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.botao:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.botao--preto {
  background: var(--preto);
  color: var(--branco);
}

.botao--laranja {
  background: var(--laranja);
  color: var(--preto);
}

.botao--pequeno {
  min-height: 40px;
  padding: 0.55rem 1.1rem;
  font-size: 0.7rem;
}

.botao--grande {
  min-height: 54px;
  padding: 1rem 1.25rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
}

@media (min-width: 480px) {
  .botao--grande {
    padding: 1rem 2rem;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
  }
}

.icone-link {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  text-decoration: none;
}

.icone-link:hover {
  background: rgba(26, 26, 26, 0.08);
}

/* ---------- Logo (recriado em SVG/CSS) ---------- */
.logo {
  --logo-bg: var(--branco);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--preto);
  text-decoration: none;
}

.logo__simbolo {
  width: 30px;
  height: 40px;
}

.logo__marca {
  position: relative;
  padding: 0.42rem 0.7rem 0.62rem;
  border: 2px solid currentColor;
  line-height: 1;
}

.logo__tesoura {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0.95rem;
  height: 0.95rem;
  padding: 0 0.15rem;
  box-sizing: content-box;
  background: var(--logo-bg);
  stroke-width: 2.2;
  transform: translate(-50%, -55%);
}

.logo__nome {
  display: block;
  font-family: var(--fonte-destaque);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.logo__script {
  position: absolute;
  left: 50%;
  bottom: 0;
  padding: 0 0.3rem;
  background: var(--logo-bg);
  font-family: var(--fonte-script);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  transform: translate(-50%, 50%);
}

@media (min-width: 768px) {
  .logo__simbolo { width: 34px; height: 46px; }
  .logo__nome { font-size: 1.3rem; }
  .logo__script { font-size: 1rem; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--branco);
  transition: box-shadow 0.3s ease;
}

.header.is-scrolled {
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.09);
}

.header__conteudo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.header__acoes {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.header__social,
.header__agendar {
  display: none;
}

/* Menu no celular: lista que desce abaixo do header */
.nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: none;
  background: var(--branco);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.nav.is-open {
  display: block;
}

.nav__lista {
  margin: 0;
  padding: 0.5rem var(--gutter) 1rem;
  list-style: none;
}

.nav__link {
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--preto);
  cursor: pointer;
}

.menu-toggle .icon {
  width: 1.6rem;
  height: 1.6rem;
}

.menu-toggle .icone-fechar,
.menu-toggle[aria-expanded="true"] .icone-abrir {
  display: none;
}

.menu-toggle[aria-expanded="true"] .icone-fechar {
  display: block;
}

@media (min-width: 480px) {
  .header__agendar {
    display: inline-flex;
  }
}

@media (min-width: 1180px) {
  .nav {
    position: static;
    display: block;
    margin-left: auto;
    background: none;
    box-shadow: none;
  }

  .nav__lista {
    display: flex;
    gap: 1.9rem;
    padding: 0;
  }

  .nav__link {
    padding: 0.5rem 0;
    border: 0;
    border-bottom: 2px solid transparent;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
  }

  .nav__link:hover {
    border-bottom-color: var(--preto);
  }

  .header__social {
    display: inline-grid;
  }

  .menu-toggle {
    display: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  isolation: isolate;
  background: var(--branco);
  color: var(--branco);
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  will-change: transform, opacity;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

/* overlay escuro (~45%) */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.52));
}

/* degradê para o branco na base, sem corte seco para a próxima seção */
.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 90px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--branco));
}

.hero__conteudo {
  width: 100%;
  padding: 4.5rem var(--gutter) 6rem;
  will-change: transform, opacity;
}

.hero__local {
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  text-transform: uppercase;
}

.hero__titulo {
  margin: 0;
  font-weight: 400;
  line-height: 1;
}

.hero__nome {
  display: block;
  font-family: var(--fonte-destaque);
  font-size: clamp(3.8rem, 17vw, 11rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-indent: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.35);
}

.hero__sub {
  display: block;
  margin-top: 1rem;
  font-size: clamp(0.9rem, 3vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  text-transform: uppercase;
}

.hero__selo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 2rem 0 2.25rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  font-size: 0.85rem;
}

.hero__estrelas {
  display: inline-flex;
  gap: 2px;
  color: var(--dourado);
}

.hero__estrelas .icon {
  width: 1rem;
  height: 1rem;
}

.hero .botao:focus-visible {
  outline-color: var(--laranja);
}

/* ---------- Seções ---------- */
.secao {
  padding-block: var(--espaco-secao);
  scroll-margin-top: var(--header-h);
}

/* fundo laranja com o padrão de bigodes da marca */
.secao--destaque {
  background-color: var(--laranja);
  background-image: url("../assets/img/bigodes.svg");
  background-size: 300px 300px;
  color: var(--preto);
}

@media (min-width: 768px) {
  .secao--destaque {
    background-size: 420px 420px;
  }
}

/* linha fina entre duas seções laranja seguidas */
.secao--divisoria > .container {
  position: relative;
}

.secao--divisoria > .container::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--espaco-secao));
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--linha);
}

.titulo-secao {
  margin: 0 0 3rem;
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.15em;
  text-indent: 0.15em;
  text-align: center;
  text-transform: uppercase;
  color: var(--preto);
}

.titulo-secao::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 1.2rem auto 0;
  background: currentColor;
}

.titulo-secao--esquerda {
  margin-bottom: 2rem;
  text-align: left;
  text-indent: 0;
}

.titulo-secao--esquerda::after {
  margin-left: 0;
}

/* ---------- Quem Somos ---------- */
.sobre {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.sobre__texto p {
  max-width: 62ch;
  margin: 0 0 1.1rem;
}

.comodidades {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.25rem 0 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid #e6e6e6;
  list-style: none;
}

.comodidades li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--preto);
}

.comodidades__icone {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--laranja);
}

@media (min-width: 480px) {
  .comodidades li {
    gap: 0.65rem;
    font-size: 0.82rem;
  }

  .comodidades__icone {
    width: 44px;
    height: 44px;
  }
}

.sobre__foto {
  position: relative;
  margin: 0 0.75rem 0.75rem 0;
}

/* bloco laranja deslocado atrás da foto */
.sobre__foto::before {
  content: "";
  position: absolute;
  inset: 0.75rem -0.75rem -0.75rem 0.75rem;
  background: var(--laranja);
}

.sobre__foto img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 30%;
}

@media (min-width: 768px) {
  .comodidades {
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    gap: 1.25rem 1.75rem;
  }

  .sobre__foto {
    justify-self: center;
    max-width: 520px;
    margin: 0 1.5rem 1.5rem 0;
  }

  .sobre__foto::before {
    inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .sobre {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
  }

  .comodidades {
    grid-template-columns: repeat(2, auto);
  }
}

@media (min-width: 1280px) {
  .comodidades {
    grid-template-columns: repeat(4, auto);
  }
}

/* ---------- Barbeiros ---------- */
/* vem logo depois de "Quem Somos", por isso não repete o espaço do topo */
.secao--barbeiros {
  padding-top: 0;
}

.barbeiros {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.barbeiro {
  text-align: center;
}

.barbeiro img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  object-fit: cover;
  object-position: center 25%;
}

.barbeiro__nome {
  margin: 1rem 0 0.1rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--preto);
}

.barbeiro__cargo {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .barbeiros {
    max-width: 760px;
    margin-inline: auto;
    gap: 2.5rem;
  }

  .barbeiro__nome {
    font-size: 1.15rem;
  }
}

/* ---------- Serviços (estilo cardápio) ---------- */
.servicos {
  display: grid;
  gap: 0 4.5rem;
}

.servicos__coluna {
  margin: 0;
  padding: 0;
  list-style: none;
}

.servico {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--linha);
}

.servico:first-child {
  border-top: 1px solid var(--linha);
}

.servico__linha {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.servico__nome {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

@media (min-width: 480px) {
  .servico__nome {
    font-size: 0.92rem;
    letter-spacing: 0.06em;
  }
}

/* linha pontilhada entre o nome e o preço */
.servico__pontos {
  flex: 1 1 1.5rem;
  min-width: 1.5rem;
  border-bottom: 2px dotted rgba(26, 26, 26, 0.55);
  transform: translateY(-0.3em);
}

.servico__preco {
  flex-shrink: 0;
  font-family: var(--fonte-destaque);
  font-size: 1.15rem;
  font-weight: 700;
  white-space: nowrap;
}

.servico__duracao {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  font-weight: 500;
}

.servico__duracao .icon {
  width: 1rem;
  height: 1rem;
}

@media (min-width: 1024px) {
  /* duas colunas independentes: 7 serviços de cada lado, na ordem da tabela.
     Colunas separadas evitam que abrir um detalhe empurre o serviço do outro lado. */
  .servicos {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* ---------- "Ver detalhes" de cada serviço ---------- */
.detalhes {
  margin-top: 0.15rem;
}

.detalhes__botao {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}

/* esconde a setinha padrão do navegador */
.detalhes__botao::-webkit-details-marker {
  display: none;
}

.detalhes__botao span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.detalhes__botao:hover span {
  text-decoration-thickness: 2px;
}

.detalhes__botao .icon {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.detalhes[open] .detalhes__botao .icon {
  transform: rotate(180deg);
}

.detalhes__ocultar {
  display: none;
}

.detalhes[open] .detalhes__ver {
  display: none;
}

.detalhes[open] .detalhes__ocultar {
  display: inline;
}

.detalhes__texto {
  max-width: 62ch;
  margin: 0.4rem 0 1rem;
  font-size: 0.88rem;
  line-height: 1.7;
}

.detalhes[open] .detalhes__texto,
.detalhes[open] .botao {
  animation: surgir 0.3s ease;
}

.detalhes .botao {
  margin-bottom: 0.4rem;
}

@keyframes surgir {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* texto de apoio embaixo do botão de agendamento */
.centro__nota {
  max-width: 34rem;
  margin: 1rem auto 0;
  font-size: 0.85rem;
}

/* Formas de pagamento */
.pagamentos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-top: 3.5rem;
  padding: 1.6rem 0;
  border-top: 2px solid var(--preto);
  border-bottom: 2px solid var(--preto);
  text-align: center;
}

.pagamentos__titulo {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pagamentos__lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagamentos__lista li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.pagamentos__lista .icon {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 768px) {
  .pagamentos {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ---------- Galeria ---------- */
.galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.galeria__item {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--preto);
  aspect-ratio: 1 / 1;
}

/* última foto ocupa a linha inteira no celular (fecha a grade de 2 colunas) */
.galeria__item--larga {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  transition: all 0.3s ease;
}

.galeria__item:hover img {
  transform: scale(1.03);
  filter: brightness(0.8);
}

@media (min-width: 768px) {
  .galeria {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .galeria__item--larga {
    grid-column: auto;
    aspect-ratio: 1 / 1;
  }
}

/* ---------- Contato ---------- */
.secao--contato {
  padding-bottom: 0;
}

.contato {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.infos {
  display: grid;
  gap: 2rem;
  justify-items: start;
}

.info {
  width: 100%;
  padding-top: 1.25rem;
  border-top: 3px solid var(--preto);
}

.info__titulo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.info p,
.info address {
  margin: 0 0 0.5rem;
  font-style: normal;
}

.info a {
  font-weight: 700;
  text-underline-offset: 3px;
}

.info__detalhe {
  font-size: 0.82rem;
}

.horarios {
  max-width: 22rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.horarios li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
}

.contato__foto {
  margin: 0;
}

.contato__foto img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  object-fit: cover;
  object-position: center 62%;
}

@media (min-width: 1024px) {
  .contato {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .contato__foto img {
    aspect-ratio: 4 / 5;
  }
}

/* Mapa em largura total */
.mapa {
  position: relative;
  margin-top: var(--espaco-secao);
  line-height: 0;
  background: #ECE7E0;
}

/* aparece só quando o navegador bloqueia o mapa (ex.: navegador interno do WhatsApp) */
.mapa__reserva {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  line-height: 1.6;
  text-align: center;
  color: var(--texto);
}

.mapa__reserva p {
  margin: 0;
  font-size: 0.95rem;
}

.mapa iframe {
  position: relative;
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

@media (min-width: 768px) {
  .mapa iframe {
    height: 450px;
  }
}

/* ---------- Rodapé ---------- */
.rodape {
  padding-top: 2.5rem;
  background: var(--preto);
  color: var(--branco);
}

.rodape .logo {
  --logo-bg: var(--preto);
  color: var(--branco);
}

.rodape :focus-visible {
  outline-color: var(--laranja);
}

.rodape__conteudo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.rodape__social {
  display: flex;
  gap: 0.25rem;
}

.rodape .icone-link:hover {
  background: var(--laranja);
  color: var(--preto);
}

.rodape__base {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin: 2rem 0 0;
  padding: 1.25rem var(--gutter) 5.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
}

.rodape__base p {
  margin: 0;
}

/* assinatura de quem fez o site */
.rodape__assinatura {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.rodape__assinatura a {
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.rodape__assinatura a:hover {
  color: var(--laranja);
  border-bottom-color: var(--laranja);
}

@media (min-width: 768px) {
  .rodape__base {
    flex-direction: row;
    justify-content: space-between;
    /* espaço à direita para o botão flutuante do WhatsApp não cobrir a assinatura */
    padding-right: 6rem;
  }
}

@media (min-width: 768px) {
  .rodape__conteudo {
    flex-direction: row;
    justify-content: space-between;
  }

  .rodape__base {
    padding-bottom: 1.25rem;
  }
}

/* ---------- Botão flutuante do WhatsApp ---------- */
.whats-flutuante {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 95;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--branco);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.whats-flutuante .icon {
  width: 30px;
  height: 30px;
}

.whats-flutuante:hover {
  transform: scale(1.08);
}

/* some ao chegar no rodapé, para não cobrir o texto */
.whats-flutuante.is-escondido {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  pointer-events: none;
}

@media (min-width: 768px) {
  .whats-flutuante {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
