/* ==========================================================================
   Studio Ratier
   Sumário
   1. Fontes e tokens
   2. Base
   3. Utilitários e componentes (botões, eyebrow, assinatura, moldura de unha)
   4. Cabeçalho
   5. Hero
   6. Seções (estrutura comum)
   7. Serviços
   8. Trabalhos
   9. Formatos
   10. Quem faz
   11. Onde fica
   12. Chamada final
   13. Rodapé
   14. Botão de WhatsApp
   15. Movimento
   ========================================================================== */

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

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

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

:root {
  /* O studio não tem logo. A paleta vem das fotos dos trabalhos. */
  --wine: #7a1f33;        /* vermelho das unhas com cereja */
  --wine-900: #3a0e19;    /* vinho escuro, para seções de contraste */
  --wine-line: #5c2230;
  --nude: #f7efea;        /* base nude das unhas */
  --blush: #efdcd3;       /* rosado das unhas em tom natural */
  --white: #fffaf7;
  --gold: #a87b2f;        /* dourado dos relevos, só em filetes */
  --gold-300: #d9b36c;    /* dourado claro, sobre fundo escuro */
  --line: #e2cfc5;
  --ink: #2a1519;
  --ink-soft: #6a5358;
  --nude-soft: #d9bfc0;   /* texto secundário sobre fundo escuro */
  --whatsapp: #25d366;    /* verde oficial do WhatsApp */

  --font-display: "Marcellus", "Optima", "Palatino Linotype", Georgia, serif;
  --font-body: "Jost", "Century Gothic", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
  --section-space: clamp(72px, 9vw, 128px);
  --header-height: 76px;
  --radius: 999px;
  --radius-photo: 20px;
  --focus: var(--wine);
  --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);
}

body {
  margin: 0;
  background: var(--nude);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  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: 4px;
}

.section--wine :focus-visible,
.closing :focus-visible,
.footer :focus-visible {
  outline-color: var(--gold-300);
}

::selection {
  background: var(--wine);
  color: var(--white);
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--wine);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* filete dourado, como os relevos das unhas */
.eyebrow::before {
  content: "";
  flex: none;
  width: 32px;
  height: 1.5px;
  background: var(--gold);
}

.section--wine .eyebrow {
  color: var(--gold-300);
}

.section--wine .eyebrow::before {
  background: var(--gold-300);
}

.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: 1.0625rem;
  font-weight: 600;
  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: 1rem;
}

.btn--primary {
  background: var(--wine);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--wine-900);
}

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

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

.btn--light {
  background: var(--nude);
  color: var(--wine-900);
}

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

.btn--outline {
  border-color: rgba(247, 239, 234, 0.5);
  color: var(--nude);
}

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--wine);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
}

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

.link-arrow:hover .icon:last-of-type {
  transform: translateX(3px);
}

/* Assinatura da página: o studio não tem logo, então o nome é composto em
   tipografia, com a letra R dentro de uma unha amendoada. */
.brand {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--wine);
  text-decoration: none;
}

.brand__mark {
  width: 30px;
  height: 44px;
}

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

.brand__name span {
  display: block;
  margin-bottom: 4px;
  color: var(--wine);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* Moldura em forma de unha amendoada */
.nail {
  position: relative;
}

.nail img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px 40px 40px;
  clip-path: url("#amendoa");
}

.nail__line {
  position: absolute;
  inset: -12px;
  width: calc(100% + 24px);
  max-width: none;
  height: calc(100% + 24px);
  overflow: visible;
  color: var(--gold);
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nude);
  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__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: transparent;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  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(--ink-soft);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

@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(--nude);
    border-bottom: 1px solid var(--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(--line);
    color: var(--ink);
    font-size: 1.125rem;
  }

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

/* 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);
  /* o tamanho acompanha a largura da coluna, para as linhas não quebrarem */
  font-size: clamp(2.5rem, 13vw, 3.5rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.hero__title > span {
  display: block;
}

@media (min-width: 600px) {
  .hero__title {
    font-size: clamp(3rem, 8.6vw, 3.5rem);
  }

  .hero__title > span {
    display: inline;
  }
}

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

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

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

.hero__media {
  position: relative;
  justify-self: center;
  width: min(100% - 24px, 380px);
  margin-top: 12px;
}

.hero__nail img {
  object-position: 50% 40%;
}

/* retrato da nail designer, sobreposto à foto */
.hero__portrait {
  position: absolute;
  left: -12px;
  bottom: 4%;
  width: 34%;
  padding: 5px;
  border-radius: 50%;
  background: var(--nude);
}

.hero__portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 50%;
}

