/* ============================================================
   Em Breve — Confraria Centro Mineira
   Compilado de layout-referencia/.../styles.scss (fonte de design).
   CSS puro, sem passo de build. Valores fiéis ao design hi-fi.
   ============================================================ */

/* ---- Keyframes ---- */
@keyframes cs-fill { from { width: 0; } to { width: var(--pct, 68%); } }
@keyframes cs-rise {
  0%   { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes cs-marquee { to { transform: translateY(-50%); } }

/* ---- Reset local ---- */
html, body { margin: 0; background: #f2ece4; }

a {
  color: #8f1a22;
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: #5e1116; }

::selection { background: rgba(181, 32, 44, .25); }

/* ---- Página ---- */
.coming-soon {
  position: relative;
  overflow: hidden;
  min-height: 100dvh;
  width: 100%;
  box-sizing: border-box;
  background: linear-gradient(180deg, #f5efe7 0%, #ece3d8 100%);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  color: #1c1113;
}

/* ---- Marquee de fundo ---- */
.coming-soon__marquee {
  position: absolute;
  top: 0;
  right: clamp(14px, 3vw, 48px);
  height: 200%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  writing-mode: vertical-rl;
  font-family: 'Saira Condensed', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(56px, 11vw, 150px);
  line-height: .9;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(28, 17, 19, .1);
  animation: cs-marquee 18s linear infinite;
}

/* ---- Conteúdo (coluna única) ---- */
.coming-soon__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  box-sizing: border-box;
  padding: clamp(12px, 2vw, 20px) clamp(20px, 3vw, 44px);
}

.coming-soon__logo {
  width: clamp(180px, 22vw, 260px);
  height: auto;
  animation: cs-rise .6s ease both;
}

.coming-soon__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(6px, 1.2vw, 12px) 0;
}

/* ---- Badge ---- */
.coming-soon__badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid rgba(28, 17, 19, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  font-family: 'Saira Condensed', system-ui, sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #6b1319;
  animation: cs-rise .6s ease .05s both;
}

.coming-soon__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent, #b5202c);
}

/* ---- Título ---- */
.coming-soon__title {
  margin: clamp(8px, 1.4vw, 14px) 0 0;
  font-family: 'Saira Condensed', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 6vw, 72px);
  line-height: .96;
  letter-spacing: .005em;
  text-transform: uppercase;
  text-wrap: balance;
  color: #1c1113;
  animation: cs-rise .6s ease .12s both;
}

.coming-soon__title-accent { color: var(--accent, #b5202c); }

/* ---- Parágrafo ---- */
.coming-soon__text {
  margin: clamp(8px, 1.2vw, 12px) 0 0;
  max-width: 470px;
  font-size: clamp(15px, 1.7vw, 17px);
  line-height: 1.55;
  color: #4a3b3d;
  text-wrap: pretty;
  animation: cs-rise .6s ease .2s both;
}

/* ---- Barra de progresso ---- */
.coming-soon__progress {
  margin-top: clamp(10px, 1.6vw, 16px);
  max-width: 440px;
  animation: cs-rise .6s ease .28s both;
}

.coming-soon__progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-family: 'Saira Condensed', system-ui, sans-serif;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #6b1319;
}

.coming-soon__progress-value {
  font-weight: 700;
  font-size: 15px;
  color: var(--accent, #b5202c);
}

.coming-soon__progress-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(28, 17, 19, .1);
  overflow: hidden;
}

.coming-soon__progress-fill {
  height: 100%;
  width: var(--pct, 68%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent, #b5202c) 0%, #5e1116 100%);
  animation: cs-fill 1.6s cubic-bezier(.22, 1, .36, 1) .3s both;
}

/* ---- Rodapé ---- */
.coming-soon__footer { animation: cs-rise .6s ease .36s both; }

.coming-soon__social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coming-soon__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(28, 17, 19, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  color: #6b1319;
  transition: all .2s ease;
}
.coming-soon__social-link:hover {
  background: var(--accent, #b5202c);
  border-color: var(--accent, #b5202c);
  color: #fff;
}

.coming-soon__copyright {
  margin: clamp(12px, 2vw, 16px) 0 0;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: #9a8a86;
  animation: cs-rise .6s ease .4s both;
}

/* ---- Responsivo (celular) ---- */
@media (max-width: 640px) {
  .coming-soon__content { padding: 12px 24px; }
  .coming-soon__marquee { opacity: .5; font-size: 68px; }
}

/* ---- Telas de altura muito baixa (ex.: celular deitado): último aperto ---- */
@media (max-height: 560px) {
  .coming-soon__content { padding-top: 8px; padding-bottom: 8px; }
  .coming-soon__logo { width: clamp(140px, 16vw, 180px); }
  .coming-soon__body { padding: 2px 0; }
  .coming-soon__title { font-size: clamp(28px, 4.4vw, 46px); }
}

/* ---- Acessibilidade: respeita quem pediu menos movimento ---- */
@media (prefers-reduced-motion: reduce) {
  .coming-soon__marquee,
  .coming-soon__logo,
  .coming-soon__badge,
  .coming-soon__title,
  .coming-soon__text,
  .coming-soon__progress,
  .coming-soon__progress-fill,
  .coming-soon__footer,
  .coming-soon__copyright { animation: none; }
}

/* ============================================================
   Banner de consentimento (LGPD) — mesma identidade da marca
   ============================================================ */
.cf-consent {
  position: fixed;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: clamp(12px, 3vw, 24px);
  z-index: 50;
  width: min(680px, calc(100% - 28px));
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(28, 17, 19, .16);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(28, 17, 19, .16);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  animation: cs-rise .4s ease .2s both;
}
.cf-consent[hidden] { display: none; }

.cf-consent__text {
  flex: 1 1 260px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #4a3b3d;
}

.cf-consent__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cf-consent__btn {
  font-family: 'Saira Condensed', system-ui, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(28, 17, 19, .16);
  background: transparent;
  color: #6b1319;
  cursor: pointer;
  transition: all .2s ease;
}
.cf-consent__btn:hover { border-color: var(--accent, #b5202c); color: #5e1116; }
.cf-consent__btn--accept {
  background: var(--accent, #b5202c);
  border-color: var(--accent, #b5202c);
  color: #fff;
}
.cf-consent__btn--accept:hover { background: #5e1116; color: #fff; }

@media (max-width: 480px) {
  .cf-consent__actions { width: 100%; }
  .cf-consent__btn { flex: 1; }
}

/* ============================================================
   Página de documento (Política de Privacidade)
   ============================================================ */
.cf-doc {
  min-height: 100vh;
  background: linear-gradient(180deg, #f5efe7 0%, #ece3d8 100%);
  color: #1c1113;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
}
.cf-doc__wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) clamp(20px, 4vw, 32px);
}
.cf-doc__logo { width: clamp(160px, 20vw, 220px); height: auto; }
.cf-doc h1 {
  font-family: 'Saira Condensed', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 5vw, 46px);
  text-transform: uppercase;
  line-height: 1;
  margin: clamp(24px, 4vw, 36px) 0 4px;
  color: #1c1113;
}
.cf-doc h2 {
  font-family: 'Saira Condensed', system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(19px, 2.6vw, 24px);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 32px 0 8px;
  color: #6b1319;
}
.cf-doc p, .cf-doc li { font-size: 15.5px; line-height: 1.65; color: #4a3b3d; }
.cf-doc ul { padding-left: 20px; margin: 8px 0; }
.cf-doc a { color: #8f1a22; }
.cf-doc__meta { font-size: 13px; color: #9a8a86; margin-top: 0; }
.cf-doc__back {
  display: inline-block;
  margin-top: 40px;
  font-family: 'Saira Condensed', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 13px;
}
