﻿body {
}
:root {
    --bg: #f3f6f7;
    --fg: #1e3547; /* blu logo */
    --accent: #6e93a7; /* blu/grigio umano */
    --card: #ffffff;
    --muted: #73818a;
    --radius: 18px;
}

body {
    background: var(--bg);
    font-family: Inter, sans-serif;
    color: var(--fg);
    line-height: 1.55;
}

/* NAVBAR */
.navbar {
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #d9dfe3;
}

.nav-link {
    font-weight: 600;
    color: var(--fg)
}

    .nav-link:hover, .nav-link.active {
        color: var(--accent)
    }

.btn-login {
    background: var(--fg);
    color: #fff !important;
    border-radius: 999px;
    padding: .45rem 1.2rem;
    font-weight: 600;
}

    .btn-login:hover {
        background: #142431;
    }

/* HERO VIDEO */
.hero-video-wrap {
    position: relative;
    width: 100%;
    height: clamp(300px, 50vw, 520px);
    overflow: hidden;
    border-bottom: 1px solid #dfe4e7;
}

    .hero-video-wrap video {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(.55);
    }

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

    .hero-video-overlay h1 {
        font-weight: 800;
        font-size: clamp(1.6rem, 4vw, 3rem);
        margin-bottom: .6rem;
    }

    .hero-video-overlay p {
        font-size: clamp(1rem, 2vw, 1.3rem);
        max-width: 700px;
        margin: auto;
        opacity: .9;
    }

/* MAIN CONTENT */
.section-pad {
    padding: 50px 0;
}

/* FOOTER */
footer {
    border-top: 1px solid #d9dfe3;
}

.foot-note {
    font-size: .9rem;
    color: var(--muted);
}

.section-pad {
    padding: 90px 0;
}

/* Titoli sezioni */
h2.section-title {
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--fg);
    margin-bottom: 1.5rem;
}

/* Piccole descrizioni */
.lead-soft {
    font-size: 1.1rem;
    color: var(--muted);
}

.feature-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow);
}

.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .9s ease, transform .9s ease;
}

    .fade-in.show {
        opacity: 1;
        transform: translateY(0);
    }

.soft-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.06);
    transition: transform .35s ease, box-shadow .35s ease;
}

    .soft-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 48px rgba(0,0,0,0.10);
    }

.shadow-soft {
    box-shadow: 0 18px 48px rgba(0,0,0,0.12);
    transition: transform .35s ease, box-shadow .35s ease;
}

    .shadow-soft:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 62px rgba(0,0,0,0.16);
    }

.lead-soft {
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.6;
}

.soft-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 12px 34px rgba(0,0,0,.06);
    transition: transform .35s ease, box-shadow .35s ease;
}

    .soft-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 48px rgba(0,0,0,.12);
    }

.step-badge {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 700;
    background: var(--fg);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 8px 22px rgba(30,53,71,.28);
}

.lead-soft {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.55;
}

.section-title {
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: var(--fg);
}

@media (max-width: 768px) {
    .soft-card {
        padding: 24px;
    }

    .lead-soft {
        font-size: 1rem;
    }

    .step-badge {
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }
}

.feature-icon-lg {
    width: 80px;
    height: 80px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(30,53,71,0.08); /* blu sigillato, molto leggero */
    box-shadow: 0 4px 14px rgba(30,53,71,0.12); /* morbido e basso */
    margin-left: auto;
    margin-right: auto;
    transition: none !important; /* nessun movimento */
}


    .feature-icon-lg:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 36px rgba(0,0,0,0.12);
    }
.card-taglife {
    border-radius: 18px;
    background: #fff;
    padding: 32px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .card-taglife:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.10);
    }

.stat-value {
    margin-top: 8px;
    font-weight: 700;
    font-size: 1.8rem;
    color: #092B40;
}
/* Centra tutto meglio in pagina */
.section-pad {
    padding-top: 80px;
}

/* Allineamento generale */
body {
    background: #f4f7f8;
}

/* Card migliorata */
.card-taglife {
    border-radius: 22px;
    background: #fff;
    padding: 38px 20px;
    text-align: center;
    box-shadow: 0 18px 48px rgba(0,0,0,0.07);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .card-taglife:hover {
        transform: translateY(-6px);
        box-shadow: 0 22px 60px rgba(0,0,0,0.10);
    }

.stat-value {
    margin-top: 12px;
    font-weight: 700;
    font-size: 2rem;
    color: #092B40;
}
.foto-profilo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #e1ecf4;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.foto-container {
    text-align: center;
    margin-bottom: 20px;
}

.menu-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #083b61;
}


