/* ==========================================================================
   Labuka Restaurante
   Sumário
   1. Fontes e tokens
   2. Base
   3. Utilitários e componentes (botões, eyebrow, frase em destaque)
   4. Cabeçalho
   5. Hero
   6. Seções (estrutura comum)
   7. Buffet
   8. Sobremesa
   9. Delivery
   10. Avaliações
   11. Endereços
   12. Chamada final
   13. Rodapé
   14. Botão de WhatsApp
   15. Movimento
   ========================================================================== */

/* 1. Fontes e tokens
   ========================================================================== */

@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-normal-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Serif Display";
  src: url("../fonts/dm-serif-display-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-normal-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Cores extraídas do logo */
  --black: #000000;       /* fundo do logo */
  --yellow: #fcb41b;      /* colher */
  --green: #01a542;       /* faca */
  --red: #f31332;         /* garfo */

  /* Variações e neutros de apoio */
  --red-600: #d90f2b;     /* vermelho escurecido: botões */
  --red-700: #b30c24;     /* destaques de texto sobre fundo claro */
  --coal: #14110e;        /* carvão: seção escura */
  --coal-line: #2e2823;
  --paper: #fdf9f3;       /* louça e toalha das fotos */
  --sand: #f4ebdd;
  --line: #e3d6c3;
  --ink: #1a1613;
  --ink-soft: #5b5148;
  --paper-soft: #c9c0b4;  /* texto secundário sobre fundo escuro */
  --whatsapp: #25d366;    /* verde oficial do WhatsApp */

  --font-display: "DM Serif Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
  --section-space: clamp(72px, 9vw, 128px);
  --header-height: 76px;
  --radius: 8px;
  --radius-lg: 18px;
  --focus: var(--red-700);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (min-width: 980px) {
  :root {
    --header-height: 88px;
  }
}

/* 2. Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: calc(var(--header-height) + 16px);
  background: var(--black);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

strong {
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.header :focus-visible,
.hero :focus-visible,
.section--dark :focus-visible,
.closing :focus-visible,
.footer :focus-visible {
  outline-color: var(--yellow);
}

::selection {
  background: var(--yellow);
  color: var(--black);
}

/* 3. Utilitários e componentes
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

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

.nowrap {
  white-space: nowrap;
}

.icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

/* Rótulo de seção: três traços nas cores dos talheres do logo */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--red-700);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 30px;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--yellow) 0 8px,
    transparent 8px 11px,
    var(--green) 11px 19px,
    transparent 19px 22px,
    var(--red) 22px 30px
  );
}

.hero .eyebrow,
.section--dark .eyebrow {
  color: var(--yellow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn--small {
  min-height: 46px;
  padding: 8px 22px;
  font-size: 0.9375rem;
}

.btn--primary {
  background: var(--red-600);
  color: #ffffff;
}

.btn--primary:hover {
  background: var(--red-700);
}

.btn--ghost {
  border-color: var(--coal-line);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--paper);
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--yellow);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.btn--outline:hover {
  border-color: #ffffff;
}

/* Frase de cliente em destaque */
.pull {
  margin-top: 36px;
  padding-left: 22px;
  border-left: 3px solid var(--yellow);
}

.pull blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  font-style: italic;
  line-height: 1.2;
}

.pull blockquote p::before {
  content: "\201C";
}

.pull blockquote p::after {
  content: "\201D";
}

.pull figcaption {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* 4. Cabeçalho
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid var(--coal-line);
  color: var(--paper);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}

.header__logo,
.footer__logo {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

/* o logo é um círculo preto com os talheres no centro: sobre o fundo preto
   só os talheres aparecem, por isso a imagem é maior que o espaço que ocupa */
.header__logo img,
.footer__logo img {
  width: 70px;
  height: 70px;
  margin: 0 -8px 0 -17px;
}

.header__name {
  font-family: var(--font-display);
  font-size: 1.625rem;
  line-height: 1;
}

.header__name span {
  display: block;
  margin-top: 4px;
  color: var(--paper-soft);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header__toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 8px 18px;
  border: 1.5px solid var(--coal-line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.header__toggle-icon {
  display: grid;
  gap: 6px;
  width: 20px;
}

.header__toggle-icon span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s var(--ease);
}

.header__toggle[aria-expanded="true"] .header__toggle-icon span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.header__toggle[aria-expanded="true"] .header__toggle-icon span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 32px;
  padding-block: 12px;
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
}

.nav__list a {
  display: inline-block;
  padding-block: 10px;
  color: var(--paper-soft);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.nav__list a:hover {
  color: var(--yellow);
}

@media (max-width: 1059px) {
  .js .header__toggle {
    display: inline-flex;
  }

  .js .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    padding: 12px var(--gutter) 28px;
    background: var(--black);
    border-bottom: 1px solid var(--coal-line);
  }

  .js .nav.is-open {
    display: flex;
  }

  .js .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .js .nav__list a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding-block: 0;
    border-bottom: 1px solid var(--coal-line);
    color: var(--paper);
    font-size: 1.0625rem;
  }

  .js .nav__cta {
    width: 100%;
    min-height: 56px;
  }
}

