/* style.css */
:root{
  --bg0:#070707;
  --bg1:#0b0b0b;

  --text:#f6f2ea;
  --muted:rgba(246,242,234,.82);

  --line:rgba(255,255,255,.10);
  --card:rgba(255,255,255,.04);

  --gold:#d7b06a;
  --gold2:rgba(215,176,106,.22);
  --gold3:rgba(215,176,106,.40);

  --wa:#25D366;
  --in:#0A66C2;

  --radius:18px;
  --radius2:22px;
  --shadow: 0 18px 60px rgba(0,0,0,.55);

  --max:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html.no-scroll{overflow:hidden;} /* ✅ blocco scroll quando popup aperto */
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  line-height:1.5;

  background:
    radial-gradient(900px 520px at 12% -10%, rgba(215,176,106,.20), transparent 60%),
    radial-gradient(900px 520px at 92% 10%, rgba(215,176,106,.12), transparent 58%),
    radial-gradient(700px 500px at 50% 110%, rgba(215,176,106,.10), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}

/* NAV */
.nav{
  position:sticky;top:0;z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7,7,7,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 0;gap:14px;
}
.brand{display:flex;align-items:center;gap:10px}
.brand-dot{
  width:10px;height:10px;border-radius:999px;background:var(--gold);
  box-shadow:0 0 0 4px rgba(215,176,106,.14);
}
.brand-text{display:flex;flex-direction:column;gap:2px}
.brand-name{font-weight:900;letter-spacing:.2px}
.brand-role{font-size:12px;color:var(--muted)}

.nav-links{
  display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end;align-items:center
}
.nav-links a{
  font-size:13px;color:rgba(246,242,234,.80);
  padding:8px 10px;border-radius:999px;border:1px solid transparent;
}
.nav-links a:hover{border-color:rgba(255,255,255,.14);color:var(--text)}

/* BUTTONS */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:11px 14px;border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  font-weight:900;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease, filter .12s ease;
  cursor:pointer;
  user-select:none;
}
.btn:hover{transform:translateY(-1px);border-color:rgba(255,255,255,.20)}
.btn:active{transform:translateY(0)}

.btn .ico{display:inline-flex;align-items:center;justify-content:center}
.btn .ico svg{display:block}
.btn .ico{filter: drop-shadow(0 0 10px rgba(255,255,255,.10));}

/* GOLD */
.btn-gold{
  background: linear-gradient(180deg, rgba(215,176,106,.42), rgba(215,176,106,.18));
  border-color: rgba(215,176,106,.75);
  box-shadow: 0 10px 34px rgba(215,176,106,.16);
}
.btn-gold:hover{border-color: rgba(215,176,106,.95)}

/* WhatsApp */
.btn-wa{
  background: linear-gradient(180deg, rgba(37,211,102,.30), rgba(37,211,102,.12));
  border-color: rgba(37,211,102,.62);
  box-shadow: 0 12px 36px rgba(37,211,102,.16);
}
.btn-wa:hover{
  border-color: rgba(37,211,102,.85);
  background: linear-gradient(180deg, rgba(37,211,102,.34), rgba(37,211,102,.14));
}

/* Email */
.btn-mail{
  background: linear-gradient(180deg, rgba(215,176,106,.22), rgba(255,255,255,.05));
  border-color: rgba(215,176,106,.42);
}

/* Instagram */
.btn-ig{
  border-color: rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.04));
  position:relative;
}
.btn-ig::before{
  content:"";
  position:absolute;inset:-1px;border-radius:999px;
  padding:1px;
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events:none;
  opacity:.95;
}
.btn-ig:hover{background:rgba(255,255,255,.06)}

/* LinkedIn */
.btn-in{
  background: linear-gradient(180deg, rgba(10,102,194,.30), rgba(10,102,194,.12));
  border-color: rgba(10,102,194,.62);
  box-shadow: 0 12px 36px rgba(10,102,194,.12);
}
.btn-in:hover{border-color: rgba(10,102,194,.85)}

