.gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  line-height: 1.6;
  background: radial-gradient(circle at top, #d0d5d4 0%, #efefef 50%);
  color: #47167d;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  min-height: 100vh;
}
body.dark {
  background: radial-gradient(circle at top, #010a2e 0%, #000000 50%);
  color: #ffffff;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.dark .site-header {
  background: linear-gradient(135deg, #1a0033 0%, #0f1729 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
}
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.dark .logo {
  color: #ffffff;
}
.logo:hover {
  color: #ffffff;
  transform: translateY(-2px);
}
.logo-icon {
  width: 48px;
  height: 48px;
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo-subtitle {
  font-size: 0.8rem;
  opacity: 0.9;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
@media (max-width: 768px) {
  .main-nav {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}
.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}
.dark .nav-link {
  color: #ffffff;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}
.nav-link:hover {
  color: #ffffff;
}
.nav-link:hover::after {
  width: 100%;
  right: auto;
  left: 0;
}
.darkmode-wrapper {
  display: flex;
  align-items: center;
}
.darkmode-switch {
  position: relative;
  width: 56px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.darkmode-switch:hover {
  background: rgba(255, 255, 255, 0.3);
}
.darkmode-switch.is-on {
  background: rgba(56, 182, 255, 0.3);
}
.darkmode-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}
.is-on .darkmode-knob {
  transform: translateX(28px);
}
.darkmode-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
}
.darkmode-icon.sun {
  left: 6px;
}
.darkmode-icon.moon {
  right: 6px;
}
.site-footer {
  margin-top: 4rem;
  padding: 2rem;
  background: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}
.dark .site-footer {
  background: linear-gradient(135deg, #1a0033 0%, #0f1729 100%);
  color: #ffffff;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.footer-inner p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}
.footer-inner a {
  color: inherit;
  text-decoration: underline;
}
.footer-inner a:hover {
  color: #ffffff;
}
.page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}
@media (max-width: 768px) {
  .page {
    padding: 1rem;
  }
}
.page-header {
  margin-bottom: 3rem;
  text-align: center;
}
.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #47167d;
}
.dark .page-header h1 {
  color: #ffffff;
}
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2rem;
  }
}
.page-header p {
  font-size: 1.1rem;
  opacity: 0.8;
  max-width: 700px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  opacity: 0.7;
}
.breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  margin-bottom: 4rem;
  overflow: hidden;
  border-radius: 24px;
}
@media (max-width: 768px) {
  .hero {
    min-height: 50vh;
    padding: 3rem 1rem;
    border-radius: 16px;
  }
}
.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(135deg, rgba(121, 0, 255, 0.55) 0%, rgba(56, 182, 255, 0.56) 100%);
}
.dark .hero-gradient {
  background: linear-gradient(135deg, #1a0033 0%, #0f1729 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
}
.dark .hero-title {
  color: #ffffff;
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}
.hero-highlight {
  display: block;
  color: #ffffff;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.dark .hero-highlight {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(56, 182, 255, 0.5);
}
.hero-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.85);
}
.dark .hero-text {
  color: #ffffff;
}
@media (max-width: 768px) {
  .hero-text {
    font-size: 1rem;
  }
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.btn-primary {
  background: linear-gradient(135deg, #5346f3 0%, #38b6ff 100%);
  color: #ffffff;
}
.btn-primary:hover {
  box-shadow: 0 8px 20px rgba(56, 182, 255, 0.4);
}
.btn-secondary {
  background: linear-gradient(135deg, #7900ff 0%, #47167d 100%);
  color: #ffffff;
}
.btn-secondary:hover {
  box-shadow: 0 8px 20px rgba(121, 0, 255, 0.4);
}
.btn-danger {
  background: linear-gradient(135deg, #ff0062 0%, #ff4d00 100%);
  color: #ffffff;
}
.btn-danger:hover {
  box-shadow: 0 8px 20px rgba(255, 0, 98, 0.4);
}
.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}
.btn-link {
  color: #7900ff;
  font-weight: 600;
}
.dark .btn-link {
  color: #38b6ff;
}
.btn-link:hover {
  color: #38b6ff;
}
.dark .btn-link:hover {
  color: #7900ff;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.card {
  position: relative;
  padding: 2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(121, 0, 255, 0.08) 0%, rgba(56, 182, 255, 0.08) 100%);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.dark .card {
  background: rgba(20, 20, 30, 0.6);
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%) 1;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.dark .card:hover {
  box-shadow: 0 12px 30px rgba(121, 0, 255, 0.3);
}
.card h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #47167d;
}
.dark .card h2 {
  color: #ffffff;
}
.card p {
  margin-bottom: 1rem;
  line-height: 1.7;
}
.card-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%);
  opacity: 0.15;
}
.dark .card-gradient {
  background: linear-gradient(135deg, #1a0033 0%, #0f1729 100%);
  opacity: 0.3;
}
.card-link {
  display: inline-block;
  margin-top: 1rem;
  color: #7900ff;
  font-weight: 600;
}
.dark .card-link {
  color: #38b6ff;
}
.card-link:hover {
  transform: translateX(4px);
}
.competence-header {
  margin-bottom: 3rem;
  padding: 2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(121, 0, 255, 0.08) 0%, rgba(56, 182, 255, 0.08) 100%);
}
.dark .competence-header {
  background: rgba(20, 20, 30, 0.6);
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%) 1;
}
.competence-header h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.competence-description {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 2rem;
}
.competence-illustrations-globales {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.illu-card {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
}
.dark .illu-card {
  background: rgba(0, 0, 0, 0.3);
}
.illu-card h3 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.illu-card img,
.illu-card video {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
.illu-pdf {
  width: 100%;
  height: 400px;
  border-radius: 8px;
}
.acs-section {
  margin-top: 3rem;
}
.acs-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #47167d;
}
.dark .acs-section h2 {
  color: #ffffff;
}
.acs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
@media (max-width: 768px) {
  .acs-grid {
    grid-template-columns: 1fr;
  }
}
.ac-card {
  position: relative;
  padding: 1.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(121, 0, 255, 0.08) 0%, rgba(56, 182, 255, 0.08) 100%);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.dark .ac-card {
  background: rgba(20, 20, 30, 0.6);
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%) 1;
}
.ac-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.dark .ac-card:hover {
  box-shadow: 0 8px 20px rgba(121, 0, 255, 0.2);
}
.ac-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.ac-header h3 {
  font-size: 1.2rem;
}
.ac-code {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%);
  color: #ffffff;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}
