/* =========================================================================
   Chá de Bebê "Jardim Encantado" · Aurora — style.css
   Tokens EXATOS do design-dna.md (STYLE-LOCK). Não inventar cores.
   ========================================================================= */

:root {
  /* Paleta (observed do cliente) */
  --color-bg: #FAF3E8;
  --color-blush: #E8A4A4;
  --color-nude: #F2C8C4;
  --color-sage: #6E8B5C;
  --color-olive: #8B7A42;
  --color-text: #5C4A3A;
  --color-white: #FFFFFF;
  --color-bg-alt: #FDF0EF;

  --grad-hero: linear-gradient(160deg, #FAF3E8 0%, #FDF0EF 50%, #F2C8C4 100%);

  --font-display: 'Cormorant Upright', Georgia, serif;
  --font-script: 'Dancing Script', cursive;
  --font-body: 'EB Garamond', Georgia, serif;
  --font-ui: 'Jost', -apple-system, sans-serif;

  --text-xs: clamp(0.75rem, 1.5vw, 0.875rem);
  --text-sm: clamp(0.875rem, 1.8vw, 1rem);
  --text-base: clamp(1rem, 2vw, 1.125rem);
  --text-lg: clamp(1.125rem, 2.5vw, 1.375rem);
  --text-xl: clamp(1.375rem, 3vw, 1.75rem);
  --text-2xl: clamp(1.75rem, 4vw, 2.5rem);
  --text-3xl: clamp(2.5rem, 6vw, 4rem);
  --text-hero: clamp(3.5rem, 10vw, 7rem);

  --container-max: 960px;
  --container-narrow: 640px;
  --section-y: clamp(64px, 10vw, 128px);
  --radius-card: 16px;
  --radius-btn: 50px;

  --motion-slow: 0.6s ease;
  --motion-medium: 0.3s ease;
  --motion-fast: 0.15s ease;
  --ease-elegant: cubic-bezier(0.33, 1, 0.68, 1);

  --shadow-soft: 0 2px 12px rgba(110, 139, 92, 0.10);
  --shadow-card: 0 8px 32px rgba(139, 122, 66, 0.10);
}

/* ---------- Reset leve ---------- */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.75;
  letter-spacing: 0.02em;
  overflow-x: hidden;
}

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

img.is-missing {
  display: none !important;
}

a {
  color: var(--color-sage);
  text-decoration: none;
}

a:hover {
  color: var(--color-blush);
}

::selection {
  background: var(--color-nude);
  color: var(--color-text);
}

/* Webkit scrollbar sutil */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-nude);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-blush);
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.wrap.narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

/* Textura de grão sobre a página inteira (aquarela + papel) */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Títulos ---------- */
.section-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--color-sage);
  font-size: var(--text-2xl);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

.section-lead {
  text-align: center;
  font-size: var(--text-lg);
  color: var(--color-text);
  max-width: 52ch;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5ch;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: var(--text-base);
  letter-spacing: 0.04em;
  padding: 0.85em 2.2em;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: transform var(--motion-medium), background var(--motion-medium), box-shadow var(--motion-medium);
  will-change: transform;
}

.btn--primary {
  background: var(--color-blush);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: var(--color-sage);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(110, 139, 92, 0.22);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--primary:focus-visible {
  outline: 3px solid var(--color-olive);
  outline-offset: 3px;
}

.btn--block {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24vh 5vw 12vh;
  background: var(--grad-hero);
  overflow: hidden;
}

/* ---------- Fundo AURORA do hero (CSS puro, paleta do site) ---------- */
.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  /* some suavemente na base para não competir com o texto */
  -webkit-mask-image: radial-gradient(130% 90% at 50% 0%, #000 55%, transparent 100%);
  mask-image: radial-gradient(130% 90% at 50% 0%, #000 55%, transparent 100%);
}
.hero-aurora-inner {
  position: absolute;
  inset: -40%;
  --a1: #E8A4A4; --a2: #F2C8C4; --a3: #8B7A42; --a4: #6E8B5C; --base: #FAF3E8;
  background-image:
    repeating-linear-gradient(100deg, var(--base) 0%, var(--base) 7%, transparent 10%, transparent 12%, var(--base) 16%),
    repeating-linear-gradient(100deg, var(--a1) 10%, var(--a2) 16%, var(--a3) 22%, var(--a4) 28%, var(--a1) 34%);
  background-size: 300% 300%, 200% 200%;
  background-position: 50% 50%, 0% 0%;
  filter: blur(38px) saturate(1.05);
  opacity: 0.5;
  mix-blend-mode: multiply;
  animation: hero-aurora 22s ease-in-out infinite alternate;
  will-change: background-position;
}
@keyframes hero-aurora {
  0%   { background-position: 50% 50%, 0% 0%; }
  50%  { background-position: 60% 55%, 60% 40%; }
  100% { background-position: 40% 45%, 100% 100%; }
}

.hero-inner {
  position: relative;
  z-index: 3;
  max-width: 640px;
}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 25px;
  color: var(--color-olive);
  margin: 0 0 0.5rem;
}

.hero-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--color-sage);
  font-size: var(--text-hero);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero-tagline {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--color-blush);
  font-size: var(--text-xl);
  margin: 0.4rem 0 1.4rem;
  line-height: 1.2;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text);
  margin: 0 auto 1.6rem;
  max-width: 44ch;
  opacity: 0.92;
}

