/* View: Views/Home/Index.cshtml */
:root {
    --ap-font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ap-ink: #1d1d1f;
    --ap-grey: #6e6e73;
    --ap-grey2: #86868b;
    --ap-line: #e3e3e8;
    --ap-surface: #f5f5f7;
    --ap-cyan: #009fda;
    --ap-cyan-d: #007aa3;

    --fs-display: clamp(2.6rem, 6vw, 4.6rem);
    --fs-h2: clamp(2rem, 4.4vw, 3.4rem);
    --fs-h2-xl: clamp(2.4rem, 6vw, 4.4rem);
    --fs-card: 1.28rem;
    --fs-lead: clamp(1.05rem, 1.35vw, 1.25rem);
    --fs-sub: clamp(1rem, 1.2vw, 1.12rem);
    --ls-tight: -.03em;
    --ls-snug: -.015em;
    --lh-tight: 1.05;
}

#header.fixed-top { background-color: rgba(255,255,255,.82) !important; -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--ap-line); }
#header.fixed-top a, #header.fixed-top .nav-link, #header.fixed-top .navbar-nav .nav-link, #header.fixed-top li a { color: var(--ap-ink) !important; }

#hero-home { background: #fff !important; }
#hero-home .container { position: relative; z-index: 3; }
#hero-home canvas { z-index: 1; }
#hero-home h4.text-jaune { color: var(--ap-grey) !important; -webkit-text-fill-color: currentColor; background: none; font-family: var(--ap-font); font-weight: 500; font-size: var(--fs-sub); letter-spacing: 0; text-transform: none; margin-bottom: 16px; }
#hero-home h1 { color: var(--ap-ink) !important; font-family: var(--ap-font); font-weight: 600; font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); }
#hero-home .btn.btn-primary { background: var(--ap-ink) !important; color: #fff !important; border: 0 !important; border-radius: 980px !important; padding: 15px 32px !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; box-shadow: none !important; }
#hero-home .btn.btn-primary:hover { background: #000 !important; }

#main { background: #fff; color: var(--ap-ink); font-family: var(--ap-font); -webkit-font-smoothing: antialiased; letter-spacing: -.01em; }
#main p, #main h1, #main h2, #main h3, #main h4, #main h5, #main li, #main a, #main span, #main button { font-family: var(--ap-font); }

.hp-sec { position: relative; overflow: hidden; padding: clamp(84px, 11vw, 168px) 0; background: #fff; }
.hp-sec--light { background: var(--ap-surface); }

.hp-title { font-weight: 600; color: var(--ap-ink); font-size: var(--fs-h2); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); margin: 0 0 14px; }
.hp-title--xl { font-size: var(--fs-h2-xl); }
.hp-title span { color: inherit; }
.hp-title span.hl, .hp-band h2 span.hl { color: var(--ap-cyan); }

