/**
 * REI — Pagina Truffe Telefoniche (Tutela utenti)
 * Ottava REI Static Page. Stile coerente: sfondo decorativo, hero, sezioni
 * numerate con titolo verde + numero, 2 bottoni "INVIA SEGNALAZIONE" pillola
 * scura a tutta larghezza (a metà pagina + in fondo).
 *
 * @since 1.10.0
 */

body.rei-static-page--truffe-telefoniche { background: var(--rei-cream, #F4F8F6); }

.rei-truffe { position: relative; min-height: 60vh; overflow: hidden; padding-bottom: 80px; }
.rei-truffe__container { max-width: 1080px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }

/* ===== SFONDO DECORATIVO ===== */
.rei-truffe__bg {
    position: absolute; inset: 0; pointer-events: none; z-index: 1;
    overflow: hidden;
}
.rei-truffe__glow {
    position: absolute; width: 600px; height: 600px; border-radius: 50%;
    filter: blur(120px); opacity: 0.22;
}
.rei-truffe__glow--tl { top: -200px; left: -180px; background: radial-gradient(circle, #20A47B 0%, transparent 70%); }
.rei-truffe__glow--tr { top: -150px; right: -200px; background: radial-gradient(circle, #D1E000 0%, transparent 70%); opacity: 0.16; }
.rei-truffe__glow--bl { bottom: -240px; left: -160px; background: radial-gradient(circle, #D1E000 0%, transparent 70%); opacity: 0.16; }
.rei-truffe__glow--br { bottom: -200px; right: -180px; background: radial-gradient(circle, #20A47B 0%, transparent 70%); }

.rei-truffe__particle {
    position: absolute; opacity: 0.13;
    animation: rei-truffe-float 4s ease-in-out infinite;
}
.rei-truffe__particle svg { width: 100%; height: 100%; display: block; }
@keyframes rei-truffe-float {
    0%   { transform: scale(0.5) rotate(-6deg); opacity: 0.05; }
    50%  { transform: scale(1.1) rotate(5deg);  opacity: 0.22; }
    100% { transform: scale(0.5) rotate(-6deg); opacity: 0.05; }
}
@media (prefers-reduced-motion: reduce) {
    .rei-truffe__particle { animation: none; opacity: 0.11; }
}

/* 14 particelle, stesse posizioni delle pagine precedenti */
.rei-truffe__particle--1  { top:  3%; left:  1%; width: 200px; height: 200px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); }
.rei-truffe__particle--2  { top: 11%; right: 2%; width: 225px; height: 225px; color: #D1E000; filter: drop-shadow(0 0 24px rgba(209,224,0,0.5)); }
.rei-truffe__particle--3  { top: 23%; left:  6%; width: 170px; height: 170px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 0.8s; }
.rei-truffe__particle--4  { top: 30%; right: 7%; width: 150px; height: 150px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 1.2s; }
.rei-truffe__particle--5  { top: 40%; left:  2%; width: 190px; height: 190px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 2s; }
.rei-truffe__particle--6  { top:  7%; left: 43%; width: 160px; height: 160px; color: #D1E000; filter: drop-shadow(0 0 24px rgba(209,224,0,0.5)); animation-delay: 0.5s; }
.rei-truffe__particle--7  { top: 51%; right: 3%; width: 215px; height: 215px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 1.5s; }
.rei-truffe__particle--8  { top: 35%; left: 29%; width: 150px; height: 150px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 3s; }
.rei-truffe__particle--9  { top: 61%; left:  8%; width: 180px; height: 180px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 2.2s; }
.rei-truffe__particle--10 { top: 69%; right: 20%; width: 165px; height: 165px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 0.9s; }
.rei-truffe__particle--11 { top: 47%; left: 47%; width: 170px; height: 170px; color: #D1E000; filter: drop-shadow(0 0 24px rgba(209,224,0,0.5)); animation-delay: 1.8s; }
.rei-truffe__particle--12 { top: 79%; left: 31%; width: 200px; height: 200px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 2.6s; }
.rei-truffe__particle--13 { top: 87%; right: 5%; width: 185px; height: 185px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 1.1s; }
.rei-truffe__particle--14 { top: 92%; left:  4%; width: 155px; height: 155px; color: #20A47B; filter: drop-shadow(0 0 24px rgba(32,164,123,0.5)); animation-delay: 3.4s; }

/* ===== EYEBROW CHIP ===== */
.rei-truffe__eyebrow {
    display: inline-block;
    background: #E4F6F0; color: #20A47B;
    border: 1px solid #D2F0E6;
    padding: 6px 16px; border-radius: 999px;
    font-size: 13px; font-weight: 600;
    margin: 0 0 24px;
}

/* ===== UNDERLINES (riuso pattern luce/gas/trasparenza) ===== */
/* ===== UNDERLINES =====
   v1.11.1: rimossa la definizione locale di .rei-underline / --yellow / --green.
   Vince la regola globale animata di style.css con IntersectionObserver
   (background-image gradient che si "dipinge" da sinistra a destra quando
   l'elemento entra in viewport). */
/* ===== HERO ===== */
.rei-truffe__hero {
    padding: 72px 0 48px;
}
.rei-truffe__title {
    font-size: 52px; line-height: 1.05; font-weight: 800;
    margin: 0 0 36px; color: #157155;
    letter-spacing: -0.02em;
}
.rei-truffe__title-green { color: #20A47B; }
.rei-truffe__intro {
    max-width: 920px;
    font-size: 16px; line-height: 1.75; color: #3C3C3B;
}
.rei-truffe__intro p { margin: 0 0 18px; }
.rei-truffe__intro p:last-child { margin-bottom: 0; }
.rei-truffe__intro strong { font-weight: 700; color: #157155; }

/* ===== STEP (consigli numerati) ===== */
.rei-truffe__step {
    padding: 28px 0 36px;
}
.rei-truffe__h2 {
    font-size: 26px; line-height: 1.25; font-weight: 800;
    color: #20A47B; margin: 0 0 24px;
    letter-spacing: -0.005em;
}
.rei-truffe__h2-num { color: #20A47B; margin-right: 6px; }

.rei-truffe__rich {
    max-width: 920px;
    font-size: 15.5px; line-height: 1.75; color: #3C3C3B;
}
.rei-truffe__rich p { margin: 0 0 16px; }
.rei-truffe__rich p:last-child { margin-bottom: 0; }
.rei-truffe__rich strong { font-weight: 700; color: #157155; }
.rei-truffe__rich ul {
    margin: 0 0 18px 0;
    padding-left: 28px;
}
.rei-truffe__rich ul li {
    margin: 0 0 8px;
    padding-left: 8px;
}
.rei-truffe__rich ul li::marker {
    color: #20A47B;
}

/* ===== BOTTONE "INVIA SEGNALAZIONE" (pillola scura, tutta larghezza) ===== */
.rei-truffe__btn {
    display: flex;
    align-items: center; justify-content: center;
    width: 100%;
    margin: 36px 0 12px;
    background: #5a5a5a; color: #fff;
    padding: 22px 32px;
    border-radius: 999px;
    font-size: 16px; font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.04em;
    box-shadow: 0 24px 60px rgba(0,0,0,0.38), 0 8px 20px rgba(0,0,0,0.20);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.rei-truffe__btn:hover {
    background: #157155;
    transform: translateY(-2px);
    box-shadow: 0 30px 70px rgba(21,113,85,0.55), 0 10px 24px rgba(0,0,0,0.24);
}
.rei-truffe__btn:focus-visible {
    outline: 3px solid #D1E000; outline-offset: 3px;
}
.rei-truffe__btn--final { margin-top: 24px; margin-bottom: 60px; }

/* ===== SEZIONE CTA FINALE ===== */
.rei-truffe__cta {
    padding: 24px 0 16px;
}
.rei-truffe__cta-title {
    font-size: 26px; line-height: 1.25; font-weight: 800;
    color: #20A47B; margin: 0 0 22px;
    letter-spacing: -0.005em;
}
.rei-truffe__cta-text {
    max-width: 920px;
    font-size: 15.5px; line-height: 1.75; color: #3C3C3B;
}
.rei-truffe__cta-text p { margin: 0 0 16px; }
.rei-truffe__cta-text strong { font-weight: 700; color: #157155; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .rei-truffe__container { padding: 0 20px; }
    .rei-truffe__hero { padding: 48px 0 28px; }
    .rei-truffe__title { font-size: 32px; }
    .rei-truffe__intro { font-size: 15px; }
    .rei-truffe__step { padding: 20px 0 24px; }
    .rei-truffe__h2 { font-size: 22px; }
    .rei-truffe__rich { font-size: 15px; }
    .rei-truffe__btn { padding: 18px 24px; font-size: 15px; margin: 28px 0 8px; }
    .rei-truffe__btn--final { margin-bottom: 48px; }
    .rei-truffe__cta-title { font-size: 22px; }
    .rei-truffe__cta-text { font-size: 15px; }
}

/* v1.29.2: stacco card finale dalla bandiera tricolore — override mobile */
@media (max-width: 720px) {
    .rei-truffe { padding-bottom: 40px !important; }
}