.hero-date {
  font-family: var(--font-ui);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-olive);
  font-size: var(--text-base);
  margin: 0 0 2rem;
}

.hero-cta {
  margin-top: 0.5rem;
}

/* Ilustrações do hero (com fallback: .is-missing esconde e o gradiente carrega o clima) */
.hero-arch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 130%);
  max-width: none;
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
}

.floral {
  position: absolute;
  bottom: -2%;
  width: clamp(180px, 32vw, 420px);
  opacity: 0.92;
  z-index: 2;
  pointer-events: none;
}

.floral--left {
  left: -3%;
}

.floral--right {
  right: -3%;
  transform: scaleX(-1);
}

.birdcage {
  position: absolute;
  top: 8%;
  right: 8%;
  width: clamp(90px, 14vw, 180px);
  opacity: 0.55;
  z-index: 1;
  pointer-events: none;
  animation: sway 7s ease-in-out infinite;
}

.butterfly {
  position: absolute;
  width: clamp(48px, 7vw, 90px);
  z-index: 3;
  pointer-events: none;
}

.butterfly--1 {
  top: 22%;
  left: 12%;
  animation: float 6s ease-in-out infinite;
}

.butterfly--2 {
  top: 30%;
  right: 14%;
  animation: float 8s ease-in-out infinite 1s;
}

/* Dica de rolagem */
.scroll-hint {
  position: absolute;
  bottom: 3vh;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--color-sage);
  border-radius: 14px;
  opacity: 0.55;
  z-index: 3;
}

.scroll-hint span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--color-sage);
  border-radius: 2px;
  animation: scrolldot 1.8s ease-in-out infinite;
}

/* Pétalas caindo (fundo global) */
.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.petal {
  position: absolute;
  top: -6vh;
  font-size: clamp(14px, 2vw, 22px);
  opacity: 0.7;
  animation: fall linear infinite;
}

.petal:nth-child(1) {
  left: 8%;
  animation-duration: 14s;
  animation-delay: 0s;
}

.petal:nth-child(2) {
  left: 24%;
  animation-duration: 18s;
  animation-delay: 3s;
}

.petal:nth-child(3) {
  left: 45%;
  animation-duration: 16s;
  animation-delay: 6s;
}

.petal:nth-child(4) {
  left: 63%;
  animation-duration: 20s;
  animation-delay: 2s;
}

.petal:nth-child(5) {
  left: 78%;
  animation-duration: 15s;
  animation-delay: 8s;
}

.petal:nth-child(6) {
  left: 91%;
  animation-duration: 19s;
  animation-delay: 5s;
}

/* Borboletas voando — camada fixa decorativa, não intercepta cliques */
.butterflies-fly {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  overflow: hidden;
}

.bfly {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}

.bfly-bob {
  will-change: transform;
  animation: bfly-bob 2.4s ease-in-out infinite;
}

.bfly-svg {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.72;
  filter: drop-shadow(0 3px 5px rgba(139, 122, 66, 0.14));
}

/* Asas batendo: dobram em direção ao corpo (centro x=30 do viewBox) */
.bwing {
  transform-box: view-box;
  transform-origin: 30px 24px;
  will-change: transform;
  animation: bfly-flap 0.4s ease-in-out infinite;
}

/* Tamanhos, rotas, velocidades e atrasos distintos (voo natural, dessincronizado).
   Delays NEGATIVOS: cada borboleta já começa em um ponto diferente do caminho. */
.bfly--1 {
  width: 48px;
  animation: bfly-path-a 22s linear infinite;
}

.bfly--2 {
  width: 34px;
  animation: bfly-path-b 27s linear infinite -6s;
}

.bfly--3 {
  width: 56px;
  animation: bfly-path-c 31s linear infinite -13s;
}

