/*
 * Giulia Digitale — foglio di stile principale
 * Percorsi e regole sono mantenuti leggibili per la modifica in Dreamweaver.
 */

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-500.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-600.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-500.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-600.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-700.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #151922;
  --paper: #f7f5f0;
  --coral: #ff6f5e;
  --blue: #496dff;
  --muted: #6d7077;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.55 'DM Sans', sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.nav {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.5vw;
  background: #10141b;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.brand-logo { display: flex; align-items: center; width: min(245px, 24vw); }
.brand-logo img { display: block; width: 100%; height: auto; }
.nav nav { display: flex; gap: 34px; font-size: 14px; color: #d7d9de; }
.nav nav a { transition: color .2s; }
.nav nav a:hover { color: white; }
.nav-cta { background: white; color: var(--ink); padding: 13px 19px; border-radius: 3px; font-size: 14px; }
.nav-cta b { color: var(--coral); margin-left: 12px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 800px;
  padding: 178px 7vw 80px;
  background: radial-gradient(circle at 76% 40%, #dce4ff 0, rgba(220,228,255,.42) 19%, transparent 39%), linear-gradient(115deg, #f8f6f1 55%, #f2efe9);
}
.hero-copy { position: relative; z-index: 2; width: 46%; }
.eyebrow, section small { font-size: 12px; letter-spacing: .18em; font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #535763; }
.eyebrow i { width: 7px; height: 7px; background: var(--coral); border-radius: 50%; }
.hero h1 { font: 500 clamp(61px, 7.3vw, 108px)/.9 'Manrope'; letter-spacing: -.065em; margin: 28px 0 32px; }
.hero h1 em, .identity h2 em, .section-head em, .path-card em, .thinking em, .video-head em, .channel-head em, .contact em { font-family: Georgia, serif; font-weight: 400; }
.hero h1 em { color: var(--blue); }
.lead { max-width: 660px; font-size: 24px; line-height: 1.52; color: #565b65; }
.lead strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.button { padding: 17px 22px; border: 1px solid var(--ink); font-size: 15px; font-weight: 600; }
.primary { background: var(--ink); color: white; }
.primary span { color: var(--coral); margin-left: 22px; }
.ghost { background: rgba(255,255,255,.62); }
.play { font-size: 10px; margin-right: 10px; }
.proof { display: flex; align-items: stretch; gap: 0; margin-top: 55px; }
.proof-group { display: flex; align-items: center; gap: 18px; padding: 0 27px; border-left: 1px solid #c9c7c2; }
.proof-group:first-child { padding-left: 0; border-left: 0; }
.proof-group > b { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: #555a63; writing-mode: vertical-rl; transform: rotate(180deg); }
.proof-stat { display: flex; flex-direction: column; gap: 2px; }
.proof-stat strong { font: 600 26px 'Manrope'; white-space: nowrap; }
.proof-stat small { font-size: 11px; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.hero-visual {
  position: absolute;
  z-index: 1;
  inset: 92px 0 0;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 0 43%, rgba(247,245,240,.72) 46%, transparent 50% 100%); }
.hero-visual img { display: block; width: 66%; height: 100%; margin-left: auto; object-fit: cover; object-position: center 28%; transform: none; }
.hero-visual figcaption { position: absolute; z-index: 2; right: 5.5vw; bottom: 32px; min-width: 255px; padding: 16px 20px; background: #10141b; color: white; }
.hero-visual figcaption span, .hero-visual figcaption b { display: block; }
.hero-visual figcaption span { font-size: 10px; letter-spacing: .16em; color: #9ea3ae; margin-bottom: 5px; }
.hero-visual figcaption b { font-size: 12px; font-weight: 500; }

.identity { padding: 105px 7vw; display: grid; grid-template-columns: .9fr 1.1fr; gap: 9vw; background: white; }
.identity-title small { color: var(--coral); }
.identity h2 { font: 500 clamp(42px, 5vw, 70px)/1.03 'Manrope'; letter-spacing: -.05em; margin: 20px 0 0; }
.identity h2 em { color: var(--blue); }
.identity-copy { border-top: 1px solid #d3d0ca; padding-top: 23px; }
.identity-copy > p { font-size: 20px; line-height: 1.7; color: #61656d; margin: 0 0 18px; }
.identity-copy > p:first-child { font-size: 23px; color: var(--ink); }
.identity-copy a { border-bottom: 1px solid var(--blue); color: #3456dd; }
.identity-line { margin-top: 32px; padding: 23px 25px; background: #eef1ff; display: flex; flex-wrap: wrap; gap: 5px 9px; font: 19px Georgia, serif; }
.identity-line b { color: var(--blue); font-weight: 400; }

.manifesto { text-align: center; padding: 85px 20px; background: var(--ink); color: white; }
.manifesto p { font: 400 20px Georgia; margin: 0 0 8px; color: #969aa3; font-style: italic; }
.manifesto h2 { font: 500 clamp(40px, 5vw, 68px) 'Manrope'; letter-spacing: -.045em; margin: 0; }
.manifesto span { display: block; margin-top: 18px; color: #a9acb4; font-size: 16px; }

.paths { padding: 110px 7vw; }
.section-head, .video-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; }
.section-head h2, .video-head h2, .channel-head h2, .contact h2 { font: 500 clamp(42px, 5vw, 70px)/1.03 'Manrope'; letter-spacing: -.05em; margin: 18px 0 0; }
.section-head p { max-width: 390px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.path-card { padding: 42px; min-height: 620px; display: flex; flex-direction: column; }
.dark { background: #1a1f28; color: white; }
.coral { background: var(--coral); color: #171922; }
.card-top { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .14em; }
.icon { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid currentColor; border-radius: 50%; font-size: 18px; }
.path-card h3 { font: 500 clamp(38px, 4vw, 61px)/.98 'Manrope'; letter-spacing: -.045em; margin: 50px 0 25px; }
.dark h3 em { color: #8ea4ff; }
.coral h3 em { color: white; }
.path-card > p { font-size: 19px; line-height: 1.6; max-width: 540px; opacity: .85; }
.path-card ul { list-style: none; padding: 0; margin: 25px 0 40px; }
.path-card li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.2); font-size: 16px; }
.coral li { border-color: rgba(0,0,0,.18); }
.path-card button { margin-top: auto; border: 0; background: white; color: var(--ink); padding: 17px 19px; text-align: left; font-size: 15px; font-weight: 600; cursor: pointer; }
.coral button { background: var(--ink); color: white; }
.path-card button span { float: right; }

.thinking { text-align: center; padding: 120px 20px; background: #edeae4; }
.quote { font: 80px Georgia; color: var(--coral); line-height: .5; }
.thinking h2 { font: 400 clamp(34px, 4.2vw, 60px)/1.2 Georgia; margin: 30px auto; max-width: 1000px; }
.thinking h2 em { color: var(--blue); }
.thinking p { font-size: 11px; letter-spacing: .2em; }

.videos { padding: 110px 7vw; }
.video-head a { font-size: 14px; border-bottom: 1px solid; padding-bottom: 6px; }
.video-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.thumb { aspect-ratio: 16/9; overflow: hidden; position: relative; background: #ddd; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.video:hover img { transform: scale(1.03); }
.thumb span { position: absolute; display: grid; place-items: center; left: 18px; bottom: 18px; width: 45px; height: 45px; background: var(--coral); border-radius: 50%; font-size: 12px; }
.video small { display: block; color: var(--coral); margin: 20px 0 12px; }
.video h3 { font: 500 23px/1.3 'Manrope'; margin: 0 0 18px; }
.video b { font-size: 13px; }

.channels { padding: 110px 7vw; background: #e8e5df; }
.channel-head { display: grid; grid-template-columns: 1fr .6fr; column-gap: 8vw; margin-bottom: 52px; }
.channel-head small { grid-column: 1/-1; margin-bottom: 18px; }
.channel-head h2 { margin: 0; }
.channel-head p { align-self: end; color: var(--muted); font-size: 19px; line-height: 1.65; max-width: 490px; }
.channel-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.channel { min-height: 390px; padding: 30px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.channel:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(21,25,34,.1); }
.channel > div { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .16em; font-weight: 600; }
.channel > div b { font-size: 18px; }
.channel h3 { font: 500 clamp(30px, 3vw, 45px) 'Manrope'; letter-spacing: -.04em; margin: 72px 0 18px; }
.channel p { font-size: 19px; line-height: 1.6; opacity: .84; margin: 0; }
.channel > strong { margin-top: auto; font-size: 13px; }
.youtube { background: #151922; color: white; }
.tiktok { background: var(--blue); color: white; }
.instagram { background: var(--coral); color: var(--ink); }

.contact { padding: 110px 7vw; background: #1a1f28; color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.contact-copy > p { color: #a9adb5; font-size: 19px; line-height: 1.65; max-width: 560px; }
.contact h2 em { color: #8ca2ff; }
.promise { display: flex; align-items: center; gap: 13px; margin-top: 40px; }
.promise > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--coral); }
.promise p { font-size: 14px; color: #a9adb5; line-height: 1.45; }
.promise b { color: white; }
form { background: #f7f5f0; color: var(--ink); padding: 36px; }
.switch { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 30px; background: #e4e1da; padding: 4px; }
.switch button { border: 0; padding: 13px; background: transparent; cursor: pointer; font-size: 14px; }
.switch .active { background: var(--ink); color: white; }
label { display: block; font-size: 11px; letter-spacing: .14em; font-weight: 600; margin: 20px 0; }
input:not([type="checkbox"]), textarea { display: block; width: 100%; border: 0; border-bottom: 1px solid #c7c3bb; background: transparent; padding: 12px 0; font: 17px 'DM Sans'; outline: none; resize: vertical; }
input:not([type="checkbox"]):focus, textarea:focus { border-color: var(--blue); }
.privacy-check { display: flex; align-items: flex-start; gap: 10px; margin: 23px 0; font-size: 13px; line-height: 1.45; letter-spacing: 0; font-weight: 400; cursor: pointer; }
.privacy-check input { flex: 0 0 18px; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); cursor: pointer; }
.privacy-check a { color: #3456dd; border-bottom: 1px solid currentColor; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.submit { width: 100%; border: 0; background: var(--coral); padding: 17px 18px; text-align: left; font-size: 15px; font-weight: 600; cursor: pointer; }
.submit span { float: right; }
.submit:disabled { cursor: wait; opacity: .72; }
.fine, .sent, .form-error { text-align: center; font-size: 12px; color: #777; margin: 13px 0 0; }
.sent { color: #3d59ca; }
.form-error { color: #b33333; }

footer { padding: 30px 5.5vw 24px; background: #10141b; color: white; }
.footer-main { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; flex-direction: column; gap: 7px; width: 220px; }
.footer-brand img { width: 100%; height: auto; }
.footer-brand span { color: #7e838d; font-size: 11px; }
.footer-brand span a { color: #bbc0c8; }
footer p { font: italic 16px Georgia; color: #878b94; }
.footer-social { display: flex; gap: 20px; font-size: 13px; }
footer small { color: #6f737d; font-size: 11px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #292e37; color: #747984; font-size: 10px; line-height: 1.5; }
.footer-legal b { color: #aeb2ba; font-weight: 600; }
.footer-legal a { color: #aeb2ba; border-bottom: 1px solid #555b65; }

.not-found {
  min-height: 100vh;
  padding: 70px 7vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: radial-gradient(circle at 78% 30%, #dce4ff 0, transparent 35%), var(--paper);
}
.not-found-logo { position: absolute; top: 36px; left: 7vw; width: min(280px, 60vw); }
.not-found-logo img { display: block; width: 100%; height: auto; filter: invert(1); }
.not-found-code { color: var(--coral); font: 600 14px/1 'DM Sans'; letter-spacing: .22em; }
.not-found h1 { margin: 22px 0; font: 500 clamp(55px, 9vw, 120px)/.92 'Manrope'; letter-spacing: -.065em; }
.not-found h1 em { color: var(--blue); font-family: Georgia, serif; font-weight: 400; }
.not-found p { max-width: 560px; margin: 0 0 34px; color: var(--muted); font-size: 20px; }
.not-found .button { display: inline-block; }

@media (max-width: 1050px) {
  .hero { min-height: 760px; padding-left: 5vw; }
  .hero-copy { width: 48%; }
  .hero h1 { font-size: clamp(58px, 7vw, 78px); }
  .lead { font-size: 20px; }
}

@media (min-width: 851px) and (max-width: 1180px) {
  .proof-group { gap: 13px; padding: 0 18px; }
  .proof-group:first-child { padding-left: 0; }
}

@media (max-width: 850px) {
  body { font-size: 17px; line-height: 1.5; }
  .nav nav { display: none; }
  .nav { padding: 0 20px; height: 82px; }
  .brand-logo { width: 210px; max-width: 58vw; }
  .nav-cta { padding: 11px; }
  .hero { padding: 125px 24px 70px; min-height: auto; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 59px; max-width: 640px; }
  .lead { font-size: 18px; max-width: 680px; }
  .hero-visual { position: relative; inset: auto; width: min(100%, 520px); margin: 58px 0 0 auto; overflow: visible; pointer-events: auto; }
  .hero-visual::after { display: none; }
  .hero-visual img { width: 100%; height: auto; aspect-ratio: 1/1; object-position: center; transform: none; box-shadow: 0 30px 70px rgba(21,25,34,.18); }
  .hero-visual figcaption { right: auto; left: 0; bottom: 0; }
  .identity { grid-template-columns: 1fr; gap: 45px; padding: 80px 24px; }
  .identity-copy > p { font-size: 18px; }
  .identity-copy > p:first-child { font-size: 22px; }
  .section-head, .video-head { display: block; }
  .section-head p { margin-top: 20px; font-size: 17px; }
  .paths, .videos, .channels { padding: 80px 20px; }
  .cards, .video-grid, .channel-grid, .contact { grid-template-columns: 1fr; }
  .path-card { padding: 28px; min-height: 560px; }
  .path-card > p { font-size: 18px; }
  .path-card li { font-size: 15px; }
  .video-grid { gap: 42px; }
  .channel-head { grid-template-columns: 1fr; }
  .channel-head p { margin-top: 24px; font-size: 17px; }
  .channel p { font-size: 17px; }
  .channel { min-height: 330px; }
  .contact { padding: 80px 20px; }
  .contact-copy > p { font-size: 17px; }
  .contact form { padding: 24px; }
  input:not([type="checkbox"]), textarea { font-size: 16px; }
  .video-head a { display: inline-block; margin-top: 24px; }
  .footer-main { flex-wrap: wrap; justify-content: flex-start; }
  .footer-main p { display: none; }
  .footer-main small { margin-left: auto; }
  .footer-legal { display: grid; gap: 5px; width: 100%; }
}

@media (max-width: 480px) {
  .brand-logo { width: 185px; }
  .hero h1 { font-size: 49px; }
  .nav-cta { font-size: 0; }
  .nav-cta b { font-size: 15px; margin: 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { text-align: center; }
  .proof { display: grid; grid-template-columns: 1fr; gap: 18px; }
  .proof-group { padding: 0; border-left: 0; gap: 15px; }
  .proof-group + .proof-group { padding-top: 18px; border-top: 1px solid #c9c7c2; }
  .proof-group > b { width: 54px; writing-mode: horizontal-tb; transform: none; }
  .proof-stat { min-width: 88px; }
  .proof-stat strong { font-size: 20px; }
  .hero-visual { padding: 0 0 22px 18px; }
  .hero-visual figcaption { min-width: 230px; padding: 13px 16px; }
  .identity-line { display: block; }
  .identity-line b { display: block; margin-top: 4px; }
  .switch { grid-template-columns: 1fr; }
  .footer-brand { width: 200px; }
  .footer-social { width: 100%; }
  .footer-main small { margin-left: 0; }
}
