/* ============================================================
   Fe Ponto Joias - estilos compartilhados (index.html + colecao.html)
   Extraido do index.html. Editar aqui reflete nas duas paginas.
   ============================================================ */

/* ==========================================================================
     Fê Ponto Joias — Design tokens
     Direção: identidade/design-guide.md (luxo monocromático)
     ========================================================================== */
  :root {
    --black:      #0a0a0a;
    --black-soft: #111111;
    --surface:    #151515;
    --surface-2:  #1c1c1c;
    --line:       rgba(245, 243, 239, 0.10);
    --line-strong:rgba(245, 243, 239, 0.18);

    --white:      #f5f3ef;      /* off-white — texto principal */
    --silver:     #b9b6ae;      /* prata/pérola — texto secundário */
    --silver-dim: #837f78;      /* terciário / labels */

    --gold:       #b0b5b9;      /* prata-grafite — acento (antes: champagne dourado) */
    --gold-soft:  #c7cbce;      /* prata clara — brilho / hover */

    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-sans:    "Jost", "Helvetica Neue", Arial, sans-serif;

    --wrap: 1240px;
    --gutter: clamp(1.25rem, 5vw, 4rem);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
  }

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

  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: dark; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body {
    background: var(--black);
    color: var(--white);
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  a, button { touch-action: manipulation; }

  ::selection { background: var(--gold); color: var(--black); }

  :focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
  }

  /* ---- Typographic helpers ------------------------------------------------ */
  .kicker {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
  }
  .display {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: 0.005em;
  }
  .serif { font-family: var(--font-display); }

  .wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

  section { position: relative; }
  .section-pad { padding-block: clamp(4.5rem, 11vw, 9rem); }

  .eyebrow-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
  .eyebrow-row .rule { flex: 0 0 46px; height: 1px; background: var(--gold); opacity: 0.7; }

  /* ---- Buttons ------------------------------------------------------------ */
  .btn {
    --pad-y: 0.95rem; --pad-x: 1.9rem;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    min-height: 48px;
    padding: var(--pad-y) var(--pad-x);
    font-family: var(--font-sans);
    font-size: 0.78rem; font-weight: 400;
    letter-spacing: 0.18em; text-transform: uppercase;
    cursor: pointer;
    border: 1px solid transparent;
    background: none;
    transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
    white-space: nowrap;
  }
  .btn svg { width: 17px; height: 17px; flex: none; }

  .btn-gold { background: var(--gold); color: var(--black); }
  .btn-gold:hover { background: var(--gold-soft); }

  .btn-outline { border-color: var(--line-strong); color: var(--white); }
  .btn-outline:hover { border-color: var(--gold); color: var(--gold); }

  .btn-ghost { color: var(--silver); padding-inline: 0; }
  .btn-ghost:hover { color: var(--gold); }

  .link-underline {
    position: relative; color: var(--gold);
    font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
    padding-bottom: 4px;
  }
  .link-underline::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
    background: var(--gold); transform: scaleX(0.35); transform-origin: left; opacity: 0.5;
    transition: transform .45s var(--ease), opacity .45s var(--ease);
  }
  .link-underline:hover::after { transform: scaleX(1); opacity: 1; }

  /* ==========================================================================
     Navbar
     ========================================================================== */
  .nav {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    display: flex; align-items: center; justify-content: center;  /* cabeçalho centralizado */
    padding: 1.25rem var(--gutter);
    transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease);
    border-bottom: 1px solid transparent;
  }
  .nav__cta { position: absolute; right: var(--gutter); }
  .nav.scrolled {
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding-block: 0.85rem;
    border-bottom-color: var(--line);
  }
  .nav__brand { display: flex; align-items: center; gap: 0.7rem; }
  .nav__brand img { width: 34px; height: 34px; border-radius: 4px; }
  .nav__brand .wordmark {
    font-family: var(--font-display); font-size: 1.25rem; letter-spacing: 0.14em;
    color: var(--white); font-weight: 500;
  }
  .nav__links { display: flex; align-items: center; gap: 2.2rem; }
  .nav__links a {
    font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--silver); transition: color .35s var(--ease);
  }
  .nav__links a:hover { color: var(--white); }
  .nav__cta { display: flex; align-items: center; gap: 1.5rem; }

  .nav__toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 44px; height: 44px; color: var(--white);
  }
  .nav__toggle svg { width: 26px; height: 26px; }

  /* Mobile menu */
  .mobile-menu {
    position: fixed; inset: 0; z-index: 99;
    background: var(--black);
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
    overscroll-behavior: contain;
  }
  .mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-menu a {
    font-family: var(--font-display); font-size: 2rem; color: var(--white); letter-spacing: 0.02em;
  }
  .mobile-menu a:hover { color: var(--gold); }
  .mobile-menu .btn { margin-top: 1rem; }

  /* ==========================================================================
     Hero
     ========================================================================== */
  .hero {
    min-height: 100vh; min-height: 100dvh;
    display: flex; align-items: center; justify-content: center;
    padding-block: 6rem 8rem;            /* respiro embaixo — botão longe do fim da seção */
    position: relative; overflow: hidden;
    background: url("fundo-hero.jpg") center / cover no-repeat var(--black);
  }
  .hero::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 0;
    height: clamp(120px, 18vh, 200px);   /* degradê suave: hero se dissolve no preto da seção 2 */
    background: linear-gradient(180deg, transparent, var(--black));
    pointer-events: none;
  }
  .hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    /* véu central sutil: garante legibilidade sem apagar as modelos das bordas */
    background:
      radial-gradient(52% 62% at 50% 52%, rgba(10, 10, 10, 0.55), transparent 72%),
      linear-gradient(rgba(10, 10, 10, 0.22), rgba(10, 10, 10, 0.22));
  }
  .hero__inner {
    position: relative; z-index: 1; max-width: 820px;
    text-align: center;                 /* centralizado entre as duas modelos */
    display: flex; flex-direction: column; align-items: center;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 5.2vw, 4rem);
    margin: 1.5rem 0 1.75rem;
    text-wrap: balance;                 /* equilibra as linhas do título longo */
    font-style: italic;                 /* título inteiro em itálico */
  }
  .hero h1 em { font-style: italic; color: inherit; }
  .hero p.lead {
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    font-weight: 300; color: var(--silver); max-width: 44ch; line-height: 1.6;
    margin-inline: auto;
  }
  .hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; justify-content: center; }

  /* Botão delicado da hero — traço fino, preenchimento dourado desliza no hover */
  .btn-lux {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 52px; padding: 1.05rem 3rem;
    font-family: var(--font-sans); font-size: 0.72rem; font-weight: 400;
    letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold-soft);
    border: 1px solid rgba(176, 181, 185, 0.45);
    background: transparent; cursor: pointer;
    transition: color .55s var(--ease), border-color .55s var(--ease), letter-spacing .55s var(--ease);
  }
  .btn-lux::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--gold);
    transform: scaleX(0); transform-origin: left;
    transition: transform .55s var(--ease);
  }
  .btn-lux:hover { color: var(--black); border-color: var(--gold); letter-spacing: 0.36em; }
  .btn-lux:hover::before { transform: scaleX(1); }
  @media (prefers-reduced-motion: reduce) {
    .btn-lux, .btn-lux::before { transition: none; }
  }

  /* ==========================================================================
     Curadoria (brand story)
     ========================================================================== */
  .story { padding-bottom: clamp(1.5rem, 4vw, 3rem); }
  .story__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
  }
  .story__figure {
    position: relative; overflow: hidden;
    background: linear-gradient(155deg, #1a1a1a, #0d0d0d);
    border: 1px solid var(--line);
  }
  .story__figure img { width: 100%; height: auto; }
  .story h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); margin-bottom: 1.5rem; }
  .story h2 em { font-style: italic; color: var(--gold); }
  .story p { color: var(--silver); margin-bottom: 1.25rem; max-width: 52ch; }
  .story .signature {
    font-family: var(--font-display); font-style: italic; font-size: 1.3rem;
    color: var(--white); margin-top: 2rem;
  }
  .story .signature span { display: block; font-size: 0.72rem; font-family: var(--font-sans);
    font-style: normal; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver-dim); margin-top: 0.5rem; }

  /* Values row */
  .values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
  .value { background: var(--black); padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem); }
  .value .num { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold); letter-spacing: 0.2em; }
  .value h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 400; margin: 0.9rem 0 0.6rem; }
  .value p { color: var(--silver); font-size: 0.95rem; max-width: 34ch; }

  /* ==========================================================================
     Vitrine 360 — carrossel côncavo arrastável (turntable)
     ========================================================================== */
  .arc { position: relative; overflow: hidden; padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.5rem); }
  .arc::before {                       /* linha no meio do respiro entre a seção acima e as fotos */
    content: ""; position: absolute; left: 0; right: 0; top: clamp(48px, 4vw, 62px);
    height: 1px; background: var(--line);
  }
  .arc__viewport {
    position: relative;
    height: clamp(340px, 44vw, 520px);
    perspective: 1500px;
    cursor: grab;
    touch-action: pan-y;               /* arraste horizontal = girar; vertical = rolar página */
    -webkit-user-select: none; user-select: none;
  }
  .arc__viewport.grabbing { cursor: grabbing; }
  .arc__viewport:focus-visible { outline-offset: -2px; }

  .arc-card {
    position: absolute; left: 50%; bottom: 12%; top: auto;
    width: clamp(190px, 24vw, 290px);
    aspect-ratio: 1 / 1;               /* fotos quadradas 1:1 */
    margin: 0;
    will-change: transform, opacity;
    transform-origin: bottom center;   /* base fixa → fotos alinhadas embaixo */
    transform: translate(-50%, 0);
  }
  .arc-card__inner {
    width: 100%; height: 100%; position: relative; overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(162deg, #1f1f1f, #0d0d0d);
    display: grid; place-items: center;
    box-shadow: 0 40px 70px -34px rgba(0, 0, 0, 0.85);
  }
  .arc-card__inner img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    -webkit-user-drag: none; user-select: none;
  }

  @media (prefers-reduced-motion: reduce) {
    .arc__viewport { cursor: grab; }
  }

  /* ==========================================================================
     Coleção / Catálogo
     ========================================================================== */
  .collection__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 3rem; }
  .collection__head h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
  .collection__head p { color: var(--silver); max-width: 40ch; }

  .filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0; justify-content: center; }
  .filter {
    font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--silver); background: transparent; border: 1px solid var(--line);
    padding: 0.58rem 1.1rem; min-height: 38px; cursor: pointer;
    transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  }
  .filter:hover { color: var(--white); border-color: var(--line-strong); }
  .filter.active { color: var(--white); border-color: var(--gold); background: rgba(176, 181, 185, 0.12); }

  .grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem);
  }
  .piece {
    display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--line);
    transition: border-color .45s var(--ease), transform .45s var(--ease);
  }
  .piece:hover { border-color: var(--line-strong); transform: translateY(-4px); }
  .piece__media {
    aspect-ratio: 1; position: relative; overflow: hidden;
    background: linear-gradient(160deg, #1e1e1e, #101010);
    display: grid; place-items: center;
  }
  .piece__media .glyph { opacity: 0.4; transition: opacity .5s var(--ease), transform .6s var(--ease); }
  .piece__media .glyph svg { width: 64px; height: 64px; }
  .piece:hover .piece__media .glyph { opacity: 0.65; transform: scale(1.06); }
  .piece__media .halo {
    position: absolute; inset: 0;
    background: radial-gradient(60% 50% at 50% 40%, rgba(176,181,185,0.12), transparent 70%);
  }
  .piece__tag {
    position: absolute; top: 0.9rem; left: 0.9rem;
    font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--silver-dim);
    border: 1px solid var(--line); padding: 0.3rem 0.6rem; background: rgba(10,10,10,0.5);
  }
  .piece__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
  .piece__cat { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
  .piece__name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 400; line-height: 1.15; }
  .piece__mat { color: var(--silver); font-size: 0.9rem; }
  .piece__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1.25rem; }
  .piece__price { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.01em; color: var(--silver); }
  .piece .btn-wa {
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.66rem; letter-spacing: 0.12em; gap: 0.45rem; min-height: 40px;
    color: var(--white); background: none; border: none; text-transform: uppercase;
    transition: color .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  }
  .piece .btn-wa svg { width: 15px; height: 15px; flex: none; }
  .piece .btn-wa:hover { color: var(--gold); }
  /* "Adicionar" com aparência de botão */
  .piece .btn-add { padding: 0.52rem 0.95rem; border: 1px solid var(--line-strong); color: var(--white); }
  .piece .btn-add:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }

  /* Foto real da peça (vinda do sistema) preenche o quadro do card */
  .piece__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
  .piece:hover .piece__photo { transform: scale(1.05); }

  /* Estado do catálogo: carregando / acervo em atualização / erro */
  .catalogo-estado { text-align: center; color: var(--silver); max-width: 560px; margin: 1rem auto 0; padding: 2.5rem 1rem; font-size: 1.05rem; line-height: 1.75; }

  /* Fade-in sutil dos cards carregados do banco (sem depender de JS) */
  @media (prefers-reduced-motion: no-preference) {
    @keyframes pieceIn { from { opacity: 0; } to { opacity: 1; } }
    .grid .piece { animation: pieceIn .55s var(--ease) both; }
  }

  .collection__foot { text-align: center; margin-top: 3.5rem; }
  .collection__foot p { color: var(--silver); margin-bottom: 1.5rem; font-family: var(--font-display); font-size: 1.3rem; font-style: italic; }

  /* ==========================================================================
     Pedra do mês
     ========================================================================== */
  .stone { border-block: 1px solid var(--line); overflow: hidden; }
  .stone__grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; min-height: 520px; }
  .stone__visual {
    position: relative; overflow: hidden;
    background:
      radial-gradient(70% 60% at 50% 45%, rgba(180, 40, 55, 0.28), transparent 62%),
      linear-gradient(150deg, #1a0e10, #0a0a0a);
    display: grid; place-items: center;
  }
  .stone__visual .gem { opacity: 0.85; }
  .stone__visual .gem svg { width: 150px; height: auto; filter: drop-shadow(0 8px 30px rgba(176,181,185,0.25)); }
  .stone__content { padding: clamp(2.5rem, 6vw, 5rem); display: flex; flex-direction: column; justify-content: center; }
  .stone__content .month { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.3rem; }
  .stone__content h2 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin: 0.5rem 0 1.5rem; }
  .stone__content p { color: var(--silver); max-width: 46ch; margin-bottom: 2rem; }

  /* ==========================================================================
     Feedbacks / prova social
     ========================================================================== */
  .voices { text-align: center; overflow: hidden; }
  /* Carrossel automático: a trilha (conteúdo duplicado via JS) desliza em loop infinito */
  .voices__viewport {
    overflow: hidden; margin-top: 3.5rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  .voices__track {
    display: flex; gap: 1.5rem; width: max-content; text-align: left;
    animation: voices-scroll 55s linear infinite;
  }
  .voices__viewport:hover .voices__track { animation-play-state: paused; }
  @keyframes voices-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-50% - 0.75rem)); }  /* metade da trilha + metade do gap = loop perfeito */
  }
  .voice { flex: none; width: min(360px, 80vw); background: var(--surface); border: 1px solid var(--line); padding: 2.25rem; display: flex; flex-direction: column; gap: 1.25rem; }
  @media (prefers-reduced-motion: reduce) {
    .voices__track { animation: none; }
    .voices__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  }
  .voice .stars { display: flex; gap: 3px; color: var(--gold); }
  .voice .stars svg { width: 15px; height: 15px; }
  .voice blockquote { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45; color: var(--white); font-style: italic; }
  .voice .who { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; }
  .voice .who .avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(140deg, var(--gold), #6c7075); display: grid; place-items: center; font-family: var(--font-display); color: var(--black); font-size: 1rem; }
  .voice .who .meta strong { display: block; font-weight: 400; font-size: 0.95rem; letter-spacing: 0.02em; }
  .voice .who .meta span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--silver-dim); }

  /* ==========================================================================
     Contato / Localização
     ========================================================================== */
  .contact { border-top: 1px solid var(--line); }
  .contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
  .contact h2 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); margin-bottom: 1.5rem; }
  .contact h2 em { font-style: italic; color: var(--gold); }
  .contact > .wrap > .contact__grid p.intro { color: var(--silver); max-width: 46ch; margin-bottom: 2.5rem; }
  .contact__list { display: flex; flex-direction: column; gap: 1.75rem; margin-bottom: 2.5rem; }
  .contact__item { display: flex; gap: 1.1rem; align-items: flex-start; }
  .contact__item .ic { flex: none; width: 40px; height: 40px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--gold); }
  .contact__item .ic svg { width: 18px; height: 18px; }
  .contact__item .txt small { display: block; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver-dim); margin-bottom: 0.35rem; }
  .contact__item .txt a, .contact__item .txt span { color: var(--white); font-size: 1.02rem; }
  .contact__item .txt a:hover { color: var(--gold); }
  .contact__map {
    aspect-ratio: 4 / 5; position: relative; overflow: hidden; border: 1px solid var(--line);
    background: linear-gradient(160deg, #171717, #0c0c0c);
  }
  .contact__map iframe {
    position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
  }

  /* ==========================================================================
     Footer
     ========================================================================== */
  .footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem); }
  .footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3.5rem; }
  .footer__brand p { color: var(--silver); max-width: 30ch; font-size: 0.95rem; }
  .footer__brand .tag { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.15rem; margin-bottom: 1rem; }
  .footer__col h4 { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver-dim); margin-bottom: 1.35rem; }
  .footer__col a { display: block; color: var(--silver); font-size: 0.95rem; margin-bottom: 0.85rem; transition: color .3s var(--ease); }
  .footer__col a:hover { color: var(--gold); }
  .footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 2rem; border-top: 1px solid var(--line); }
  .footer__bottom p { font-size: 0.78rem; color: var(--silver-dim); letter-spacing: 0.04em; }

  /* ==========================================================================
     Floating WhatsApp
     ========================================================================== */
  .wa-float {
    position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90;
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--gold); color: var(--black);
    display: grid; place-items: center;
    box-shadow: 0 10px 34px rgba(0,0,0,0.5), 0 0 0 0 rgba(176,181,185,0.5);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .45s var(--ease), visibility .45s;
    opacity: 0; visibility: hidden; pointer-events: none;   /* escondido na hero */
  }
  .wa-float.visible { opacity: 1; visibility: visible; pointer-events: auto; }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float:hover { transform: scale(1.08); }

  /* ==========================================================================
     Reveal animation
     ========================================================================== */
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none; }
    .wa-float, .btn, .piece, .filter { transition: none; }
  }

  /* ==========================================================================
     Responsive
     ========================================================================== */
  @media (max-width: 1024px) {
    .grid { grid-template-columns: repeat(2, 1fr); }
    .footer__top { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 860px) {
    /* Cabeçalho fixo com links diretos — sem menu retrátil */
    .nav {
      padding-top: calc(1rem + env(safe-area-inset-top, 0px));  /* não é comido pelo notch/relógio */
      padding-bottom: 1rem;
      border-bottom-color: var(--line);           /* linha fina no topo da página... */
    }
    .nav.scrolled {
      padding-top: calc(1rem + env(safe-area-inset-top, 0px));
      padding-bottom: 1rem;
      border-bottom-color: transparent;           /* ...que some ao rolar */
    }
    .nav__links { gap: clamp(1.1rem, 4.5vw, 2rem); }
    .nav__links a { font-size: 0.68rem; letter-spacing: 0.12em; }
    .nav__pedra { display: none; }              /* "Pedra do mês" só no desktop */
    .nav__toggle { display: none; }
    .story__grid, .contact__grid, .stone__grid { grid-template-columns: 1fr; }
    .stone__grid { min-height: unset; }
    .stone__visual { min-height: 320px; }
    .values { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    /* Catálogo em 2 colunas com cards compactos — menos rolagem vertical */
    .grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
    .piece__body { padding: 0.85rem 0.8rem; gap: 0.3rem; }
    .piece__cat { font-size: 0.56rem; letter-spacing: 0.16em; }
    .piece__name { font-size: 1.1rem; }
    .piece__mat { font-size: 0.76rem; }
    .piece__tag { font-size: 0.5rem; padding: 0.22rem 0.45rem; top: 0.6rem; left: 0.6rem; }
    .piece__media .glyph svg { width: 42px; height: 42px; }
    .piece__foot { flex-direction: column; align-items: flex-start; gap: 0; padding-top: 0.65rem; }
    .piece__price { font-size: 0.9rem; }
    .piece .btn-wa { font-size: 0.62rem; min-height: 34px; padding: 0.3rem 0; }
    .piece .btn-wa svg { width: 14px; height: 14px; }
    .footer__top { grid-template-columns: 1fr; gap: 2rem; }
    .collection__head { flex-direction: column; align-items: flex-start; }
  }

  /* ==========================================================================
     Mobile fino
     ========================================================================== */
  @media (max-width: 680px) {
    .hero {
      min-height: 100svh;                       /* altura estável (barra do navegador móvel) */
      padding-block: 6.5rem 6rem;               /* topo abaixo do cabeçalho, mas sem descer demais */
      align-items: flex-start;
      background-image: url("fundo-hero-mobile.jpg");
      background-position: center bottom;       /* modelo ancorada embaixo */
    }
    .hero::before {                             /* véu focado no topo, sem apagar a modelo */
      background: linear-gradient(180deg, rgba(10,10,10,0.35), transparent 55%);
    }
    .hero .kicker { display: none; }            /* sem "Alta joalheria..." no mobile */
    .hero h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); margin: 0 0 1rem; }
    .hero p.lead { font-size: 0.9rem; }

    /* Botão ancorado no pé da hero, abaixo da modelo */
    .hero__inner { position: static; }
    .hero__actions {
      position: absolute; left: 0; right: 0; z-index: 1;
      bottom: clamp(2.25rem, 7svh, 4rem);
      margin-top: 0; justify-content: center;
    }
  }

  /* Celulares (tela estreita): aproxima a modelo — corta o preto acima da cabeça */
  @media (max-width: 480px) {
    .hero {
      background-size: auto 122%;               /* zoom vertical, ancorado embaixo */
      background-position: center bottom;
    }
  }

  @media (max-width: 680px) {
    .btn-lux { padding: 1rem 2.2rem; letter-spacing: 0.24em; }
    .btn-lux:hover { letter-spacing: 0.28em; }

    .arc__viewport { height: clamp(240px, 64vw, 340px); }  /* carrossel mais compacto */
    .arc::before { top: clamp(28px, 6vw, 44px); }

    .value { padding: 1.75rem 1.5rem; }
    .filters { gap: 0.45rem; }
    .filter { padding: 0.6rem 0.95rem; }

    .stone__content { padding: 2.5rem 1.5rem; }
    .voice { padding: 1.6rem; }
    .contact__map { aspect-ratio: 4 / 3; }      /* mapa mais baixo no celular */
    .footer { padding-block: 2.5rem; }
    .wa-float { width: 52px; height: 52px; }
    .wa-float svg { width: 25px; height: 25px; }
  }

