:root {
  --navy: #000e1e;
  --navy-2: #0f2439;
  --slate: #35485f;
  --ice: #f7f9fb;
  --muted: #b4c8e4;
  --orange: #fd9000;
  --orange-2: #ffb778;
  --line: rgba(180, 200, 228, 0.22);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(0, 14, 30, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ice);
  color: #191c1e;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 14, 30, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange-2);
  border-color: var(--orange);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
  font-size: 24px;
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: #2e1500;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, background 160ms ease;
}

.nav-links > .button {
  min-width: 126px;
  padding-inline: 18px;
  flex: 0 0 auto;
}

.button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.button.dark {
  background: var(--navy);
  color: var(--white);
}

.button.ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.hero {
  background:
    linear-gradient(135deg, rgba(0, 14, 30, 0.96), rgba(15, 36, 57, 0.88)),
    radial-gradient(circle at 16% 20%, rgba(253, 144, 0, 0.2), transparent 28%);
  color: var(--white);
  overflow: hidden;
}

.section {
  padding: 88px 0;
}

.section.compact {
  padding: 56px 0;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-2);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.3rem;
}

p {
  margin: 0;
}

.lead {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  max-width: 670px;
}

.text-muted {
  color: #607086;
}

.accent {
  color: var(--orange);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-media {
  position: relative;
  min-height: 470px;
}

.hero-media img,
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid rgba(253, 144, 0, 0.36);
  border-radius: 8px;
}

.card {
  min-height: 100%;
  padding: 28px;
  border: 1px solid #dde5ee;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 4px 22px rgba(0, 14, 30, 0.06);
}

.dark-card {
  background: var(--navy-2);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(253, 144, 0, 0.14);
  color: var(--orange);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.section-title {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-title.center {
  margin-inline: auto;
  text-align: center;
}

.split-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow);
}

.split-feature .content {
  padding: clamp(28px, 5vw, 56px);
}

