/* ============================================================
   MoV Poltronas — landing page
   Brand palette extracted from logo + flyer:
   warm cream, petrol blue, leather tan
   ============================================================ */

/* ---------- Tokens ---------- */
:root{
  --cream:       #F4EDE3;
  --cream-2:     #EDE3D5;
  --cream-card:  #FBF7F1;
  --ink:         #2A2420;
  --ink-soft:    #5C544C;
  --petrol:      #2E4E58;
  --petrol-2:    #3C6573;
  --teal:        #5E8B99;
  --tan:         #B3957E;
  --tan-deep:    #8F6F58;
  --leather:     #7A5638;
  --line:        rgba(42,36,32,.12);
  --line-soft:   rgba(42,36,32,.07);

  /* accent is swappable via tweak (petrol | tan) */
  --accent:      var(--petrol);
  --accent-2:    var(--petrol-2);
  --on-accent:   #FBF7F1;

  --wa:          #1FA855;        /* whatsapp green, used sparingly */

  --radius:      20px;
  --radius-sm:   13px;
  --radius-pill: 999px;

  --shadow-sm:   0 1px 2px rgba(42,36,32,.05), 0 6px 18px -10px rgba(42,36,32,.18);
  --shadow-md:   0 2px 6px rgba(42,36,32,.06), 0 24px 50px -22px rgba(42,36,32,.32);

  --maxw:        1120px;
  --pad:         clamp(20px, 5vw, 64px);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body:    "Archivo", system-ui, sans-serif;
  --font-serif:   "Instrument Serif", Georgia, serif;
}

/* corners tweak */
body[data-corners="square"]{
  --radius: 4px; --radius-sm: 3px;
}

/* accent tweak */
body[data-accent="tan"]{
  --accent: var(--tan-deep);
  --accent-2: var(--tan);
}

