/* ===== RESET FULL WIDTH ===== */
html, body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ink);
    overflow-x: hidden;
}
html {
    scroll-padding-top: calc(var(--topbar) + 12px);
}
[id] {
    scroll-margin-top: calc(var(--topbar) + 12px);
}
body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}/* /public/assets/css/2026v2.css */
h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
}
:root {
    --container: 100%;
    --gutter: 18px;
    --red: #d72626;
    --ink: #111;
    --muted: #6b6b6b;
    /* 🔥 DISATTIVA CORNICE */
    --radius: 0px;
    --shadow: none;
    --shadow-soft: none;
    --topbar: 74px;
}

.v2 {
    background: #fff;
    padding-top: 0; /* ✅ niente gap sopra */
}
/* =========================================================
   FIX STRUTTURA: v2-wrap deve esistere SEMPRE
   ========================================================= */
.v2-wrap {
    width: 100%;
    max-width: 1180px; /* se vuoi 1100 cambia qui */
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
}
/* Wrapper */
.wrap {
    width: 100%;
    margin: 0;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    box-sizing: border-box;
}
section[id] {
    scroll-margin-top: calc(var(--topbar) + 16px);
}
/* Notice */
.site-notice {
    background: rgba(215,38,38,.08);
    border-bottom: 1px solid rgba(215,38,38,.18);
    color: var(--ink);
    font-size: 14px;
}

    .site-notice .wrap {
        padding: 10px 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

.notice-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--red);
    box-shadow: 0 0 0 4px rgba(215,38,38,.18);
}



/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    letter-spacing: .2px;
}

.brand-mark {
    width: 14px;
    height: 14px;
    border-radius: 6px;
    background: var(--red);
    box-shadow: 0 10px 22px rgba(215,38,38,.35);
}

.brand-name {
    font-size: 18px;
}

.brand-accent {
    color: var(--red);
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

    .nav-links a {
        color: rgba(255,255,255,.92);
        text-decoration: none;
        font-weight: 650;
        font-size: 14px;
    }

        .nav-links a:hover {
            color: #fff;
        }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(215,38,38,.30);
    background: var(--red);
    color: #fff;
    text-decoration: none;
    font-weight: 750;
    box-shadow: 0 14px 26px rgba(215,38,38,.25);
}

    .btn:hover {
        filter: brightness(.98);
    }

.btn-small {
    padding: 10px 14px;
    font-size: 13px;
}

.btn-ghost {
    background: #fff;
    color: var(--red);
    border-color: rgba(215,38,38,.35);
    box-shadow: var(--shadow-soft);
}

/* Burger (mobile) */
.nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.10);
    padding: 10px;
}

    .nav-burger span {
        display: block;
        height: 2px;
        background: #fff;
        border-radius: 999px;
    }

        .nav-burger span + span {
            margin-top: 6px;
        }

.nav-mobile {
    position: absolute;
    top: var(--topbar);
    left: 0;
    right: 0;
    z-index: 6;
    background: rgba(10,10,10,.70);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.10);
}

    .nav-mobile .wrap {
        padding: 14px 0 18px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .nav-mobile a {
        color: #fff;
        text-decoration: none;
        font-weight: 700;
    }

    .nav-mobile .btn {
        width: max-content;
    }

/* Visual banner */

.hero {
    position: relative;
    padding-top: 0;
    margin-top: 0;
}

/* se vuoi limitare l’altezza su desktop */
@media (min-width: 961px) {
    .hero-img {
        max-height: 560px;
        object-fit: contain;
    }
}

/* Caption */
.hero-caption {
    position: relative;
    margin-top: -18px;
    z-index: 4;
}

.caption-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: var(--shadow-soft);
    color: var(--ink);
    font-weight: 750;
}

/* Home sections */
.home-sections {
    padding: 34px 0 24px;
}

.h1 {
    margin: 0;
    font-size: clamp(26px, 3.0vw, 38px);
    line-height: 1.15;
    color: var(--ink);
}

.h2 {
    margin: 0 0 10px;
    font-size: 26px;
    color: var(--ink);
}

