/* ================================================================
   Ajudite — CSS
   ================================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:     #3B82F6;
  --primary-dark:#1D4ED8;
  --primary-light:#EFF6FF;
  --accent:      #E0932E;
  --accent-dark: #C97A1A;
  --success:     #1E8E5A;
  --danger:      #D6483F;
  --warning:     #E0932E;
  --gray-50:     #F7F6F3;
  --gray-100:    #EFEDE7;
  --gray-200:    #E2DFD6;
  --gray-400:    #96938A;
  --gray-600:    #5B584F;
  --gray-800:    #2B2A25;
  --gray-900:    #17201D;
  --radius:      8px;
  --radius-lg:   14px;
  --shadow-sm:   0 1px 3px rgba(23,32,29,.08);
  --shadow-md:   0 6px 16px rgba(23,32,29,.10);
  --shadow-lg:   0 14px 40px rgba(23,32,29,.16);
  --font: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-800); background: #fff; line-height: 1.5; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--radius); font-size: 0.9rem;
  font-weight: 600; cursor: pointer; border: 2px solid transparent;
  transition: background .15s, transform .1s, box-shadow .15s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { cursor: not-allowed; opacity: 0.5; }
.btn:disabled:hover { background: inherit; transform: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary-light); }
.btn-ghost { color: var(--gray-600); background: transparent; }
.btn-ghost:hover { background: var(--gray-100); }
.btn-success { background: var(--success); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-warning { background: var(--warning); color: #fff; }
.btn-sm { padding: 5px 12px; font-size: 0.8rem; }
.btn-lg { padding: 12px 28px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1aab50; }

.phone-cell { display: inline-flex; align-items: center; gap: 6px; }
.wa-icon-link { display: inline-flex; align-items: center; line-height: 0; opacity: 0.85; }
.wa-icon-link:hover { opacity: 1; }

/* ---------- Forms ---------- */
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--gray-700, #374151); }
.form-group small { font-weight: 400; color: var(--gray-400); font-size: 0.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select, textarea {
  padding: 10px 12px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-size: 0.9rem; font-family: inherit;
  color: var(--gray-800); background: #fff; transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
textarea { resize: none; overflow-y: hidden; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91,91,214,.15);
}
input::placeholder, textarea::placeholder { color: var(--gray-400); }
.input-hint { font-size: 0.78rem; color: var(--gray-400); }
.input-date, .input-select, .input-link { padding: 8px 12px; font-size: 0.85rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius); background: #fff; }
.input-link { flex: 1; background: var(--gray-50); cursor: default; }
.form-section { margin-bottom: 24px; }
.form-section-title { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-400); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--gray-100); }

/* Registration form — breathing room between fields, and between each label and its input */
#register-form .form-section { display: flex; flex-direction: column; gap: 22px; margin-bottom: 24px; }
#register-form .form-group { gap: 8px; }
#register-form .form-row { gap: 18px; }

/* ---------- Alerts ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 0.875rem; margin-bottom: 16px; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.hidden { display: none !important; }
.company-hours-restricted .owner-hours-only { display: none !important; }

/* ---------- Logo ---------- */
.logo { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--gray-900); text-decoration: none; }

/* ---------- Badge ---------- */
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--primary-light); color: var(--primary); font-size: 0.8rem; font-weight: 700; letter-spacing: .03em; margin-bottom: 16px; }

/* ================================================================
   LANDING PAGE
   ================================================================ */
.landing { background: #fff; }

/* NAVBAR */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--gray-100); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a:not(.btn) { font-size: 0.9rem; color: var(--gray-600); text-decoration: none; }
.nav-links a:not(.btn):hover { color: var(--gray-900); }

