/* ============================================================
   RESET + BASE
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream:  #f1ece2;
  --ink:    #1b1a17;
  --muted:  #6f6a60;
  --accent: #8a9a7b;
  --line:   rgba(27, 26, 23, 0.12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================================
   FUNDO NATURAL COM ANIMAÇÃO
   ============================================================ */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

/* camada que reage ao rato (parallax) */
.bg-parallax {
  position: absolute;
  inset: -6%;
  will-change: transform;
  transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* imagem com zoom lento (Ken Burns) */
.bg-image {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?auto=format&fit=crop&w=2400&q=80');
  /* EDITA AQUI ↑ troca por outra foto tua ou outro link Unsplash */
  background-size: cover;
  background-position: center 40%;
  animation: kenburns 42s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes kenburns {
  0%   { transform: scale(1.02) translate3d(0, 0, 0); }
  100% { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}

/* véu escuro para o texto respirar */
.bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 20%, rgba(20,25,20,0) 40%, rgba(15,20,15,0.55) 100%),
    linear-gradient(180deg,
      rgba(18,22,18,0.55) 0%,
      rgba(18,22,18,0.20) 35%,
      rgba(18,22,18,0.30) 65%,
      rgba(18,22,18,0.70) 100%);
}

/* grão de filme — dá textura, tira o ar "digital limpo" */
.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 5vw, 4rem);
  color: #f5f2ec;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 500;
}

.hero-center {
  max-width: 1000px;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(3.2rem, 13vw, 10rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 40px rgba(0,0,0,0.35);
}

.tagline {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 42ch;
  opacity: 0.88;
  line-height: 1.55;
  text-shadow: 0 1px 20px rgba(0,0,0,0.4);
}

.scroll-hint {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.6;
  position: relative;
  padding-left: 2.4rem;
}

.scroll-hint::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.8rem;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scaleX(0.5); opacity: 0.5; }
  50%      { transform: scaleX(1);   opacity: 1; }
}

/* ============================================================
   SOBRE MIM
   ============================================================ */
.about {
  position: relative;
  z-index: 1;
  background: var(--cream);
  padding: clamp(5rem, 12vh, 9rem) clamp(1.5rem, 6vw, 4rem);
}

.about-inner {
  max-width: 780px;
  margin: 0 auto;
}

.label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 2rem;
}

.about-text {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 4rem;
}

/* grelha de detalhes */
.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2.2rem 2rem;
  padding: 2.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.detail p {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--ink);
}

/* links */
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
}

.links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s ease;
}

.links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.links a:hover {
  color: var(--accent);
}

.links a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.foot {
  position: relative;
  z-index: 1;
  background: var(--cream);
  padding: 2rem clamp(1.5rem, 6vw, 4rem) 4rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ============================================================
   ANIMAÇÕES DE ENTRADA
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 1.1s ease,
    transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* pequeno atraso em cascata dentro do bloco "sobre" */
.about-text.reveal { transition-delay: 0.05s; }
.details.reveal    { transition-delay: 0.15s; }
.links.reveal      { transition-delay: 0.25s; }

/* ============================================================
   ACESSIBILIDADE — respeita quem não quer movimento
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .bg-image { animation: none; }
  .bg-parallax { transition: none; }
  .scroll-hint::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 600px) {
  .hero h1 { letter-spacing: -0.02em; }
  .about-text { font-size: 1.25rem; }
  .details { grid-template-columns: 1fr 1fr; gap: 1.8rem 1rem; }
  .links { gap: 1.4rem; }
}