/* ============================================================
   BASE.CSS — Tokens globais, reset, tipografia, cursor
   SM · Sheila Machado Paisagista  v3
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --ink:         #1A1A16;
  --ink-soft:    #3A3A32;
  --cream:       #F7F4EF;
  --cream-dark:  #EDE9E0;
  --cream-mid:   #E5DFD4;
  --sage:        #7A9E78;
  --sage-light:  #C8DAC4;
  --green:       #3D6B2C;
  --green-pale:  #EDF2E8;
  --green-mid:   #C5D9C1;
  --sand:        #C8B89A;
  --sand-pale:   #F2EDE4;
  --linen:       #F0EBE1;
  --muted:       #8A8880;
  --line:        rgba(26,26,22,0.10);
  --line-subtle: rgba(26,26,22,0.06);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;

  --max:    1400px;
  --gutter: clamp(1.56rem, 5vw, 5rem);
  --nav-h: 80px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 18px; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  min-height: 100vh;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { border: none; background: none; cursor: none; font: inherit; }
ul { list-style: none; }
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor-plant { display: none !important; }
}

/* ── Cursor Plantinha — sem anel ── */
.cursor-plant {
  position: fixed; pointer-events: none;
  z-index: 9999; top: 0; left: 0;
  transform: translate(-6px, -24px) scale(1);
  will-change: left, top, transform;
  transition: transform .25s var(--ease-out);
}

/* ── Reveal ── */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible      { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .10s; }
.reveal-delay-2 { transition-delay: .22s; }
.reveal-delay-3 { transition-delay: .36s; }
.reveal-delay-4 { transition-delay: .50s; }
.reveal-left {
  opacity: 0; transform: translateX(-28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal-left.is-visible { opacity: 1; transform: none; }

/* ── Layout ── */
.container {
  width: 100%; max-width: var(--max);
  margin: 0 auto; padding: 0 var(--gutter);
}
.section-label {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2.5rem;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ── Typography helpers ── */
.t-label {
  font-family: var(--sans); font-size: 0.63rem;
  font-weight: 500; letter-spacing: .20em; text-transform: uppercase; color: var(--muted);
}
.t-headline {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.05; letter-spacing: -.015em;
}
.t-display {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: .92; letter-spacing: -.025em;
}

/* ── Button ── */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 2rem;
  font-family: var(--sans); font-size: .74rem; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--ink); color: var(--ink);
  position: relative; overflow: hidden;
  transition: color .4s var(--ease-out);
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out); z-index: 0;
}
.btn:hover::before { transform: scaleX(1); }
.btn:hover { color: var(--cream); }
.btn span, .btn svg { position: relative; z-index: 1; }
.btn svg { transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translate(3px,-3px); }
.btn--green { border-color: var(--green); color: var(--green); }
.btn--green::before { background: var(--green); }
.btn--green:hover { color: var(--cream); }
.btn--ghost { border-color: var(--line); color: var(--muted); }
.btn--ghost::before { background: var(--cream-dark); }
.btn--ghost:hover { color: var(--ink); }

/* ── Page hero (interior pages) ── */
.page-hero {
  padding-top: var(--nav-h);
  padding-bottom: clamp(3rem, 6vh, 5rem);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero__bg-text {
  position: absolute; right: -1rem; bottom: -2rem;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(10rem, 20vw, 20rem);
  color: rgba(26,26,22,.04); line-height: 1;
  pointer-events: none; user-select: none;
  white-space: nowrap;
}
.page-hero__inner { padding: 4rem var(--gutter) 0; max-width: var(--max); margin: 0 auto; }
.page-hero__eyebrow {
  display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem;
}
.page-hero__line { display: block; width: 28px; height: 1px; background: var(--sage); }
.page-hero__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: .95; letter-spacing: -.025em; color: var(--ink);
}
.page-hero__title em { font-style: italic; color: var(--sage); }
.page-hero__sub {
  margin-top: 1.5rem; max-width: 520px;
  font-size: clamp(.88rem, 1.3vw, 1rem); font-weight: 300;
  color: var(--ink-soft); line-height: 1.8;
}

/* ── Scrollbar / Selection ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--sage-light); border-radius: 2px; }
::selection { background: var(--sage-light); color: var(--ink); }
