/* ═══════════════════════════════════════════════════
   REVOLUX — BASE
   Reset, body, tipografia global, utilidades
═══════════════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--verde-dark);
  color: var(--bege);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); border: none; background: none; cursor: none; color: var(--amadeirado)}
ul { list-style: none; }

/* ── Heading Defaults ── */
h1, h2, h3, h4, h5 {
  font-family: 'Condor', serif;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

/* ── Section Label ── */
.section-label {
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--amadeirado);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--amadeirado);
  flex-shrink: 0;
}
.section-label.center {
  justify-content: center;
}
.section-label.center::before { display: none; }

/* ── Botões ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--amadeirado);
  color: var(--verde-dark);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: none;
  cursor: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bege);
  transform: translateX(-101%);
  transition: transform 0.35s var(--ease-out);
  z-index: 0;
}
.btn-primary:hover::after { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(199,155,116,0.28); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bege-dim);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--amadeirado-dim);
  padding: 15px 36px;
  transition: color var(--transition), border-color var(--transition), transform var(--transition);
  cursor: none;
}
.btn-ghost:hover {
  color: var(--bege);
  border-color: var(--amadeirado);
  transform: translateY(-2px);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amadeirado);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: none;
  transition: gap var(--transition), color var(--transition);
  position: relative;
}
.btn-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--amadeirado);
  transition: width var(--transition);
}
.btn-text:hover { gap: 14px; }
.btn-text:hover::after { width: 100%; }

/* ── Divisor decorativo ── */
.divider {
  width: 40px;
  height: 1px;
  background: var(--amadeirado-dim);
  margin: 24px 0;
}

/* ── Placeholder de imagem ── */
.img-placeholder {
  background: linear-gradient(135deg, rgba(23,83,71,0.6) 0%, rgba(19,48,44,0.9) 100%);
  border: var(--border-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--amadeirado-dim);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(199,155,116,0.03) 20px,
    rgba(199,155,116,0.03) 21px
  );
}
.img-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.3;
}
.img-placeholder span { position: relative; z-index: 1; letter-spacing: 0.3em; }
.img-placeholder .ph-icon { position: relative; z-index: 1; font-size: 28px; opacity: 0.2; }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ── Noise texture overlay ── */
.noise-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 1;
}

/* ── Marquee ── */
.marquee-wrap {
  background: var(--amadeirado);
  padding: 15px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-family: 'Condor', serif;
  font-size: 17px;
  font-weight: 300;
  color: var(--verde-dark);
  letter-spacing: 0.1em;
  padding: 0 40px;
}
.marquee-track .dot {
  color: var(--verde);
  padding: 0;
  font-size: 20px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Rating Stars ── */
.stars { color: var(--amadeirado); letter-spacing: 2px; }

/* ── Formulário: estados de erro/sucesso ── */
.form-group.field-error input,
.form-group.field-error select {
  border-color: rgba(220, 80, 80, 0.6);
  background: rgba(220, 80, 80, 0.04);
}
.form-feedback {
  display: none;
  font-size: 11.5px;
  padding: 12px 16px;
  letter-spacing: 0.04em;
  margin-top: 10px;
}
.form-feedback.error {
  background: rgba(220, 80, 80, 0.1);
  border: 1px solid rgba(220, 80, 80, 0.3);
  color: rgba(220, 130, 130, 0.9);
}
.form-feedback.success {
  background: rgba(23, 83, 71, 0.3);
  border: var(--border-gold);
  color: var(--amadeirado);
}
