@font-face { font-family: "Bricolage Grotesque"; src: url(fonts/bricolage-grotesque.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(fonts/dm-sans.woff2) format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(fonts/dm-sans-italic.woff2) format("woff2"); font-weight: 100 1000; font-style: italic; font-display: swap; }

:root {
  --bg: #F6F4EF;
  --card: #FDFCF9;
  --line: #E4E0D6;
  --ink: #22313F;
  --body: #4A5568;
  --muted: #5A6573;
  --blue-1: #7DB3E0;
  --blue-2: #2E6A90;
  --blue-3: #2E4459;
  --coral: #D9532F;
  --coral-dk: #B8442A;
  --coral-tint: #FBE7E1;
  --night: #22313F;
  --night-text: #DCE3EA;
  --head: "Bricolage Grotesque", Georgia, sans-serif;
  --text: "DM Sans", Arial, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

/* lingua */
html[data-lang="it"] .en, html:not([data-lang]) .en { display: none !important; }
html[data-lang="en"] .it { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 18px; }
.lead { font-size: 21px; color: var(--body); max-width: 640px; }
.h2 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; margin-bottom: 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(246, 244, 239, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 19px; }
.brand svg { width: 34px; height: 22px; }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--body); }
.nav a:hover { color: var(--ink); }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang button { font: 600 13px var(--text); letter-spacing: 0.08em; padding: 7px 13px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

/* hero */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(52px, 8vw, 96px); font-weight: 800; }
.tagline { font-family: var(--head); font-size: clamp(32px, 4.4vw, 52px); font-weight: 600; color: var(--coral); margin: 14px 0 22px; line-height: 1.1; }
.hero .lead { margin-bottom: 36px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; }
.btn-main { background: var(--ink); color: var(--bg); }
.btn-main:hover { background: var(--blue-3); }
.btn-ghost { border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.hero-photo { position: relative; }
.hero-photo img { border-radius: 24px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.hero-photo .bars { position: absolute; left: -48px; bottom: 40px; width: 190px; }
.langs-note { margin-top: 28px; font-size: 15px; color: var(--muted); }

/* chi sono */
.about { border-top: 1px solid var(--line); }
.about .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.about .body p { color: var(--body); font-size: 19px; margin-bottom: 18px; }
.about .body b { color: var(--ink); }
.about .body .quote { font-family: var(--head); font-style: normal; font-size: 28px; font-weight: 600; color: var(--coral-dk); line-height: 1.2; margin-top: 8px; }

/* pilastri */
.pillars { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars-head { margin-bottom: 56px; }
.pillar { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; padding: 56px 0; border-top: 1px solid var(--line); }
.pillar:first-of-type { border-top: 0; padding-top: 0; }
.pillar.flip { grid-template-columns: 1.2fr 0.8fr; }
.pillar.flip .pillar-photo { order: 2; }
.pillar-photo img { border-radius: 20px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.pillar-label { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pillar-label svg { width: 64px; height: 16px; flex: none; }
.pillar-label span { font-size: 14px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--blue-2); }
.pillar h3 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; margin-bottom: 14px; }
.pillar .intro { color: var(--body); margin-bottom: 28px; }
.formats { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.formats li { border-left: 4px solid var(--c, var(--blue-1)); padding-left: 16px; }
.formats b { display: block; font-size: 17px; line-height: 1.3; margin-bottom: 4px; }
.formats li > span { display: block; font-size: 16px; color: var(--body); line-height: 1.45; }
.after { margin-top: 28px; background: var(--coral-tint); border-radius: 14px; padding: 18px 22px; font-size: 16px; color: var(--body); }
.after b { color: var(--coral-dk); }
.quest-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 28px; }
.quest-steps div { background: var(--blue-3); color: var(--bg); border-radius: 10px; padding: 12px 12px 14px; }
.quest-steps div:last-child { background: var(--coral-dk); }
.quest-steps b { display: block; font-size: 16px; }
.quest-steps div > span { display: block; font-size: 13px; line-height: 1.35; color: var(--night-text); margin-top: 4px; }
.quest-steps div:last-child > span { color: #FBE7E1; }
.quest-logo { width: 150px; margin-bottom: 18px; }
.note { margin-top: 24px; font-size: 16px; color: var(--muted); }

/* palco */
.stage { background: var(--night); color: var(--bg); }
.stage .eyebrow { color: var(--blue-1); }
.signature { font-size: clamp(42px, 6.4vw, 80px); font-weight: 800; color: #E8684A; max-width: 900px; }
.stage .lead { color: var(--night-text); margin-top: 24px; max-width: 760px; }
.credit { margin-top: 16px; font-size: 16px; color: #AEB9C5; }
.talks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 56px 0 64px; }
.talks div { border-left: 4px solid var(--blue-1); padding-left: 18px; }
.talks b { display: block; font-size: 19px; margin-bottom: 6px; }
.talks div > span { color: var(--night-text); font-size: 16px; }
.stage-photo img { border-radius: 20px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 40%; }
.how { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 80px; }
.how h3 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; margin-bottom: 28px; }
.how-list { display: flex; flex-direction: column; gap: 22px; }
.how-list div { border-left: 4px solid var(--coral); padding-left: 18px; }
.how-list b { display: block; font-size: 19px; margin-bottom: 4px; }
.how-list div > span { color: var(--night-text); font-size: 16px; }
.podcast img { border-radius: 20px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.podcast p { margin-top: 14px; font-size: 16px; color: var(--night-text); }
.podcast a { color: #F3A58F; }

/* formule */
.formule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.formula { background: var(--card); border: 1px solid var(--line); border-top: 6px solid var(--c); border-radius: 16px; padding: 28px; }
.formula h3 { font-size: 30px; font-weight: 700; margin-bottom: 8px; }
.formula b { display: block; color: var(--blue-2); font-size: 18px; margin-bottom: 8px; }
.formula p { color: var(--body); font-size: 16px; }

/* organizzazioni */
.orgs { border-top: 1px solid var(--line); }
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; margin-top: 40px; }
.sectors h3 { font-family: var(--text); font-size: 14px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 8px; }
.sectors p { font-size: 18px; color: var(--ink); }

/* contatti */
.contact { background: var(--card); border-top: 1px solid var(--line); }
.contact .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.contact h2 { font-size: clamp(52px, 8vw, 96px); font-weight: 800; margin-bottom: 24px; }
.contact .lead { margin-bottom: 32px; }
.contact-links { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; font-size: 18px; }
.contact-links a { text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 10px; display: flex; justify-content: space-between; }
.contact-links a:hover { color: var(--blue-2); }
.contact .bars { width: 100%; max-width: 380px; justify-self: end; }

/* footer */
footer { padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { color: var(--muted); }

/* privacy */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: 48px; margin-bottom: 28px; }
.legal h2 { font-family: var(--text); font-size: 20px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--body); }

/* responsive */
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .nav { display: none; }
  .hero .wrap, .about .wrap, .pillar, .pillar.flip, .how, .contact .wrap { grid-template-columns: 1fr; gap: 36px; }
  .pillar.flip .pillar-photo { order: 0; }
  .pillar-photo img { aspect-ratio: 4 / 3; }
  .hero-photo { max-width: 460px; }
  .hero-photo .bars { left: auto; right: -12px; bottom: -24px; width: 150px; }
  .talks, .formule-grid, .sectors { grid-template-columns: 1fr; gap: 28px; }
  .quest-steps { grid-template-columns: 1fr 1fr; }
  .contact .bars { justify-self: start; max-width: 260px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .formats { grid-template-columns: 1fr; }
}