.feature-image {
  min-height: 390px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat {
  min-height: 152px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
}

.stat.orange {
  background: var(--orange);
  color: #2e1500;
}

.stat strong {
  font-size: 2.4rem;
  line-height: 1;
}

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::after,
.technical-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(180, 200, 228, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(180, 200, 228, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.formation-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.formation-card {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.formation-card.wide {
  grid-column: span 8;
}

.formation-card.small {
  grid-column: span 4;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 36, 57, 0.08);
  color: var(--navy-2);
  font-size: 0.76rem;
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: 0.72fr 0.28fr;
  gap: 32px;
  align-items: start;
}

.panel {
  padding: 28px;
  border: 1px solid #dde5ee;
  border-radius: 8px;
  background: var(--white);
}

.program-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.program-list article {
  padding: 22px;
  border-left: 4px solid var(--orange);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 22px rgba(0, 14, 30, 0.06);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.steps li {
  list-style: none;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--orange);
  color: #2e1500;
  font-weight: 900;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--slate);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c7d2df;
  border-radius: 8px;
  padding: 14px 14px;
  font: inherit;
  background: var(--white);
  color: #191c1e;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(253, 144, 0, 0.25);
  border-color: var(--orange);
}

.footer {
  padding: 56px 0 28px;
  background: var(--navy);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer h3,
.footer h4 {
  color: var(--white);
}

.footer ul {
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer a:hover {
  color: var(--orange-2);
}

.copyright {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92rem;
}

.notice {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(253, 144, 0, 0.16);
  color: var(--navy);
  font-weight: 800;
}

.notice.visible {
  display: block;
}

.notice.error {
  background: rgba(255, 68, 68, 0.16);
  color: #ffd6d6;
}

.landing-page {
  background: #05070c;
  color: #fff;
}

.landing-page .site-header {
  background: #070d1a;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.landing-page .nav {
  width: min(1100px, calc(100% - 52px));
  min-height: 74px;
}

.landing-page .brand {
  font-size: 0.82rem;
  text-transform: uppercase;
}

.landing-page .brand img {
  width: 32px;
  height: 32px;
}

.landing-page .nav-links {
  gap: 34px;
  font-size: 0.88rem;
}

.landing-page .nav-links > .button {
  min-width: 128px;
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.78rem;
}

.landing-page .button {
  min-height: 54px;
  padding-inline: 28px;
}

.landing-page h1 {
  margin-top: 24px;
  font-size: clamp(2.25rem, 4.7vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.landing-page h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.08;
}

.landing-page h3 {
  font-size: 1rem;
}

.landing-page .lead {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.58;
}

.landing-hero {
  padding: 124px 0 106px;
  background-color: #07101e;
  background-image:
    linear-gradient(135deg, rgba(7, 16, 30, 0.88), rgba(7, 16, 30, 0.7)),
    radial-gradient(circle at 20px 20px, rgba(253, 144, 0, 0.18) 0 4px, transparent 5px),
    linear-gradient(rgba(180, 200, 228, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 200, 228, 0.035) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px, 28px 28px;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 74px;
  align-items: center;
}

.landing-chip,
.landing-overline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(253, 144, 0, 0.13);
  color: var(--orange-2);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.landing-chip::before {
  content: "↯";
  color: var(--orange);
}

.landing-hero-media {
  position: relative;
  min-height: 430px;
}

.landing-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.landing-hero-media::before {
  content: "";
  position: absolute;
  inset: 20px -18px -18px 18px;
  border: 1px solid rgba(253, 144, 0, 0.28);
  border-radius: 28px;
}

.landing-services {
  background: #0b0d12;
}

.landing-services .section-title {
  margin-bottom: 74px;
}

.landing-services .section-title::after {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.landing-service-grid {
  gap: 24px;
}

.landing-card {
  padding: 44px;
  background: #101725;
  border-color: rgba(180, 200, 228, 0.18);
  color: #fff;
  min-height: 295px;
}

.landing-card p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  line-height: 1.58;
}

.landing-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(253, 144, 0, 0.1);
  border: 1px solid rgba(253, 144, 0, 0.24);
}

.landing-project {
  background: #04070d;
  padding-top: 78px;
  padding-bottom: 78px;
}

.landing-feature {
  grid-template-columns: 1fr 1fr;
  max-width: 1088px;
  margin-inline: auto;
  background: #0c1422;
  border: 1px solid rgba(180, 200, 228, 0.12);
  border-radius: 28px;
}

.landing-feature .content {
  padding: 76px 74px;
}

.landing-feature .lead {
  max-width: 420px;
  font-size: 0.94rem;
}

.landing-feature .feature-image {
  min-height: 430px;
}

.landing-feature .feature-image img {
  filter: brightness(0.82) contrast(1.08);
}

.landing-text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--orange-2);
  font-weight: 900;
  font-size: 0.9rem;
}

.landing-values {
  background: #060918;
  padding-top: 86px;
  padding-bottom: 86px;
}

.landing-values-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}

.landing-values h2 {
  max-width: 360px;
  margin-bottom: 40px;
}

.landing-value-list {
  display: grid;
  gap: 24px;
}

.landing-value-list article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  align-items: start;
}

.landing-value-list article > span {
  color: var(--orange);
  font-weight: 900;
}

.landing-value-list p {
  max-width: 560px;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.landing-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 22px;
  align-items: center;
}

.landing-stats .stat {
  min-height: 172px;
  border: 1px solid rgba(180, 200, 228, 0.16);
  background: #101526;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.landing-stats .stat.orange {
  min-height: 245px;
  background: var(--orange);
}

.landing-stats .stat.blue {
  min-height: 245px;
  background: #112b40;
}

.landing-stats .stat strong {
  font-size: 2.7rem;
}

.landing-stats .stat span {
  margin-top: 8px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.landing-cta {
  position: relative;
  overflow: hidden;
  background: #0b0d12;
  padding-top: 88px;
  padding-bottom: 96px;
}

.landing-cta::before {
  content: "";
  position: absolute;
  inset: 8% 30%;
  background: radial-gradient(circle, rgba(253, 144, 0, 0.16), transparent 62%);
  filter: blur(30px);
}

.landing-cta .container {
  position: relative;
}

.landing-cta .lead {
  margin-inline: auto;
  max-width: 560px;
}

.landing-cta .button {
  min-width: 286px;
  min-height: 72px;
  border-radius: 999px;
  margin-top: 18px;
}

.landing-footer {
  background: #05070a;
  padding-top: 58px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.landing-footer .container {
  width: min(1180px, calc(100% - 32px));
}

.landing-footer .footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1.35fr;
}

.landing-footer h3 {
  color: var(--orange);
  max-width: 180px;
  font-size: 1.7rem;
  line-height: 1.05;
}

.landing-footer h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
}

.landing-footer p,
.landing-footer a {
  font-size: 0.86rem;
}

.newsletter-form {
  display: flex;
  margin-top: 14px;
}

.newsletter-form input {
  min-width: 0;
  height: 42px;
  border-radius: 4px 0 0 4px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 600;
}

.newsletter-form button {
  width: 64px;
  border: 0;
  border-radius: 0 4px 4px 0;
  background: var(--orange);
  color: #2e1500;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 900;
  cursor: pointer;
}

.landing-footer .copyright {
  text-align: center;
  color: rgba(180, 200, 228, 0.55);
}

.massa-page {
  background: #020817;
  color: #fff;
}

.massa-page .container {
  width: min(1110px, calc(100% - 48px));
}

.massa-header {
  background: #07101e;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.massa-header .nav {
  width: min(1110px, calc(100% - 48px));
  min-height: 56px;
}

.massa-header .brand {
  font-size: 0.86rem;
  color: #ffb778;
}

.massa-header .brand img {
  width: 26px;
  height: 26px;
}

.massa-header .nav-links {
  gap: 24px;
  font-size: 0.78rem;
}

.massa-header .nav-links > .button {
  min-width: 88px;
  min-height: 30px;
  padding-inline: 18px;
  border-radius: 999px;
  font-size: 0.68rem;
}

.massa-hero {
  min-height: 650px;
  background: #061424;
  color: #fff;
  overflow: hidden;
}

.massa-hero-grid {
  display: grid;
  grid-template-columns: 0.46fr 0.54fr;
  min-height: 650px;
  align-items: stretch;
}

.massa-hero-copy {
  position: relative;
  z-index: 2;
  padding: 132px 0 86px;
}

.massa-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(253, 144, 0, 0.16);
  color: #ffb778;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.massa-chip::before {
  content: "↯";
}