.bfly--4 {
  width: 30px;
  animation: bfly-path-d 25s linear infinite -3s;
}

.bfly--5 {
  width: 42px;
  animation: bfly-path-e 29s linear infinite -18s;
}

.bfly--6 {
  width: 38px;
  animation: bfly-path-f 24s linear infinite -9s;
}

.bfly--2 .bwing {
  animation-duration: 0.36s;
}

.bfly--3 .bwing {
  animation-duration: 0.46s;
}

.bfly--4 .bwing {
  animation-duration: 0.32s;
}

.bfly--5 .bwing {
  animation-duration: 0.42s;
}

.bfly--6 .bwing {
  animation-duration: 0.38s;
}

.bfly--2 .bfly-bob {
  animation-duration: 2s;
}

.bfly--3 .bfly-bob {
  animation-duration: 2.8s;
}

.bfly--4 .bfly-bob {
  animation-duration: 1.8s;
}

.bfly--6 .bfly-bob {
  animation-duration: 2.2s;
}

@keyframes bfly-flap {

  0%,
  100% {
    transform: scaleX(1);
  }

  50% {
    transform: scaleX(0.3);
  }
}

@keyframes bfly-bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }
}

@keyframes bfly-path-a {
  0% {
    transform: translate(-10vw, 82vh) rotate(10deg);
  }

  25% {
    transform: translate(22vw, 55vh) rotate(-8deg);
  }

  50% {
    transform: translate(46vw, 66vh) rotate(12deg);
  }

  75% {
    transform: translate(74vw, 32vh) rotate(-6deg);
  }

  100% {
    transform: translate(110vw, 18vh) rotate(8deg);
  }
}

@keyframes bfly-path-b {
  0% {
    transform: translate(108vw, 24vh) rotate(-10deg);
  }

  30% {
    transform: translate(66vw, 46vh) rotate(8deg);
  }

  55% {
    transform: translate(40vw, 30vh) rotate(-12deg);
  }

  80% {
    transform: translate(14vw, 52vh) rotate(6deg);
  }

  100% {
    transform: translate(-12vw, 40vh) rotate(-8deg);
  }
}

@keyframes bfly-path-c {
  0% {
    transform: translate(-12vw, 30vh) rotate(6deg);
  }

  25% {
    transform: translate(24vw, 22vh) rotate(-6deg);
  }

  50% {
    transform: translate(52vw, 40vh) rotate(10deg);
  }

  75% {
    transform: translate(30vw, 58vh) rotate(-8deg);
  }

  100% {
    transform: translate(-12vw, 44vh) rotate(6deg);
  }
}

@keyframes bfly-path-d {
  0% {
    transform: translate(12vw, -10vh) rotate(-6deg);
  }

  30% {
    transform: translate(40vw, 28vh) rotate(10deg);
  }

  60% {
    transform: translate(70vw, 50vh) rotate(-8deg);
  }

  100% {
    transform: translate(96vw, 96vh) rotate(8deg);
  }
}

@keyframes bfly-path-e {
  0% {
    transform: translate(102vw, 80vh) rotate(8deg);
  }

  35% {
    transform: translate(60vw, 62vh) rotate(-10deg);
  }

  65% {
    transform: translate(34vw, 40vh) rotate(8deg);
  }

  100% {
    transform: translate(-10vw, 12vh) rotate(-6deg);
  }
}

@keyframes bfly-path-f {
  0% {
    transform: translate(48vw, -12vh) rotate(6deg);
  }

  30% {
    transform: translate(24vw, 30vh) rotate(-10deg);
  }

  60% {
    transform: translate(60vw, 56vh) rotate(9deg);
  }

  100% {
    transform: translate(38vw, 110vh) rotate(-6deg);
  }
}

/* =========================================================================
   DIVISOR FLORAL
   ========================================================================= */
.divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(16px, 4vw, 40px) 0;
}

.divider-art {
  width: clamp(200px, 45vw, 320px);
  height: auto;
  opacity: 0.95;
}

/* Ilustrações vetoriais decorativas — todas SVG inline, sem PNG */
.hero-arch,
.floral,
.birdcage,
.butterfly,
.rsvp-ghost,
.footer-bird,
.footer-leaf {
  display: block;
  height: auto;
}

/* =========================================================================
   MENSAGEM DOS PAIS
   ========================================================================= */
.message-section {
  background: var(--color-bg-alt);
}

.message-body {
  font-size: var(--text-lg);
  line-height: 1.85;
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 1.5rem;
  color: var(--color-text);
}

.signature {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--color-blush);
  text-align: center;
  margin: 0;
}