/* HERO */
.hero{padding:46px 0 22px}
.hero-card{
  border:1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.035);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding: 22px;
  position:relative;
  overflow:hidden;
}
.hero-card::before{
  content:"";
  position:absolute;inset:-60px;
  background: radial-gradient(760px 300px at 30% 0%, rgba(215,176,106,.14), transparent 60%);
  pointer-events:none;
}
.hero-grid{display:grid;grid-template-columns: 1.2fr .8fr;gap:18px;align-items:stretch}
@media (max-width: 900px){ .hero-grid{grid-template-columns:1fr} }

h1{
  margin:0 0 12px;
  font-size:42px;
  line-height:1.05;
  letter-spacing:-.8px;
}
@media (max-width: 560px){ h1{font-size:34px} }

.hero-lead{
  margin:0 0 14px;
  color: var(--muted);
  max-width: 760px;
  font-size: 17px;
}
.hero-lead strong{color:var(--text)}

.pills{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 18px}
.pill{
  font-size:12px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.035);
  color: rgba(246,242,234,.88);
  display:inline-flex;align-items:center;gap:8px;
}
.pill-dot{
  width:8px;height:8px;border-radius:999px;background: var(--gold);
  box-shadow: 0 0 0 4px rgba(215,176,106,.12);
}
.cta{display:flex;gap:10px;flex-wrap:wrap}

/* PROFILE CARD */
.profile-card{
  border:1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.035);
  border-radius: var(--radius2);
  padding:16px;
  height:100%;
}
.profile-top{display:flex;gap:14px;align-items:flex-start}
.profile-photo{
  width:180px;
  height:240px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.02);
  overflow:hidden;
  flex:0 0 auto;
  box-shadow: 0 18px 55px rgba(0,0,0,.55), 0 0 0 3px rgba(215,176,106,.10);
}
@media (max-width: 900px){ .profile-photo{width:160px;height:210px;border-radius:24px} }
@media (max-width: 560px){ .profile-photo{width:140px;height:190px;border-radius:22px} }
.profile-photo img{width:100%;height:100%;object-fit:cover;object-position: 50% 20%;}
.profile-id{min-width:0}
.profile-title{font-weight:950;font-size:18px;margin-top:2px}
.profile-sub{color:var(--muted);font-size:14px;margin-top:6px}
.quick-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.promise{
  margin-top:14px;
  border:1px dashed rgba(215,176,106,.52);
  background: rgba(215,176,106,.09);
  border-radius: var(--radius);
  padding:12px;
  color: rgba(246,242,234,.88);
}
.promise strong{color:var(--text)}

/* SECTIONS */
.section{padding:26px 0}
.section-head{margin-bottom:14px}
.section-head h2{margin:0 0 8px;font-size:22px;letter-spacing:-.2px}
.lead{margin:0;color:var(--muted);max-width:860px}

.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media (max-width: 980px){.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 640px){.grid-3{grid-template-columns:1fr}}

.card{
  border:1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.035);
  border-radius: var(--radius);
  padding:16px;
}
.card-title{font-weight:950;margin:0 0 6px}
.card p{margin:0;color:var(--muted)}

.split{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (max-width: 860px){.split{grid-template-columns:1fr}}

.note{
  margin-top:14px;
  border:1px dashed rgba(215,176,106,.52);
  background: rgba(215,176,106,.09);
  border-radius: var(--radius);
  padding:14px;
  color: rgba(246,242,234,.88);
}

/* STEPS */
.steps{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.step{
  display:flex;gap:12px;align-items:flex-start;
  border:1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.035);
  border-radius: var(--radius);
  padding:14px;
}
.step-badge{
  width:44px;height:44px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  font-weight:1000;letter-spacing:.5px;
  background: rgba(215,176,106,.20);
  border:1px solid rgba(215,176,106,.40);
  flex:0 0 auto;
}
.step-title{font-weight:950;margin:0 0 4px}
.step-body p{margin:0;color:var(--muted)}
.cta-row{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}

/* GUIDED CHOICE */
.guide-wrap{display:grid;gap:14px}
.guide-block{
  border:1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.035);
  border-radius: var(--radius);
  padding:16px;
}
.guide-block h3{margin:0 0 10px;font-size:16px;letter-spacing:-.1px}
.choices{display:flex;gap:10px;flex-wrap:wrap}
.choice-option{
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.035);
  border-radius:999px;
  padding:10px 12px;
  color: rgba(246,242,234,.88);
  font-weight:900;
  cursor:pointer;
  user-select:none;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease, background .12s ease;
  display:inline-flex;align-items:center;gap:8px;
}
.choice-option:hover{transform:translateY(-1px);border-color: rgba(255,255,255,.22);}
.choice-option .mark{width:9px;height:9px;border-radius:999px;background: rgba(255,255,255,.24);}
.choice-option.is-selected,
.choice-option[aria-pressed="true"]{
  border-color: rgba(215,176,106,.98) !important;
  box-shadow: 0 0 0 3px rgba(215,176,106,.34) !important;
  background: rgba(215,176,106,.16) !important;
}
.choice-option.is-selected .mark,
.choice-option[aria-pressed="true"] .mark{
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(215,176,106,.12);
}
.result{
  border:1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.035);
  border-radius: var(--radius);
  padding:16px;
}
.r-title{font-weight:950;margin:0 0 8px}
.r-text{margin:0;color:var(--muted)}