.massa-hero h1 {
  margin-top: 28px;
  font-size: clamp(2.05rem, 3.65vw, 3.25rem);
  line-height: 1.06;
}

.massa-hero h1 span,
.massa-vision h2 span {
  color: var(--orange);
}

.massa-hero p {
  max-width: 470px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
}

.massa-hero .button {
  min-width: 178px;
  min-height: 54px;
}

.massa-hero-image {
  position: relative;
  min-height: 100%;
}

.massa-hero-image::before {
  content: "";
  position: absolute;
  inset: 0 0 0 -260px;
  z-index: 1;
  background: linear-gradient(90deg, #061424 0%, rgba(6, 20, 36, 0.94) 28%, rgba(6, 20, 36, 0.34) 62%, rgba(6, 20, 36, 0.12) 100%);
}

.massa-hero-image img {
  position: absolute;
  inset: 0;
  width: calc(100% + 120px);
  height: 100%;
  object-fit: cover;
  filter: brightness(0.66) contrast(1.08);
}

.massa-vision,
.massa-architecture {
  background: #061424;
  color: #fff;
  padding: 84px 0;
}

.massa-architecture {
  background: #07101e;
}

.massa-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 88px;
  align-items: center;
}

.massa-split h2,
.massa-architecture h2 {
  font-size: 2rem;
}

.massa-split p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.massa-split > img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(180, 200, 228, 0.14);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
}

.massa-mini-cards {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.massa-mini-cards article {
  padding: 18px 20px;
  border-radius: 8px;
  background: #0d263b;
  border: 1px solid rgba(180, 200, 228, 0.16);
  color: #fff;
}

.massa-mini-cards strong::before {
  content: "◎";
  margin-right: 8px;
  color: var(--orange);
}

.massa-mini-cards p {
  margin-top: 6px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
}

.massa-benefits,
.massa-journey {
  background: #061424;
  color: #fff;
  padding: 84px 0;
}

.massa-section-title {
  text-align: center;
  margin-bottom: 48px;
}

.massa-section-title h2 {
  font-size: 2rem;
}

.massa-section-title p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
}

.massa-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.massa-benefit-grid article {
  min-height: 220px;
  padding: 36px;
  border-radius: 8px;
  background: #0d263b;
  border: 1px solid rgba(180, 200, 228, 0.13);
}

.massa-benefit-grid article.wide {
  grid-column: span 2;
}

.massa-benefit-grid span {
  color: var(--orange);
  font-size: 1.55rem;
  font-weight: 900;
}

.massa-benefit-grid h3 {
  margin-top: 34px;
}

.massa-benefit-grid p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.86rem;
}

.massa-architecture .section-title {
  margin-bottom: 34px;
}

.massa-architecture .text-muted {
  color: rgba(255, 255, 255, 0.66);
}

.massa-arch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.massa-arch-grid article {
  min-height: 176px;
  padding: 22px;
  border-radius: 8px;
  background: #0d263b;
  border: 1px solid rgba(180, 200, 228, 0.16);
  color: #fff;
}

.massa-arch-grid span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(253, 144, 0, 0.16);
  color: var(--orange);
}

.massa-arch-grid p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.massa-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.massa-steps li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.massa-steps strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: #fff;
  color: #07101e;
  font-size: 0.78rem;
}

.massa-steps span {
  color: var(--orange);
  font-weight: 900;
  font-size: 0.82rem;
}

.massa-steps p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  line-height: 1.45;
}

.massa-final-cta {
  background: var(--orange);
  color: #2e1500;
  padding: 72px 0;
  text-align: center;
}

.massa-final-cta h2 {
  font-size: 2.45rem;
}

.massa-final-cta p {
  max-width: 560px;
  margin: 14px auto 26px;
  color: rgba(46, 21, 0, 0.74);
}

.massa-final-cta .hero-actions {
  justify-content: center;
}

.massa-final-cta .button {
  min-width: 190px;
  border-radius: 999px;
}

.massa-final-cta .button.ghost {
  color: #2e1500;
  border-color: rgba(46, 21, 0, 0.34);
  background: rgba(255, 255, 255, 0.18);
}

.massa-footer {
  background: #061424;
  padding-top: 48px;
}

.massa-footer .footer-grid {
  grid-template-columns: 1.7fr 1fr 1fr;
}

.massa-footer h3 {
  color: #ffb778;
  font-size: 1rem;
}

