/* ==========================================================================
   ALTITUDE CAFÉS ESPECIAIS — "Em breve"
   Sistema de design: fundo off-white quente, verde-montanha, caramelo e
   toques mínimos de dourado. Serifada elegante para títulos, sans humanista
   para texto corrido. Layout centralizado, silencioso, com respiração.
   ========================================================================== */

:root {
  /* Paleta oficial da marca — usar exatamente estes valores */
  --bg: #F5F2EA;
  --verde: #2F4A3A;
  --marrom: #5A4332;
  --caramelo: #B68A5A;
  --dourado: #B89B5E;
  --cinza: #7A756F;
  --divisoria: #DDD8CF;
  --preto: #202020;

  /* Tipografia */
  --font-display: "Cormorant Garamond", "Iowan Old Style", "Times New Roman", serif;
  --font-headline: "Montserrat", "Manrope", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;

  /* Ritmo */
  --space-unit: 8px;
  --max-text: 600px;

  /* Motion */
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset mínimo ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100svh;
  background-color: var(--bg);
  color: var(--preto);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* Foco visível — acessibilidade */
:focus-visible {
  outline: 1.5px solid var(--verde);
  outline-offset: 4px;
}

/* Respeita preferência do usuário por menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   TEXTURA DE PAPEL — quase imperceptível, dá corpo ao fundo off-white
   ========================================================================== */

.paper-texture {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(90, 67, 50, 0.025) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(47, 74, 58, 0.02) 0%, transparent 50%);
}

.paper-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.35  0 0 0 0 0.27  0 0 0 0 0.2  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.35;
}

/* ==========================================================================
   CENA DE FUNDO — cordilheira ao alto + terraços de cafezal na base
   Ilustração original em linha fina, muito discreta, reforçando a
   narrativa "do alto para sua xícara" sem competir com o conteúdo.
   ========================================================================== */

.scene-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.scene-mountains {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(180px, 26vh, 320px);
}

.scene-plantation {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: clamp(220px, 34vh, 420px);
}

/* Cordilheira: silhuetas sobrepostas sugerindo profundidade */
.ridge--far { fill: var(--verde); opacity: 0.05; }
.ridge--mid { fill: var(--verde); opacity: 0.07; }
.ridge-line {
  stroke: var(--verde);
  stroke-width: 1.25;
  opacity: 0.14;
}

/* Terraços do cafezal: curvas de nível cultivadas na encosta */
.terrace {
  stroke: var(--marrom);
  stroke-width: 1;
  opacity: 0.1;
}
.terrace--gold { stroke: var(--dourado); opacity: 0.16; }

.crops circle {
  fill: var(--caramelo);
  opacity: 0.16;
}

/* ==========================================================================
   LAYOUT PRINCIPAL — centralizado vertical e horizontalmente
   ========================================================================== */

.wrap {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(32px, 8vw, 64px) clamp(24px, 6vw, 48px) clamp(96px, 12vw, 140px);
}

/* ---------- Logo ---------- */

.logo-block {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.logo {
  height: 168px;
  width: auto;
  margin: 0 auto;
}

/* ---------- Divisória dourada ---------- */

.hairline {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--dourado) 50%, transparent);
  margin: 0 auto clamp(28px, 4vw, 36px);
  opacity: 0.55;
}

/* ---------- Título ---------- */

.headline {
  font-family: var(--font-headline);
  font-weight: 500;
  font-style: normal;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--verde);
  margin: 0 0 clamp(22px, 3.5vw, 30px);
  max-width: 16ch;
}

/* ---------- Texto de apoio ---------- */

.lede {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  line-height: 1.7;
  color: var(--cinza);
  max-width: var(--max-text);
  margin: 0 0 clamp(36px, 5vw, 48px);
  letter-spacing: 0.005em;
}

/* ---------- Botão ---------- */

.cta-block { margin-bottom: clamp(44px, 6vw, 60px); }

.cta {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bg);
  background-color: var(--verde);
  border: 1px solid var(--verde);
  padding: 17px 38px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.45s var(--ease-soft), background-color 0.45s var(--ease-soft), letter-spacing 0.45s var(--ease-soft);
}

.cta span { position: relative; z-index: 1; }

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--marrom);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-soft);
  z-index: 0;
}

.cta:hover,
.cta:focus-visible {
  letter-spacing: 0.18em;
}

.cta:hover::before,
.cta:focus-visible::before {
  transform: scaleX(1);
}

.cta:active { transform: translateY(1px); }

/* ---------- Slogan ---------- */

.slogan {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  letter-spacing: 0.05em;
  color: var(--marrom);
  margin: 0;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px clamp(28px, 4vw, 40px);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cinza);
}

.footer p {
  margin: 0 0 4px;
  opacity: 0.75;
}

.footer-meta { margin-bottom: 0 !important; }

.footer .dot {
  margin: 0 6px;
  color: var(--dourado);
}

.footer-link {
  color: var(--cinza);
  text-decoration: none;
  border-bottom: 1px solid var(--dourado);
  padding-bottom: 1px;
  transition: color 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--verde);
  border-color: var(--verde);
}

/* ==========================================================================
   ANIMAÇÃO DE ENTRADA — sequencial: logo, título, texto, botão, slogan
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: fade-rise 0.9s var(--ease-soft) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fade-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVIDADE
   ========================================================================== */

@media (max-width: 640px) {
  .logo { height: 128px; }
  .headline { max-width: 14ch; }
  .topo-field { width: 100vw; height: 60vh; opacity: 0.4; }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .headline { max-width: 18ch; }
}

/* Telas muito baixas (paisagem em celulares) */
@media (max-height: 480px) {
  .wrap { padding-top: 28px; padding-bottom: 28px; }
  .logo { height: 96px; }
  .hairline { height: 24px; margin-bottom: 18px; }
  .lede, .cta-block { margin-bottom: 24px; }
}
