/* ==========================================================================
   Viva Baby
   Sumário
   1. Fontes e tokens
   2. Base
   3. Utilitários e componentes (botões, links, eyebrow)
   4. Cabeçalho
   5. Hero
   6. Seções (estrutura comum)
   7. Quartos
   8. Berço 3 em 1
   9. Produtos
   10. Avaliações
   11. Onde fica
   12. Chamada final
   13. Rodapé
   14. Botão de WhatsApp
   15. Movimento
   ========================================================================== */

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

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

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

:root {
  /* Cores extraídas do logo */
  --pink: #fb306b;
  --green: #53b627;
  --blue: #009be4;
  --orange: #fc5f15;
  --yellow: #fcbc02;

  /* Variações e neutros de apoio. As cores do logo são vivas demais para
     texto e botões: as versões escurecidas garantem o contraste. */
  --blue-700: #0072ad;    /* botões e links */
  --blue-800: #005a8a;
  --pink-700: #c9114a;    /* destaques dos títulos */
  --blue-50: #e4f3fc;
  --pink-50: #fde9ef;
  --yellow-50: #fff4d6;
  --cream: #fffaf5;
  --white: #ffffff;
  --line: #ebe2d8;
  --ink: #26304a;
  --ink-900: #1b2238;
  --ink-line: #3a4565;
  --ink-soft: #5b6480;
  --cream-soft: #c4cbe0;  /* texto secundário sobre fundo escuro */
  --whatsapp: #25d366;    /* verde oficial do WhatsApp */

  --font-display: "Fredoka", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
  --section-space: clamp(72px, 9vw, 128px);
  --header-height: 72px;
  --radius: 999px;
  --radius-photo: 24px;
  --shadow: 0 18px 44px rgba(38, 48, 74, 0.12);
  --focus: var(--blue-700);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

/* 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);
}

body {
  margin: 0;
  background: var(--cream);
  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,
ul,
ol {
  margin: 0;
}

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

address {
  font-style: normal;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

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

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

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

/* 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(--ink);
  color: var(--white);
  font-weight: 700;
  border-radius: 12px;
  transform: translateY(-200%);
}

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

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

.eyebrow::before {
  content: "";
  flex: none;
  width: 38px;
  height: 10px;
  background:
    radial-gradient(circle 5px at 5px 5px, var(--pink) 96%, transparent),
    radial-gradient(circle 5px at 19px 5px, var(--yellow) 96%, transparent),
    radial-gradient(circle 5px at 33px 5px, var(--blue) 96%, transparent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 30px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 800;
  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(--blue-700);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--blue-800);
}

.btn--ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

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

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

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

.btn--outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn--outline:hover {
  border-color: var(--white);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--blue-700);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.link-arrow .icon {
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover .icon {
  transform: translateX(4px);
}

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

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

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

.header__logo {
  flex: none;
  display: flex;
  align-items: center;
  min-height: 44px;
}

.header__logo img {
  width: clamp(140px, 42vw, 176px);
  height: auto;
}

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

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

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

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

.header__toggle[aria-expanded="true"] .header__toggle-icon span:last-child {
  transform: translateY(-4px) 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(--ink-soft);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

@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(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(38, 48, 74, 0.08);
  }

  .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(--line);
    color: var(--ink);
    font-size: 1.0625rem;
  }

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

@media (min-width: 980px) {
  .header__logo img {
    width: 204px;
  }
}

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

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

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

.hero__title {
  margin-top: 20px;
  font-family: var(--font-display);
  /* cada linha mede cerca de 8,9em: o tamanho acompanha a largura da coluna */
  font-size: clamp(1.875rem, 11vw - 5px, 3.5rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
}

.hero__title em,
.section__title em,
.closing__title em {
  display: block;
  font-style: normal;
  color: var(--pink-700);
}

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

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

.hero__media {
  position: relative;
  justify-self: center;
  width: min(100% - 20px, 420px);
  margin-bottom: 28px;
}

/* painel amarelo claro deslocado atrás da foto */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 32px -20px -20px 32px;
  border-radius: var(--radius-photo);
  background: var(--yellow-50);
}

.hero__photo {
  position: relative;
}

.hero__photo img {
  width: 100%;
  border-radius: var(--radius-photo);
}

.hero__badge {
  position: absolute;
  left: -12px;
  bottom: -28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px 14px 20px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero__badge-number {
  color: var(--pink-700);
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1;
}

.hero__badge-text {
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.3;
}

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

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

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

.facts__value {
  font-family: var(--font-display);
  font-size: 1.4375rem;
  font-weight: 500;
  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(--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(2.75rem, 3.1vw + 19px, 4rem);
  }

  .hero__media {
    justify-self: end;
    width: min(100% - 24px, 440px);
    margin-right: 24px;
  }

  .hero__media::before {
    inset: 40px -24px -24px 40px;
  }

  .hero__badge {
    left: -36px;
    bottom: 36px;
  }
}

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

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

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

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

.section--blue {
  background: var(--blue-50);
}

.section--pink {
  background: var(--pink-50);
}

.section__header {
  max-width: 44rem;
}

.section__intro {
  display: grid;
  gap: 8px;
}

.section__intro .section__lead {
  margin-top: 16px;
}

.section__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 1.5rem + 2.8vw, 3.625rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

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

@media (min-width: 900px) {
  .section__intro {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: end;
    gap: clamp(40px, 6vw, 96px);
  }

  .section__intro .section__lead {
    margin-top: 0;
  }
}

/* 7. Quartos
   ========================================================================== */

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

.room img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-photo);
}