.massa-footer h3::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 4px;
  background: url("assets/images/logo-massa.png") center/cover;
}

.formations-page {
  background: #061424;
  color: #d9e5f5;
  font-family: Georgia, "Times New Roman", serif;
}

.formations-page h1,
.formations-page h2,
.formations-page h3,
.formations-page .brand,
.formations-page .button,
.formations-page .nav-links {
  font-family: Georgia, "Times New Roman", serif;
}

.formations-header {
  background: #061424;
  border-bottom-color: rgba(180, 200, 228, 0.24);
}

.formations-header .nav {
  width: min(1140px, calc(100% - 64px));
  min-height: 70px;
}

.formations-header .brand {
  color: #b7c8e1;
  font-size: 1.7rem;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 0;
}

.formations-header .nav-links {
  gap: 48px;
  color: #b7c8e1;
  font-size: 1.05rem;
}

.formations-header .nav-links a:hover,
.formations-header .nav-links a.active {
  color: var(--orange);
}

.formations-header .nav-links > .button {
  min-width: 146px;
  min-height: 42px;
  color: #2e1500;
  font-size: 0.95rem;
  border-bottom: 0;
}

.formations-main {
  background-color: #061424;
  background-image:
    linear-gradient(rgba(180, 200, 228, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 200, 228, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
}

.formations-page .container {
  width: min(1140px, calc(100% - 64px));
}

.formations-hero {
  min-height: 570px;
  display: grid;
  place-items: start center;
  padding-top: 116px;
  text-align: center;
}

.formations-overline,
.formations-section-title span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.formations-overline::before,
.formations-section-title span::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--orange);
}

.formations-hero h1 {
  margin-top: 22px;
  color: #fff;
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 1;
}

.formations-hero p {
  max-width: 690px;
  margin: 34px auto 0;
  color: #aebed2;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.6;
}

.formations-catalog {
  padding: 70px 0 84px;
}

.formations-section-title {
  max-width: 650px;
  margin-bottom: 52px;
}

.formations-section-title h2 {
  margin-top: 16px;
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.formations-section-title p {
  margin-top: 58px;
  color: #9dafc5;
  font-size: 1rem;
  font-weight: 700;
}

.formations-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.formation-tile {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 44px;
  border-radius: 8px;
  background: #0d263b;
  border: 1px solid rgba(180, 200, 228, 0.25);
  color: #fff;
}

.formation-tile h3 {
  font-size: 1.36rem;
  line-height: 1.18;
}

.formation-tile p {
  margin-top: 18px;
  color: #aebed2;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.formation-tile .button {
  min-width: 178px;
  min-height: 48px;
  margin-top: 36px;
  font-size: 0.98rem;
}

.formation-icon {
  margin-bottom: 26px;
  color: var(--orange);
  font-size: 2rem;
  font-weight: 900;
}

.formation-tile.cyber {
  grid-column: span 8;
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  padding: 0;
}

.formation-visual {
  position: relative;
  min-height: 430px;
}

.formation-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 36, 0), rgba(6, 20, 36, 0.18));
}

.formation-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: brightness(1.12) contrast(1.12) saturate(1.05);
}

.formation-copy {
  padding: 54px 44px;
}

.formation-tile.ai {
  grid-column: span 4;
}

.formation-ai-visual {
  height: 122px;
  margin-top: 34px;
  border-radius: 8px;
  border: 1px solid rgba(180, 200, 228, 0.18);
  background: #0a1d2f;
  box-shadow: inset 0 0 45px rgba(253, 144, 0, 0.12);
  overflow: hidden;
}

.formation-ai-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(1.06) contrast(1.08) saturate(1.08);
}

.formation-tile.programming {
  grid-column: span 4;
}

.formations-page .chip {
  background: rgba(180, 200, 228, 0.1);
  border: 1px solid rgba(180, 200, 228, 0.26);
  color: #c4d4e9;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.formation-tile.project {
  grid-column: span 8;
  min-height: 360px;
  padding-right: 170px;
}

.formation-tile.project ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 56px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  color: #b7c8e1;
  font-size: 0.9rem;
  font-weight: 900;
}

.formation-tile.project li::before {
  content: "◎";
  color: var(--orange);
  margin-right: 8px;
}

