/* ==========================================================================
   IDENTIDADE — João Eduardo Maciel (Diamante)
   Tipografia Sora (títulos) + Inter (texto), dourado #0090e0 como no site
   principal seminario.joaoeduardomaciel.com.br. Estrutura herdada da ak1.
   ========================================================================== */

/* RESET E BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    color: #141414;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   HERO (fundo branco + leve glow dourado no topo, conteúdo centralizado)
   ========================================================================== */
.hero {
    min-height: 100vh;
    background:
        radial-gradient(1100px 520px at 50% -10%, rgba(0,144,224,0.10), transparent 60%),
        #ffffff;
    padding: 64px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container { max-width: 1080px; margin: 0 auto; width: 100%; }
.hero-content { max-width: 640px; margin: 0 auto; text-align: center; }

.hero-logo { width: 60px; height: 60px; margin: 0 auto 22px; }

/* H1 principal */
.hero-subtitle {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #141414;
    margin: 0 auto 20px;
    max-width: 22ch;
}
.hero-subtitle .accent { color: #0090e0; }

/* Detalhe / H2 */
.hero-info {
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #5c5c5c;
    margin: 0 auto 34px;
    max-width: 48ch;
}
.hero-info strong { color: #141414; font-weight: 600; }
.hero-info .underline { text-decoration: underline; text-decoration-color: #0090e0; text-underline-offset: 3px; }

/* ==========================================================================
   FORMULÁRIO (card claro com destaque)
   ========================================================================== */
.form-card {
    background-color: #ffffff;
    border: 1px solid #ececec;
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 20px 60px rgba(20,20,20,.10);
    max-width: 520px;
    margin: 0 auto;
}

.signup-form { display: flex; flex-direction: column; gap: 13px; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.form-group { width: 100%; }
.form-group.full-width { width: 100%; }

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #dcdcdc;
    border-radius: 9px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #1a1a1a;
    background-color: #fafafa;
    transition: all 0.2s ease;
    outline: none;
}
.form-control::placeholder { color: #9a9a9a; font-weight: 400; }

/* Prefixo fixo +55 no campo de WhatsApp */
.tel-wrap { position: relative; width: 100%; }
.tel-prefix {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 500;
    color: #1a1a1a; pointer-events: none; z-index: 1;
}
.tel-prefix::after {
    content: ""; position: absolute; right: -9px; top: 50%; transform: translateY(-50%);
    height: 20px; width: 1.5px; background: #dcdcdc;
}
.tel-input { padding-left: 62px; }
.form-control:focus { border-color: #0090e0; background-color:#fff; box-shadow: 0 0 0 3px rgba(0,144,224,.18); }
.form-control.invalid { border-color: #e0533b; box-shadow: 0 0 0 3px rgba(224,83,59,.12); }

.err { font-size: 0.78rem; color: #d9442c; margin-top: 6px; display: none; }
.show-err .err { display: block; }

.btn-submit {
    width: 100%;
    padding: 16px 24px;
    background-color: #0090e0;
    color: #ffffff;
    border: none;
    border-radius: 9px;
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 4px;
}
.btn-submit:hover { background-color: #0072b8; transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0,144,224,.35); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.7; cursor: default; transform: none; }

:focus-visible { outline: 2px solid #0090e0; outline-offset: 2px; }

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #ececec;
    padding: 30px 20px 40px;
    text-align: center;
}
.footer-sign {
    font-family: 'Sora', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #141414;
    margin-bottom: 8px;
}
.footer-terms {
    font-size: 0.9rem; line-height: 1.5; color: #7c7c7c;
    max-width: 60ch; margin: 0 auto;
}
.footer-terms a { color: #9a9a9a; text-decoration: underline; text-underline-offset: 2px; }
.footer-terms a:hover { color: #0090e0; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 768px) {
    .hero { padding: 48px 16px; min-height: auto; }
    .hero-content { max-width: 100%; }
    .hero-subtitle { max-width: 100%; }
    .form-card { padding: 20px; border-radius: 12px; }
    .form-row { grid-template-columns: 1fr; gap: 12px; }
    .signup-form { gap: 12px; }
    .site-footer { padding: 26px 16px 34px; }
}
@media (max-width: 480px) {
    .hero { padding: 40px 14px; }
    .form-card { padding: 18px; }
}