.hp-sub { font-size: var(--fs-lead); color: var(--ap-ink); font-weight: 600; line-height: 1.4; margin: 0; }
.hp-lead { font-size: var(--fs-sub); color: var(--ap-grey); line-height: 1.6; font-weight: 400; max-width: 540px; margin: 22px 0 0; }
.hp-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hp-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--ap-ink); color: #fff; font-size: 16px; font-weight: 500; padding: 16px 30px; border-radius: 980px; text-decoration: none; transition: transform .15s, background .2s; }
.hp-cta:hover { background: #000; color: #fff; transform: translateY(-1px); text-decoration: none; }
.hp-btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ap-ink); border: 1px solid var(--ap-line); font-size: 16px; font-weight: 500; padding: 15px 28px; border-radius: 980px; text-decoration: none; transition: border-color .2s, transform .15s; }
.hp-btn-ghost:hover { border-color: #b8b8c0; color: var(--ap-ink); transform: translateY(-1px); text-decoration: none; }
.hp-link { display: inline-flex; align-items: center; gap: 6px; color: var(--ap-ink); font-weight: 500; font-size: 16px; text-decoration: none; }
.hp-link i { transition: transform .2s; }
.hp-link:hover { color: var(--ap-ink); text-decoration: none; }
.hp-link:hover i { transform: translateX(3px); }
.txt-ink {
    color: var(--ap-ink);
    font-weight: 600;
}
.hp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.hp-head .hp-title { margin-bottom: 0; }

.hp-media-wrap { position: relative; }
.hp-media-wrap::before {
    content: ""; position: absolute; z-index: 0; inset: -12% -10%;
    background:
        radial-gradient(55% 55% at 45% 38%, rgba(110,170,255,.50), transparent 72%),
        radial-gradient(45% 45% at 82% 66%, rgba(196,168,255,.42), transparent 72%),
        radial-gradient(45% 45% at 18% 80%, rgba(255,198,176,.38), transparent 72%),
        radial-gradient(45% 40% at 32% 16%, rgba(150,240,210,.36), transparent 72%);
    filter: blur(48px); border-radius: 48px; opacity: .85;
}
.hp-media { position: relative; z-index: 1; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px -45px rgba(20,30,60,.35); }
.hp-media img { display: block; width: 100%; height: auto; }
.hp-media--bare { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }

.hp-band { position: relative; overflow: hidden; background: var(--ap-surface); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: clamp(60px, 8vw, 100px) 0; text-align: center; }
.hp-band > .container { width: 100%; position: relative; z-index: 2; }
.hp-band__sub { color: var(--ap-grey); font-size: var(--fs-sub); margin-bottom: 14px; }
.hp-band h2 { font-weight: 600; color: var(--ap-ink); font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: var(--ls-tight); line-height: var(--lh-tight); margin: 0 0 18px; }
.hp-band p { color: var(--ap-grey); font-size: 1.2rem; margin-bottom: 32px; }

.hp-bandDark{background: #000 !important;}
.hp-bandDark h2, .hp-bandDark p, .hp-band__sub{color: #fff;}
.hp-band__imgwrap {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(680px, 88vw);
    pointer-events: none;
    z-index: 0;
}
.hp-band__bgimg {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
    filter: blur(28px) brightness(0.55);
    transform: translateY(50px) scale(0.94);
    transition:
        opacity 1.5s cubic-bezier(.2,.65,.3,1),
        filter 1.8s cubic-bezier(.2,.65,.3,1),
        transform 1.8s cubic-bezier(.2,.65,.3,1);
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.45) 50%, transparent 100%);
    mask-image: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.45) 50%, transparent 100%);
}
.hp-band__bgimg.is-visible {
    opacity: 0.52;
    filter: blur(0px) brightness(0.52);
    transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
    .hp-band__bgimg { transition: none !important; opacity: 0.42 !important; filter: blur(0px) brightness(0.52) !important; transform: translateY(0) scale(1) !important; }
}

.hp-band__inline-img {

    position: absolute;
    width: 56vw;
    height: auto;
    margin: 0 auto 0;

    z-index: 1;
    bottom: -38%;
    transform: rotate(-5deg);
    margin-top: 2rem;
}
.hp-band__inline-img2 {

    position: absolute;
    width: 40vw;
    height: auto;
    margin: 0 auto 0;

    z-index: 1;
    bottom: -25%;
    transform: rotate(-5deg);
    margin-top: 2rem;
}

.hp-cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, #e7f6fd 0%, #f3fbff 55%, #ffffff 100%); border: 1px solid #d4ecfa; border-radius: 32px; padding: clamp(56px, 8vw, 110px) 32px; text-align: center; }
.hp-cta-band::before { content: ""; position: absolute; z-index: 0; top: -45%; left: 50%; width: 70%; aspect-ratio: 1; transform: translateX(-50%); background: radial-gradient(circle, rgba(0,159,218,.20), transparent 65%); filter: blur(54px); pointer-events: none; }
.hp-cta-band > * { position: relative; z-index: 1; }
.hp-cta-band .hp-title { margin-bottom: 12px; }
.hp-cta-band .hp-actions { margin-top: 30px; justify-content: center; }

.hp-svc-trio {
    align-items: center;
}

