/* =============================================================================
   ABOUT.CSS – page « À propos »
   Nettoyé et harmonisé le 2025-07-09
   -----------------------------------------------------------------------------
   ✔ Centralisation sur les variables CSS
   ✔ Mode clair/sombre respecté partout
   ✔ Citation/ampoule alignée (quote-inline)
   ✔ Suppression des doublons/débordements
   ---------------------------------------------------------------------------*/

/* === VARIABLES GLOBAL === */
:root {
  --text-color: #222;
  --accent: #4f8cff;
  --section-bg-alt: #f8f9fa;
}
html.dark {
  --text-color: #fff;
  --section-bg-alt: #1f1f1f;
}

/* === INTRODUCTION SECTION === */
.about-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 2rem;
  padding: 2rem 1rem;
  animation: fadeInUp 0.8s ease-out both;
}

.about-intro h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.about-intro p {
  font-size: 1.125rem;
  color: var(--text-color);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === HERO BLOCK PRINCIPAL === */
.about-hero-block {
  border-radius: 16px;
  padding: 2rem;
  margin: 4rem auto;
  max-width: 960px;
  width: 90%;
  background: linear-gradient(135deg, #1e1e2f, #292947);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.about-hero-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-direction: column;
  text-align: center;
}
.about-text {
  flex: 1 1 55%;
  min-width: 280px;
}
.about-photo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 35%;
  max-width: 450px;
  margin: 1rem auto 0;
  text-align: center;
}
.about-photo {
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.about-photo:hover {
  transform: scale(1.02);
}
@media (max-width: 768px) {
  .about-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
  }
}
.caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #aaa;
}

/* === PHILOSOPHY SECTION === */
.philosophy-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.philosophy-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.philosophy-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.philosophy-content {
  line-height: 1.5;
}

/* === VISION / VALEURS SECTION === */
.my-values-block {
  background-color: var(--section-bg-alt);
  padding: 3rem 2rem;
  border-radius: 1rem;
  margin-block: 4rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.04);
}
.my-values-block h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text-color);
}
.my-values-block p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  text-align: justify;
  color: var(--text-color);
}

/* === Citation alignée (ampoule/quote-inline) === */
.quote-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-color);
  opacity: 0.95;
  font-style: italic;
  text-align: center;
  background: none;
  border: none;
  margin-bottom: 1.2rem;
}
.quote-inline .icon {
  font-size: 1.3em;
  margin-right: 0.4em;
  color: var(--text-color);
  opacity: 0.98;
  vertical-align: middle;
}

/* === Bouton « Voir mes projets récents » dans la section vision/valeurs === */

/* mode light */
html.light .my-values-block .btn-outline-primary {
  color: var(--accent);
  border-color: var(--accent);
}
html.light .my-values-block .btn-outline-primary:hover {
  background-color: var(--accent);
  color: #fff;
}

/* base – tu peux conserver ton padding + font-weight */
.my-values-block .btn {
  padding: 0.6rem 1.2rem;
  font-weight: 500;
}

/* mode dark */
body.dark .my-values-block .btn-outline-primary {
  color: #fff;
  border-color: #fff;
}
body.dark .my-values-block .btn-outline-primary:hover {
  background-color: #fff;
  color: #000;
}

/* === Bouton “Voir mes projets récents” – override couleur en mode light === */
html.light .my-values-block .btn-outline-primary {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
}
html.light .my-values-block .btn-outline-primary:hover {
  background-color: var(--primary) !important;
  color: #fff !important;
}

/* === MUSIQUE === */
.music-intro {
  text-align: center;
  font-style: italic;
  margin-bottom: 1rem;
}
.music-widget iframe {
  width: 100%;
  height: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}
.music-widget iframe:hover {
  transform: scale(1.01);
}
.deezer-link {
  text-align: center;
  margin-top: 1rem;
}
.deezer-link a {
  color: var(--text-color);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}
.deezer-link a:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* === GALERIE VOYAGE === */
.travel-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  justify-items: center;
  align-items: stretch;
  margin-bottom: 2rem;
}
.travel-gallery a {
  width: 100%;
  max-width: 200px;
  height: 200px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}
.travel-gallery img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}
.travel-gallery img:hover {
  transform: scale(1.05);
}

/* === LANGUES & AUTRES === */
.language-list {
  list-style: none;
  padding: 0;
  font-size: 1.1rem;
}
.language-list li {
  margin-bottom: 0.4rem;
}
.special-gallery-title {
  text-align: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.gallery-intro {
  text-align: center;
  font-style: italic;
  margin-bottom: 2rem;
  color: #777;
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}
.fade-in.stagger-1 { transition-delay: 0.1s; }
.fade-in.stagger-2 { transition-delay: 0.2s; }
.fade-in.stagger-3 { transition-delay: 0.3s; }
.fade-in.stagger-4 { transition-delay: 0.4s; }
.fade-in.stagger-5 { transition-delay: 0.5s; }
.fade-in.stagger-6 { transition-delay: 0.6s; }
.fade-in.stagger-7 { transition-delay: 0.7s; }

/* === CAROUSEL RECO === */
.carousel .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.carousel .blockquote {
  max-width: 750px;
  margin-inline: auto;
}

/* ------------------------------------------------------------------
   6 · UI/UX Adaptations spécifiques
   – Flèches du carousel épurées (light & dark)
------------------------------------------------------------------ */

/* ==========================================================================
   ➤ Override des flèches du carousel – light & dark
   ========================================================================== */

/* 1) On retire tout background et halo par défaut */
.carousel-control-prev,
.carousel-control-next {
  background-color: transparent !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: transparent !important;
  background-size: 100% 100% !important;
  background-repeat: no-repeat !important;
  filter: none !important;          /* point de départ */
  transition: transform 0.2s ease-in-out !important;
}

/* 2) En light mode, on inverse le SVG blanc => noir */
html.light .carousel-control-prev-icon,
html.light .carousel-control-next-icon {
  filter: invert(100%) !important;
}

/* 3) En dark mode, on garde le SVG blanc (pas d’inversion) */
html.dark .carousel-control-prev-icon,
html.dark .carousel-control-next-icon {
  filter: invert(0%) !important;
}

/* 4) On désactive absolument tout halo au hover, on ne garde qu’un léger zoom */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: transparent !important;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  transform: scale(1.1) !important;
  filter: invert(100%) !important; /* en light, reste noir ; en dark, restera blanc */
}


@media (max-width: 600px) {
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
}