/* =========================================================
   MIMAZELI — pré-lançamento
   Paleta oficial: #E90064 · #F14C92 · #CFB3F5 · #FFF0F8 · #FFFFFF
   ========================================================= */


:root {
  --pink: #E90064;
  --pink-2: #F14C92;
  --lilas: #CFB3F5;
  --rosa: #FFF0F8;
  --branco: #FFFFFF;
  --tinta: #3A0B26;        /* texto principal (ameixa profunda) */
  --tinta-2: #6E3A57;      /* texto secundário */
  --pink-texto: #C90057;   /* pink com contraste AA para textos pequenos */
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --borda: rgba(58, 11, 38, .12);
  --suave: cubic-bezier(.22, .8, .2, 1);
  --pad: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--rosa);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* textura delicada de grão sobre toda a página */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
em { font-style: italic; }
::selection { background: var(--pink); color: var(--branco); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 6px; }

.pular { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--tinta); color: var(--branco); padding: 10px 16px; border-radius: 999px; }
.pular:focus { left: 12px; }

/* ---------- cabeçalho ---------- */
.topo {
  position: absolute; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(18px, 3vw, 32px) var(--pad);
}
.topo__logo img { width: clamp(132px, 15vw, 190px); }
.topo__ig {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; letter-spacing: .02em; text-decoration: none;
  padding: 9px 16px 9px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(233, 0, 100, .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .3s var(--suave), color .3s var(--suave), transform .3s var(--suave);
}
.topo__ig svg { width: 18px; height: 18px; color: var(--pink); transition: color .3s; }
.topo__ig:hover { background: var(--pink); color: var(--branco); transform: translateY(-1px); }
.topo__ig:hover svg { color: var(--branco); }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: clamp(120px, 14vh, 160px) var(--pad) clamp(56px, 8vh, 96px);
  background:
    radial-gradient(120% 80% at 0% 0%, var(--branco) 0%, rgba(255,255,255,0) 55%),
    linear-gradient(180deg, var(--rosa) 0%, #FFE6F3 100%);
  overflow: hidden;
}
.hero__aura { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.aura { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; }
.aura--1 { width: 58vmax; height: 58vmax; right: -14vmax; top: -16vmax; background: radial-gradient(circle at 40% 40%, var(--pink-2), rgba(241,76,146,0) 68%); }
.aura--2 { width: 44vmax; height: 44vmax; right: 6vmax; bottom: -22vmax; background: radial-gradient(circle, var(--lilas), rgba(207,179,245,0) 70%); }
.aura--3 { width: 30vmax; height: 30vmax; left: -12vmax; bottom: -10vmax; background: radial-gradient(circle, rgba(207,179,245,.7), rgba(207,179,245,0) 70%); opacity: .55; }

.selo {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 clamp(18px, 3vh, 28px);
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-texto);
}
.selo__ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(233,0,100,.45); animation: pulso 2.8s var(--suave) infinite; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(233,0,100,.45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(233,0,100,0); } }

.hero__titulo {
  margin: 0; font-family: var(--serif); font-weight: 340; font-optical-sizing: auto;
  font-size: clamp(52px, 8.6vw, 132px); line-height: .94; letter-spacing: -.035em; color: var(--tinta);
}
.hero__titulo .linha { display: block; overflow: hidden; padding: 0 .04em .2em 0; margin-bottom: -.14em; }
.hero__titulo .linha > * { display: inline-block; }
.hero__titulo em {
  font-weight: 400; letter-spacing: -.03em;
  background: linear-gradient(100deg, var(--pink) 0%, var(--pink-2) 45%, #B57BEA 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 .08em .18em 0; margin-bottom: -.18em;
}
.hero__sub { max-width: 30em; margin: clamp(20px, 3vh, 30px) 0 0; font-size: clamp(16px, 1.25vw, 19px); color: var(--tinta-2); }
.hero__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: clamp(28px, 4vh, 40px); }