@media (min-width: 980px) {
  .header__logo img {
    width: 80px;
    height: 80px;
    margin-left: -20px;
  }
}

/* 5. Hero
   ========================================================================== */

.hero {
  padding-top: clamp(40px, 6vw, 80px);
  background: var(--black);
  color: var(--paper);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 48px;
}

.hero__title {
  margin-top: 20px;
  font-family: var(--font-display);
  /* a linha em itálico mede 8,5em: o tamanho acompanha a largura da coluna */
  font-size: clamp(1.875rem, 11.3vw - 5px, 3.75rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.005em;
}

.hero__title em,
.section__title em,
.closing__title em {
  display: block;
  font-style: italic;
  color: var(--yellow);
}

.hero__lead {
  max-width: 33em;
  margin-top: 24px;
  color: var(--paper-soft);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__figure {
  justify-self: center;
  width: min(100% - 14px, 440px);
}

.hero__frame {
  position: relative;
}

/* filete deslocado, na cor da brasa */
.hero__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--yellow);
  border-radius: var(--radius-lg);
  transform: translate(14px, 14px);
}

.hero__frame img {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.facts {
  display: grid;
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--coal-line);
}

.facts__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-block: 20px;
  border-bottom: 1px solid var(--coal-line);
}

.facts__label {
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.facts__value {
  font-family: var(--font-display);
  font-size: 1.4375rem;
  line-height: 1.2;
}

@media (max-width: 479px) {
  .hero__actions .btn {
    width: 100%;
  }
}

@media (min-width: 700px) {
  .facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .facts__item {
    padding: 26px 24px 30px 0;
    border-bottom: 0;
  }

  .facts__item + .facts__item {
    padding-left: 24px;
    border-left: 1px solid var(--coal-line);
  }
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(48px, 6vw, 96px);
  }

  .hero__title {
    font-size: clamp(3rem, 3.2vw + 21px, 4.25rem);
  }

  .hero__figure {
    justify-self: end;
    width: min(100% - 18px, 470px);
    margin-right: 18px;
  }

  .hero__frame::before {
    transform: translate(18px, 18px);
  }
}

/* 6. Seções
   ========================================================================== */

.section {
  padding-block: var(--section-space);
}

.section--paper {
  background: var(--paper);
}

.section--sand {
  background: var(--sand);
}

.section--dark {
  background: var(--coal);
  color: var(--paper);
}

.section__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.6rem + 3vw, 3.875rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.section--paper .section__title em,
.section--sand .section__title em {
  color: var(--red-700);
}

.section__lead {
  max-width: 34em;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

.section--dark .section__lead {
  color: var(--paper-soft);
}

/* 7. Buffet
   ========================================================================== */

.buffet__grid {
  display: grid;
  gap: 56px;
}

.details {
  display: grid;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.details__item {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}

.details dt {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
}

.details dd {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.buffet__photos {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
}

.buffet__photo img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.buffet__photo--1 {
  grid-column: 1 / span 10;
  grid-row: 1;
}

.buffet__photo--2 {
  position: relative;
  grid-column: 7 / span 6;
  grid-row: 1;
  margin-bottom: -36px;
}

.buffet__photo--2 img {
  border: 6px solid var(--paper);
}

@media (min-width: 600px) {
  .details {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }
}

@media (min-width: 900px) {
  .buffet__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(48px, 7vw, 104px);
  }

  .buffet__photo--2 {
    margin-bottom: -48px;
  }

  .buffet__photo--2 img {
    border-width: 8px;
  }
}

/* 8. Sobremesa
   ========================================================================== */

.dessert__grid {
  display: grid;
  gap: 48px;
}

.dessert__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

.dessert__photo img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.dessert__photo--2 {
  margin-top: 40px;
}

@media (min-width: 900px) {
  .dessert__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: clamp(48px, 7vw, 104px);
  }

  .dessert__photos {
    gap: 22px;
  }

  .dessert__photo--2 {
    margin-top: 64px;
  }
}

/* 9. Delivery
   ========================================================================== */

.delivery__grid {
  display: grid;
  gap: 48px;
}

.delivery__actions {
  margin-top: 32px;
}

.delivery__hint {
  margin-top: 16px;
  color: var(--paper-soft);
  font-size: 0.875rem;
}

.options {
  border-top: 1px solid var(--coal-line);
}

.option {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  column-gap: 12px;
  align-items: center;
  padding-block: 26px;
  border-bottom: 1px solid var(--coal-line);
}

.option__number {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1;
}

.option__number .icon {
  width: 24px;
  height: 24px;
}

.option__title {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1.15;
}

.option__text {
  margin-top: 4px;
  color: var(--paper-soft);
}

@media (max-width: 479px) {
  .delivery__actions .btn {
    width: 100%;
  }
}

@media (min-width: 900px) {
  .delivery__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(48px, 7vw, 112px);
  }
}