.project-mark {
  position: absolute;
  right: 44px;
  top: 44px;
  width: 116px;
  height: 116px;
  opacity: 0.08;
  background:
    linear-gradient(#b7c8e1 0 0) 0 0 / 34px 34px no-repeat,
    linear-gradient(#b7c8e1 0 0) 48px 0 / 34px 82px no-repeat,
    linear-gradient(#b7c8e1 0 0) 88px 48px / 34px 34px no-repeat,
    linear-gradient(#b7c8e1 0 0) 48px 88px / 34px 34px no-repeat;
}

.formations-cta {
  padding: 82px 0 92px;
  text-align: center;
  background: rgba(13, 38, 59, 0.36);
  border-block: 1px solid rgba(180, 200, 228, 0.22);
}

.formations-cta h2 {
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.formations-cta p {
  max-width: 650px;
  margin: 24px auto 36px;
  color: #aebed2;
  font-size: 1.06rem;
  font-weight: 700;
}

.formations-cta .button {
  min-width: 250px;
  min-height: 56px;
}

.formations-footer {
  background: #061424;
  border-top: 1px solid rgba(180, 200, 228, 0.22);
  font-family: Georgia, "Times New Roman", serif;
}

.formations-footer h3 {
  color: #b7c8e1;
  font-size: 2rem;
}

.formations-footer h4 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.formations-footer p,
.formations-footer a {
  color: #9dafc5;
  font-weight: 700;
}

.formations-footer a.active,
.formations-footer a:hover {
  color: var(--orange);
}

.social-link {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-top: 16px;
  border-radius: 8px;
  background: rgba(180, 200, 228, 0.12);
  border: 1px solid rgba(180, 200, 228, 0.24);
  font-weight: 900;
}

.formations-footer .copyright {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.formations-footer .copyright span:last-child {
  display: flex;
  gap: 38px;
}

.contact-page {
  background: #061424;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
}

.contact-page h1,
.contact-page h2,
.contact-page h3,
.contact-page .brand,
.contact-page .nav-links,
.contact-page .button {
  font-family: Georgia, "Times New Roman", serif;
}

.contact-header {
  background: #061424;
  border-bottom-color: rgba(180, 200, 228, 0.18);
}

.contact-header .nav {
  width: min(1160px, calc(100% - 64px));
  min-height: 84px;
}

.contact-header .brand {
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.contact-header .brand img {
  width: 40px;
  height: 40px;
  border-radius: 0;
}

.contact-header .nav-links {
  gap: 38px;
  text-transform: uppercase;
  color: #fff;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
}

.contact-header .nav-links a:hover,
.contact-header .nav-links a.active {
  color: var(--orange);
}

.contact-header .nav-links > .button {
  min-width: 178px;
  min-height: 38px;
  border-bottom: 0;
  color: #2e1500;
  font-size: 0.78rem;
}

.contact-main {
  min-height: 100vh;
  background-color: #061424;
  background-image: radial-gradient(circle, rgba(180, 200, 228, 0.24) 1px, transparent 1.3px);
  background-size: 24px 24px;
}

.contact-page .container {
  width: min(1160px, calc(100% - 64px));
}

.contact-hero {
  padding: 80px 0 48px;
}

.contact-hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.25rem);
  line-height: 1;
}

.contact-hero p {
  max-width: 790px;
  margin-top: 28px;
  color: #8fa0b8;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.7;
}

.contact-content {
  padding-bottom: 92px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(300px, 0.3fr);
  gap: 80px;
  align-items: start;
}

.contact-form-card {
  min-height: 840px;
  padding: 50px;
  border-radius: 8px;
  background: rgba(7, 16, 30, 0.66);
  border: 1px solid rgba(180, 200, 228, 0.18);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 24px;
}

.contact-form-grid .full {
  grid-column: 1 / -1;
}

.contact-page label {
  color: #8fa0b8;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 900;
}

.contact-page input,
.contact-page select,
.contact-page textarea {
  min-height: 50px;
  border-color: rgba(180, 200, 228, 0.3);
  background: #0d263b;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.contact-page textarea {
  min-height: 172px;
}

.contact-page input::placeholder,
.contact-page textarea::placeholder {
  color: #fff;
  opacity: 1;
}

.contact-form-card .button {
  min-width: 326px;
  min-height: 76px;
  margin-top: 8px;
  font-size: 1.25rem;
}

.contact-page .notice {
  background: rgba(253, 144, 0, 0.18);
  color: #ffdcc1;
}

.contact-side {
  display: grid;
  gap: 50px;
}

.contact-card {
  border-radius: 8px;
  background: rgba(13, 38, 59, 0.82);
  border: 1px solid rgba(180, 200, 228, 0.16);
  padding: 48px;
}

.contact-coordinates {
  min-height: 340px;
}

.contact-card h2 {
  color: #ffb778;
  font-size: 1.38rem;
  margin-bottom: 26px;
}

.contact-line {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  margin-top: 24px;
}

.contact-line > span {
  color: var(--orange);
  font-size: 1.35rem;
  font-weight: 900;
}

.contact-line strong,
.contact-expertise h3,
.contact-location strong {
  display: block;
  color: #8fa0b8;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-line a {
  display: inline-block;
  margin-top: 6px;
  color: #fff;
  font-weight: 900;
  line-height: 1.4;
}

.contact-expertise {
  min-height: 214px;
}

.contact-expertise h3 {
  color: #ffb778;
  margin-bottom: 18px;
}

.contact-page .chip {
  background: #061424;
  color: #aebed2;
  border: 1px solid rgba(180, 200, 228, 0.1);
  font-size: 0.82rem;
  text-transform: none;
}

.contact-location {
  min-height: 190px;
  display: grid;
  place-items: center;
  text-align: center;
}

.contact-location p {
  margin-top: 6px;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 900;
}

.contact-location > span {
  margin-top: 10px;
  color: var(--orange);
  font-size: 2rem;
  font-weight: 900;
}

.contact-footer {
  padding: 48px 0;
  background: #061424;
  border-top: 1px solid rgba(180, 200, 228, 0.12);
  font-family: Georgia, "Times New Roman", serif;
}

.contact-footer .container {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.contact-footer h3 {
  color: #fff;
  font-size: 1.35rem;
}

.contact-footer p {
  margin-top: 16px;
  color: #8fa0b8;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
}

.contact-footer a {
  color: #8fa0b8;
  font-size: 0.82rem;
  font-weight: 900;
}

.start-page {
  background: #061424;
  color: #fff;
}

.start-header {
  background: #061424;
  border-bottom-color: rgba(180, 200, 228, 0.22);
}

.start-header .nav {
  width: min(1120px, calc(100% - 64px));
  min-height: 70px;
}

.start-header .brand {
  color: #c4d4e9;
  font-size: 1.75rem;
  font-weight: 900;
}

.start-header .nav-links {
  gap: 44px;
  color: #c4d4e9;
  font-size: 1.05rem;
}

.start-header .nav-links > .button {
  min-width: 146px;
  min-height: 40px;
  color: #2e1500;
}

.start-main {
  background-color: #061424;
  background-image:
    linear-gradient(rgba(180, 200, 228, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 200, 228, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
}

.start-page .container {
  width: min(1120px, calc(100% - 64px));
}

.start-section {
  padding: 80px 0 78px;
}

.start-layout {
  display: grid;
  grid-template-columns: 0.36fr 0.64fr;
  gap: 78px;
  align-items: start;
}

.start-intro {
  padding-top: 4px;
}

.start-overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.86rem;
  font-weight: 700;
}

.start-overline::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--orange);
}

.start-intro h1 {
  max-width: 330px;
  margin-top: 18px;
  font-size: clamp(2.55rem, 4.6vw, 4rem);
  line-height: 1.16;
}

.start-intro > p {
  max-width: 360px;
  margin-top: 28px;
  color: #c4d4e9;
  font-size: 1.05rem;
  line-height: 1.6;
}

.start-benefits {
  display: grid;
  gap: 24px;
  margin-top: 48px;
}

.start-benefits article {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: 8px;
  background: rgba(13, 38, 59, 0.9);
  border: 1px solid rgba(180, 200, 228, 0.28);
}

.start-benefits article > span {
  color: var(--orange);
  font-size: 1.45rem;
  font-weight: 900;
}

.start-benefits h2 {
  font-size: 1.18rem;
}

.start-benefits p {
  margin-top: 4px;
  color: #aebed2;
}

.start-right {
  display: grid;
  gap: 46px;
}

.start-form-card {
  position: relative;
  padding: 76px;
  border-radius: 8px;
  background: #0d263b;
  border: 1px solid rgba(180, 200, 228, 0.3);
  overflow: hidden;
}

.start-form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #b4c8e4, var(--orange));
}

.start-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.start-form-grid .full {
  grid-column: 1 / -1;
}

.start-page label {
  color: #c4d4e9;
  text-transform: none;
  font-size: 1rem;
  font-weight: 400;
}

.start-page input,
.start-page select,
.start-page textarea {
  min-height: 72px;
  border-color: rgba(180, 200, 228, 0.28);
  background: #102338;
  color: #fff;
  font-size: 1rem;
}

.start-page textarea {
  min-height: 166px;
}

.start-page input::placeholder,
.start-page textarea::placeholder {
  color: rgba(196, 212, 233, 0.58);
}

.phone-row {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 8px;
}

.phone-row select,
.phone-row input {
  min-width: 0;
}

.consent-row {
  margin-top: 22px;
  padding-top: 28px;
  border-top: 1px solid rgba(180, 200, 228, 0.24);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #c4d4e9;
}

.checkbox-label input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin-top: 2px;
}

.start-form-card .button {
  width: min(350px, 100%);
  min-height: 70px;
  margin-top: 18px;
  font-size: 1rem;
}

.start-page .notice {
  background: rgba(253, 144, 0, 0.16);
  color: #ffdcc1;
}

.start-visual {
  position: relative;
  height: 250px;
  min-height: 250px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(180, 200, 228, 0.24);
}

.start-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) sepia(0.12) hue-rotate(160deg) saturate(1.18);
}

.start-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 45, 65, 0.08);
}