/* ---------- Reset ---------- */
*{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection{ background: var(--petrol); color: #fff; }

/* ---------- Layout ---------- */
.wrap{ width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
section{ position: relative; }
.eyebrow{
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before{ content:""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

h1,h2,h3{ font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.serif{ font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: 0; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 16px 26px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 16px; letter-spacing: -.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn svg{ width: 20px; height: 20px; flex: none; }
.btn-wa{
  background: var(--wa); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(31,168,85,.7);
}
.btn-wa:hover{ transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(31,168,85,.75); }
.btn-accent{ background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-sm); }
.btn-accent:hover{ transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost{
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn-ghost:hover{ box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); }
.btn-lg{ padding: 19px 34px; font-size: 17px; }
.btn-block{ width: 100%; }

/* ---------- Top bar ---------- */
.topbar{
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 86%, transparent);
  backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar .wrap{ display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand{ display: inline-flex; flex-direction: column; line-height: 1; }
.brand-img{ display: block; height: 46px; width: auto; }
.topbar .btn{ padding: 11px 20px; font-size: 14.5px; }

/* ---------- Hero ---------- */
.hero{ padding-top: clamp(34px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero-grid{ display: grid; gap: clamp(30px, 5vw, 56px); align-items: center; }
.hero-copy h1{
  font-size: clamp(40px, 11vw, 76px);
  margin: 18px 0 0;
}
.hero-copy h1 .lift{ color: var(--accent); display: block; }
.hero-sub{
  font-size: clamp(20px, 5vw, 27px); line-height: 1.32; color: var(--ink-soft);
  margin-top: 20px; max-width: 19ch;
}
.hero-sub .serif{ color: var(--ink); font-size: 1.18em; }
.hero-cta{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* media frame (vertical 9:16) */
.media-frame{
  position: relative; width: 100%; max-width: 340px; margin-inline: auto;
  aspect-ratio: 9 / 16; border-radius: calc(var(--radius) + 8px);
  overflow: hidden; box-shadow: var(--shadow-md);
  background: var(--cream-2);
}
.media-frame image-slot{ width: 100%; height: 100%; display: block; }
.media-frame .media-photo,
.media-frame .media-video{
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%;
}
/* hero toggles between still photo and autoplay video */
body[data-media="photo"] .hero .media-video{ display: none; }
body[data-media="video"] .hero .media-photo{ display: none; }
/* sound toggle on videos */
.sound-btn{
  position: absolute; right: 14px; bottom: 14px; z-index: 4;
  width: 42px; height: 42px; border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 56%, transparent);
  backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center;
  transition: transform .15s ease, background .15s ease;
}
.sound-btn:hover{ transform: scale(1.06); background: color-mix(in srgb, var(--ink) 70%, transparent); }
.sound-btn svg{ width: 19px; height: 19px; }
.media-badge{
  position: absolute; left: 14px; bottom: 14px; z-index: 3;
  display: none; align-items: center; gap: 9px;
  padding: 9px 15px 9px 11px; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--ink) 62%, transparent);
  backdrop-filter: blur(6px); color: #fff; font-size: 13px; font-weight: 600;
  pointer-events: none;
}
.media-badge .play{
  width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center;
}
.media-badge .play svg{ width: 12px; height: 12px; margin-left: 1px; }
body[data-media="video"] .media-badge{ display: inline-flex; }
/* soft brand glow behind media */
.media-wrap{ position: relative; display: grid; place-items: center; }
.media-wrap::before{
  content:""; position: absolute; inset: -8% -4%;
  background: radial-gradient(60% 55% at 60% 35%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 70%);
  filter: blur(10px); z-index: 0;
}
.media-frame{ position: relative; z-index: 1; }

/* trust chips */
.trust{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip{
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 16px 10px 12px; border-radius: var(--radius-pill);
  background: var(--cream-card); box-shadow: var(--shadow-sm);
  font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.chip .ic{ width: 28px; height: 28px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, var(--cream-card)); color: var(--accent); display: grid; place-items: center; flex: none; }
.chip .ic svg{ width: 15px; height: 15px; }
.chip b{ color: var(--accent); }

/* ---- Hero variant: SPLIT (default) ---- */
body[data-hero="split"] .hero-grid{ grid-template-columns: 1fr; }
@media (min-width: 880px){
  body[data-hero="split"] .hero-grid{ grid-template-columns: 1.05fr .95fr; }
  body[data-hero="split"] .hero-copy{ order: 1; }
  body[data-hero="split"] .media-wrap{ order: 2; }
}

/* ---- Hero variant: OVERLAY (text card over media) ---- */
body[data-hero="overlay"] .media-frame{ max-width: 420px; aspect-ratio: 4/5; }
@media (min-width: 880px){
  body[data-hero="overlay"] .hero-grid{ grid-template-columns: 1fr; max-width: 760px; margin-inline: auto; }
  body[data-hero="overlay"] .media-wrap{ margin-bottom: -120px; }
  body[data-hero="overlay"] .hero-copy{
    position: relative; z-index: 4; background: var(--cream-card);
    border-radius: var(--radius); padding: 34px clamp(24px,4vw,44px);
    box-shadow: var(--shadow-md); width: min(560px, 92%); margin-inline: auto;
  }
}

/* ---- Hero variant: FULLBLEED (vertical media as bg) ---- */
body[data-hero="fullbleed"] .hero{ padding: 0; }
body[data-hero="fullbleed"] .hero-grid{ grid-template-columns: 1fr; gap: 0; }
body[data-hero="fullbleed"] .media-wrap{
  position: absolute; inset: 0; z-index: 0; display: block;
}
body[data-hero="fullbleed"] .media-wrap::before{ display: none; }
body[data-hero="fullbleed"] .media-frame{
  width: 100%; max-width: none; height: 100%; aspect-ratio: auto;
  border-radius: 0; box-shadow: none;
}
body[data-hero="fullbleed"] .media-frame::after{
  content:""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(20,17,15,.34) 0%, rgba(20,17,15,.12) 32%, rgba(20,17,15,.62) 78%, rgba(20,17,15,.86) 100%);
}
body[data-hero="fullbleed"] .hero-inner{ position: relative; z-index: 5; min-height: min(86vh, 760px); display: flex; align-items: flex-end; padding-block: 56px clamp(40px,7vw,72px); }
body[data-hero="fullbleed"] .hero-copy{ color: #fff; }
body[data-hero="fullbleed"] .hero-copy h1{ text-shadow: 0 2px 30px rgba(0,0,0,.4); }
body[data-hero="fullbleed"] .hero-copy h1 .lift{ color: var(--cream); }
body[data-hero="fullbleed"] .hero-sub{ color: rgba(255,255,255,.9); }
body[data-hero="fullbleed"] .hero-sub .serif{ color: #fff; }
body[data-hero="fullbleed"] .eyebrow{ color: var(--cream); }
body[data-hero="fullbleed"] .chip{ background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(8px); box-shadow: none; }
body[data-hero="fullbleed"] .chip .ic{ background: rgba(255,255,255,.2); color: #fff; }
body[data-hero="fullbleed"] .chip b{ color: var(--cream); }
body[data-hero="fullbleed"] .media-badge{ left: auto; right: 16px; bottom: 16px; }
/* default: hide hero-inner wrapper styling on non-fullbleed */
.hero-inner{ position: relative; }

/* ---------- Section heading block ---------- */
.sec-head{ max-width: 640px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head h2{ font-size: clamp(30px, 7vw, 48px); margin-top: 14px; }
.sec-head p{ color: var(--ink-soft); font-size: 18px; margin-top: 14px; }
.section-pad{ padding-block: clamp(54px, 8vw, 96px); }

/* ---------- Modelo (product) ---------- */
.modelo{ background: var(--petrol); color: var(--cream-card); border-radius: clamp(20px, 4vw, 38px); overflow: hidden; }
.modelo .eyebrow{ color: var(--tan); }
.modelo-grid{ display: grid; gap: clamp(30px, 5vw, 56px); align-items: center; padding: clamp(28px, 5vw, 60px); }
.modelo h2{ font-size: clamp(30px, 7vw, 50px); color: #fff; }
.modelo .lead{ color: rgba(251,247,241,.78); font-size: 18px; margin-top: 16px; }
.feat-list{ list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.feat-list li{ display: flex; gap: 13px; align-items: flex-start; font-size: 16.5px; }
.feat-list .fic{
  width: 30px; height: 30px; flex: none; border-radius: 9px;
  background: color-mix(in srgb, var(--tan) 30%, transparent); color: var(--tan);
  display: grid; place-items: center; margin-top: 1px;
}
.feat-list .fic svg{ width: 17px; height: 17px; }
.feat-list b{ color: #fff; font-weight: 700; }
.feat-list span{ color: rgba(251,247,241,.7); }
.modelo .media-frame{ box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); }
.modelo .media-wrap::before{ background: radial-gradient(60% 55% at 50% 40%, color-mix(in srgb, var(--tan) 38%, transparent), transparent 72%); }
.modelo-cta{ margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 880px){
  .modelo-grid{ grid-template-columns: .9fr 1.1fr; }
  .modelo .media-wrap{ order: -1; }
}

/* ---------- Valores (price table) ---------- */
.valores-grid{ display: grid; gap: clamp(22px, 4vw, 40px); }
@media (min-width: 920px){ .valores-grid{ grid-template-columns: 1.15fr .85fr; align-items: start; } }

.price-card{ background: var(--cream-card); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.price-card .pc-head{ display: flex; align-items: baseline; justify-content: space-between; padding: 0 6px 14px; border-bottom: 1px solid var(--line); }
.price-card .pc-head span{ font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.price-row{
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 6px; border-bottom: 1px solid var(--line-soft);
}
.price-row:last-of-type{ border-bottom: none; }
.price-row .days{ display: flex; align-items: center; gap: 13px; font-size: 19px; font-weight: 700; }
.price-row .days .cal{ width: 38px; height: 38px; border-radius: 11px; background: color-mix(in srgb, var(--accent) 12%, var(--cream-card)); color: var(--accent); display: grid; place-items: center; flex: none; }
.price-row .days .cal svg{ width: 19px; height: 19px; }
.price-row .days small{ display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; }
.price-row .val{ font-family: var(--font-display); font-weight: 800; font-size: 21px; color: var(--accent); white-space: nowrap; }
.price-row.feature{ background: color-mix(in srgb, var(--accent) 8%, transparent); border-radius: var(--radius-sm); padding-inline: 14px; border-bottom: none; }
.price-row .tagbest{ font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--on-accent); background: var(--accent); padding: 3px 9px; border-radius: var(--radius-pill); margin-left: 4px; }
.price-foot{ margin-top: 14px; padding: 12px 14px; font-size: 14px; color: var(--ink-soft); display: flex; align-items: center; gap: 9px; }
.price-foot svg{ width: 17px; height: 17px; color: var(--accent); flex: none; }

.perks{ display: grid; gap: 14px; align-content: start; }
.perk{ display: flex; align-items: center; gap: 16px; background: var(--cream-card); border-radius: var(--radius-sm); padding: 18px 20px; box-shadow: var(--shadow-sm); }
.perk .pic{ width: 46px; height: 46px; flex: none; border-radius: 13px; background: color-mix(in srgb, var(--accent) 13%, var(--cream-card)); color: var(--accent); display: grid; place-items: center; }
.perk .pic svg{ width: 23px; height: 23px; }
.perk b{ display: block; font-size: 16px; }
.perk span{ font-size: 13.5px; color: var(--ink-soft); }
.valores-cta{ margin-top: 4px; }

/* ---------- Por que escolher ---------- */
.why{ background: var(--cream-2); }
.why-grid{ display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px){ .why-grid{ grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px){ .why-grid{ grid-template-columns: repeat(3, 1fr); } }
.why-card{ background: var(--cream-card); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.why-card .wic{ width: 52px; height: 52px; border-radius: 15px; background: color-mix(in srgb, var(--accent) 13%, var(--cream-card)); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.why-card .wic svg{ width: 26px; height: 26px; }
.why-card h3{ font-size: 20px; }
.why-card p{ color: var(--ink-soft); font-size: 15.5px; margin-top: 9px; }

/* ---------- Final CTA ---------- */
.cta-band{ background: var(--petrol); color: #fff; border-radius: clamp(20px, 4vw, 38px); padding: clamp(40px, 6vw, 76px) var(--pad); text-align: center; }
.cta-band h2{ font-size: clamp(30px, 7vw, 52px); color: #fff; max-width: 16ch; margin-inline: auto; }
.cta-band h2 .serif{ color: var(--tan); }
.cta-band p{ color: rgba(251,247,241,.78); font-size: 18px; margin: 16px auto 0; max-width: 46ch; }
.cta-band .btn-wa{ margin-top: 30px; }

/* ---------- Footer ---------- */
.footer{ padding-block: clamp(48px,7vw,72px) 40px; }
.footer-grid{ display: grid; gap: 34px; grid-template-columns: 1fr; }
@media (min-width: 760px){ .footer-grid{ grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .brand .mark{ font-size: 42px; }
.footer .brand .tag{ font-size: 9.5px; }
.footer .brand-img{ height: 70px; }
.footer p.about{ color: var(--ink-soft); font-size: 15px; margin-top: 18px; max-width: 38ch; }
.footer h4{ font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; font-family: var(--font-display); }
.footer-links{ list-style: none; display: grid; gap: 12px; }
.footer-links a{ display: inline-flex; align-items: center; gap: 11px; font-weight: 600; font-size: 16px; transition: color .15s; }
.footer-links a:hover{ color: var(--accent); }
.footer-links a .ic{ width: 36px; height: 36px; border-radius: 11px; background: var(--cream-2); color: var(--accent); display: grid; place-items: center; flex: none; }
.footer-links a .ic svg{ width: 18px; height: 18px; }
.footer-links a span small{ display: block; font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.footer-bottom{ margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; color: var(--ink-soft); font-size: 13.5px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float{
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(31,168,85,.7);
  transition: transform .2s;
}
.wa-float:hover{ transform: scale(1.07); }
.wa-float svg{ width: 30px; height: 30px; }
.wa-float::after{
  content:""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(31,168,85,.5); animation: pulse 2.4s infinite;
}
@keyframes pulse{ to{ box-shadow: 0 0 0 16px rgba(31,168,85,0); } }
@media (prefers-reduced-motion: reduce){ .wa-float::after{ animation: none; } html{ scroll-behavior: auto; } }

/* ---------- Reveal on scroll ---------- */
/* Transform-only entrance: opacity is ALWAYS 1, so a stalled/throttled
   transition can never leave content invisible — worst case it sits a few px
   lower. Hidden offset only applies when JS is present. */
html.js .reveal{ transform: translateY(20px); }
html.js .reveal.in{ transform: none; transition: transform .65s cubic-bezier(.2,.6,.2,1); }
@media (prefers-reduced-motion: reduce){
  html.js .reveal, html.js .reveal.in{ transform: none; transition: none; }
  html{ scroll-behavior: auto; }
}

/* ---------- Tweaks root ---------- */
#tweaks-root:empty{ display: none; }
