/* ============================================================
   Ki Amor — Site Institucional
   Paleta: creme/marfim, dourado, nude/blush, carvão profundo
   ============================================================ */

:root {
  --cream: #faf5ee;
  --cream-2: #f3eade;
  --ivory: #fffdf9;
  --nude: #e9d7c7;
  --blush: #edc9c0;
  --blush-soft: #f6e4df;
  --gold: #bf9b4e;
  --gold-deep: #a07e37;
  --gold-light: #e2c987;
  --ink: #1a1512;
  --ink-2: #2a221d;
  --text: #4a4038;
  --text-soft: #7c6f63;
  --line: rgba(26, 21, 18, 0.10);

  --serif: "Fraunces", Georgia, serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Nunito", system-ui, sans-serif;

  --container: 1200px;
  --radius: 18px;
  --shadow-soft: 0 22px 50px -24px rgba(60, 44, 24, 0.35);
  --shadow-lift: 0 30px 70px -30px rgba(40, 28, 12, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 2.6rem, var(--container));
  margin-inline: auto;
}

/* ---------- Shared typography ---------- */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.eyebrow.light { color: var(--gold-light); }

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.section-title span { color: var(--gold-deep); font-style: italic; }
.section-title.light { color: var(--ivory); }
.section-title.center { text-align: center; }

.section-head { max-width: 640px; margin: 0 auto 3.2rem; text-align: center; }
.section-head .eyebrow { text-align: center; }
.section-sub { color: var(--text-soft); margin-top: 0.9rem; font-size: 1.05rem; }
.section-sub.light { color: rgba(255, 253, 249, 0.72); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border-radius: 100px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.35s var(--ease), color 0.35s var(--ease);
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #3a2c10;
  box-shadow: 0 14px 30px -12px rgba(191, 155, 78, 0.7);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 20px 38px -12px rgba(191, 155, 78, 0.85); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); transform: translateY(-3px); }
.btn--wpp { background: #25d366; color: #fff; box-shadow: 0 14px 30px -12px rgba(37, 211, 102, 0.6); }
.btn--wpp:hover { transform: translateY(-3px); background: #1fbe5b; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink);
  color: var(--gold-light);
  overflow: hidden;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.topbar__track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  width: max-content;
  padding: 0.55rem 0;
  animation: marquee 26s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 238, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -22px rgba(0,0,0,0.4); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand__mark {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1;
}
.brand__mark em {
  font-style: italic;
  color: var(--gold-deep);
}

.nav { display: flex; align-items: center; gap: 2.1rem; }
.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  transition: color 0.25s;
}
.nav a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav a:not(.nav__cta):hover { color: var(--ink); }
.nav a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  background: var(--ink);
  color: var(--ivory);
  padding: 0.6rem 1.3rem;
  border-radius: 100px;
  transition: background 0.3s, transform 0.3s;
}
.nav__cta:hover { background: var(--gold-deep); transform: translateY(-2px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(120% 90% at 85% 0%, var(--blush-soft) 0%, transparent 55%),
    linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%);
  overflow: hidden;
}
.hero__bg-glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(226,201,135,0.35), transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.9rem, 6.4vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.hero__title span { font-style: italic; color: var(--gold-deep); }
.hero__lead {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 30rem;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.6rem; }
.hero__mini { display: flex; gap: 2.4rem; }
.hero__mini > div { display: flex; flex-direction: column; }
.hero__mini strong { font-family: var(--serif); font-size: 1.02rem; color: var(--ink); }
.hero__mini span { font-size: 0.85rem; color: var(--text-soft); }
.hero__mini > div { position: relative; padding-left: 1rem; }
.hero__mini > div::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 3px; border-radius: 3px; background: var(--gold-light);
}

