/* ================================================================
   EduIndex × Elliot — Landing Page CSS
   ================================================================ */

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

.eidx-el-page {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    color: #fff;
    min-height: 100vh;
    background: #080a0d;
}

/* ── HERO ──────────────────────────────────────────────────────── */
.eidx-el-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 24px;
}

/* Gradiente de fundo — inspirado no vermelho/laranja da Elliot */
.eidx-el-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at -5% 110%, rgba(220, 45, 20, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 5%  80%,  rgba(255, 100, 20, 0.2) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 95% 10%,  rgba(249, 190, 8, 0.06) 0%, transparent 50%),
        #080a0d;
    pointer-events: none;
}

/* Raios decorativos inspirados na logo Elliot */
.eidx-el-hero__rays {
    position: absolute;
    bottom: -10%;
    left: -8%;
    width: 55%;
    height: 110%;
    background:
        conic-gradient(
            from 300deg at 0% 100%,
            transparent 0deg,
            rgba(220,45,20,0.12) 8deg,
            transparent 14deg,
            rgba(220,45,20,0.08) 22deg,
            transparent 28deg,
            rgba(255,100,20,0.1) 36deg,
            transparent 42deg,
            rgba(220,45,20,0.06) 50deg,
            transparent 56deg
        );
    pointer-events: none;
}

.eidx-el-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* ── LOGOS ─────────────────────────────────────────────────────── */
.eidx-el-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.eidx-el-logos__elliot {
    height: 36px;
    width: auto;
    filter: brightness(1);
}

.eidx-el-logos__x {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.35);
    font-weight: 300;
}

.eidx-el-logos__eduindex {
    height: 30px;
    width: auto;
}

/* ── BADGE ──────────────────────────────────────────────────────── */
.eidx-el-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, rgba(220,45,20,0.25), rgba(255,100,20,0.25));
    border: 1px solid rgba(220,45,20,0.5);
    color: #ff7040;
}

/* ── TÍTULO ─────────────────────────────────────────────────────── */
.eidx-el-titulo {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -1px;
}

.eidx-el-titulo__destaque {
    background: linear-gradient(90deg, #e63c1e, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── SUBTÍTULO ──────────────────────────────────────────────────── */
.eidx-el-subtitulo {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin: 0;
    max-width: 560px;
}

.eidx-el-subtitulo strong {
    color: rgba(255,255,255,0.9);
}

/* ── BENEFÍCIOS ─────────────────────────────────────────────────── */
.eidx-el-beneficios {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 520px;
    text-align: left;
}

.eidx-el-beneficio {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.97rem;
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 12px 16px;
    transition: border-color 0.2s, background 0.2s;
}

.eidx-el-beneficio:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(220,45,20,0.3);
}

.eidx-el-beneficio__icone {
    color: #e63c1e;
    font-size: 0.85rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.eidx-el-beneficio strong {
    color: #fff;
}

/* ── CTA ────────────────────────────────────────────────────────── */
.eidx-el-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #e63c1e, #ff6b1a);
    color: #fff;
    letter-spacing: 0.3px;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    box-shadow: 0 8px 32px rgba(220,45,20,0.4);
}

.eidx-el-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s;
}

.eidx-el-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(220,45,20,0.5);
    filter: brightness(1.08);
}

.eidx-el-cta:hover svg {
    transform: translateX(4px);
}

.eidx-el-nota {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    margin: -12px 0 0;
    letter-spacing: 0.5px;
}

/* ── MODAL OVERLAY ──────────────────────────────────────────────── */
.eidx-el-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(6px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: eidxElFadeIn 0.2s ease;
}

@keyframes eidxElFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── MODAL BOX ──────────────────────────────────────────────────── */
.eidx-el-modal {
    background: #111418;
    border: 1px solid rgba(220,45,20,0.3);
    border-radius: 18px;
    padding: 40px 36px;
    max-width: 440px;
    width: 100%;
    position: relative;
    box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(220,45,20,0.1);
    animation: eidxElSlideUp 0.25s ease;
}

@keyframes eidxElSlideUp {
    from { transform: translateY(24px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.eidx-el-modal__fechar {
    position: absolute;
    top: 14px; right: 16px;
    background: none; border: none;
    font-size: 1.6rem; line-height: 1;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
}

.eidx-el-modal__fechar:hover { color: #fff; }

.eidx-el-modal__header {
    text-align: center;
    margin-bottom: 28px;
}

.eidx-el-modal__logo {
    height: 28px;
    width: auto;
    margin-bottom: 16px;
}

.eidx-el-modal__titulo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.eidx-el-modal__sub {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
    line-height: 1.5;
}

/* ── FORMULÁRIO ─────────────────────────────────────────────────── */
.eidx-el-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eidx-el-campo {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.eidx-el-campo label {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.eidx-el-campo input {
    display: block;
    width: 100%;
    padding: 13px 16px;
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.eidx-el-campo input:focus {
    border-color: #e63c1e;
    box-shadow: 0 0 0 3px rgba(220,45,20,0.15);
}

.eidx-el-campo input.eidx-el-input--erro {
    border-color: #f44;
    box-shadow: 0 0 0 3px rgba(255,68,68,0.15);
}

.eidx-el-campo input::placeholder { color: rgba(255,255,255,0.25); }

.eidx-el-erro {
    font-size: 0.8rem;
    color: #f66;
    min-height: 16px;
}

/* ── BOTÃO ENVIAR ───────────────────────────────────────────────── */
.eidx-el-btn-enviar {
    display: block;
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #e63c1e, #ff6b1a);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
    box-shadow: 0 6px 24px rgba(220,45,20,0.35);
    margin-top: 4px;
    font-family: inherit;
}

.eidx-el-btn-enviar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(220,45,20,0.5);
    filter: brightness(1.08);
}

.eidx-el-btn-enviar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.eidx-el-privacidade {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

/* ── RESPONSIVO ─────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .eidx-el-hero { padding: 48px 16px; }
    .eidx-el-modal { padding: 32px 20px; }
    .eidx-el-titulo { font-size: 2rem; }
    .eidx-el-cta { padding: 16px 28px; font-size: 1rem; width: 100%; justify-content: center; }
    .eidx-el-hero__rays { display: none; }
}
