
:root {
  --paper: #f6f1e9;
  --paper-soft: #fbf8f3;
  --ink: #0d1939;
  --muted: #5e6573;
  --purple: #554ef0;
  --purple-dark: #433be0;
  --yellow: #ffb51b;
  --line: rgba(13, 25, 57, 0.10);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

a, button { -webkit-tap-highlight-color: transparent; }

.page-shell {
  width: min(1320px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 .85rem;
}

.brand {
  display: inline-flex;
  width: 184px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .46rem .76rem;
  border: 1px solid rgba(13, 25, 57, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  position: relative;
  z-index: 5;
}

.language-switcher span {
  color: #adadb4;
  font-size: .72rem;
}

.language-button {
  border: 0;
  background: transparent;
  color: #91919a;
  padding: .08rem .16rem;
  font: inherit;
  font-size: .74rem;
  font-weight: 820;
  letter-spacing: .08em;
  cursor: pointer;
}

.language-button.is-active { color: var(--purple); }

.language-button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  border-radius: .25rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.09fr) minmax(430px, .91fr);
  align-items: stretch;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 48% 46%, rgba(210,221,255,.82) 0%, rgba(229,235,255,.62) 26%, rgba(247,248,255,.20) 48%, transparent 67%),
    linear-gradient(90deg, #fbfcff 0%, #f5f7ff 42%, #f7f1e7 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.05) 0%,
      rgba(229,235,255,.34) 37%,
      rgba(209,220,255,.44) 52%,
      rgba(241,239,245,.12) 69%,
      rgba(255,255,255,0) 82%);
}

.hero-copy {
  padding: 3.9rem 4.7rem 2.45rem 3.55rem;
  background: linear-gradient(90deg,
    rgba(255,255,255,.96) 0%,
    rgba(253,254,255,.92) 55%,
    rgba(236,241,255,.74) 78%,
    rgba(220,229,255,.34) 94%,
    rgba(220,229,255,0) 100%);
  position: relative;
  z-index: 3;
  overflow: visible;
}

.hero-copy::after {
  content: "";
  position: absolute;
  top: 0;
  right: -13rem;
  bottom: 0;
  width: 16rem;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
    rgba(221,230,255,.66) 0%,
    rgba(225,233,255,.48) 42%,
    rgba(239,240,247,.16) 75%,
    rgba(246,240,232,0) 100%);
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .58rem;
  margin: 0 0 1.35rem;
  color: var(--purple);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: .64rem;
  height: .64rem;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 .25rem rgba(255,181,27,.12);
}

h1 {
  margin: 0;
  max-width: 500px;
  font-size: clamp(3.55rem, 5.1vw, 5.35rem);
  line-height: .89;
  letter-spacing: -.07em;
  font-weight: 860;
}

.brand-dot { color: var(--purple); }

.lead {
  max-width: 565px;
  margin: 1.3rem 0 0;
  font-size: clamp(1.06rem, 1.48vw, 1.16rem);
  font-weight: 720;
  line-height: 1.42;
}

.body-copy,
.journey {
  max-width: 565px;
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.55;
}

.body-copy { margin: .78rem 0 0; }
.journey { margin: .55rem 0 0; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 1.55rem;
}

.button {
  min-height: 3.12rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .62rem;
  padding: .82rem 1.26rem;
  border-radius: .9rem;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: .97rem;
  font-weight: 780;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button svg {
  width: 1.08rem;
  height: 1.08rem;
  fill: currentColor;
}

.button:hover { transform: translateY(-2px); }

.button:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 1rem 2rem rgba(85,78,240,.18);
}

.button-secondary {
  color: var(--purple);
  border-color: var(--purple);
  background: rgba(255,255,255,.35);
}

.hero-visual {
  position: relative;
  min-height: 630px;
  overflow: hidden;
  background: #f5f1eb;
  isolation: isolate;
  z-index: 1;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 3% 48%, rgba(207,219,255,.74) 0%, rgba(222,229,255,.50) 18%, rgba(243,241,238,.12) 43%, transparent 65%),
    linear-gradient(90deg, rgba(218,227,255,.42) 0%, rgba(238,239,245,.12) 28%, transparent 52%);
}

.beagle-bg {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background-image: url("beagle-pattern-light.jpg");
  background-repeat: repeat;
  background-size: 390px 390px;
  background-position: 8% 2%;
  opacity: .34;
  filter: saturate(1.18) contrast(1.14);
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.72) 18%, #000 38%, #000 100%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.72) 18%, #000 38%, #000 100%);
}

