/* =========================================================
   Studio Joosy Santos — Nail Designer
   Paleta: Rose · Rose Gold · Creme · Branco · Preto suave
   ========================================================= */

:root {
  --rose:        #f7d9d2;   /* rosa da logo */
  --rose-soft:   #fdeeea;   /* rosa muito claro */
  --rose-tint:   #fbe6e0;
  --cream:       #fff8f5;   /* creme / off-white */
  --white:       #ffffff;

  --gold:        #b97e6c;   /* rose gold base */
  --gold-deep:   #a06a59;   /* rose gold escuro */
  --gold-light:  #d8a795;   /* rose gold claro */

  --ink:         #2a2320;   /* preto suave (textos) */
  --muted:       #7a6b64;   /* texto secundário */
  --line:        rgba(169,118,99,.18);

  --gold-grad: linear-gradient(120deg, #c98d7a 0%, #a96b58 50%, #c98d7a 100%);

  --shadow-sm: 0 6px 20px rgba(150, 95, 78, .10);
  --shadow-md: 0 14px 40px rgba(150, 95, 78, .16);
  --shadow-lg: 0 26px 70px rgba(120, 75, 60, .22);

  --radius: 18px;
  --radius-lg: 28px;

  --font-body: 'Poppins', system-ui, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-script: 'Dancing Script', cursive;

  --container: 1160px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.script { font-family: var(--font-script); }

/* ---------- Tipografia de seção ---------- */
.eyebrow {
  font-size: .78rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: .01em;
}
.section-lead {
  color: var(--muted);
  max-width: 56ch;
  margin-top: 16px;
}
.section { padding: clamp(72px, 11vw, 130px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, background .35s, color .35s;
  will-change: transform;
}
.btn-primary {
  background: var(--gold-grad);
  background-size: 200% auto;
  color: #fff;
  box-shadow: 0 12px 28px rgba(169, 107, 88, .35);
}
.btn-primary:hover { background-position: right center; transform: translateY(-3px); box-shadow: 0 18px 38px rgba(169, 107, 88, .45); }
.btn-ghost {
  background: transparent;
  color: var(--gold-deep);
  border-color: var(--gold-light);
}
.btn-ghost:hover { background: var(--gold-deep); color: #fff; border-color: var(--gold-deep); transform: translateY(-3px); }
.btn-light {
  background: #fff;
  color: var(--gold-deep);
  box-shadow: var(--shadow-md);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* =========================================================
   Navbar
   ========================================================= */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding: 18px 0;
}
.navbar.scrolled {
  background: var(--cream);
  background: rgba(255, 248, 245, .97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(150, 95, 78, .10);
  padding: 10px 0;
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-logo {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(255,255,255,.6);
}
.nav-brand-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.05;
}
.nav-brand-text em { display: block; font-style: normal; color: var(--gold-deep); font-size: .92rem; letter-spacing: .04em; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a {
  font-size: .92rem;
  font-weight: 400;
  color: var(--ink);
  position: relative;
  transition: color .3s;
}
.nav-links > a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1.5px;
  background: var(--gold-grad);
  transition: width .3s;
}
.nav-links > a:not(.nav-cta):hover { color: var(--gold-deep); }
.nav-links > a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta { padding: 11px 26px; color: #fff; }

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

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(216,167,149,.45), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(247,217,210,.65), transparent 46%),
    linear-gradient(160deg, var(--rose-soft) 0%, var(--rose) 55%, #f2c7bd 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(169,107,88,.10) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .5;
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-logo {
  width: clamp(130px, 22vw, 180px);
  height: clamp(130px, 22vw, 180px);
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 26px;
  box-shadow: 0 22px 55px rgba(150, 90, 72, .30);
  border: 4px solid rgba(255,255,255,.7);
}
.hero-eyebrow {
  font-size: .82rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 500;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  line-height: 1.06;
  color: var(--ink);
  letter-spacing: .01em;
}
.hero-title .script {
  display: inline-block;
  font-family: var(--font-script);
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.18em;
  line-height: 1.2;
  padding: 0 .1em;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 52ch;
  margin: 22px auto 34px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-hours {
  margin-top: 30px;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.hero-scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 44px;
  border: 2px solid var(--gold-deep);
  border-radius: 20px;
  z-index: 2;
}
.hero-scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--gold-deep);
  border-radius: 4px;
  transform: translateX(-50%);
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,14px)} 100%{opacity:0} }

/* =========================================================
   Sobre
   ========================================================= */
.sobre { background: var(--cream); }
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.sobre-media { position: relative; }
.sobre-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.sobre-media::before {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--gold-light);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.sobre-badge {
  position: absolute;
  bottom: -22px; right: -10px;
  background: var(--gold-grad);
  color: #fff;
  text-align: center;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 16px 22px;
  border-radius: 50%;
  width: 110px; height: 110px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  line-height: 1.3;
}
.sobre-badge strong { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .02em; }
.sobre-text p { color: var(--muted); margin-top: 16px; }
.sobre-text p strong { color: var(--ink); font-weight: 500; }
.sobre-list { margin: 26px 0 30px; display: grid; gap: 12px; }
.sobre-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-size: .96rem;
}
.sobre-list li::before {
  content: '✦';
  position: absolute; left: 0; top: 0;
  color: var(--gold);
}

/* =========================================================
   Serviços
   ========================================================= */
.servicos { background: linear-gradient(180deg, var(--rose-soft), var(--cream)); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--gold-deep);
  font-size: 1.3rem;
  margin-bottom: 22px;
}
.card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ink); }
.card p { color: var(--muted); font-size: .94rem; margin-top: 10px; }
.card-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--gold-deep);
  font-weight: 500;
  font-size: .9rem;
  transition: gap .3s, color .3s;
}
.card-link:hover { color: var(--gold); letter-spacing: .02em; }
.card-cta {
  background: var(--gold-grad);
  color: #fff;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.card-cta::before { display: none; }
.card-cta h3, .card-cta p { color: #fff; }
.card-cta p { opacity: .92; margin-bottom: 22px; }
.card-cta .btn-primary { background: #fff; color: var(--gold-deep); box-shadow: none; }
.card-cta .btn-primary:hover { transform: translateY(-3px); }

/* =========================================================
   Galeria
   ========================================================= */
.galeria { background: var(--cream); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.gallery-item::after {
  content: '🔍';
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: linear-gradient(180deg, transparent 40%, rgba(120,75,60,.55));
  color: #fff; font-size: 1.4rem;
  opacity: 0;
  transition: opacity .4s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }

/* =========================================================
   Horários
   ========================================================= */
.horarios { background: linear-gradient(160deg, var(--rose) 0%, #f2c7bd 100%); }
.horarios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 70px);
  align-items: center;
}
.horarios-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 14px 36px;
  box-shadow: var(--shadow-lg);
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.hours-list li:last-child { border-bottom: none; }
.hours-list span { font-weight: 400; color: var(--ink); }
.hours-list em {
  font-style: normal;
  font-weight: 500;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.hours-list em.closed { color: #c2a99f; font-size: .92rem; font-family: var(--font-body); font-weight: 300; }

/* =========================================================
   Contato / Mapa
   ========================================================= */
.contato { background: var(--cream); }
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 70px);
  align-items: center;
}
.contato-info { margin: 30px 0; display: grid; gap: 22px; }
.contato-info li { display: flex; gap: 16px; align-items: flex-start; }
.ci-ico {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--rose-soft);
  border-radius: 50%;
  font-size: 1.2rem;
}
.contato-info strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 2px; }
.contato-info div { color: var(--muted); }
.contato-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.contato-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.contato-map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* =========================================================
   CTA final
   ========================================================= */
.cta-final {
  background: var(--gold-grad);
  text-align: center;
  padding: clamp(72px, 10vw, 120px) 24px;
  color: #fff;
}
.cta-script { font-size: clamp(2rem, 5vw, 3rem); color: #fff; opacity: .95; }
.cta-final h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin: 6px 0 30px;
  max-width: 18ch;
  margin-left: auto; margin-right: auto;
}

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); color: #e9ddd7; padding: 70px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.footer-brand p { color: #c9b6ad; font-size: .9rem; }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #fff;
}
.footer-col a, .footer-col p { display: block; color: #c9b6ad; font-size: .92rem; margin-bottom: 10px; transition: color .3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col .btn { margin-top: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding: 22px 24px;
  text-align: center;
}
.footer-bottom p { color: #a8948b; font-size: .82rem; }

/* =========================================================
   WhatsApp flutuante
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
  z-index: 90;
  transition: transform .35s;
  animation: waPulse 2.6s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes waPulse {
  0% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.45); }
  70% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 12px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(40, 28, 24, .92);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
  padding: 30px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90vw; max-height: 86vh;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lb-close, .lb-nav {
  position: absolute;
  background: rgba(255,255,255,.14);
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background .3s, transform .3s;
  backdrop-filter: blur(6px);
}
.lb-close { top: 24px; right: 26px; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2rem; }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.28); }

/* =========================================================
   Animação de reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .sobre-grid, .horarios-grid, .contato-grid { grid-template-columns: 1fr; }
  .sobre-media { max-width: 440px; margin: 0 auto 30px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    height: 100dvh;
    width: min(80%, 330px);
    background: #fff8f5;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 90px 40px 40px;
    box-shadow: -20px 0 60px rgba(120,75,60,.18);
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
    overflow-y: auto;
    z-index: 100;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links > a { font-size: 1.1rem; }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-brand-text { font-size: 1rem; }
  .nav-cta { padding: 13px 30px; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .contato-map iframe { height: 320px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .sobre-badge { width: 92px; height: 92px; }
}

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