:root {
  --bg: #f5f6fb;
  --fg: #0f172a;
  --muted: #5f6c87;
  --border: #e1e6ef;
  --card: #ffffff;
  --gradient: linear-gradient(120deg, #ff2fbf, #a245ff, #28d8ff);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  background: linear-gradient(180deg, rgba(255, 47, 191, 0.06), transparent 55%) fixed,
    linear-gradient(0deg, rgba(40, 216, 255, 0.08), transparent 65%) fixed,
    var(--bg);
  color: var(--fg);
}

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

.shell {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: #0f172a;
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar,
.topbar a {
  color: #f8fafc;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 180px;
  height: 180px;
}

.logo__text span {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.logo__text small {
  color: rgba(248, 250, 252, 0.7);
}

.main-nav ul {
  display: flex;
  gap: 18px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #f8fafc;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.lang-switch__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.lang-switch__flag {
  width: 18px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.lang-switch__flag--fr {
  background: linear-gradient(90deg, #002654 33%, #ffffff 33%, #ffffff 66%, #ef4135 66%);
}

.lang-switch__flag--en {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Cpath fill='%23012169' d='M0 0h60v30H0z'/%3E%3Cpath stroke='%23fff' stroke-width='6' d='M0 0l60 30M60 0L0 30'/%3E%3Cpath stroke='%23c8102e' stroke-width='4' d='M0 0l60 30M60 0L0 30'/%3E%3Cpath fill='%23fff' d='M25 0h10v30H25zM0 10h60v10H0z'/%3E%3Cpath fill='%23c8102e' d='M27 0h6v30h-6zM0 12h60v6H0z'/%3E%3C/svg%3E") center/cover no-repeat;
}

.lang-switch__label {
  display: inline-block;
}

.lang-switch__link:hover,
.lang-switch__link:focus {
  color: #ffffff;
}

.lang-switch__link.is-active {
  color: #ffffff;
}

.lang-switch__divider {
  color: rgba(255, 255, 255, 0.4);
}

.btn {
  background: var(--gradient);
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  box-shadow: 0 15px 30px rgba(255, 47, 191, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 25px 40px rgba(255, 47, 191, 0.35);
}

.btn:hover::after {
  opacity: 1;
}

.ghost {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
}

.hero {
  padding: 80px 0 60px;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.hero--sub {
  grid-template-columns: minmax(0, 1fr);
}

.tag {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
}

.stack h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin: 12px 0 16px;
  color: #7b5bff;
  text-align: center;
}

.hero--sub h1,
.about h1,
section h1 {
  color: #7b5bff;
  text-align: center;
}

.intro {
  font-size: 1.1rem;
  color: #1f2937;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 18px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.metrics article {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: var(--card);
}

.metrics strong {
  display: block;
  font-size: 1.5rem;
}

.hero-form {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(232, 247, 255, 0.92));
  border-radius: 32px;
  border: 1px solid rgba(255, 47, 191, 0.15);
  padding: 32px;
  box-shadow: 0 45px 70px rgba(15, 23, 42, 0.12);
  display: grid;
  gap: 16px;
}

.hero-form label {
  font-size: 0.9rem;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.hero-form input,
.hero-form select {
  border-radius: 18px;
  border: 1px solid rgba(40, 90, 255, 0.15);
  background: rgba(255, 255, 255, 0.9);
  padding: 14px 16px;
  font-size: 0.95rem;
}

.hero-form .btn {
  justify-self: start;
  margin-top: 8px;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 24, 0.95);
  color: #f4f6ff;
  box-shadow: 0 10px 30px rgba(7, 4, 24, 0.25);
}

.form-status[data-status="success"] {
  border-color: rgba(40, 216, 255, 0.5);
  background: rgba(40, 216, 255, 0.08);
  color: #0c1c2c;
}

.form-status[data-status="error"] {
  border-color: rgba(255, 47, 191, 0.4);
  background: rgba(255, 47, 191, 0.08);
  color: #2b0c1e;
}

.objective-callout {
  margin: 16px 0 0;
  padding: 18px 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 47, 191, 0.25);
  background: linear-gradient(140deg, rgba(255, 47, 191, 0.08), rgba(40, 216, 255, 0.08));
  font-weight: 600;
  color: #0f172a;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.process-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.process-list li {
  position: relative;
  padding: 26px 20px 20px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(7, 10, 24, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f5f7ff;
  box-shadow: 0 25px 45px rgba(10, 6, 24, 0.18);
  min-height: 160px;
}

.process-list__index {
  position: absolute;
  top: -24px;
  left: 20px;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(140deg, #ff2fbf, #a245ff, #28d8ff);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  box-shadow: 0 10px 25px rgba(255, 47, 191, 0.35);
}

.process-list h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.process-list p {
  margin: 0;
  color: rgba(243, 245, 255, 0.75);
  font-size: 0.93rem;
  line-height: 1.5;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.4;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 24, 0.95);
  color: #f4f6ff;
  box-shadow: 0 10px 30px rgba(7, 4, 24, 0.25);
}

.form-status[data-status="success"] {
  border-color: rgba(40, 216, 255, 0.5);
  background: rgba(40, 216, 255, 0.08);
  color: #0c1c2c;
}

.form-status[data-status="error"] {
  border-color: rgba(255, 47, 191, 0.4);
  background: rgba(255, 47, 191, 0.08);
  color: #2b0c1e;
}


.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: start;
}

.hero-visual,
.section-visual {
  margin-top: 24px;
  text-align: center;
}

.hero-visual img,
.section-visual img {
  width: 100%;
  max-width: 520px;
  border-radius: 28px;
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.12);
  height: 300px;
  object-fit: cover;
  object-position: center 20%;
}

.section-visual--wide img {
  max-width: 640px;
  height: 360px;
  object-position: center center;
}

.section-visual--center img {
  object-position: center;
}

.pan-bottom img {
  object-position: center 80%;
}

.pan-medium img {
  object-position: center 60%;
}

.pan-top img {
  object-position: center 30%;
}

.hero-visual img {
  height: 340px;
  object-position: center 40%;
}

.about {
  padding: 100px 0;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}


.video-wrapper {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
}

.video-wrapper iframe,
.video-wrapper video {
  width: min(1200px, 100%);
  height: auto;
  border: none;
  display: block;
  background: #000;
  margin: 0 auto;
}

.about.alt-layout {
  background: linear-gradient(180deg, rgba(255, 47, 191, 0.04), rgba(40, 216, 255, 0.04));
  border-radius: 32px;
  padding: 80px;
}

.about.alt-layout .about__list {
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.about.alt-layout .about__list article {
  background: #fff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.about__list {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.about__list.stacked {
  grid-template-columns: 1fr;
}

.benefits-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

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

.benefit-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 260px;
  background: #0f172a;
  transition: transform 0.3s ease;
}

.benefit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.benefit-card:nth-child(2n) {
  transform: translateY(30px);
}

.benefit-card:nth-child(2n + 1) {
  transform: translateY(-10px);
}

/* remove lone card offset on the last item */

.benefit-card:hover {
  transform: translateY(-6px) scale(1.01);
}

.benefit-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 15, 0) 40%, rgba(5, 5, 15, 0.9) 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.benefit-card .overlay h3 {
  margin: 0;
  font-size: 1.2rem;
}

.benefit-card .overlay p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.85);
}