.hp-svc-u {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 460px;
    background: radial-gradient(120% 100% at 50% 0%, #232327 0%, #111114 55%, #0a0a0c 100%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 26px;
    overflow: hidden;
    text-decoration: none;
    transition: transform .35s cubic-bezier(.2,.65,.3,1), box-shadow .35s, border-color .35s;
}
.hp-svc-u:hover {
    transform: translateY(-6px);
    border-color: rgba(0,159,218,.50);
    box-shadow: 0 0 0 1px rgba(0,159,218,.28), 0 34px 80px -30px rgba(0,159,218,.55);
    text-decoration: none;
}


.hp-svc-u--center {
    min-height: 560px;
    transform: none;
    transform-origin: center center;
    z-index: 2;
    border-color: rgba(0,159,218,.18);
    box-shadow: 0 24px 80px -28px rgba(0,0,0,.55), 0 0 0 1px rgba(0,159,218,.22);
}
.hp-svc-u--center:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 0 1px rgba(0,159,218,.38), 0 40px 90px -30px rgba(0,159,218,.60);
}


.hp-svc-u .svc-img-fill {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hp-svc-u .svc-img-fill img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hp-svc-u .svc-img-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.74) 0%, rgba(0,0,0,.40) 48%, rgba(0,0,0,.10) 100%);
}


.hp-svc-u .svc-img-bottom {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.hp-svc-u .svc-img-bottom img {
    display: block;
    width: 74%;
    max-width: 290px;
    height: auto;
    border-radius: 14px 14px 0 0;
    filter: drop-shadow(0 -16px 40px rgba(0,159,218,.20));
    transition: transform .4s cubic-bezier(.2,.65,.3,1);
}
.hp-svc-u:hover .svc-img-bottom img { transform: translateY(-6px) scale(1.02); }


.hp-svc-u .svc-text {
    position: relative;
    z-index: 2;
    padding: 34px 30px 0;
    flex-shrink: 0;
}
.hp-svc-u .svc-ico-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background .3s, border-color .3s;
}
.hp-svc-u:hover .svc-ico-badge {
    background: rgba(0,159,218,.30);
    border-color: rgba(0,159,218,.50);
}
.hp-svc-u .svc-title {
    color: #fff;
    font-weight: 600;
    font-size: clamp(1.4rem, 1.9vw, 1.75rem);
    letter-spacing: var(--ls-snug);
    line-height: 1.18;
    margin: 0 0 10px;
}
.hp-svc-u .svc-desc {
    color: rgba(255,255,255,.52);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}
