/* Repassa Brasil — LP Unidade Butantã */

:root {
  --rb-orange-50:  #FFF6EA;
  --rb-orange-100: #FFE4BD;
  --rb-orange-200: #FBC97D;
  --rb-orange-300: #F7AC3F;
  --rb-orange-400: #F39220;
  --rb-orange-500: #E37A0B;
  --rb-orange-600: #C25F05;

  --rb-brown-300:  #8E6F4F;
  --rb-brown-400:  #5C4429;
  --rb-brown-500:  #3D2D1B;
  --rb-brown-600:  #2A1C12;
  --rb-brown-700:  #1E140C;

  --rb-green-400:  #2EA45A;
  --rb-green-500:  #1E8848;

  --rb-cream-50:   #FBF7F0;
  --rb-cream-100:  #F4ECDD;
  --rb-cream-200:  #E9DBC2;
  --rb-cream-300:  #D6C3A3;

  --rb-danger:     #C8351C;

  --bg-page:        var(--rb-cream-50);
  --fg-default:     var(--rb-brown-600);
  --border-default: var(--rb-cream-200);

  --font-display: 'Archivo Black', 'Archivo', system-ui, sans-serif;
  --font-sans:    'Archivo', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Plus Jakarta Sans', 'Archivo', system-ui, sans-serif;

  --radius-md: 12px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  --shadow-md: 0 8px 20px rgba(42, 28, 18, .10);
  --shadow-lg: 0 18px 40px rgba(42, 28, 18, .14);
  --shadow-accent: 0 10px 24px rgba(243, 146, 32, .30);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --dur-base: 200ms;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }
html, body { margin: 0 }
body {
  background: var(--bg-page);
  color: var(--fg-default);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--rb-orange-500) }
a:hover { color: var(--rb-orange-600) }
img { max-width: 100% }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-default);
  height: 72px; display: flex; align-items: center;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none }
.nav-logo img { height: 38px; display: block; border-radius: 8px; mix-blend-mode: multiply }
.nav-logo-text { font-family: var(--font-display); font-size: 18px; line-height: 1; text-transform: uppercase; letter-spacing: -.02em }
.nav-logo-text .o { color: var(--rb-orange-400) } .nav-logo-text .b { color: var(--rb-brown-600) }
.unit-pill {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 8px;
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: var(--rb-brown-600); color: var(--rb-cream-50);
  font-family: var(--font-sans); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.unit-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--rb-orange-400) }

/* ---- Botões ---- */
.btn {
  font-family: var(--font-sans); font-weight: 700; font-size: 15px;
  border: 0; border-radius: var(--radius-md); padding: 14px 22px; cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; white-space: nowrap; min-height: 44px;
}
.btn:focus-visible { outline: 2px solid var(--rb-orange-400); outline-offset: 2px }
.btn:active { transform: translateY(1px) }
.btn-primary { background: var(--rb-orange-400); color: #fff; box-shadow: var(--shadow-accent) }
.btn-primary:hover { background: var(--rb-orange-500); color: #fff; transform: translateY(-1px); text-decoration: none }
.btn-dark { background: var(--rb-brown-600); color: var(--rb-cream-50) }
.btn-dark:hover { background: var(--rb-brown-700); color: var(--rb-cream-50); text-decoration: none }
.btn-ghost { background: transparent; color: var(--rb-brown-600) }
.btn-ghost:hover { background: var(--rb-cream-100); color: var(--rb-brown-600); text-decoration: none }
.btn-lg { padding: 16px 28px; font-size: 16px }
.btn-sm { padding: 9px 14px; font-size: 13px; min-height: 0 }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--dur-base) var(--ease-out) }
.btn-primary:hover svg { transform: translateX(3px) }

