/* Site institucional do Schedula (schedula.com.br).
   Direcao: balcao da recepcao -- neutros cor de papel, marinho e azul do logo, Figtree.
   Grade de 4px. Redesenho com a skill unslop (Damir Sokolovsky, @heydamir, CC BY 4.0). */

@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree-latin-wght.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/jetbrains-mono-latin-wght.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bg: #f7f4ee;
  --card: #fdfbf7;
  --raised: #efe9df;
  --line: rgba(29, 37, 57, 0.09);
  --text: #1d2539;      /* marinho do logo */
  --text-2: #4d5466;
  --muted: #6e7383;
  --accent: #3b67a6;    /* azul do logo, escurecido para texto */
  --dot: #5b88c9;       /* o ponto da agenda, como no logo */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/24px var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
strong { font-weight: 600; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* Cabecalho */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 18px; font-weight: 500; line-height: 1; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav a.quiet { color: var(--text-2); text-decoration: none; }
.nav a.quiet:hover { color: var(--text); }

/* Botoes */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 20px; border-radius: 10px;
  font: 500 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--text); color: #fff; }
.btn-primary:hover { background: #2c3754; color: #fff; }
.btn-secondary { background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-secondary:hover { background: var(--raised); color: var(--text); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 15px; border-radius: 8px; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center;
  min-height: min(calc(100svh - 64px), 800px); padding: 48px 0 96px;
}
.hero h1 {
  margin: 0; font-size: 60px; line-height: 1.04; font-weight: 500; letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero .lede { margin: 24px 0 0; max-width: 34rem; font-size: 19px; line-height: 30px; color: var(--text-2); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* Previa: conversa no WhatsApp virando horario na agenda */
.preview {
  margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
  background: var(--card); border-radius: 20px;
  box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px rgba(29, 37, 57, 0.06);
}
.pane { border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.pane-head {
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px;
  border-bottom: 1px solid var(--line); background: var(--card);
}
.pane-head .title { font-size: 14px; line-height: 20px; font-weight: 500; }
.pane-head .meta { font-size: 12px; line-height: 16px; color: var(--muted); }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--raised); color: var(--text-2);
  font-size: 12px; font-weight: 600;
}

.chat { background: #ece5d9; }
.chat .msgs { display: flex; flex-direction: column; gap: 8px; padding: 16px 12px 20px; flex: 1; }
.bubble {
  max-width: 88%; padding: 8px 12px 6px; border-radius: 8px;
  font-size: 14px; line-height: 20px; color: #1f2420;
  box-shadow: 0 1px 1px rgba(29, 37, 57, 0.08);
}
.bubble.in { align-self: flex-start; background: #fff; border-top-left-radius: 4px; }
.bubble.out { align-self: flex-end; background: #d9f6cf; border-top-right-radius: 4px; }
.bubble time { display: block; text-align: right; margin-top: 2px; font: 400 11px/16px var(--mono); color: #6b7466; }
.mono { font-family: var(--mono); font-size: 0.93em; font-variant-numeric: tabular-nums; }

.agenda { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.timeline { position: relative; display: grid; grid-template-columns: 48px 1fr; padding: 16px 16px 20px 0; flex: 1; }
.hours { display: grid; grid-auto-rows: 56px; }
.hours span { font: 400 12px/16px var(--mono); color: var(--muted); text-align: right; padding-right: 10px; transform: translateY(-8px); font-variant-numeric: tabular-nums; }
.hours span:first-child { transform: none; }
.track {
  position: relative; height: 336px;
  background: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 56px);
}
.slot {
  position: absolute; left: 4px; right: 0; height: 52px; border-radius: 6px;
  padding: 8px 10px; font-size: 13px; line-height: 16px; overflow: hidden;
}
.slot b { display: block; font-weight: 500; }
.slot span { color: var(--text-2); font-size: 12px; }
.slot.escova { background: #f0e4cf; box-shadow: inset 3px 0 0 #b08a52; }
.slot.hidratacao { background: #dfe8da; box-shadow: inset 3px 0 0 #6f8d63; }
.slot.free {
  background: transparent; box-shadow: none;
  border: 1px dashed rgba(29, 37, 57, 0.16); color: var(--muted);
}
.slot.free span { color: var(--muted); }
.slot.new { box-shadow: inset 3px 0 0 #b08a52, 0 0 0 1px var(--accent); }
.slot .tag { position: absolute; top: 8px; right: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dot); flex: none; }

/* Secoes */
.section { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; padding: 96px 0; border-top: 1px solid var(--line); }
.section h2 { margin: 0; font-size: 24px; line-height: 32px; font-weight: 500; }
.section .big { margin: 0; font-size: 28px; line-height: 40px; color: var(--text); max-width: 40rem; }
.section .prose { margin: 0; font-size: 18px; line-height: 30px; color: var(--text-2); max-width: 40rem; }
.features { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; margin: 0; padding: 0; list-style: none; }
.features li { padding: 24px 0; border-top: 1px solid var(--line); }
.features li:nth-child(-n+2) { border-top: 0; padding-top: 0; }
.features h3 { margin: 0 0 8px; font-size: 17px; line-height: 24px; font-weight: 500; }
.features p { margin: 0; font-size: 15px; line-height: 24px; color: var(--text-2); }
.contact-mail { margin: 0; font-size: 28px; line-height: 40px; }
.fine { margin: 16px 0 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.section .prose.small { font-size: 15px; line-height: 24px; margin-top: 24px; }

/* Faixa de provas: o que ja funciona */
.proof { padding: 64px 0; border-top: 1px solid var(--line); }
.eyebrow { margin: 0 0 32px; font-size: 28px; line-height: 36px; font-weight: 500; letter-spacing: -0.01em; }
.proof-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; }
.proof-list li { padding-top: 16px; border-top: 2px solid var(--text); }
.proof-list h3 { margin: 0 0 8px; font-size: 17px; line-height: 24px; font-weight: 600; }
.proof-list p { margin: 0; font-size: 15px; line-height: 24px; color: var(--text-2); }

/* Como funciona */
.steps { display: grid; gap: 32px; margin: 0; padding: 0; list-style: none; max-width: 40rem; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.step-n {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--text); color: #fff; font-size: 14px; font-weight: 600;
}
.steps h3 { margin: 4px 0 4px; font-size: 18px; line-height: 24px; font-weight: 500; }
.steps p { margin: 0; font-size: 16px; line-height: 26px; color: var(--text-2); }

/* Preco */
.pricing { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.price-card {
  padding: 32px; border-radius: 20px; background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px rgba(29, 37, 57, 0.06);
}
.plan-name { margin: 0; font-size: 15px; font-weight: 600; color: var(--accent); }
.price { margin: 8px 0 16px; display: flex; align-items: baseline; gap: 4px; }
.price .currency { font-size: 22px; font-weight: 500; }
.price .amount { font-size: 64px; line-height: 1; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price .period { font-size: 18px; color: var(--text-2); }
.price-note { margin: 0 0 8px; font-size: 15px; line-height: 24px; color: var(--text-2); }
.btn-block { display: flex; width: 100%; margin-top: 24px; }
.included-title { margin: 0 0 16px; font-size: 17px; font-weight: 500; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 28px; font-size: 16px; line-height: 24px; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 6px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}

/* Para quem e */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.chips li { padding: 6px 14px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; color: var(--text-2); }

/* Perguntas frequentes */
.faq { max-width: 44rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative;
  font-size: 17px; line-height: 24px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 22px; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 20px; font-size: 16px; line-height: 26px; color: var(--text-2); }

/* Chamada final */
.cta-final { padding: 96px 0; border-top: 1px solid var(--line); text-align: center; }
.cta-final h2 { margin: 0; font-size: 40px; line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
.cta-final p { margin: 16px auto 0; max-width: 34rem; font-size: 18px; line-height: 28px; color: var(--text-2); }
.cta-final .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Rodape */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 64px; font-size: 14px; line-height: 22px; color: var(--text-2); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 48px; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--text-2); }
.site-footer a:hover { color: var(--text); }

/* Paginas legais: texto intocado, so a leitura */
.doc { max-width: 720px; margin: 0 auto; padding: 64px 32px 96px; font-size: 16px; line-height: 28px; color: var(--text-2); }
.doc h1 { margin: 0 0 8px; font-size: 36px; line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; color: var(--text); }
.doc h2, .doc h4 { margin: 48px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 20px; line-height: 28px; font-weight: 500; color: var(--text); }
.doc h3 { margin: 48px 0 4px; font-size: 26px; line-height: 34px; font-weight: 500; color: var(--text); }
.doc strong { color: var(--text); }
.doc .meta, .doc .versao { margin-top: 0; font-size: 14px; color: var(--muted); }
.doc .versao em { font-style: normal; }
.doc ul { padding-left: 20px; }
.doc li { margin: 4px 0; }
.doc li::marker { color: var(--muted); }

/* Uma entrada so, com proposito: a conversa termina e o horario aparece na agenda */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 500ms var(--ease) both; }
  .rise-2 { animation-delay: 60ms; }
  .rise-3 { animation-delay: 120ms; }
  .lands { animation: rise 400ms var(--ease) 900ms both; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

/* Telas pequenas */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 48px; min-height: 0; padding: 48px 0 64px; }
  .hero h1 { font-size: 40px; line-height: 1.08; letter-spacing: -0.02em; }
  .hero .lede { font-size: 18px; line-height: 28px; }
  .section { grid-template-columns: 1fr; gap: 24px; padding: 64px 0; }
  .proof-list { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav { gap: 16px; }
  .nav .hide-sm { display: none; }
  .proof-list { grid-template-columns: 1fr; gap: 24px; }
  .eyebrow, .cta-final h2 { font-size: 26px; line-height: 32px; }
  .price-card { padding: 24px; }
  .cta-final { padding: 64px 0; }
  .preview { grid-template-columns: 1fr; }
  .agenda .slot.free { display: none; }
  .features { grid-template-columns: 1fr; }
  .features li:nth-child(2) { border-top: 1px solid var(--line); padding-top: 24px; }
  .section .big, .contact-mail { font-size: 22px; line-height: 32px; }
  .doc { padding: 48px 20px 80px; }
  .doc h1 { font-size: 30px; }
}