.hp-svc-u .svc-arrow {
    position: absolute;
    z-index: 3;
    top: 28px; right: 28px;
    color: rgba(255,255,255,.40);
    font-size: 1.6rem;
    transition: color .25s, transform .25s;
}
.hp-svc-u:hover .svc-arrow { color: #fff; transform: translateX(4px); }

@media (max-width: 991px) {
    .hp-svc-u { min-height: 360px; }
    .hp-svc-u--center {
        min-height: 420px;
        transform: none;
        box-shadow: none;
        border-color: rgba(255,255,255,.08);
    }
    .hp-band__inline-img2, .hp-band__inline-img{display:none;}
    .hp-svc-u--center:hover { transform: translateY(-6px); }
}
@media (max-width: 575px) {
    .hp-svc-u { min-height: 300px; }
    .hp-svc-u--center { min-height: 360px; }
}


.hp-stats-row { border-top: 1px solid var(--ap-line); border-bottom: 1px solid var(--ap-line); }
.hp-stat { text-align: center; padding: clamp(36px, 5vw, 60px) 24px; }
.hp-stat--div { border-left: 1px solid var(--ap-line); }
.hp-stat .hp-stat__num { font-weight: 600; color: var(--ap-ink); font-size: clamp(4.5rem, 10vw, 8.5rem); line-height: 1; letter-spacing: -.04em; }
.hp-stat .hp-stat__lab { font-size: 1.15rem; color: var(--ap-grey); margin-top: 18px; }

.box-cer-extra { display: flex; flex-direction: column; justify-content: center; background: var(--ap-surface) !important; border: 1px solid transparent; border-radius: 24px; min-height: 210px; padding: 40px 44px; text-decoration: none; transition: transform .3s cubic-bezier(.2,.65,.3,1), box-shadow .3s, border-color .3s; }
.box-cer-extra:hover { transform: translateY(-5px); border-color: rgba(0,159,218,.35); box-shadow: 0 0 0 1px rgba(0,159,218,.20), 0 18px 50px -16px rgba(0,159,218,.45); }
.box-cer-extra--land { min-height: 248px; padding: 48px 52px; }
.box-cer-extra__content { display: flex; flex-direction: column; align-items: flex-start; }
.box-cer-extra h2 { color: var(--ap-ink); font-weight: 600; font-size: 1.55rem; letter-spacing: var(--ls-snug); margin-bottom: 10px; }
.box-cer-extra--land h2 { font-size: 2.2rem; }
.box-cer-extra h3 { color: var(--ap-grey); font-weight: 400; font-size: 1rem; line-height: 1.5; margin-bottom: 24px; }
.box-cer-extra__btn { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 0; color: var(--ap-ink); padding: 0; font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 1rem; transition: color .2s; }
.box-cer-extra__btn::after { content: "\2192"; font-size: 1.2rem; line-height: 1; transition: transform .2s; }
.box-cer-extra:hover .box-cer-extra__btn { background: transparent; color: var(--ap-cyan); }
.box-cer-extra:hover .box-cer-extra__btn::after { transform: translateX(4px); }

.hp-installer { background: var(--ap-surface); border: 0; border-radius: 32px; overflow: hidden; }
.hp-installer h2 { color: var(--ap-ink); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; margin-bottom: 12px; letter-spacing: -.02em; }
.hp-installer .hp-sub { margin-bottom: 26px; }
.hp-installer ul { list-style: none; padding: 0; margin: 0 0 34px; }
.hp-installer ul li { color: var(--ap-ink); font-size: 1.12rem; padding: 9px 0; display: flex; align-items: flex-start; gap: 14px; }
.hp-installer ul li i { color: var(--ap-cyan); font-size: 1.4rem; flex-shrink: 0; }

.hp-installer--dark { background: #000; position: relative; overflow: hidden; }
.hp-installer--dark h2 { color: #fff; }
.hp-installer--dark h2 span{ color: var(--ap-cyan); }
.hp-installer--dark .hp-sub { color: rgba(255,255,255,.7); }
.hp-installer--dark ul li { color: #fff; }
.hp-installer--dark ul li i { color: var(--ap-cyan); }
.hp-installer--dark .hp-inst-img-col { position: relative; align-self: flex-end; padding: 0; }
.hp-installer--dark .hp-inst-img-col img { display: block; margin: 0 -40px -56px auto; max-width: 118%; height: auto; }
@media (max-width: 991px) {
    .hp-installer--dark { overflow: hidden; }
    .hp-installer--dark .hp-inst-img-col img { margin: 24px auto 0; max-width: 100%; }
}

.main-partner-logos { display: flex; align-items: center; justify-content: center; gap: 80px; flex-wrap: wrap; margin-top: 8px; }
.main-partner-logos a { display: flex; align-items: center; }
.main-partner-logos img { max-height: 96px; max-width: 300px; object-fit: contain; }
@media (max-width: 767px) {
    .main-partner-logos { gap: 40px; justify-content: center; }
    .main-partner-logos img { max-height: 68px; max-width: 220px; }
}

.hp-book { position: relative; text-align: center; background: linear-gradient(180deg, #ffffff 0%, var(--ap-surface) 100%); border: 1px solid var(--ap-line); border-radius: 28px; padding: 44px 30px 40px; height: auto; display: flex; flex-direction: column; align-items: center; overflow: hidden; transition: transform .35s cubic-bezier(.2,.65,.3,1), box-shadow .35s, border-color .35s; }
.hp-book::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 45%; background: radial-gradient(70% 90% at 50% 0%, rgba(0,159,218,.10), transparent 72%); pointer-events: none; }
.hp-book:hover { transform: translateY(-6px); border-color: rgba(0,159,218,.30); box-shadow: 0 30px 70px -28px rgba(0,159,218,.42); }
.hp-book img { position: relative; max-width: 66%; margin-bottom: 32px; filter: drop-shadow(0 26px 32px rgba(20,30,60,.22)); transition: transform .35s cubic-bezier(.2,.65,.3,1); }
.hp-book:hover img { transform: translateY(-4px) scale(1.02); }
.hp-book .hp-cta { position: relative; margin-top: auto; }
.hp-book--mid { padding: 54px 34px 48px; border-radius: 30px; box-shadow: 0 30px 70px -34px rgba(20,30,60,.28); }
.hp-book--mid img { max-width: 98%; }

.hp-blog .tab-menu { gap: 10px; border-bottom: none; margin-bottom: 48px; }
.hp-blog .tab-menu .nav-link { font-size: .95rem; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ap-grey); background: var(--ap-surface); border: 0; border-radius: 980px; padding: 9px 22px; margin: 0; transition: all .2s; }
.hp-blog .tab-menu .nav-link:hover { color: var(--ap-ink); background: #ececf0; transform: none; }
.hp-blog .tab-menu .nav-link.active { color: #fff; background: var(--ap-ink); border-color: var(--ap-ink); box-shadow: none; }

.hp-blog .card-media {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, var(--ap-surface) 100%);
    border: 1px solid var(--ap-line);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: none;
    transition: transform .35s cubic-bezier(.2,.65,.3,1), box-shadow .35s, border-color .35s;
}
.hp-blog .card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: opacity .35s;
    background: radial-gradient(70% 60% at 50% 100%, rgba(0,159,218,.10), transparent 72%);
}
.hp-blog .card-media:hover {
    transform: translateY(-6px);
    border-color: rgba(0,159,218,.30);
    box-shadow: 0 30px 70px -28px rgba(0,159,218,.42);
}
.hp-blog .card-media:hover::after { opacity: 1; }
.hp-blog .card-media img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border: 0;
    border-radius: 0;
    display: block;
    transition: transform .45s cubic-bezier(.2,.65,.3,1), filter .25s;
}
.hp-blog .card-media:hover img { transform: scale(1.04); filter: brightness(.97); }
.hp-blog .card-media__body {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 26px 28px 28px;
}
.hp-blog .card-media__tag { font-size: .85rem; color: var(--ap-grey); font-weight: 500; text-transform: none; letter-spacing: 0; margin-bottom: 10px; }
.hp-blog .card-media__title { font-size: 1.4rem; font-weight: 600; color: var(--ap-ink); line-height: 1.2; letter-spacing: var(--ls-snug); margin-bottom: 14px; }
.hp-blog .card-media__arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    color: var(--ap-ink);
    font-weight: 500;
    font-size: 1rem;
    transition: color .2s, gap .2s;
}
.hp-blog .card-media__arrow i { transition: transform .2s; }
.hp-blog .card-media:hover .card-media__arrow { color: var(--ap-cyan); gap: 10px; }
.hp-blog .card-media:hover .card-media__arrow i { transform: translateX(3px); }
.hp-blog .scopri-new { display: none; }

.hp-logos .card { background: transparent; border: 0; }
.hp-logos .card-body { display: flex; align-items: center; justify-content: center; background: transparent; }


.hp-faq .faq-support-box { background: var(--ap-surface); border: 1px solid var(--ap-line); border-radius: 24px; padding: 36px 32px; height: 100%; }
.hp-faq .faq-support-box h2 { font-size: 1.5rem; font-weight: 600; color: var(--ap-ink); margin-bottom: 16px; letter-spacing: var(--ls-snug); }
.hp-faq .faq-support-box p { font-size: .98rem; color: var(--ap-grey); line-height: 1.6; margin-bottom: 24px; }

/* Chat trigger button */
.faq-chat-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--ap-ink);
    color: #fff;
    border: 0;
    border-radius: 980px;
    padding: 14px 26px;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--ap-font);
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, transform .15s, box-shadow .2s;
    margin-bottom: 12px;
}
.faq-chat-trigger:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px -8px rgba(0,0,0,.32);
    text-decoration: none;
}
.faq-chat-trigger i { font-size: 1.2rem; }

