/* ============================================================
   Fracassini — Home (sezioni sotto .fr-home)
   ============================================================ */

/* HERO */
.fr-home .hero{position:relative;min-height:100vh;display:flex;align-items:center;color:#fff;overflow:hidden}
.fr-home .hero .bg{position:absolute;inset:0;z-index:0;overflow:hidden}
.fr-home .hero .slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1.4s ease}
.fr-home .hero .slide.on{opacity:1;animation:frkb 7s ease-out forwards}
@keyframes frkb{from{transform:scale(1.02)}to{transform:scale(1.12)}}
.fr-home .hero .scrim{position:absolute;inset:0;z-index:1;background:linear-gradient(110deg,rgba(13,17,18,.84) 0%,rgba(13,17,18,.52) 42%,rgba(13,17,18,.22) 100%)}
.fr-home .hero .dots{position:absolute;right:max(4vw,1rem);bottom:6rem;z-index:3;display:flex;gap:.5rem}
.fr-home .hero .dots b{width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.45);cursor:pointer;transition:.25s}
.fr-home .hero .dots b.on{background:var(--teal);width:22px;border-radius:5px}
.fr-home .hero .fr-wrap{position:relative;z-index:2;padding-top:88px}
.fr-home .hero .eyrow{display:flex;align-items:center;gap:.8rem;margin-bottom:1.8rem}
.fr-home .hero .eyrow .dot{width:8px;height:8px;border-radius:50%;background:var(--orange);box-shadow:0 0 0 0 rgba(235,102,1,.6);animation:frpulse 2.6s infinite}
.fr-home .hero .eyrow .kick{color:#E7E3DB}
@keyframes frpulse{0%{box-shadow:0 0 0 0 rgba(235,102,1,.5)}70%{box-shadow:0 0 0 13px rgba(235,102,1,0)}100%{box-shadow:0 0 0 0 rgba(235,102,1,0)}}
.fr-home .hero h1{font-family:var(--display);font-weight:800;font-size:clamp(3rem,8vw,6.6rem);line-height:.92;letter-spacing:-.02em;text-transform:uppercase;max-width:15ch;margin:0}
.fr-home .hero h1 em{font-style:normal;color:var(--teal)}
.fr-home .hero .lead{margin:1.8rem 0 0;max-width:50ch;color:#ECE8DF;font-size:clamp(1.05rem,1.4vw,1.25rem)}
.fr-home .hero .acts{margin-top:2.4rem;display:flex;gap:.8rem;flex-wrap:wrap}
.fr-home .hero .statbar{position:absolute;left:0;right:0;bottom:0;z-index:2;border-top:1px solid rgba(255,255,255,.16);background:rgba(13,17,18,.38);backdrop-filter:blur(6px)}
.fr-home .hero .statbar .fr-wrap{display:flex;flex-wrap:wrap;padding-top:0;padding-bottom:0}
.fr-home .hero .statbar .s{flex:1;min-width:150px;padding:1.3rem 0;display:flex;flex-direction:column;gap:.2rem;border-right:1px solid rgba(255,255,255,.14)}
.fr-home .hero .statbar .s:last-child{border-right:0}
.fr-home .hero .statbar .n{font-family:var(--display);font-weight:700;font-size:1.7rem;color:#fff}
.fr-home .hero .statbar .l{font-family:var(--mono);font-size:.64rem;letter-spacing:.14em;text-transform:uppercase;color:#D9D4CB}

/* INTRO */
.fr-home .intro{padding:clamp(4rem,8vw,7rem) 0}
.fr-home .intro .grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,5rem);align-items:center}
.fr-home .intro .big{font-family:var(--display);font-weight:600;font-size:clamp(1.5rem,2.6vw,2.2rem);line-height:1.12;letter-spacing:-.01em;margin:1rem 0 0}
.fr-home .intro p{margin:0;color:#433F38;font-size:1.05rem}
.fr-home .intro .mini{margin-top:2rem;display:flex;gap:2.5rem;flex-wrap:wrap}
.fr-home .intro .mini .m .n{font-family:var(--display);font-weight:800;font-size:2.2rem;color:var(--teal-deep);line-height:1}
.fr-home .intro .mini .m .l{font-family:var(--mono);font-size:.66rem;letter-spacing:.12em;text-transform:uppercase;color:var(--concrete);margin-top:.4rem}

/* APPROCCIO (pillars con flip 3D) */
.fr-home .pillars{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:clamp(3.5rem,6vw,6rem) 0}
.fr-home .pillars .head{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;flex-wrap:wrap;margin-bottom:2.6rem}
.fr-home .pillars .head .sec{margin-top:.6rem}
.fr-home .pillars .head p{color:#5B544C;max-width:40ch;margin:.8rem 0 0}
.fr-home .p3{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.2rem,2vw,1.8rem);perspective:1600px}
.fr-home .p3 .p{position:relative;min-height:330px;display:block;transform-style:preserve-3d;transition:transform .8s cubic-bezier(.4,.2,.2,1)}
.fr-home .p3 .p:hover,.fr-home .p3 .p:focus-visible{transform:rotateY(180deg)}
.fr-home .p3 .p .face{position:absolute;inset:0;-webkit-backface-visibility:hidden;backface-visibility:hidden;display:flex;flex-direction:column;padding:2.4rem 2.1rem;border:1px solid var(--line);overflow:hidden}
.fr-home .p3 .p .front{background:var(--white);box-shadow:0 16px 38px -28px rgba(21,25,27,.34)}
.fr-home .p3 .p .front .bignum{position:absolute;top:-1.6rem;right:.3rem;font-family:var(--display);font-weight:800;font-size:8.5rem;line-height:1;color:rgba(235,102,1,.12);z-index:0;letter-spacing:-.04em}
.fr-home .p3 .p .front .ic{position:relative;z-index:1;width:42px;height:42px;color:var(--teal-deep);margin-bottom:auto}
.fr-home .p3 .p .front h3{position:relative;z-index:1;font-family:var(--display);font-weight:700;font-size:1.5rem;line-height:1;text-transform:uppercase;margin:0}
.fr-home .p3 .p .front .hint{position:relative;z-index:1;margin-top:.8rem;font-family:var(--mono);font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;color:var(--concrete)}
.fr-home .p3 .p .back{background:linear-gradient(145deg,var(--teal) 0%,var(--teal-deep) 100%);color:#fff;transform:rotateY(180deg);border-color:transparent;justify-content:space-between;box-shadow:0 26px 54px -28px rgba(15,74,67,.6)}
.fr-home .p3 .p .back .no{font-family:var(--mono);font-size:.7rem;letter-spacing:.14em;color:rgba(255,255,255,.82)}
.fr-home .p3 .p .back p{font-size:1rem;line-height:1.5;margin:1rem 0 0;flex:1}
.fr-home .p3 .p .back .go{margin-top:1rem;display:inline-flex;gap:.5rem;align-items:center;font-weight:600;font-size:.82rem;letter-spacing:.05em;text-transform:uppercase;border-bottom:1.5px solid rgba(255,255,255,.65);padding-bottom:.2rem;align-self:flex-start}
@media(prefers-reduced-motion:reduce){.fr-home .p3 .p{transition:none}.fr-home .p3 .p:hover,.fr-home .p3 .p:focus-visible{transform:none}}

/* TERAPIE (griglia editoriale 12 celle, dark) */
.fr-home .ter{background:var(--ink);color:#fff;padding:clamp(4rem,7vw,6.5rem) 0}
.fr-home .ter .head{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;flex-wrap:wrap;margin-bottom:2.6rem}
.fr-home .ter .head .sec{color:#fff;margin-top:.6rem}
.fr-home .ter .head p{color:#C7C2B8;max-width:38ch;font-size:.98rem;padding-bottom:.3rem;margin:0}
.fr-home .tgrid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line-dk);border-left:1px solid var(--line-dk)}
.fr-home .tc{position:relative;border-right:1px solid var(--line-dk);border-bottom:1px solid var(--line-dk);padding:1.9rem 1.7rem 1.7rem;min-height:210px;display:flex;flex-direction:column;overflow:hidden;transition:background .3s;color:#fff}
.fr-home .tc .idx{font-family:var(--mono);font-size:.74rem;letter-spacing:.1em;color:var(--orange);transition:.3s}
.fr-home .tc .arr{position:absolute;top:1.9rem;right:1.7rem;color:rgba(255,255,255,.55);transition:.3s}
.fr-home .tc h3{font-family:var(--display);font-weight:700;text-transform:uppercase;font-size:1.45rem;letter-spacing:-.01em;margin:auto 0 0;line-height:1}
.fr-home .tc p{color:#BEB9AF;font-size:.86rem;margin:.7rem 0 0;max-width:26ch;transition:.3s}
.fr-home .tc:hover{background:var(--teal)}
.fr-home .tc:hover .idx{color:#fff}
.fr-home .tc:hover .arr{color:#fff;transform:translate(4px,-4px)}
.fr-home .tc:hover p{color:rgba(255,255,255,.85)}

/* PRIMO INCONTRO (feature 2-col) */
.fr-home .first{background:var(--paper-2);border-bottom:1px solid var(--line);padding:clamp(3rem,5vw,4.5rem) 0}
.fr-home .first .grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:3rem;align-items:center}
.fr-home .first .sec{margin-top:.6rem}
.fr-home .first .meta{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem;margin-top:1.6rem}
.fr-home .first .meta .k{font-family:var(--mono);font-size:.64rem;letter-spacing:.12em;text-transform:uppercase;color:var(--concrete)}
.fr-home .first .meta .v{font-family:var(--display);font-weight:600;font-size:1.05rem;margin-top:.2rem}
.fr-home .first p.t{margin:1rem 0 0;color:#4A453D;max-width:42ch}
.fr-home .first .img{min-height:320px;background-size:cover;background-position:center;border:1px solid var(--line)}

@media(max-width:980px){
  .fr-home .intro .grid,.fr-home .first .grid{grid-template-columns:1fr}
  .fr-home .p3,.fr-home .tgrid{grid-template-columns:1fr}
}
@media(max-width:700px){
  .fr-home .hero{min-height:auto}
  .fr-home .hero .fr-wrap{padding-top:120px;padding-bottom:2.2rem}
  .fr-home .hero .statbar{position:static}
  .fr-home .hero .statbar .s{flex:1 1 50%}
  .fr-home .hero .dots{display:none}
}
