/* ═══════════════════════════════════════════════════════
   VOAR – Pés na Terra, Olhar no Futuro.
   Fixed parallax background + frosted glass aesthetic
═══════════════════════════════════════════════════════ */

:root {
  --sage:        #7aab8a;
  --sage-light:  #a8cbb5;
  --sage-dark:   #4e7a5e;
  --blush:       #e8b4a0;
  --blush-light: #f5d8cc;
  --blush-dark:  #c8836a;
  --sky:         #a8c9d8;
  --sky-light:   #d6eaf2;
  --gold:        #d4a843;
  --gold-light:  #f0d080;
  --cream:       #faf6ef;
  --parchment:   #f2eadc;
  --text-dark:   #3d2e1e;
  --text-mid:    #6b5244;
  --text-light:  #9b8070;
  --white:       #ffffff;
  --nav-h:       80px;
  --radius:      18px;
  --radius-lg:   28px;
  --glass:       rgba(250,246,239,0.72);
  --glass-border: rgba(255,255,255,0.55);
  --glass-strong: rgba(250,246,239,0.88);
  --shadow:      0 4px 24px rgba(60,40,10,.10);
  --shadow-lg:   0 16px 56px rgba(60,40,10,.18);
  --shadow-glass:0 8px 40px rgba(60,40,10,.14);
}

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

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

/* THE KEY: fixed background on body, image stays put while content scrolls */
body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  background-color: var(--cream);
}

/* ─── Fixed parallax background ─── */
/* A dedicated fixed div — works on all browsers including iOS Safari */
.parallax-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  background-color: var(--cream);
  background-image: url('assets/hero-bg.png');
  background-repeat: no-repeat;
  background-size: 70%;
  background-position: center 18%;
  /* Soft vignette around the image so it fades into cream */
  -webkit-mask-image: radial-gradient(ellipse 75% 78% at 50% 38%, black 30%, transparent 88%);
  mask-image:         radial-gradient(ellipse 75% 78% at 50% 38%, black 30%, transparent 88%);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ─── Typography ─── */
h1, h2, h3 { font-family: 'Lora', serif; line-height: 1.2; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--sage-dark);
  background: rgba(122,171,138,.18);
  padding: .3em .9em;
  border-radius: 50px;
  margin-bottom: 1rem;
  border: 1px solid rgba(122,171,138,.28);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--text-dark);
  margin-bottom: .75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
  color: var(--white);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  padding: .85em 2.2em;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, filter .2s;
  box-shadow: 0 4px 18px rgba(78,122,94,.35);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 32px rgba(78,122,94,.45);
  filter: brightness(1.06);
}
.btn-primary:active { transform: translateY(0); }

.btn-white {
  background: rgba(255,255,255,.92);
  color: var(--sage-dark);
  box-shadow: 0 4px 18px rgba(0,0,0,.12);
  backdrop-filter: blur(8px);
}
.btn-white:hover { box-shadow: 0 8px 28px rgba(0,0,0,.18); background: var(--white); }

.btn-full { width: 100%; justify-content: center; font-size: 1.05rem; }

/* ─── NAV ─── */
.nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: transparent;
  border-bottom: none;
  height: var(--nav-h);
  transition: background .35s, backdrop-filter .35s, box-shadow .35s;
}
/* JS adds .scrolled class — nav gets subtle glass when not at top */
.nav-wrapper.scrolled {
  background: rgba(250,246,239,.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(122,171,138,.18);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
  padding-left: .75rem;
}
.logo-img {
  height: 70px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-mid);
  position: relative;
  padding-bottom: 2px;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--sage);
  border-radius: 2px;
  transition: width .25s;
}
.nav-links a:hover { color: var(--sage-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; flex-shrink: 0; }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: .3rem;
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(122,171,138,.25);
  border-radius: 50px;
  padding: .3rem .7rem;
  backdrop-filter: blur(6px);
}
.lang-btn {
  font-size: .8rem;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  color: var(--text-light);
  padding: .15em .4em;
  border-radius: 50px;
  transition: all .2s;
  letter-spacing: .05em;
}
.lang-btn.active, .lang-btn:hover {
  color: var(--sage-dark);
  background: rgba(122,171,138,.22);
}
.lang-divider { color: var(--text-light); font-size: .75rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
/* Hero is transparent — the fixed body background shows through */
.hero {
  position: relative;
  min-height: 80svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h);
  /* No background — body bg image shows here at full strength */
}


