@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #0b0f19;
  color: white;
}

/* NAVBAR */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.logo {
  font-weight: 900;
  font-size: 22px;
  color: #38bdf8;
}
/* STAGE BUBBLES */
.stage-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}

.stage-bubble {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  font-size: 22px;
  font-weight: 800;
  color: white;
  text-decoration: none;
  transition: 0.4s;
  box-shadow: 0 0 40px rgba(56,189,248,0.4);
}

.stage-bubble:hover {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 0 80px rgba(99,102,241,0.8);
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 500;
  opacity: 0.8;
  transition: 0.3s;
}

nav a:hover {
  opacity: 1;
  color: #38bdf8;
}

/* HERO */
.hero {
  position: absolute;
  top: 50%; /* Ajuste cette valeur pour monter ou descendre */
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 10;
  width: 100%;
  max-width: 600px;
}
.hero > div {
  background: rgba(11, 15, 25, 0.7);
  padding: 20px;
  border-radius: 10px;
}

.hero h1 {
  font-size: 64px;
  font-weight: 900;
}

.hero span {
  color: #38bdf8;
}

.hero p {
  margin-top: 20px;
  font-size: 20px;
  opacity: 0.7;
}

.btn {
  display: inline-block;
  margin-top: 40px;
  padding: 15px 40px;
  border-radius: 50px;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.08);
}

/* SECTIONS */
section {
  padding: 120px 10%;
}

.section-title {
  font-size: 42px;
  text-align: center;
  margin-bottom: 60px;
}

/* CARDS */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: #0f172a;
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #1e293b;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  border-color: #38bdf8;
}

.card h3 {
  color: #38bdf8;
  margin-bottom: 10px;
}

/* CONTACT */
form {
  max-width: 500px;
  margin: auto;
}

input, textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 10px;
  border: none;
  outline: none;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 200px;
  opacity: 0.4;
}
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s;
}
.card-link:hover,
.card-link:focus {
  text-decoration: none; /* pas de soulignement au hover/focus */
  color: inherit; /* garde la couleur héritée */
}
.top-banner {
  width: 100%;
  height: 400px; /* tu peux ajuster la hauteur si tu veux */
  background: url("sisr.jpeg") center center / cover no-repeat;
  position: relative;
}

.top-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11,15,25,0.2), rgba(11,15,25,0.95));
  pointer-events: none;
}
#map {
    max-width: 1000px;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    margin-top: 20px;
}

.map-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #00c8ff;
    margin-top: 60px;
    margin-bottom: 25px;
}
.map-container {
    display: flex;
    justify-content: center;
}
/* Journal de stage */
.journal {
  max-width: 850px;
  margin: 80px auto 0;
  padding-left: 30px;
  border-left: 3px solid rgba(255, 255, 255, 0.1);
}

.journal-title {
  text-align: center;
  margin-bottom: 50px;
  color: #fff;
  font-size: 28px;
}

.journal-entry {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  padding: 25px 30px;
  margin-bottom: 40px;
  border-radius: 12px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.journal-entry:hover {
  transform: translateX(5px);
  background: rgba(255, 255, 255, 0.06);
}

.journal-entry::before {
  content: "";
  position: absolute;
  left: -42px;
  top: 30px;
  width: 14px;
  height: 14px;
  background: #4da6ff;
  border-radius: 50%;
}

.week {
  display: inline-block;
  margin-bottom: 12px;
  font-weight: bold;
  color: #4da6ff;
  font-size: 18px;
}

.journal-entry p {
  color: #ccc;
  line-height: 1.7;
  font-size: 16px;
}

/* Section Missions principales */
.missions-section {
  max-width: 900px;
  margin: 0 auto 100px auto;
  padding: 0 20px;
  text-align: center;
}

.missions-intro {
  margin-bottom: 40px;
  font-size: 18px;
  color: #a0aec0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.missions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 100%;
}

.mission-card {
  background: #1e293b;
  padding: 25px 20px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.7);
}

.mission-card h3 {
  color: #38bdf8;
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 22px;
}

.mission-card p {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.5;
}
a {
  text-decoration: none;
  color: inherit;
}
.competences-section {
  padding-top: 140px;
  text-align: center;
}

.pdf-container {
  width: 100%;
  height: 90vh;
  margin-top: 30px;
}

.pdf-container iframe {
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
.large {
  grid-column: 1 / -1;
  width: 100%;
  display: block;
}