.room figcaption {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.25;
}

.rooms__actions {
  margin-top: clamp(28px, 4vw, 44px);
}

@media (min-width: 600px) {
  .rooms__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 22px;
  }
}

@media (min-width: 900px) {
  .rooms__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: start;
  }

  /* a coluna do meio começa mais abaixo, em degrau */
  .room:nth-child(2) {
    margin-top: 56px;
  }
}

/* 8. Berço 3 em 1
   ========================================================================== */

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

.stage {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 28px 30px;
  border-radius: var(--radius-photo);
  background: var(--white);
}

/* As imagens desta seção têm cerca de 440 px de largura. A altura fixa
   mantém as três peças alinhadas e abaixo do tamanho original. */
.stage picture {
  display: grid;
  place-items: center;
  height: 210px;
}

.stage img {
  width: auto;
  max-width: 100%;
  max-height: 210px;
}

.stage__number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: 22px;
  border-radius: 50%;
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}

/* o rosa puro do logo não tem contraste para o número branco */
.stage:nth-child(2) .stage__number {
  background: var(--pink-700);
  color: var(--white);
}

.stage:nth-child(3) .stage__number {
  background: var(--blue-700);
  color: var(--white);
}

.stage__title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1.15;
}

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

.convertible__actions {
  margin-top: clamp(32px, 4vw, 48px);
}

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

@media (min-width: 800px) {
  .stages {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* 9. Produtos
   ========================================================================== */

.products__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: clamp(40px, 5vw, 64px);
}

.product {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-photo);
  background: var(--white);
  box-shadow: 0 2px 0 var(--line);
  text-decoration: none;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.product:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product picture {
  display: block;
  overflow: hidden;
}

.product img {
  width: 100%;
  transition: transform 0.5s var(--ease);
}

.product:hover img {
  transform: scale(1.04);
}

.product__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 16px 18px;
}

.product__name {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 500;
  line-height: 1.15;
}

.product__text {
  flex: 1;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.product__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--blue-700);
  font-size: 0.9375rem;
  font-weight: 800;
}

.product__cta-more {
  display: none;
}

.product__cta .icon {
  transition: transform 0.2s var(--ease);
}

.product:hover .product__cta .icon {
  transform: translateX(4px);
}

.products__note {
  max-width: 46em;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

/* Produtos com foto pequena: aparecem como miniaturas */
.extras {
  display: grid;
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.extras__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  font-weight: 500;
  line-height: 1.15;
}

.extras__list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.extra {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 26px 12px 12px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 2px 0 var(--line);
}

.extra img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 12px;
}

.extra__name {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.2;
}

.extras__text {
  color: var(--ink-soft);
}

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

@media (min-width: 600px) {
  .products__grid {
    gap: 22px;
  }

  .product__body {
    padding: 22px 24px 24px;
  }

  .product__name {
    font-size: 1.625rem;
  }

  .product__cta-more {
    display: inline;
  }
}

@media (min-width: 900px) {
  .products__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }

  .extras {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px 48px;
  }

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

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

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

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

.rating__number {
  color: var(--pink-700);
  font-family: var(--font-display);
  font-size: clamp(4rem, 3rem + 4vw, 6rem);
  font-weight: 600;
  line-height: 0.8;
}

.rating__text {
  max-width: 7em;
  color: var(--ink-soft);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

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

.review {
  display: flex;
  flex-direction: column;
  padding: 32px 30px 28px;
  border-radius: var(--radius-photo);
  background: var(--white);
}

.review blockquote {
  flex: 1;
}

.review blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.4rem + 1vw, 2.125rem);
  font-weight: 500;
  line-height: 1.2;
  text-wrap: balance;
}

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

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

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

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

.review__name {
  font-weight: 800;
}

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

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

/* 11. Onde fica
   ========================================================================== */

.visit__grid {
  display: grid;
  gap: 44px;
}

.contacts {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.contacts a {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 4px 14px;
  min-height: 68px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.contacts a:hover {
  color: var(--blue-700);
}

.contacts .icon {
  width: 22px;
  height: 22px;
  color: var(--blue-700);
}

.contacts__label {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

.contacts__value {
  font-weight: 800;
  text-align: right;
}

.visit__hint {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 0.875rem;
}

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

.map iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border: 0;
  background: var(--cream);
}

.map__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  border-top: 1px solid var(--line);
  color: var(--blue-700);
  font-size: 0.9375rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 0.2s var(--ease);
}

.map__link:hover {
  background: var(--blue-50);
}

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

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

.closing {
  padding-block: var(--section-space);
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

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

.closing__title {
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 1.4rem + 3.2vw, 4rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.closing__title em {
  color: var(--yellow);
}

.closing__text {
  max-width: 32em;
  margin-top: 22px;
  color: var(--cream-soft);
  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: 64px;
  background: var(--ink-900);
  color: var(--cream-soft);
  font-size: 0.9375rem;
}

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

.footer__brand img {
  width: 196px;
  height: auto;
}

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

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

.footer a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  color: var(--white);
  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(--ink-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.4fr 1fr 1fr 1fr;
    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-900);
  box-shadow: 0 10px 26px rgba(27, 34, 56, 0.28);
  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: var(--white);
  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;
  }

  .product:hover,
  .product:hover img,
  .whats-float:hover {
    transform: none;
  }
}
