/* ============================================================
   CASA DA MONTANHA — CSS Variables & Reset
   variables.css
   ============================================================ */

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

/* ── Colour Tokens ── */
:root {
  --black:       #0a0a0a;
  --white:       #f8f7f4;
  --green:       #8fbc5a;
  --green-dark:  #5e7e35;
  --green-pale:  #d4e9b8;
  --gold:        #c9a96e;
  --grey:        #888888;
  --grey-light:  #f0efec;
  --text-muted:  #555555;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Prevent font size inflation on mobile */
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Touch-friendly links & buttons ── */
a, button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

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

a {
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ── Utility ── */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
}

.section-label {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.2rem;
  font-weight: 400;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--green);
  margin: 2.5rem auto;
}

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive Container ── */
@media (max-width: 900px) {
  .container {
    padding: 0 1.5rem;
  }
}