.hero-image {
  position: absolute;
  top: -1.5%;
  left: -1.7%;
  width: 103.4%;
  height: 103.4%;
  object-fit: cover;
  object-position: center center;
  z-index: 2;
  opacity: .94;
  mix-blend-mode: normal;
  filter: saturate(1.03) contrast(1.01) brightness(1.02);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(255,255,255,.52);
  border-top: 1px solid rgba(13,25,57,.06);
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .95rem;
  align-items: start;
  padding: 1.55rem 1.45rem;
}

.feature + .feature {
  border-left: 1px solid var(--line);
}

.feature-icon {
  width: 3.05rem;
  height: 3.05rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(13,25,57,.08);
  border-radius: 50%;
  background: rgba(255,255,255,.52);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 1.58rem;
  height: 1.58rem;
  fill: none;
  stroke: var(--purple);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.feature h2 {
  margin: .05rem 0 .3rem;
  font-size: .96rem;
  line-height: 1.25;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .76rem 0 1rem;
  color: #8d8b92;
  font-size: .76rem;
}

@media (max-width: 1100px) {
  .page-shell {
    width: min(100% - 1rem, 1320px);
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 3rem 1.7rem 2.2rem;
    background: linear-gradient(180deg,
      rgba(255,255,255,.88) 0%,
      rgba(247,249,255,.72) 100%);
  }

  .hero-copy::after {
    display: none;
  }

  .hero-visual::after {
    background: linear-gradient(180deg,
      rgba(224,231,255,.30) 0%,
      rgba(255,255,255,0) 30%);
  }

  .hero-visual {
    min-height: 470px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .feature + .feature {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .site-header { padding-top: .85rem; }

  .brand { width: 150px; }

  .language-switcher {
    gap: .22rem;
    padding: .42rem .52rem;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.9rem);
  }

  .eyebrow {
    font-size: .66rem;
    letter-spacing: .11em;
  }

  .actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 360px;
  }

  .beagle-bg {
    background-size: auto, 340px 340px;
    background-position: center, center top;
  }

  .feature {
    padding: 1.2rem 1rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}

/* LUNALU v13 — refinamento do hero aprovado
   1) transição contínua entre o painel editorial e a fotografia
   2) maior leitura do padrão, com um azul muito suave e sem competir com o símbolo */

.hero {
  background:
    radial-gradient(circle at 20% 18%, rgba(221, 228, 255, .78), transparent 31rem),
    linear-gradient(90deg, #f4f7ff 0%, #fbfaf7 43%, #f4efe8 100%);
}

.hero::before {
  background:
    linear-gradient(90deg,
      rgba(215, 225, 255, .36) 0%,
      rgba(232, 237, 255, .22) 35%,
      rgba(240, 241, 250, .10) 52%,
      rgba(255, 255, 255, 0) 70%);
}

/* Faixa global de união: dissolve a linha vertical sem lavar o conteúdo. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg,
    transparent 0%,
    transparent 45%,
    rgba(228, 234, 255, .16) 51%,
    rgba(237, 237, 244, .18) 56%,
    rgba(247, 241, 233, .08) 62%,
    transparent 71%);
}

.hero-copy {
  z-index: 4;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, .91) 0%,
    rgba(253, 253, 255, .86) 61%,
    rgba(239, 243, 255, .57) 82%,
    rgba(239, 243, 255, 0) 100%);
}

.hero-copy::after {
  right: -10.5rem;
  width: 13rem;
  background: linear-gradient(90deg,
    rgba(231, 237, 255, .57) 0%,
    rgba(238, 241, 253, .34) 42%,
    rgba(244, 241, 238, .12) 72%,
    rgba(244, 241, 238, 0) 100%);
}

.hero-visual {
  z-index: 1;
  background: #f2eef0;
}

/* O padrão fica atrás da fotografia e também reaparece subtilmente por cima,
   dando definição aos elementos mais claros sem criar efeito de papel de parede. */
.beagle-bg {
  background-image:
    linear-gradient(90deg,
      rgba(217, 225, 255, .43) 0%,
      rgba(230, 233, 247, .20) 35%,
      rgba(247, 241, 231, .03) 100%),
    url("beagle-pattern-light.jpg");
  background-size: auto, 470px 470px;
  filter: saturate(1.18) contrast(1.10);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: url("beagle-pattern-light.jpg");
  background-repeat: repeat;
  background-size: 520px 520px;
  background-position: center top;
  opacity: .075;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.42) 28%, rgba(0,0,0,.18) 60%, rgba(0,0,0,.34) 100%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.42) 28%, rgba(0,0,0,.18) 60%, rgba(0,0,0,.34) 100%);
}

