
:root {
  --primary-color: #0a2239;
  --accent-color: #0047ff;
  --text-color: #111;
  --light-gray: #f9f9f9;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--light-gray);
  color: var(--text-color);
}

.wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  background: white;
  padding: 1rem 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
}

nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
}

.lang-toggle {
  border: none;
  background: transparent;
  font-size: 1rem;
  cursor: pointer;
  color: var(--accent-color);
  margin-left: 1rem;
}

.container {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.left, .right {
  flex: 1 1 45%;
}

.left h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.left p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.left button {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  border-radius: 25px;
  cursor: pointer;
}

.right {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  overflow: hidden;
}

.right img {
  height: 100%;
  width: auto;
  object-fit: cover;
  border-radius: 10px;
}

footer {
  background: #fff;
  padding: 1rem 0;
  border-top: 1px solid #ccc;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
}

.footer-inner > div {
  flex: 1 1 30%;
}

footer a {
  color: var(--primary-color);
  text-decoration: none;
}

@media (max-width: 768px) {
  .right img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
  }

  .left, .right {
    width: 100%;
    text-align: center;
  }

  .container {
    flex-direction: column;
    text-align: center;
  }

  .header-inner, .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }


}

.right-job {
  display: flex;
  flex: 1 1 45%;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.job-card {
  width: 100%;
  box-sizing: border-box;
}


/* Bouton de titre d’offre */
.job-toggle {
  width: 100%;
  text-align: left;
  background: #f2f2f2;
  border: none;
  padding: 1rem;0
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Description cachée par défaut */
.job-details {
  display: none;
  padding: 1rem;
  background-color: white;
  overflow: visible;
  max-height: none;
}

/* Bouton "Postuler" */
.job-details button {
  background: #0047ff;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  cursor: pointer;
}