/* ---- Hero ---- */
.hero { position: relative; padding: 64px 0 110px; overflow: hidden }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(243, 146, 32, .18), transparent 60%),
    radial-gradient(ellipse at 0% 80%, rgba(42, 28, 18, .06), transparent 50%),
    var(--bg-page);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--rb-orange-500); background: var(--rb-orange-50);
  padding: 8px 14px; border-radius: var(--radius-pill); margin-bottom: 20px;
}
.hero-eyebrow svg { width: 14px; height: 14px }
.hero-title {
  font-family: var(--font-display); font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  line-height: .95; text-transform: uppercase; letter-spacing: -.02em;
  color: var(--rb-brown-600); margin: 0 0 20px;
}
.hero-title .accent { color: var(--rb-orange-400) }
.hero-sub { font-size: 18px; color: var(--rb-brown-400); max-width: 460px; margin: 0 0 28px; line-height: 1.5 }
.hero-sub strong { color: var(--rb-brown-600); font-weight: 700 }
.hero-cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap }
.hero-rating { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border-default); max-width: 460px }
.hero-rating .stars { color: var(--rb-orange-400); letter-spacing: 1px; font-size: 16px }
.hero-rating .stars strong { margin-left: 4px; font-size: 13px; color: var(--rb-brown-600); font-weight: 800 }
.hero-rating .label { font-size: 13px; color: var(--rb-brown-500) }
.hero-rating .label strong { font-weight: 800; color: var(--rb-brown-600) }
.google-G {
  width: 28px; height: 28px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 1px var(--border-default);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.google-G svg { display: block }

/* ---- Card do formulário ---- */
.form-card {
  background: linear-gradient(160deg, var(--rb-brown-500) -30%, var(--rb-brown-600) 45%);
  border-radius: var(--radius-xl); padding: 32px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(243, 146, 32, .18);
  color: var(--rb-cream-50); scroll-margin-top: 96px;
}
.form-card h2 {
  font-family: var(--font-display); font-size: 24px; line-height: 1.12;
  text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 6px; color: #fff;
}
.form-card .sub { font-size: 13px; color: var(--rb-cream-200); margin-bottom: 22px; display: flex; align-items: center; gap: 8px }
.form-card .sub::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rb-green-400); flex-shrink: 0 }
.stack { display: flex; flex-direction: column; gap: 12px }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0 }
.field-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--rb-cream-200) }
.form-card input {
  font-family: var(--font-body); font-size: 15px; padding: 13px 16px;
  border: 1px solid rgba(246, 241, 235, .18); border-radius: var(--radius-md);
  background: var(--rb-brown-700); color: #fff; height: 48px; width: 100%;
  transition: all var(--dur-base) var(--ease-out);
}
.form-card input::placeholder { color: var(--rb-brown-300) }
.form-card input:focus { outline: none; border-color: var(--rb-orange-400); box-shadow: 0 0 0 3px rgba(243, 146, 32, .25) }
.form-card input:user-invalid { border-color: var(--rb-danger) }
.submit { margin-top: 8px; width: 100%; padding: 15px 22px; font-size: 16px }
.fine { font-size: 11px; color: var(--rb-cream-200); text-align: center; margin-top: 4px }
.ok { display: none; text-align: center; padding: 24px 0 8px }
.ok .check { width: 56px; height: 56px; border-radius: 50%; background: var(--rb-green-500); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px }
.ok .check svg { width: 26px; height: 26px }
.ok h3 { font-family: var(--font-display); font-size: 20px; text-transform: uppercase; color: #fff; margin: 0 0 8px; line-height: 1.15 }
.ok p { font-size: 14px; color: var(--rb-cream-200); margin: 0 0 18px }
.ok a { color: var(--rb-orange-300); font-weight: 700 }
.form-card.sent form { display: none }
.form-card.sent .ok { display: block }

/* ---- Transição hero → unidade (degradê + card) ---- */
.seam {
  height: 170px; margin-top: -80px; position: relative; z-index: 1;
  background:
    radial-gradient(70% 120% at 50% 100%, rgba(243, 146, 32, .16), transparent 72%),
    linear-gradient(180deg, var(--rb-cream-50) 0%, var(--rb-cream-100) 52%, var(--rb-cream-300) 100%);
}
.unidade {
  background: linear-gradient(180deg, var(--rb-brown-500) 0%, var(--rb-brown-600) 220px);
  color: var(--rb-cream-50); padding: 88px 0 72px;
  position: relative; overflow: hidden; z-index: 2;
  margin-top: -84px;
  border-radius: 48px 48px 0 0;
  box-shadow: 0 -22px 44px rgba(42, 28, 18, .22);
}
.unidade::before {
  content: ""; position: absolute; top: -40%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(243, 146, 32, .12), transparent 70%);
  pointer-events: none;
}
.unidade-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative }
.photo {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  aspect-ratio: 1200/690; margin: 0;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(243, 146, 32, .25);
}
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40% }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(42, 28, 18, 0) 55%, rgba(42, 28, 18, .72)) }
.photo figcaption {
  position: absolute; left: 22px; bottom: 20px; z-index: 1; color: var(--rb-cream-50);
  font-family: var(--font-display); font-size: 16px; text-transform: uppercase;
  letter-spacing: -.01em; display: flex; align-items: center; gap: 10px;
}
.photo figcaption::before { content: ""; width: 22px; height: 2px; background: var(--rb-orange-400) }
.unidade .eyebrow {
  font-family: var(--font-sans); font-weight: 700; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--rb-orange-300);
  margin-bottom: 14px; display: block;
}
.unidade h2 {
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem); line-height: 1.05; letter-spacing: -.02em;
  color: #fff; margin: 0 0 18px;
}
.unidade h2 .accent { color: var(--rb-orange-400) }
.unidade .lead { font-size: 16px; color: var(--rb-cream-200); line-height: 1.55; margin: 0 0 28px; max-width: 46ch }
.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px 32px; margin-bottom: 32px }
.info .k { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--rb-cream-200); margin-bottom: 6px }
.info .v { font-family: var(--font-sans); font-weight: 700; font-size: 17px; line-height: 1.35; color: #fff }
.info .v a { color: #fff; text-decoration: none }
.info .v a:hover { color: var(--rb-orange-300) }
.info .v-note { font-weight: 500; color: var(--rb-cream-200); font-size: 14px }
.unidade .row { display: flex; gap: 14px; flex-wrap: wrap }
.btn-outline { background: transparent; color: var(--rb-cream-50); border: 1.5px solid rgba(246, 241, 235, .35) }
.btn-outline:hover { border-color: var(--rb-orange-400); color: var(--rb-orange-300); text-decoration: none }

/* ---- Reveal (interação de entrada, discreta) ---- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out) }
.reveal.d1 { transition-delay: .07s }
.reveal.d2 { transition-delay: .14s }
.reveal.d3 { transition-delay: .21s }
.reveal.d4 { transition-delay: .28s }
.reveal.in { opacity: 1; transform: none }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none }
  html { scroll-behavior: auto }
  .wa-fab { animation: none }
}

/* ---- Footer ---- */
.footer { background: var(--rb-brown-700); color: var(--rb-cream-200); padding: 26px 0; font-size: 13px }
.footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px }
.foot-brand b { color: var(--rb-cream-50) }
.socials { display: flex; gap: 10px }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: var(--rb-cream-200); border: 1px solid rgba(246, 241, 235, .22);
  transition: all var(--dur-base) var(--ease-out);
}
.socials a:hover { color: var(--rb-orange-300); border-color: var(--rb-orange-400); transform: translateY(-2px) }
.socials svg { width: 19px; height: 19px }

