/* ================================================
   JONNY JOIAS — style.css
   Paleta: Preto / Prata / Branco
   Para editar cores, altere as variáveis em :root
================================================ */

/* -----------------------------------------------
   VARIÁVEIS GLOBAIS
----------------------------------------------- */
:root {
  --preto:        #0B0B0B;
  --preto-suave:  #1B1B1B;
  --prata:        #C0C0C0;
  --prata-clara:  #E8E8E8;
  --branco:       #FFFFFF;
  --cinza:        #6B6B6B;
  --cinza-claro:  #2E2E2E;

  --fonte-display: 'Cormorant Garamond', Georgia, serif;
  --fonte-body:    'Jost', system-ui, sans-serif;

  --transicao: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --sombra:    0 8px 40px rgba(0, 0, 0, 0.5);
}

/* -----------------------------------------------
   RESET & BASE
----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--preto);
  color: var(--prata-clara);
  font-family: var(--fonte-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; transition: color var(--transicao); }

ul { list-style: none; }

/* -----------------------------------------------
   ACESSIBILIDADE — VISUALLY HIDDEN
----------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* -----------------------------------------------
   CONTAINER
----------------------------------------------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* -----------------------------------------------
   TIPOGRAFIA GLOBAL
----------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--fonte-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--branco);
}

em {
  font-style: italic;
  color: var(--prata);
}

/* -----------------------------------------------
   BOTÕES
----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--fonte-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transicao);
  white-space: nowrap;
}

/* Prata — ação principal */
.btn--silver {
  background: var(--prata);
  color: var(--preto);
  border-color: var(--prata);
}
.btn--silver:hover {
  background: var(--branco);
  border-color: var(--branco);
}

/* Outline — ação secundária */
.btn--outline {
  background: transparent;
  color: var(--branco);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline:hover {
  border-color: var(--prata);
  color: var(--prata);
}

/* Ghost — dentro de cards escuros */
.btn--ghost {
  background: transparent;
  color: var(--prata);
  border-color: rgba(192,192,192,0.3);
  padding: 10px 22px;
}
.btn--ghost:hover {
  background: var(--prata);
  color: var(--preto);
  border-color: var(--prata);
}

.btn--sm  { padding: 10px 22px; font-size: 12px; }
.btn--lg  { padding: 18px 42px; font-size: 14px; }

/* -----------------------------------------------
   BOTÃO FLUTUANTE WHATSAPP
----------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--transicao), box-shadow var(--transicao);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}

/* -----------------------------------------------
   HEADER
----------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transicao), padding var(--transicao), backdrop-filter var(--transicao);
}

/* Após rolagem — JS adiciona .scrolled */
.header.scrolled {
  background: rgba(11,11,11,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(192,192,192,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo-text {
  font-family: var(--fonte-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--branco);
}
.logo-text em {
  font-style: normal;
  color: var(--prata);
}
.logo-text--footer { font-size: 20px; }

/* Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__list {
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--prata-clara);
  position: relative;
  padding-bottom: 3px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--prata);
  transition: width var(--transicao);
}
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

/* Hamburguer (mobile) */
.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header__toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--branco);
  transition: transform var(--transicao), opacity var(--transicao);
}
.header__toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.header__toggle.open span:nth-child(2) { opacity: 0; }
.header__toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* -----------------------------------------------
   HERO / BANNER PRINCIPAL
   Troque background-image pelo caminho real da imagem
----------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* IMAGEM DE FUNDO — substitua pelo caminho real */
  background: url('images/hero.jpg') center center / cover no-repeat;
  background-color: var(--preto-suave); /* fallback sem imagem */
  text-align: center;
  padding: 120px 20px 80px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11,11,11,0.6) 0%,
    rgba(11,11,11,0.4) 40%,
    rgba(11,11,11,0.75) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--prata);
  border: 1px solid rgba(192,192,192,0.3);
  padding: 8px 20px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(44px, 7vw, 80px);
  color: var(--branco);
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero__title em {
  display: block;
  color: var(--prata);
}

.hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 300;
  color: var(--prata-clara);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  opacity: 0.9;
}

.hero__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Seta de scroll */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(192,192,192,0.5);
  font-size: 18px;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Animação de entrada do hero */
.fade-in { animation: fadeInUp 1.1s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -----------------------------------------------
   SEÇÕES — BASE
----------------------------------------------- */
.section { padding: 100px 0; }

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem;
}

.section__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--prata);
  margin-bottom: 1rem;
}

.section__title {
  font-size: clamp(28px, 4vw, 46px);
  margin-bottom: 1rem;
}

.section__sub {
  font-size: 15px;
  color: var(--cinza);
  line-height: 1.8;
}

/* -----------------------------------------------
   ANIMAÇÃO DE REVELAÇÃO NO SCROLL
   JS adiciona .revealed quando elemento entra na viewport
----------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------------------
   COLEÇÕES — CARDS
----------------------------------------------- */
.colecoes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.card {
  background: var(--preto-suave);
  border: 1px solid rgba(192,192,192,0.08);
  overflow: hidden;
  transition: border-color var(--transicao), transform var(--transicao);
}
.card:hover {
  border-color: rgba(192,192,192,0.3);
  transform: translateY(-6px);
}

