/* =========================================================
   NAIL STUDIO — style.css
   Design system + estilos da área pública (site institucional)
   ========================================================= */

/* ---------- DESIGN TOKENS (editáveis pelo admin) ---------- */
:root {
  /* Paleta — pode ser alterada em /admin/configuracoes.html,
     que reescreve estas variáveis via localStorage */
  --color-primary: #C98CA0;      /* rosa queimado */
  --color-primary-dark: #A96A7E; /* rosa queimado escuro (hover) */
  --color-primary-light: #F6E4E8;/* rosa claro (fundos) */
  --color-nude: #EFE1D4;         /* nude */
  --color-gold: #C9A24B;         /* dourado discreto */
  --color-bg: #FFFDFC;           /* branco quente */
  --color-surface: #FFFFFF;
  --color-text: #2B2529;         /* preto acinzentado */
  --color-text-soft: #6B6066;    /* cinza texto secundário */
  --color-border: #EEE1E4;
  --color-success: #6F9C7D;
  --color-danger: #C4645B;
  --color-warning: #D9A441;

  /* Tipografia */
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;
  --font-tech: 'Outfit', 'Manrope', sans-serif; /* usada em nav, chips e destaques "tech" */

  /* Espaçamento */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 72px;

  /* Raio e sombra */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --shadow-soft: 0 8px 30px rgba(43, 37, 41, 0.07);
  --shadow-elevated: 0 16px 45px rgba(43, 37, 41, 0.12);
  --shadow-glow: 0 0 0 1px rgba(201, 162, 75, 0.18), 0 20px 60px -12px rgba(201, 140, 160, 0.45);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.5);

  --transition: all 0.25s ease;
  --max-width: 480px; /* mobile-first "cartão" central, cresce em telas grandes */

  /* Fundo escuro do hero "moderno" — não editável pelo admin, é decisão de layout */
  --color-ink: #241A1E;
  --color-ink-soft: #cbb9be;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 0 var(--space-sm);
  letter-spacing: 0.2px;
}

h1 { font-size: 2.4rem; line-height: 1.15; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 var(--space-sm); color: var(--color-text-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-full);
  padding: 16px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary-dark);
}
.btn-outline:hover { background: var(--color-primary-light); }

.btn-ghost {
  background: transparent;
  color: var(--color-text-soft);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
  padding: 12px 16px;
}

.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.8rem; }

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: var(--shadow-soft);
}

/* ---------- NAVBAR (vidro, fixa no topo) ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 12px var(--space-md);
  background: var(--glass-bg);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
}
.navbar .nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
}
.navbar .nav-brand .logo-badge { width: 34px; height: 34px; font-size: 0.9rem; border-width: 1.5px; }
.navbar .nav-cta {
  padding: 10px 18px;
  font-size: 0.72rem;
}

/* ---------- HEADER / HERO (visual "moderno / bold", fundo escuro) ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #2b1f24 0%, var(--color-ink) 55%, #1c1418 100%);
  padding: var(--space-2xl) 0 var(--space-xl);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

/* manchas de luz animadas ao fundo — dão o ar "tech" sem pesar a paleta */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero-glow span {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float-blob 16s ease-in-out infinite;
}
.hero-glow span:nth-child(1) {
  width: 260px; height: 260px;
  background: var(--color-primary);
  top: -60px; left: -40px;
}
.hero-glow span:nth-child(2) {
  width: 220px; height: 220px;
  background: var(--color-gold);
  top: 40px; right: -60px;
  animation-delay: -5s;
  opacity: 0.3;
}
.hero-glow span:nth-child(3) {
  width: 300px; height: 300px;
  background: var(--color-primary-dark);
  bottom: -140px; left: 30%;
  animation-delay: -10s;
  opacity: 0.4;
}
@keyframes float-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -25px) scale(1.08); }
  66% { transform: translate(-15px, 15px) scale(0.95); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow span { animation: none; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.3px;
  margin-bottom: var(--space-md);
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 0 3px rgba(111, 156, 125, 0.3);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(111, 156, 125, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(111, 156, 125, 0.15); }
}

.logo-badge {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--color-gold);
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--color-primary-dark);
}
.logo-badge img { width: 100%; height: 100%; object-fit: cover; }

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.hero h1 {
  font-family: var(--font-tech);
  font-weight: 800;
  letter-spacing: -0.5px;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #fff 25%, var(--color-primary) 70%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .tagline {
  max-width: 320px;
  margin: 0 auto var(--space-lg);
  color: var(--color-ink-soft);
}

