/* ==========================================================================
   Evo Sistemi Child — custom.css
   Stili minimi: la maggior parte del design è in Elementor.
   Qui stanno solo i componenti che NON sono gestiti da Elementor:
   - Sticky CTA
   - Form audit SEO (lead magnet 2)
   - Pagina 404 custom
   - Body classes / utility
   ========================================================================== */

/* ---------- Sticky CTA universale ---------- */
.evo-sticky-cta {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 9990;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    background: #0066ff;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 102, 255, .3);
    transition: transform .15s ease, box-shadow .15s ease;
}
.evo-sticky-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 102, 255, .4);
}

/* ---------- Form Audit SEO ---------- */
.evo-audit-form {
    max-width: 640px;
    margin: 2rem auto;
    padding: 1.75rem;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .05);
}
.evo-audit-form h3 { margin-top: 0; font-size: 1.5rem; }
.evo-audit-form label {
    display: block;
    margin: 1rem 0 .25rem;
    font-weight: 600;
    font-size: .95rem;
}
.evo-audit-form input[type="url"],
.evo-audit-form input[type="text"],
.evo-audit-form input[type="email"],
.evo-audit-form select {
    width: 100%;
    padding: .75rem;
    border: 1px solid #cdd5e0;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
}
.evo-audit-form__consent {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    font-weight: 400;
    font-size: .9rem;
}
.evo-audit-form__consent input { width: auto; margin-top: .15rem; }
.evo-audit-form__submit {
    margin-top: 1.25rem;
    width: 100%;
    padding: 0.95rem;
    background: #0066ff;
    color: #fff;
    border: 0;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease;
}
.evo-audit-form__submit:hover { background: #0052cc; }
.evo-audit-form__output {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f4f7fb;
    border-radius: 8px;
    font-size: .95rem;
}

/* Tabella report inline */
.evo-audit-report__table {
    width: 100%;
    border-collapse: collapse;
    margin-top: .5rem;
}
.evo-audit-report__table th,
.evo-audit-report__table td {
    padding: .55rem .75rem;
    border-bottom: 1px solid #e3e8ef;
    text-align: left;
    vertical-align: top;
    font-size: .9rem;
}
.evo-audit-report__table th { background: #eef2f7; font-weight: 600; }

/* ---------- Pagina 404 ---------- */
.evo-404 { padding: 3rem 1.25rem; max-width: 1100px; margin: 0 auto; }
.evo-404__hero { text-align: center; margin-bottom: 2.5rem; }
.evo-404__hero h1 { font-size: 2.5rem; margin: 0 0 .75rem; }
.evo-404__sub { font-size: 1.1rem; color: #4d5a6e; margin-bottom: 1.5rem; }
.evo-404__search {
    display: flex;
    gap: .5rem;
    max-width: 540px;
    margin: 0 auto;
}
.evo-404__search input[type="search"] {
    flex: 1;
    padding: .75rem 1rem;
    border: 1px solid #cdd5e0;
    border-radius: 8px;
    font-size: 1rem;
}
.evo-404__search button {
    padding: .75rem 1.25rem;
    border: 0;
    border-radius: 8px;
    background: #0066ff;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}
.evo-404__paths h2 { text-align: center; margin: 2rem 0 1.5rem; font-size: 1.4rem; }
.evo-404__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}
.evo-404__card {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    text-decoration: none;
    color: #1a2a3a;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.evo-404__card:hover {
    transform: translateY(-2px);
    border-color: #0066ff;
    box-shadow: 0 8px 20px rgba(0, 102, 255, .12);
}
.evo-404__icon { font-size: 1.6rem; }
.evo-404__title { font-weight: 700; font-size: 1.05rem; }
.evo-404__desc { font-size: .85rem; color: #4d5a6e; }

.evo-404__cta {
    text-align: center;
    margin: 2.5rem 0 1rem;
}
.evo-404__contact-btn {
    display: inline-block;
    margin-top: .75rem;
    padding: .85rem 1.5rem;
    background: #1a2a3a;
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}
.evo-404__contact-btn:hover { background: #0066ff; }