/* 10. Avaliações
   ========================================================================== */

.reviews__header {
  display: grid;
  gap: 28px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rating__number {
  color: var(--red-700);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2.8rem + 3vw, 5rem);
  line-height: 0.9;
}

.rating__text {
  max-width: 11em;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.4;
}

.reviews__grid {
  display: grid;
  gap: 0 56px;
  margin-top: clamp(40px, 5vw, 64px);
}

.review {
  padding-block: 28px;
  border-top: 1px solid var(--line);
}

.review blockquote p {
  font-size: 1.0625rem;
}

.review--featured {
  padding-top: 0;
  padding-bottom: 44px;
  border-top: 0;
}

.review--featured blockquote p {
  max-width: 26em;
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.3rem + 1.6vw, 2.5rem);
  font-style: italic;
  line-height: 1.2;
  text-wrap: balance;
}

.review--featured blockquote p::before {
  content: "\201C";
}

.review--featured blockquote p::after {
  content: "\201D";
}

.review__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.review__author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.review__name {
  font-weight: 700;
}

@media (min-width: 700px) {
  .reviews__grid {
    grid-template-columns: 1fr 1fr;
  }

  .review--featured {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .reviews__header {
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 48px;
  }
}

/* 11. Endereços
   ========================================================================== */

.units__hours {
  max-width: 34em;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

.units__hours strong {
  color: var(--ink);
}

.units__grid {
  display: grid;
  gap: 40px;
  margin-top: clamp(36px, 5vw, 56px);
}

.units__list {
  border-top: 1px solid var(--line);
}

.unit {
  position: relative;
  padding: 24px 0 24px 20px;
  border-bottom: 1px solid var(--line);
}

/* marcador da unidade que está no mapa */
.unit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 3px;
  background: var(--line);
  transition: background-color 0.2s var(--ease);
}

.unit.is-active::before {
  background: var(--red-600);
}

.unit__name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.15;
}

.unit__address {
  margin-top: 4px;
  color: var(--ink-soft);
}

.unit__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 14px;
}

.unit__show {
  min-height: 40px;
  padding: 6px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.unit__show:hover,
.unit__show[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

.unit__route {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: var(--red-700);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
}

.unit__route:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.map {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  aspect-ratio: 4 / 3;
  border: 0;
}

@media (min-width: 900px) {
  .units__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: stretch;
    gap: clamp(40px, 6vw, 88px);
  }

  .map iframe {
    aspect-ratio: auto;
  }
}

/* 12. Chamada final
   ========================================================================== */

.closing {
  padding-block: var(--section-space);
  background: var(--red-700);
  color: #ffffff;
  text-align: center;
}

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

.closing__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1.6rem + 4vw, 4.75rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.005em;
}

.closing__text {
  max-width: 32em;
  margin-top: 22px;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

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

@media (max-width: 479px) {
  .closing__actions,
  .closing__actions .btn {
    width: 100%;
  }
}

/* 13. Rodapé
   ========================================================================== */

.footer {
  padding-top: 56px;
  background: var(--black);
  color: var(--paper-soft);
  font-size: 0.9375rem;
}

.footer__grid {
  display: grid;
  gap: 40px;
}

.footer__logo {
  color: var(--paper);
}

.footer__brand p {
  max-width: 22em;
  margin-top: 14px;
}

.footer__heading {
  margin-bottom: 12px;
  color: var(--yellow);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer a:hover {
  color: var(--yellow);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  /* a folga na base deixa o botão de WhatsApp livre do texto */
  padding-block: 20px 88px;
  border-top: 1px solid var(--coal-line);
  font-size: 0.8125rem;
}

@media (min-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .footer__grid {
    grid-template-columns: 1.3fr 1.1fr 1.1fr 0.9fr;
    gap: 48px;
  }
}

/* 14. Botão de WhatsApp
   ========================================================================== */

.whats-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 95;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.whats-float:hover {
  background: #4be083;
  transform: translateY(-2px);
}

.whats-float:focus-visible {
  outline-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 6px var(--ink);
}

.whats-float .icon {
  width: 28px;
  height: 28px;
}

@media (min-width: 900px) {
  .whats-float {
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
  }
}

/* 15. Movimento
   ========================================================================== */

.motion-ok [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.motion-ok [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

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

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

  .whats-float:hover {
    transform: none;
  }
}
