/* ==========================================================
   SJ LAVAGEM A SECO
   CSS PRINCIPAL
========================================================== */

/* ==========================================================
   01. VARIÁVEIS
========================================================== */
:root {
  --bg: #070b0d;
  --bg-soft: #0d1316;
  --bg-card: #11191d;
  --bg-card-2: #162126;

  --text: #f7fafb;
  --text-soft: #aebbc1;
  --text-muted: #7f9098;

  --primary: #19c7b5;
  --primary-dark: #11998a;
  --primary-soft: rgba(25, 199, 181, 0.14);

  --white: #ffffff;
  --black: #000000;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 12px 38px rgba(0, 0, 0, 0.24);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --container: 1180px;
  --header-height: 86px;

  --transition: 0.28s ease;
}

/* ==========================================================
   02. RESET
========================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

svg {
  display: block;
}

::selection {
  background: var(--primary);
  color: #04110f;
}

/* ==========================================================
   03. UTILITÁRIOS
========================================================== */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 110px 0;
}

.section--dark {
  background:
    radial-gradient(
      circle at top right,
      rgba(25, 199, 181, 0.08),
      transparent 28%
    ),
    var(--bg-soft);
}

.section--black {
  background:
    radial-gradient(
      circle at bottom left,
      rgba(25, 199, 181, 0.055),
      transparent 28%
    ),
    #050809;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 10px 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading p {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.03rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

/* ==========================================================
   04. BOTÕES
========================================================== */
.button {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 800;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, var(--primary), #2be2ce);
  color: #04110f;
  box-shadow: 0 14px 34px rgba(25, 199, 181, 0.24);
}

.button--primary:hover {
  box-shadow: 0 18px 40px rgba(25, 199, 181, 0.34);
}

.button--outline {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.button--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
}

.button--white {
  background: var(--white);
  color: #07110f;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

/* ==========================================================
   05. HEADER
========================================================== */
.mv-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(7, 11, 13, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  transition:
    background var(--transition),
    box-shadow var(--transition);
}

.mv-header.is-scrolled {
  background: rgba(7, 11, 13, 0.94);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.26);
}

.mv-header__container {
  width: min(calc(100% - 40px), var(--container));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.mv-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.mv-header__logo {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.03)
    ),
    var(--primary-soft);
  border: 1px solid rgba(25, 199, 181, 0.34);
  color: var(--primary);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.mv-header__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.mv-header__brand-text strong {
  font-size: 0.96rem;
  font-weight: 800;
}

.mv-header__brand-text span {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.73rem;
  font-weight: 600;
}

.mv-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.mv-header__nav a {
  position: relative;
  padding: 12px 0;
  color: #d8e1e4;
  font-size: 0.87rem;
  font-weight: 700;
  transition: color var(--transition);
}

.mv-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
  transition: right var(--transition);
}

.mv-header__nav a:hover {
  color: var(--white);
}

.mv-header__nav a:hover::after {
  right: 0;
}

.mv-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================
   INSTAGRAM HEADER
========================================================== */

.mv-header__instagram {
  width: 44px;
  height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 44px;

  border-radius: 50%;

  background: rgba(7, 11, 13, 0.82);

  border: 1px solid rgba(255, 255, 255, 0.1);

  color: #d8e1e4;

  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.mv-header__instagram svg {
  width: 20px;
  height: 20px;

  fill: currentColor;

  display: block;
}

.mv-header__instagram:hover {
  transform: translateY(-2px);

  background: rgba(7, 11, 13, 0.96);

  border-color: rgba(25, 199, 181, 0.45);

  color: var(--primary);

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.mv-header__whatsapp {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #05110f;
  font-size: 0.84rem;
  font-weight: 900;
  transition:
    transform var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.mv-header__whatsapp:hover {
  transform: translateY(-2px);
  background: #2ce1ce;
  box-shadow: 0 12px 28px rgba(25, 199, 181, 0.24);
}

.mv-header__menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.mv-header__menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--white);
  transition: var(--transition);
}

.mv-header__menu-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mv-header__menu-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.mv-header__menu-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mv-mobile-menu {
  display: none;
}

/* ==========================================================
   HERO
========================================================== */

.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #071012;
}