/* =========================================================================
   DETALHES DO EVENTO — cartão-convite ornamentado
   ========================================================================= */
.details-section {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.invite-card {
  position: relative;
  max-width: 660px;
  margin-inline: auto;
  background:
    radial-gradient(120% 80% at 50% 0%, #fff 0%, var(--color-bg-alt) 70%, #fbe7e4 100%);
  border: 1px solid var(--color-nude);
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(139, 122, 66, 0.14);
  overflow: hidden;
  isolation: isolate;
}

/* Filete interno delicado (moldura dupla) */
.invite-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(139, 122, 66, 0.28);
  border-radius: 16px;
  pointer-events: none;
  z-index: 0;
}

.corner-spray {
  position: absolute;
  width: clamp(74px, 15vw, 128px);
  height: auto;
  opacity: 0.95;
  pointer-events: none;
  z-index: 0;
}

.corner-spray--bl {
  bottom: -8px;
  left: -8px;
}

.corner-spray--br {
  bottom: -8px;
  right: -8px;
  transform: scaleX(-1);
}

.corner-spray--tl {
  top: -8px;
  left: -8px;
  transform: scaleY(-1);
}

.corner-spray--tr {
  top: -8px;
  right: -8px;
  transform: scale(-1, -1);
}

.invite-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(32px, 6vw, 60px) clamp(24px, 6vw, 68px);
}

.invite-crest-art {
  width: clamp(120px, 26vw, 168px);
  height: auto;
  margin: 0 auto 0.75rem;
  display: block;
}

.invite-eyebrow {
  font-family: var(--font-ui);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: var(--text-xs);
  color: var(--color-olive);
  margin: 0 0 0.4rem;
}

.invite-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--color-sage);
  font-size: var(--text-3xl);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0.1rem 0 0.6rem;
  text-wrap: balance;
}

.mini-divider {
  width: clamp(140px, 34vw, 190px);
  height: auto;
  display: block;
  margin: 0.4rem auto 1.1rem;
}

.invite-lead {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-text);
  max-width: 40ch;
  margin: 0 auto 1.8rem;
  opacity: 0.92;
}

/* Bloco de data — foco visual do cartão */
.invite-date {
  margin: 0 auto 1.8rem;
}

.invite-dow {
  font-family: var(--font-script);
  font-weight: 700;
  color: var(--color-blush);
  font-size: var(--text-xl);
  line-height: 1;
}

.invite-date-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 26px);
  margin: 0.2rem 0;
}

.invite-rule {
  display: block;
  width: clamp(36px, 12vw, 84px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-olive), transparent);
  opacity: 0.6;
}

.invite-day {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--color-sage);
  font-size: clamp(4rem, 15vw, 7rem);
  line-height: 0.9;
}

.invite-mon {
  font-family: var(--font-ui);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: var(--text-sm);
  color: var(--color-olive);
}

.invite-mon .invite-dot {
  color: var(--color-blush);
  margin: 0 0.3em;
}

/* Linhas de informação (horário / local) */
.invite-info {
  display: inline-flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  margin: 0 auto 1.8rem;
}

.invite-line {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.invite-ico {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: inline-flex;
}

.invite-ico svg {
  width: 100%;
  height: 100%;
}

.invite-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.35;
}

.invite-key {
  font-family: var(--font-ui);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: var(--text-xs);
  color: var(--color-sage);
}

.invite-map {
  margin-top: 0.2rem;
}

@media (max-width: 480px) {
  .invite-info {
    display: flex;
    width: 100%;
  }

  .corner-spray {
    width: 70px;
  }
}

/* =========================================================================
   RSVP
   ========================================================================= */
.rsvp-section {
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}

.rsvp-ghost {
  position: absolute;
  top: 50%;
  right: -60px;
  transform: translateY(-50%);
  width: clamp(200px, 30vw, 380px);
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.rsvp-form {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  border: 1px solid var(--color-nude);
  border-radius: var(--radius-card);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow-card);
}

.field {
  margin-bottom: 1.4rem;
}

.field label,
.field legend {
  display: block;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  color: var(--color-sage);
  margin-bottom: 0.4rem;
}

.field .opt {
  color: var(--color-olive);
  font-weight: 300;
  opacity: 0.75;
}

.req {
  color: var(--color-blush);
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="number"],
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-nude);
  border-radius: 12px;
  padding: 0.75em 1em;
  transition: border-color var(--motion-medium), box-shadow var(--motion-medium);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-sage);
  box-shadow: 0 0 0 3px rgba(110, 139, 92, 0.12);
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.field--choices {
  border: none;
  padding: 0;
  margin-inline: 0;
}