.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.petal {
  position: absolute;
  font-size: 1.8rem;
  opacity: .25;
  will-change: transform;
}
.petal-inner {
  display: inline-block;
  animation: float-petal 8s ease-in-out infinite;
}
.p1 { top: 25%; left: 5%;  animation-delay: 0s;    font-size: 2.2rem; }
.p2 { top: 8%;  left: 88%; animation-delay: 1.5s;  font-size: 1.5rem; }
.p3 { top: 40%; left: 3%;  animation-delay: 3s;    font-size: 1.8rem; }
.p4 { top: 75%; left: 90%; animation-delay: 2s;    font-size: 2rem; }
.p5 { top: 85%; left: 8%;  animation-delay: 4.5s;  font-size: 1.4rem; }
.p6 { top: 20%; left: 75%; animation-delay: 0.8s;  font-size: 1.6rem; }
@keyframes float-petal {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-18px) rotate(15deg); }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 3rem 1.5rem 5rem;
  max-width: 720px;
  animation: hero-rise 1s ease both;
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}


.hero-title {
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  line-height: 1.22;
  margin-bottom: 1.25rem;
}
.title-line-1 { display: block; color: var(--text-dark); }
.title-line-2 {
  display: block;
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--blush-dark) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero subtitle on a glass pill so it's readable over illustration */
.hero-subtitle {
  font-size: clamp(.95rem, 2.5vw, 1.12rem);
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 auto 2.2rem;
  line-height: 1.75;
  padding: .7em 1.3em;
}


/* ─── SECTIONS — fully transparent so fixed bg always shows through ─── */
.video-section,
.features,
.contact {
  position: relative;
  padding: 6rem 0;
  background: transparent;
}

/* ─── VIDEO SECTION ─── */

.video-wrapper {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16/9;
  border: 1px solid var(--glass-border);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.video-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(168,203,181,.6) 0%, rgba(214,234,242,.6) 50%, rgba(245,216,204,.6) 100%);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  cursor: pointer;
  transition: filter .2s;
  position: relative;
}
.video-placeholder::after {
  content: 'VOAR';
  position: absolute;
  font-family: 'Pacifico', cursive;
  font-size: 6rem;
  color: rgba(255,255,255,.18);
  letter-spacing: .1em;
  user-select: none;
}
.video-placeholder:hover { filter: brightness(.95); }

.video-play-btn {
  width: 80px; height: 80px;
  color: var(--white);
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.25));
  transition: transform .25s;
  position: relative; z-index: 2;
}
.video-placeholder:hover .video-play-btn { transform: scale(1.1); }

.video-caption {
  color: rgba(255,255,255,.85);
  font-weight: 700;
  font-size: .9rem;
  position: relative; z-index: 2;
}

/* ─── FEATURES ─── */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  text-align: left;
}

/* Glass cards */
.feature-card {
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
  transition: transform .28s, box-shadow .28s, background .28s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--blush), var(--gold));
  opacity: 0;
  transition: opacity .28s;
}
.feature-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 24px 64px rgba(60,40,10,.20);
  background: rgba(255,255,255,.78);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon { margin-bottom: 1rem; }
.feature-icon-img { width: 64px; height: 64px; object-fit: contain; display: block; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: .6rem; color: var(--text-dark); }
.feature-card p  { font-size: .95rem; color: var(--text-mid); line-height: 1.65; }

/* ─── CTA STRIP ─── */
/* Solid sage — acts as a strong visual break, hides bg intentionally */
.cta-strip {
  position: relative;
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 50%, var(--sage-dark) 100%);
  padding: 3.5rem 1.5rem;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}
.cta-strip::before {
  content: '🌿 🌸 🍃 🌼 🌿 🌸 🍃 🌼 🌿 🌸 🍃 🌼';
  position: absolute;
  top: .75rem; left: 0; right: 0;
  font-size: .9rem;
  opacity: .28;
  letter-spacing: .5rem;
  white-space: nowrap;
  overflow: hidden;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-strip p {
  font-family: 'Lora', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--white);
  opacity: .95;
}