.lead {
    margin: 12px 0 0;
    max-width: 72ch;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.cards {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.card {
    text-decoration: none;
    color: var(--ink);
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: var(--shadow-soft);
    padding: 18px 18px;
    transition: transform .12s ease, box-shadow .12s ease;
}

    .card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

.card-ico {
    font-size: 22px;
}

.card-title {
    margin-top: 8px;
    font-weight: 850;
    font-size: 18px;
}

.card-text {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.55;
}

.card-cta {
    margin-top: 14px;
    font-weight: 850;
    color: var(--red);
}

/* Contact section */
.contact {
    padding: 28px 0 60px;
}

.contact-box {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Responsive */
@media (max-width: 960px) {
    :root {
        --topbar: 70px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .nav-burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}
@media (max-width: 520px) {


    .caption-pill {
        width: fit-content;
    }
}
.announce-banner {
    background: transparent;
    border:0px solid rgba(215,38,38,.18);
}

.announce-details {
    width: 100%;
}

.announce-summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    user-select: none;
}

    .announce-summary::-webkit-details-marker {
        display: none;
    }

.announce-title {
    font-weight: 950;
    color: #d72626;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.announce-cta {
    font-weight: 900;
    color: #111;
    background: #fff;
    border: 1px solid rgba(0,0,0,.12);
    padding: 8px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.announce-body {
    padding: 0 14px 14px;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: rgba(0,0,0,.78);
}
/* Safety: niente overlay fantasma sopra il contenuto */
.hero,
.hero-caption {
    pointer-events: none;
}

/* ma la navbar deve restare cliccabile */
.hero-top,
.hero-top .nav,
.hero-top a,
.hero-top button {
    pointer-events: auto;
}
.hero {
    position: relative;
}



.hero + .home-sections {
    margin-top: 18px; /* piccolo respiro sotto */
}
/* menu mobile cliccabile solo quando visibile */
.nav-mobile[hidden] {
    display: none !important;
    pointer-events: none !important;
}

.nav-mobile {
    pointer-events: auto;
}
.hero {
    z-index: 1;
}

.home-sections, .contact {
    position: relative;
    z-index: 2;
}
/* STOP overlap: separa hero e contenuto */
.hero-caption {
    margin-top: 0 !important;
}

.home-sections {
    margin-top: 28px !important;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}
@media (min-width: 1200px) {

    /* =========================================================
   FIX: HEADER/NAV che sfora a destra su mobile
   (override finale, non rompe il resto)
   ========================================================= */

    html, body {
        overflow-x: clip;
    }

    /* la barra deve essere ancorata ai bordi del viewport */
    .v2-topbar,
    .v2-header {
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: clip !important;
    }

        /* se dentro hai un container (wrap) deve essere responsivo */
        .v2-topbar .v2-wrap,
        .v2-header .v2-wrap {
            width: 100% !important;
            max-width: 1100px !important;
            margin: 0 auto !important;
            padding-left: 16px !important;
            padding-right: 16px !important;
            box-sizing: border-box !important;
        }

        /* il blocco nav non deve mai avere min-width o width “rigide” */
        .v2-topbar nav,
        .v2-header nav,
        .navbar {
            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;
        }

        /* eventuali liste/righe di link: permetti wrap e non sforare */
        .v2-topbar ul,
        .v2-header ul {
            max-width: 100% !important;
            min-width: 0 !important;
            flex-wrap: wrap !important;
        }

    /* se qualche elemento ha 100vw o transform che centra: disinnesca */
    .v2-topbar,
    .v2-header {
        transform: none !important;
    }
    /* === FIX OVERFLOW CONTENUTO (sforamento a destra) === */
    html, body {
        overflow-x: clip;
    }

    main, .v2-main, .v2-page, .v2-wrap {
        max-width: 100%;
    }

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

    pre, code {
        max-width: 100%;
        overflow-x: auto;
    }
    /* =========================================================
   FIX GLOBALE: contenitore centrato (no full-width involontario)
   ========================================================= */

    /* 1) v2-wrap deve esistere SEMPRE (non solo >=1200px) */
    .v2-wrap {
        width: 100%;
        max-width: 1180px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    /* 2) se nel progetto hai già usato .wrap ovunque, rendilo equivalente */
    .wrap {
        width: 100%;
        max-width: 1180px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
        box-sizing: border-box;
    }

    /* 3) micro-respiro mobile */
    @media (max-width: 520px) {
        .v2-wrap, .wrap {
            padding-left: 16px;
            padding-right: 16px;
        }
    }
    /* Attacca il banner al blocco precedente */
    .pro-join-soft {
        margin-top: 0 !important;
    }

    /* Se c’è uno spacer generico sul primo blocco dopo hero */
    .container-fluid + .pro-join-soft,
    .hero + .pro-join-soft,
    .v2-hero + .pro-join-soft {
        margin-top: 0 !important;
    }

    main,
    .container,
    .container-fluid,
    .section,
    .wrap {
        background: #fff !important;
    }

    .bau-cta-btn.soft {
        background: #fff5f5;
        color: #ff3b3b;
        border: 1px solid #ffd6d6;
        box-shadow: none;
    }

        .bau-cta-btn.soft:hover {
            background: #ffecec;
        }
        .as-fade-bottom::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-1px;
    height:80px;

    background:linear-gradient(
        180deg,
        rgba(245,248,252,0),
        #f5f8fc 90%
    );

    pointer-events:none;
}