.field--choices legend {
  padding: 0;
}

.choice {
  display: flex;
  align-items: center;
  gap: 0.6ch;
  padding: 0.55em 0.9em;
  margin-bottom: 0.5rem;
  border: 1px solid var(--color-nude);
  border-radius: 12px;
  background: var(--color-bg);
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--color-text);
  transition: border-color var(--motion-fast), background var(--motion-fast);
}

.choice:hover {
  border-color: var(--color-blush);
}

.choice input {
  accent-color: var(--color-sage);
  width: 18px;
  height: 18px;
}

.choice:has(input:checked) {
  border-color: var(--color-sage);
  background: color-mix(in srgb, var(--color-sage) 8%, var(--color-white));
}

.field-error {
  color: var(--color-blush);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  margin: 0.35rem 0 0;
}

.field.has-error input {
  border-color: var(--color-blush);
  box-shadow: 0 0 0 3px rgba(232, 164, 164, 0.2);
}

/* honeypot escondido */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Flash messages */
.flash {
  border-radius: var(--radius-card);
  padding: 1rem 1.4rem;
  margin-bottom: 1.6rem;
  font-size: var(--text-base);
  text-align: center;
  border: 1px solid;
}

.flash--success {
  background: color-mix(in srgb, var(--color-sage) 10%, var(--color-white));
  border-color: var(--color-sage);
  color: #3f5334;
}

.flash--info {
  background: var(--color-bg-alt);
  border-color: var(--color-blush);
  color: var(--color-text);
}

.flash--error {
  background: color-mix(in srgb, var(--color-blush) 14%, var(--color-white));
  border-color: var(--color-blush);
  color: #8a4b4b;
}

/* =========================================================================
   GALERIA
   ========================================================================= */
.gallery-section {
  background: var(--color-bg);
}

.gallery-locked {
  text-align: center;
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-nude);
  border-radius: var(--radius-card);
  padding: clamp(32px, 6vw, 64px);
  max-width: 560px;
  margin: 1rem auto 0;
}

.lock-emoji {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 0.5rem;
}

.lock-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-sage);
  margin: 0 0 0.5rem;
}

.lock-text {
  color: var(--color-text);
  max-width: 42ch;
  margin: 0 auto;
  opacity: 0.9;
}

.upload-form {
  background: var(--color-white);
  border: 1px solid var(--color-nude);
  border-radius: var(--radius-card);
  padding: clamp(20px, 4vw, 36px);
  box-shadow: var(--shadow-soft);
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.upload-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
}

.file-drop {
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1.5px dashed var(--color-sage);
  border-radius: 12px;
  padding: 0.9em 1em;
  cursor: pointer;
  color: var(--color-sage);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  background: var(--color-bg);
  transition: background var(--motion-fast);
}

.file-drop:hover {
  background: var(--color-bg-alt);
}

.file-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-name {
  flex: 1 1 180px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  border: 1px solid var(--color-nude);
  border-radius: 12px;
  padding: 0.75em 1em;
  background: var(--color-bg);
  color: var(--color-text);
}

.upload-name:focus {
  outline: none;
  border-color: var(--color-sage);
}

.upload-note {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: var(--text-xs);
  color: var(--color-olive);
  text-align: center;
  margin: 1rem 0 0;
}

.gallery-empty {
  text-align: center;
  font-style: italic;
  color: var(--color-olive);
  opacity: 0.85;
}

/* Masonry via columns */
.masonry {
  column-count: 3;
  column-gap: clamp(12px, 2vw, 20px);
}

.masonry-item {
  break-inside: avoid;
  display: block;
  width: 100%;
  margin: 0 0 clamp(12px, 2vw, 20px);
  padding: 0;
  position: relative;
  border: 2px solid var(--color-nude);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--color-bg-alt);
  cursor: pointer;
  transition: transform var(--motion-medium), box-shadow var(--motion-medium);
}

.masonry-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-card);
}

.masonry-item img,
.masonry-item video {
  width: 100%;
  display: block;
}
.masonry-item.is-video video {
  aspect-ratio: 1;
  object-fit: cover;
  background: #000;
}

/* Selo de "play" sobre vídeos */
.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(44px, 12%, 64px);
  transform: translate(-50%, -50%);
  transition: transform var(--motion-medium);
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.masonry-item:hover .play-badge { transform: translate(-50%, -50%) scale(1.12); }
.play-badge svg { width: 100%; height: auto; display: block; }

.masonry-item .masonry-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5em 0.8em;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  text-align: left;
  color: var(--color-white);
  background: linear-gradient(to top, rgba(92, 74, 58, 0.7), transparent);
}

