/* ==========================================================================
   Landing Di Giacomantonio "Le Tre Casse"
   Palette e font dalla brand identity del cliente: blu #003781, azzurro #D6E3F1,
   carta #F8F6F1, rame #B84A14. Inter + Source Serif 4 (locali).
   Tutto sotto body.tc: non tocca le pagine legali, che usano style.css.
   ========================================================================== */
body.tc{
  --tc-blue:#003781;--tc-blue-deep:#00265a;--tc-teal:#006192;--tc-sky:#D6E3F1;--tc-sky-mid:#8FB7DC;
  --tc-paper:#F8F6F1;--tc-ink:#14202E;--tc-muted:#3b5068;--tc-rame:#B84A14;--tc-rame-deep:#9c3d0f;--tc-glow:#F29A5E;
  margin:0;background:var(--tc-paper);color:var(--tc-ink);font-family:'Inter',system-ui,sans-serif;font-size:17px;line-height:1.65;
}
body.tc *{box-sizing:border-box;}
body.tc :where(h1,h2,h3){margin:0;letter-spacing:normal;font-weight:600;}
body.tc :where(p){margin:0 0 20px;}
body.tc :where(a){color:var(--tc-blue);}
body.tc .tc-serif{font-family:'Source Serif 4',Georgia,serif;font-weight:600;}
.tc-wrap{max-width:1120px;margin:0 auto;padding:0 24px;}
.tc-narrow{max-width:720px;margin:0 auto;padding:0 24px;}
.tc-narrow--left{margin-left:0;padding-left:0;}
.tc-wrap>.tc-narrow{padding:0;}
.tc-sec{padding:96px 0;position:relative;overflow:hidden;}
.tc-paper{background:var(--tc-paper);}
.tc-sky{background:var(--tc-sky);}
.tc-blue{background:var(--tc-blue);color:var(--tc-paper);}
.tc-eyebrow{font-size:13px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:var(--tc-sky);margin-bottom:16px;}
.tc-eyebrow--blue{color:var(--tc-blue);}
.tc-sec h2{font-size:clamp(30px,3.4vw,42px);line-height:1.18;margin-bottom:28px;}
.tc-sec h3{font-size:24px;line-height:1.25;margin-bottom:12px;}
.tc-disc{font-size:14px;line-height:1.5;color:var(--tc-muted);}
.tc-blue .tc-disc,.tc-foot .tc-disc{color:var(--tc-sky);}
.tc-pull{font-size:clamp(22px,2.2vw,28px);line-height:1.3;margin:0;}
body.tc :focus-visible{outline:3px solid #007AB3;outline-offset:3px;}

/* header */
.tc-top{background:var(--tc-blue);color:var(--tc-paper);border-bottom:1px solid rgba(248,246,241,.2);}
.tc-top-in{display:flex;flex-wrap:wrap;gap:6px 24px;justify-content:space-between;align-items:center;padding-top:16px;padding-bottom:16px;}
.tc-top .tc-name,body.tc .tc-foot .tc-name{color:var(--tc-paper);}
body.tc .tc-name{font-family:'Source Serif 4',Georgia,serif;font-weight:600;font-size:20px;color:inherit;text-decoration:none;}
.tc-role{font-size:14px;color:var(--tc-sky);}

/* bottoni */
.tc-btn{display:inline-block;background:var(--tc-rame);color:#fff!important;font:600 18px/1.25 'Inter',sans-serif;padding:18px 32px;border:0;border-radius:6px;cursor:pointer;text-decoration:none;text-align:center;box-shadow:0 14px 28px -16px rgba(0,0,0,.6);transition:background-color .15s,transform .15s;}
.tc-btn:hover{background:var(--tc-rame-deep);transform:translateY(-1px);}
.tc-btn--block{display:block;width:100%;}
.tc-btn[disabled]{opacity:.7;cursor:wait;}
body.tc .tc-link{color:var(--tc-paper);font-weight:600;font-size:16px;}

/* hero */
.tc-hero{position:relative;background:var(--tc-blue);color:var(--tc-paper);padding:84px 0 96px;overflow:hidden;}
.tc-grid-bg{position:absolute;inset:0;background-image:linear-gradient(rgba(214,227,241,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(214,227,241,.07) 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:radial-gradient(ellipse at 70% 40%,#000 0,transparent 70%);mask-image:radial-gradient(ellipse at 70% 40%,#000 0,transparent 70%);}
.tc-hero::before{content:"";position:absolute;width:640px;height:640px;right:-120px;top:-160px;border-radius:50%;background:radial-gradient(circle,rgba(143,183,220,.32),transparent 65%);}
.tc-hero-in{position:relative;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:48px;align-items:center;}
.tc-hero h1{font-size:clamp(34px,4.4vw,52px);line-height:1.1;margin-bottom:24px;}
.tc-hl{font-style:italic;color:var(--tc-glow);position:relative;white-space:nowrap;}
.tc-hl::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:3px;background:var(--tc-glow);transform-origin:left;transform:scaleX(1);border-radius:2px;}
.js .tc-hl::after{transform:scaleX(0);animation:tc-draw .9s .9s ease forwards;}
@keyframes tc-draw{to{transform:scaleX(1);}}
.tc-sub{font-size:clamp(19px,1.6vw,22px);line-height:1.4;margin-bottom:16px;}
.tc-result{font-size:18px;color:var(--tc-sky);max-width:560px;}
.tc-hero-cta{display:flex;flex-wrap:wrap;align-items:center;gap:20px 28px;margin:8px 0 20px;}
.tc-trust{font-size:14px;color:var(--tc-sky);margin:0;}

/* le tre casse animate nell'hero */
.tc-crates{position:relative;height:440px;max-width:460px;width:100%;margin-left:auto;}
.tc-crate{position:absolute;width:64%;height:48%;border-radius:8px;padding:18px 20px;display:flex;flex-direction:column;justify-content:flex-start;box-shadow:0 30px 50px -28px rgba(0,0,0,.65);transition:transform 1.4s cubic-bezier(.2,.8,.2,1),opacity 1s;}
.tc-crate span{font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;opacity:.85;}
.tc-crate b{font-size:26px;line-height:1.15;margin-top:4px;}
.tc-c1{background:var(--tc-teal);color:#fff;left:0;top:0;z-index:1;}
.tc-c2{background:var(--tc-sky);color:var(--tc-ink);left:18%;top:20%;z-index:2;}
.tc-c3{background:var(--tc-sky-mid);color:var(--tc-ink);left:36%;top:40%;z-index:3;}
.tc-frame{position:absolute;inset:-14px;border:2px dashed rgba(242,154,94,.9);border-radius:14px;opacity:1;transition:opacity 1s 1.2s;z-index:4;pointer-events:none;}
.tc-frame i{position:absolute;right:16px;bottom:-14px;background:var(--tc-blue);color:var(--tc-glow);font:600 13px/1 'Inter',sans-serif;letter-spacing:.06em;text-transform:uppercase;padding:6px 12px;}
.js .tc-crates:not(.is-in) .tc-c1{transform:translate(-26px,-30px) rotate(-5deg);opacity:.0;}
.js .tc-crates:not(.is-in) .tc-c2{transform:translate(52px,6px) rotate(4deg);opacity:0;}
.js .tc-crates:not(.is-in) .tc-c3{transform:translate(-18px,64px) rotate(-3deg);opacity:0;}
.js .tc-crates:not(.is-in) .tc-frame{opacity:0;}
.tc-crates.is-in .tc-c1{animation:tc-float 7s 2.4s ease-in-out infinite;}
.tc-crates.is-in .tc-c3{animation:tc-float 7s 3.2s ease-in-out infinite reverse;}
@keyframes tc-float{50%{transform:translateY(-7px);}}

/* reveal */
.js .tc-reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease;}
.js .tc-reveal.is-visible{opacity:1;transform:none;}

/* problema */
.tc-scene{position:relative;max-width:860px;margin:8px auto 40px;padding:48px 48px 40px;background:#fff;border-radius:8px;box-shadow:0 0 0 1px #d6e3f1,0 30px 60px -40px rgba(0,55,129,.5);}
.tc-qmark{position:absolute;left:30px;top:-6px;font-size:130px;line-height:1;color:var(--tc-sky-mid);}
.tc-scene blockquote{margin:0;position:relative;}
.tc-scene blockquote p{font-size:clamp(24px,2.6vw,32px);line-height:1.3;margin-bottom:18px;color:var(--tc-blue);}
.tc-scene figcaption{color:var(--tc-muted);margin:0;}
.tc-chain{display:grid;grid-template-columns:1fr 70px 1fr 70px 1fr;align-items:stretch;margin:28px 0 16px;}
.tc-node{background:#fff;border-radius:8px;padding:28px;box-shadow:0 0 0 1px #d6e3f1;}
.tc-node p{margin:0;}
.tc-gap{position:relative;display:flex;align-items:center;justify-content:center;}
.tc-gap::before{content:"";position:absolute;left:-6px;right:-6px;top:50%;border-top:2px dashed var(--tc-rame);}
.tc-pulse{position:relative;width:18px;height:18px;border-radius:50%;background:var(--tc-rame);box-shadow:0 0 0 6px var(--tc-paper);}
.tc-pulse::after{content:"";position:absolute;inset:-2px;border-radius:50%;border:2px solid var(--tc-rame);animation:tc-ping 2s ease-out infinite;}
@keyframes tc-ping{from{transform:scale(1);opacity:.9;}to{transform:scale(3.2);opacity:0;}}
.tc-chain-note{display:flex;align-items:center;justify-content:center;gap:12px;text-align:center;font-weight:600;color:var(--tc-rame-deep);margin:0 0 44px;}
.tc-chain-note span{width:10px;height:10px;border-radius:50%;background:var(--tc-rame);flex:none;}
.tc-pull{color:var(--tc-blue);padding-left:22px;border-left:4px solid var(--tc-rame);margin-top:32px;}

/* tre casse (sezione metodo) */
.tc-casse{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:20px 0 72px;}
.tc-cassa{position:relative;overflow:hidden;border-radius:8px;padding:32px 28px 28px;min-height:260px;display:flex;flex-direction:column;justify-content:flex-end;color:#fff;transition:transform .35s,box-shadow .35s;}
.tc-cassa:hover,.tc-cassa:focus-visible{transform:translateY(-8px) rotate(-.6deg);box-shadow:0 30px 40px -26px rgba(0,38,90,.7);}
.tc-cassa p{margin:0;}
.tc-cassa .tc-eyebrow{color:inherit;opacity:.85;margin-bottom:6px;}
.tc-k1{background:var(--tc-blue);}
.tc-k2{background:var(--tc-teal);}
.tc-k3{background:var(--tc-sky-mid);color:var(--tc-ink);}
.tc-big{position:absolute;right:14px;top:-26px;font-size:190px;line-height:1;color:transparent;-webkit-text-stroke:2px rgba(255,255,255,.35);}
.tc-k3 .tc-big{-webkit-text-stroke-color:rgba(0,55,129,.35);}
.tc-split{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px;align-items:start;}
.tc-split-head{position:sticky;top:32px;}
.tc-path{list-style:none;margin:0;padding:0 0 0 0;position:relative;}
.tc-path::before{content:"";position:absolute;left:21px;top:22px;bottom:22px;width:3px;background:rgba(0,55,129,.18);border-radius:2px;}
.tc-path::after{content:"";position:absolute;left:21px;top:22px;width:3px;height:calc((100% - 44px) * var(--prog,0));background:var(--tc-rame);border-radius:2px;}
.tc-path li{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr);gap:20px;margin-bottom:38px;}
.tc-path li:last-child{margin-bottom:0;}
.tc-dot{position:relative;z-index:1;width:44px;height:44px;border-radius:50%;background:var(--tc-blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;box-shadow:0 0 0 6px var(--tc-sky);}

/* caso numerico */
.tc-case{max-width:860px;margin:8px auto 36px;background:#fff;border-radius:8px;padding:40px;box-shadow:0 0 0 1px #d6e3f1,0 30px 60px -40px rgba(0,55,129,.5);}
.tc-bars{margin:28px 0 24px;}
.tc-bar-row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:16px;align-items:center;margin-bottom:12px;}
.tc-bar-label{font-weight:600;font-size:15px;}
.tc-bar-track{background:#eef3f8;border-radius:6px;overflow:hidden;}
.tc-bar{height:48px;border-radius:6px;display:flex;align-items:center;justify-content:flex-end;padding-right:14px;color:#fff;width:var(--w,100%);transition:width 1.4s cubic-bezier(.2,.8,.2,1);}
.js .tc-bar{width:0;}
.js .is-visible .tc-bar{width:var(--w);}
.tc-bar--old{background:#7d93ad;}
.tc-bar--new{background:var(--tc-blue);}
.tc-bar-cap{font-size:13px;color:var(--tc-muted);margin:6px 0 0 166px;}
.tc-table-wrap{overflow-x:auto;}
.tc-case table{border-collapse:collapse;width:100%;font-size:16px;}
.tc-case th,.tc-case td{padding:12px 10px;text-align:left;border-bottom:1px solid #d6e3f1;}
.tc-case thead th{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--tc-muted);}
.tc-case td{font-variant-numeric:tabular-nums;}
.tc-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0 20px;}
.tc-stat{background:var(--tc-sky);border-radius:6px;padding:26px 24px;}
.tc-stat b{display:block;font-size:clamp(34px,4vw,46px);line-height:1;color:var(--tc-blue);margin-bottom:8px;font-variant-numeric:tabular-nums;}
.tc-stat span{font-size:15px;}

/* chi sono */
.tc-who{padding-bottom:112px;}
.tc-watermark{position:absolute;right:-20px;top:20px;font-size:clamp(220px,34vw,460px);line-height:.9;color:transparent;-webkit-text-stroke:2px rgba(143,183,220,.28);pointer-events:none;user-select:none;}
.tc-who .tc-wrap{position:relative;}
.tc-route{list-style:none;margin:8px 0 48px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;position:relative;max-width:900px;}
.tc-route::before{content:"";position:absolute;left:8px;right:8px;top:9px;border-top:2px dashed rgba(143,183,220,.7);}
.tc-route li{position:relative;padding:34px 20px 0 0;}
.tc-route li::before{content:"";position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;background:var(--tc-glow);box-shadow:0 0 0 6px var(--tc-blue);}
.tc-route b{display:block;font-size:clamp(28px,3vw,38px);line-height:1.1;color:#fff;margin-bottom:6px;}
.tc-route span{color:var(--tc-sky);font-size:15px;line-height:1.4;display:block;}
.tc-chips{list-style:none;margin:24px 0 20px;padding:0;display:flex;flex-wrap:wrap;gap:8px;}
.tc-chips li{border:1px solid var(--tc-sky-mid);border-radius:999px;padding:6px 14px;font-size:14px;}

/* offerta + form */
.tc-offer-title{max-width:820px;}
.tc-offer{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:start;}
.tc-deliver{list-style:none;margin:0 0 28px;padding:0;counter-reset:d;}
.tc-deliver li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:16px;background:rgba(255,255,255,.55);border-radius:8px;padding:18px 20px;margin-bottom:12px;transition:transform .25s,background .25s;}
.tc-deliver li:hover{background:#fff;transform:translateX(6px);}
.tc-deliver li>span{width:44px;height:44px;border-radius:50%;background:var(--tc-blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;}
.tc-card{background:#fff;border-radius:8px;padding:24px;margin:28px 0 16px;border-left:4px solid var(--tc-rame);}
.tc-card p{margin:8px 0 0;}
.tc-wait{display:grid;grid-template-columns:auto minmax(0,1fr);gap:22px;align-items:center;background:var(--tc-blue);color:var(--tc-paper);border-radius:8px;padding:26px 28px;margin:28px 0;}
.tc-wait b{font-size:clamp(56px,7vw,84px);line-height:1;color:var(--tc-glow);}
.tc-wait p{margin:0;font-size:16px;}
.tc-formcard{position:sticky;top:24px;background:#fff;border-radius:8px;padding:32px;box-shadow:0 30px 60px -36px rgba(0,38,90,.7);border-top:6px solid var(--tc-rame);}
.tc-formcard h3{font-size:26px;}
.tc-formcard form{margin:22px 0 14px;}
.tc-formcard label{display:block;font-weight:600;font-size:15px;margin-bottom:6px;}
.tc-formcard input[type=text],.tc-formcard input[type=tel],.tc-formcard select,.tc-formcard textarea{width:100%;padding:14px;font:16px 'Inter',sans-serif;border:1px solid #8aa1bb;border-radius:6px;background:#fff;color:var(--tc-ink);margin-bottom:18px;}
.tc-check{display:grid!important;grid-template-columns:22px minmax(0,1fr);gap:10px;font-weight:400!important;font-size:14px!important;line-height:1.45;margin-bottom:18px!important;}
.tc-check input{width:20px;height:20px;margin-top:2px;}
.tc-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.tc-status{font-size:15px;margin-bottom:12px;}
.tc-status[data-kind=error]{color:#a32a12;}
.tc-status[data-kind=ok]{color:#0b6b3a;}

/* faq */
.tc-faq details{background:#fff;border-radius:6px;margin-bottom:12px;padding:0 24px;box-shadow:0 0 0 1px #d6e3f1;}
.tc-faq summary{cursor:pointer;font-weight:600;font-size:18px;padding:20px 36px 20px 0;min-height:44px;list-style:none;position:relative;}
.tc-faq summary::-webkit-details-marker{display:none;}
.tc-faq summary::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:28px;font-weight:400;color:var(--tc-rame);transition:transform .25s;}
.tc-faq details[open] summary::after{transform:translateY(-50%) rotate(45deg);}
.tc-faq details p{margin:0 0 20px;}

/* footer + fab */
.tc-foot{background:var(--tc-blue);color:var(--tc-paper);padding:48px 0 56px;}
.tc-foot .tc-name{display:block;margin-bottom:12px;}
.tc-legal{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:8px;}
body.tc .tc-legal a,body.tc .tc-legal .btn-link{color:var(--tc-sky);font-size:14px;}
.tc-fab{position:fixed;right:20px;bottom:20px;z-index:50;background:var(--tc-rame);color:#fff!important;font-weight:600;padding:14px 22px;border-radius:999px;text-decoration:none;box-shadow:0 14px 30px -10px rgba(0,0,0,.55);transform:translateY(120px);opacity:0;transition:transform .4s,opacity .4s;pointer-events:none;}
.tc-fab.is-on{transform:none;opacity:1;pointer-events:auto;}

@media (max-width:900px){
  .tc-hero-in,.tc-offer,.tc-split{grid-template-columns:1fr;gap:40px;}
  .tc-crates{height:380px;margin:20px auto 10px;max-width:420px;}
  .tc-chain{grid-template-columns:1fr;}
  .tc-gap{height:46px;}
  .tc-gap::before{left:50%;right:auto;top:-4px;bottom:-4px;border-top:0;border-left:2px dashed var(--tc-rame);}
  .tc-casse{grid-template-columns:1fr;margin-bottom:48px;}
  .tc-cassa{min-height:200px;}
  .tc-split-head,.tc-formcard{position:static;}
  .tc-sec{padding:64px 0;}
  .tc-scene{padding:44px 24px 28px;}
  .tc-case{padding:24px 18px;}
  .tc-bar-row{grid-template-columns:1fr;gap:6px;}
  .tc-bar-cap{margin-left:0;}
  .tc-stats{grid-template-columns:1fr;}
  .tc-route{grid-template-columns:1fr;gap:26px;}
  .tc-route::before{left:9px;right:auto;top:8px;bottom:8px;border-top:0;border-left:2px dashed rgba(143,183,220,.7);}
  .tc-route li{padding:0 0 0 40px;}
  .tc-wait{grid-template-columns:1fr;}
  .tc-hl{white-space:normal;}
}
@media (prefers-reduced-motion:reduce){
  .js .tc-reveal{opacity:1;transform:none;transition:none;}
  .js .tc-crates:not(.is-in) .tc-crate,.js .tc-crates:not(.is-in) .tc-frame{opacity:1;transform:none;}
  .tc-crate,.tc-frame,.tc-bar{transition:none;}
  .js .tc-bar{width:var(--w);}
  .js .tc-hl::after{animation:none;transform:none;}
  .tc-crates.is-in .tc-crate,.tc-pulse::after{animation:none;}
}

/* ---- v5: foto, calcolatore, biografia, newsletter ---- */
.tc-crates{height:auto;max-width:440px;width:100%;margin:0 auto;}
.tc-photo{position:relative;border-radius:10px;overflow:hidden;aspect-ratio:1/1;background:var(--tc-blue-deep);box-shadow:0 40px 60px -34px rgba(0,0,0,.7);}
.tc-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 12%;}
.tc-chipstack{position:absolute;left:-34px;bottom:-40px;width:216px;height:132px;z-index:5;pointer-events:none;}
.tc-chipstack .tc-crate{width:176px;height:56px;padding:0 14px;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;box-shadow:0 18px 30px -16px rgba(0,0,0,.65);}
.tc-chipstack .tc-crate b{font-size:19px;margin:0;}
.tc-chipstack .tc-crate span{font-size:11px;white-space:nowrap;}
.tc-chipstack .tc-c1{left:0;top:0;}
.tc-chipstack .tc-c2{left:20px;top:38px;}
.tc-chipstack .tc-c3{left:40px;top:76px;}
.tc-frame{inset:-16px;}
.tc-brief{padding:56px 0 8px;}
.tc-brief h2{font-size:24px;margin-bottom:12px;}
.tc-brief p{margin:0;}

/* calcolatore */
.tc-calc{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;max-width:960px;margin:12px auto 20px;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 0 0 1px #d6e3f1,0 30px 60px -40px rgba(0,55,129,.5);}
.tc-calc-in{padding:36px;}
.tc-range{margin-bottom:26px;}
.tc-range:last-child{margin-bottom:0;}
.tc-range label{display:flex;justify-content:space-between;gap:12px;font-weight:600;font-size:15px;margin-bottom:10px;}
.tc-range label strong{color:var(--tc-blue);font-variant-numeric:tabular-nums;white-space:nowrap;}
.tc-range input[type=range]{width:100%;accent-color:var(--tc-blue);height:28px;margin:0;}
.tc-calc-out{background:var(--tc-sky);padding:36px;display:flex;flex-direction:column;justify-content:center;}
.tc-calc-num{font-size:clamp(44px,5vw,64px);line-height:1;color:var(--tc-blue);margin:4px 0 8px;font-variant-numeric:tabular-nums;}
.tc-calc-pct{font-size:16px;margin:0 0 24px;}
.tc-cb-row{display:flex;justify-content:space-between;gap:12px;font-size:15px;margin-bottom:6px;}
.tc-cb-track{background:rgba(255,255,255,.65);border-radius:5px;height:14px;margin-bottom:16px;overflow:hidden;}
.tc-cb{height:14px;border-radius:5px;background:var(--tc-blue);width:92.5%;transition:width .5s ease;}
.tc-cb--full{width:100%;opacity:.35;}

/* chi sono */
.tc-who-grid{display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:clamp(32px,5vw,72px);align-items:start;}
.tc-who-photo{position:sticky;top:28px;margin:0;}
.tc-who-photo img{display:block;width:100%;height:auto;border-radius:10px;box-shadow:0 40px 60px -36px rgba(0,0,0,.7);}
.tc-who-text .tc-route{max-width:none;margin:8px 0 36px;}
.tc-who-text p a,.tc-trust a{color:var(--tc-paper);}
.tc-weekly{margin-top:72px;border-top:1px solid rgba(143,183,220,.35);padding-top:44px;}
.tc-weekly-intro{max-width:760px;font-size:18px;}
.tc-weekly-grid{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.tc-weekly-grid li{border:1px solid var(--tc-sky-mid);border-radius:8px;padding:20px;background:rgba(255,255,255,.06);}
.tc-weekly-grid span{display:block;font-size:13px;letter-spacing:.08em;color:var(--tc-sky-mid);}
.tc-weekly-grid b{display:block;font-size:20px;line-height:1.2;margin:8px 0;}
.tc-weekly-grid p{font-size:15px;line-height:1.5;margin:0;}
body.tc .tc-foot a{color:var(--tc-sky);}

@media (max-width:900px){
  .tc-chipstack{left:-6px;bottom:-30px;}
  .tc-calc{grid-template-columns:1fr;}
  .tc-calc-in,.tc-calc-out{padding:26px 22px;}
  .tc-who-grid{grid-template-columns:1fr;}
  .tc-who-photo{position:static;max-width:420px;}
  .tc-weekly-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:520px){
  .tc-weekly-grid{grid-template-columns:1fr;}
  .tc-crates{max-width:360px;}
}
.tc-who-text .tc-route b{font-size:clamp(22px,2.1vw,30px);white-space:nowrap;}

.tc-offer-photo{margin:8px 0 28px;}
.tc-offer-photo img{display:block;width:100%;max-width:520px;height:auto;border-radius:10px;box-shadow:0 30px 50px -34px rgba(0,38,90,.7);}

/* ---- La Settimana Finanziaria (seconda call to action) ---- */
.tc-week{background:radial-gradient(900px 520px at 78% 30%,rgba(143,183,220,.22),transparent 62%),linear-gradient(180deg,#003781 0%,#002e6b 100%);color:var(--tc-paper);border-top:1px solid rgba(143,183,220,.28);}
.tc-week-in{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(36px,5vw,72px);align-items:center;}
.tc-eyebrow--rame{color:var(--tc-glow);}
.tc-week h2{font-size:clamp(32px,3.7vw,46px);line-height:1.12;margin-bottom:22px;}
.tc-week h2 .tc-hl{font-style:normal;color:var(--tc-glow);white-space:normal;}
.tc-week h2 .tc-hl::after{display:none;}
.tc-week-lead{font-size:clamp(17px,1.5vw,19px);line-height:1.6;color:rgba(248,246,241,.92);max-width:540px;}
.tc-week-list{list-style:none;margin:28px 0 20px;padding:0;max-width:540px;}
.tc-week-list li{display:flex;gap:16px;align-items:flex-start;padding:14px 0;border-top:1px solid rgba(143,183,220,.3);transition:opacity .3s;}
.tc-week-list li:last-child{border-bottom:1px solid rgba(143,183,220,.3);}
.tc-wn{flex:none;width:34px;height:34px;border-radius:50%;background:var(--tc-rame);color:#fff;font-weight:700;font-size:15px;display:flex;align-items:center;justify-content:center;transition:box-shadow .3s,transform .3s;}
.tc-week-list strong{display:block;font-size:18px;color:#fff;line-height:1.3;}
.tc-week-list li div span{display:block;color:var(--tc-sky);font-size:16px;line-height:1.45;}
.tc-week-list li.is-lit .tc-wn{box-shadow:0 0 0 5px rgba(242,154,94,.38);transform:scale(1.06);}
.tc-week-note{font-size:14px;line-height:1.5;color:var(--tc-sky);max-width:540px;margin:0 0 24px;}

.tc-week-demo{position:relative;max-width:560px;width:100%;margin:0 auto;}
.tc-toast{position:absolute;z-index:5;top:0;left:-30px;width:78%;background:#fff;color:var(--tc-ink);border-radius:14px;padding:12px 14px;display:flex;gap:12px;align-items:center;box-shadow:0 22px 40px -18px rgba(0,0,0,.55);transition:transform .4s ease-out,opacity .4s ease-out;}
.tc-toast-ico{flex:none;width:40px;height:40px;border-radius:10px;background:var(--tc-blue);color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px;}
.tc-toast small{display:flex;align-items:center;gap:6px;font-size:12px;color:#5b6b7d;}
.tc-toast small i{width:7px;height:7px;border-radius:50%;background:var(--tc-rame);}
.tc-toast small em{margin-left:auto;font-style:normal;}
.tc-toast b{display:block;font-size:14px;line-height:1.3;margin-top:2px;}
.tc-mail-stack{position:relative;padding-top:58px;}
.tc-mail{background:#fff;border-radius:14px;box-shadow:0 36px 60px -30px rgba(0,0,0,.7);}
.tc-mail--main{position:relative;margin:0;transform:rotate(-1.2deg);overflow:hidden;background:#fff;transition:transform .7s ease,opacity .7s ease;}
.tc-mail--ghost1,.tc-mail--ghost2{position:absolute;left:0;right:0;top:58px;bottom:0;box-shadow:none;transition:transform .7s ease .1s,opacity .7s ease .1s;}
.tc-mail--ghost1{background:rgba(214,227,241,.55);transform:rotate(1.8deg);}
.tc-mail--ghost2{background:rgba(214,227,241,.3);transform:rotate(3.2deg) translateX(8px);}
.tc-m-head{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #ebe7de;background:#fbfaf7;}
.tc-m-av{flex:none;width:40px;height:40px;border-radius:50%;background:var(--tc-sky);color:var(--tc-blue);font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center;}
.tc-m-head b{display:block;font-size:14px;color:var(--tc-ink);}
.tc-m-head small{font-size:12.5px;color:#6a7787;}
.tc-m-head em{margin-left:auto;font-style:normal;font-size:12.5px;color:#6a7787;}
.tc-m-subj{padding:14px 18px;border-bottom:1px solid #ebe7de;color:var(--tc-ink);}
.tc-m-subj b{display:block;font-size:16.5px;line-height:1.3;}
.tc-m-subj small{display:block;margin-top:4px;font-size:13px;color:#6a7787;}
.tc-m-body{background:var(--tc-paper);padding:14px;}
.tc-m-band{background:linear-gradient(180deg,#003781,#0a4aa0);border-radius:8px;text-align:center;padding:16px 12px;color:#fff;}
.tc-m-band small{display:block;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--tc-sky);}
.tc-m-band b{display:block;font-family:'Source Serif 4',Georgia,serif;font-weight:600;font-size:26px;line-height:1.15;margin:4px 0;}
.tc-m-band span{font-size:12.5px;color:var(--tc-sky);}
.tc-m-sec{position:relative;background:#fff;border:1px solid #e9e4d9;border-radius:8px;margin-top:10px;padding:14px 16px;color:var(--tc-ink);}
.tc-m-sec p{font-size:14px;line-height:1.5;margin:0 0 10px;}
.tc-m-sec p:last-child{margin-bottom:0;}
.tc-m-lbl{display:flex!important;align-items:center;gap:8px;font-weight:700;font-size:11.5px!important;letter-spacing:.12em;text-transform:uppercase;color:var(--tc-rame);}
.tc-mn{flex:none;width:22px;height:22px;border-radius:50%;background:var(--tc-rame);color:#fff;font-size:12px;letter-spacing:0;display:inline-flex;align-items:center;justify-content:center;transition:opacity .3s,transform .3s;}
.tc-m-nums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
.tc-m-nums>div{border:1px solid #dbe5f0;border-radius:8px;padding:8px 10px;background:#fff;}
.tc-m-nums small{display:block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--tc-blue);}
.tc-m-nums b{display:block;font-size:19px;line-height:1.2;color:var(--tc-blue);font-variant-numeric:tabular-nums;}
.tc-m-nums span{font-size:12px;font-weight:600;}
.tc-m-nums .up{color:#1E7B4B;}
.tc-m-nums .down{color:#B3261E;}
.tc-m-sec h4{font-size:18px;line-height:1.25;color:var(--tc-blue);margin:0 0 8px;font-weight:600;}
.tc-m-why{background:#fbe9dd;border-left:3px solid var(--tc-rame);border-radius:4px;padding:10px 12px;}
.tc-m-why b{color:var(--tc-rame);}
.tc-m-foot{text-align:center;font-size:12px;color:#6a7787;margin:12px 0 2px!important;}

/* stato iniziale dell'animazione (solo con JS e senza prefers-reduced-motion) */
.js .tc-week-demo:not(.is-in) .tc-toast{opacity:0;transform:translateY(-34px);}
.js .tc-week-demo:not(.is-in) .tc-mail--main{opacity:0;transform:translateY(40px) rotate(-1.2deg);}
.js .tc-week-demo:not(.is-in) .tc-mail--ghost1,.js .tc-week-demo:not(.is-in) .tc-mail--ghost2{opacity:0;}
.js .tc-week-demo.is-in .tc-mail--main{transition-delay:.5s;}
.js .tc-week-demo:not(.is-lit-all) .tc-mn:not(.on){opacity:.28;}
.js .tc-week-demo:not(.is-lit-all) ~ * .tc-wn{}
.tc-mn.on{transform:scale(1.12);}

@media (max-width:900px){
  .tc-week-in{grid-template-columns:1fr;gap:36px;}
  .tc-week-demo{max-width:520px;}
  .tc-toast{position:static;width:100%;margin-bottom:12px;}
  .tc-mail-stack{padding-top:0;}
  .tc-mail--ghost1,.tc-mail--ghost2{display:none;}
  .tc-mail--main,.js .tc-week-demo:not(.is-in) .tc-mail--main{transform:none;}
  .tc-m-sec--read{max-height:150px;overflow:hidden;}
  .tc-m-sec--read::after{content:"";position:absolute;left:0;right:0;bottom:0;height:80px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 85%);}
}
@media (prefers-reduced-motion:reduce){
  .js .tc-week-demo:not(.is-in) .tc-toast,.js .tc-week-demo:not(.is-in) .tc-mail--main{opacity:1;transform:none;}
  .js .tc-week-demo:not(.is-in) .tc-mail--ghost1,.js .tc-week-demo:not(.is-in) .tc-mail--ghost2{opacity:1;}
  .js .tc-week-demo:not(.is-lit-all) .tc-mn:not(.on){opacity:1;}
  .tc-toast,.tc-mail--main,.tc-mail--ghost1,.tc-mail--ghost2,.tc-mn,.tc-wn{transition:none;}
}
.tc-social{display:flex;flex-wrap:wrap;gap:8px 20px;margin:12px 0 4px;font-size:14px;color:var(--tc-sky);}
body.tc .tc-social a{color:var(--tc-paper);font-weight:600;}
@media (max-width:520px){
  .tc-m-nums{gap:6px;}
  .tc-m-nums>div{padding:7px 7px;}
  .tc-m-nums b{font-size:15px;white-space:nowrap;}
  .tc-m-nums small{font-size:10px;}
  .tc-m-nums span{font-size:10.5px;white-space:nowrap;}
  .tc-m-body{padding:10px;}
  .tc-m-sec{padding:12px;}
  .tc-m-band b{font-size:23px;}
}

/* Pulsante WhatsApp (secondario, a contorno): hero su blu e card del form su bianco */
.tc-wa{display:inline-flex;align-items:center;gap:10px;padding:16px 24px;border:2px solid currentColor;border-radius:6px;background:transparent;color:var(--tc-paper)!important;font:600 17px/1.25 'Inter',sans-serif;text-decoration:none;transition:background-color .15s ease;}
.tc-wa:hover{background:rgba(248,246,241,.12);}
.tc-wa svg{width:22px;height:22px;flex:none;}
.tc-wa svg path{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round;}
.tc-wa--card{display:flex;justify-content:center;width:100%;margin-top:14px;color:var(--tc-blue)!important;}
.tc-wa--card:hover{background:var(--tc-sky);}

/* Icona WhatsApp fissa in basso a sinistra (il pulsante "Richiedi" resta a destra) */
.tc-wa-float{position:fixed;left:20px;bottom:20px;z-index:50;width:58px;height:58px;border-radius:50%;background:#25D366;color:#fff!important;display:flex;align-items:center;justify-content:center;box-shadow:0 14px 28px -10px rgba(0,0,0,.45);transition:transform .15s ease,box-shadow .15s ease;}
.tc-wa-float:hover{transform:translateY(-2px);box-shadow:0 18px 34px -10px rgba(0,0,0,.5);}
.tc-wa-float svg{width:30px;height:30px;fill:currentColor;}
@media (max-width:600px){.tc-wa-float{left:14px;bottom:14px;width:52px;height:52px;}.tc-wa-float svg{width:27px;height:27px;}}
@media print{.tc-wa-float{display:none;}}
