/* Landing nail designer — mobile first (06/11/2026). Identidade: fundo creme, rosa da landing, Poppins nos títulos. */
:root {
  --bg: #fffaf7;
  --surface: #ffffff;
  --surface-soft: #fff2eb;
  --text: #2f1f1a;
  --muted: #7b6259;
  --primary: #d45d79;
  --primary-dark: #b54662;
  --accent: #f7b4c3;
  --line: #efd7de;
  --ok: #2e9d6a;
  --shadow: 0 18px 40px rgba(53, 25, 25, 0.10);
  --shadow-lg: 0 30px 60px rgba(181, 70, 98, 0.22);
  --radius: 22px;
  --title: "Poppins", "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0%, rgba(247, 180, 195, 0.40), transparent 38%),
    linear-gradient(180deg, #fffaf7 0%, #fff4ef 100%);
  padding-bottom: 84px; /* espaço da barra fixa no celular */
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--title); letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.hl {
  color: var(--primary-dark);
  background: linear-gradient(180deg, transparent 62%, rgba(247, 180, 195, 0.65) 62%);
  padding: 0 2px;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 800; font-size: 16px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 28px rgba(212, 93, 121, 0.35);
}
.btn-primary:hover { box-shadow: 0 18px 34px rgba(212, 93, 121, 0.45); }
.btn-ghost {
  min-height: 44px; padding: 10px 20px; color: var(--text);
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line);
}
.btn-light { color: var(--primary-dark); background: #fff; box-shadow: 0 14px 30px rgba(47, 31, 26, 0.18); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
}
.chip-soft { color: var(--primary-dark); background: #fff; border: 1px solid var(--line); }
.chip-solid { color: #fff; background: var(--primary); }

.kicker {
  display: inline-block; margin-bottom: 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--primary);
}

/* ---------- topo ---------- */
.topbar { padding: 12px 0; position: relative; z-index: 2; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-logo { width: 36px; height: 36px; }
.brand-name { font-family: var(--title); font-weight: 700; font-size: 18px; }

/* ---------- hero ---------- */
.hero { padding: 6px 0 24px; overflow: hidden; }
.hero-grid { display: grid; gap: 28px; }
.hero-copy { display: grid; gap: 14px; justify-items: start; }
.hero-kicker { font-family: inherit; letter-spacing: 0; line-height: 1.3; }
.hero-title { margin: 0; font-family: var(--title); letter-spacing: -0.02em; font-size: clamp(30px, 8.6vw, 54px); line-height: 1.1; font-weight: 800; }
.hero-subtitle { color: var(--muted); font-size: 16px; }
.trust-row {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; font-weight: 600; color: var(--muted);
}
.trust-row li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 5px; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 18px 0 8px; }
.hero-visual::before {
  content: ""; position: absolute; width: 300px; height: 300px; top: 40px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 180, 195, .75), transparent 70%); filter: blur(10px);
}

/* celular com telas reais */
.phone {
  position: relative; width: 230px; aspect-ratio: 390 / 844;
  border-radius: 38px; padding: 9px; background: #2f1f1a;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, .12);
}
.phone::after {
  content: ""; position: absolute; top: 15px; left: 50%; translate: -50% 0;
  width: 70px; height: 7px; border-radius: 9px; background: #2f1f1a; opacity: .85;
}
.phone-screen {
  position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px);
  object-fit: cover; object-position: top; border-radius: 30px; background: #fff;
  opacity: 0; transition: opacity .6s ease, transform .6s ease; transform: scale(1.02);
}
.phone-screen.is-active { opacity: 1; transform: none; }

.float-card {
  position: absolute; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); font-size: 13px; padding: 10px 14px;
}
.float-top { top: 30px; left: 50%; translate: -140px 0; display: flex; align-items: center; gap: 8px; font-weight: 700; white-space: nowrap; }
.float-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px rgba(212, 93, 121, .18); }
.float-toast {
  bottom: 70px; left: 50%; translate: 10px 0; display: grid; gap: 2px; border-left: 5px solid var(--ok);
  opacity: 0; transform: translateY(14px) scale(.95); transition: opacity .4s ease, transform .4s cubic-bezier(.2, 1.4, .4, 1);
}
.float-toast strong { color: var(--ok); }
.float-toast.is-on { opacity: 1; transform: none; }
.tela-real {
  position: absolute; bottom: -6px; left: 50%; translate: -50% 0; white-space: nowrap;
  font-size: 11px; font-weight: 700; color: var(--muted); background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
}

