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

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/outfit-variable.woff2') format('woff2');
}

:root {
  --color-base: #FBF4F1;
  --color-block-tint: #F7E7E3;
  --color-border-subtle: #EFD3CE;
  --color-ornament: #D98C93;
  --color-btn-bg: #B25C6B;
  --color-btn-hover: #9E4F5D;
  --color-text-icon: #8C3B4A;
  --color-text-body: #5A2530;
  --color-text-dark: #2B1A1D;
  --color-white: #FFFFFF;

  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-soft: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scrollbar-gutter: stable;
  overflow-x: clip;
}

body {
  background-color: var(--color-base);
  color: var(--color-text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

.page-container {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 24px);
  padding-block: 28px 40px;
  box-sizing: border-box;
  text-align: center;
}

/* NAVBAR & LOGO */
.brand-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border-subtle);
  display: block;
}

/* HERO SECTION */
.hero-section {
  padding-bottom: 22px;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 10vw, 3.4rem);
  line-height: 1.08;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.brand-subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-icon);
  margin-bottom: 12px;
}

.brand-tagline {
  font-size: 1rem;
  color: var(--color-text-body);
  margin-bottom: 22px;
}

/* ACTIONS / BUTTONS */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-soft), background-color 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.btn-primary:focus-visible, .btn-secondary:focus-visible {
  outline: 2px solid var(--color-text-dark);
  outline-offset: 3px;
}

.btn-primary {
  background-color: var(--color-btn-bg);
  color: var(--color-white);
  border: 1px solid var(--color-btn-bg);
  box-shadow: 0 4px 14px rgba(178, 92, 107, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-btn-hover);
  transform: translateY(-1px);
}

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

/* SHINY SWEEP GLOW (CYCLE >= 6s) */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-25deg);
  animation: shinySweep 7s var(--ease-soft) infinite;
  pointer-events: none;
}

@keyframes shinySweep {
  0% { left: -120%; }
  22% { left: 220%; }
  100% { left: 220%; }
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-dark);
  border: 1px solid var(--color-border-subtle);
}

.btn-secondary:hover {
  background-color: var(--color-block-tint);
  border-color: var(--color-ornament);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* BLOCO PROPOSITO */
.proposito-section {
  padding-block: 18px 24px;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  margin-bottom: 28px;
}

.proposito-text {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-body);
  margin-bottom: 4px;
}

.hashtag-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-icon);
}

/* SECTION TITLES */
.section-title {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 400;
  color: var(--color-text-dark);
  margin-bottom: 16px;
}

/* GALERIA FOTOS */
.galeria-section {
  padding-bottom: 30px;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.foto-card {
  margin: 0;
  padding: 0;
  border-radius: 14px;
  overflow: clip;
  background-color: var(--color-block-tint);
  border: 1px solid var(--color-border-subtle);
}

.foto-img {
  width: 100%;
  height: auto;
  aspect-ratio: 520 / 693;
  display: block;
}

.foto-img-wide {
  aspect-ratio: 520 / 650;
}

/* ESTEIRA DE FEEDBACK EM LOOP */
.feedback-section {
  padding-bottom: 32px;
  width: 100%;
  overflow: clip;
}

.marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: clip;
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  margin-bottom: 12px;
}

.marquee-track {
  display: flex;
  gap: 14px;
  padding-left: 0;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.marquee-group {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

.feedback-card {
  width: 220px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: clip;
  border: 1px solid var(--color-border-subtle);
  background-color: var(--color-white);
  box-shadow: 0 4px 16px rgba(90, 37, 48, 0.05);
}

.feedback-img {
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 710;
  display: block;
}

.btn-marquee-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 6px 14px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-icon);
  background: transparent;
  border: 1px solid var(--color-border-subtle);
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-marquee-toggle:focus-visible {
  outline: 2px solid var(--color-text-dark);
  outline-offset: 2px;
}

.btn-marquee-toggle:hover {
  background-color: var(--color-block-tint);
  border-color: var(--color-ornament);
}

.toggle-icon-svg {
  width: 14px;
  height: 14px;
}

/* CTA FINAL */
.cta-final-section {
  padding-block: 24px 28px;
  border-top: 1px solid var(--color-border-subtle);
}

.cta-tagline {
  font-size: 0.9375rem;
  color: var(--color-text-body);
  margin-bottom: 16px;
}

/* FOOTER */
.site-footer {
  padding-top: 24px;
  border-top: 1px solid var(--color-border-subtle);
}

.footer-line-1 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-icon);
  margin-bottom: 4px;
}

.footer-line-2 {
  font-size: 0.75rem;
  color: var(--color-text-body);
}

/* SCROLL REVEAL (JS DISCLOSURE: DEFAULT VISIBLE) */
.reveal-block {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.55s var(--ease-soft), transform 0.55s var(--ease-soft);
}

.js-reveal-ready .reveal-block:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.js-reveal-ready .reveal-block.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ACCESSIBILITY & PREFERS-REDUCED-MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .btn-primary::after {
    display: none !important;
  }
  .marquee-track {
    transform: translate3d(0, 0, 0) !important;
  }
  .reveal-block {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
  }
}
