/* ============================================================
   LABELLE CLOSET — Direcao de arte "Boutique em Rose"
   Didone delicada + rose gold metalico + arco da loja
   Luz difusa, linhas finas, movimento lento e organico
   ============================================================ */

/* --- 1. TOKENS ------------------------------------------- */
:root {
  /* Tinta — ameixa quente, nunca preto duro */
  --ink:      #4A343B;
  --ink-2:    #6B505A;
  --ink-3:    #8A6D77;

  /* Rampa rose gold extraida do logotipo */
  --g1: #F6E2E2;   /* brilho   */
  --g2: #E4B9BD;   /* claro    */
  --g3: #C68F98;   /* medio — acento principal */
  --g4: #A96B77;   /* profundo */
  --g5: #7E4A56;   /* sombra   */

  /* Superficies */
  --bg:      #FDF6F5;
  --bg-2:    #F9EAE9;
  --surface: #FFFFFF;
  --veil:    rgba(255, 255, 255, .72);

  /* Linhas — sempre finas */
  --line:      rgba(169, 107, 119, .20);
  --line-soft: rgba(169, 107, 119, .12);

  /* Brilho metalico do CTA */
  --sheen: linear-gradient(118deg,
            #C99AA2 0%, #E4B9BD 18%, #B0737F 46%,
            #CE99A2 66%, #E9C3C6 86%, #BE8590 100%);

  /* Ritmo */
  --pad:  24px;
  --maxw: 448px;

  /* Raios — arco e pilula, nada de retangulo duro */
  --r:      26px;
  --r-sm:   16px;
  --r-arch: 96px 96px 26px 26px;
  --r-pill: 999px;

  /* Elevacao — luz difusa vinda de cima, tingida de rose */
  --e1: 0 2px 10px rgba(126, 74, 86, .05);
  --e2: 0 10px 30px -14px rgba(126, 74, 86, .22), 0 2px 6px rgba(126, 74, 86, .04);
  --e3: 0 16px 40px -16px rgba(126, 74, 86, .34), 0 3px 10px rgba(126, 74, 86, .07);
  --e-cta: 0 14px 34px -12px rgba(169, 107, 119, .52);

  /* Movimento — lento, suave, sem salto */
  --ease: cubic-bezier(.16, .68, .32, 1);
  --slow: 1.05s;
}

/* --- 2. BASE --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Jost", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Plano 01 — atmosfera de seda, tres veus difusos */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 42% at 78% 4%,  rgba(228, 185, 189, .34), transparent 70%),
    radial-gradient(52% 38% at 6%  30%, rgba(246, 226, 226, .50), transparent 72%),
    radial-gradient(60% 34% at 88% 74%, rgba(228, 185, 189, .20), transparent 74%);
}

/* Plano 02 — grao de papel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='150' height='150' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

img, svg { max-width: 100%; display: block }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent }

section { padding: 58px 0 0 }

/* --- 3. TIPOGRAFIA --------------------------------------- */
h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  margin: 0;
  color: var(--ink);
  text-transform: none;          /* editorial, nunca gritado */
  letter-spacing: -.005em;
}

h1 {
  font-size: clamp(40px, 13.2vw, 58px);
  line-height: 1.02;
}

h2 {
  font-size: clamp(30px, 9.2vw, 40px);
  line-height: 1.08;
}

h3 {
  font-size: 21px;
  line-height: 1.15;
}

/* Palavra-acento: italico com banho metalico rose gold */
.accent {
  font-style: italic;
  font-weight: 400;
  color: var(--g4);
  background: var(--sheen);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sub {
  color: var(--ink-2);
  font-size: 15.5px;
  font-weight: 300;
  line-height: 1.66;
  margin: 16px 0 0;
  max-width: 34ch;
}

/* Rotulos em versalete espacado — o unico uso de caixa alta */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eyebrow .num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--g4);
}

.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

/* --- 4. ORNAMENTO FLORAL (parede de flores da loja) ------ */
.orn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 56px 0 0;
  color: var(--g3);
}

