/* Vitrola Falante — landing-page UI kit layout
   Page-level structure only; components carry their own look (components.css).
   Mobile-first; widens at 860px. */

.lp { font-family: var(--font-body); color: var(--text-on-dark); background: var(--plum-700); }
.lp * { box-sizing: border-box; }
.lp-container { max-width: var(--container); margin: 0 auto; padding-inline: var(--section-pad-x); }
.lp-narrow { max-width: var(--container-narrow); margin: 0 auto; padding-inline: var(--section-pad-x); }
.lp-section { padding-block: var(--section-pad-y); position: relative; overflow: hidden; }
.lp-section--mint { background: linear-gradient(160deg, var(--mint-100), var(--sage-200, var(--mint-200)) 95%); color: var(--text-body); }
.lp-section--deep { background: linear-gradient(160deg, var(--plum-900), var(--plum-700)); }
/* Plain plum sections get a vertical gradient so backgrounds aren't flat. */
.lp-section:not(.lp-section--mint):not(.lp-section--deep):not(.lp-hero) { background: linear-gradient(160deg, var(--plum-600), var(--plum-900)); }
/* Hero: a warm radial glow toward the portrait side. */
.lp-hero { background: radial-gradient(130% 105% at 80% 6%, var(--plum-500, var(--plum-600)), var(--plum-800) 62%); }

/* shared heading rhythm */
.lp-title { font-family: var(--font-display); font-weight: var(--fw-display-light); font-size: var(--fs-display-lg); line-height: var(--lh-title); letter-spacing: var(--ls-display); margin: 18px 0 0; max-width: 20ch; color: var(--ivory); }
.lp-section--mint .lp-title { color: var(--text-strong); }
.lp-title em { font-style: italic; color: var(--sage-400); }
.lp-section--mint .lp-title em { color: var(--accent-strong); }
.lp-lead { font-size: var(--fs-body-lg); line-height: var(--lh-body); color: var(--text-on-dark-muted); margin: 20px 0 0; max-width: 56ch; }
.lp-section--mint .lp-lead { color: var(--text-body); }
.lp-prose p { font-size: var(--fs-body); line-height: var(--lh-body); margin: 0 0 16px; max-width: 60ch; }

/* decorative motif texture bleeding off an edge */
.lp-motif-bg { position: absolute; pointer-events: none; opacity: 0.07; color: var(--sage-500); }

/* ---------- Nav ---------- */
.lp-nav { position: sticky; top: 0; z-index: 20; background: rgba(58, 19, 53, 0.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-on-dark); }
.lp-nav__inner { max-width: var(--container); margin: 0 auto; padding: 14px var(--section-pad-x); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lp-nav__logo { height: 44px; display: block; }
.lp-nav__home { display: inline-flex; align-items: center; }
.lp-nav__links { display: none; gap: 28px; }
.lp-nav__links a { color: var(--text-on-dark-muted); text-decoration: none; font-size: var(--fs-body-sm); transition: color var(--dur-fast) var(--ease-soft); }
.lp-nav__links a:hover { color: var(--accent); }
.lp-nav__cta { display: none; }

/* ---------- Hero ---------- */
/* Fit the hero within the viewport so the CTAs never fall below the fold. */
.lp-hero { min-height: calc(100svh - 76px); display: grid; align-content: center; padding-top: 36px; padding-bottom: 36px; }
.lp-hero__grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.lp-hero__headline { font-family: var(--font-display); font-weight: var(--fw-display); font-size: clamp(34px, 4.4vw, 58px); line-height: 1.04; letter-spacing: var(--ls-display); color: var(--ivory); margin: 0; }
.lp-hero__headline em { font-style: italic; color: var(--sage-400); }
.lp-hero__sub { font-size: var(--fs-body-lg); line-height: var(--lh-body); color: var(--text-on-dark-muted); margin: 20px 0 0; max-width: 52ch; }
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.lp-hero__cred { margin-top: 16px; font-size: var(--fs-caption); letter-spacing: .06em; color: var(--text-on-dark-muted); }

/* ---------- Photo placeholder ---------- */
.lp-photo { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--plum-600); border: 1px solid var(--border-on-dark); display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5; }
.lp-photo--wide { aspect-ratio: 5 / 4; }
.lp-photo__motif { color: var(--plum-400); opacity: 0.5; }
.lp-photo__tag { position: absolute; left: 16px; bottom: 14px; font-style: italic; font-family: var(--font-display); font-size: var(--fs-body); color: var(--ivory-dim); }
.lp-section--mint .lp-photo { background: var(--mint-100); border-color: var(--border-on-light); }
.lp-section--mint .lp-photo__motif { color: var(--sage-500); opacity: 0.55; }
.lp-section--mint .lp-photo__tag { color: var(--text-muted); }

/* ---------- About ---------- */
.lp-about__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.lp-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- Projetos ---------- */
.lp-projetos__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }

/* ---------- Comparison ---------- */
.lp-compare__cards { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 48px; }
.lp-compare__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.lp-compare__kind { font-size: var(--fs-caption); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* ---------- Process ---------- */
.lp-process__steps { display: grid; grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }

/* ---------- FAQ ---------- */
.lp-faq__list { margin-top: 40px; }

/* ---------- Contact ---------- */
.lp-contact__grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.lp-form { display: flex; flex-direction: column; gap: 16px; }
.lp-form__row { display: grid; grid-template-columns: 1fr; gap: 16px; }
.lp-contact__note { margin-top: 18px; font-size: var(--fs-body-sm); color: var(--text-on-dark-muted); display: flex; gap: 10px; align-items: flex-start; }
.lp-contact__or { display: flex; align-items: center; gap: 14px; margin: 6px 0; color: var(--text-on-dark-muted); font-size: var(--fs-body-sm); }
.lp-contact__or::before, .lp-contact__or::after { content: ""; flex: 1; height: 1px; background: var(--border-on-dark); }
.lp-thanks { font-family: var(--font-display); font-size: var(--fs-display-sm); color: var(--ivory); line-height: var(--lh-snug); }
.lp-thanks span { display: block; font-family: var(--font-body); font-size: var(--fs-body-sm); color: var(--text-on-dark-muted); margin-top: 8px; }

/* ---------- Footer ---------- */
.lp-footer { background: var(--plum-900); padding-block: var(--space-8); color: var(--text-on-dark-muted); }
.lp-footer__logo { height: 96px; opacity: 0.95; margin-bottom: 22px; }
.lp-footer__cred { font-size: var(--fs-body-sm); line-height: var(--lh-body); max-width: 64ch; }
.lp-footer__cred strong { color: var(--ivory); font-weight: var(--fw-body-medium); }
.lp-footer__links { display: flex; gap: 20px; margin-top: 22px; }
.lp-footer__links a { color: var(--accent); text-decoration: none; font-size: var(--fs-body-sm); }
.lp-footer__links a:hover { color: var(--sage-600); }

/* ---------- responsive ---------- */
@media (min-width: 720px) {
  .lp-form__row { grid-template-columns: 1fr 1fr; }
  .lp-compare__cards { grid-template-columns: repeat(3, 1fr); }
  .lp-process__steps { grid-template-columns: repeat(2, 1fr); gap: 40px 48px; }
}
@media (min-width: 860px) {
  .lp-nav__links, .lp-nav__cta { display: flex; }
  .lp-hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .lp-about__grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
  .lp-contact__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .lp-projetos__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}

/* ============================================================
   Entrance animations — calm, editorial. Never bouncy.

   Pure CSS load-in animations: each element's RESTING state is fully
   visible, and the keyframe simply plays a fade-up as it first paints.
   This means content is never stuck hidden — if animations don't run
   (JS off, reduced motion, or a non-animating renderer), everything is
   simply visible. `.anim-on` is added synchronously by a tiny script so
   no-JS visitors get the plain (visible) page.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {

  @keyframes lpUp {
    from { opacity: 0; transform: translate3d(0, 26px, 0); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes lpUpMedia {
    from { opacity: 0; transform: translate3d(30px, 18px, 0) scale(0.985); }
    to   { opacity: 1; transform: none; }
  }

  /* Hero plays on load (it's above the fold). */
  .anim-on .lp-hero__headline,
  .anim-on .lp-hero__sub,
  .anim-on .lp-hero__cta,
  .anim-on .lp-hero__cred {
    animation: lpUp var(--dur-slow) var(--ease-soft) both;
  }
  .anim-on .lp-hero__sub    { animation-delay: 80ms; }
  .anim-on .lp-hero__cta    { animation-delay: 160ms; }
  .anim-on .lp-hero__cred   { animation-delay: 220ms; }
  .anim-on .lp-hero__media  { animation: lpUpMedia var(--dur-slow) var(--ease-soft) both; animation-delay: 120ms; }

  /* Every other section reveals when it scrolls into view (`.in-view` is added
     by JS via IntersectionObserver). Default state (no `.in-view`) is fully
     visible, so content is never gated behind the animation. */
  .anim-on .in-view .lp-eyebrow,
  .anim-on .in-view .lp-title,
  .anim-on .in-view .lp-lead,
  .anim-on .in-view .lp-prose,
  .anim-on .in-view .lp-quote,
  .anim-on .in-view .lp-tags,
  .anim-on .in-view .lp-about__grid .lp-photo,
  .anim-on .in-view .lp-projetos__grid .lp-photo,
  .anim-on .in-view .lp-contact__grid > *,
  .anim-on .in-view .lp-compare__cards > * > *,
  .anim-on .in-view .lp-process__steps > * > *,
  .anim-on .in-view .lp-faq__list > * > *,
  .anim-on .in-view .lp-testi > * {
    animation: lpUp var(--dur-slow) var(--ease-soft) both;
  }
  /* Top-to-bottom rhythm within each section. */
  .anim-on .in-view .lp-title  { animation-delay: 60ms; }
  .anim-on .in-view .lp-lead,
  .anim-on .in-view .lp-prose  { animation-delay: 120ms; }
  .anim-on .in-view .lp-quote  { animation-delay: 180ms; }
  .anim-on .in-view .lp-compare__cards > *:nth-child(1) > *,
  .anim-on .in-view .lp-process__steps > *:nth-child(1) > *,
  .anim-on .in-view .lp-faq__list > *:nth-child(1) > *,
  .anim-on .in-view .lp-testi > *:nth-child(1) { animation-delay: 130ms; }
  .anim-on .in-view .lp-compare__cards > *:nth-child(2) > *,
  .anim-on .in-view .lp-process__steps > *:nth-child(2) > *,
  .anim-on .in-view .lp-faq__list > *:nth-child(2) > *,
  .anim-on .in-view .lp-testi > *:nth-child(2) { animation-delay: 220ms; }
  .anim-on .in-view .lp-compare__cards > *:nth-child(3) > *,
  .anim-on .in-view .lp-process__steps > *:nth-child(3) > *,
  .anim-on .in-view .lp-faq__list > *:nth-child(3) > *,
  .anim-on .in-view .lp-testi > *:nth-child(3) { animation-delay: 310ms; }
  .anim-on .in-view .lp-process__steps > *:nth-child(4) > *,
  .anim-on .in-view .lp-faq__list > *:nth-child(4) > * { animation-delay: 400ms; }

  /* Nav eases down on first paint. */
  .anim-on .lp-nav { animation: lpNavIn var(--dur-slow) var(--ease-soft) both; }
  @keyframes lpNavIn {
    from { opacity: 0; transform: translate3d(0, -14px, 0); }
    to   { opacity: 1; transform: none; }
  }

  /* Decorative gramophone drifts gently into place on load (one-shot). */
  .anim-on .lp-motif-bg { animation: lpMotifIn 1600ms var(--ease-soft) both; }
  @keyframes lpMotifIn {
    from { opacity: 0; transform: translate3d(40px, 30px, 0) rotate(-6deg); }
    to   { opacity: 0.07; transform: translate3d(0, 0, 0) rotate(0deg); }
  }
}