.faq-consult-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ap-grey);
    font-size: .92rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s;
}
.faq-consult-link:hover { color: var(--ap-ink); text-decoration: none; }
.faq-consult-link i { transition: transform .2s; }
.faq-consult-link:hover i { transform: translateX(3px); }


.hp-faq .accordion-item { background: #fff; border: 0 !important; border-bottom: 1px solid var(--ap-line) !important; border-radius: 0 !important; margin-bottom: 0; }
.hp-faq .accordion-button { font-weight: 500; font-size: 1.1rem; color: var(--ap-ink) !important; background: #fff !important; box-shadow: none !important; border-radius: 0 !important; padding: 22px 8px; letter-spacing: var(--ls-snug); }
.hp-faq .accordion-button:not(.collapsed) { color: var(--ap-ink) !important; background: #fff !important; }
.hp-faq .accordion-button::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231d1d1f' stroke-width='1.6' d='M2 5l6 6 6-6'/%3E%3C/svg%3E"); background-size: 15px; }
.hp-faq .accordion-body { font-size: 1rem; color: var(--ap-grey); line-height: 1.7; border-top: 0; padding: 0 8px 24px; }
.hp-faq .accordion-body a { color: var(--ap-cyan); text-decoration: underline; }
.hp-faq .accordion-body strong { color: var(--ap-ink); }
.hp-faq .accordion-body ul { margin: 8px 0 0; padding-left: 18px; }
.hp-faq .accordion-body li { margin-bottom: 6px; }

#main [data-aos] { opacity: 1 !important; transform: none !important; }
.rv { opacity: 0; transform: translateY(34px) scale(.985); filter: blur(8px); transition: opacity 1s cubic-bezier(.2,.65,.3,1), transform 1.15s cubic-bezier(.2,.65,.3,1), filter 1s ease; will-change: opacity, transform, filter; }
.rv.is-in { opacity: 1; transform: none; filter: none; }
.rv--soft { transform: translateY(46px) scale(.965); transition-duration: 1.2s, 1.4s, 1.2s; }
.hp-blog .card-media.rv.is-in { transition: opacity 1s cubic-bezier(.2,.65,.3,1), transform .35s cubic-bezier(.2,.65,.3,1), filter 1s ease, box-shadow .35s, border-color .35s; }

@media (min-width: 992px) {
    .hp-book--side { margin-top: 44px; }
}
@media (max-width: 991px) {
    .hp-sec { padding: 64px 0; }
    .hp-installer { border-radius: 22px; }
    .hp-head { margin-bottom: 36px; }
    .hp-media-wrap { margin-top: 36px; }
    .hp-stat--div { border-left: 0; border-top: 1px solid var(--ap-line); }
}
@media (max-width: 575px) {
    .hp-band h2 { font-size: 2rem; }
    .hp-blog .card-media img { height: 200px; }
    .hp-blog .card-media__body { padding: 22px 22px 24px; }
    .hp-stat .hp-stat__num { font-size: clamp(4rem, 22vw, 6rem); }
}
@media (prefers-reduced-motion: reduce) {
    .rv, .rv--soft { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

.cer-slider-wrap {
    position: relative;
    margin-right: calc(-1 * var(--cer-bleed, 40px));
}
.cer-swiper { overflow: visible; padding-bottom: 4px; }
.hp-sec#soluzioni2 { overflow: hidden; }
.cer-swiper .swiper-slide { height: auto; }
.cer-card {
    display: flex; flex-direction: column; justify-content: space-between;
    height: 100%; min-height: 220px; background: var(--ap-surface);
    border: 1px solid transparent; border-radius: 24px; padding: 36px 36px 30px;
    text-decoration: none;
    transition: transform .3s cubic-bezier(.2,.65,.3,1), box-shadow .3s, border-color .3s, background .3s;
    cursor: pointer; position: relative; overflow: hidden;
}
.cer-card::after {
    content: ""; position: absolute; inset: 0; border-radius: 24px; opacity: 0;
    transition: opacity .3s;
    background: radial-gradient(60% 60% at 90% 90%, rgba(0,159,218,.09), transparent);
}
.cer-card:hover {
    transform: translateY(-5px); border-color: rgba(0,159,218,.32);
    box-shadow: 0 0 0 1px rgba(0,159,218,.18), 0 22px 50px -22px rgba(0,159,218,.42);
    text-decoration: none;
}
.cer-card:hover::after { opacity: 1; }
.cer-card--xl { min-height: 260px; background: var(--ap-ink); border-color: transparent; }
.cer-card--xl:hover {
    border-color: rgba(0,159,218,.50);
    box-shadow: 0 0 0 1px rgba(0,159,218,.28), 0 28px 60px -24px rgba(0,0,0,.55);
}
.cer-card--xl .cer-card__tag { color: rgba(255,255,255,.45); }
.cer-card--xl .cer-card__title { color: #fff; }
.cer-card--xl .cer-card__sub { color: rgba(255,255,255,.60); }
.cer-card--xl .cer-card__arrow { color: var(--ap-cyan); border-color: rgba(0,159,218,.35); }
.cer-card--xl .cer-card__arrow:hover { background: var(--ap-cyan); color: #fff; border-color: var(--ap-cyan); }
.cer-card__top { flex: 1; }
.cer-card__tag {
    font-family: var(--ap-font); font-size: 11px; font-weight: 700;
    color: var(--ap-grey); text-transform: uppercase; letter-spacing: 1.8px;
    margin-bottom: 14px; display: block;
}
.cer-card__title {
    font-family: var(--ap-font); font-size: clamp(1.45rem, 2.2vw, 1.9rem);
    font-weight: 600; color: var(--ap-ink); letter-spacing: var(--ls-snug);
    line-height: 1.15; margin: 0 0 10px;
}
.cer-card__sub {
    font-family: var(--ap-font); font-size: .93rem; color: var(--ap-grey);
    line-height: 1.55; margin: 0;
}
.cer-card__arrow {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ap-line);
    color: var(--ap-ink); font-size: 20px; margin-top: 28px; flex-shrink: 0;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.cer-card:hover .cer-card__arrow {
    background: var(--ap-ink); color: #fff; border-color: var(--ap-ink); transform: translateX(3px);
}
.cer-slider-controls { display: flex; align-items: center; gap: 20px; margin-top: 32px; }
.cer-progress-bar {
    flex: 1; height: 2px; background: var(--ap-line); border-radius: 2px;
    overflow: hidden; max-width: 320px;
}
.cer-progress-fill {
    height: 100%; background: var(--ap-ink); border-radius: 2px; width: 20%;
    transition: width .35s cubic-bezier(.4,0,.2,1);
}
.cer-slider-nav { display: flex; gap: 8px; }
.cer-nav-btn {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ap-line);
    background: #fff; color: var(--ap-ink); display: flex; align-items: center;
    justify-content: center; font-size: 18px; cursor: pointer;
    transition: border-color .2s, background .2s, color .2s;
}
.cer-nav-btn:hover { border-color: var(--ap-ink); background: var(--ap-ink); color: #fff; }
.cer-nav-btn:disabled, .cer-nav-btn.swiper-button-disabled { opacity: .3; pointer-events: none; }
@media (max-width: 991px) {
    :root { --cer-bleed: 24px; }
    .cer-card { padding: 28px 28px 24px; min-height: 190px; }
    .cer-card--xl { min-height: 220px; }
}
@media (max-width: 575px) {
    :root { --cer-bleed: 16px; }
    .cer-card { padding: 24px 22px 20px; }
    .cer-progress-bar { max-width: 160px; }
}
#soluzioni2{height:auto!important;}
.hp-cta--white { background: #fff; color: var(--ap-ink); }
.hp-cta--white:hover { background: var(--ap-cyan); color: #fff; }

.hp-sec > .container > .mb-5 { text-align: center; }
.hp-sec > .container > .mb-5 .hp-sub { max-width: 820px; margin-left: auto; margin-right: auto; }
.hp-head { flex-direction: column; align-items: center; text-align: center; }

.pnrr-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: #000;
    font-family: var(--ap-font);
    transform: translateY(115%);
    transition: transform .55s cubic-bezier(.16,1,.3,1);
    will-change: transform;
    overflow: visible;
}
.pnrr-banner.is-visible { transform: translateY(0); }
.pnrr-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ap-cyan), transparent);
    z-index: 3;
}
.pnrr-banner-inner {
    --pnrr-img-w: clamp(330px, 33vw, 470px);
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding: 18px 76px 18px calc(var(--pnrr-img-w) - 8px);
    display: flex;
    align-items: center;
    gap: 22px;
}
.pnrr-banner-link {
    display: flex;
    align-items: center;
    gap: 22px;
    text-decoration: none;
    flex: 1;
    min-width: 0;
}
.pnrr-banner-link:hover { text-decoration: none; }
.pnrr-banner-text { min-width: 0; }
.pnrr-banner-media {
    position: absolute;
    left: 4px;
    bottom: calc(var(--pnrr-img-w) * -0.2725 - 12px);
    width: var(--pnrr-img-w);
    height: var(--pnrr-img-w);
    pointer-events: none;
    z-index: 5;
}
.pnrr-banner-media::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 98%;
    height: 62%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(0,159,218,.38), transparent 68%);
    filter: blur(26px);
    z-index: 0;
}
.pnrr-banner-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 22px 34px rgba(0,0,0,.42));
}
.pnrr-banner-eyebrow {
    font-size: 11px;
    font-weight: 700;
    color: var(--ap-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.pnrr-banner-title {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
    letter-spacing: var(--ls-snug);
    margin: 0 0 4px;
}
.pnrr-banner-title span { color: var(--ap-cyan); }
.pnrr-banner-sub {
    font-size: .85rem;
    color: #a1a1a8;
    line-height: 1.5;
    margin: 0;
}
.pnrr-banner-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--ap-ink);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 980px;
    text-decoration: none;
    transition: background .2s, color .2s, transform .15s, box-shadow .25s;
}
.pnrr-banner-cta:hover {
    background: var(--ap-cyan);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 34px -12px rgba(0,159,218,.65);
    text-decoration: none;
}
.pnrr-banner-cta i { font-size: 1.25em; line-height: 0; }
.pnrr-banner-close {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    z-index: 4;
    transition: background .2s, border-color .2s, transform .25s;
}
.pnrr-banner-close:hover {
    background: rgba(255,255,255,.16);
    border-color: rgba(255,255,255,.32);
    transform: rotate(90deg);
}
body.pnrr-banner-aperto #supportai-chat-icon {
    bottom: calc(var(--pnrr-banner-h, 120px) + 16px) !important;
    transition: bottom .45s ease;
}
body.pnrr-banner-aperto #supportai-chat-tooltip {
    bottom: calc(var(--pnrr-banner-h, 120px) + 80px) !important;
    transition: bottom .45s ease;
}
@media (max-width: 1279px) {
    .pnrr-banner-sub { display: none; }
}
@media (max-width: 991px) {
    .pnrr-banner-inner {
        --pnrr-img-w: 250px;
        padding: 48px 68px 16px 24px;
        gap: 16px;
    }
    .pnrr-banner-media {
        left: 8px;
        bottom: auto;
        top: calc(var(--pnrr-img-w) * -0.7275 + 30px);
    }
    .pnrr-banner-link { gap: 14px; }
    .pnrr-banner-cta { padding: 12px 22px; font-size: 14px; }
}
@media (max-width: 767px) {
    .pnrr-banner-inner {
        --pnrr-img-w: 210px;
        flex-wrap: wrap;
        padding: 44px 16px 14px;
        gap: 10px;
    }
    .pnrr-banner-media {
        left: 10px;
        top: calc(var(--pnrr-img-w) * -0.7275 + 28px);
    }
    .pnrr-banner-link { gap: 12px; flex: 1 1 100%; }
    .pnrr-banner-eyebrow { font-size: 10px; letter-spacing: 1.6px; margin-bottom: 3px; }
    .pnrr-banner-title { font-size: .92rem; }
    .pnrr-banner-cta { flex: 1 1 100%; justify-content: center; padding: 12px 20px; font-size: 14px; }
    .pnrr-banner-close { top: 9px; right: 11px; width: 29px; height: 29px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
    .pnrr-banner { transition: none; }
    .pnrr-banner-close:hover { transform: none; }
}