.about__list article {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.services {
  padding: 90px 0;
}

.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 30px;
}

.cards article {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  background: var(--card);
}

.cards ul {
  padding-left: 18px;
  color: var(--muted);
}

.sectors {
  padding: 90px 0;
}

.sectors__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.sectors__grid--icons {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (min-width: 960px) {
  .sectors__grid--icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.sectors__grid article {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.95);
}

.sectors__grid--icons article h3 {
  font-size: 1.1rem;
}

.experts {
  background: #0f172a;
  color: #f1f5f9;
  padding: 80px 0;
}

.experts .grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 40px;
}

.experts article {
  background: rgba(15, 15, 20, 0.55);
  border-radius: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline {
  padding: 90px 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.event {
  border: 1px dashed var(--border);
  border-radius: 20px;
  padding: 24px;
  background: white;
}

.careers {
  padding: 90px 0;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.careers__card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  background: var(--card);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.careers__card ul {
  padding-left: 18px;
  color: var(--muted);
}

.internships {
  padding: 40px 0 100px;
  display: grid;
  gap: 28px;
}

.internships header {
  text-align: center;
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.internships__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.internship-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  background: var(--card);
  box-shadow: 0 25px 45px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 12px;
}

.internship-card h3 {
  margin: 0;
}

.internship-card ul {
  padding-left: 18px;
  color: var(--muted);
}

.internship-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.internship-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.internship-card__actions .ghost,
.internship-card__actions .btn {
  padding: 8px 18px;
}

.contact {
  padding: 100px 0 120px;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.contact form {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  background: var(--card);
  display: grid;
  gap: 14px;
}

label {
  font-size: 0.9rem;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.box-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

input,
select,
textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: inherit;
}

textarea {
  resize: vertical;
}

.cta-panel {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  margin-top: 24px;
}

.sector-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: 40px 0 80px;
}

.sector-grid--services {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

@media (min-width: 960px) {
  .sector-grid--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.sector-card {
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 255, 0.95));
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sector-card h1 {
  font-size: 1.4rem;
}

.sector-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
}

.service-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 10px;
}

.sector-card ul {
  padding-left: 20px;
  color: var(--muted);
}

.sector-icon {
  width: 56px;
  height: 56px;
}

.pill {
  align-self: flex-start;
  background: rgba(123, 91, 255, 0.15);
  color: #7b5bff;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.sector-objectif {
  border: 1px dashed rgba(123, 91, 255, 0.4);
  border-radius: 16px;
  padding: 16px;
  background: rgba(123, 91, 255, 0.04);
}

.sector-card .btn.small {
  align-self: flex-start;
  padding: 10px 18px;
}

.cta-banner {
  margin: 60px auto 100px;
  background: linear-gradient(120deg, rgba(255, 47, 191, 0.12), rgba(40, 216, 255, 0.12));
  border-radius: 32px;
  padding: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta-marquee {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  margin-top: 20px;
  overflow: hidden;
  position: relative;
}

.cta-marquee span {
  display: inline-block;
  padding: 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #0f172a;
  font-weight: 600;
  animation: marquee 12s linear infinite;
  min-width: 200%;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.commitments-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}

.commitments-list li {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(11, 13, 35, 0.96), rgba(13, 16, 40, 0.85));
  color: #f6f7ff;
  box-shadow: 0 25px 45px rgba(6, 5, 30, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.commitments-list img {
  width: 48px;
  height: 48px;
  padding: 10px;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(255, 47, 191, 0.18), rgba(40, 216, 255, 0.25));
}


.services-title {
  text-align: center;
  color: #7b5bff;
  font-size: 2.4rem;
  margin: 60px auto 30px;
}

.about-steps {
  padding: 100px 0;
}

.about-steps__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.about-steps__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.about-steps__grid--advice {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.about-steps__grid article {
  border-radius: 20px;
  padding: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(233, 241, 255, 0.9));
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.about-steps__grid span {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-weight: 600;
  align-items: center;
  justify-content: center;
}

.about-steps__grid--advice article {
  align-items: flex-start;
}

.about-steps__grid--advice img {
  width: 48px;
  height: 48px;
}

@media (min-width: 960px) {
  .about-steps__grid--advice {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f172a;
  padding: 40px 0 60px;
  color: #f1f5f9;
}

.footer__grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
}

.footer__brand img {
  width: 156px;
  height: 156px;
  margin-bottom: 12px;
}

.footer__brand a {
  color: #f1f5f9;
  font-weight: 600;
}

.footer__nav nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.footer__nav a {
  color: rgba(241, 245, 249, 0.85);
}

.footer__bottom {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(241, 245, 249, 0.7);
}

@media (max-width: 720px) {
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

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

  .hero-panel {
    order: -1;
  }
}
.about h2,
.hero h2,
section h2,
.services h2 {
  color: #1daef1;
}