.dark .ac-code {
  background: linear-gradient(135deg, #1a0033 0%, #0f1729 100%);
}
.ac-description {
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 1rem;
}
.ac-illustrations {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}
.illu-wrapper {
  width: 100%;
}
.illu-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #47167d;
}
.dark .illu-title {
  color: #ffffff;
}
.illu-thumb {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.05);
}
.illu-thumb img video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.illu-thumb img,
.illu-card img,
.voyage-paris-item img {
  cursor: zoom-in;
}
.illu-thumb img:hover,
.illu-card img:hover,
.voyage-paris-item img:hover {
  filter: brightness(0.9);
  transition: filter 0.2s ease;
}
.illu-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%);
  color: #ffffff;
  border-radius: 8px;
  font-size: 0.8rem;
  text-align: center;
}
.dark .illu-link {
  background: linear-gradient(135deg, #1a0033 0%, #0f1729 100%);
}
.culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
@media (max-width: 768px) {
  .culture-grid {
    grid-template-columns: 1fr;
  }
}
.culture-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(121, 0, 255, 0.08) 0%, rgba(56, 182, 255, 0.08) 100%);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.dark .culture-card {
  background: rgba(20, 20, 30, 0.6);
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%) 1;
}
.culture-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.dark .culture-card:hover {
  box-shadow: 0 12px 30px rgba(121, 0, 255, 0.3);
}
.culture-image {
  width: 100%;
  height: 250px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.05);
  padding: 10px;
}
.dark .culture-image {
  background: rgba(255, 255, 255, 0.05);
}
.culture-content {
  padding: 1.5rem;
}
.culture-tag {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%);
  color: #ffffff;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.dark .culture-tag {
  background: linear-gradient(135deg, #1a0033 0%, #0f1729 100%);
}
.culture-date {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.culture-link {
  display: inline-block;
  margin-top: 1rem;
  color: #7900ff;
  font-weight: 600;
}
.dark .culture-link {
  color: #38b6ff;
}
.culture-link:hover {
  transform: translateX(4px);
}
.admin-header {
  text-align: center;
  margin-bottom: 3rem;
}
.admin-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.admin-header p {
  font-size: 1.1rem;
  opacity: 0.85;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
@media (max-width: 768px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}
.admin-card {
  position: relative;
  padding: 2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(121, 0, 255, 0.08) 0%, rgba(56, 182, 255, 0.08) 100%);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
}
.dark .admin-card {
  background: rgba(20, 20, 30, 0.6);
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%) 1;
}
.admin-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(121, 0, 255, 0.2);
}
.dark .admin-card:hover {
  box-shadow: 0 12px 30px rgba(121, 0, 255, 0.4);
}
.admin-card h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #47167d;
}
.dark .admin-card h2 {
  color: #ffffff;
}
.admin-card p {
  line-height: 1.6;
  opacity: 0.85;
}
.form-wrapper {
  max-width: 700px;
  margin: 0 auto 3rem;
}
.form {
  padding: 2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(121, 0, 255, 0.08) 0%, rgba(56, 182, 255, 0.08) 100%);
}
.dark .form {
  background: rgba(20, 20, 30, 0.6);
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%) 1;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #47167d;
}
.dark .form-group label {
  color: #ffffff;
}
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"],
.form-group input[type="file"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid rgba(121, 0, 255, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #ffffff;
  color: #47167d;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.dark .form-group input[type="text"],
.dark .form-group input[type="password"],
.dark .form-group input[type="email"],
.dark .form-group input[type="file"],
.dark .form-group textarea,
.dark .form-group select {
  background: rgba(30, 30, 40, 0.8);
  color: #ffffff;
  border-color: rgba(121, 0, 255, 0.4);
}
.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="file"]:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #7900ff;
  box-shadow: 0 0 0 3px rgba(121, 0, 255, 0.1);
}
.dark .form-group input[type="text"]:focus,
.dark .form-group input[type="password"]:focus,
.dark .form-group input[type="email"]:focus,
.dark .form-group input[type="file"]:focus,
.dark .form-group textarea:focus,
.dark .form-group select:focus {
  border-color: #38b6ff;
  box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.2);
}
.form-group input[type="file"] {
  padding: 0.6rem;
  cursor: pointer;
}
.form-group input[type="file"]::file-selector-button {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  margin-right: 1rem;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.dark .form-group input[type="file"]::file-selector-button {
  background: linear-gradient(135deg, #1a0033 0%, #0f1729 100%);
}
.form-group input[type="file"]::file-selector-button:hover {
  opacity: 0.9;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.input-file,
.input-text {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid rgba(121, 0, 255, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #ffffff;
  color: #47167d;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.dark .input-file,
.dark .input-text {
  background: rgba(30, 30, 40, 0.8);
  color: #ffffff;
  border-color: rgba(121, 0, 255, 0.4);
}
.input-file:focus,
.input-text:focus {
  outline: none;
  border-color: #7900ff;
  box-shadow: 0 0 0 3px rgba(121, 0, 255, 0.1);
}
.dark .input-file:focus,
.dark .input-text:focus {
  border-color: #38b6ff;
  box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.2);
}
.input-file {
  padding: 0.6rem;
  cursor: pointer;
}
.select-ac {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid rgba(121, 0, 255, 0.2);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #ffffff;
  color: #47167d;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  margin-top: 0.5rem;
}
.dark .select-ac {
  background: rgba(30, 30, 40, 0.8);
  color: #ffffff;
  border-color: rgba(121, 0, 255, 0.4);
}
.select-ac:focus {
  outline: none;
  border-color: #7900ff;
  box-shadow: 0 0 0 3px rgba(121, 0, 255, 0.1);
}
.dark .select-ac:focus {
  border-color: #38b6ff;
  box-shadow: 0 0 0 3px rgba(56, 182, 255, 0.2);
}
.form-hint {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}
.form-or {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.6;
  margin: 1rem 0;
  font-weight: 600;
}
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
  cursor: pointer;
}
.radio-group label input[type="radio"] {
  width: auto;
  cursor: pointer;
}
.table-wrapper {
  margin: 2rem 0;
  overflow-x: auto;
}
.table-wrapper h2 {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  color: #47167d;
}
.dark .table-wrapper h2 {
  color: #ffffff;
}
.table {
  width: 100%;
  border-collapse: collapse;
  background: linear-gradient(135deg, rgba(121, 0, 255, 0.08) 0%, rgba(56, 182, 255, 0.08) 100%);
  border-radius: 12px;
  overflow: hidden;
}
.dark .table {
  background: rgba(20, 20, 30, 0.6);
}
.table thead {
  background: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%);
  color: rgba(255, 255, 255, 0.85);
}
.dark .table thead {
  background: linear-gradient(135deg, #1a0033 0%, #0f1729 100%);
  color: #ffffff;
}
.table thead th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.dark .table tbody tr {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}
.table tbody tr.table-row-hover:hover {
  background: rgba(121, 0, 255, 0.05);
}
.dark .table tbody tr.table-row-hover:hover {
  background: rgba(56, 182, 255, 0.1);
}
.table tbody tr:last-child {
  border-bottom: none;
}
.table tbody td {
  padding: 1rem;
  color: #47167d;
}
.dark .table tbody td {
  color: #ffffff;
}
.table-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.page-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}
.login-card {
  position: relative;
  max-width: 450px;
  width: 100%;
  padding: 3rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(121, 0, 255, 0.08) 0%, rgba(56, 182, 255, 0.08) 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}
.dark .login-card {
  background: rgba(20, 20, 30, 0.6);
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%) 1;
  box-shadow: 0 20px 60px rgba(121, 0, 255, 0.3);
}
.login-card h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}
.login-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%);
  opacity: 0.1;
  height: 50%;
}
.dark .login-gradient {
  background: linear-gradient(135deg, #1a0033 0%, #0f1729 100%);
  opacity: 0.3;
}
.login-error {
  padding: 1rem;
  background: rgba(255, 0, 98, 0.1);
  color: #ff0062;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 600;
}
.dark .login-error {
  background: rgba(255, 0, 98, 0.2);
}
.page-error {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}
.error-hero {
  position: relative;
  text-align: center;
  padding: 4rem 2rem;
}
.error-content {
  position: relative;
  z-index: 1;
}
.error-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .error-content h1 {
    font-size: 3rem;
  }
}
.error-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}
.glitch {
  animation: glitch 2s infinite;
}
@keyframes glitch {
  0%,
  90%,
  100% {
    transform: translate(0);
  }
  92%,
  94%,
  96% {
    transform: translate(-2px, 2px);
  }
  93%,
  95% {
    transform: translate(2px, -2px);
  }
}
.but-explorer {
  margin: 2rem 0;
}
.but-explorer-inner {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 2rem;
}
@media (max-width: 1024px) {
  .but-explorer-inner {
    grid-template-columns: 1fr;
  }
}
.but-explorer-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 1.5rem;
}
.but-explorer-sidebar h2 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #47167d;
}
.dark .but-explorer-sidebar h2 {
  color: #ffffff;
}
@media (max-width: 1024px) {
  .but-explorer-sidebar {
    position: relative;
    top: 0;
    max-height: none;
  }
}
.but-explorer-sidebar .form-group {
  margin-bottom: 1.5rem;
}
.but-explorer-sidebar .form-group label {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.but-explorer-sidebar .form-group input {
  width: 100%;
}
.annees-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.annee-block .annee-btn {
  width: 100%;
  padding: 0.8rem 1.2rem;
  background: rgba(121, 0, 255, 0.1);
  color: #47167d;
  border-radius: 8px;
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.dark .annee-block .annee-btn {
  background: rgba(121, 0, 255, 0.2);
  color: #ffffff;
}
.annee-block .annee-btn.is-active {
  background: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%);
  color: #ffffff;
}
.dark .annee-block .annee-btn.is-active {
  background: linear-gradient(135deg, #1a0033 0%, #0f1729 100%);
}
.annee-block .annee-btn:hover {
  transform: translateX(4px);
}
.competences-list {
  list-style: none;
  margin-top: 0.5rem;
  padding-left: 0.5rem;
}
.competences-list li {
  margin-top: 0.5rem;
}
.competence-btn {
  width: 100%;
  padding: 0.6rem 1rem;
  background: rgba(56, 182, 255, 0.08);
  border-radius: 6px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.dark .competence-btn {
  background: rgba(56, 182, 255, 0.15);
}
.competence-btn.is-active {
  background: rgba(56, 182, 255, 0.2);
  border-left: 3px solid #38b6ff;
}
.dark .competence-btn.is-active {
  background: rgba(56, 182, 255, 0.3);
}
.competence-btn:hover {
  background: rgba(56, 182, 255, 0.15);
  transform: translateX(2px);
}
.dark .competence-btn:hover {
  background: rgba(56, 182, 255, 0.25);
}
.competence-btn .code {
  font-weight: 700;
  font-size: 0.85rem;
  color: #7900ff;
  min-width: 40px;
}
.dark .competence-btn .code {
  color: #38b6ff;
}
.competence-btn .titre {
  font-size: 0.9rem;
  line-height: 1.3;
  color: #47167d;
}
.dark .competence-btn .titre {
  color: #ffffff;
}
.but-explorer-detail {
  padding: 2.5rem;
}
.but-explorer-detail h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #47167d;
}
.dark .but-explorer-detail h2 {
  color: #ffffff;
}
@media (max-width: 768px) {
  .but-explorer-detail {
    padding: 1.5rem;
  }
}
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  cursor: zoom-out;
  backdrop-filter: blur(5px);
}
.lightbox-overlay.is-active {
  display: flex;
  animation: fadeIn 0.3s ease;
}
.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.lightbox-overlay.is-active img {
  transform: scale(1);
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.page-voyage-paris .voyage-paris-intro {
  margin-bottom: 3rem;
}
.page-voyage-paris .voyage-paris-intro h2 {
  margin-bottom: 1rem;
}
.voyage-paris-galerie h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #47167d;
}
.dark .voyage-paris-galerie h2 {
  color: #ffffff;
}
.voyage-paris-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}
@media (max-width: 768px) {
  .voyage-paris-grid {
    grid-template-columns: 1fr;
  }
}
.voyage-paris-item {
  background: linear-gradient(135deg, rgba(121, 0, 255, 0.08) 0%, rgba(56, 182, 255, 0.08) 100%);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.dark .voyage-paris-item {
  background: rgba(20, 20, 30, 0.6);
  border: 1px solid transparent;
  border-image: linear-gradient(135deg, #7900ff 0%, #38b6ff 100%) 1;
}
.voyage-paris-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.dark .voyage-paris-item:hover {
  box-shadow: 0 12px 30px rgba(121, 0, 255, 0.3);
}
.voyage-paris-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.voyage-paris-item figcaption {
  padding: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #47167d;
}
.dark .voyage-paris-item figcaption {
  color: #ffffff;
}
.text-center {
  text-align: center;
}
.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}
.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
}
.dark ::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}
::-webkit-scrollbar-thumb {
  background: rgba(121, 0, 255, 0.3);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(121, 0, 255, 0.5);
}
.dark ::-webkit-scrollbar-thumb {
  background: rgba(56, 182, 255, 0.3);
}
.dark ::-webkit-scrollbar-thumb:hover {
  background: rgba(56, 182, 255, 0.5);
}
