/* ============================================
   ABOUT-SPECIFIC CSS - Styles uniquement pour about.html
   ============================================ */

/* Mission Section - Amélioration esthétique */
section:has(.mission-section) {
  position: relative;
}

section:has(.mission-section)::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180, 138, 60, 0.3), transparent);
}

/* Amélioration de l'espacement des mots en gras */
strong {
  display: inline-block;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Style texte doré pour les titres en italique */
strong.serif-font.italic {
  color: #B48A3C !important;
  display: inline;
  line-height: inherit;
}

/* Texte blanc en dark mode, bleu en light mode */
.dark-mode .text-white {
  color: #ffffff !important;
}

body:not(.dark-mode) .text-white {
  color: #091A30 !important;
}

@keyframes shimmer-text {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes shimmer-text-large {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes particle-float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(30px, -50px) scale(1.5);
    opacity: 1;
  }
}

.mission-badge-epic {
  opacity: 1;
  transform: translateY(0) scale(1);
  will-change: transform, opacity;
}

.mission-title-epic {
  position: relative;
  width: 100%;
  overflow: visible;
  padding: 0 2rem;
}

.mission-title-line {
  overflow: visible;
  line-height: 0.85;
  width: 100%;
  word-wrap: break-word;
  padding: 0;
  word-break: keep-all;
}

@media (min-width: 1024px) {
  .mission-title-line {
    font-size: clamp(3rem, 8vw, 6rem) !important;
  }
}

@media (max-width: 768px) {
  .mission-title-line {
    font-size: clamp(2.5rem, 10vw, 4rem) !important;
    line-height: 0.9 !important;
  }
}

.mission-title-word {
  display: inline-block;
  opacity: 1;
  transform: translateY(0) rotateX(0);
  transform-origin: bottom;
  will-change: transform, opacity;
  white-space: nowrap;
  word-break: keep-all;
  overflow: visible;
}

.mission-subtitle {
  overflow: visible;
  width: 100%;
}

@media (min-width: 1024px) {
  .mission-subtitle {
    font-size: clamp(2rem, 6vw, 4rem) !important;
  }
}

@media (max-width: 768px) {
  .mission-subtitle {
    font-size: clamp(1.75rem, 7vw, 2.5rem) !important;
  }
}

.mission-subtitle .mission-title-word {
  transform: translateY(0) scale(1);
  opacity: 1;
  white-space: nowrap;
}

.mission-tagline {
  overflow: visible;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .mission-tagline {
    font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
  }
}

@media (max-width: 768px) {
  .mission-tagline {
    font-size: clamp(1.25rem, 5vw, 2rem) !important;
  }
}

.mission-tagline .mission-title-word {
  transform: translateY(0);
  opacity: 1;
  white-space: nowrap;
}

.mission-glow {
  background: linear-gradient(135deg, var(--accent) 0%, rgba(180, 138, 60, 0.8) 50%, var(--accent) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text 3s ease-in-out infinite;
  font-weight: 800;
}

.mission-part-2 {
  position: absolute;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-text-column {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.mission-text-block {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.mission-text-line {
  display: block;
  opacity: 1;
  transform: translateX(0);
  will-change: transform, opacity;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .mission-text-line {
    font-size: clamp(1.25rem, 3vw, 2rem) !important;
  }
}

@media (max-width: 768px) {
  .mission-text-line {
    font-size: clamp(1.125rem, 4vw, 1.5rem) !important;
  }
}

.mission-emphasis {
  font-weight: 700;
  color: var(--text-main);
  font-size: 1.1em;
  position: relative;
  display: inline-block;
  margin: 0 0.15em;
  padding: 0.05em 0.2em;
  background: linear-gradient(180deg, transparent 55%, rgba(180, 138, 60, 0.3) 55%, rgba(180, 138, 60, 0.3) 90%, transparent 90%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  line-height: 1.4;
}

.mission-visual-column {
  position: relative;
  height: 600px;
}

@media (min-width: 1024px) {
  .mission-visual-column {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .mission-visual-column {
    height: 300px;
  }
}

.mission-image-container {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.mission-image-parallax {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform: scale(1.2);
}

.mission-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.mission-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
  animation: particle-float var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
  left: var(--x);
  top: var(--y);
  box-shadow: 0 0 20px var(--accent);
}

.mission-part-3 {
  position: absolute;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-text-flow {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.mission-text-flow-line {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
  will-change: transform, opacity;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

@media (max-width: 768px) {
  .mission-text-flow-line {
    font-size: clamp(1.125rem, 4vw, 1.5rem) !important;
  }
}

.mission-part-4 {
  position: absolute;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-finale {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.mission-finale-word {
  display: inline-block;
  opacity: 1;
  transform: translateY(0) rotateY(0);
  transform-origin: center;
  will-change: transform, opacity;
  white-space: nowrap;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .mission-finale-word {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }
}

.mission-glow-large {
  background: linear-gradient(135deg, var(--accent) 0%, rgba(180, 138, 60, 0.9) 30%, var(--accent) 60%, rgba(180, 138, 60, 0.9) 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer-text-large 4s ease-in-out infinite;
  font-weight: 900;
  text-shadow: 0 0 40px rgba(180, 138, 60, 0.3);
}

.mission-brand-section {
  margin-top: 6rem;
}

.mission-brand-text {
  font-weight: 800;
  color: var(--accent);
  font-size: 1.2em;
  letter-spacing: 0.1em;
}

.mission-finale-line {
  display: block;
  opacity: 1;
  transform: translateY(0);
  will-change: transform, opacity;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.team-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover .team-card-inner {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border-color: var(--accent);
}

.mission-hero-bg,
.mission-gradient-bg {
  background: linear-gradient(90deg, #091A30 0%, #B48A3C 50%, #091A30 100%);
}

/* ============================================
   RESPONSIVE FIXES - About Page
   ============================================ */

/* Mots en gras - Taille adaptée mobile */
@media (max-width: 768px) {
  strong.serif-font {
    font-size: clamp(1.5rem, 6vw, 2rem) !important;
    display: block;
    margin: 0.5rem 0 !important;
  }
  
  .sticky {
    position: relative !important;
    top: auto !important;
  }
  
  .grid.md\:grid-cols-2 {
    gap: 2rem !important;
  }
}

@media (max-width: 480px) {
  strong.serif-font {
    font-size: clamp(1.25rem, 5vw, 1.75rem) !important;
  }
  
  h1, h2 {
    word-break: break-word;
    hyphens: auto;
  }
  
  /* ADN Cards */
  .grid.md\:grid-cols-3 {
    gap: 1.5rem !important;
  }
}