/* STORIA */
.story-grid{display:grid;grid-template-columns: 1fr;gap:14px;align-items:stretch;}
.story-card p{margin:0 0 10px;color:var(--muted)}
.story-card p strong{color:var(--text)}
.story-timeline{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap;}
.t-item{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: rgba(246,242,234,.88);
  font-size:12.5px;line-height:1;
}
.t-year{
  font-weight:950;color: var(--text);
  padding:6px 8px;border-radius:999px;
  background: rgba(215,176,106,.18);
  border:1px solid rgba(215,176,106,.35);
}
.t-txt{color: rgba(246,242,234,.86)}

/* FINAL CTA */
.cta-final{
  border:1px solid rgba(255,255,255,.11);
  background: rgba(255,255,255,.035);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding:18px;
  display:grid;
  grid-template-columns: 1fr auto;
  gap:14px;
  align-items:center;
}
@media (max-width: 860px){
  .cta-final{grid-template-columns:1fr}
  .cta-final-right{justify-content:flex-start}
}
.cta-final h2{margin:0 0 8px;font-size:22px}
.cta-final-right{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}

/* FOOTER */
.footer{
  padding:30px 0 40px;
  border-top:1px solid rgba(255,255,255,.06);
  margin-top:10px;
}
.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start;}
@media (max-width: 760px){
  .footer-grid{grid-template-columns:1fr}
  .footer-right{text-align:left}
}
.footer-name{font-weight:950}
.footer-sub{color: rgba(246,242,234,.72); font-size:12.5px; margin-top:4px}
.footer-right{text-align:right}
.footer a{color: rgba(246,242,234,.82)}
.footer a:hover{color: var(--text)}

/* POPUP / MODALI */
.rv-modal{
  position:fixed;inset:0;
  display:none;
  align-items:center;justify-content:center;
  padding:18px;z-index:999;
}
.rv-modal[aria-hidden="false"]{display:flex;}
.rv-modal-backdrop{
  position:absolute;inset:0;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(6px);
}
.rv-modal-panel{
  position:relative;
  width:min(860px, 100%);
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.12);
  background: radial-gradient(760px 240px at 20% 0%, rgba(215,176,106,.16), transparent 60%), rgba(10,10,10,.92);
  box-shadow: 0 24px 90px rgba(0,0,0,.65);
  padding:22px;
  z-index:2;
}
.rv-modal-close{
  position:absolute;top:12px;right:12px;
  width:42px;height:42px;border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(246,242,234,.92);
  font-size:20px;line-height:1;
  cursor:pointer;
}
.rv-modal-close:hover{background: rgba(255,255,255,.09);border-color: rgba(255,255,255,.22);}
.rv-modal-title{
  font-size:34px;font-weight:950;letter-spacing:-.6px;
  margin:0 0 10px;
}
@media (max-width: 560px){ .rv-modal-title{font-size:26px} }
.rv-modal-text{
  color: rgba(246,242,234,.80);
  font-size:16px;margin:0 0 16px;
  max-width: 820px;
}
.rv-modal-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;}
#rvPopup .rv-modal-actions .btn{
  color: var(--text);
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
}
#rvPopup .rv-modal-actions .btn:not(.btn-gold){
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.32);
}
#rvPopup .rv-modal-actions .btn:not(.btn-gold):hover{
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.40);
}
