/* Mais Eu Poderosa — página "Em breve" (Projeto C)
   Identidade V5: paleta aprovada + tons de contraste AA documentados no Projeto A.
   Fontes próprias (SIL OFL 1.1). Sem JavaScript. Sem recursos de terceiros. */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: url('/assets/dm-sans-latin-opsz-normal.ca72d2bcea.woff2') format('woff2-variations'),
       url('/assets/dm-sans-latin-opsz-normal.ca72d2bcea.woff2') format('woff2');
}
@font-face {
  font-family: 'MEP Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/mep-cormorant-garamond-latin-500-normal.ff7644aa93.woff2') format('woff2');
}
@font-face {
  font-family: 'MEP Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/mep-cormorant-garamond-latin-500-italic.63fb16039c.woff2') format('woff2');
}

:root {
  --rose: #A66873;            /* Rosé (aprovado) — títulos grandes */
  --rose-acao: #A3626E;       /* ajuste AA para fundo de botão com texto branco */
  --rose-profundo: #8E5660;
  --champanhe: #C9AD84;       /* Champanhe (aprovado) — decorativo */
  --salvia: #8DA88F;          /* Verde-sálvia (aprovado) — decorativo */
  --verde-profundo: #506851;  /* Verde profundo (aprovado) */
  --ameixa: #49313A;          /* Ameixa escuro (aprovado) */
  --texto-auxiliar: #7C6165;  /* ajuste AA */
  --blush: #F9EFEA;           /* Blush (aprovado) */
  --marfim: #FDF8F4;          /* Marfim (aprovado) */
  --titulo: 'MEP Cormorant Garamond', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --texto: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --margem: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--texto);
  font-optical-sizing: auto;
  color: var(--ameixa);
  background:
    radial-gradient(120% 80% at 50% -10%, var(--blush) 0%, rgba(249, 239, 234, 0) 60%),
    var(--marfim);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }

.cb-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Composição ---------- */
.cb-pagina {
  flex: 1;
  display: grid;
  align-items: center;
  justify-items: center;
  gap: clamp(36px, 6vw, 72px);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 6vh, 96px) var(--margem) clamp(32px, 6vh, 64px);
}
.cb-conteudo {
  width: 100%;
  max-width: 640px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Marca ---------- */
.cb-logo { width: clamp(180px, 30vw, 300px); height: auto; margin-bottom: clamp(16px, 3vw, 32px); }

/* ---------- Indicação discreta de "em breve" ---------- */
.cb-rotulo {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin: 0 0 clamp(18px, 2.5vw, 26px);
  padding: .45em 1.05em;
  border: 1px solid rgba(80, 104, 81, .35);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--verde-profundo);
  background: rgba(253, 248, 244, .7);
}
.cb-rotulo__ponto { width: 7px; height: 7px; border-radius: 50%; background: var(--salvia); flex: none; }

/* ---------- Mensagem institucional ---------- */
.cb-titulo {
  margin: 0;
  font-family: var(--titulo);
  font-weight: 500;
  font-size: clamp(2.15rem, 1.35rem + 3.3vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -.01em;
  color: var(--ameixa);
}
.cb-titulo__linha { display: block; }
.cb-titulo em { font-style: italic; color: var(--rose); }

.cb-filete { /* separador decorativo em verde-sálvia */
  width: 56px; height: 1px; margin: clamp(22px, 3vw, 30px) auto; border: 0;
  background: linear-gradient(90deg, rgba(141, 168, 143, 0), var(--salvia), rgba(141, 168, 143, 0));
}
.cb-texto {
  margin: 0;
  max-width: 34em;
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 1.7;
  color: var(--texto-auxiliar);
}

/* ---------- Ações ---------- */
.cb-acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(26px, 3.5vw, 36px); }
.cb-botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 52px;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.cb-botao--primario { background: var(--rose-acao); color: #fff; }
.cb-botao--primario:hover { background: var(--rose-profundo); }
.cb-botao--secundario { background: transparent; color: var(--rose-profundo); border-color: rgba(166, 104, 115, .5); }
.cb-botao--secundario:hover { background: var(--rose-acao); border-color: var(--rose-acao); color: #fff; }
.cb-botao svg { width: 20px; height: 20px; flex: none; }
.cb-botao:focus-visible, .cb-rodape a:focus-visible {
  outline: 2px solid var(--verde-profundo);
  outline-offset: 3px;
}

/* ---------- Fotografia editorial (opcional) ---------- */
.cb-foto { margin: 0; position: relative; width: min(78vw, 360px); }
.cb-foto::before { /* contorno champanhe deslocado (decorativo) */
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--champanhe);
  border-radius: 999px 999px 22px 22px;
  pointer-events: none;
}
.cb-foto img {
  position: relative;
  width: 100%;
  aspect-ratio: 1122 / 1402;
  object-fit: cover;
  border-radius: 999px 999px 22px 22px; /* arco, como as arcadas das fotografias */
}

/* ---------- Rodapé ---------- */
.cb-rodape {
  width: 100%;
  padding: 22px var(--margem) 28px;
  text-align: center;
  font-size: .8125rem;
  color: var(--texto-auxiliar);
}
.cb-rodape p { margin: 0; }
.cb-rodape__linha {
  width: 100%;
  max-width: 720px;
  height: 1px;
  margin: 0 auto 18px;
  border: 0;
  background: rgba(73, 49, 58, .1);
}

/* ---------- Telas largas com fotografia: composição editorial em duas colunas ---------- */
@media (min-width: 960px) {
  .cb--com-foto .cb-pagina { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); justify-items: stretch; }
  .cb--com-foto .cb-conteudo { text-align: left; align-items: flex-start; }
  .cb--com-foto .cb-filete { margin-left: 0; }
  .cb--com-foto .cb-acoes { justify-content: flex-start; }
  .cb--com-foto .cb-foto { width: 100%; max-width: 420px; justify-self: center; }
  .cb--com-foto .cb-logo { width: 260px; }
}

/* ---------- Telas baixas (celulares pequenos): mensagem + botão no primeiro ecrã ---------- */
@media (max-height: 700px) and (max-width: 600px) {
  .cb-rotulo { margin-bottom: 14px; }
  .cb-filete { margin: 16px auto; }
  .cb-acoes { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
