:root {
  --bg: #FBF6EF;
  --bg-card: #F3EAE0;
  --text: #2E2A25;
  --text-muted: #8A8074;
  --accent: #B98D62;
  --accent-dark: #8C6239;
  --gold: #C9A15A;
  --border: #E7DCCC;
  --sage: #9CB88A;
  --sage-dark: #6E8C5C;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  background-color: var(--bg);
  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Overlay por cima da imagem de fundo, pra pagina inteira */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(251, 246, 239, 0.62);
}

.page {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0 auto;
  padding: 40px 24px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Hero: badge + headline + subheadline */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Badge da ADM */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 18px 8px 8px;
  margin-bottom: 28px;
}

.badge__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--gold);
}

.badge__text {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

.badge__text strong {
  color: var(--accent-dark);
  font-weight: 600;
}

/* Headline */
.headline {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(28px, 7vw, 38px);
  line-height: 1.22;
  margin: 0 0 16px;
  color: var(--text);
}

.subheadline {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0;
}

/* Carrossel */
.carousel {
  width: 100vw;
  max-width: 100vw;
  margin: 28px 0 36px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.carousel__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: scroll 38s linear infinite;
}

.carousel__track img {
  width: 132px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 6px 16px rgba(140, 98, 57, 0.12);
  flex-shrink: 0;
}

/* Texto acima do CTA */
.pre-cta {
  margin: 0 0 20px;
  max-width: 380px;
}

.pre-cta__title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(26px, 6.5vw, 34px);
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 10px;
}

.pre-cta__subtitle {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__track { animation: none; }
}

/* CTA */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.3px;
  text-decoration: none;
  padding: 21px 36px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(110, 140, 92, 0.35);
  width: 100%;
  max-width: 380px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(110, 140, 92, 0.42);
}

.cta__icon {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}

.support {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 320px;
  margin: 18px 0 0;
  line-height: 1.5;
}

/* Barra legal (único rodapé) */
.legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.75;
  line-height: 1.7;
}

.legal p {
  margin: 0;
}

.legal a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover {
  color: var(--accent-dark);
}

@media (min-width: 600px) {
  .headline { font-size: 42px; }
  .carousel__track img { width: 160px; }
}