.start-visual strong {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
}

.start-footer {
  padding: 48px 0;
  background: #061424;
  border-top: 1px solid rgba(180, 200, 228, 0.22);
}

.start-footer .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr;
  gap: 28px;
  align-items: center;
}

.start-footer h2 {
  color: #fff;
  font-size: 1.9rem;
}

.start-footer nav {
  display: flex;
  gap: 28px;
  color: #c4d4e9;
}

.start-footer p {
  color: #8fa0b8;
}

.landing-footer .newsletter-form input,
.landing-footer .newsletter-form button {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.landing-footer .newsletter-form input {
  min-height: 42px;
  color: #fff;
  font-weight: 600;
}

.landing-footer .newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}

/* Unified page chrome: keep headers and major titles aligned with the landing page. */
.massa-page,
.formations-page,
.contact-page,
.start-page {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.formations-page h1,
.formations-page h2,
.formations-page h3,
.formations-page .brand,
.formations-page .button,
.formations-page .nav-links,
.contact-page h1,
.contact-page h2,
.contact-page h3,
.contact-page .brand,
.contact-page .nav-links,
.contact-page .button {
  font-family: inherit;
}

.site-header,
.massa-header,
.formations-header,
.contact-header,
.start-header {
  background: rgba(0, 14, 30, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.site-header .nav,
.massa-header .nav,
.formations-header .nav,
.contact-header .nav,
.start-header .nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
}

.site-header .brand,
.massa-header .brand,
.formations-header .brand,
.contact-header .brand,
.start-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}

.site-header .brand img,
.massa-header .brand img,
.formations-header .brand img,
.contact-header .brand img,
.start-header .brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.site-header .nav-links,
.massa-header .nav-links,
.formations-header .nav-links,
.contact-header .nav-links,
.start-header .nav-links {
  gap: 22px;
  color: var(--muted);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.site-header .nav-links a:hover,
.site-header .nav-links a.active,
.massa-header .nav-links a:hover,
.massa-header .nav-links a.active,
.formations-header .nav-links a:hover,
.formations-header .nav-links a.active,
.contact-header .nav-links a:hover,
.contact-header .nav-links a.active,
.start-header .nav-links a:hover,
.start-header .nav-links a.active {
  color: var(--orange-2);
  border-color: var(--orange);
}

.site-header .nav-links > .button,
.massa-header .nav-links > .button,
.formations-header .nav-links > .button,
.contact-header .nav-links > .button,
.start-header .nav-links > .button {
  min-width: 126px;
  min-height: 46px;
  padding-inline: 18px;
  border-bottom: 0;
  border-radius: 8px;
  color: #2e1500;
  font-size: 1rem;
}

.landing-page h1,
.massa-hero h1,
.formations-hero h1,
.contact-hero h1,
.start-intro h1,
.page-hero h1 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.25rem, 4.7vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.formations-hero h1,
.contact-hero h1,
.start-intro h1 {
  font-weight: 800;
}

@media (max-width: 900px) {
  .nav {
    min-height: 68px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
  }

  .nav-links.open {
    display: flex;
  }

  .grid-2,
  .split-feature,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .stats,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .formation-card,
  .formation-card.wide,
  .formation-card.small {
    grid-column: 1 / -1;
  }

  .hero-media {
    min-height: 330px;
  }

  .hero-media::before {
    display: none;
  }

  .section {
    padding: 62px 0;
  }

  .landing-page .nav {
    width: min(100% - 32px, 1100px);
  }

  .landing-page .nav-links {
    gap: 18px;
  }

  .landing-hero {
    padding: 64px 0 58px;
  }

  .landing-hero-grid,
  .landing-values-grid,
  .landing-feature {
    grid-template-columns: 1fr;
  }

  .landing-hero-grid {
    gap: 36px;
  }

  .landing-hero-media {
    min-height: 300px;
  }

  .landing-hero-media::before {
    display: none;
  }

  .landing-card {
    min-height: auto;
    padding: 28px;
  }

  .landing-feature .content {
    padding: 34px;
  }

  .landing-feature .feature-image {
    min-height: 280px;
  }

  .landing-stats {
    grid-template-columns: 1fr;
  }

  .landing-stats .stat,
  .landing-stats .stat.orange,
  .landing-stats .stat.blue {
    min-height: 150px;
  }

  .landing-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .massa-page .container,
  .massa-header .nav {
    width: min(100% - 32px, 1110px);
  }

  .massa-hero-grid,
  .massa-split {
    grid-template-columns: 1fr;
  }

  .massa-hero,
  .massa-hero-grid {
    min-height: auto;
  }

  .massa-hero-copy {
    padding: 64px 0 34px;
  }

  .massa-hero-image {
    min-height: 330px;
  }

  .massa-hero-image::before {
    inset: 0;
    background: linear-gradient(180deg, #061424 0%, rgba(6, 20, 36, 0.18) 100%);
  }

  .massa-benefit-grid,
  .massa-arch-grid,
  .massa-steps,
  .massa-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .massa-benefit-grid article.wide {
    grid-column: auto;
  }

  .formations-page .container,
  .formations-header .nav {
    width: min(100% - 32px, 1140px);
  }

  .formations-header .brand {
    font-size: 1.08rem;
  }

  .formations-header .nav-links {
    gap: 18px;
    font-size: 1rem;
  }

  .formations-hero {
    min-height: 420px;
    padding-top: 72px;
  }

  .formations-section-title p {
    margin-top: 24px;
  }

  .formation-tile.cyber,
  .formation-tile.ai,
  .formation-tile.programming,
  .formation-tile.project {
    grid-column: 1 / -1;
  }

  .formation-tile.cyber {
    grid-template-columns: 1fr;
  }

  .formation-visual {
    min-height: 240px;
  }

  .formation-copy,
  .formation-tile {
    padding: 28px;
  }

  .formation-tile.project {
    padding-right: 28px;
  }

  .formation-tile.project ul {
    grid-template-columns: 1fr;
  }

  .project-mark {
    display: none;
  }

  .formations-footer .copyright {
    flex-direction: column;
  }

  .contact-page .container,
  .contact-header .nav {
    width: min(100% - 32px, 1160px);
  }

  .contact-header .brand {
    font-size: 1.28rem;
  }

  .contact-header .nav-links {
    gap: 18px;
  }

  .contact-layout,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    min-height: auto;
    padding: 28px;
  }

  .contact-form-card .button {
    width: 100%;
    min-width: 0;
  }

  .contact-card {
    padding: 28px;
  }

  .contact-footer .container {
    align-items: start;
    flex-direction: column;
  }

  .start-page .container,
  .start-header .nav {
    width: min(100% - 32px, 1120px);
  }

  .start-layout,
  .start-form-grid,
  .start-footer .container {
    grid-template-columns: 1fr;
  }

  .start-header .brand {
    font-size: 1.3rem;
  }

  .start-header .nav-links {
    gap: 18px;
  }

  .start-form-card {
    padding: 30px;
  }

  .phone-row {
    grid-template-columns: 88px 1fr;
  }

  .start-footer nav {
    flex-wrap: wrap;
  }
}

/* Final typography harmonization for Formations and Contact. */
.formations-page,
.contact-page {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.formations-page p,
.contact-page p,
.formations-page a,
.contact-page a,
.formations-page label,
.contact-page label,
.formations-page input,
.contact-page input,
.formations-page select,
.contact-page select,
.formations-page textarea,
.contact-page textarea,
.formations-page button,
.contact-page button {
  font-family: inherit;
}

.formations-hero p,
.contact-hero p {
  font-size: 1rem;
  line-height: 1.58;
  font-weight: 500;
}

.formations-section-title h2,
.formations-cta h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  line-height: 1.08;
}

.formations-section-title p,
.formations-cta p,
.formation-tile p,
.contact-line a,
.contact-location p {
  font-size: 0.98rem;
  line-height: 1.58;
  font-weight: 500;
}

.formation-tile h3,
.contact-card h2,
.contact-expertise h3 {
  font-size: 1.2rem;
  line-height: 1.12;
}

.formation-tile.project ul,
.formations-page .chip,
.contact-page .chip,
.contact-line strong,
.contact-location strong,
.contact-page label {
  font-size: 0.82rem;
  line-height: 1.35;
}

.contact-page input,
.contact-page select,
.contact-page textarea {
  font-size: 1rem;
  font-weight: 500;
}

.contact-form-card .button,
.formations-page .button {
  font-size: 1rem;
  font-weight: 850;
}

.training-detail-page {
  background: #061424;
  color: #fff;
}

.training-detail-page main {
  background-color: #061424;
  background-image:
    linear-gradient(rgba(180, 200, 228, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 200, 228, 0.028) 1px, transparent 1px);
  background-size: 48px 48px;
}

.training-detail-page .page-hero {
  background:
    linear-gradient(135deg, rgba(6, 20, 36, 0.96), rgba(7, 16, 30, 0.94)),
    radial-gradient(circle at 20% 20%, rgba(253, 144, 0, 0.12), transparent 30%);
  color: #fff;
  border-bottom: 1px solid rgba(180, 200, 228, 0.14);
}

.training-detail-page .page-hero::after {
  opacity: 0.58;
}

.training-detail-page .lead {
  color: rgba(255, 255, 255, 0.76);
}

.training-detail-page .section {
  background: transparent;
}

.training-detail-page h2,
.training-detail-page h3 {
  color: #fff;
}

.training-detail-page .text-muted {
  color: rgba(255, 255, 255, 0.68);
}

.training-detail-page .program-list article {
  background: #0d263b;
  border: 1px solid rgba(180, 200, 228, 0.16);
  border-left: 4px solid var(--orange);
  box-shadow: none;
}

.training-detail-page .panel {
  background: #0d263b;
  border-color: rgba(180, 200, 228, 0.16);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.training-detail-page .dark-card {
  background: #07101e;
}

.training-detail-page .chip {
  background: rgba(253, 144, 0, 0.14);
  border: 1px solid rgba(253, 144, 0, 0.22);
  color: #ffdcc1;
}

.training-detail-page .footer {
  background: #05070a;
}

@media (max-width: 900px) {
  .formations-header .brand,
  .contact-header .brand {
    font-size: 1rem;
  }

  .formations-header .nav-links,
  .contact-header .nav-links {
    font-size: 1rem;
  }
}