.file-drop-hint {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  font-size: var(--text-xs);
  font-weight: 300;
  opacity: 0.75;
}
.file-drop { flex-direction: column; }
/* Estado "enviando" do formulário de upload */
.upload-form.is-sending #uploadBtn { opacity: 0.7; pointer-events: none; }
.upload-form.is-sending #uploadBtn::after {
  content: "";
  width: 1em; height: 1em; margin-left: 0.5ch;
  border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%;
  display: inline-block; animation: spin 0.7s linear infinite; vertical-align: -0.15em;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================================
   RODAPÉ
   ========================================================================= */
.footer {
  position: relative;
  background: var(--grad-hero);
  text-align: center;
  padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px);
  overflow: hidden;
}

.footer-bird {
  position: absolute;
  bottom: 8%;
  left: 6%;
  width: clamp(60px, 10vw, 120px);
  opacity: 0.6;
  pointer-events: none;
}

.footer-leaf {
  position: absolute;
  top: 12%;
  right: 8%;
  width: clamp(60px, 10vw, 120px);
  opacity: 0.5;
  pointer-events: none;
  animation: sway 8s ease-in-out infinite;
}

.footer-thanks {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-xl);
  color: var(--color-sage);
  margin: 0 0 0.5rem;
  position: relative;
  z-index: 1;
}

.footer-sign {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-blush);
  margin: 0 0 0.75rem;
  position: relative;
  z-index: 1;
}

.footer-meta {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  color: var(--color-olive);
  text-transform: uppercase;
  margin: 0;
  position: relative;
  z-index: 1;
}

.footer-date {
  margin-top: 0.75rem;
  color: var(--color-sage);
  letter-spacing: 0.16em;
}

.footer-addr {
  margin-top: 0.25rem;
  text-transform: none;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.footer-map {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4ch;
  margin-top: 0.9rem;
  padding: 0.5em 1.3em;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--color-sage);
  border: 1px solid var(--color-sage);
  border-radius: var(--radius-btn);
  transition: background var(--motion-medium), color var(--motion-medium), transform var(--motion-medium);
}
.footer-map:hover {
  background: var(--color-sage);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* =========================================================================
   BOTÃO "VOLTAR AO TOPO" (flutuante, canto inferior direito)
   ========================================================================= */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 40;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--color-white);
  background: var(--color-blush);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(139, 122, 66, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: opacity var(--motion-medium), transform var(--motion-medium),
    visibility var(--motion-medium), background var(--motion-medium);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.to-top:hover {
  background: var(--color-sage);
  transform: translateY(-3px) scale(1.05);
}
.to-top:active { transform: translateY(0) scale(0.96); }
.to-top:focus-visible { outline: 3px solid var(--color-olive); outline-offset: 3px; }
.to-top svg { width: 22px; height: 22px; }

/* =========================================================================
   POLIMENTO — micro-interações e foco acessível (coeso com o DNA)
   ========================================================================= */
:where(a, button, input, textarea, .choice, .invite-card, .masonry-item):focus-visible {
  outline: 3px solid var(--color-olive);
  outline-offset: 2px;
  border-radius: 8px;
}
.invite-card {
  transition: box-shadow var(--motion-slow) var(--ease-elegant),
    transform var(--motion-slow) var(--ease-elegant);
}
.invite-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(139, 122, 66, 0.20);
}
.invite-map { transition: transform var(--motion-medium), background var(--motion-medium), box-shadow var(--motion-medium); }
.footer-map, .invite-map, .btn { will-change: transform; }
/* Sublinhado suave em links de texto do corpo */
.message-body a, .invite-lead a { background-image: linear-gradient(var(--color-blush), var(--color-blush)); background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size var(--motion-medium); }
.message-body a:hover, .invite-lead a:hover { background-size: 100% 1px; }

/* =========================================================================
   REVEAL ON SCROLL
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--motion-slow), transform var(--motion-slow);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================================
   ANIMAÇÕES
   ========================================================================= */
@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-18px) rotate(3deg);
  }
}

@keyframes sway {

  0%,
  100% {
    transform: rotate(-3deg);
  }

  50% {
    transform: rotate(3deg);
  }
}