/* Hero art / composition */
.hero__art { position: relative; min-height: 460px; }
.hero__frame {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lift);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame--main {
  width: 74%; height: 90%;
  top: 5%; right: 0;
  z-index: 2;
  border: 6px solid var(--ivory);
}
.hero__frame--small {
  width: 44%; height: 46%;
  bottom: -3%; left: 0;
  z-index: 3;
  border: 6px solid var(--ivory);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hero__badge {
  position: absolute;
  top: -6px; left: 6%;
  z-index: 4;
  width: 108px; height: 108px;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: var(--gold);
  color: #3a2c10;
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.1;
  box-shadow: var(--shadow-soft);
  animation: spinSlow 22s linear infinite;
}
.hero__badge em { font-style: italic; font-size: 0.9rem; }
.hero__badge strong { font-size: 1.5rem; display: block; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

.deco-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, var(--gold-light) 45%, var(--gold-deep));
  box-shadow: 0 6px 14px -4px rgba(160,126,55,0.6);
}
.deco-dot--1 { width: 22px; height: 22px; top: 20%; right: -2%; z-index: 4; }
.deco-dot--2 { width: 14px; height: 14px; bottom: 18%; right: 12%; z-index: 4; }
.deco-dot--3 { width: 26px; height: 26px; bottom: 8%; left: -3%; }
.deco-ring {
  position: absolute;
  bottom: 6%; right: 8%;
  width: 70px; height: 70px;
  border: 2px dashed var(--gold-light);
  border-radius: 50%;
  z-index: 1;
  animation: spinSlow 30s linear infinite reverse;
}

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--gold-deep);
  border-radius: 20px;
  display: none;
}
.hero__scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--gold-deep);
  border-radius: 4px;
  animation: scrolldot 1.6s ease-in-out infinite;
}
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } }

/* ---------- Marca ---------- */
.marca { padding: clamp(4rem, 9vw, 7rem) 0; }
.marca__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.marca__media { position: relative; min-height: 440px; }
.marca__img {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 6px solid var(--ivory);
}
.marca__img img { width: 100%; height: 100%; object-fit: cover; }
.marca__img--a { width: 58%; height: 78%; top: 0; left: 0; z-index: 2; }
.marca__img--b { width: 56%; height: 62%; bottom: 0; right: 0; z-index: 3; }
.marca__seal {
  position: absolute;
  z-index: 4;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.5rem;
  color: #3a2c10;
  background: var(--gold-light);
  padding: 0.4rem 1.3rem;
  border-radius: 100px;
  box-shadow: var(--shadow-soft);
}
.marca__text p { margin-bottom: 1.1rem; font-size: 1.06rem; }
.marca__text .section-title { margin-bottom: 1.4rem; }
.marca__list { list-style: none; margin-top: 1.6rem; display: grid; gap: 0.7rem; }
.marca__list li {
  position: relative;
  padding-left: 1.9rem;
  font-weight: 600;
  color: var(--ink);
}
.marca__list li::before {
  content: "♡";
  position: absolute; left: 0; top: -1px;
  color: var(--gold-deep);
  font-size: 1.05rem;
}

/* ---------- Diferenciais ---------- */
.diff {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background:
    radial-gradient(90% 60% at 50% 0%, var(--blush-soft), transparent 60%),
    var(--cream);
}
.diff__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.diff__card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.6rem;
  text-align: center;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.diff__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gold-light);
}
.diff__icon {
  display: grid;
  place-content: center;
  width: 62px; height: 62px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blush-soft), var(--nude));
  color: var(--gold-deep);
  font-size: 1.5rem;
}
.diff__card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: var(--ink); margin-bottom: 0.6rem; }
.diff__card p { font-size: 0.96rem; color: var(--text-soft); }

/* ---------- Signature (dark) ---------- */
.signature {
  background:
    radial-gradient(120% 100% at 100% 0%, #2f2620, transparent 60%),
    var(--ink);
  color: var(--ivory);
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}
.signature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.signature__p { color: rgba(255,253,249,0.72); font-size: 1.08rem; margin: 1.4rem 0 2rem; max-width: 32rem; }
.signature__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(226,201,135,0.25);
}
.signature__media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

/* ---------- Coleção / Galeria ---------- */
.colecao { padding: clamp(4rem, 9vw, 7rem) 0; }
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: 1rem;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--ink);
  box-shadow: var(--shadow-soft);
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.1rem 0.9rem;
  font-family: var(--serif);
  font-size: 1.02rem;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(20,15,12,0.82));
  transform: translateY(8px);
  opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.gallery__item:hover figcaption { transform: translateY(0); opacity: 1; }
.gallery__item::after {
  content: "⤢";
  position: absolute;
  top: 12px; right: 14px;
  width: 34px; height: 34px;
  display: grid; place-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  font-size: 0.9rem;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
}
.gallery__item:hover::after { opacity: 1; transform: scale(1); }