.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(--wine);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  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(--line);
  }
}

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

  .hero__title {
    font-size: clamp(2.625rem, 5.33vw - 5px, 3.625rem);
  }

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

  .hero__portrait {
    left: -44px;
  }
}

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

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

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

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

.section--wine {
  background: var(--wine-900);
  color: var(--nude);
}

.section__header {
  max-width: 44rem;
}

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

.section--wine .section__title em {
  color: var(--gold-300);
}

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

.section--wine .section__lead {
  color: var(--nude-soft);
}

/* 7. Serviços
   ========================================================================== */

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

.service__photo img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-photo);
}

.service:first-child .service__photo img {
  object-position: 60% 40%;
}

.service--offset .service__photo img {
  object-position: 50% 58%;
}

.service__body {
  padding-top: 26px;
}

/* o dourado não tem contraste para texto pequeno: fica só nos filetes */
.service__number {
  display: block;
  color: var(--wine);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.service__title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 1.6rem + 1.2vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.service__text {
  max-width: 28em;
  margin-top: 12px;
  color: var(--ink-soft);
}

.service .link-arrow {
  margin-top: 14px;
}

@media (min-width: 800px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
  }

  /* a segunda coluna começa mais abaixo, em degrau */
  .service--offset {
    margin-top: 88px;
  }
}

/* 8. Trabalhos
   ========================================================================== */

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

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

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

.work__item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-photo);
}

.work__item:nth-child(1) img {
  object-position: 50% 80%;
}

.work__item:nth-child(3) img {
  object-position: 50% 60%;
}

.work__item:nth-child(4) img {
  object-position: 70% 40%;
}

.work__item:nth-child(even) {
  margin-top: 32px;
}

.work__item figcaption {
  margin-top: 14px;
  color: var(--nude-soft);
  font-size: 0.9375rem;
}

.work__footer {
  margin-top: clamp(36px, 5vw, 56px);
}

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

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

  .work__item:nth-child(even) {
    margin-top: 56px;
  }
}

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

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

/* 9. Formatos
   ========================================================================== */

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

/* no celular, três formatos na primeira linha e dois na segunda */
.shapes__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px 0;
  align-items: flex-end;
}

.shape {
  width: 33.33%;
}

.shape {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.shape__art {
  width: min(70%, 92px);
  height: auto;
  overflow: visible;
}

.shape__nail {
  fill: var(--blush);
  stroke: var(--wine);
  stroke-width: 1.5;
  stroke-linejoin: round;
}

.shape__shine {
  fill: none;
  stroke: var(--white);
  stroke-width: 3;
  stroke-linecap: round;
}

.shape__name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (min-width: 600px) {
  .shapes__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    align-items: end;
  }

  .shape {
    width: auto;
  }
}

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

/* 10. Quem faz
   ========================================================================== */

.about__grid {
  display: grid;
  gap: 64px;
}

.about__nail {
  justify-self: center;
  width: min(100% - 24px, 340px);
  margin-top: 12px;
}

.about__nail img {
  object-position: 50% 0%;
}

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

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

.step__number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  color: var(--wine);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
}

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

.step__text {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.about__actions {
  margin-top: 24px;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(56px, 8vw, 120px);
  }

  .about__nail {
    justify-self: start;
    width: min(100% - 24px, 380px);
    margin-left: 12px;
  }
}

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

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

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

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

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

.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;
}

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

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

@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(--wine);
  color: var(--white);
  text-align: center;
}

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

.closing__mark {
  width: 38px;
  height: 56px;
  margin-bottom: 28px;
  color: var(--wine-900);
}

.closing__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.5rem + 3.4vw, 4.25rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

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

.closing__text {
  max-width: 30em;
  margin-top: 22px;
  color: var(--blush);
  font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
}

.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(--wine-900);
  color: var(--nude-soft);
  font-size: 1rem;
}

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

.brand--footer {
  color: var(--gold-300);
}

.brand--footer .brand__name {
  color: var(--nude);
}

.brand--footer .brand__name span {
  color: var(--gold-300);
}

.footer__brand p {
  max-width: 20em;
  margin-top: 16px;
}

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

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

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

.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(--wine-line);
  font-size: 0.875rem;
}

@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);
  box-shadow: 0 10px 26px rgba(42, 21, 25, 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;
  }

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