/* ============================================================
   Mega-menu da Coleção + carrossel de Mais vendidos + página de coleção
   (adicionado para a navegação com página de coleção)
   ============================================================ */

/* ----- Mega-menu ----- */
.nav__mega { position: relative; }
.nav__mega-btn {
  font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--silver); background: none; border: none; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; gap: 0.35rem; transition: color .35s var(--ease);
}
.nav__mega-btn:hover, .nav__mega.open .nav__mega-btn { color: var(--white); }
.nav__mega-btn svg { width: 11px; height: 11px; transition: transform .3s var(--ease); }
.nav__mega.open .nav__mega-btn svg { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 1.4rem); left: 50%;
  width: min(760px, 92vw); background: var(--surface); border: 1px solid var(--line-strong);
  padding: 1.75rem 2rem 1.5rem; box-shadow: 0 30px 70px rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; z-index: 60;
}
.nav__mega.open .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.mega__col { min-width: 0; }
.mega__gen {
  display: inline-block; font-family: var(--font-display); font-size: 1.3rem; color: var(--white);
  padding-bottom: 0.55rem; margin-bottom: 0.65rem; border-bottom: 1px solid var(--line);
}
.mega__gen:hover { color: var(--gold); }
.mega__col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.mega__fam { color: var(--silver); font-size: 0.9rem; transition: color .25s var(--ease); }
.mega__fam:hover { color: var(--white); }
.mega__subs { display: flex; flex-wrap: wrap; gap: 0.35rem 0.7rem; margin: 0.3rem 0 0.15rem 0.1rem; }
.mega__sub { color: var(--silver-dim); font-size: 0.75rem; transition: color .25s var(--ease); }
.mega__sub:hover { color: var(--gold); }
.mega__vazio { color: var(--silver-dim); font-size: 0.9rem; }
.mega__todos {
  display: block; margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  color: var(--gold); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.mega__todos:hover { color: var(--gold-soft); }

/* ----- Carrossel de Mais vendidos ----- */
.carrossel { position: relative; margin-top: 0.5rem; }
.carrossel__track {
  display: flex; gap: clamp(0.9rem, 2vw, 1.5rem); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1.25rem; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.carrossel__track::-webkit-scrollbar { display: none; }
.carrossel__track .piece { flex: 0 0 auto; width: clamp(230px, 30vw, 300px); scroll-snap-align: start; }
.carrossel__nav {
  position: absolute; top: 38%; z-index: 3; width: 46px; height: 46px; display: grid; place-items: center;
  background: rgba(10,10,10,0.72); border: 1px solid var(--line-strong); color: var(--white); cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.carrossel__nav:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.carrossel__nav svg { width: 20px; height: 20px; }
.carrossel__nav--prev { left: -10px; }
.carrossel__nav--next { right: -10px; }
@media (max-width: 680px) { .carrossel__nav { display: none; } }

/* ----- Página da coleção (colecao.html) ----- */
.colecao-hero { padding: calc(8rem + env(safe-area-inset-top, 0px)) 0 1rem; text-align: center; }
.colecao-hero h1 { margin-top: 0.4rem; }
.colecao-hero p { color: var(--silver); max-width: 560px; margin: 0.85rem auto 0; }
.colecao-barra { display: flex; flex-direction: column; align-items: center; gap: 0.85rem; margin: 2rem 0 2.5rem; }
.colecao-barra .filters { margin-bottom: 0; justify-content: center; }
.filter-grupo-rotulo { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--silver-dim); }

/* ----- Responsivo do mega-menu e da nav com o item novo ----- */
@media (max-width: 860px) {
  .mega { top: calc(100% + 1rem); }
  .mega__cols { grid-template-columns: 1fr; gap: 1.25rem; max-height: 62vh; overflow-y: auto; }
  .mega__gen { font-size: 1.15rem; }
}
@media (max-width: 560px) {
  .nav__curadoria { display: none; }   /* abre espaço p/ "Mais vendidos" no celular */
  .mega { width: 94vw; padding: 1.4rem 1.25rem; }
}
/* ============================================================
   Cabeçalho com logo central + botão HOME + carrinho (drawer)
   ============================================================ */
.nav { justify-content: center; gap: clamp(1.5rem, 3.5vw, 3.25rem); }
.nav__group { display: flex; align-items: center; gap: 1.5rem; flex: 1 1 0; min-width: 0; }
.nav__group--left { justify-content: flex-end; }   /* conteúdo colado na logo (centro) */
.nav__group--right { justify-content: flex-start; }
.nav__group a {
  font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--silver); transition: color .35s var(--ease); white-space: nowrap;
}
.nav__group a:hover { color: var(--white); }
.nav__mega { position: static; }   /* o painel .mega centraliza pela nav (fixed) */

.nav__logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.nav__logo img { height: clamp(34px, 4.4vw, 46px); width: auto; display: block; }

.nav__cart {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; background: none; border: none; color: var(--silver); cursor: pointer;
  transition: color .3s var(--ease);
}
.nav__cart:hover { color: var(--white); }
.nav__cart svg { width: 22px; height: 22px; }
.nav__cart-badge {
  position: absolute; top: 3px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 999px; background: var(--gold); color: var(--black);
  font-family: var(--font-sans); font-size: 0.6rem; font-weight: 500; line-height: 1;
}

.btn-add { cursor: pointer; }

/* ----- Drawer do carrinho ----- */
.cart-overlay {
  position: fixed; inset: 0; z-index: 110; background: rgba(0,0,0,0.6);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart {
  position: fixed; top: 0; right: 0; z-index: 111; height: 100%; width: min(420px, 92vw);
  background: var(--surface); border-left: 1px solid var(--line-strong);
  display: flex; flex-direction: column; transform: translateX(100%);
  transition: transform .4s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.cart.open { transform: translateX(0); }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 1.5rem 1rem; border-bottom: 1px solid var(--line); }
.cart__head h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); font-weight: 400; }
.cart__head #cartCount { color: var(--gold); font-size: 1rem; }
.cart__close { background: none; border: none; color: var(--silver); font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 0.25rem; transition: color .25s var(--ease); }
.cart__close:hover { color: var(--white); }
.cart__body { flex: 1; overflow-y: auto; padding: 0.5rem 1.5rem; }
.cart__vazio { color: var(--silver-dim); text-align: center; padding: 3rem 0.5rem; line-height: 1.75; }
.cart__item { display: flex; gap: 1rem; align-items: center; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.cart__thumb { flex: 0 0 auto; width: 60px; height: 60px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); display: grid; place-items: center; }
.cart__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart__semfoto svg { width: 24px; height: 24px; color: var(--silver-dim); }
.cart__info { flex: 1; min-width: 0; }
.cart__nome { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); line-height: 1.2; }
.cart__cod { font-size: 0.72rem; color: var(--silver-dim); margin-top: 0.15rem; }
.cart__preco { font-size: 0.82rem; color: var(--gold); margin-top: 0.25rem; letter-spacing: 0.03em; }
.cart__rm { flex: 0 0 auto; background: none; border: none; color: var(--silver-dim); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0.15rem 0.35rem; transition: color .25s var(--ease); }
.cart__rm:hover { color: #e46a6a; }
.cart__foot { padding: 1.25rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.75rem; }
.cart__wa { width: 100%; justify-content: center; gap: 0.6rem; }
.cart__wa svg { width: 18px; height: 18px; }
.cart__wa.is-disabled { opacity: 0.4; pointer-events: none; }
.cart__clear { background: none; border: none; color: var(--silver-dim); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; transition: color .25s var(--ease); }
.cart__clear:hover { color: var(--silver); }

/* ----- Responsivo do cabeçalho (hambúrguer no mobile) ----- */
@media (max-width: 860px) {
  .nav { justify-content: space-between; gap: 0.5rem; }
  .nav__group a, .nav__mega, .nav__home, .nav__curadoria, .nav__pedra { display: none; }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav__group { flex: 1 1 0; gap: 0.5rem; }
  .nav__group--left { justify-content: flex-start; }   /* ☰ à esquerda */
  .nav__group--right { justify-content: flex-end; }    /* 🛒 à direita */
  .nav__logo img { height: 38px; }
  .cart { width: min(420px, 100vw); }
}
/* ============================================================
   Card de detalhes do produto + rótulos de filtro
   ============================================================ */
.piece__media, .piece__name { cursor: pointer; }

.colecao-barra { gap: 1.75rem; }
.filtro-grupo { display: flex; flex-direction: column; align-items: center; gap: 0.85rem; }
.filtro-rotulo { font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }

.detalhe-overlay {
  position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,0.78);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.detalhe-overlay.open { opacity: 1; visibility: visible; }
.detalhe {
  position: fixed; z-index: 121; top: 50%; left: 50%; transform: translate(-50%, -46%);
  width: min(900px, 94vw); max-height: 92vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line-strong);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), transform .4s var(--ease), visibility .35s;
}
.detalhe.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.detalhe__close {
  position: absolute; top: 0.6rem; right: 0.7rem; z-index: 3; width: 40px; height: 40px;
  background: rgba(10,10,10,0.5); border: none; color: var(--white); font-size: 1.7rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center; transition: color .25s var(--ease);
}
.detalhe__close:hover { color: var(--gold); }
.detalhe__grid { display: grid; grid-template-columns: 1.05fr 1fr; }
.det__media { position: relative; background: var(--surface-2); display: flex; flex-direction: column; }
.det__media img#detMain { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.det__semfoto { aspect-ratio: 1; display: grid; place-items: center; color: var(--silver-dim); }
.det__semfoto svg { width: 64px; height: 64px; }
.det__thumbs { display: flex; gap: 0.5rem; padding: 0.75rem; flex-wrap: wrap; }
.det__thumb { width: 54px; height: 54px; padding: 0; border: 1px solid var(--line); background: none; cursor: pointer; overflow: hidden; opacity: 0.6; transition: opacity .25s var(--ease), border-color .25s var(--ease); }
.det__thumb img { width: 100%; height: 100%; object-fit: cover; }
.det__thumb:hover { opacity: 1; }
.det__thumb.active { opacity: 1; border-color: var(--gold); }
.det__info { padding: clamp(1.75rem, 3vw, 2.75rem); display: flex; flex-direction: column; }
.det__cat { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.det__nome { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.1; margin: 0.4rem 0 0.6rem; }
.det__preco { font-family: var(--font-display); font-size: 1.5rem; color: var(--white); margin-bottom: 1.25rem; }
.det__specs { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.det__spec { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.det__spec dt { color: var(--silver-dim); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.64rem; align-self: center; }
.det__spec dd { color: var(--white); text-align: right; font-size: 0.92rem; }
.det__desc { color: var(--silver); font-size: 0.92rem; line-height: 1.7; margin-top: 1.25rem; }
.det__nota { color: var(--silver-dim); font-size: 0.82rem; font-style: italic; margin-top: 1rem; }
.det__acoes { display: flex; flex-direction: column; gap: 0.7rem; margin-top: auto; padding-top: 1.5rem; }
.det__acoes .btn { width: 100%; }
@media (max-width: 720px) {
  .detalhe__grid { grid-template-columns: 1fr; }
  .det__media img#detMain { aspect-ratio: 4 / 3; }
}