/* A paleta e a tipografia são as mesmas de web_booking/src/styles.css: quem sai
   daqui para o link de agendamento tem de reconhecer o mesmo produto. */
:root {
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --success: #059669;
  --amber: #b45309;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(79, 70, 229, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--slate-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: var(--indigo-600);
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrap.narrow {
  max-width: 720px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 10;
  background: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--slate-900);
  text-decoration: none;
}

.brand img {
  border-radius: 9px;
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  color: var(--slate-600);
  text-decoration: none;
}

.nav a:hover {
  color: var(--indigo-600);
}

/* Botões */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 16px;
  font-size: 14px;
}

.btn-primary {
  background: var(--indigo-600);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(79, 70, 229, 0.28);
}

.btn-primary:hover {
  background: var(--indigo-700);
}

.btn-dark {
  background: var(--slate-900);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.22);
}

.btn-ghost {
  background: var(--white);
  color: var(--indigo-700);
  border-color: var(--indigo-200);
}

.btn-ghost:hover {
  background: var(--indigo-50);
}

/* Hero */

.hero {
  background: linear-gradient(180deg, var(--indigo-50) 0%, var(--white) 78%);
  padding: 72px 0 56px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  color: var(--indigo-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.center {
  text-align: center;
}

.hero h1 {
  margin: 14px 0 18px;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 800;
}

.lead {
  color: var(--slate-600);
  font-size: 18px;
  line-height: 1.55;
  max-width: 52ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cta-row.center {
  justify-content: center;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  color: var(--slate-600);
  font-size: 14px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--indigo-100)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
    center / 11px no-repeat;
}

/* Mock do app */

.hero-art {
  display: flex;
  justify-content: center;
}

.phone {
  width: 320px;
  max-width: 100%;
  border-radius: 34px;
  padding: 12px;
  background: var(--slate-900);
  box-shadow: var(--shadow-lg);
}

.phone-screen {
  background: var(--slate-50);
  border-radius: 26px;
  padding: 18px 16px;
  display: grid;
  gap: 10px;
}

.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.screen-date {
  font-size: 14px;
  font-weight: 700;
}

.screen-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--indigo-700);
  background: var(--indigo-100);
  padding: 4px 10px;
  border-radius: 99px;
}

.appt {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 10px;
}

.appt-pending {
  border-color: var(--indigo-200);
  background: var(--indigo-50);
}

.appt-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--indigo-600);
}

.appt strong {
  display: block;
  font-size: 13px;
}

.appt span:not(.appt-time):not(.tag) {
  font-size: 11px;
  color: var(--slate-500);
}

.tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  white-space: nowrap;
}

.tag-ok {
  color: var(--success);
  background: #ecfdf5;
}

.tag-wait {
  color: var(--amber);
  background: #fffbeb;
}

.screen-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed var(--slate-300);
  padding-top: 12px;
  font-size: 13px;
  color: var(--slate-500);
}

.screen-total strong {
  font-size: 15px;
  color: var(--slate-800);
}

/* Seções */

.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-title {
  margin: 12px 0 0;
  text-align: center;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
}

.section-sub {
  margin: 14px auto 0;
  max-width: 60ch;
  text-align: center;
  color: var(--slate-600);
  font-size: 16px;
  line-height: 1.55;
}

.center-block {
  text-align: center;
}

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.muted {
  color: var(--slate-500);
  font-size: 15px;
  line-height: 1.55;
}

.small {
  font-size: 13px;
}

.hint {
  margin-top: 12px;
  color: var(--slate-500);
  font-size: 13px;
  line-height: 1.5;
}

.hint.center {
  text-align: center;
  margin-top: 20px;
}

/* Link de agendamento */

.link-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  padding: 32px;
}

.link-card h2 {
  margin: 12px 0 14px;
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 800;
  word-break: break-word;
}

.slug-preview {
  color: var(--indigo-600);
}

.field {
  display: block;
  margin-top: 20px;
}

.field span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px;
  color: var(--slate-800);
  background: var(--white);
  border: 1px solid var(--slate-300);
  border-radius: 12px;
}

.field input:focus {
  outline: none;
  border-color: var(--indigo-500);
  box-shadow: 0 0 0 3px var(--indigo-100);
}

.link-benefits {
  list-style: none;
  margin: 0;
  padding: 24px;
  background: var(--indigo-50);
  border-radius: 14px;
  display: grid;
  gap: 14px;
  align-content: start;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.5;
}

.link-benefits strong {
  color: var(--slate-800);
}

/* Recursos */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.feature h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.feature p {
  color: var(--slate-500);
  font-size: 14px;
  line-height: 1.6;
}

/* Passos */

.steps {
  list-style: none;
  counter-reset: step;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.steps li {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 22px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--indigo-600);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.steps h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.steps p {
  color: var(--slate-500);
  font-size: 14px;
  line-height: 1.55;
}

/* Demonstração */

.demo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.demo-card {
  display: grid;
  gap: 10px;
  align-content: start;
}

.demo-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
}

.demo-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--indigo-600);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.demo-head strong {
  display: block;
  font-size: 15px;
}

.demo-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-400);
}

.demo-option {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  font-size: 14px;
  color: var(--slate-600);
}

.demo-option-on {
  border-color: var(--indigo-500);
  background: var(--indigo-50);
  color: var(--indigo-700);
  font-weight: 600;
}

.demo-week,
.demo-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}

.demo-week span {
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-400);
}

.demo-days span {
  padding: 8px 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  background: var(--slate-100);
  color: var(--slate-600);
}

.demo-days .demo-day-on {
  background: var(--indigo-600);
  color: var(--white);
}

.demo-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.demo-slots span {
  padding: 10px 0;
  text-align: center;
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-600);
}

.demo-slots .demo-slot-on {
  border-color: var(--indigo-500);
  background: var(--indigo-600);
  color: var(--white);
}

.off {
  opacity: 0.4;
  text-decoration: line-through;
}

.demo-review {
  display: grid;
  gap: 10px;
}

.demo-review div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
}

.demo-review span {
  color: var(--slate-500);
}

.demo-confirm {
  margin-top: 6px;
  padding: 12px;
  border-radius: 12px;
  background: #ecfdf5;
  color: var(--success);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

/* FAQ */

.faq {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 12px;
}

.faq:first-of-type {
  margin-top: 32px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  color: var(--indigo-600);
  font-size: 20px;
  line-height: 1;
}

.faq[open] summary::after {
  content: '–';
}

.faq p {
  margin-top: 12px;
  color: var(--slate-500);
  font-size: 14px;
  line-height: 1.6;
}

/* Download */

.download {
  padding: 80px 0;
}

/* Footer */

.site-footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 44px 0 28px;
}

.site-footer .muted {
  color: var(--slate-400);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.brand-footer {
  color: var(--white);
  margin-bottom: 10px;
}

.footer-links {
  display: grid;
  gap: 10px;
  font-size: 14px;
}

.footer-links a {
  color: var(--slate-300);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: var(--slate-400);
}

@media (max-width: 900px) {
  .hero-inner,
  .link-card {
    grid-template-columns: 1fr;
  }

  .grid,
  .steps,
  .demo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    display: none;
  }

  .header-inner .btn {
    margin-left: auto;
  }

  .hero {
    padding: 48px 0 40px;
  }
}

@media (max-width: 560px) {
  .grid,
  .steps,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .link-card {
    padding: 22px;
  }

  .lead {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}