/* ─── CONTACT / FORM ─── */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  text-align: left;
  
  
  
  
  padding: 3.5rem 3rem;
  
  
}

.contact-info .section-label,
.contact-info .section-title { text-align: left; }
.contact-info p { color: var(--text-mid); margin-bottom: 2rem; line-height: 1.7; }

.contact-perks { display: flex; flex-direction: column; gap: .75rem; }
.contact-perks li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .95rem;
  color: var(--text-mid);
}
.contact-perks li span { flex: 1; }

/* Form card — solid white for focus + legibility */
.contact-form-wrap {
  background: var(--glass-strong);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--glass-border);
  border: 1.5px solid rgba(255,255,255,.8);
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group   { display: flex; flex-direction: column; gap: .4rem; }
.form-group label {
  font-size: .85rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: .02em;
}
.optional { font-weight: 600; color: var(--text-light); font-size: .8em; }
.form-group input,
.form-group textarea {
  font-family: 'Nunito', sans-serif;
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--cream);
  border: 1.5px solid rgba(122,171,138,.28);
  border-radius: var(--radius);
  padding: .75em 1em;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122,171,138,.18);
  background: var(--white);
}
.form-group input.error { border-color: var(--blush-dark); }
.field-error { font-size: .8rem; color: var(--blush-dark); min-height: 1em; }
.form-privacy { font-size: .78rem; color: var(--text-light); text-align: center; margin-top: .25rem; }

/* Success */
.form-success {
  text-align: center;
  padding: 3rem 1rem;
  animation: hero-rise .5s ease both;
}
.success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.form-success h3 { font-size: 1.6rem; color: var(--text-dark); margin-bottom: .75rem; }
.form-success p  { color: var(--text-mid); line-height: 1.7; }

/* ─── FOOTER ─── */
.footer {
  position: relative;
  z-index: 1;
  background: rgba(61,46,30,.92);
  backdrop-filter: blur(16px);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .6rem;
}
.footer-brand p { width: 100%; font-size: .85rem; color: rgba(250,246,239,.45); margin-top: .2rem; font-style: italic; }
.footer-copy    { font-size: .8rem; color: rgba(250,246,239,.3); margin-top: .5rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .nav-inner { gap: 1.25rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .contact-container { grid-template-columns: 1fr; gap: 2.5rem; padding: 2.5rem 2rem; }
  .contact-info { text-align: center; }
  .contact-info .section-label,
  .contact-info .section-title { text-align: center; }
  .contact-perks { align-items: flex-start; max-width: 360px; margin: 0 auto; }
}

@media (max-width: 640px) {
  :root { --nav-h: 68px; }

  .logo-img { height: 48px; }

  .nav-inner { padding: 0 .875rem; gap: .75rem; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0; top: var(--nav-h);
    background: rgba(250,246,239,.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 800;
  }
  .nav-links.open { display: flex; }
  .nav-links a    { font-size: 1.3rem; }
  .hamburger      { display: flex; }

  /* Hero */
  .hero { min-height: 78svh; }
  .hero-content {
    padding: 1.5rem 1.5rem 3.5rem;
    max-width: 100%;
  }
  .hero-title {
    font-size: clamp(1.7rem, 7.5vw, 2.2rem);
    word-break: break-word;
  }
  .hero-subtitle {
    padding: .5em .75em;
    font-size: .95rem;
    max-width: 100%;
  }

  /* Sections */
  .section-container { padding: 0 1.25rem; }
  .video-section, .features, .contact { padding: 3.5rem 0; }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.75rem;
  }
  .feature-card { padding: 1.5rem 1.25rem; }

  /* CTA strip */
  .cta-strip-inner { flex-direction: column; gap: 1.25rem; }
  .cta-strip p     { font-size: 1.1rem; }

  /* Contact */
  .contact-container { padding: 1.75rem 1.25rem; gap: 2rem; }
  .contact-form-wrap { padding: 1.75rem 1.25rem; }
}

/* ─── Very small screens (≤380px) ─── */
@media (max-width: 380px) {
  .logo-img   { height: 40px; }
  .nav-inner  { padding: 0 .625rem; gap: .5rem; }
  .hero-title { font-size: clamp(1.5rem, 7vw, 1.75rem); }
  .hero-content { padding: 1.25rem 1.25rem 3rem; }
}