/* ---- FAB WhatsApp ---- */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 136, 72, .5) }
  50% { box-shadow: 0 0 0 16px rgba(30, 136, 72, 0) }
}
.wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--rb-green-500); color: #fff;
  display: flex; align-items: center; justify-content: center;
  animation: pulse 2s infinite; box-shadow: var(--shadow-md);
}
.wa-fab:hover { color: #fff; background: var(--rb-green-400) }
.wa-fab svg { width: 28px; height: 28px }

/* ---- Responsivo ---- */
@media (max-width: 900px) {
  .hero { padding: 40px 0 88px }
  .hero-grid, .unidade-grid { grid-template-columns: 1fr; gap: 36px }
  .unit-pill { display: none }
  .unidade { border-radius: 36px 36px 0 0; padding: 72px 0 64px }
  .seam { height: 140px; margin-top: -64px }
}
@media (max-width: 560px) {
  .container { padding: 0 20px }
  .form-card { padding: 26px 20px; border-radius: 22px }
  .form-card h2 { font-size: 21px }
  .hero { padding: 32px 0 72px }
  .hero-cta-row .btn { width: 100% }
  .nav .btn { display: none }
  .row2 { grid-template-columns: 1fr }
  .photo { border-radius: 20px }
  .unidade { border-radius: 26px 26px 0 0; margin-top: -64px; padding: 60px 0 56px }
  .seam { height: 110px; margin-top: -48px }
  .footer .container { justify-content: center; text-align: center }
  .wa-fab { bottom: 18px; right: 18px }
}
