/* ==========================================================================
   Fidelo — tema do funil (inspirado na estrutura/estilo do safeheal, com
   nossa marca e nossos próprios arquivos). Mobile-first, navy + gradientes.
   ========================================================================== */

:root {
    --bg-top: #1b2c48;
    --bg-bottom: #0e1a2e;
    --header: #16253d;
    --card: #ffffff;
    --ink: #16233c;
    --ink-soft: #5b6b82;
    --muted: #9fb0c7;

    --orange-a: #ff7a3d;
    --orange-b: #ff3d3d;
    --pink-a: #ff2d84;
    --pink-b: #d21b8f;
    --blue-a: #2a5bff;
    --blue-b: #1533b8;
    --green-a: #26c06a;
    --green-b: #16a34a;
    --red-a: #e11d2e;
    --red-b: #9c0f1c;

    --radius: 16px;
    --shadow: 0 18px 50px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html, body { max-width: 100vw; overflow-x: hidden; }

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    color: #eef3fb;
    background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }

/* ---------- Header ---------- */
.fh-header {
    background: var(--header);
    padding: 18px 0;
    text-align: center;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .04);
}
.fh-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.fh-logo svg { width: 46px; height: 46px; display: block; }

/* ---------- Layout ---------- */
.fh-stage {
    max-width: 480px;
    margin: 0 auto;
    padding: 28px 18px 60px;
}
.fh-center { text-align: center; }

.fh-h1 {
    font-size: 30px;
    line-height: 1.18;
    font-weight: 800;
    margin: 8px 0 10px;
    letter-spacing: -.01em;
}
.fh-sub {
    color: #b9c6da;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 auto 22px;
    max-width: 420px;
}

/* ---------- Card ---------- */
.fh-card {
    background: var(--card);
    color: var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 22px;
    margin: 0 auto;
}
.fh-card-label {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    font-weight: 700;
    color: #7b8aa0;
    text-align: center;
    margin: 0 0 16px;
}
.fh-card-q {
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    line-height: 1.35;
    margin: 4px 0 20px;
    color: var(--ink);
}

/* ---------- Buttons ---------- */
.fh-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 17px 18px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .02em;
    cursor: pointer;
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}
.fh-btn:active { transform: translateY(1px) scale(.995); }
.fh-btn + .fh-btn { margin-top: 12px; }

.fh-btn--boy  { background: linear-gradient(135deg, var(--orange-a), var(--orange-b)); }
.fh-btn--girl { background: linear-gradient(135deg, var(--pink-a), var(--pink-b)); }
.fh-btn--opt {
    background: linear-gradient(135deg, var(--blue-a), var(--blue-b));
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
}
.fh-btn--go   { background: linear-gradient(135deg, var(--green-a), var(--green-b)); text-transform: none; font-size: 17px; }
.fh-btn--go:hover { filter: brightness(1.05); }
.fh-btn:disabled { background: #c3ccd8; color: #fff; cursor: not-allowed; box-shadow: none; }

.fh-note {
    text-align: center;
    color: #8496ad;
    font-size: 13px;
    margin: 16px 0 0;
}

/* ---------- Footer social proof ---------- */
.fh-footer {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: rgba(9, 17, 30, .72);
    backdrop-filter: blur(6px);
    color: #c3d0e4;
    text-align: center;
    font-size: 13px;
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, .05);
}

