:root {
  --blue: #003878;
  --ink: #071e35;
  --yellow: #ffcb05;
  --orange: #f37021;
  --ivory: #f7f5ef;
  --white: #fff;
  --line: rgba(7, 30, 53, .13);
  --shadow: 0 20px 46px rgba(7, 30, 53, .09);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ivory);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  padding: 12px 16px;
  font-weight: 800;
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }
.display {
  font-family: "Bodoni Moda", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.045em;
}
.kicker {
  margin: 0;
  color: var(--orange);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .18em;
  line-height: 1.3;
}

.bio-shell {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  padding: 24px 20px calc(34px + env(safe-area-inset-bottom));
}
.bio-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .3;
  background-image: radial-gradient(rgba(0, 56, 120, .13) .7px, transparent .7px);
  background-size: 11px 11px;
  mask-image: linear-gradient(to bottom, #000, transparent 62%);
}
.bio-profile { position: relative; padding: 10px 2px 26px; }
.bio-profile__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand-signature { width: clamp(118px, 31vw, 144px); height: auto; justify-self: start; }
.share-button {
  display: inline-grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  cursor: pointer;
  transition: transform .16s var(--ease), background-color .16s var(--ease);
}
.share-button:hover { background: var(--white); transform: translateY(-2px); }
.profile-portrait { width: 96px; height: 96px; border: 4px solid var(--white); border-radius: 50%; object-fit: cover; object-position: center top; box-shadow: var(--shadow); }
.bio-profile__top .share-button { justify-self: end; }
.visually-hidden { position: absolute; width: 1px; height: 1px; clip: rect(0, 0, 0, 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.profile-credential { margin: 14px 0 0; color: rgba(7, 30, 53, .68); font-size: clamp(.72rem, 3.25vw, .81rem); font-weight: 700; letter-spacing: .05em; line-height: 1.45; text-transform: uppercase; white-space: nowrap; }
.profile-position { max-width: 32rem; margin: 12px 0 0; color: rgba(7, 30, 53, .72); font-size: 1rem; line-height: 1.55; }
.share-status { margin: 12px 0 0; color: var(--blue); font-size: .78rem; font-weight: 700; }
.share-status:empty { display: none; }
.copy-url { width: 100%; margin-top: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); padding: 10px; font: inherit; font-size: .78rem; }

.bio-stack { display: grid; gap: 14px; }
.bio-card,
.knowledge-panel { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.bio-card { min-height: 100px; text-decoration: none; transition: transform .16s var(--ease), box-shadow .16s var(--ease); }
.bio-card:hover { transform: translateY(-4px); box-shadow: 0 24px 56px rgba(7, 30, 53, .14); }
.bio-card:active,
.platform-link:active,
.share-button:active { transform: scale(.98); }
.bio-card__title { max-width: 19ch; margin: 10px 0 0; font-size: clamp(1.7rem, 7vw, 2.35rem); line-height: .92; }
.bio-card__copy { max-width: 33rem; margin: 12px 0 0; font-size: .9rem; line-height: 1.55; }
.arrow-icon { display: inline-grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; border-radius: 50%; }
.arrow-icon svg { display: block; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bio-card > .kicker { grid-column: 1 / -1; grid-row: 1; width: calc(100% - 44px); min-height: 30px; display: flex; align-items: center; }
.bio-card > .arrow-icon { position: absolute; top: 20px; right: 20px; z-index: 2; margin: 0; }

.bio-card--primary { isolation: isolate; position: relative; min-height: 0; border-color: var(--blue); background: var(--blue); color: var(--white); padding: 20px; }
.bio-card--primary::after { content: ""; position: absolute; z-index: -1; right: -52px; bottom: -80px; width: 190px; height: 190px; border: 24px solid rgba(255, 203, 5, .88); border-radius: 48% 52% 55% 45%; }
.bio-card--primary .kicker { color: var(--yellow); }
.bio-card--primary .bio-card__title { margin-top: 8px; font-size: clamp(1.58rem, 6.4vw, 2.12rem); }
.bio-card--primary .bio-card__copy { margin-top: 8px; color: rgba(255, 255, 255, .78); }
.bio-card--primary .bio-card__image { display: block; width: 100%; height: 180px; margin-top: 12px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 16px; background: var(--white); object-fit: cover; object-position: center 45%; box-shadow: 0 12px 28px rgba(0, 0, 0, .12); }
.bio-card--primary > .arrow-icon { position: absolute; top: 20px; right: 20px; margin: 0; background: var(--yellow); color: var(--ink); }

.bio-card--trajectory { display: grid; grid-template-columns: minmax(122px, .86fr) minmax(0, 1.14fr); gap: 16px; align-items: center; min-height: 220px; background: var(--ink); color: var(--white); padding: 20px; }
.bio-card--trajectory img.bio-card__image--trajectory { position: relative; grid-column: 1; grid-row: 2; width: 100%; height: 180px; margin: 0; align-self: stretch; border-radius: 18px; object-fit: cover; object-position: 30% center; opacity: 1; transition: transform .5s var(--ease); }
.bio-card--trajectory:hover img { transform: scale(1.03); }
.bio-card--trajectory > div { position: static; grid-column: 2; grid-row: 2; }
.bio-card--trajectory .kicker { color: var(--yellow); }
.bio-card--trajectory .bio-card__title { max-width: 14ch; margin-top: 0; }
.bio-card--trajectory .bio-card__copy { max-width: 26ch; color: rgba(255, 255, 255, .78); }
.bio-card--trajectory > .arrow-icon { background: var(--white); color: var(--ink); }

.bio-card--site { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(122px, .86fr); gap: 16px; align-items: center; min-height: 220px; background: var(--white); padding: 20px; }
.bio-card--site::after { content: ""; position: absolute; right: -26px; bottom: -33px; width: 118px; height: 118px; background: url("../assets/brand/gabriella-conte-gc-watermark.png") center / contain no-repeat; opacity: .13; }
.bio-card--site > * { position: relative; z-index: 1; }
.bio-card--site .bio-card__image--site { grid-column: 2; grid-row: 2 / span 2; width: 100%; height: 180px; margin: 0; align-self: stretch; border: 1px solid var(--line); border-radius: 18px; object-fit: cover; object-position: center 32%; }
.bio-card--site .bio-card__title,
.bio-card--site > .bio-card__copy,
.bio-card--site > .card-cta { grid-column: 1; }
.bio-card--site .bio-card__title { grid-row: 2; max-width: 14ch; }
.bio-card--site > .bio-card__copy { grid-row: 3; max-width: 28ch; }
.bio-card--site > .card-cta { grid-row: 4; margin-top: 10px; }
.card-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .9rem; line-height: 1.4; }
.bio-card--site .arrow-icon { background: var(--blue); color: var(--white); }
.bio-card--site > .arrow-icon { position: absolute; }
.bio-card--course { padding: 20px; background: #eef2f7; border-color: rgba(0, 56, 120, .2); }
.bio-card--course .kicker { color: var(--blue); }
.bio-card--course .bio-card__title { color: var(--blue); font-family: Manrope, Arial, sans-serif; font-size: clamp(1.5rem, 5vw, 1.9rem); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; }
.course-logo { display: block; width: 180px; max-width: 100%; height: auto; padding: 12px; background: #fff; border-radius: 12px; object-fit: contain; }
.bio-card--course .course-logo { margin: 18px auto 0; }
.bio-card--course > .card-cta { margin-top: 20px; color: var(--blue); font-weight: 700; }
.bio-card--course > .arrow-icon { background: var(--blue); color: var(--white); }

.knowledge-panel { padding: 24px; background: rgba(255, 255, 255, .82); }
.knowledge-panel h2 { max-width: 14ch; margin: 10px 0 0; font-size: clamp(1.9rem, 8vw, 2.7rem); line-height: .88; }
.bio-card--site .bio-card__title,
.knowledge-panel h2 {
  color: var(--blue);
  font-weight: 600;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 24;
}
.knowledge-panel > p:not(.kicker) { margin: 14px 0 20px; color: rgba(7, 30, 53, .7); font-size: .9rem; line-height: 1.55; }
.knowledge-panel__image { position: relative; overflow: hidden; margin: 18px 0 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--ink); }
.knowledge-panel__image img { width: 100%; height: 218px; object-fit: cover; object-position: center 34%; }
.knowledge-panel__image figcaption { padding: 9px 12px; color: rgba(255, 255, 255, .82); font-size: .72rem; font-weight: 700; line-height: 1.4; }
.platform-links { display: grid; gap: 8px; }
.platform-link { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--ivory); padding: 11px 14px; font-size: .84rem; font-weight: 800; text-decoration: none; transition: transform .16s var(--ease), border-color .16s var(--ease), background-color .16s var(--ease); }
.platform-link:hover { border-color: var(--blue); background: var(--white); transform: translateX(3px); }
.platform-link .arrow-icon { width: 28px; height: 28px; flex-basis: 28px; color: var(--orange); }

@media (min-width: 720px) {
  .platform-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.bio-footer { margin: 28px 0 -34px; background: var(--ink); color: var(--white); padding: 38px 20px calc(36px + env(safe-area-inset-bottom)); }
.bio-footer__inner { width: min(100%, 480px); margin-inline: auto; }
.brand-signature--white {
  width: 142px;
  height: auto;
  aspect-ratio: 289 / 197;
  object-fit: contain;
}
.footer-title { max-width: 14ch; margin: 24px 0 0; font-size: 2.35rem; line-height: .9; }
.footer-whatsapp { display: flex; min-height: 52px; align-items: center; justify-content: space-between; margin-top: 18px; border-radius: 999px; background: var(--yellow); color: var(--ink); padding: 8px 9px 8px 18px; font-size: .82rem; font-weight: 900; text-decoration: none; }
.footer-whatsapp .arrow-icon { width: 36px; height: 36px; background: var(--blue); color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 26px 0 0; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; color: rgba(255, 255, 255, .72); font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.footer-links a:hover { color: var(--yellow); }
.footer-legal { margin: 12px 0 0; color: rgba(255, 255, 255, .48); font-size: .7rem; line-height: 1.55; }

.journey-main { background: var(--ivory); }
.journey-shell { width: min(100%, 1080px); margin-inline: auto; padding: 20px 20px 72px; }
.back-link { display: inline-flex; min-height: 48px; align-items: center; gap: 9px; color: var(--blue); font-size: .77rem; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.journey-hero { position: relative; display: flex; min-height: 460px; align-items: flex-end; overflow: hidden; border-radius: 32px; background: var(--ink); color: var(--white); padding: 34px; }
.journey-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% center; opacity: .58; }
.journey-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 30, 53, .96), rgba(7, 30, 53, .48), rgba(7, 30, 53, .08)); }
.journey-hero__content { position: relative; z-index: 1; max-width: 40rem; }
.journey-hero h1 { margin: 10px 0 0; font-size: clamp(3.2rem, 10vw, 6.7rem); line-height: .82; }
.journey-hero p:not(.kicker) { max-width: 34rem; margin: 22px 0 0; color: rgba(255, 255, 255, .77); font-size: 1rem; line-height: 1.6; }
.journey-hero .kicker,
.journey-stage--blue .kicker { color: var(--yellow); }
.journey-grid { display: grid; gap: 16px; margin-top: 18px; }
.journey-stage { overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--white); padding: 28px; }
.journey-stage h2 { max-width: 15ch; margin: 10px 0 0; font-size: clamp(2.2rem, 8vw, 4.3rem); line-height: .88; }
.journey-stage p:not(.kicker) { max-width: 42rem; margin: 16px 0 0; color: rgba(7, 30, 53, .72); font-size: 1rem; line-height: 1.7; }
.journey-stage--blue { background: var(--blue); color: var(--white); }
.journey-stage--blue p:not(.kicker) { color: rgba(255, 255, 255, .76); }
.journey-stage--formation { align-self: start; }
.journey-stage--formation .kicker { color: var(--orange); }
.journey-stage--formation h2 { max-width: 13ch; }
.journey-timeline { position: relative; display: grid; gap: 24px; margin: 32px 0 0; padding: 0 0 0 20px; list-style: none; }
.journey-timeline::before { position: absolute; top: 8px; bottom: 8px; left: 4px; width: 1px; background: var(--line); content: ""; }
.journey-timeline li { position: relative; display: grid; gap: 5px; padding-left: 2px; color: rgba(7, 30, 53, .72); font-size: .94rem; line-height: 1.6; }
.journey-timeline li::before { position: absolute; top: 7px; left: -20px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); content: ""; }
.journey-timeline strong { color: var(--blue); font-size: .95rem; font-weight: 800; }
.journey-timeline span { display: block; }
.journey-formation-layout { display: grid; gap: 28px; margin-top: 30px; }
.journey-formation-layout .journey-timeline { margin-top: 0; }
.journey-formation-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.journey-formation-gallery figure { min-width: 0; overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--ivory); }
.journey-formation-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 54%; }
.journey-formation-gallery .journey-formation-photo--nbas { object-position: center 42%; }
.journey-formation-gallery figcaption { min-height: 42px; padding: 9px 10px; color: rgba(7, 30, 53, .76); font-size: .72rem; font-weight: 700; line-height: 1.4; }
.journey-media { display: grid; grid-template-columns: 1.25fr .75fr; gap: 12px; margin-top: 22px; }
.journey-media img { width: 100%; height: 240px; border-radius: 18px; object-fit: cover; }
.journey-media img:first-child { object-position: center 28%; }
.journey-media img:last-child { height: 188px; margin-top: 36px; }
.journey-media--single img:first-child { grid-column: 1 / -1; height: 280px; }
.journey-media--single img:last-child { display: none; }
.journey-documentary { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 22px; }
.journey-documentary h3 { margin: 0; font-size: clamp(1.65rem, 6vw, 2.45rem); line-height: .9; }
.journey-documentary p { max-width: 42rem; margin: 10px 0 0; color: rgba(7, 30, 53, .72); font-size: .94rem; line-height: 1.65; }
.journey-stage--blue .journey-documentary { border-color: rgba(255, 255, 255, .22); }
.journey-stage--blue .journey-documentary p { color: rgba(255, 255, 255, .76); }
.journey-teach { display: grid; gap: 12px; margin-top: 22px; }
.journey-teach div { border-top: 1px solid var(--line); padding-top: 14px; }
.journey-teach strong { color: var(--blue); font-size: 1.25rem; }
.journey-teach span { display: block; margin-top: 5px; color: rgba(7, 30, 53, .68); font-size: .9rem; line-height: 1.5; }
.journey-tedx { position: relative; display: flex; min-height: 390px; align-items: flex-end; overflow: hidden; border-radius: 28px; color: var(--white); padding: 28px; text-decoration: none; }
.journey-tedx img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.journey-tedx::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 30, 53, .96), rgba(7, 30, 53, .12)); }
.journey-tedx > div { position: relative; z-index: 1; }
.journey-tedx h2 { max-width: 13ch; margin: 10px 0 0; font-size: clamp(2.45rem, 8vw, 4.6rem); line-height: .86; }
.journey-tedx p { max-width: 35rem; margin: 16px 0 0; color: rgba(255, 255, 255, .76); line-height: 1.55; }
.journey-tedx__cta { display: inline-flex; min-height: 46px; align-items: center; gap: 14px; margin-top: 20px; border-radius: 999px; background: var(--yellow); color: var(--ink); padding: 7px 9px 7px 18px; font-size: .82rem; font-weight: 800; transition: background-color .18s ease, transform .18s ease; }
.journey-tedx__cta .arrow-icon { display: inline-grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--blue); color: var(--white); }
.journey-tedx:hover .journey-tedx__cta { background: #ffda45; }
.journey-tedx:hover .journey-tedx__cta .arrow-icon { transform: translateX(2px); }
.journey-tedx:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.journey-cta { display: grid; gap: 10px; margin-top: 18px; }
.journey-cta a { display: flex; min-height: 56px; align-items: center; justify-content: space-between; border-radius: 18px; padding: 10px 18px; font-size: .86rem; font-weight: 900; text-decoration: none; }
.journey-cta a:first-child { background: var(--blue); color: var(--white); }
.journey-cta a:last-child { background: var(--yellow); color: var(--ink); }

@media (max-width: 479px) {
  .bio-card--site {
    grid-template-columns: minmax(0, 1fr) clamp(100px, 30vw, 132px);
    grid-template-rows: auto 1fr auto auto;
    gap: 12px 16px;
    align-items: start;
  }
  .bio-card--site .bio-card__image--site { grid-row: 2; }
  .bio-card--site .bio-card__title { margin-top: 0; }
  .bio-card--site > .bio-card__copy,
  .bio-card--site > .card-cta { grid-column: 1 / -1; max-width: none; margin-top: 0; }
}

@media (min-width: 768px) {
  .bio-shell { padding-top: 42px; }
  .bio-card--primary .bio-card__image { height: 196px; }
  .bio-card--trajectory { grid-template-columns: minmax(180px, .76fr) minmax(0, 1.24fr); min-height: 238px; }
  .bio-card--trajectory img.bio-card__image--trajectory { height: 198px; }
  .bio-card--site { grid-template-columns: minmax(0, 1.24fr) minmax(180px, .76fr); min-height: 238px; }
  .bio-card--site .bio-card__image--site { height: 198px; }
  .knowledge-panel__image img { height: 210px; }
  .journey-shell { padding: 28px 32px 88px; }
  .journey-grid { grid-template-columns: 1fr 1fr; }
  .journey-stage--wide,
  .journey-tedx,
  .journey-cta { grid-column: 1 / -1; }
  .journey-stage { padding: 38px; }
  .journey-stage--formation h2 { max-width: 20ch; font-size: clamp(2.2rem, 3.4vw, 3rem); }
  .journey-formation-layout { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; gap: 28px; }
  .journey-formation-gallery { gap: 12px; }
  .journey-formation-gallery figcaption { min-height: 46px; padding: 10px 12px; font-size: .76rem; }
  .journey-media--single img:first-child { height: 360px; }
  .journey-cta { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