/* HERO */
.hero { padding: 80px 0 100px; background: linear-gradient(160deg, var(--primary-light) 0%, #fff 60%); }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text h1 { font-family: var(--font-display); font-size: 2.9rem; font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--gray-900); margin-bottom: 18px; }
.hero-text p { font-size: 1.1rem; color: var(--gray-600); margin-bottom: 32px; max-width: 460px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.hero-note { font-size: 0.8rem; color: var(--gray-400); }

/* HERO DEMO VIDEO — real screen capture of the panel + a live booking */
.hero-demo-video {
  display: block; width: 100%; max-width: 640px; margin: 0 auto;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200); background: var(--gray-50);
}

/* SOCIAL PROOF */
.social-proof { padding: 40px 0; border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); background: var(--gray-50); }
.proof-label { text-align: center; color: var(--gray-400); font-size: 0.85rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.proof-logos { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.proof-logos span { font-size: 0.9rem; color: var(--gray-600); font-weight: 600; padding: 6px 16px; border: 1.5px solid var(--gray-200); border-radius: 999px; }

/* FEATURES */
.features { padding: 100px 0; }
.features h2, .how-it-works h2 { font-family: var(--font-display); text-align: center; font-size: 2.1rem; font-weight: 600; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--gray-400); font-size: 1.05rem; margin-bottom: 56px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { padding: 28px; border: 1.5px solid var(--gray-100); border-radius: var(--radius-lg); transition: box-shadow .2s, border-color .2s; }
.feature-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.feature-icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.6; }

/* PRICING */
.pricing { padding: 100px 0; background: var(--gray-50); }
.pricing h2 { font-family: var(--font-display); text-align: center; font-size: 2.1rem; font-weight: 600; margin-bottom: 10px; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 760px; margin: 0 auto; }
.pricing-card { background: #fff; padding: 32px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card--featured { border-color: var(--primary); box-shadow: var(--shadow-md); position: relative; }
.pricing-badge { display: inline-block; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--gray-100); color: var(--gray-600); font-size: 0.78rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 16px; }
.pricing-badge--accent { background: var(--primary-light); color: var(--primary); }
.pricing-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 12px; }
.pricing-amount { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--gray-900); }
.pricing-period { color: var(--gray-400); font-size: 0.95rem; }
.pricing-desc { color: var(--gray-600); font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; min-height: 66px; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; flex: 1; }
.pricing-features li { font-size: 0.875rem; color: var(--gray-800); padding-left: 26px; position: relative; }
.pricing-features li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary-light); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%233B82F6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.pricing-note { text-align: center; color: var(--gray-400); font-size: 0.85rem; margin-top: 32px; }

@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* HOW IT WORKS */
.how-it-works { padding: 100px 0; background: var(--gray-50); }
.steps { display: flex; align-items: flex-start; gap: 16px; margin-top: 24px; }
.step { flex: 1; text-align: center; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 1.3rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.875rem; color: var(--gray-600); }
.step code { font-size: 0.8rem; background: var(--gray-100); padding: 2px 6px; border-radius: 4px; color: var(--primary); }
.step-arrow { font-size: 1.8rem; color: var(--gray-200); padding-top: 20px; flex-shrink: 0; }

/* CTA SECTION */
.cta-section { padding: 100px 0; background: var(--primary); }
.cta-inner { text-align: center; }
.cta-inner h2 { font-family: var(--font-display); font-size: 2.1rem; font-weight: 600; color: #fff; margin-bottom: 12px; }
.cta-inner p { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-bottom: 32px; }
.cta-section .btn-primary { background: #fff; color: var(--primary); }
.cta-section .btn-primary:hover { background: var(--primary-light); }

/* FOOTER */
.footer { padding: 32px 0; border-top: 1px solid var(--gray-100); background: var(--gray-50); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.875rem; color: var(--gray-400); }
.footer-copy { font-size: 0.8rem; color: var(--gray-400); }

/* ================================================================
   AUTH PAGES (register, login)
   ================================================================ */
.auth-page { background: var(--gray-50); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.auth-container { width: 100%; max-width: 560px; }
.auth-container--narrow { max-width: 420px; }
.auth-brand { text-align: center; margin-bottom: 28px; }
.auth-brand h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; margin-top: 12px; }
.auth-brand p { color: var(--gray-400); margin-top: 4px; }
.auth-card { background: #fff; border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.auth-footer { text-align: center; margin-top: 20px; font-size: 0.875rem; color: var(--gray-400); }
.auth-support { text-align: center; margin-top: 20px; font-size: 0.8rem; color: var(--gray-400); }

/* Spinner */
.btn-spinner::after { content: ''; display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ================================================================
   ADMIN PAGE
   ================================================================ */
.admin-page { display: flex; min-height: 100vh; background: var(--gray-50); }
.sidebar { width: 240px; flex-shrink: 0; background: #fff; border-right: 1px solid var(--gray-200); display: flex; flex-direction: column; height: 100vh; position: sticky; top: 0; }
.sidebar-brand { padding: 20px; border-bottom: 1px solid var(--gray-100); }
.sidebar-nav { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.sidebar-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius); color: var(--gray-600); font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: background .1s, color .1s; }
.sidebar-link:hover { background: var(--gray-50); color: var(--gray-900); text-decoration: none; }
.sidebar-link.active { background: var(--primary-light); color: var(--primary); font-weight: 700; }
.nav-icon { font-size: 1.1rem; }
.sidebar-footer { padding: 16px; border-top: 1px solid var(--gray-100); display: flex; flex-direction: column; gap: 10px; }
.company-info { display: flex; align-items: center; gap: 10px; }
.company-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; flex-shrink: 0; }
.company-info strong { display: block; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.company-info small { color: var(--gray-400); font-size: 0.75rem; display: block; }

.admin-main { flex: 1; overflow-y: auto; padding: 32px; }
.tab-content { display: block; }
.tab-content.hidden { display: none !important; }
.tab-content.active { display: block; }

.admin-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; flex-wrap: wrap; gap: 16px; }
.admin-header h1 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.admin-subtitle { color: var(--gray-400); font-size: 0.875rem; margin-top: 2px; }
.admin-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.refresh-interval-label { display: flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--gray-500); white-space: nowrap; }
.refresh-interval-label .input-select { padding: 6px 8px; font-size: 0.82rem; }

/* Table */
.table-wrapper { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); overflow: hidden; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.table th { padding: 12px 16px; text-align: left; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-400); background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--gray-50); }