/* ---------- Para os pais ---------- */
.pais {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background: linear-gradient(180deg, var(--ivory), var(--blush-soft));
}
.pais__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.pais__text > p { font-size: 1.08rem; color: var(--text-soft); margin: 1rem 0 2rem; }
.pais__points { display: grid; gap: 1.3rem; }
.pais__point { display: flex; gap: 1rem; align-items: flex-start; }
.pais__point span {
  flex: none;
  display: grid; place-content: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--ivory);
  box-shadow: var(--shadow-soft);
  font-size: 1.3rem;
}
.pais__point strong { display: block; font-family: var(--serif); font-size: 1.14rem; color: var(--ink); }
.pais__point p { font-size: 0.96rem; color: var(--text-soft); margin: 0; }
.pais__media { position: relative; }
.pais__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 6px solid var(--ivory);
}
.pais__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

/* ---------- Onde comprar (dark) ---------- */
.comprar {
  padding: clamp(4rem, 9vw, 7rem) 0;
  background:
    radial-gradient(90% 70% at 50% 0%, #322820, transparent 60%),
    var(--ink);
  color: var(--ivory);
}
.stores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.store {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 2rem 1.6rem 1.7rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(226,201,135,0.18);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
}
.store::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(80% 60% at 50% 0%, rgba(226,201,135,0.18), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.store:hover { transform: translateY(-8px); border-color: var(--gold-light); }
.store:hover::before { opacity: 1; }
.store__ico { font-size: 2rem; }
.store__name { font-family: var(--serif); font-size: 1.45rem; color: #fff; }
.store__desc { font-size: 0.9rem; color: rgba(255,253,249,0.6); margin-bottom: 0.7rem; }
.store__go { font-weight: 700; font-size: 0.9rem; color: var(--gold-light); position: relative; z-index: 1; }

.comprar__whats {
  margin-top: 2.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.comprar__whats p { color: rgba(255,253,249,0.72); }

/* ---------- Footer ---------- */
.footer { background: #14100d; color: rgba(255,253,249,0.72); padding: 3.5rem 0 1.5rem; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand .brand__mark { color: var(--ivory); }
.footer__brand .brand__mark em { color: var(--gold-light); }
.footer__brand p { margin-top: 0.8rem; max-width: 22rem; font-size: 0.95rem; }
.footer__col h4 { color: var(--ivory); font-family: var(--serif); font-weight: 500; font-size: 1.1rem; margin-bottom: 1rem; }
.footer__col a { display: block; font-size: 0.95rem; padding: 0.28rem 0; transition: color 0.25s, padding-left 0.25s; }
.footer__col a:hover { color: var(--gold-light); padding-left: 5px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1.4rem;
  font-size: 0.85rem;
  color: rgba(255,253,249,0.5);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 11, 8, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: 86vw;
  max-height: 84vh;
  border-radius: 10px;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.8);
  border: 5px solid var(--ivory);
}
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  display: grid; place-content: center;
  transition: background 0.25s, transform 0.25s;
}
.lightbox__close { top: 22px; right: 26px; width: 46px; height: 46px; font-size: 1.6rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner,
  .marca__inner,
  .signature__inner,
  .pais__inner { grid-template-columns: 1fr; }
  .hero__art, .marca__media { min-height: 420px; max-width: 520px; margin-inline: auto; width: 100%; }
  .marca__media { order: -1; }
  .diff__grid { grid-template-columns: repeat(2, 1fr); }
  .stores { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .hero__scroll { display: none; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem 2.2rem;
    background: var(--cream);
    box-shadow: -20px 0 60px -20px rgba(0,0,0,0.4);
    transform: translateX(105%);
    transition: transform 0.4s var(--ease);
  }
  .nav.open { transform: none; }
  .nav a { font-size: 1.2rem; }
  .hamburger { display: flex; z-index: 101; }
  .hero__mini { flex-direction: column; gap: 1rem; }
  .marca__media, .hero__art { min-height: 360px; }
}

@media (max-width: 520px) {
  .diff__grid,
  .stores,
  .gallery,
  .footer__inner { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 240px; }
  .gallery__item--wide { grid-column: span 1; }
  .footer__bottom { flex-direction: column; }
  .brand__mark { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
