/* Page À propos */

.logo-img {
  max-height: 48px;
  width: auto;
  height: auto;
  display: block;
}

/* Zone de lecture centrée (largeur A4) hors en-tête et pied de page */
    .main-read {
      max-width: 210mm;
      margin: 2rem auto;
      padding: 1.5rem;
      box-sizing: border-box;
      background: rgba(255, 255, 255, 0.78);
      backdrop-filter: blur(16px) saturate(180%);
      -webkit-backdrop-filter: blur(16px) saturate(180%);
      border: 1px solid rgba(5, 59, 59, 0.12);
      border-radius: 18px;
      box-shadow: var(--shadow-sm);
    }

    /* Mise en page de la section À propos :
   - texte justifié
   - portrait flottant à droite avec léger enveloppement du texte
   - CV centré et taille A4
*/
    .about-content {
      display: block;
      overflow: hidden;
    }

    .about-main {
      color: #033333;
    }

    .about-main .about-text {
      text-align: justify;
      text-justify: inter-word;
      line-height: 1.6;
    }

    .about-portrait {
      float: right;
      width: 260px;
      margin: 0 0 1rem 1.25rem;
    }

    .about-portrait img {
      width: 100%;
      height: auto;
      border-radius: 4px;
      display: block;
      object-fit: cover;
    }

    /* Utiliser shape-outside pour un léger enveloppement (si supporté) */
    .about-portrait img {
      shape-outside: circle(50%);
      -webkit-shape-outside: circle(50%);
    }

    .about-more-cta {
      display: flex;
      justify-content: flex-end;
      gap: 0.75rem;
      margin: 0.5rem 0 1.25rem;
      clear: both;
      flex-wrap: wrap;
    }

    .about-cv {
      text-align: center;
      margin-top: 1rem;
      margin-bottom: 0;
    }

    .about-cv img {
      max-width: 210mm;
      width: 100%;
      height: auto;
      object-fit: contain;
      display: inline-block;
      border-radius: 14px;
      box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
    }

    /* Responsive : sur petits écrans, retirer le float et empiler */
    @media (max-width:800px) {
      .about-portrait {
        float: none;
        width: 100%;
        margin: 0 0 1rem 0;
      }

      .about-cv img {
        width: 100%;
        height: auto;
      }
    }

    .footer {
      /* Forcer uniquement l'image en fond et neutraliser toute couleur héritée */
      background: transparent !important;
      background-image: url('assets/images/skyline_pied.png') !important;
      background-repeat: no-repeat !important;
      background-position: center bottom !important;
      background-size: cover !important;
      border-top: none !important;
      position: relative;
      color: #fff;
    }

    /* S'assurer que les blocs internes n'appliquent pas de fond couleur */
    .footer,
    .footer .footer-content,
    .footer .footer-bottom,
    .footer .footer-section {
      background: transparent !important;
    }

    /* Si besoin d'une superposition sombre pour lisibilité, décommenter : */
    /* .footer::after { content: ''; position:absolute; left:0; right:0; top:0; bottom:0; background: rgba(0,0,0,0.25); pointer-events:none; } */

    /* Raccourcis : afficher les listes de liens en ligne (horizontale) */
    .footer .footer-section ul {
      display: flex;
      flex-direction: row;
      gap: 1rem;
      align-items: center;
      padding: 0;
      margin: 0;
      list-style: none;
      flex-wrap: wrap;
    }

    .footer .footer-section ul li {
      display: inline-block;
      margin: 0;
    }

    .footer .footer-section ul li a {
      display: inline-block;
      padding: 0;
    }

    /* Badge de statut (optionnel) dans le footer */
    .footer .footer-section ul li a {
      display: inline-block;
      padding: 0;
    }

    /* Forcer aucune marge sous l'image du CV */
    .about-cv img {
      display: block;
      margin-bottom: 0;
    }

/* Footer spécifique pour la page À propos */
    footer.footer {
      background: #133333 !important;
      color: #ffffff !important;
    }

    footer.footer a {
      color: #dcdcdc !important;
    }

    footer.footer .footer-section,
    footer.footer .footer-bottom {
      background: transparent !important;
    }