/* ---------- seções ---------- */
.section { padding: 40px 0; }
.section-head { display: grid; gap: 10px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(25px, 7vw, 40px); line-height: 1.15; font-weight: 800; }
.section-head p { color: var(--muted); }
.chat-note { margin-top: 10px; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- dor ---------- */
.pain { background: linear-gradient(180deg, rgba(255, 242, 235, .0), #fff2eb 30%, #fff2eb 75%, rgba(255, 242, 235, 0)); }
.pain-demo { max-width: 460px; margin: 0 auto; }
.pain-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
}
.pain-tab {
  min-height: 44px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font: inherit; font-weight: 800; color: var(--muted);
}
.pain-tab.is-active { color: #fff; background: var(--text); }
.pain-panel[hidden] { display: none; }

.chat-card, .booking-card {
  background: #fff; border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden;
}
.chat-head, .booking-head {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #fffaf7;
}
.booking-head { display: grid; gap: 2px; }
.chat-head small, .booking-head small { display: block; color: var(--muted); font-size: 12px; }
.chat-avatar {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: var(--surface-soft);
}
[data-unread] { display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 800; text-align: center; }
.chat-body { display: grid; gap: 8px; padding: 16px; background: linear-gradient(180deg, #fff, #fffaf7); }
.bubble {
  justify-self: start; max-width: 85%; padding: 10px 14px; border-radius: 18px 18px 18px 6px;
  background: var(--surface-soft); font-size: 15px; font-weight: 500;
}
.bubble time { margin-left: 8px; font-size: 11px; color: var(--muted); }
.bubble-typing { display: flex; gap: 4px; padding: 14px; }
.bubble-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.bubble-typing span:nth-child(2) { animation-delay: .15s; }
.bubble-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

.booking-list { list-style: none; margin: 0; padding: 12px; display: grid; gap: 10px; }
.booking-list li {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 12px; border-radius: 18px; border: 1px solid var(--line); background: #fff;
}
.booking-list small { display: block; color: var(--muted); font-size: 12px; }
.booking-hour { font-weight: 800; color: var(--primary-dark); background: var(--surface-soft); padding: 8px 10px; border-radius: 12px; font-size: 14px; }
.ok { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ok); font-weight: 800; }

.link-switch {
  display: block; margin: 14px auto 0; min-height: 44px; padding: 10px 22px; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 800; color: var(--primary-dark); background: #fff; border: 2px solid var(--primary);
}
.link-switch-back { border-color: var(--line); color: var(--muted); }

/* animações de entrada (só com JS) */
.js [data-pain-panel="sem"] .bubble { opacity: 0; transform: translateY(10px) scale(.96); }
.js [data-pain].is-playing [data-pain-panel="sem"] .bubble {
  animation: bubbleIn .45s cubic-bezier(.2, 1.3, .4, 1) forwards; animation-delay: calc(var(--i) * .55s);
}
.js [data-pain-panel="com"] .booking-list li { opacity: 0; transform: translateX(16px); }
.js [data-pain-panel="com"].is-active .booking-list li {
  animation: bubbleIn .45s ease forwards; animation-delay: calc(var(--i) * .2s + .1s);
}
@keyframes bubbleIn { to { opacity: 1; transform: none; } }

/* calculadora */
.calc {
  max-width: 460px; margin: 26px auto 0; padding: 18px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.calc-label { display: block; font-weight: 800; }
.calc-row { display: flex; align-items: center; gap: 14px; margin: 12px 0; }
.calc-row input { flex: 1; accent-color: var(--primary); height: 32px; }
.calc-row output { min-width: 52px; text-align: center; font-weight: 800; font-size: 20px; color: var(--primary-dark); background: var(--surface-soft); border-radius: 12px; padding: 4px 8px; }
.calc-out strong { color: var(--primary-dark); font-size: 1.15em; }
.calc-foot { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ---------- como funciona ---------- */
.steps-demo { display: grid; gap: 22px; justify-items: center; }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; width: 100%; max-width: 520px; }
.step {
  width: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: left; cursor: pointer;
  padding: 12px 14px; border-radius: 18px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.step small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.step-n {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; color: var(--primary-dark); background: var(--surface-soft);
}
.step.is-active { border-color: var(--primary); box-shadow: 0 10px 24px rgba(212, 93, 121, .18); background: #fffaf7; }
.step.is-active .step-n { color: #fff; background: var(--primary); }
.step:not(.is-active) small { display: none; }
.phone-steps { width: 210px; }

/* ---------- duração ---------- */
.fit-demo { max-width: 520px; margin: 0 auto; }
.fit-label { font-weight: 800; margin-bottom: 10px; }
.fit-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.svc {
  display: grid; gap: 6px; padding: 6px 6px 10px; border-radius: 18px; cursor: pointer; text-align: center;
  border: 2px solid var(--line); background: #fff; font: inherit; color: var(--text); font-weight: 700; font-size: 13px;
  transition: border-color .2s ease, transform .2s ease;
}
.svc img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 13px; }
.svc small { display: block; color: var(--muted); font-weight: 600; }
.svc.is-active { border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(212, 93, 121, .2); }
.fit-day { margin-top: 16px; padding: 16px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.fit-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.lg::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg-free::before { background: var(--ok); }
.lg-busy::before { background: #e6d5d0; }
.fit-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slot {
  padding: 8px 0; border-radius: 10px; text-align: center; font-size: 13px; font-weight: 700;
  border: 1px solid var(--line); color: #b8a49e; background: #faf5f3; text-decoration: line-through;
  transition: background .25s ease, color .25s ease;
}
.slot.is-free { color: #fff; background: var(--ok); border-color: var(--ok); text-decoration: none; }
.slot.is-busy { background: #e6d5d0; color: #8d7670; text-decoration: none; }
.fit-summary { margin-top: 12px; font-weight: 700; font-size: 14px; }

/* ---------- recursos ---------- */
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.feature p { grid-column: 1 / -1; }
.feature strong { display: block; font-size: 14px; line-height: 1.25; }
.feature p { font-size: 13px; color: var(--muted); line-height: 1.4; }
.f-ico { width: 32px; height: 32px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; background: var(--surface-soft); }

/* ---------- preço ---------- */
.price-card {
  max-width: 520px; margin: 0 auto; display: grid; gap: 14px; justify-items: start;
  padding: 24px 20px; border-radius: 28px; background: #fff; border: 2px solid var(--accent); box-shadow: var(--shadow-lg);
}
.price-card h2 { font-size: clamp(26px, 7vw, 36px); line-height: 1.15; font-weight: 800; }
.price-when { color: var(--muted); }
.price-box { width: 100%; display: grid; gap: 4px; padding: 16px; border-radius: 20px; background: var(--surface-soft); }
.price-after { font-size: 13px; font-weight: 700; color: var(--muted); }
.price-value { font-family: var(--title); font-size: 40px; font-weight: 800; line-height: 1.1; }
.price-value small { font-size: 16px; font-weight: 700; color: var(--muted); }
.price-note { font-weight: 700; color: var(--primary-dark); }
.price-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.price-list li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 8px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 8px; max-width: 720px; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 16px 48px 16px 16px; font-weight: 700; position: relative; min-height: 44px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 14px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--primary); font-weight: 800; transition: rotate .2s ease;
}
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list details p { padding: 0 16px 16px; color: var(--muted); }

/* ---------- final ---------- */
.final-box {
  display: grid; gap: 14px; justify-items: center; text-align: center; padding: 32px 20px; border-radius: 30px; color: #fff;
  background: radial-gradient(circle at 80% 0%, rgba(255, 255, 255, .25), transparent 45%), linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: var(--shadow-lg);
}
.final-box h2 { font-size: clamp(26px, 7vw, 38px); line-height: 1.15; font-weight: 800; }
.final-box p { opacity: .92; }
.final-box small { opacity: .9; font-weight: 600; }

/* ---------- barra fixa (celular) ---------- */
.sticky-cta {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(47, 31, 26, .18); backdrop-filter: blur(8px);
  transition: transform .3s ease, opacity .3s ease;
}
.js .sticky-cta { transform: translateY(130%); opacity: 0; pointer-events: none; }
.js .sticky-cta.is-on { transform: none; opacity: 1; pointer-events: auto; }
.sticky-copy { display: grid; line-height: 1.2; font-size: 12px; color: var(--muted); }
.sticky-copy strong { font-size: 14px; color: var(--text); }
.sticky-cta .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; white-space: nowrap; flex: none; }

/* ---------- rodapé ---------- */
.footer { padding: 26px 0 30px; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer a { color: var(--muted); display: inline-block; padding: 10px 0; }

/* ---------- revelar ao rolar (só com JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- telas pequenas ---------- */
@media (max-width: 359px) {
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 15px; }
  .phone { width: 220px; }
  .float-top { translate: -130px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .fit-slots { grid-template-columns: repeat(3, 1fr); }
  .sticky-copy span { display: none; }
  .sticky-cta .btn { padding: 10px 14px; font-size: 14px; }
}

/* ---------- tablet e desktop ---------- */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .section { padding: 72px 0; }
  .hero { padding: 24px 0 56px; }
  .hero-copy .btn-block { width: auto; padding: 14px 30px; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .steps-demo { grid-template-columns: 1fr auto; align-items: center; justify-items: stretch; }
  .phone-steps { width: 270px; }
  .step:not(.is-active) small { display: block; }
  .price-card { padding: 32px; }
  .price-card .btn-block, .final-box .btn-block { width: auto; padding: 14px 34px; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .phone-hero { width: 290px; }
  .section-head { max-width: 720px; }
  .pain .container { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; }
  .pain .section-head { grid-column: 1; }
  .pain .pain-demo { grid-column: 2; grid-row: 1 / span 2; }
  .pain .calc { grid-column: 1; margin: 0; }
  .fit .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .fit .section-head { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js [data-pain-panel] .bubble, .js [data-pain-panel] .booking-list li { opacity: 1 !important; transform: none !important; }
}
