/* =========================================================
   Luvi — estilos
   ========================================================= */

:root {
  --court: #0369a1;
  --court-dark: #025583;
  --court-deep: #0b2a3f;
  --court-soft: #e0f0fa;
  --lime: #c6f432;
  --lime-dark: #a8d414;
  --text: #12202b;
  --text-soft: #34495a;
  --muted: #5f7383;
  --bg: #f5f8fa;
  --white: #ffffff;
  --border: #dbe5ec;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 45px -22px rgba(11, 42, 63, 0.35);

  --font-main: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-main);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }

p { margin: 0 0 1em; }
a { color: inherit; }

.wrap {
  width: min(1140px, 100% - 32px);
  margin-inline: auto;
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--court);
  background: var(--court-soft);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.tag--lime { background: var(--lime); color: var(--court-deep); }

/* ---------- Botões ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 12px;
  background: var(--court);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--court);
  transition: background 0.2s, border-color 0.2s, transform 0.2s, color 0.2s;
}

.cta:hover { background: var(--court-dark); border-color: var(--court-dark); transform: translateY(-2px); }

.cta--outline { background: transparent; color: var(--court-deep); border-color: var(--court-deep); }
.cta--outline:hover { background: var(--court-deep); border-color: var(--court-deep); color: var(--white); }

.cta--lime { background: var(--lime); border-color: var(--lime); color: var(--court-deep); }
.cta--lime:hover { background: var(--lime-dark); border-color: var(--lime-dark); }

.cta--sm { padding: 0.55rem 1.1rem; font-size: 0.92rem; }

/* ---------- Logo ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand__ball {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lime);
  border: 3px solid var(--court-deep);
  position: relative;
  overflow: hidden;
}

.brand__ball::before,
.brand__ball::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid var(--court-deep);
  border-radius: 50%;
}

.brand__ball::before { left: -20px; top: -5px; }
.brand__ball::after { right: -20px; top: -5px; }

.brand__name {
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--court-deep);
}

/* ---------- Cabeçalho ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 248, 250, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.menu a:not(.cta) {
  text-decoration: none;
  font-weight: 600;
  color: var(--text-soft);
  position: relative;
}

.menu a:not(.cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: var(--lime-dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.menu a:not(.cta):hover::after { transform: scaleX(1); }

.menu-check,
.menu-burger { display: none; }

/* ---------- Abertura ---------- */
.opening {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.opening__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.opening__lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.opening__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.opening__photo { margin: 2rem 0 0; }
.opening__photo img { width: 100%; border-radius: var(--radius); display: block; }

/* Quadra */
.court {
  position: relative;
  width: 100%;
  max-width: 430px;
  aspect-ratio: 4 / 5;
  justify-self: center;
  background: var(--court);
  border-radius: 22px;
  border: 6px solid var(--court-deep);
  box-shadow: var(--shadow);
}

.court__line {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
}

.court__line--mid { left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; }
.court__line--center { left: 50%; top: 22%; bottom: 22%; width: 4px; margin-left: -2px; }
.court__line--top { left: 0; right: 0; top: 22%; height: 4px; }
.court__line--bottom { left: 0; right: 0; bottom: 22%; height: 4px; }
.court__line--left { top: 0; bottom: 0; left: 12%; width: 4px; }
.court__line--right { top: 0; bottom: 0; right: 12%; width: 4px; }

.court__ball {
  position: absolute;
  top: 12%;
  right: 22%;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 10px 20px -6px rgba(0, 0, 0, 0.4);
}

.court__tile {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.1rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 150px;
}

.court__tile span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
}

.court__tile strong { font-size: 1.2rem; color: var(--court-deep); }

.court__tile--a { top: 30%; left: -10%; }
.court__tile--b { top: 52%; right: -9%; }
.court__tile--c { bottom: 5%; left: 8%; }

/* ---------- Faixa ---------- */
.band {
  background: var(--court-deep);
  color: var(--white);
  padding: 2.6rem 0;
}

.band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.band__item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--lime);
}