.hero .btn-primary { margin-bottom: var(--space-lg); }

.hero-photo {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.5);
  aspect-ratio: 4/3;
  background: var(--color-nude);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-stats .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--color-ink-soft);
}
.hero-stats .chip svg { width: 14px; height: 14px; color: var(--color-primary); flex-shrink: 0; }

/* indicador de rolagem, só reforça o clima "moderno" do topo */
.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-lg);
  color: var(--color-ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}
.scroll-pill {
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-dot {
  width: 3px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  animation: scroll-dot-move 1.8s ease-in-out infinite;
}
@keyframes scroll-dot-move {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(6px); opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-dot { animation: none; }
}

/* ---------- SEÇÕES ---------- */
section { padding: var(--space-xl) 0; }
.section-title { text-align: center; margin-bottom: var(--space-lg); }
.section-title span {
  display: block;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 6px;
}

/* ---------- CARDS DE SERVIÇO (home, resumo) ---------- */
.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: var(--space-md);
  align-items: center;
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-elevated); }

.service-card .thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

.service-card .info { flex: 1; min-width: 0; }
.service-card .info h3 { margin-bottom: 2px; }
.service-card .meta {
  display: flex;
  gap: var(--space-sm);
  font-size: 0.8rem;
  color: var(--color-text-soft);
  margin-top: 4px;
}
.service-card .price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary-dark);
  font-size: 1.05rem;
  white-space: nowrap;
}

@media (min-width: 640px) {
  #services-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  #services-preview .service-card { margin-bottom: 0; }
}

/* ---------- DIFERENCIAIS (seção "tech") ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}
.feature-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-primary-light), transparent 60%);
  opacity: 0;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: transparent;
}
.feature-card:hover::before { opacity: 1; }
.feature-card .ic {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-soft);
}
.feature-card .ic svg { width: 20px; height: 20px; }
.feature-card h3 { position: relative; font-size: 0.98rem; margin-bottom: 4px; }
.feature-card p { position: relative; font-size: 0.8rem; margin: 0; }

/* destaque estilo "bento" — o primeiro card ganha mais peso visual */
@media (min-width: 640px) {
  .feature-card--highlight { grid-column: span 2; }
}
.feature-card--highlight {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border-color: transparent;
  color: #fff;
}
.feature-card--highlight::before { display: none; }
.feature-card--highlight .ic {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
.feature-card--highlight h3,
.feature-card--highlight p { color: #fff; }
.feature-card--highlight p { opacity: 0.88; }
.feature-card--highlight:hover { box-shadow: var(--shadow-elevated); }

/* ---------- SOBRE MIM ---------- */
.about-block {
  position: relative;
  background: var(--color-nude);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  overflow: hidden;
}
.about-block::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  opacity: 0.25;
  border-radius: 50%;
}
.about-block p { position: relative; }

/* ---------- ANIMAÇÃO DE ENTRADA AO ROLAR ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- INFOS DE ATENDIMENTO ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-soft);
  font-size: 0.92rem;
}
.info-list li:last-child { border-bottom: none; }
.info-list .icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary-dark);
}
.info-list .icon svg { width: 16px; height: 16px; }
.info-list a { color: var(--color-primary-dark); font-weight: 600; }

/* ---------- SOCIAL ---------- */
.social-row {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  font-size: 1.2rem;
}
.social-btn svg { width: 20px; height: 20px; }
.social-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-glow); color: var(--color-primary-dark); }

/* ---------- RODAPÉ ---------- */
footer {
  position: relative;
  text-align: center;
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  color: var(--color-text-soft);
  font-size: 0.8rem;
  background: linear-gradient(180deg, transparent, var(--color-primary-light) 200%);
}
footer::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-gold);
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-full);
}
footer .brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}
footer p a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- BOTÃO FLUTUANTE DE AGENDAR (mobile) ---------- */
.floating-cta {
  position: fixed;
  left: var(--space-md);
  right: var(--space-md);
  bottom: var(--space-md);
  z-index: 40;
  max-width: 560px;
  margin: 0 auto;
}
.floating-cta .btn { box-shadow: var(--shadow-elevated); }

@media (min-width: 700px) {
  .floating-cta { display: none; }
  .hero h1 { font-size: 3rem; }
}