/* ============================================================
   Structure additions — section labels, services, sexology,
   projetos, testimonials, brand accents, footer icons.
   ============================================================ */

/* Section eyebrow / label */
.lp-eyebrow { display: inline-block; font-family: var(--font-body); font-size: var(--fs-caption); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 2px; }
.lp-section--mint .lp-eyebrow { color: var(--accent-strong); }

/* Prose on dark sections reads in muted ivory */
.lp-section:not(.lp-section--mint) .lp-prose p { color: var(--text-on-dark-muted); }
.lp-prose--lead p:first-child { font-size: var(--fs-body-lg); color: var(--ivory); }
.lp-section--mint .lp-prose--lead p:first-child { color: var(--text-strong); }

/* Pull-quote highlight */
.lp-quote { font-family: var(--font-display); font-style: italic; font-size: var(--fs-display-sm); line-height: var(--lh-snug); color: var(--sage-400); margin: 24px 0 0; max-width: 26ch; }
.lp-section--mint .lp-quote { color: var(--accent-strong); }

/* CTA inside a card */
.lp-card-cta { margin-top: 22px; }

/* Serviços: stacked cards (one above the other), centred and readable */
#servicos .lp-compare__cards { grid-template-columns: 1fr !important; gap: 20px; }

/* Brand decorative accents (white marks, sit quietly behind content) */
.lp-brand-accent { position: absolute; pointer-events: none; opacity: 0.1; user-select: none; z-index: 0; }
.lp-section > .lp-container, .lp-section > .lp-narrow { position: relative; z-index: 1; }

/* Testimonials reserved area */
.lp-testi { margin-top: 44px; display: grid; grid-template-columns: 1fr; gap: 18px; }
.lp-testi__card { border: 1px dashed var(--border-on-dark); border-radius: var(--radius-lg); padding: var(--space-6); }
.lp-testi__quote { font-family: var(--font-display); font-style: italic; font-size: var(--fs-body-lg); color: var(--ivory-dim); line-height: var(--lh-body); }
.lp-testi__by { margin-top: 14px; font-size: var(--fs-body-sm); color: var(--text-on-dark-muted); }
.lp-section--mint .lp-testi__card { border-color: var(--border-on-light); }
.lp-section--mint .lp-testi__quote { color: var(--text-strong); }
.lp-section--mint .lp-testi__by { color: var(--text-muted); }

/* Footer links with icons */
.lp-footer__links a { display: inline-flex; align-items: center; gap: 8px; }
.lp-footer__links svg { width: 18px; height: 18px; flex: none; }

@media (min-width: 720px) {
  .lp-testi { grid-template-columns: repeat(3, 1fr); }
}

/* On small screens, keep long CTAs inside the viewport. The DS buttons use
   `white-space: nowrap`, so a long label (e.g. "Quero desabafar, com
   privacidade") would overflow the screen — allow wrapping and cap the width. */
@media (max-width: 560px) {
  .lp .vf-btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}
