/* =========================================================
   NOVA — Web Agency Bologna
   ========================================================= */
:root {
  --bg: #0c0806;
  --bg-2: #130d0a;
  --surface: #1b1310;
  --surface-2: #241915;
  --line: rgba(255, 236, 220, 0.09);
  --line-strong: rgba(255, 236, 220, 0.18);
  --text: #f8f0e9;
  --muted: #b9a79a;
  --red: #e5231b;
  --orange: #ff7a00;
  --yellow: #ffc21a;
  --grad: linear-gradient(115deg, #e5231b 0%, #ff7a00 50%, #ffc21a 100%);
  --grad-soft: linear-gradient(115deg, rgba(229, 35, 27, .18), rgba(255, 122, 0, .14), rgba(255, 194, 26, .12));
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .7);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font-display: "Syne", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main, .site-footer { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
::selection { background: var(--orange); color: #140a04; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head h2 { font-size: clamp(34px, 5.2vw, 64px); }
.section-head p { color: var(--muted); font-size: clamp(17px, 1.6vw, 19px); }
.skip-link { position: absolute; left: -999px; top: 10px; background: var(--yellow); color: #000; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 16px; border: 0; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #1a0b03; box-shadow: 0 12px 40px -12px rgba(255, 106, 0, .6); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 50px -12px rgba(255, 106, 0, .75); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: var(--orange); background: rgba(255, 122, 0, .08); transform: translateY(-3px); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- Scroll progress ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: transform .45s var(--ease), background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(12, 8, 6, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.site-header.hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color .25s, background .25s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.06); }
.nav-cta { height: 46px; padding: 0 22px; font-size: 15px; }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; inset: 78px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px var(--gutter) 28px; background: rgba(12, 8, 6, .97); border-bottom: 1px solid var(--line);
    clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease); pointer-events: none;
  }
  .menu-open .nav-links { clip-path: inset(0 0 0 0); pointer-events: auto; }
  .nav-links a { font-size: 20px; padding: 14px 8px; font-family: var(--font-display); color: var(--text); }
  .site-header.menu-open { background: rgba(12, 8, 6, .97); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 900px; height: 900px; right: -250px; top: -200px;
  background: radial-gradient(circle, rgba(255, 106, 0, .22), transparent 62%); filter: blur(20px); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 70%);
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5vw, 80px); font-weight: 800; margin-bottom: 26px; }
.hero-lead { font-size: clamp(18px, 1.8vw, 21px); color: var(--muted); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 44px; color: var(--muted); font-size: 14px; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--yellow); }
.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
#sphere { width: 100%; height: 100%; display: block; }
.hero-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 16px; font-size: 14px; font-weight: 600;
  background: rgba(27, 19, 16, .72); border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow); animation: float 6s ease-in-out infinite;
}
.hero-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px var(--orange); }
.hero-chip.c1 { top: 12%; left: -4%; }
.hero-chip.c2 { bottom: 16%; right: -2%; animation-delay: -2s; }
.hero-chip.c3 { bottom: 2%; left: 10%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 2px solid var(--line-strong); border-radius: 20px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--orange); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 420px; order: -1; margin-top: -20px; }
  .hero-chip.c1 { left: 0; }
  .hero-chip.c2 { right: 0; }
  .scroll-cue { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 42px); font-weight: 700; padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; color: transparent; -webkit-text-stroke: 1px rgba(248, 240, 233, .45); }
.marquee-track span:nth-child(3n+1) { color: var(--text); -webkit-text-stroke: 0; }
.marquee-track span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s;
  display: flex; flex-direction: column;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 122, 0, .16), transparent 45%);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(255, 122, 0, .45); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 26px;
  background: var(--grad-soft); border: 1px solid rgba(255, 122, 0, .3);
}
.service-icon svg { width: 28px; height: 28px; color: var(--orange); }
.service-num { position: absolute; top: 26px; right: 28px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--muted); opacity: .6; }
.service-card h3 { font-size: 25px; margin-bottom: 12px; }
.service-card > p { color: var(--muted); font-size: 16px; }
.service-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 9px; }
.service-list li { position: relative; padding-left: 26px; font-size: 15px; color: #e4d6cb; }
.service-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 14px; height: 9px;
  border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg);
}
.service-ai { margin-top: auto; padding-top: 22px; }
.service-ai div { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); padding: 14px 16px; border-radius: 12px; background: rgba(255, 122, 0, .07); border: 1px dashed rgba(255, 122, 0, .35); }
.service-ai strong { color: var(--yellow); white-space: nowrap; }
@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Image band (parallax) ---------- */
.band { position: relative; height: clamp(360px, 60vh, 620px); overflow: hidden; display: flex; align-items: center; }
.band-media { position: absolute; inset: -18% 0; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,8,6,.92) 0%, rgba(12,8,6,.55) 55%, rgba(12,8,6,.2) 100%); }
.band .container { position: relative; z-index: 2; }
.band blockquote { margin: 0; max-width: 780px; font-family: var(--font-display); font-size: clamp(28px, 4.4vw, 56px); font-weight: 700; line-height: 1.12; }
.band cite { display: block; margin-top: 20px; font-family: var(--font-body); font-size: 16px; font-style: normal; color: var(--muted); font-weight: 400; }