/* botão principal com reflexo */
.botao {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 28px 0 22px; border-radius: 999px;
  font: 600 16px/1 var(--sans); letter-spacing: .01em; text-decoration: none; color: var(--branco);
  background: linear-gradient(120deg, #D6005C 0%, var(--pink) 55%, #EE3384 100%);
  box-shadow: 0 14px 30px -12px rgba(233, 0, 100, .55), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .4s var(--suave), box-shadow .4s var(--suave);
}
.botao svg { width: 20px; height: 20px; flex: none; }
.botao::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.45) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .9s var(--suave);
}
.botao:hover { transform: translateY(-2px); box-shadow: 0 20px 38px -14px rgba(233, 0, 100, .65), inset 0 1px 0 rgba(255,255,255,.35); }
.botao:hover::before { transform: translateX(120%); }
.botao:active { transform: translateY(0) scale(.98); }
.botao--grande { min-height: 62px; padding: 0 34px 0 28px; font-size: 17px; }

.link-sutil { font-size: 15px; font-weight: 500; text-decoration: none; color: var(--tinta-2); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--suave), color .3s; padding-bottom: 2px; }
.link-sutil:hover { color: var(--pink-texto); background-size: 100% 1px; }

/* composição do cartão */
.hero__visual { position: relative; margin: 0; perspective: 1400px; --rx: 0deg; --ry: 0deg; --ty: 0px; }
.cartao {
  position: relative; transform-style: preserve-3d;
  transform: translateY(var(--ty)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .8s var(--suave);
  filter: drop-shadow(0 40px 46px rgba(120, 0, 60, .22)) drop-shadow(0 10px 14px rgba(120, 0, 60, .12));
}
.cartao img { width: 100%; }
/* reflexo de luz que atravessa o cartão (cópia clareada da imagem, revelada por uma faixa) */
.cartao__luz {
  position: absolute; inset: 0; width: 100%; pointer-events: none; opacity: .85;
  filter: brightness(1.45) saturate(.9); mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(115deg, transparent 40%, #000 50%, transparent 60%); mask-image: linear-gradient(115deg, transparent 40%, #000 50%, transparent 60%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
}
.pronto .cartao__luz { animation: varre 2.2s 1.1s var(--suave) both; }
@keyframes varre { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.hero__visual:hover .cartao__luz { animation: varre 1.6s var(--suave) both; }

.faisca { position: absolute; color: var(--branco); filter: drop-shadow(0 0 10px rgba(255,255,255,.9)) drop-shadow(0 0 18px rgba(241,76,146,.6)); }
.faisca--a { width: 34px; height: 34px; top: 4%; right: 10%; animation: cintila 5s ease-in-out infinite; }
.faisca--b { width: 20px; height: 20px; bottom: 12%; left: 6%; color: var(--pink-2); filter: none; animation: cintila 6s 1.4s ease-in-out infinite; }
@keyframes cintila { 0%, 100% { transform: scale(.7) rotate(0); opacity: .5; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }

/* ---------- títulos de seção ---------- */
.rotulo { margin: 0 0 16px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--pink-texto); }
.titulo-secao {
  margin: 0; font-family: var(--serif); font-weight: 340; letter-spacing: -.03em; line-height: 1;
  font-size: clamp(40px, 6vw, 88px);
}
.titulo-secao em { color: var(--pink); font-weight: 400; }

/* ---------- universo ---------- */
.universo {
  position: relative; background: var(--branco);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px);
  padding: clamp(80px, 14vh, 160px) var(--pad);
}
.universo__cabeca { position: sticky; top: 15vh; align-self: start; }
.segmentos { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--borda); }
.segmento {
  position: relative; display: grid; grid-template-columns: 56px 1fr; grid-template-areas: "num nome" ". desc";
  column-gap: 12px; row-gap: 6px; padding: clamp(24px, 3.4vw, 40px) 0; border-bottom: 1px solid var(--borda);
  cursor: default;
}
.segmento::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, var(--pink), var(--lilas)); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--suave);
}
.segmento__num { grid-area: num; padding-top: .9em; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--pink-texto); }
.segmento__nome {
  grid-area: nome; font-family: var(--serif); font-weight: 340; letter-spacing: -.03em; line-height: 1;
  font-size: clamp(42px, 5.6vw, 84px); transition: transform .6s var(--suave), color .4s var(--suave);
}
.segmento__desc { grid-area: desc; color: var(--tinta-2); max-width: 28em; }
.segmento:hover::before { transform: scaleX(1); }
.segmento:hover .segmento__nome { transform: translateX(.18em); color: var(--pink); font-style: italic; }