@keyframes fall {
  0% {
    transform: translateY(-6vh) rotate(0);
    opacity: 0;
  }

  10% {
    opacity: 0.7;
  }

  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

@keyframes scrolldot {
  0% {
    top: 8px;
    opacity: 1;
  }

  70% {
    top: 22px;
    opacity: 0;
  }

  100% {
    top: 8px;
    opacity: 0;
  }
}

/* =========================================================================
   RESPONSIVO
   ========================================================================= */
@media (max-width: 768px) {
  .details-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .masonry {
    column-count: 2;
  }

  .hero {
    padding-top: 20vh;
  }

  .upload-row {
    flex-direction: column;
  }
}

/* =========================================================================
   NAVBAR (topo, sticky, glass) + MENU MOBILE
   ========================================================================= */
html { scroll-padding-top: 76px; }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: color-mix(in srgb, var(--color-bg) 72%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
  border-bottom: 1px solid color-mix(in srgb, var(--color-nude) 60%, transparent);
  transition: box-shadow var(--motion-medium), background var(--motion-medium);
}
.nav.is-scrolled { box-shadow: 0 6px 24px rgba(139, 122, 66, 0.10); }
.nav-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 0 clamp(16px, 4vw, 32px);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--color-sage);
  line-height: 1;
}
.nav-brand:hover { color: var(--color-blush); }
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.6rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  position: relative;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
  padding: 0.4em 0.2em;
  transition: color var(--motion-fast);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--color-blush);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--motion-medium) var(--ease-elegant);
}
.nav-link:hover { color: var(--color-sage); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--color-sage); }

/* Cabeçalho de identidade do menu — só no mobile */
.nav-head { display: none; }