.card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card__img { transform: scale(1.06); }

.card__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(11,11,11,0.85);
  border: 1px solid rgba(192,192,192,0.25);
  color: var(--prata);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
}

.card__body {
  padding: 1.4rem 1.5rem 1.6rem;
}
.card__title {
  font-size: 22px;
  margin-bottom: 0.4rem;
  color: var(--branco);
}
.card__desc {
  font-size: 13px;
  color: var(--cinza);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

/* -----------------------------------------------
   SOBRE
----------------------------------------------- */
.sobre { background: var(--preto-suave); }

.sobre__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.sobre__img-wrap {
  position: relative;
}
.sobre__img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border: 1px solid rgba(192,192,192,0.1);
}
.sobre__img-badge {
  position: absolute;
  bottom: 28px; right: -20px;
  background: var(--preto);
  border: 1px solid rgba(192,192,192,0.2);
  padding: 20px 28px;
  text-align: center;
}
.sobre__img-badge strong {
  display: block;
  font-family: var(--fonte-display);
  font-size: 36px;
  color: var(--prata);
  line-height: 1;
}
.sobre__img-badge span {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cinza);
}

.sobre__content .section__title { text-align: left; margin-bottom: 1.5rem; }
.sobre__content .section__eyebrow { text-align: left; }

.sobre__text {
  color: var(--cinza);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
.sobre__text strong { color: var(--prata-clara); font-weight: 500; }

.sobre__list {
  margin: 1.8rem 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sobre__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--prata-clara);
}
.sobre__list li i {
  color: var(--prata);
  font-size: 13px;
  flex-shrink: 0;
}

/* -----------------------------------------------
   DIFERENCIAIS
----------------------------------------------- */
.diferenciais__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(192,192,192,0.08);
}

.diferencial {
  background: var(--preto);
  padding: 3rem 2rem;
  text-align: center;
  transition: background var(--transicao);
}
.diferencial:hover { background: var(--preto-suave); }

.diferencial__icon {
  font-size: 28px;
  color: var(--prata);
  margin-bottom: 1.2rem;
}
.diferencial__title {
  font-size: 18px;
  margin-bottom: 0.8rem;
  color: var(--branco);
}
.diferencial__desc {
  font-size: 13px;
  color: var(--cinza);
  line-height: 1.7;
}

/* -----------------------------------------------
   GALERIA / SLIDER
----------------------------------------------- */
.galeria { padding: 80px 0; overflow: hidden; }

.slider {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}

.slider__track {
  display: flex;
  gap: 16px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.slider__slide {
  flex: 0 0 calc(33.333% - 11px);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.85);
}
.slider__slide:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11,11,11,0.8);
  border: 1px solid rgba(192,192,192,0.2);
  color: var(--prata);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all var(--transicao);
  z-index: 5;
}
.slider__btn:hover { background: var(--prata); color: var(--preto); }
.slider__btn--prev { left: 20px; }
.slider__btn--next { right: 20px; }

/* -----------------------------------------------
   AVALIAÇÕES
----------------------------------------------- */
.avaliacoes { background: var(--preto-suave); }

.avaliacoes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.avaliacao {
  background: var(--preto);
  border: 1px solid rgba(192,192,192,0.08);
  padding: 2rem;
  transition: border-color var(--transicao);
}
.avaliacao:hover { border-color: rgba(192,192,192,0.25); }