/* ---------- manifesto ---------- */
.manifesto {
  position: relative; overflow: hidden; isolation: isolate; text-align: center; color: var(--branco);
  padding: clamp(110px, 18vh, 200px) var(--pad) clamp(90px, 14vh, 150px);
  background:
    radial-gradient(70% 60% at 85% 10%, rgba(207,179,245,.55), rgba(207,179,245,0) 70%),
    radial-gradient(60% 70% at 10% 100%, rgba(255,240,248,.28), rgba(255,240,248,0) 70%),
    linear-gradient(135deg, var(--pink) 0%, #EF2A80 55%, var(--pink-2) 100%);
}
.manifesto__faixa {
  position: absolute; top: clamp(28px, 5vh, 48px); left: 0; white-space: nowrap; z-index: -1;
  font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(22px, 2.6vw, 34px);
  color: rgba(255, 255, 255, .55); transform: translateX(var(--deriva, 0px)); will-change: transform;
}
.manifesto__frase { margin: 0; }
.manifesto__frase p {
  margin: 0; font-family: var(--serif); font-weight: 300; letter-spacing: -.04em; line-height: .92;
  font-size: clamp(64px, 12vw, 190px);
}
.manifesto__frase em { font-weight: 400; }
.manifesto__logo { width: clamp(150px, 16vw, 220px); margin: clamp(48px, 7vh, 72px) auto 0; opacity: .95; }

/* ---------- convite Instagram ---------- */
.convite {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding: clamp(100px, 16vh, 180px) var(--pad);
  background: linear-gradient(180deg, var(--rosa) 0%, #F6E9FF 100%);
}
.convite__fundo {
  position: absolute; left: 50%; top: 50%; z-index: -1; margin: 0; white-space: nowrap;
  transform: translate(-50%, -50%); font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(90px, 22vw, 340px); letter-spacing: -.05em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(233, 0, 100, .14);
}
.convite__brilho { position: absolute; width: 28px; height: 28px; top: 18%; right: 18%; color: var(--pink-2); animation: cintila 6s ease-in-out infinite; }
.convite__texto { max-width: 26em; margin: 22px auto 36px; font-size: clamp(16px, 1.3vw, 19px); color: var(--tinta-2); }

/* ---------- rodapé ---------- */
.rodape {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 40px;
  padding: 36px var(--pad) calc(36px + env(safe-area-inset-bottom)); background: var(--branco); border-top: 1px solid var(--borda);
  font-size: 14px; color: var(--tinta-2);
}
.rodape__logo { width: 120px; }
.rodape__info { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; padding: 0; list-style: none; }
.rodape__info a { text-decoration: none; transition: color .3s; }
.rodape__info a:hover { color: var(--pink-texto); }
.rodape__direitos { margin: 0; }

/* botão flutuante (celular) */
.ig-flutuante { display: none; }

/* ---------- animações de entrada ---------- */
.js .topo { opacity: 0; filter: blur(8px); transform: translateY(-8px); transition: opacity 1s var(--suave), filter 1s var(--suave), transform 1s var(--suave); }
.js .hero__titulo .linha > * { transform: translateY(105%); transition: transform 1.1s var(--suave); }
.js .hero__titulo .linha:nth-child(2) > * { transition-delay: .12s; }
.js .hero__visual .cartao { opacity: 0; transform: translateY(40px) rotateX(14deg) rotateY(-10deg) scale(.96); }
.js .revela { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--suave), transform .9s var(--suave); }

.pronto .topo { opacity: 1; filter: none; transform: none; }
.pronto .hero__titulo .linha > * { transform: none; }
.pronto .hero__visual .cartao { opacity: 1; transform: translateY(var(--ty)) rotateX(var(--rx)) rotateY(var(--ry)); transition: opacity 1.2s .35s var(--suave), transform 1.2s .35s var(--suave); }
.pronto .hero__visual.ativo .cartao { transition: transform .8s var(--suave); }
.js .revela.visivel { opacity: 1; transform: none; }
.hero .revela.visivel { transition-delay: .35s; }
.hero .hero__acoes.visivel { transition-delay: .5s; }
.segmento.revela:nth-child(2) { transition-delay: .08s; }
.segmento.revela:nth-child(3) { transition-delay: .16s; }
.segmento.revela:nth-child(4) { transition-delay: .24s; }

/* ---------- tablet ---------- */
@media (max-width: 1024px) {
  .universo { grid-template-columns: 1fr; }
  .universo__cabeca { position: static; }
}

/* ---------- celular (desenho próprio) ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .topo__ig span { display: none; }
  .topo__ig { padding: 10px; }
  .topo__ig svg { width: 20px; height: 20px; }

  .hero {
    grid-template-columns: 1fr; align-content: start; gap: 8px;
    min-height: auto; padding-top: 96px; padding-bottom: 64px; text-align: left;
  }
  .aura--1 { width: 120vw; height: 120vw; right: -50vw; top: 30vh; }
  .aura--2 { width: 90vw; height: 90vw; right: -10vw; bottom: -30vw; }
  .hero__titulo { font-size: clamp(50px, 15.5vw, 92px); }
  .hero__visual { order: 2; width: min(100%, 480px); margin: 18px auto 0; }
  .hero__texto { display: contents; }
  .selo { order: 0; font-size: 11.5px; }
  .hero__titulo { order: 1; }
  .hero__sub { order: 3; margin-top: 18px; }
  .hero__acoes { order: 4; flex-direction: column; align-items: stretch; gap: 16px; text-align: center; }
  .botao { justify-content: center; }
  .faisca--a { width: 26px; height: 26px; }

  .segmento { grid-template-columns: 40px 1fr; padding: 26px 0; }
  .segmento__num { padding-top: .6em; }

  .manifesto__frase p { font-size: clamp(58px, 17vw, 96px); }
  .convite__brilho { top: 10%; right: 10%; }
  .convite__fundo { top: 42%; -webkit-text-stroke-color: rgba(233, 0, 100, .09); }
  .botao--grande { width: 100%; }

  .rodape { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  .rodape__info { justify-content: center; flex-direction: column; gap: 4px; }

  .ig-flutuante {
    display: inline-flex; align-items: center; gap: 8px; position: fixed; z-index: 40;
    left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translate(-50%, 140%);
    padding: 14px 22px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px;
    color: var(--pink-texto); background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 16px 34px -14px rgba(120,0,60,.45), 0 0 0 1px rgba(233,0,100,.14);
    transition: transform .6s var(--suave); white-space: nowrap;
  }
  .ig-flutuante svg { width: 18px; height: 18px; }
  .ig-flutuante.mostra { transform: translate(-50%, 0); }
}

/* ---------- redução de movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .topo, .js .revela, .js .hero__titulo .linha > *, .js .hero__visual .cartao { opacity: 1 !important; transform: none !important; filter: none !important; }
  .manifesto__faixa { transform: none !important; }
}