/* Hambúrguer (escondido no desktop) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 10px;
}
.nav-toggle-bar {
  width: 24px; height: 2px;
  background: var(--color-sage);
  border-radius: 2px;
  transition: transform var(--motion-medium), opacity var(--motion-medium);
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(92, 74, 58, 0.28);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity var(--motion-medium);
}
.nav-backdrop.is-open { opacity: 1; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(86vw, 360px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: clamp(0.25rem, 1.2vh, 0.6rem);
    padding: clamp(1.5rem, 5vh, 2.4rem) clamp(1.4rem, 6vw, 2.2rem) 2rem;
    overflow-y: auto;
    background:
      radial-gradient(120% 60% at 90% 0%, color-mix(in srgb, var(--color-nude) 70%, transparent) 0%, transparent 60%),
      linear-gradient(165deg, var(--color-bg) 0%, var(--color-bg-alt) 55%, #fbe7e4 120%);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-left: 1px solid color-mix(in srgb, var(--color-nude) 60%, transparent);
    box-shadow: -16px 0 48px rgba(139, 122, 66, 0.22);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease-elegant), opacity 0.4s ease, visibility 0.4s;
  }
  /* Ramalhete suave no canto inferior do painel */
  .nav-menu::after {
    content: "";
    position: absolute;
    left: -10px; bottom: -10px;
    width: 150px; height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg transform='translate(60 60) scale(-1 1)'%3E%3Cpath d='M6 54C24 34 16 12 40 -8' fill='none' stroke='%236E8B5C' stroke-width='2.4' opacity='.5' stroke-linecap='round'/%3E%3Cg transform='translate(-6 -30)'%3E%3Cellipse rx='9' ry='12' fill='%23F2C8C4'/%3E%3Cellipse rx='9' ry='12' fill='%23F2C8C4' transform='rotate(72)'/%3E%3Cellipse rx='9' ry='12' fill='%23F2C8C4' transform='rotate(144)'/%3E%3Cellipse rx='9' ry='12' fill='%23F2C8C4' transform='rotate(216)'/%3E%3Cellipse rx='9' ry='12' fill='%23F2C8C4' transform='rotate(288)'/%3E%3Ccircle r='5' fill='%23E8A4A4'/%3E%3C/g%3E%3Cpath d='M20 10C34 4 44 12 40 26' fill='%236E8B5C' opacity='.85'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain;
    opacity: 0.6;
    pointer-events: none;
  }
  .nav.is-open .nav-menu { transform: translateX(0); opacity: 1; visibility: visible; }

  /* --- Cabeçalho de identidade do evento --- */
  .nav-head {
    display: block;
    position: relative;
    text-align: center;
    padding: 0.5rem 0 1rem;
    margin-bottom: 0.4rem;
  }
  .nav-close {
    position: absolute;
    top: -0.4rem; right: -0.4rem;
    width: 40px; height: 40px;
    display: grid; place-items: center;
    color: var(--color-sage);
    background: color-mix(in srgb, var(--color-white) 70%, transparent);
    border: 1px solid var(--color-nude);
    border-radius: 50%;
    cursor: pointer;
    transition: background var(--motion-fast), transform var(--motion-fast), color var(--motion-fast);
  }
  .nav-close:hover { background: var(--color-blush); color: var(--color-white); transform: rotate(90deg); }
  .nav-close:focus-visible { outline: 3px solid var(--color-olive); outline-offset: 2px; }
  .nav-close svg { width: 20px; height: 20px; }
  .nav-crest-art { width: 118px; height: auto; margin: 0.2rem auto 0.3rem; display: block; }
  .nav-head-name {
    font-family: var(--font-script);
    font-weight: 700;
    font-size: 3.1rem;
    line-height: 0.9;
    color: var(--color-blush);
    margin: 0;
  }
  .nav-head-sub {
    font-family: var(--font-ui);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.66rem;
    color: var(--color-olive);
    margin: 0.5rem 0 0.4rem;
  }
  .nav-head-tag {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-sage);
    margin: 0;
  }
  .nav-head .mini-divider { width: 150px; height: auto; display: block; margin: 0.7rem auto 0.5rem; }
  .nav-head-date {
    font-family: var(--font-ui);
    font-weight: 400;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    color: var(--color-olive);
    margin: 0;
  }

  /* --- Itens do menu --- */
  .nav-menu > li:not(.nav-head) { position: relative; }
  .nav-menu .nav-link {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.55rem;
    color: var(--color-sage);
    text-align: center;
    padding: 0.55em 0.6em;
    border-radius: 14px;
    transition: color var(--motion-fast), background var(--motion-fast);
  }
  .nav-menu .nav-link::after { left: 50%; right: auto; bottom: 8px; width: 34px; transform: translateX(-50%) scaleX(0); transform-origin: center; }
  .nav-menu .nav-link:hover::after,
  .nav-menu .nav-link.is-active::after { transform: translateX(-50%) scaleX(1); }
  .nav-menu .nav-link:hover,
  .nav-menu .nav-link:active { color: var(--color-blush); background: color-mix(in srgb, var(--color-white) 55%, transparent); }
  .nav-menu .nav-link.is-active { color: var(--color-blush); }

  /* Some com o hambúrguer quando aberto — o X do painel assume */
  .nav.is-open .nav-toggle { opacity: 0; pointer-events: none; }
  .nav.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* =========================================================================
   LIGHTBOX (galeria em tela cheia)
   ========================================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: clamp(6px, 2vw, 20px);
  padding: clamp(12px, 3vw, 32px);
  background: rgba(60, 46, 38, 0.86);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--motion-medium);
}
.lightbox.is-open { opacity: 1; }
.lb-stage {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
}
.lb-stage img,
.lb-stage video {
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: #000;
  animation: lb-pop 0.3s var(--ease-elegant);
}
@keyframes lb-pop { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
.lb-close, .lb-nav {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--motion-fast), transform var(--motion-fast);
}
.lb-close:hover, .lb-nav:hover { background: var(--color-blush); transform: scale(1.08); }
.lb-close:focus-visible, .lb-nav:focus-visible { outline: 3px solid var(--color-nude); outline-offset: 2px; }
.lb-close svg, .lb-nav svg { width: 24px; height: 24px; }
.lb-close { position: absolute; top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px); grid-row: 1; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-meta {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
}
.lb-author { font-style: italic; }
.lb-counter { letter-spacing: 0.1em; opacity: 0.8; }
@media (max-width: 560px) {
  .lb-prev, .lb-next { width: 42px; height: 42px; }
  .lb-stage img, .lb-stage video { max-height: 72vh; }
}

/* =========================================================================
   PREFERS-REDUCED-MOTION — desliga movimentos, mantém legibilidade
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Pétalas caindo (movimento amplo) ficam desativadas */
  .petals {
    display: none;
  }

  /* Borboletas: mantêm um voo MAIS LENTO e suave (reduzido, não eliminado).
     São pequenas, translúcidas e sem piscar — motion decorativa aceitável. */
  .butterflies-fly {
    display: block;
  }

  .bfly-bob {
    animation: bfly-bob 4s ease-in-out infinite !important;
  }

  .bwing {
    animation: bfly-flap 0.7s ease-in-out infinite !important;
  }

  .bfly--1 {
    animation: bfly-path-a 40s linear infinite !important;
  }

  .bfly--2 {
    animation: bfly-path-b 46s linear infinite -10s !important;
  }

  .bfly--3 {
    animation: bfly-path-c 52s linear infinite -20s !important;
  }

  .bfly--4 {
    animation: bfly-path-d 44s linear infinite -6s !important;
  }

  .bfly--5 {
    animation: bfly-path-e 48s linear infinite -28s !important;
  }

  .bfly--6 {
    animation: bfly-path-f 42s linear infinite -14s !important;
  }
}