.avaliacao__stars {
  color: var(--prata);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.avaliacao__text {
  font-size: 14px;
  color: var(--cinza);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.avaliacao__footer {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avaliacao__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(192,192,192,0.12);
  border: 1px solid rgba(192,192,192,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fonte-display);
  font-size: 18px;
  color: var(--prata);
  flex-shrink: 0;
}
.avaliacao__nome {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--branco);
}
.avaliacao__cidade {
  font-size: 12px;
  color: var(--cinza);
}

/* -----------------------------------------------
   INSTAGRAM
----------------------------------------------- */
.instagram { border-top: 1px solid rgba(192,192,192,0.08); }

.instagram__inner {
  text-align: center;
}

.instagram__icon {
  font-size: 42px;
  color: var(--prata);
  margin-bottom: 1rem;
}
.instagram .section__title { margin-bottom: 0.8rem; }
.instagram .section__sub {
  margin-bottom: 2rem;
  color: var(--cinza);
}

/* -----------------------------------------------
   CTA
----------------------------------------------- */
.cta {
  background: var(--preto-suave);
  border-top: 1px solid rgba(192,192,192,0.08);
  border-bottom: 1px solid rgba(192,192,192,0.08);
  padding: 100px 20px;
  text-align: center;
  /* Opcional: adicione imagem de fundo com overlay */
  /* background-image: url('images/cta-bg.jpg'); */
}

.cta__inner { max-width: 700px; margin: 0 auto; }

.cta__title {
  font-size: clamp(30px, 5vw, 52px);
  margin: 0.8rem 0 1.5rem;
  line-height: 1.2;
}
.cta__sub {
  color: var(--cinza);
  font-size: 15px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* -----------------------------------------------
   CONTATO
----------------------------------------------- */
.contato__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contato__info .section__title { text-align: left; margin-bottom: 1.5rem; }
.contato__info .section__eyebrow { text-align: left; }

.contato__list {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contato__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
}
.contato__list li i {
  color: var(--prata);
  font-size: 18px;
  width: 24px;
  text-align: center;
}
.contato__list li a:hover { color: var(--prata); }

/* Formulário */
.contato__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2rem;
}
.contato__form input,
.contato__form textarea {
  background: var(--preto-suave);
  border: 1px solid rgba(192,192,192,0.12);
  color: var(--branco);
  font-family: var(--fonte-body);
  font-size: 14px;
  font-weight: 300;
  padding: 14px 18px;
  width: 100%;
  transition: border-color var(--transicao);
  resize: none;
}
.contato__form input::placeholder,
.contato__form textarea::placeholder { color: var(--cinza); }
.contato__form input:focus,
.contato__form textarea:focus {
  outline: none;
  border-color: rgba(192,192,192,0.4);
}

/* Mapa */
.contato__mapa iframe {
  filter: grayscale(100%) invert(92%) contrast(90%);
  border: 1px solid rgba(192,192,192,0.1);
}

/* -----------------------------------------------
   RODAPÉ
----------------------------------------------- */
.footer {
  background: #050505;
  border-top: 1px solid rgba(192,192,192,0.1);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 70px 0 50px;
}

.footer__tagline {
  font-size: 13px;
  color: var(--cinza);
  margin: 12px 0 1.5rem;
  line-height: 1.7;
}

.footer__social {
  display: flex;
  gap: 14px;
}
.footer__social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(192,192,192,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--cinza);
  transition: all var(--transicao);
}
.footer__social a:hover {
  border-color: var(--prata);
  color: var(--prata);
}

.footer__heading {
  font-family: var(--fonte-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--prata);
  margin-bottom: 1.2rem;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links ul li a {
  font-size: 13px;
  color: var(--cinza);
  transition: color var(--transicao);
}
.footer__links ul li a:hover { color: var(--prata); }

.footer__contact p {
  font-size: 13px;
  color: var(--cinza);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}
.footer__contact p i { color: var(--prata); margin-top: 3px; }

.footer__bottom {
  border-top: 1px solid rgba(192,192,192,0.06);
  padding: 20px 0;
}
.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p {
  font-size: 12px;
  color: rgba(107,107,107,0.7);
}
.footer__bottom i { color: var(--prata); }

/* -----------------------------------------------
   RESPONSIVO — TABLET (≤900px)
----------------------------------------------- */
@media (max-width: 900px) {
  .sobre__grid        { grid-template-columns: 1fr; gap: 3rem; }
  .sobre__img-wrap    { order: -1; }
  .sobre__img         { height: 380px; }
  .sobre__img-badge   { right: 16px; bottom: 16px; }

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

  .footer__inner      { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .diferenciais__grid { grid-template-columns: repeat(2, 1fr); }

  .slider__slide      { flex: 0 0 calc(50% - 8px); }
}

/* -----------------------------------------------
   RESPONSIVO — MOBILE (≤640px)
----------------------------------------------- */
@media (max-width: 640px) {
  .section            { padding: 70px 0; }

  /* Header mobile */
  .header__nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    inset: 0;
    background: rgba(11,11,11,0.98);
    backdrop-filter: blur(16px);
    padding: 100px 2rem 2rem;
    gap: 0;
  }
  .header__nav.open   { display: flex; }
  .header__toggle     { display: flex; z-index: 101; }

  .nav__list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .nav__link {
    font-size: 28px;
    font-family: var(--fonte-display);
    padding: 14px 0;
    border-bottom: 1px solid rgba(192,192,192,0.06);
    letter-spacing: 0;
  }
  .header__nav .btn   { margin-top: 2rem; }

  /* Hero mobile */
  .hero               { min-height: 85vh; padding: 120px 20px 60px; }

  /* Slider mobile */
  .slider__slide      { flex: 0 0 80%; }

  /* Diferenciais mobile */
  .diferenciais__grid { grid-template-columns: 1fr; gap: 1px; }

  /* Footer mobile */
  .footer__inner      { grid-template-columns: 1fr; }
  .footer__bottom .container { flex-direction: column; text-align: center; }

  /* CTA mobile */
  .hero__btns         { flex-direction: column; align-items: center; }

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

@media (max-width: 400px) {
  .colecoes__grid     { grid-template-columns: 1fr; }
}

/* -----------------------------------------------
   ACESSIBILIDADE — REDUCED MOTION
----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
