/* ==========================================================================
   Harmuze - página Embaixadoras (/creators)
   Layout: uma coluna central, clara e direta (título, foto, inscrição e blocos curtos).
   Do site principal vêm os botões (pílula laranja) e a fonte (EB Garamond, mesmos
   tamanhos e títulos pretos em negrito). Mobile primeiro; quebra em 600px e 960px.
   ========================================================================== */

:root {
  --bg: #fbfbfb;
  --cream: #eeeae0;
  --cream-light: #f7f5ef;
  --ink: #212121;
  --text: #4b4b4b;
  --line: #e3ddcf;
  --red: #b71817;
  --orange: #fcb158;
  --font: "EB Garamond", Georgia, "Times New Roman", serif;
  --col: 640px;
  --gutter: 20px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* fonte igual à do site principal */
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { color: #000; font-weight: 700; line-height: 1.12; text-wrap: balance; }
a { color: inherit; }
strong { color: var(--ink); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--orange); color: var(--ink); border-radius: 6px;
}
.skip-link:focus { top: 12px; }

/* Cabeçalho --------------------------------------------------------------- */
.header {
  display: flex; justify-content: center; padding: 18px var(--gutter);
  border-bottom: 1px solid var(--line); background: var(--bg);
}
.header__logo img { width: 132px; }

/* Coluna central ---------------------------------------------------------- */
.page {
  max-width: calc(var(--col) + var(--gutter) * 2);
  margin-inline: auto;
  padding: 40px var(--gutter) 64px;
  text-align: center;
}

.block + .block { margin-top: 44px; }
.block p + p { margin-top: 14px; }

.page__title { font-size: clamp(36px, 8vw, 46px); font-weight: 500; letter-spacing: -0.01em; }

/* Foto no lugar do vídeo */
.hero-photo {
  margin-top: 24px; overflow: hidden; border-radius: 4px;
  background: var(--cream-light); border: 1px solid var(--line);
}
.hero-photo img { width: 100%; aspect-ratio: 1170 / 690; object-fit: cover; }

.kicker { margin-top: 14px; font-size: 15px; font-weight: 700; letter-spacing: .02em; color: var(--ink); }

.call { margin-top: 18px; font-size: clamp(24px, 4.6vw, 28px); line-height: 1.25; }

h3 { font-size: 22px; line-height: 1.25; margin-bottom: 12px; }
.sub { margin-top: -6px; margin-bottom: 14px; font-style: italic; }

/* Botão no formato do site principal (pílula), transparente com contorno preto */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; margin-top: 24px; padding: 14px 44px;
  border: 2px solid #000; border-radius: 100px;
  background: transparent;
  font: inherit; font-size: 18px; line-height: 1.2; color: #000;
  text-align: center; text-decoration: none; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* O que você recebe: lista numerada centralizada */
.steps { display: grid; gap: 18px; padding: 0; list-style: none; counter-reset: passo; }
.steps li { counter-increment: passo; }
.steps strong { display: block; font-size: 19px; }
.steps strong::before { content: counter(passo) " · "; color: var(--red); }
.steps span { display: block; margin-top: 4px; }

/* Para quem é */
.checklist { display: grid; gap: 12px; padding: 0; list-style: none; }
.checklist li::before {
  content: ""; display: block; width: 18px; height: 18px; margin: 0 auto 4px;
  background: var(--red);
  -webkit-mask: url("/img/icone-check.svg") center / contain no-repeat;
  mask: url("/img/icone-check.svg") center / contain no-repeat;
}

/* Cadastro no final */
.block--signup { margin-top: 64px !important; }
.signup__title { font-size: clamp(26px, 5vw, 32px); }

/* Rodapé: mesmo conteúdo e estilo do site principal ------------------------ */
.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); }
.footer { padding-block: 56px 40px; background: var(--cream); color: var(--text); text-align: center; }
.footer__inner { display: grid; justify-items: center; gap: 24px; }
.footer__logo { width: 140px; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 16px; }
.footer__links a { color: #000; }
.footer a { text-decoration: none; transition: opacity 0.2s ease; }
.footer a:hover { opacity: 0.7; }
.footer__legal, .footer__company { max-width: 860px; font-size: 12px; line-height: 1.6; }
.footer__copy { color: #000; font-size: 15px; }

/* Tablet e desktop -------------------------------------------------------- */
@media (min-width: 600px) {
  body { font-size: 19px; }
  .page { padding-top: 56px; }
  .block + .block { margin-top: 52px; }
}

@media (min-width: 960px) {
  .page { padding-top: 64px; padding-bottom: 80px; }
  .header__logo img { width: 150px; }
  .footer__links { font-size: 17px; }
  .footer__legal, .footer__company { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* Formulário de inscrição em pop-up ---------------------------------------- */
.modal-open { overflow: hidden; }
.modal {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: 0; border-radius: 20px;
  background: var(--bg); color: var(--text); font: inherit;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3); overflow-y: auto;
}
.modal::backdrop { background: rgba(33, 33, 33, 0.55); }
.modal[open] { animation: modal-in .22s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.modal__close {
  position: sticky; top: 10px; float: right; z-index: 2; width: 40px; height: 40px; margin: 10px 10px 0 0;
  border: 0; border-radius: 50%; background: var(--cream); color: #000; font-size: 26px; line-height: 1; cursor: pointer;
}
.modal__close:hover { background: var(--line); }
.modal__body { padding: 28px 24px 30px; text-align: left; }
.modal__title { font-size: clamp(26px, 6vw, 32px); text-align: center; }
.modal__intro { margin-top: 10px; text-align: center; }
.modal__req { margin-top: 14px; font-size: 14px; color: var(--red); }
.form { display: grid; gap: 16px; margin-top: 16px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field > legend { color: #000; font-weight: 700; font-size: 17px; padding: 0; }
.field b { color: var(--red); font-weight: 700; }
.field input {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: #000; font: inherit; font-size: 17px;
}
.field input:focus { outline: none; border-color: #000; box-shadow: 0 0 0 3px rgba(252, 177, 88, 0.45); }
.field--choices { gap: 8px; }
.field--choices legend { margin-bottom: 4px; }
.choice { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; line-height: 1.35; cursor: pointer; }
.choice input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #000; }
.choice--terms { font-size: 15px; }
.choice--terms a { color: #000; text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { padding: 10px 14px; border-radius: 12px; background: rgba(183, 24, 23, 0.08); color: var(--red); font-size: 15px; }
.btn--submit { width: 100%; margin-top: 4px; }
.btn--submit:disabled { opacity: .6; cursor: default; transform: none; }
.modal__done { text-align: center; }
.modal__done p { margin-top: 12px; }
.done__icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--orange); color: #000; font-size: 32px; font-weight: 700;
}
@media (min-width: 600px) { .modal__body { padding: 32px 40px 36px; } }
@media (prefers-reduced-motion: reduce) { .modal[open] { animation: none; } }
.field .choice input, .choice input { width: 20px; height: 20px; min-height: 0; padding: 0; border-radius: 50%; box-shadow: none; }
.choice input[type="checkbox"] { border-radius: 4px; }
.modal__title { padding-inline: 40px; }
@media (min-width: 600px) { .modal__title { padding-inline: 24px; } }

/* Confirmação: último passo pelo WhatsApp */
.done__step {
  margin-top: 20px; padding: 18px 18px 20px; border-radius: 16px;
  background: var(--cream); border: 1px solid var(--line);
}
.done__step p { margin-top: 10px; color: #000; }
.done__badge {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  background: var(--orange); color: #000; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.btn--whats { gap: 10px; margin-top: 14px; width: 100%; max-width: 340px; border-color: #1fa855; background: #25d366; color: #0b2e17; font-weight: 700; }
.btn--whats:hover { background: #20c35d; }
.link-btn {
  display: inline-block; margin-top: 16px; padding: 6px 10px; border: 0; background: none;
  color: var(--text); font: inherit; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.btn--whats { padding-inline: 20px; white-space: nowrap; }
.btn--whats svg { flex: none; }

/* Logo um pouco menor e título mais perto da linha do cabeçalho (proporcional) */
.header { padding-block: 14px; }
.header__logo img { width: 112px; }
.page { padding-top: 28px; }
@media (min-width: 600px) { .page { padding-top: 36px; } }
@media (min-width: 960px) {
  .header__logo img { width: 124px; }
  .page { padding-top: 40px; }
}

/* Confirmação do e-mail e caixinha "Não sou um robô" */
.field__hint { color: var(--text); font-size: 14px; }
.robot {
  display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
}
.robot__box { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 0; border: 0; background: none; color: #000; font: inherit; font-size: 17px; text-align: left; cursor: pointer; }
.robot__tick {
  position: relative; flex: none; width: 28px; height: 28px; border: 2px solid #8a8a8a; border-radius: 6px; background: #fff;
  transition: border-color .2s ease, background-color .2s ease;
}
.robot__box:hover .robot__tick, .robot__box:focus-visible .robot__tick { border-color: #000; }
.robot[data-state="busy"] .robot__tick { border-color: var(--orange); border-right-color: transparent; border-radius: 50%; animation: robot-spin .8s linear infinite; }
.robot[data-state="ok"] .robot__tick { border-color: #1a9c4b; background: #1a9c4b; }
.robot[data-state="ok"] .robot__tick::after {
  content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 14px;
  border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg);
}
.robot[data-state="ok"] .robot__box { cursor: default; }
.robot[data-state="error"] .robot__tick { border-color: var(--red); }
.robot__status { font-size: 14px; color: var(--text); }
.robot[data-state="ok"] .robot__status { color: #1a7f3d; font-weight: 700; }
.robot[data-state="error"] .robot__status { color: var(--red); }
.robot__brand { margin-left: auto; font-size: 11px; line-height: 1.2; text-align: right; color: #8a8a8a; }
@keyframes robot-spin { to { transform: rotate(360deg); } }
@media (max-width: 420px) { .robot { flex-wrap: wrap; } .robot__brand { display: none; } }
@media (prefers-reduced-motion: reduce) { .robot[data-state="busy"] .robot__tick { animation: none; } }

/* @ do TikTok / Instagram com a opção "Não tenho" logo abaixo */
.field-group { display: grid; gap: 8px; }
.choice--none { font-size: 15px; color: #000; }
.choice--none input { border-radius: 4px; }
.field input:disabled { background: #f2f2f2; color: #999; cursor: not-allowed; }
/* termos separados das opções de idade (é outro assunto) */
.choice--terms { margin-top: 14px; padding-top: 16px; border-top: 1px solid rgba(0, 0, 0, 0.12); }

/* tela de agradecimento: lança-confete solto (sem círculo) + chuva de confete */
.done__icon { width: auto; height: auto; background: none; border-radius: 0; font-size: 0; margin: 0 auto 10px; animation: pop-in .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.done__icon svg { display: block; }
@keyframes pop-in { from { transform: scale(.4) rotate(-12deg); opacity: 0; } to { transform: none; opacity: 1; } }
.confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 5; }
@media (prefers-reduced-motion: reduce) { .done__icon { animation: none; } }

/* "Obrigado por se inscrever": selo de verificado laranja (sem chuva de confete) */
.done__icon { filter: drop-shadow(0 6px 14px rgba(252, 177, 88, 0.45)); }