/* Status badges */
.status-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.status-badge.confirmed { background: #dcfce7; color: #166534; }
.status-badge.cancelled { background: #fef2f2; color: #991b1b; }
.status-badge.completed { background: #dbeafe; color: #1e40af; }
.status-badge.no_show { background: #fef9c3; color: #854d0e; }

/* Observation flag */
.obs-flag { display: inline-block; padding: 1px 6px; border-radius: 999px; background: #fef3c7; color: #92400e; font-size: 0.65rem; font-weight: 700; margin-left: 6px; vertical-align: middle; text-transform: uppercase; letter-spacing: .03em; }

/* Group header row (groupBy feature) */
.group-header-row td { padding: 8px 16px; background: var(--primary-light); color: var(--primary-dark); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--gray-200); }
.group-count { display: inline-flex; align-items: center; justify-content: center; margin-left: 8px; padding: 1px 7px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 700; }

/* When grouped by status, each group header takes on that status's own color */
.group-header-row--confirmed td { background: #dcfce7; color: #166534; }
.group-header-row--confirmed .group-count { background: #166534; }
.group-header-row--cancelled td { background: #fef2f2; color: #991b1b; }
.group-header-row--cancelled .group-count { background: #991b1b; }
.group-header-row--completed td { background: #dbeafe; color: #1e40af; }
.group-header-row--completed .group-count { background: #1e40af; }
.group-header-row--no_show td { background: #fef9c3; color: #854d0e; }
.group-header-row--no_show .group-count { background: #854d0e; }

/* Empty / loading */
.loading-state { padding: 40px; text-align: center; color: var(--gray-400); font-size: 0.9rem; }
.empty-state { padding: 60px 24px; text-align: center; color: var(--gray-400); }
.empty-icon { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.empty-state p { font-size: 1rem; font-weight: 600; color: var(--gray-600); }
.empty-state small { font-size: 0.85rem; }

/* Link tab */
.link-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; max-width: 560px; }
.link-display { margin-bottom: 24px; }
.link-display label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 10px; }
.link-row { display: flex; gap: 10px; }
.link-row input { min-width: 0; }
.copy-feedback { color: var(--success); font-size: 0.85rem; margin-top: 8px; font-weight: 600; }
.share-buttons { display: flex; gap: 10px; margin-top: 10px; }

/* Company info tab */
.company-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; max-width: 100%; }
.info-row { display: flex; padding: 14px 20px; border-bottom: 1px solid var(--gray-100); gap: 16px; }
.info-row:last-child { border-bottom: none; }
.info-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-400); min-width: 140px; flex-shrink: 0; }
.info-value { font-size: 0.9rem; color: var(--gray-800); word-break: break-word; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 24px; overflow-y: auto; }
.modal { background: #fff; border-radius: var(--radius-lg); padding: 28px; max-width: 360px; width: 100%; box-shadow: var(--shadow-lg); max-height: calc(100vh - 48px); overflow-y: auto; }
.modal h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.modal p { color: var(--gray-600); font-size: 0.875rem; margin-bottom: 20px; }
.modal-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.modal-close { width: 100%; justify-content: center; }

/* ================================================================
   BOOKING PAGE
   ================================================================ */
.book-page { background: var(--gray-50); min-height: 100vh; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; }
.book-container { width: 100%; max-width: 520px; }
.book-container.book-container--wide { max-width: 900px; }
.book-header { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 22px 24px; margin-bottom: 20px; text-align: center; }
.book-company-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: 0.01em; color: var(--gray-900); }
.book-company-desc { margin-top: 6px; font-size: 0.875rem; color: var(--gray-600); line-height: 1.5; }
.book-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; }
.book-card h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 4px; }
.book-subtitle { color: var(--gray-400); font-size: 0.875rem; margin-bottom: 20px; }
.book-footer { text-align: center; margin-top: 20px; }
.book-footer small { color: var(--gray-400); font-size: 0.8rem; }

/* Booking form — breathing room between fields, and between each label and its input */
#book-form { display: flex; flex-direction: column; gap: 22px; }
#book-form .form-group { gap: 8px; }
#book-form .form-row { gap: 18px; }

/* Service picker — clickable cards instead of a plain <select> */
.service-list { display: flex; flex-direction: column; gap: 12px; }
.service-option { border: 1.5px solid var(--gray-200); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.service-option:hover { border-color: var(--primary); }
.service-option.selected { border-color: var(--primary); background: var(--primary-light); }
.service-option-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.service-option-name { font-weight: 600; font-size: 0.92rem; color: var(--gray-900); }
.service-option-tags { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.service-option-duration { font-size: 0.75rem; font-weight: 600; color: var(--primary-dark); background: var(--primary-light); padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.service-option.selected .service-option-duration { background: #fff; }
.service-option-price { font-size: 0.8rem; color: var(--gray-600); font-weight: 600; white-space: nowrap; }
.service-option-desc { margin-top: 8px; font-size: 0.82rem; color: var(--gray-400); line-height: 1.5; }

/* Image gallery — up to 3 branding/service photos at the top of the link */
.book-gallery { display: flex; gap: 10px; margin-bottom: 20px; }
.book-gallery img { flex: 1; min-width: 0; width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); background: var(--gray-100); }
.book-gallery.book-gallery--single img { height: 220px; }

/* Two-column layout: booking form + side info panel (map / hours / contact) */
.book-layout { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.book-layout.book-layout--with-side { grid-template-columns: minmax(0, 1fr) 300px; }
.book-side { display: flex; flex-direction: column; gap: 16px; }
.book-side-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 18px 20px; }
.book-side-card h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 600; margin: 0 0 10px; display: flex; align-items: center; gap: 6px; }
.book-map-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--primary); font-weight: 600; text-decoration: none; }
.book-map-link:hover { text-decoration: underline; }
.book-side-address { font-size: 0.85rem; color: var(--gray-600); margin: 0 0 10px; line-height: 1.5; }

.book-hours-grid { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 0.85rem; }
.book-hours-grid .hd-day { color: var(--gray-600); font-weight: 500; }
.book-hours-grid .hd-time { color: var(--gray-900); text-align: right; }
.book-hours-grid .hd-closed { color: var(--gray-400); text-align: right; }
.book-hours-grid .hd-today .hd-day, .book-hours-grid .hd-today .hd-time { color: var(--primary-dark); font-weight: 700; }

.book-contact-icons { display: flex; align-items: center; gap: 12px; }
.contact-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; flex-shrink: 0; transition: transform 0.15s ease, opacity 0.15s ease; }
.contact-icon:hover { transform: translateY(-2px); opacity: 0.92; }
.contact-icon--wa { background: #25d366; }
.contact-icon--ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.contact-icon svg { width: 18px; height: 18px; }

@media (max-width: 767px) {
  .book-container.book-container--wide { max-width: 520px; }
  .book-layout.book-layout--with-side { grid-template-columns: 1fr; }
  .book-gallery img { height: 130px; }
}

.success-screen { text-align: center; padding: 20px 0; }
.success-icon { font-size: 3rem; display: block; margin-bottom: 12px; }
.success-screen h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 16px; }
.success-details { background: var(--gray-50); border-radius: var(--radius); padding: 16px; text-align: left; margin-bottom: 20px; font-size: 0.875rem; }
.success-details p { padding: 4px 0; }
.success-details strong { min-width: 90px; display: inline-block; }

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .form-row { grid-template-columns: 1fr; }
  .admin-page { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: relative; flex-direction: row; flex-wrap: wrap; }
  .sidebar-nav { flex-direction: row; flex-wrap: wrap; gap: 4px 6px; padding: 8px 12px; }
  .sidebar-link { padding: 8px 10px; font-size: 0.82rem; }
  .sidebar-footer { flex-direction: row; padding: 12px; }
  .admin-main { padding: 20px 16px; }
  .admin-header { flex-direction: column; }
  .nav-links { display: none; }

  /* Cards/panels that assume desktop width — let them fill the viewport instead */
  .link-card, .company-card, .working-hours-card { max-width: 100%; }

  /* Company info rows: label+value side-by-side gets cramped under ~400px of
     content width once the sidebar stacks on top — stack them instead. */
  .info-row { flex-direction: column; gap: 4px; }
  .info-label { min-width: 0; }

  /* Employee/service create-edit modals sit on desktop-sized inputs otherwise */
  .modal { padding: 22px; }
}

@media (max-width: 480px) {
  .sidebar-link span.nav-icon { display: none; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 14px; }
  .stat-value { font-size: 1.5rem; }
  .table { font-size: 0.8rem; }
  .table th, .table td { padding: 9px 10px; }
}

/* ================================================================
   DASHBOARD — Stats, Sessions, Handoffs, Logs
   ================================================================ */

/* Stats row */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; text-align: center; }
.stat-card--warning { border-color: #fde68a; background: #fffbeb; }
.stat-card--success { border-color: #bbf7d0; background: #f0fdf4; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--gray-900); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--gray-400); margin-top: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* Dashboards tab — booking-demand heatmap (day of week × hour) */
.heatmap { display: grid; gap: 3px; overflow-x: auto; padding-bottom: 4px; }
.heatmap-corner { min-width: 40px; }
.heatmap-hour { font-size: 0.7rem; color: var(--gray-400); text-align: center; align-self: end; padding-bottom: 4px; }
.heatmap-day { font-size: 0.75rem; color: var(--gray-400); display: flex; align-items: center; padding-right: 8px; white-space: nowrap; }
.heatmap-cell { border-radius: 4px; min-width: 30px; height: 26px; }

/* Live indicator */
.live-indicator { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--success); font-weight: 600; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: pulse 1.5s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.3)} }

/* Badge count in sidebar */
.badge-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; border-radius: 999px; background: var(--gray-200); color: var(--gray-600); font-size: 0.7rem; font-weight: 700; margin-left: auto; padding: 0 4px; }
.badge-count.urgent { background: #fef2f2; color: var(--danger); }
.badge-count.hidden { display: none; }

/* Session cards grid */
.sessions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.session-card { background: #fff; border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 16px; }
.session-card--handoff { border-color: #fde68a; background: #fffbeb; }
.session-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; gap: 8px; }
.session-name { font-weight: 700; font-size: 0.95rem; }
.session-card-meta { font-size: 0.78rem; color: var(--gray-400); margin-bottom: 6px; }
.session-last-intent { font-size: 0.78rem; color: var(--gray-600); margin-top: 4px; }
.session-last-intent code { font-size: 0.75rem; background: var(--gray-100); padding: 1px 5px; border-radius: 4px; color: var(--primary); }
.session-handoff-alert { display: inline-block; margin-top: 8px; font-size: 0.75rem; font-weight: 700; background: #fef2f2; color: var(--danger); padding: 2px 10px; border-radius: 999px; }

/* Conversation state badge */
.conversation-state-badge { font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--gray-100); color: var(--gray-600); }
.conversation-state-badge.in_handoff { background: #fef2f2; color: var(--danger); }
.conversation-state-badge.active { background: #dcfce7; color: #166534; }
.conversation-state-badge.idle { background: var(--gray-100); color: var(--gray-400); }

/* Urgency badges */
.urgency-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.urgency-badge--critica { background: #fef2f2; color: #991b1b; animation: critica-pulse 1s infinite; }
.urgency-badge--alta { background: #fff7ed; color: #9a3412; }
.urgency-badge--normal { background: #fefce8; color: #854d0e; }
@keyframes critica-pulse { 0%,100%{opacity:1} 50%{opacity:.7} }

/* Handoff cards */
.handoff-list { display: flex; flex-direction: column; gap: 12px; }
.handoff-card { background: #fff; border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 18px; }
.handoff-card--critica { border-color: #fca5a5; background: #fff5f5; }
.handoff-card--alta { border-color: #fdba74; background: #fff8f0; }
.handoff-card--normal { border-color: var(--gray-200); }
.handoff-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; gap: 12px; flex-wrap: wrap; }
.handoff-card-left { display: flex; align-items: center; gap: 8px; }
.handoff-card-right { display: flex; align-items: center; gap: 8px; }
.handoff-client { font-size: 1rem; }
.handoff-phone { font-size: 0.8rem; color: var(--gray-400); }
.handoff-reason { font-size: 0.8rem; color: var(--gray-600); margin-bottom: 6px; }
.handoff-summary { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 8px; font-style: italic; }
.handoff-claimed-by { font-size: 0.78rem; color: var(--primary); margin-bottom: 8px; font-weight: 600; }
.handoff-wait { font-size: 0.75rem; color: var(--gray-400); }
.handoff-status-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.handoff-status-badge--pending { background: #fef9c3; color: #854d0e; }
.handoff-status-badge--claimed { background: #dbeafe; color: #1e40af; }
.handoff-status-badge--resolved { background: #dcfce7; color: #166534; }

/* Handoff modal */
.modal--wide { max-width: 560px; }
.modal-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.modal-header h3 { margin: 0; }
.modal-meta { font-size: 0.82rem; color: var(--gray-600); margin-bottom: 10px; }
.modal-summary { font-size: 0.875rem; color: var(--gray-800); margin-bottom: 10px; font-style: italic; }
.modal-last-msgs { font-size: 0.82rem; margin-bottom: 14px; }
.msgs-title { font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-400); margin-bottom: 6px; }
.msg-item { padding: 6px 10px; border-radius: var(--radius); margin-bottom: 4px; font-size: 0.82rem; }
.msg-item--user { background: var(--gray-50); }
.msg-item--bot { background: var(--primary-light); }
.modal-resolve-form { margin-bottom: 14px; }
.modal-resolve-form .form-group { margin-bottom: 8px; }
.modal-resolve-form .form-group span { font-size: 0.82rem; font-weight: 600; display: block; margin-bottom: 4px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; cursor: pointer; }
.checkbox-label input { width: auto; cursor: pointer; }

/* Outcome badges */
.outcome-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.outcome-badge--appointment_scheduled { background: #dcfce7; color: #166534; }
.outcome-badge--appointment_cancelled { background: #fef2f2; color: #991b1b; }
.outcome-badge--faq_resolved { background: #dbeafe; color: #1e40af; }
.outcome-badge--handoff { background: #fff7ed; color: #9a3412; }
.outcome-badge--abandoned { background: #fef9c3; color: #854d0e; }
.outcome-badge--unknown { background: var(--gray-100); color: var(--gray-600); }

/* Pagination */
.table-pagination { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--gray-100); background: var(--gray-50); font-size: 0.82rem; }
.pagination-info { flex: 1; color: var(--gray-400); }

/* Responsive */
@media (max-width: 768px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .sessions-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   WORKING HOURS — Admin form
   ================================================================ */
.working-hours-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; max-width: 580px; }
/* Horários tab specifically: the fixed 580px cap above left a large empty gap
   next to a cramped-looking block on wider screens — let these cards grow with
   the viewport instead, up to a sane reading width. .wh-row's existing
   space-between + wrap already spaces the day label and time inputs out
   further as the row gets wider, and the 480px stacking rule below still
   applies unchanged for narrow screens. */
#tab-schedule .working-hours-card { max-width: 100%; width: 100%; }
.wh-table { display: flex; flex-direction: column; }
.wh-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--gray-100); gap: 16px; flex-wrap: wrap; }
.wh-row:last-child { border-bottom: none; }
.wh-day-label { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: var(--gray-800); cursor: pointer; min-width: 170px; }
.wh-day-label input[type="checkbox"] { width: auto; cursor: pointer; accent-color: var(--primary); }
.wh-times { display: flex; align-items: center; gap: 8px; }
.wh-times input[type="time"] { width: 116px; padding: 7px 10px; font-size: 0.875rem; }
.wh-sep { font-size: 0.82rem; color: var(--gray-400); }
.wh-times.wh-disabled { opacity: .38; pointer-events: none; }

@media (max-width: 480px) {
  .wh-row { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   WORKING HOURS — Booking page info banner
   ================================================================ */
.book-hours-info { background: var(--primary-light); border: 1px solid #c3ddd7; border-radius: var(--radius-lg); padding: 12px 18px; margin-bottom: 16px; font-size: 0.85rem; color: var(--primary-dark); display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; line-height: 1.6; }
.wh-icon { font-size: 1rem; flex-shrink: 0; }
.wh-label { font-weight: 700; margin-right: 2px; }
.book-current-time { background: #f0fdf4; border-color: #86efac; color: #166534; }
.wh-tz { font-size: 0.82em; opacity: 0.75; }

/* ================================================================
   COLUMN HEADER FILTERS
   ================================================================ */

.th-filterable { white-space: nowrap; }
.th-inner { display: inline-flex; align-items: center; gap: 5px; }

.col-filter-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; padding: 0;
  border: 1px solid transparent; border-radius: 4px;
  background: transparent; cursor: pointer;
  color: var(--gray-400);
  transition: color .12s, background .12s, border-color .12s;
  vertical-align: middle; flex-shrink: 0; line-height: 1;
}
.col-filter-btn:hover { background: var(--gray-200); color: var(--gray-600); }
.col-filter-btn.active,
.col-filter-btn.open { color: var(--primary); border-color: var(--primary-light); background: var(--primary-light); }

.col-filter-panel {
  position: fixed; z-index: 400;
  min-width: 220px;
  background: #fff;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; gap: 8px;
}
.col-filter-panel-title {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--gray-400);
}
.col-filter-input {
  width: 100%; padding: 7px 10px; font-size: 0.875rem;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  background: #fff; color: var(--gray-800);
  transition: border-color .15s, box-shadow .15s;
}
.col-filter-input:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91,91,214,.15);
}
.col-filter-group-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; color: var(--gray-600); cursor: pointer; padding: 2px 0;
}
.col-filter-group-label input[type="checkbox"] {
  width: auto; margin: 0; cursor: pointer; accent-color: var(--primary);
}
.col-filter-footer { display: flex; justify-content: flex-end; }

.filter-value-list {
  display: flex; flex-direction: column; gap: 2px;
  max-height: 160px; overflow-y: auto;
}
.filter-value-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; color: var(--gray-700);
  cursor: pointer; padding: 3px 2px; border-radius: 4px;
  user-select: none;
}
.filter-value-item:hover { background: var(--gray-100); }
.filter-value-item input[type="checkbox"] {
  width: auto; margin: 0; cursor: pointer; accent-color: var(--primary); flex-shrink: 0;
}
.filter-value-empty {
  font-size: 0.82rem; color: var(--gray-400); padding: 2px 0;
}

.month-preset-row { display: flex; gap: 4px; flex-wrap: wrap; }
.month-preset-btn { flex: 1; white-space: nowrap; padding: 5px 8px; font-size: 0.78rem; }
.month-preset-btn.active {
  color: var(--primary); border-color: var(--primary); background: var(--primary-light);
}

/* ── Appointment time-based alerts (Agendamentos tab) ────────────────────── */
.appt-row--in-progress td { background: #dcfce7 !important; }
.appt-row--in-progress:hover td { background: #bbf7d0 !important; }

.appt-id-cell--blink {
  display: inline-block; padding: 2px 7px; border-radius: 6px;
  animation: appt-blink-yellow 1.4s ease-in-out infinite;
}
@keyframes appt-blink-yellow {
  0%, 100% { background: transparent; color: var(--gray-400); }
  50%      { background: #facc15; color: #78350f; }
}
@media (prefers-reduced-motion: reduce) {
  .appt-id-cell--blink { animation: none; background: #fef3c7; color: #92400e; }
}


/* ── Toggle switch (e.g. chat automático on/off) ─────────────────────────── */
.toggle-switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-switch .toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--gray-200); border-radius: 999px; transition: background .15s ease;
}
.toggle-switch .toggle-slider::before {
  content: ""; position: absolute; height: 18px; width: 18px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: transform .15s ease;
  box-shadow: var(--shadow-sm);
}
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(18px); }
.toggle-switch input:disabled + .toggle-slider { opacity: .5; cursor: default; }

/* ── Help tab ─────────────────────────────────────────────────────────────── */
.help-items { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.help-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.help-item-icon { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.help-item-body { flex: 1; }
.help-item-body h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.help-item-body p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.5; margin: 0; }
.help-item .btn { flex-shrink: 0; align-self: center; }
@media (max-width: 480px) {
  .help-item { flex-direction: column; }
  .help-item .btn { align-self: stretch; }
}

/* ── Onboarding tour (first-login walkthrough) ───────────────────────────── */
.tour-backdrop {
  position: fixed; inset: 0; z-index: 500;
  background: transparent; /* the dimming comes from the spotlight's own box-shadow */
}
.tour-spotlight {
  position: fixed; z-index: 501; border-radius: 10px; pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(15, 23, 20, .55);
  transition: top .2s ease, left .2s ease, width .2s ease, height .2s ease;
  outline: 2px solid var(--primary); outline-offset: 3px;
}
.tour-tooltip {
  position: fixed; z-index: 502; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 18px 20px; max-width: 340px; width: calc(100vw - 24px);
  box-sizing: border-box; overflow: hidden;
  transition: top .2s ease, left .2s ease;
}
.tour-tooltip-step { font-size: 0.75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.tour-tooltip h3 { font-size: 1rem; font-weight: 700; margin: 0 0 6px; }
.tour-tooltip p { font-size: 0.85rem; color: var(--gray-600); line-height: 1.5; margin: 0 0 14px; }
.tour-tooltip-dots { display: flex; gap: 5px; justify-content: center; margin-bottom: 14px; }
.tour-tooltip-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--gray-200); flex-shrink: 0; }
.tour-tooltip-dots span.active { background: var(--primary); }
.tour-tooltip-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tour-tooltip-actions .btn { white-space: nowrap; padding-left: 12px; padding-right: 12px; }

/* ================================================================
   BANNER DE CONSENTIMENTO (Microsoft Clarity — ver public/js/consent.js)
   Barra inferior não-bloqueante: a pessoa pode ler a página e navegar
   normalmente sem responder. Só aparece em /, /cadastro e /pagar.
   ================================================================ */
/* z-index 150: acima da navbar (100), mas ABAIXO do modal-overlay (200). Em
   /cadastro existe o modal "Confirme o pagamento" (#payment-overlay) — a barra
   não pode flutuar por cima justamente na hora do pagamento. */
.consent-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: #fff; border-top: 1px solid var(--gray-200);
  box-shadow: 0 -6px 28px rgba(23,32,29,.13);
  padding: 15px 20px;
  display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap;
  animation: consent-bar-in .25s ease-out;
}
@keyframes consent-bar-in { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .consent-bar { animation: none; } }

.consent-bar-text { flex: 1 1 380px; min-width: 240px; max-width: 720px; }
.consent-bar-text strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--gray-900); margin-bottom: 3px; }
.consent-bar-text span { display: block; font-size: 0.8rem; color: var(--gray-600); line-height: 1.5; }
.consent-bar-text a { color: var(--primary); text-decoration: underline; }

/* Os dois botões têm o mesmo peso visual de propósito — uma recusa escondida
   ou apagada é dark pattern e invalida o consentimento. */
.consent-bar-actions { display: flex; gap: 10px; flex: none; }
.consent-bar-actions .btn { padding: 9px 22px; font-size: 0.85rem; }

@media (max-width: 640px) {
  .consent-bar { flex-direction: column; align-items: stretch; gap: 13px; padding: 14px 16px; }
  .consent-bar-actions { flex-direction: column; }
  .consent-bar-actions .btn { width: 100%; justify-content: center; text-align: center; }
}

/* Enquanto a barra está na tela, o conteúdo do fim da página ganha respiro para
   não ficar coberto (o rodapé da landing e o botão de copiar o código PIX em
   /pagar ficavam parcialmente escondidos atrás dela). Removido junto com a barra. */
body.has-consent-bar { padding-bottom: 132px; }
@media (max-width: 640px) { body.has-consent-bar { padding-bottom: 216px; } }
