/* ==========================================================================
   Link de clientes da cerimonialista — /fornecedores/<slug>/criar-evento
   Celular primeiro. Um caminho só: "Criar meu evento grátis".
   ========================================================================== */

.cl { background: var(--off-white); }

/* ── Convite (hero) ───────────────────────────────────────────────────────── */
.cl-hero {
  position: relative;
  padding: 104px 20px 48px;
  color: white;
  background:
    radial-gradient(circle at 85% 10%, rgba(200,149,107,0.28) 0%, transparent 45%),
    linear-gradient(160deg, var(--green-dark) 0%, var(--green-mid) 65%, var(--green-light) 100%);
  overflow-x: clip;
}
.cl-hero__inner { max-width: 720px; margin: 0 auto; }

.cl-host { display: flex; align-items: center; gap: 16px; }
.cl-host__avatar {
  flex: 0 0 auto;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: white;
  border: 3px solid rgba(255,255,255,0.9);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  overflow: hidden;
  display: grid; place-items: center;
}
/* `contain`: o logo costuma ter texto, e `cover` cortava as letras. */
.cl-host__avatar img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cl-host__avatar span {
  font-family: 'Playfair Display', serif;
  font-size: 32px; font-weight: 700; color: var(--green-dark);
}
.cl-host__id { min-width: 0; }
.cl-host__badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.16); color: white;
}
.cl-host__badge i { color: #f3d3b5; }
.cl-host__name {
  margin-top: 6px;
  font-size: 18px; font-weight: 600; line-height: 1.25;
  overflow-wrap: anywhere;
}
.cl-host__meta {
  margin-top: 4px;
  display: flex; flex-wrap: wrap; gap: 4px 14px;
  font-size: 13px; color: rgba(255,255,255,0.82);
}
.cl-host__meta a { color: rgba(255,255,255,0.92); text-decoration: none; }
.cl-host__meta a:hover { text-decoration: underline; }
.cl-host__meta i { margin-right: 4px; }

.cl-hero__title {
  margin-top: 28px;
  font-family: 'Playfair Display', serif;
  font-size: 30px; line-height: 1.18; font-weight: 700;
  overflow-wrap: anywhere;
}

.cl-note {
  position: relative;
  margin-top: 22px;
  padding: 18px 20px 16px 22px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
}
.cl-note blockquote {
  font-size: 16px; line-height: 1.6;
  color: rgba(255,255,255,0.95);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.cl-note blockquote::before {
  content: '\201C';
  position: absolute; top: -18px; left: 14px;
  font-family: 'Playfair Display', serif;
  font-size: 56px; line-height: 1; color: #f3d3b5;
}
.cl-note figcaption {
  margin-top: 10px;
  font-size: 14px; font-style: italic; color: rgba(255,255,255,0.78);
}

.cl-hero__cta {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
}
.cl-hero__facts {
  list-style: none;
  margin-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 13px; color: rgba(255,255,255,0.85);
}
.cl-hero__facts i { color: #f3d3b5; margin-right: 6px; }

/* ── Botões ───────────────────────────────────────────────────────────────── */
.cl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px; font-weight: 600;
  text-decoration: none;
  transition: transform 0.16s ease-out, box-shadow 0.2s ease-out, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.cl-btn:active { transform: scale(0.98); }
.cl-btn:focus-visible { outline: 3px solid #f3d3b5; outline-offset: 3px; }
.cl-btn--primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 22px rgba(200,149,107,0.38);
}
.cl-btn--primary:hover { background: #b9845b; }
.cl-btn--light { background: white; color: var(--green-dark); }
.cl-btn--light:hover { background: var(--off-white); }
.cl-btn--block { width: 100%; }
.cl-link {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 4px;
  color: white; font-weight: 600; font-size: 15px;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ── Seções ───────────────────────────────────────────────────────────────── */
.cl-section { max-width: 960px; margin: 0 auto; padding: 48px 20px 8px; }
.cl-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px; line-height: 1.2; font-weight: 700;
  color: var(--green-dark);
  text-align: center;
}
.cl-h2--left { text-align: left; }
.cl-lead { margin-top: 8px; text-align: center; color: var(--text-mid); font-size: 15px; }

.cl-benefits {
  margin-top: 24px;
  display: grid; grid-template-columns: 1fr; gap: 12px;
}
.cl-benefit {
  display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px;
  align-items: start;
  padding: 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.cl-benefit__icon {
  grid-row: span 2;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(13,74,67,0.08);
  color: var(--green-mid);
  font-size: 18px;
}
.cl-benefit h3 { font-size: 16px; font-weight: 600; color: var(--text-dark); }
.cl-benefit p { font-size: 14px; line-height: 1.5; color: var(--text-mid); }

.cl-together__card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 20px;
  background: #fbefe4;
  border: 1px solid #f0dcc8;
  border-radius: var(--radius-lg);
}
.cl-together__icon {
  flex: 0 0 auto;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: white; font-size: 20px;
}
.cl-together p { margin-top: 8px; color: var(--text-mid); line-height: 1.6; font-size: 15px; }
.cl-together .cl-h2 { font-size: 22px; overflow-wrap: anywhere; }

.cl-steps { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.cl-step { display: flex; gap: 14px; align-items: flex-start; }
.cl-step__n {
  flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-dark); color: white;
  font-weight: 700;
}
.cl-step h3 { font-size: 16px; font-weight: 600; }
.cl-step p { font-size: 14px; color: var(--text-mid); line-height: 1.5; overflow-wrap: anywhere; }

.cl-peek__track {
  margin: 24px -20px 0;
  padding: 4px 20px 12px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 62%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cl-peek__track::-webkit-scrollbar { display: none; }
.cl-shot { scroll-snap-align: start; }
.cl-shot img {
  display: block; width: 100%; height: auto;
  border-radius: 22px;
  border: 6px solid #1d2b29;
  box-shadow: var(--shadow-md);
  background: white;
}
.cl-shot figcaption {
  margin-top: 10px; text-align: center;
  font-size: 14px; font-weight: 600; color: var(--text-mid);
}

.cl-faq details {
  margin-top: 10px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0 18px;
}
.cl-faq .cl-h2 { margin-bottom: 14px; }
.cl-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 28px 16px 0;
  position: relative;
  font-weight: 600; font-size: 15px;
}
.cl-faq summary::-webkit-details-marker { display: none; }
.cl-faq summary::after {
  content: '+';
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--green-mid);
  transition: transform 0.2s ease-out;
}
.cl-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.cl-faq details p { padding: 0 0 16px; color: var(--text-mid); line-height: 1.6; font-size: 14px; }
.cl-faq details a { color: var(--green-mid); font-weight: 600; }

.cl-final {
  margin: 48px 0 0;
  padding: 48px 20px;
  text-align: center;
  color: white;
  background: var(--green-dark);
}
.cl-final h2 { font-family: 'Playfair Display', serif; font-size: 28px; }
.cl-final p { margin: 10px auto 22px; max-width: 520px; color: rgba(255,255,255,0.85); overflow-wrap: anywhere; }

/* Barra fixa (celular). Some no desktop: lá o botão está no topo e no fim. */
.cl-sticky {
  position: fixed; left: 0; right: 0; bottom: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(249,247,244,0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cl-sticky.is-on { transform: translateY(0); }
/* O rodapé ganha o espaço da barra: no fim da página nada fica escondido. */
@media (max-width: 759px) {
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* ── Desktop ──────────────────────────────────────────────────────────────── */
@media (min-width: 760px) {
  .cl-sticky { display: none; }
  .cl-hero { padding: 128px 40px 64px; }
  .cl-host__avatar { width: 96px; height: 96px; }
  .cl-host__name { font-size: 20px; }
  .cl-hero__title { font-size: 42px; }
  .cl-note blockquote { font-size: 18px; }
  .cl-section { padding: 64px 40px 8px; }
  .cl-h2 { font-size: 32px; }
  .cl-benefits { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cl-benefit { grid-template-columns: 1fr; padding: 22px; }
  .cl-benefit__icon { grid-row: auto; margin-bottom: 10px; }
  .cl-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .cl-step { flex-direction: column; }
  .cl-peek__track {
    margin: 28px 0 0; padding: 4px 0 12px;
    grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto;
    overflow: visible;
  }
  .cl-faq { max-width: 720px; }
  .cl-final { margin-top: 64px; padding: 64px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .cl-btn, .cl-faq summary::after, .cl-sticky { transition: none; }
}