.orn::before, .orn::after {
  content: "";
  flex: 1;
  max-width: 96px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.orn svg { width: 62px; height: 22px; flex: none; overflow: visible }

/* --- 5. HERO --------------------------------------------- */
.hero {
  position: relative;
  padding: 40px 0 12px;
  text-align: center;
}

/* Brasao: arco fino desenhado + logotipo real */
.crest {
  position: relative;
  width: 208px;
  height: 236px;
  margin: 0 auto 26px;
  display: grid;
  place-items: center;
}

.crest .halo {
  position: absolute;
  inset: -22% -30%;
  background: radial-gradient(50% 50% at 50% 48%, rgba(228, 185, 189, .5), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}

.crest .arch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.crest img,
.crest > svg.fb {
  position: relative;
  width: 152px;
  height: 152px;
  object-fit: contain;
  border-radius: 50%;
  margin-top: 14px;
  box-shadow:
    0 14px 34px -16px rgba(126, 74, 86, .45),
    0 0 0 1px rgba(255, 255, 255, .6) inset;
}

.crest [hidden] { display: none }

/* Linha de marca com losangos — sempre em uma linha */
.brandline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 0 22px;
  font-size: 8.5px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink-3);
}

.brandline i {
  width: 4px;
  height: 4px;
  flex: none;
  background: var(--g3);
  transform: rotate(45deg);
  opacity: .8;
}

.h1-line { display: block }

.hero .sub { margin-left: auto; margin-right: auto }

.hero .cta-block { margin-top: 30px }

/* --- 6. PROVA / NUMEROS — faixa editorial, nao card ------ */
.trust {
  display: flex;
  align-items: stretch;
  margin: 34px 0 0;
  padding: 20px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.trust div {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  padding: 0 6px;
}

.trust div + div { border-left: 1px solid var(--line-soft) }

.trust b {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: 23px;
  line-height: 1.1;
  color: var(--ink);
}

.trust span {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* --- 7. BOTOES — pilula, toque confortavel --------------- */
.btn {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 62px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-align: left;
  transition:
    transform .5s var(--ease),
    box-shadow .5s var(--ease),
    border-color .5s var(--ease),
    background-color .5s var(--ease);
}

.btn .ico { flex: none; width: 21px; height: 21px }

.btn .lbl { display: block; min-width: 0 }

.btn .lbl strong {
  display: block;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.25;
  white-space: nowrap;
}

.btn .lbl small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: .01em;
  line-height: 1.35;
  opacity: .78;
}

.btn .arrow {
  margin-left: auto;
  flex: none;
  transition: transform .55s var(--ease);
}

.btn:active { transform: scale(.985) }
.btn:active .arrow { transform: translateX(4px) }

.btn-primary {
  background-image: var(--sheen);
  background-size: 190% 100%;
  background-position: 0% 50%;
  color: #FFF9F9;
  box-shadow: var(--e-cta);
  transition: background-position 1.4s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}

.btn-primary:hover { background-position: 100% 50% }

.btn-ghost {
  background: var(--veil);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--e1);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover { border-color: rgba(169, 107, 119, .38); box-shadow: var(--e2) }

.btn:focus-visible { outline: 2px solid var(--g4); outline-offset: 3px }

/* --- 8. FITA (substitui a tarja inclinada) --------------- */
.ribbon {
  margin-top: 46px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(249, 234, 233, .55), rgba(253, 246, 245, 0));
  overflow: hidden;
  white-space: nowrap;
  display: flex;
}

.ribbon-track { display: flex; flex: none; animation: glide 46s linear infinite }

.ribbon b {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.ribbon b::after {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--g3);
  transform: rotate(45deg);
  opacity: .75;
}

@keyframes glide { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* --- 9. VITRINE — cards em arco (espelho da loja) -------- */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 196px;
  padding: 26px 18px 20px;
  background: linear-gradient(178deg, var(--surface) 0%, #FDF3F3 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-arch);
  box-shadow: var(--e2);
  overflow: hidden;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s var(--ease);
}

/* Arco interno em fio fino — ecoa a moldura do hero */
.card::before {
  content: "";
  position: absolute;
  left: 10px; right: 10px; top: 10px; bottom: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 86px 86px 18px 18px;
  pointer-events: none;
}

.card:hover { box-shadow: var(--e3); border-color: rgba(169, 107, 119, .34) }
.card:active { transform: scale(.98) }

.card .kn {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: var(--g4);
  line-height: 1;
  margin-bottom: 10px;
}

.card h3 { position: relative }

.card p {
  margin: 8px 0 0;
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink-3);
}