.hero-visual::after {
  z-index: 5;
  background:
    linear-gradient(90deg,
      rgba(218, 227, 255, .50) 0%,
      rgba(231, 235, 250, .28) 13%,
      rgba(247, 244, 240, .06) 32%,
      rgba(255,255,255,0) 48%),
    linear-gradient(180deg,
      rgba(255,255,255,.05) 0%,
      rgba(255,255,255,0) 70%,
      rgba(246,240,232,.09) 100%);
}

.hero-image {
  filter: saturate(1.035) contrast(1.035);
}

@media (max-width: 1040px) {
  .hero::after { display: none; }
  .hero-copy::after { display: none; }
  .hero-visual::after {
    background: linear-gradient(180deg,
      rgba(229, 235, 255, .28) 0%,
      rgba(255,255,255,0) 24%,
      rgba(246,240,232,.08) 100%);
  }
}


/* LUNALU v14 — correção visível e cache-busting
   A faixa é colocada acima da fotografia para eliminar a emenda vertical. */
@media (min-width: 1041px) {
  .hero::after {
    display: block;
    inset: 0 auto 0 50.8%;
    width: 12rem;
    z-index: 8;
    background: linear-gradient(90deg,
      rgba(252,252,253,0) 0%,
      rgba(247,248,253,.76) 23%,
      rgba(232,237,255,.48) 46%,
      rgba(241,238,236,.34) 68%,
      rgba(247,241,232,0) 100%);
    filter: blur(.2px);
  }

  .hero-visual::before {
    z-index: 6;
    opacity: .13;
    background-size: 430px 430px;
    mix-blend-mode: multiply;
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.95), rgba(0,0,0,.54) 38%, rgba(0,0,0,.20) 72%, rgba(0,0,0,.08));
    mask-image: linear-gradient(90deg, rgba(0,0,0,.95), rgba(0,0,0,.54) 38%, rgba(0,0,0,.20) 72%, rgba(0,0,0,.08));
  }

  .hero-visual::after {
    z-index: 7;
    background:
      linear-gradient(90deg,
        rgba(218,227,255,.58) 0%,
        rgba(229,234,252,.35) 15%,
        rgba(247,244,240,.08) 35%,
        rgba(255,255,255,0) 52%),
      linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 70%, rgba(246,240,232,.08));
  }
}

/* LUNALU v15 — composição final do hero
   A fotografia invade suavemente o painel editorial e o padrão ganha leitura real. */
@media (min-width: 1041px) {
  .hero {
    grid-template-columns: minmax(0, 1.09fr) minmax(430px, .91fr);
    background:
      radial-gradient(ellipse at 48% 45%, rgba(218,226,255,.58) 0%, rgba(235,239,255,.24) 20%, transparent 42%),
      linear-gradient(90deg, #fbfbfd 0%, #f8f9ff 44%, #f4efe7 100%);
  }

  .hero::before,
  .hero::after,
  .hero-copy::after,
  .hero-visual::before,
  .hero-visual::after { display: none; }

  .hero-copy {
    z-index: 4;
    padding-right: 5.4rem;
    background: linear-gradient(90deg,
      rgba(255,255,255,.96) 0%,
      rgba(253,253,255,.94) 60%,
      rgba(241,245,255,.82) 79%,
      rgba(232,238,255,.30) 92%,
      rgba(232,238,255,0) 100%);
  }

  .hero-visual {
    z-index: 2;
    margin-left: -8.2rem;
    min-width: calc(100% + 8.2rem);
    background: transparent;
    overflow: hidden;
  }

  .hero-image {
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    mix-blend-mode: normal;
    object-fit: cover;
    object-position: center center;
    filter: saturate(1.05) contrast(1.03) brightness(1.015);
    -webkit-mask-image: linear-gradient(90deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.10) 7%,
      rgba(0,0,0,.48) 16%,
      rgba(0,0,0,.88) 25%,
      #000 34%);
    mask-image: linear-gradient(90deg,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,.10) 7%,
      rgba(0,0,0,.48) 16%,
      rgba(0,0,0,.88) 25%,
      #000 34%);
  }

  .beagle-bg { display: none; }
}

@media (max-width: 1040px) {
  .hero-image {
    content: url("hero-visual-approved-clean.jpg");
    mix-blend-mode: normal;
    opacity: 1;
  }
  .beagle-bg { display: none; }
}

/* LUNALU V16: gradiente central alargado e padrão reforçado */


/* LUNALU V17: nova hero oficial */
.hero-image{filter:saturate(1.04) contrast(1.02) brightness(1.01);}
