/* =========================================================
   Filipa C Nail Designer — stylesheet
   Adaptado do design de referência (Olhar o Sol / newappai)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --gold: #7070a0;
  --gold-soft: #8f8fbd;
  --bronze: #807060;
  --gold-dark: #5a5a8a;
  --dark: #17151a;
  --dark-2: #211f26;
  --cream: #faf7f2;
  --text: #2b2730;
  --text-muted: #6b6570;
  --border: #ece7e0;
  --white: #ffffff;
  --shadow-lg: 0 20px 50px -12px rgba(23, 21, 26, 0.25);
  --ff-serif: 'Playfair Display', Georgia, serif;
  --ff-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  color: var(--text);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide { max-width: 1360px; }
.container--narrow { max-width: 980px; }

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  font-weight: 600;
}
h1, h2, h3, h4 { font-family: var(--ff-serif); font-weight: 400; margin: 0; line-height: 1.15; }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 300; }
p { line-height: 1.7; color: var(--text-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.btn--gold { background: var(--gold); color: #fff; box-shadow: 0 10px 30px -10px rgba(112, 112, 160, 0.6); }
.btn--gold:hover { background: var(--dark); transform: translateY(-2px); }
.btn--outline { border-color: rgba(255,255,255,0.5); color: #fff; }
.btn--outline:hover { background: #fff; color: var(--dark); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--gold); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Header ---------- */
#main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(6px);
  z-index: 500;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}
#main-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 24px -12px rgba(0,0,0,0.12); }
#nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 0 8px;
  transition: padding 0.3s ease;
}
#main-header.scrolled #nav-container { padding: 12px 0 8px; }
.brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
#logo-link { display: flex; align-items: center; gap: 12px; text-align: left; }
#logo-link img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); transition: width 0.3s ease, height 0.3s ease; }
#main-header.scrolled #logo-link img { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; }
#logo-text { font-family: var(--ff-serif); font-size: 1.5rem; letter-spacing: 0.03em; color: var(--dark); transition: font-size 0.3s ease; }
#main-header.scrolled #logo-text { font-size: 1.25rem; }
#logo-sub { font-size: 0.65rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-muted); }

.mobile-cta { display: none; }

#desktop-menu { display: none; align-items: center; gap: 3rem; }
.nav-link {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text);
  transition: color 0.25s ease;
  white-space: nowrap;
}
.nav-link:hover { color: var(--gold); }

#mobile-menu-button {
  display: block;
  position: absolute;
  right: 22px; top: 22px;
  background: none; border: none; color: var(--dark);
  padding: 6px;
}
#mobile-menu-button svg { width: 26px; height: 26px; }

.header-spacer { height: 118px; background: var(--white); }