/* ---------- Phone input (screen 3) ---------- */
.fh-phone-row {
    display: flex;
    gap: 10px;
    border: 2px solid var(--blue-a);
    border-radius: 12px;
    padding: 6px;
    background: #fff;
}
.fh-phone-cc {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 12px; border-right: 1px solid #e3e8ef;
    font-weight: 700; color: var(--ink); white-space: nowrap;
}
.fh-phone-cc select {
    border: none; background: transparent; font-weight: 700; font-size: 15px; color: var(--ink); outline: none;
}
.fh-phone-input {
    flex: 1; border: none; outline: none; font-size: 18px; color: var(--ink); padding: 10px 6px; min-width: 0;
}
.fh-err { color: #d21b46; font-size: 13px; font-weight: 600; margin: 8px 2px 0; min-height: 18px; }

/* ---------- Live activity feed (screen 3) ---------- */
.fh-feed {
    background: rgba(255, 255, 255, .06);
    border-radius: var(--radius);
    padding: 18px 16px;
    margin-top: 22px;
}
.fh-feed h4 {
    text-transform: uppercase; letter-spacing: .12em; font-size: 12px;
    color: #9fb0c7; text-align: center; margin: 0 0 14px; font-weight: 700;
}
.fh-feed-item {
    display: flex; align-items: center; gap: 10px;
    background: rgba(255, 255, 255, .05);
    border-radius: 10px; padding: 12px 14px; margin-bottom: 10px;
    font-size: 13px; color: #d4deee;
}
.fh-feed-item:last-child { margin-bottom: 0; }
.fh-dot { width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; flex: none; box-shadow: 0 0 8px #2ecc71; }
.fh-feed-num { font-weight: 700; color: #eaf1fb; }

/* ---------- Urgency / alert bars ---------- */
.fh-alert {
    border-radius: 12px; padding: 16px 18px; margin: 0 0 16px;
    font-weight: 700; text-align: center; line-height: 1.35;
}
.fh-alert--red { background: linear-gradient(135deg, var(--red-a), var(--red-b)); color: #fff; }
.fh-alert--red small { display: block; font-weight: 500; opacity: .95; margin-top: 4px; }

/* ---------- Scanning (screen 4) ---------- */
.fh-progress {
    height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .12);
    overflow: hidden; margin: 12px 0;
}
.fh-progress > i { display: block; height: 100%; width: 0%; border-radius: 999px;
    background: linear-gradient(90deg, #17c964, #12a150); transition: width .4s ease; }
.fh-mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.fh-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fh-stat-k { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #7b8aa0; }
.fh-stat-v { font-size: 18px; font-weight: 800; color: var(--blue-a); }

.fh-apps { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 14px 0; font-size: 26px; }

.fh-terminal {
    background: #0a0f16; border-radius: 12px; padding: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px; line-height: 1.7; color: #35d07f; min-height: 120px;
}
.fh-terminal .warn { color: #ffcf5c; }
.fh-terminal .ok { color: #35d07f; }

.fh-country-card {
    text-align: center; padding: 18px; border-radius: 14px; background: #f4f7fb; color: var(--ink); margin-top: 8px;
}
.fh-flag { width: 84px; height: 84px; border-radius: 50%; background: var(--blue-a); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 26px; margin-bottom: 12px; }
.fh-phone-pill { display: inline-block; background: #e8eefb; color: var(--ink); font-weight: 800; padding: 10px 18px; border-radius: 10px; }

/* ---------- Final report (screen 5) ---------- */
.fh-report-list { list-style: none; padding: 0; margin: 0; }
.fh-report-list li {
    display: flex; gap: 10px; align-items: flex-start; color: var(--ink);
    padding: 12px 0; border-bottom: 1px solid #eef1f6; font-size: 15px; line-height: 1.4;
}
.fh-report-list li::before { content: "🔒"; flex: none; }
.fh-lock-blur { filter: blur(5px); user-select: none; }

.fh-price {
    text-align: center; margin: 8px 0 4px;
}
.fh-price .old { color: #9aa6b8; text-decoration: line-through; font-size: 18px; }
.fh-price .now { color: var(--green-b); font-size: 40px; font-weight: 900; }
.fh-price .tag { display: inline-block; background: #ffe6e6; color: #d21b2e; font-weight: 800; padding: 4px 10px; border-radius: 999px; font-size: 13px; margin-left: 8px; }

.fh-features { list-style: none; padding: 0; margin: 16px 0; }
.fh-features li { display: flex; gap: 10px; align-items: center; color: var(--ink); padding: 8px 0; font-weight: 600; }
.fh-features li::before { content: "✔"; color: var(--green-b); font-weight: 900; }

.fh-quote { background: #f4f7fb; border-left: 4px solid var(--blue-a); border-radius: 10px; padding: 14px 16px; color: var(--ink); margin: 12px 0; font-size: 14px; line-height: 1.5; }
.fh-quote b { display: block; margin-top: 8px; color: var(--ink-soft); font-weight: 700; }

.fh-guarantee { text-align: center; color: var(--ink); background: #eef7f0; border-radius: 14px; padding: 20px; margin: 18px 0; }
.fh-guarantee h3 { margin: 0 0 8px; color: var(--green-b); }

.fh-spacer { height: 18px; }
.fh-hide { display: none !important; }

@media (max-width: 380px) {
    .fh-h1 { font-size: 26px; }
    .fh-stat-v { font-size: 16px; }
}