.band__item strong {
  font-size: clamp(1.8rem, 3.3vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
}

.band__item span { color: #a9c3d4; font-size: 0.95rem; }

/* ---------- Seções ---------- */
.block { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.block--white { background: var(--white); }

.block__head { max-width: 640px; margin-bottom: 2.75rem; }

/* ---------- Sobre ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.story__text p { font-size: 1.08rem; color: var(--text-soft); }

.story__photo { margin: 1.5rem 0 0; }
.story__photo img { width: 100%; border-radius: var(--radius); display: block; }

/* ---------- Oferta ---------- */
.range {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.range__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.range__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }

.range__num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--lime);
  color: var(--court-deep);
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.range__card p { color: var(--muted); margin: 0; }

.range__card--call {
  background: var(--court);
  border-color: var(--court);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.range__card--call p { color: rgba(255, 255, 255, 0.9); margin-bottom: 1.4rem; }

/* ---------- Passos (destaque escuro) ---------- */
.steps {
  background: var(--court-deep);
  color: var(--white);
  overflow: hidden;
}

.steps__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.steps__content > p { color: #b6cddc; font-size: 1.05rem; }

.steps__list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 1.1rem;
}

.steps__list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.steps__list li::before {
  content: "";
  flex: none;
  margin-top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lime)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2a3f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 14px no-repeat;
}

.steps__list strong { display: block; font-size: 1.05rem; }
.steps__list span { color: #b6cddc; font-size: 0.97rem; }

/* Pódio */
.podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  height: 320px;
}

.podium__step {
  width: 30%;
  max-width: 120px;
  border-radius: 12px 12px 0 0;
  background: var(--tone);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.9rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--court-deep);
}

.podium__step--1 { --tone: #3a87b3; height: 65%; color: var(--white); }
.podium__step--2 { --tone: var(--lime); height: 100%; }
.podium__step--3 { --tone: #2a6a8f; height: 45%; color: var(--white); }

/* ---------- Perguntas ---------- */
.faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--court);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.6rem;
}

.faq__item h3 { margin-bottom: 0.45em; }
.faq__item p { margin: 0; color: var(--muted); }

/* ---------- Dados ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.facts__row { background: var(--white); padding: 1.4rem 1.7rem; }
.facts__row--wide { grid-column: span 3; }

.facts dt {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.facts dd {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  background: #e3f6e9;
  color: #17793a;
  font-size: 0.95rem;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- Contato ---------- */
.reach { padding-top: 0; }

.reach__box {
  background: var(--court);
  color: var(--white);
  border-radius: 26px;
  padding: clamp(2rem, 6vw, 3.75rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.reach__box p { color: #d3e9f6; margin: 0; }

.reach__links { display: grid; gap: 0.9rem; }

.reach__link {
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.reach__link span {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--lime);
  font-weight: 700;
}

.reach__link strong { font-size: 1.1rem; overflow-wrap: anywhere; }

.reach__link:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--lime); }

/* ---------- Rodapé ---------- */
.base {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.base__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

.base p { margin: 0; }

.base__legal { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.85rem; }
.base__legal a { color: var(--muted); text-decoration: none; }
.base__legal a:hover { text-decoration: underline; }

.brand--small .brand__ball { width: 26px; height: 26px; }
.brand--small .brand__ball::before,
.brand--small .brand__ball::after { width: 22px; height: 22px; }
.brand--small .brand__ball::before { left: -16px; top: -4px; }
.brand--small .brand__ball::after { right: -16px; top: -4px; }
.brand--small .brand__name { font-size: 1.3rem; }

/* ---------- Páginas legais ---------- */
.legal {
  width: min(760px, 100% - 32px);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 0.5em; }
.legal h2 { font-size: 1.3rem; margin: 2em 0 0.5em; letter-spacing: -0.01em; }
.legal p { color: var(--text-soft); }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 960px) {
  .opening__grid,
  .story,
  .steps__grid,
  .reach__box { grid-template-columns: 1fr; }

  .court { max-width: 360px; }
  .range { grid-template-columns: repeat(2, 1fr); }
  .band__grid { grid-template-columns: repeat(2, 1fr); }
  .podium { height: 250px; }
  .base__row { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 760px) {
  .menu-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 2;
  }

  .menu-burger span {
    display: block;
    height: 2px;
    width: 24px;
    margin-inline: auto;
    background: var(--court-deep);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }

  .menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 16px 1.25rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .menu a:not(.cta) { padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
  .menu a:not(.cta)::after { display: none; }
  .menu .cta { margin-top: 1rem; }

  .menu-check:checked ~ .menu { display: flex; }

  .menu-check:checked + .menu-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-check:checked + .menu-burger span:nth-child(2) { opacity: 0; }
  .menu-check:checked + .menu-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .facts { grid-template-columns: 1fr; }
  .facts__row--wide { grid-column: auto; }
  .faq { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .range,
  .band__grid { grid-template-columns: 1fr; }

  .court__tile { min-width: 0; padding: 0.65rem 0.85rem; }
  .court__tile strong { font-size: 1rem; }
  .court__tile--a { left: 4px; }
  .court__tile--b { right: 4px; }

  .opening__actions .cta { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { }
  * { transition: none !important; }
}