#mobile-menu {
  position: fixed; inset: 0; background: var(--dark); z-index: 600;
  display: none; opacity: 0; transition: opacity 0.3s ease;
}
#mobile-menu.open { display: flex; opacity: 1; }
#mobile-menu-inner { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; position: relative; }
#close-menu-button { position: absolute; top: 24px; right: 24px; background: none; border: none; color: #fff; padding: 6px; }
#close-menu-button svg { width: 30px; height: 30px; }
.mobile-nav-link { font-family: var(--ff-serif); font-size: 1.9rem; color: #fff; letter-spacing: 0.02em; }
.mobile-nav-link:hover { color: var(--gold); }
.mobile-social { position: absolute; bottom: 40px; display: flex; gap: 2rem; }
.mobile-social a { color: rgba(255,255,255,0.65); }
.mobile-social a:hover { color: #fff; }
.mobile-social svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
#home { position: relative; height: 74vh; min-height: 480px; width: 100%; overflow: hidden; background: var(--dark); }
.hero-slider { position: absolute; inset: 0; overflow: hidden; }
.hero-slider-track { display: flex; height: 100%; width: 100%; transition: transform 0.8s ease-in-out; }
.hero-slide { flex-shrink: 0; width: 100%; height: 100%; position: relative; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,21,26,0.35) 0%, rgba(23,21,26,0.15) 40%, rgba(23,21,26,0.75) 100%); }
.hero-content {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; color: #fff; padding: 0 20px;
}
.hero-content .eyebrow { color: var(--gold); margin-bottom: 1rem; }
.hero-content h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 300; margin-bottom: 1rem; }
.hero-content h1 em { font-style: italic; color: var(--gold); }
.hero-content p { color: rgba(255,255,255,0.85); max-width: 540px; margin: 0 auto 2rem; font-size: 1.05rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.slide-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; transition: all 0.3s ease; }
.slide-dot.active { background: #fff; width: 22px; border-radius: 5px; }

/* ---------- Sobre ---------- */
.sobre { padding: 96px 0; background: #fff; }
.sobre-grid { display: grid; gap: 3rem; align-items: center; }
.sobre-grid p { font-size: 1.08rem; margin: 0 0 1.4rem; }
.sobre-footnote { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.sobre-footnote span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.15em; color: #b5aea3; }

.mosaic { padding: 60px 0; background: var(--cream); }
.mosaic-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.mosaic-large { grid-column: span 12; aspect-ratio: 4/5; overflow: hidden; border-radius: 4px; }
.mosaic-stack { grid-column: span 12; display: flex; flex-direction: column; gap: 20px; }
.mosaic-stack > div { aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mosaic > .mosaic-grid > div:hover img { transform: scale(1.05); }

@media (min-width: 768px) {
  .sobre-grid { grid-template-columns: 1fr 1fr; gap: 6rem; }
  .mosaic-large { grid-column: span 7; }
  .mosaic-stack { grid-column: span 5; }
}

/* ---------- Serviços (dark) ---------- */
.servicos { padding: 120px 0; background: var(--dark); color: #fff; }
.servicos-grid { display: grid; gap: 4rem; align-items: center; }
.servicos h2 { color: #fff; margin: 0.8rem 0 2rem; }
.servicos-list { margin: 0 0 2.2rem; display: flex; flex-direction: column; gap: 0.85rem; }
.servicos-list li { display: flex; gap: 0.75rem; align-items: flex-start; color: rgba(255,255,255,0.82); font-size: 1.02rem; }
.servicos-list .tick { color: var(--gold); flex-shrink: 0; }
.servicos-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.servicos-media video { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: 10px; cursor: pointer; }
@media (min-width: 768px) { .servicos-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Preços ---------- */
.precos { padding: 120px 0; background: #fff; }
.precos-head { text-align: center; margin-bottom: 4rem; }
.precos-head p { margin-top: 1rem; }
.price-grid { display: grid; gap: 1.4rem; max-width: 880px; margin: 0 auto; }
@media (min-width: 700px) { .price-grid { grid-template-columns: 1fr 1fr; } }
.price-card {
  padding: 2rem 2.2rem; background: var(--cream); border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.price-card:hover { border-color: var(--gold); background: rgba(112, 112, 160, 0.08); }
.price-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.price-card h3 { font-size: 1.4rem; color: var(--dark); }
.price-card .price { font-family: var(--ff-serif); font-size: 1.3rem; color: var(--gold); white-space: nowrap; }
.price-card p { margin: 0; font-size: 0.95rem; }
.price-note { text-align: center; margin-top: 2.5rem; font-size: 0.85rem; color: var(--text-muted); font-style: italic; }

/* ---------- Parallax band ---------- */
.parallax-band { position: relative; height: 46vh; min-height: 280px; overflow: hidden; }
.parallax-band .bg { position: absolute; inset: 0; background-size: cover; background-position: center 25%; background-attachment: fixed; }
@media (max-width: 768px) { .parallax-band .bg { background-attachment: scroll; } }
.parallax-band::after { content: ''; position: absolute; inset: 0; background: rgba(23,21,26,0.35); }

/* ---------- Galeria ---------- */
.galeria { padding: 100px 0; background: var(--cream); }
.galeria-head { text-align: center; margin-bottom: 3rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 600px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: 6px; cursor: pointer;
  background: #000;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease, opacity 0.3s ease; }
.gallery-item:hover img { transform: scale(1.08); opacity: 0.85; }
.gallery-item .play-badge {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(23,21,26,0.65); display: flex; align-items: center; justify-content: center;
}
.gallery-item .play-badge svg { width: 14px; height: 14px; color: #fff; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 900; background: rgba(10,9,12,0.96);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox-close { position: fixed; top: 22px; right: 22px; background: none; border: none; color: rgba(255,255,255,0.85); z-index: 10; padding: 8px; }
.lightbox-close svg { width: 30px; height: 30px; }
.lightbox-content { max-width: 90vw; max-height: 88vh; }
.lightbox-content img, .lightbox-content video { max-width: 90vw; max-height: 88vh; border-radius: 6px; margin: 0 auto; }
.lightbox-caption { color: rgba(255,255,255,0.75); text-align: center; margin-top: 1rem; font-size: 0.9rem; max-width: 560px; }
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: #fff; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lightbox-nav:hover { background: var(--gold); }
.lightbox-nav svg { width: 22px; height: 22px; }
#lightboxPrev { left: 16px; }
#lightboxNext { right: 16px; }

/* ---------- Marcação ---------- */
.marcacao { padding: 120px 0; background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.marcacao-head { text-align: center; margin-bottom: 3.5rem; position: relative; z-index: 2; }
.marcacao-head h2 { color: #fff; margin-top: 0.8rem; }
.marcacao-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.marcacao-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 860px) { .marcacao-grid { grid-template-columns: 2fr 3fr; } }
.marcacao-info { background: var(--dark-2); color: #fff; padding: 3rem 2.4rem; }
.marcacao-info h3 { color: var(--gold); font-size: 1.2rem; margin-bottom: 2rem; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.8rem; }
.info-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(112, 112, 160, 0.16); color: var(--gold); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-icon svg { width: 20px; height: 20px; }
.info-row h4 { font-size: 0.95rem; font-weight: 500; color: #fff; margin-bottom: 0.4rem; font-family: var(--ff-sans); }
.info-row p, .info-row a { margin: 0; font-size: 0.92rem; color: rgba(255,255,255,0.68); }
.info-row a:hover { color: var(--gold); }
.marcacao-note { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 1.5rem; padding-top: 1.5rem; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

.marcacao-form { padding: 2.6rem 2.4rem; }
.form-row { display: grid; gap: 1rem; margin-bottom: 1.2rem; }
@media (min-width: 500px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.9rem 1rem; border-radius: 8px; border: 1px solid var(--border);
  background: var(--cream); font-family: inherit; font-size: 0.95rem; color: var(--text);
  outline: none; transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 90px; }
.form-submit { margin-top: 0.6rem; }

.form-success { display: none; text-align: center; padding: 1.4rem 0 0.4rem; }
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: #e8f7ee; color: #2e9e5b; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; }
.form-success .check svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 1.5rem; margin-bottom: 0.6rem; color: var(--dark); }
.form-success p { max-width: 380px; margin: 0 auto 1.5rem; }

/* ---------- Testemunhos ---------- */
.testemunhos { padding: 80px 0; background: var(--cream); }
.testemunhos-head { text-align: center; margin-bottom: 3rem; }
.testemunhos-head .stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 0.2em; margin-top: 0.6rem; }
.testi-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card { background: #fff; border: 1px solid var(--border); padding: 1.8rem; border-radius: 10px; }
.testi-card .stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 0.9rem; letter-spacing: 0.15em; }
.testi-card p { font-style: italic; color: var(--text); margin-bottom: 1rem; }
.testi-card .who { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Contactos ---------- */
.contactos { padding: 120px 0 100px; background: #fff; }
.contactos-grid { display: grid; gap: 4rem; }
@media (min-width: 860px) { .contactos-grid { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.contactos h2 { color: var(--dark); margin: 0.8rem 0 2.6rem; }
.contact-block { margin-bottom: 2.2rem; }
.contact-block h3 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.2em; color: #b5aea3; margin-bottom: 0.9rem; }
.contact-block p, .contact-block a { font-size: 1.08rem; color: var(--text); }
.contact-block a:hover { color: var(--gold); }
.contact-block .muted { color: var(--gold); font-weight: 600; }
.social-row { display: flex; gap: 1.4rem; padding-top: 0.6rem; }
.social-row a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.25s ease; }
.social-row a:hover { color: #fff; background: var(--gold); border-color: var(--gold); }
.social-row svg { width: 20px; height: 20px; }
.map-frame { border-radius: 10px; overflow: hidden; min-height: 420px; height: 100%; box-shadow: var(--shadow-lg); }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- Footer ---------- */
footer { background: var(--dark); color: #fff; padding: 90px 0 40px; }
.footer-grid { display: grid; gap: 3rem; text-align: center; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); text-align: left; } }
.footer-grid h3 { font-size: 1.9rem; font-weight: 300; margin-bottom: 0.6rem; }
.footer-grid .sub { color: rgba(255,255,255,0.5); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.16em; }
.footer-grid h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255,255,255,0.5); margin-bottom: 1.1rem; font-family: var(--ff-sans); font-weight: 500; }
.footer-grid p, .footer-grid a { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin: 0 0 0.5rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-direction: column-reverse; gap: 1.5rem; align-items: center; justify-content: space-between;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }
.footer-social { display: flex; gap: 1.4rem; }
.footer-social a { color: rgba(255,255,255,0.55); }
.footer-social a:hover { color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.45); text-align: center; }

/* ---------- WhatsApp float button ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 400;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,0.7);
  transition: transform 0.25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; color: #fff; }

/* Desktop nav visibility */
@media (min-width: 860px) {
  #desktop-menu { display: flex; }
  #mobile-menu-button { display: none; }
  .header-spacer { height: 128px; }
  .mobile-cta { display: none; }
}