.card .go {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--g4);
}

/* --- 10. PAINEL DE ENVIO --------------------------------- */
.panel {
  position: relative;
  margin-top: 26px;
  padding: 34px 26px 28px;
  background: linear-gradient(168deg, var(--surface) 0%, #FBEEEE 100%);
  border: 1px solid var(--line);
  border-radius: 120px 120px var(--r) var(--r);
  box-shadow: var(--e2);
  overflow: hidden;
  text-align: center;
}

.panel .bg-wave {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 92px;
  pointer-events: none;
}

.panel h2 { position: relative }
.panel p {
  position: relative;
  margin: 14px auto 24px;
  max-width: 30ch;
  font-size: 14.5px;
  font-weight: 300;
  color: var(--ink-2);
}
/* O painel ja tem recuo proprio — o botao recupera largura util */
.panel .btn { position: relative; padding-left: 18px; padding-right: 18px; gap: 11px }

/* --- 11. LOCALIZACAO ------------------------------------- */
.local {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 24px;
}

.local .pin { flex: none; margin-top: 3px }

.local b {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
}

.local span {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink-2);
}

.mapa {
  position: relative;
  margin-top: 20px;
  height: 236px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
  box-shadow: var(--e2);
  overflow: hidden;
}

.mapa iframe {
  width: 100%; height: 100%;
  border: 0; display: block;
  filter: saturate(.62) brightness(1.07) contrast(.92);
}

.mapa-pin {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 2;
  transform: translate(-50%, -100%);
  pointer-events: none;
  transition: opacity .6s var(--ease);
}

.mapa-pin svg { filter: drop-shadow(0 5px 12px rgba(126, 74, 86, .5)) }

.mapa-pin::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -6px;
  width: 14px; height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: rgba(198, 143, 152, .45);
  animation: ping 3.4s var(--ease) infinite;
}

@keyframes ping {
  0%   { transform: scale(.35); opacity: .9 }
  70%  { transform: scale(2.7); opacity: 0 }
  100% { transform: scale(2.7); opacity: 0 }
}

.mapa-lock {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 60px;
  background: rgba(253, 246, 245, .5);
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  transition: opacity .6s var(--ease);
}

.mapa-lock span {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .93);
  border: 1px solid var(--line);
  box-shadow: var(--e2);
  backdrop-filter: blur(8px);
}

.mapa-lock svg { animation: drag 3.2s ease-in-out infinite }

@keyframes drag {
  0%, 100% { transform: translateX(-3px) }
  50%      { transform: translateX(3px) }
}

.mapa.on .mapa-lock,
.mapa.on .mapa-pin { opacity: 0; pointer-events: none }

.mapa-credit {
  margin-top: 8px;
  font-size: 10px;
  font-weight: 300;
  text-align: right;
  color: var(--ink-3);
}

.mapa-credit a {
  color: var(--g4);
  text-decoration: underline;
  text-decoration-color: var(--line);
}

.mapa-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 12.5px;
  font-weight: 300;
  color: var(--ink-2);
}

.mapa-hint .dot {
  flex: none;
  margin-top: 7px;
  width: 5px; height: 5px;
  background: var(--g3);
  transform: rotate(45deg);
}

/* --- 12. RODAPE ------------------------------------------ */
footer {
  margin-top: 64px;
  padding: 40px 0 44px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
}

footer .flogo {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--e2), 0 0 0 1px rgba(255, 255, 255, .6) inset;
}

footer .flogo img { width: 100%; height: 100%; object-fit: contain }

footer .fmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 300;
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
}

footer .fsub {
  margin-top: 8px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .48em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-indent: .48em;
}

footer small {
  display: block;
  margin-top: 22px;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-3);
}