/* IMAGEM APENAS DO LADO DIREITO */
.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 52%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* DEGRADÊ ENTRE TEXTO E IMAGEM */
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    #071012 0%,
    #071012 42%,
    rgba(7, 16, 18, 0.96) 47%,
    rgba(7, 16, 18, 0.55) 56%,
    rgba(7, 16, 18, 0.08) 72%,
    transparent 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  padding-top: 125px;
  padding-bottom: 70px;
}

.hero__copy {
  width: 48%;
  max-width: 560px;
}

/* TEXTO PEQUENO SUPERIOR */
.hero .eyebrow {
  margin-bottom: 17px;
  color: #22cbbf;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.hero .eyebrow::before {
  width: 25px;
  background: #22cbbf;
}

/* TÍTULO */
.hero__copy h1 {
  margin: 0;
  max-width: 540px;
  color: #ffffff;
  font-size: clamp(3.2rem, 4.6vw, 4.7rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero__copy h1 span {
  display: block;
  margin-top: 5px;
  color: #22cbbf;
  background: none;
  -webkit-text-fill-color: initial;
}

/* SUBTÍTULO DENTRO DO H1 */
.hero__copy h1 small {
  display: block;
  margin-top: 14px;
  color: #ffffff;
  font-size: 0.42em;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

/* DESCRIÇÃO */
.hero__copy > p {
  max-width: 520px;
  margin: 23px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  line-height: 1.7;
}

/* BOTÕES */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 27px;
}

.hero__actions .button {
  min-height: 48px;
  padding: 0 21px;
  font-size: 0.84rem;
}

.hero__actions .button--primary {
  background: #22cbbf;
  color: #041619;
  box-shadow: 0 12px 28px rgba(34, 203, 191, 0.2);
}

.hero__actions .button--outline {
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================
   BENEFÍCIOS - TODOS EM UMA ÚNICA LINHA
========================================================== */

.hero__benefits {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 27px;
}

.hero-benefit {
  flex: 1 1 0;
  min-width: 0;
  min-height: 36px;
  padding: 0 10px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);

  color: rgba(255, 255, 255, 0.82);
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero-benefit strong {
  color: #22cbbf;
  font-size: 0.8rem;
}

/* ==========================================================
   07. CARDS DE SOLUÇÕES
========================================================== */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.image-card {
  position: relative;
  min-height: 430px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.image-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.image-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 8, 10, 0.06) 20%, rgba(4, 8, 10, 0.9) 100%),
    linear-gradient(120deg, rgba(25, 199, 181, 0.02), rgba(0, 0, 0, 0.12));
}

.image-card__content {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
}

.image-card__content span {
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.image-card__content h3 {
  margin: 8px 0 8px;
  font-size: 1.55rem;
  line-height: 1.12;
}

.image-card__content p {
  margin: 0;
  color: #c9d4d7;
  font-size: 0.92rem;
}

.image-card:hover img {
  transform: scale(1.055);
}

/* ==========================================================
   08. ANTES E DEPOIS
========================================================== */
.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.before-after + .before-after {
  margin-top: 18px;
}

.before-after__card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.before-after__card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.before-after__card:hover img {
  transform: scale(1.025);
}

.before-after__label {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  min-width: 74px;
  padding: 9px 13px;
  border-radius: 999px;
  text-align: center;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.before-after__label--before {
  background: rgba(5, 10, 12, 0.78);
  color: #e9f0f2;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.before-after__label--after {
  background: var(--primary);
  color: #04110f;
}

/* ==========================================================
   09. SERVIÇOS
========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 245px;
  padding: 28px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.service-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -55px;
  bottom: -55px;
  border-radius: 50%;
  background: rgba(25, 199, 181, 0.08);
  filter: blur(12px);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(25, 199, 181, 0.3);
  background: var(--bg-card-2);
  box-shadow: var(--shadow-soft);
}

.service-card__number {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.18;
}

.service-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.91rem;
}

/* ==========================================================
   10. SOBRE
========================================================== */
.about {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 72px;
  align-items: center;
}

.about__content h2 {
  margin: 10px 0 20px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.about__content > p {
  margin: 0 0 16px;
  color: var(--text-soft);
}

.about__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.about__features > div {
  min-height: 104px;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
}

.about__features strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
  font-size: 0.89rem;
}

.about__features strong::first-letter {
  color: var(--primary);
}

.about__features span {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.about__content .section-cta {
  justify-content: flex-start;
  margin-top: 26px;
}

.about__image {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about__image::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 68%, rgba(0, 0, 0, 0.25) 100%),
    linear-gradient(120deg, rgba(25, 199, 181, 0.06), transparent 45%);
}

.about__image img {
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

/* ==========================================================
   11. PORTFÓLIO
========================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.portfolio-item {
  position: relative;
  padding: 0;
  aspect-ratio: 1 / 0.85;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.portfolio-item::after {
  content: "+";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(5, 11, 13, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 400;
  opacity: 0;
  transform: translateY(8px);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.portfolio-item img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================
   12. CTA FINAL
========================================================== */
.final-cta {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0c2d2b 0%, #0d1719 60%, #081012 100%);
}

.final-cta__glow {
  position: absolute;
  width: 520px;
  height: 520px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(25, 199, 181, 0.15);
  filter: blur(90px);
}

.final-cta__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  text-align: center;
}

.final-cta__content .eyebrow::before {
  display: none;
}

.final-cta__content h2 {
  margin: 12px 0 14px;
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.final-cta__content p {
  max-width: 650px;
  margin: 0 auto 28px;
  color: #c7d4d6;
  font-size: 1.02rem;
}

/* ==========================================================
   13. FOOTER
========================================================== */
.footer {
  padding: 66px 0 24px;
  background: #030506;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.footer__grid,
.footer__bottom {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.8fr;
  gap: 48px;
}

.footer__brand {
  margin: 0 0 3px;
  font-size: 1.15rem;
  font-weight: 900;
}

.footer__subtitle {
  margin: 0 0 15px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
}

.footer__description {
  max-width: 430px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.87rem;
}

.footer__title {
  margin: 0 0 13px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer__column p,
.footer__column a {
  color: var(--text-muted);
  font-size: 0.87rem;
}

.footer__column p {
  margin: 4px 0;
}

.footer__column a {
  display: block;
  width: fit-content;
  margin-bottom: 7px;
  transition: color var(--transition);
}

.footer__column a:hover {
  color: var(--primary);
}

.footer__spacing {
  margin-top: 14px !important;
}

.footer__whatsapp {
  margin-top: 9px;
  color: var(--primary) !important;
  font-weight: 800;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.footer__bottom p {
  margin: 0;
  color: #65747a;
  font-size: 0.76rem;
}

.footer__developer {
  color: #a7b5b9;
  font-weight: 800;
}

.footer__developer:hover {
  color: var(--primary);
}

/* ==========================================================
   14. WHATSAPP FIXO
========================================================== */
.whatsapp-float {
  position: fixed;
  z-index: 990;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.4);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

/* ==========================================================
   15. MODAL DO PORTFÓLIO
========================================================== */
.modal {
  position: fixed;
  z-index: 2000;
  inset: 0;
  padding: 40px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--transition),
    visibility var(--transition);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal img {
  width: auto;
  max-width: min(1080px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.modal__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.7rem;
  line-height: 1;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* ==========================================================
   16. ANIMAÇÕES
========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal--scale {
  transform: scale(0.97);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal--scale {
    opacity: 1;
    transform: none;
  }
}