/* ---------- AI section ---------- */
.ai { background: radial-gradient(1000px 600px at 10% 0%, rgba(229, 35, 27, .12), transparent 60%), var(--bg-2); }
.ai-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.ai-sticky { position: sticky; top: 120px; }
.ai-sticky h2 { font-size: clamp(34px, 5vw, 62px); }
.ai-sticky p { color: var(--muted); font-size: 18px; }
.ai-figure { margin: 30px 0 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; }
.ai-figure img { width: 100%; aspect-ratio: 2/1; object-fit: cover; }
.ai-steps { display: grid; gap: 22px; }
.ai-step { padding: 34px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.ai-step .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--grad-soft); border: 1px solid rgba(255,122,0,.3); color: var(--yellow); margin-bottom: 16px; }
.ai-step h3 { font-size: clamp(22px, 2.4vw, 28px); }
.ai-step p { color: var(--muted); margin-bottom: 0; }
.ai-step ul { margin: 16px 0 0; padding-left: 20px; color: #e4d6cb; font-size: 15.5px; }
.ai-step li { margin-bottom: 6px; }
.ai-step li::marker { color: var(--orange); }

.compare { margin-top: 12px; padding: 34px; border-radius: var(--radius); background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-strong); }
.compare h3 { font-size: 24px; margin-bottom: 6px; }
.compare > p { color: var(--muted); font-size: 15px; }
.bar-row { margin-top: 22px; }
.bar-label { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; color: #e4d6cb; }
.bar-label b { font-weight: 600; }
.bar { height: 14px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.bar.old i { background: #5b4a40; }
.bar.new i { background: var(--grad); box-shadow: 0 0 20px rgba(255,122,0,.5); }
.is-in .bar i { transform: scaleX(1); }
.compare small { display: block; margin-top: 18px; color: var(--muted); font-size: 13px; }
@media (max-width: 960px) { .ai-layout { grid-template-columns: 1fr; } .ai-sticky { position: static; } }

/* ---------- Process ---------- */
.process-wrap { position: relative; display: grid; gap: 0; }
.process-line { position: absolute; left: 31px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.process-line i { position: absolute; inset: 0; background: var(--grad); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
.process-step { display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 26px 0; position: relative; }
.process-dot { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--line-strong); font-family: var(--font-display); font-weight: 800; font-size: 20px; position: relative; z-index: 1; transition: border-color .5s, box-shadow .5s, color .5s; }
.process-step.is-in .process-dot { border-color: var(--orange); box-shadow: 0 0 0 6px rgba(255,122,0,.1), 0 0 30px rgba(255,122,0,.35); color: var(--yellow); }
.process-step h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 10px 0 8px; }
.process-step p { color: var(--muted); max-width: 640px; margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-media { position: relative; }
.about-media .img-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.about-media .img-main img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.about-card { position: absolute; right: -24px; bottom: 40px; padding: 22px 24px; border-radius: 18px; background: rgba(27, 19, 16, .85); border: 1px solid var(--line-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); max-width: 260px; }
.about-card strong { display: block; font-family: var(--font-display); font-size: 20px; margin-bottom: 4px; }
.about-card span { font-size: 14px; color: var(--muted); }
.about-text h2 { font-size: clamp(34px, 4.8vw, 58px); }
.about-text p { color: var(--muted); font-size: 17.5px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.value { padding: 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.value b { display: block; font-family: var(--font-display); font-size: 17px; margin-bottom: 4px; }
.value span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } .about-card { right: 12px; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(50px, 8vw, 90px); }
.stat { background: var(--bg); padding: 34px 26px; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(40px, 5vw, 60px); line-height: 1; margin-bottom: 10px; }
.stat span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), border-color .4s; }
.post-card:hover { transform: translateY(-6px); border-color: rgba(255,122,0,.45); }
.post-thumb { aspect-ratio: 16/10; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.07); }
.post-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.post-cat { color: var(--yellow); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.post-card h2, .post-card h3 { font-size: 21px; line-height: 1.22; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.post-more { margin-top: auto; font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; color: var(--orange); }
.post-more svg { width: 18px; transition: transform .3s var(--ease); }
.post-card:hover .post-more svg { transform: translateX(5px); }
.blog-foot { margin-top: 44px; text-align: center; }
@media (max-width: 1020px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; max-width: 900px; }
.faq-item { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s; }
.faq-item[open] { border-color: rgba(255,122,0,.4); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font-family: var(--font-display); font-weight: 600; font-size: 18px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-soft); color: var(--yellow); font-size: 20px; transition: transform .35s var(--ease); font-family: var(--font-body); }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: radial-gradient(900px 500px at 85% 55%, rgba(255, 122, 0, .14), transparent 60%), var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); }
.contact-info h2 { font-size: clamp(36px, 5vw, 64px); }
.contact-info > p { color: var(--muted); font-size: 18px; }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.contact-list a, .contact-list div { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .35s var(--ease); }
.contact-list a:hover { border-color: rgba(255,122,0,.5); transform: translateX(6px); }
.contact-list .ci { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid rgba(255,122,0,.3); flex: none; }
.contact-list .ci svg { width: 22px; height: 22px; color: var(--orange); }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list b { font-weight: 600; font-size: 16.5px; }
.form { padding: clamp(26px, 4vw, 42px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.form h3 { font-size: 26px; }
.form > p { color: var(--muted); font-size: 15px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 500; color: #e4d6cb; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--text); font: inherit; font-size: 16px; transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,122,0,.15); }
.form .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: calc(var(--radius) + 8px); padding: clamp(40px, 7vw, 80px); overflow: hidden; background: var(--grad); color: #1a0b03; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; background: url("../img/sfera-nova.png") center/contain no-repeat; opacity: .28; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta-band h2 { font-size: clamp(32px, 5vw, 60px); max-width: 760px; position: relative; }
.cta-band p { font-size: 18px; max-width: 560px; position: relative; color: #3a1a06; }
.cta-band .btn-dark { background: #140a05; color: #fff; position: relative; }
.cta-band .btn-dark:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(0,0,0,.6); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 70px 0 34px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-grid p, .footer-grid li { color: var(--muted); font-size: 15px; }
.footer-grid h4 { font-size: 16px; font-family: var(--font-body); font-weight: 600; margin-bottom: 16px; letter-spacing: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp floating ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 150; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 14px 34px -8px rgba(37, 211, 102, .6);
  transition: transform .35s var(--ease);
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s var(--ease) infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .wa-tip { position: absolute; right: 76px; white-space: nowrap; background: #fff; color: #111; font-size: 14px; font-weight: 600; padding: 9px 14px; border-radius: 10px; opacity: 0; transform: translateX(10px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; }
.wa-float:hover .wa-tip { opacity: 1; transform: none; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transition: opacity 1s var(--ease), transform 1s var(--ease), clip-path 1.2s var(--ease), filter 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal="up"] { transform: translateY(50px); }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="scale"] { transform: scale(.9); filter: blur(8px); }
.js [data-reveal="clip"] { opacity: 1; clip-path: inset(0 0 100% 0 round var(--radius)); }
.js [data-reveal="clip"] img { transform: scale(1.25); transition: transform 1.8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-reveal="clip"].is-in img { transform: scale(1); }
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi) * 55ms + 100ms); }
.js .split.is-in .w > span { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .split .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
}

/* =========================================================
   Blog pages
   ========================================================= */
.page-hero { padding: 170px 0 70px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 800px; height: 800px; right: -300px; top: -300px; background: radial-gradient(circle, rgba(255,106,0,.2), transparent 62%); pointer-events: none; }
.page-hero h1 { font-size: clamp(40px, 6.4vw, 84px); max-width: 900px; position: relative; }
.page-hero p { color: var(--muted); font-size: 19px; max-width: 640px; position: relative; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: all .25s; }
.filters button:hover { color: var(--text); border-color: var(--orange); }
.filters button.active { background: var(--grad); color: #1a0b03; border-color: transparent; }
.post-card.is-hidden { display: none; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 26px; list-style: none; padding: 0; position: relative; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; opacity: .5; }
.breadcrumb a:hover { color: var(--orange); }
.article-hero { padding: 150px 0 40px; position: relative; }
.article-hero h1 { font-size: clamp(34px, 5.2vw, 64px); max-width: 940px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; margin-top: 20px; }
.article-meta .post-cat { font-size: 13px; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin: 30px 0 0; border: 1px solid var(--line); }
.article-cover img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 60px; padding-top: 60px; padding-bottom: 100px; }
@media (min-width: 1021px) {
  .blog-grid.featured .post-card:first-child { grid-column: 1 / -1; flex-direction: row; }
  .blog-grid.featured .post-card:first-child .post-thumb { flex: 0 0 58%; aspect-ratio: auto; min-height: 340px; }
  .blog-grid.featured .post-card:first-child .post-body { padding: 40px; justify-content: center; }
  .blog-grid.featured .post-card:first-child h2 { font-size: 34px; }
}
.prose { font-size: 18.5px; line-height: 1.78; color: #eadfd6; max-width: 740px; }
.prose .lead { font-size: 21px; color: var(--text); line-height: 1.6; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 1.8em 0 .6em; color: var(--text); }
.prose h3 { font-size: 22px; margin: 1.5em 0 .5em; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--orange); }
.prose strong { color: var(--text); }
.prose a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; border-left: 3px solid var(--orange); background: var(--surface); border-radius: 0 14px 14px 0; font-size: 19px; color: var(--text); }
.aside-box { position: sticky; top: 110px; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-strong); }
.aside-box img { width: 70px; margin-bottom: 14px; }
.aside-box h3 { font-size: 21px; }
.aside-box p { color: var(--muted); font-size: 15px; }
.aside-box .btn { width: 100%; margin-top: 8px; }
.related { padding: 0 0 110px; }
.related h2 { font-size: clamp(28px, 3.6vw, 44px); margin-bottom: 30px; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } .aside-box { position: static; } }