/* --- 13. CTA FIXO ---------------------------------------- */
.sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 58%, rgba(253, 246, 245, 0));
  transform: translateY(140%);
  transition: transform .7s var(--ease);
}

.sticky.on { transform: translateY(0) }
.sticky .inner { max-width: var(--maxw); margin: 0 auto }
.spacer { height: 84px }

/* --- 14. REVELACAO NO SCROLL ----------------------------- */
.rv {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(5px);
  transition:
    opacity var(--slow) var(--ease),
    transform var(--slow) var(--ease),
    filter var(--slow) var(--ease);
}

.rv.in { opacity: 1; transform: none; filter: none }

.rv.d1 { transition-delay: .10s }
.rv.d2 { transition-delay: .20s }
.rv.d3 { transition-delay: .30s }
.rv.d4 { transition-delay: .40s }

/* --- 15. ENTRADA DA PAGINA ------------------------------- */
@keyframes veil {
  from { opacity: 0; transform: translateY(14px); filter: blur(7px) }
  to   { opacity: 1; transform: none; filter: none }
}

@keyframes bloom {
  from { opacity: 0; transform: scale(.9) }
  to   { opacity: 1; transform: none }
}

@keyframes trace {
  from { stroke-dashoffset: 620 }
  to   { stroke-dashoffset: 0 }
}

.js .crest .halo    { animation: bloom 1.6s var(--ease) .05s both }
.js .crest img,
.js .crest > svg.fb { animation: bloom 1.2s var(--ease) .22s both }
.js .crest .arch path {
  stroke-dasharray: 620;
  animation: trace 1.9s var(--ease) .3s both;
}
.js .brandline            { animation: veil .95s var(--ease) .62s both }
.js .h1-line              { animation: veil 1.05s var(--ease) both }
.js .h1-line:nth-of-type(1) { animation-delay: .74s }
.js .h1-line:nth-of-type(2) { animation-delay: .86s }
.js .h1-line:nth-of-type(3) { animation-delay: .98s }
.js .hero .sub            { animation: veil 1.05s var(--ease) 1.14s both }
.js .hero .cta-block      { animation: veil 1.05s var(--ease) 1.28s both }
.js .trust                { animation: veil 1.05s var(--ease) 1.42s both }

/* --- 16. MOVIMENTO REDUZIDO ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .js .crest .halo, .js .crest img, .js .crest > svg.fb, .js .crest .arch path,
  .js .brandline, .js .h1-line, .js .hero .sub, .js .hero .cta-block, .js .trust {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    stroke-dashoffset: 0 !important;
  }
  .ribbon-track { animation: none }
  .mapa-pin::after, .mapa-lock svg { animation: none }
  .rv { opacity: 1 !important; transform: none !important; filter: none !important; transition: none }
  .sticky { transition: none }
  .btn-primary { transition: none }
}

/* --- 17. RESPONSIVO -------------------------------------- */
@media (max-width: 359px) {
  :root { --pad: 18px; --r-arch: 82px 82px 22px 22px }
  .crest { width: 182px; height: 208px }
  .crest img, .crest > svg.fb { width: 132px; height: 132px }
  .btn { padding: 13px 17px; gap: 10px; min-height: 58px }
  .btn .lbl strong { font-size: 13px }
  .btn .lbl small { font-size: 10.5px }
  .card { min-height: 180px; padding: 22px 14px 16px }
  .card::before { border-radius: 74px 74px 16px 16px }
  .card h3 { font-size: 19px }
  .trust b { font-size: 20px }
  .trust span { font-size: 8px; letter-spacing: .14em }
  .panel { padding: 30px 20px 24px }
}

@media (min-width: 430px) { :root { --pad: 28px } }

/* Desktop: mais ar, a experiencia compacta permanece */
@media (min-width: 900px) {
  :root { --maxw: 476px }
  body::before {
    background:
      radial-gradient(38% 46% at 22% 8%,  rgba(228, 185, 189, .34), transparent 70%),
      radial-gradient(34% 40% at 80% 34%, rgba(246, 226, 226, .55), transparent 72%),
      radial-gradient(40% 36% at 14% 78%, rgba(228, 185, 189, .22), transparent 74%);
  }
  section { padding-top: 70px }
}
