/* ============================================================
   ACCUEIL.CSS — Styles spécifiques à la page d'accueil (index.html)
   Extrait des <style> inline qui étaient dispersés dans index.html.
   ============================================================ */

/* Styles mobiles par défaut */
    .container {
      flex-direction: column;
      gap: 1rem;
    }

    /* Styles pour écrans plus larges */
    @media (min-width: 768px) {
      .container {
        flex-direction: row;
        gap: 2rem;
      }
    }

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

    * {
      box-sizing: border-box;
    }

    /* Version ordinateur */
    .container {
      display: flex;
      flex-direction: row;
      gap: 2rem;
    }

    /* Version mobile */
    @media screen and (max-width: 768px) {
      .container {
        flex-direction: column;
        gap: 1rem;
      }
    }

    @media (max-width: 768px) {
      /* Styles pour tablette et mobile */
    }

    @media (max-width: 480px) {
      /* Styles spécifiques aux petits mobiles */
    }

    section {
      width: 100%;
      max-width: 1000px;
      margin: 0 auto 20px;
      padding: 30px 5px;
      box-sizing: border-box;
    }

    :root {
      --background: #ffffff;
      --text: #242424;
      --accent: #9999992d;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Outfit', sans-serif;
      background: var(--background);
      color: var(--text);
      line-height: 1.6;
      scroll-behavior: smooth;
    }

    /* Classe pour fixer la page quand une modale est ouverte */
    body.modal-open {
      overflow: hidden;
      position: fixed;
      width: 100%;
      top: var(--scroll-y, 0);
    }

    header {
      padding: 2rem;
      text-align: center;
      background: #efefef;
      border-bottom: 1px solid #eee;
      position: relative;
    }

    header h1 {
      font-size: 3rem;
      font-weight: 700;
    }

    header p {
      font-size: 1.2rem;
      margin-top: 0.5rem;
    }


    .extra-images {
      margin-top: 1rem;
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      justify-content: center;
    }

    .extra-images img {
      width: 100px;
      height: 70px;
      object-fit: cover;
      border-radius: 8px;
      cursor: pointer;
      border: 2px solid transparent;
      transition: border-color 0.3s;
    }

    .extra-images img:hover {
      border-color: var(--accent);
    }


    .experience-section {
      padding: 60px 20px;
      background-color: #f9f9f9;
    }

    .experience-section h2 {
      font-family: 'Outfit', sans-serif;
      text-align: center;
      font-size: 2rem;
      margin-bottom: 20px;
    }

    .timeline .logo {
      width: 50px;
      height: 50px;
      margin-right: 20px;
      object-fit: contain;
      z-index: 1;
    }

    .content {
      background-color: #fff;
      padding: 10px 20px;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      flex: 1;
      z-index: 1;
    }

    .content h3 {
      font-family: 'Outfit', sans-serif;
      font-size: 1.2rem;
      margin: 0;
    }

    .date {
      font-family: 'Outfit', sans-serif;
      color: #666;
      font-size: 0.9rem;
      margin-top: 4px;
    }

    .location {
      font-family: 'Outfit', sans-serif;
      color: #888;
      font-size: 0.8rem;
      margin: 0;
      font-style: italic;
    }

    .description {
      font-style: normal;
    }




    .gallery {
      display: flex;
      justify-content: space-between;
      gap: 70px;
      overflow: hidden;
      height: 800px;
      padding: 0 10px;
      box-sizing: border-box;
    }

    .column {
      flex: 1;
      overflow: hidden;
      position: relative;
      cursor: pointer;
      min-width: 0;
    }

    @media (max-width: 768px) {
      .gallery {
        height: auto;
      }

      .column {
        height: auto;
      }
    }

    @media (max-width: 768px) {

      .link-box:active,
      .projet:active {
        background: #f0f0f0;
        transform: scale(0.98);
      }
    }


    /* Défilement fluide vers le bas */
    @keyframes scroll-down {
      0% {
        transform: translateY(0);
      }

      100% {
        transform: translateY(-50%);
      }
    }

    /* Défilement fluide vers le haut */
    @keyframes scroll-up {
      0% {
        transform: translateY(-50%);
      }

      100% {
        transform: translateY(0);
      }
    }

    /* Responsive pour mobile */
    @media (max-width: 768px) {
      .gallery {
        flex-direction: column;
        height: auto;
      }

      .column {
        height: 300px;
        margin-bottom: 20px;
      }

      .scroll {
        animation-duration: 15s;
      }
    }

    @media (max-width: 768px) {
      .chiffres {
        justify-content: center;
        text-align: center;
      }

      .projet p {
        text-align: center;
      }
    }

    @media (max-width: 768px) {
      .chiffres {
        justify-content: center;
        text-align: center;
      }

      .projet p {
        text-align: center;
      }
    }

    html {
      scroll-behavior: smooth;
    }

    * {
      scroll-behavior: smooth;
    }
    
    body {
      overflow-x: hidden;
    }

    /* BANDEAU FIXE */
    .fixed-nav {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      background: #ffffff;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 20px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      transform: translateY(-100%);
      transition: transform 0.3s ease;
      height: 60px;
      box-sizing: border-box;
    }

    .fixed-nav.visible {
      transform: translateY(0);
    }

    .nav-logo {
      display: flex;
      align-items: center;
    }

    .nav-logo img {
      height: 28px;
      width: auto;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      align-items: center;
      height: 100%;
    }

    .nav-links a {
      color: #000;
      text-decoration: none;
      font-size: 0.9rem;
      font-weight: 400;
      letter-spacing: 0.5px;
      transition: color 0.3s ease;
      display: flex;
      align-items: center;
      height: 100%;
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background-color: #ccc;
      transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
      width: 100%;
    }

    @media (max-width: 768px) {
      .fixed-nav {
        flex-direction: column;
        padding: 15px 15px;
        height: auto;
        gap: 8px;
        padding-top: 20px;
      }

      .nav-logo img {
        height: 20px;
      }

      .nav-links {
        gap: 1rem;
      }

      .nav-links a {
        font-size: 0.75rem;
      }
    }

/* ---- bloc suivant ---- */

/* EN-TÊTE / LOGO */
      .site-header {
        background-color: #efefef;
        padding: 20px 40px;
        text-align: center;
      }

      .logo-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
        /* pour qu’il reste propre sur mobile */
      }

      .logo-container img {
        height: 30px;
        /* ajuste selon ton logo */
        width: auto;
      }

      .logo-container h1 {
        font-family: 'Outfit', sans-serif;
        font-size: 1.8rem;
        color: #000;
        margin: 0;
      }

/* ---- bloc suivant ---- */

.slider {
      width: 100%;
      overflow: hidden;
      position: relative;
    }

    .slider-track {
      display: flex;
      gap: 0px;
      transform: translateX(0);
    }

    .slider-track img {
      height: 180px;
      width: auto;
      flex-shrink: 0;
      object-fit: cover;
      border-radius: px;
    }

    /* Taille plus grande sur ordinateur */
    @media (min-width: 768px) {
      .slider-track img {
        height: 250px;
      }
    }

/* ---- bloc suivant ---- */

.histoire-container {
      display: flex;
      flex-direction: row;
      gap: 3rem;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      box-sizing: border-box;
    }

    .histoire-texte,
    .histoire-image {
      flex: 1;
      min-width: 300px;
    }

    .histoire-texte {
      font-size: 1.1rem;
      line-height: 1.8;
    }

    .histoire-image img {
      width: 100%;
      height: auto;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    /* Sur mobile, on force en colonne */
    @media (max-width: 768px) {
      .histoire-container {
        flex-direction: column;
      }
    }

/* ---- bloc suivant ---- */

.modal {
        display: none;
        position: fixed;
        z-index: 1000;
        /* S'assure que la modale est tout en haut */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        /* Fond noir semi-transparent */
        backdrop-filter: blur(5px);
        /* Flou sur le fond */
        overflow-y: auto;
        padding: 3rem 1rem;
        transition: opacity 0.3s ease;
      }

      .modal-content {
        background: #f5f5f5;
        margin: auto;
        padding: 2rem;
        border-radius: 1.5rem;
        max-width: 1200px;
        position: relative;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
        /* Ombre douce */
      }

      .modal-content.large {
        max-width: 1200px;
      }

      .close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 9999;
        padding: 0;
        color: black !important;
      }

      .close svg {
        width: 24px;
        height: 24px;
        stroke: #000;
        stroke: black !important;
      }

      /* Garde la croix des modales (bouton .close) en noir */
      .modal .close svg {
        stroke: black !important;
      }

      /* Carrousel */
      .carousel {
        position: relative;
        height: 500px;
        margin-bottom: 2rem;
      }

      .carousel-arrow {
        background: none !important;
        /* Supprime tout fond */
        border: none;
        cursor: pointer;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        width: 60px;
        height: 60px;
        padding: 0;
      }

      .carousel-arrow svg {
        width: 100%;
        height: 100%;
        stroke: #000;
        fill: none;
      }

      .carousel-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
        display: none;
        position: absolute;
        top: 0;
        left: 0;
      }

      .carousel-image.active {
        display: block;
        position: relative;
      }

      /* Grille d’images complémentaires */
      .galerie-grid img {
        width: 100%;
        aspect-ratio: 1.41 / 1;
        /* Format paysage A3 */
        object-fit: cover;
        border-radius: 10px;
        cursor: pointer;
        transition: transform 0.2s ease;
      }

      .galerie-grid img:hover {
        transform: scale(1.03);
      }

      .plans-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* Toujours 3 colonnes */
        gap: 1rem;
        margin: 2rem 0;
      }

      .plans-grid img {
        width: 100%;
        border-radius: 10px;
        cursor: pointer;
        object-fit: cover;
        transition: transform 0.2s ease;
      }

      .plans-grid img:hover {
        transform: scale(1.03);
      }

      .lightbox {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.85);
        z-index: 2000;
        justify-content: center;
        align-items: center;
        backdrop-filter: blur(5px);
        overflow: hidden;
      }

      .lightbox img {
        max-width: 90%;
        max-height: 90%;
        border-radius: 8px;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
      }

      .lightbox-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 2001;
      }

      .lightbox-nav svg {
        width: 25px;
        /* ✅ plus petit */
        height: 25px;
        stroke: white !important;
        color: white !important;
        stroke-width: 2;
        fill: none;
      }

      .lightbox-nav.prev {
        left: 2rem;
      }

      .lightbox-nav.next {
        right: 2rem;
      }

      .close-lightbox {
        position: absolute;
        top: 30px;
        right: 30px;
        cursor: pointer;
        z-index: 2001;
      }

      .close-lightbox svg {
        width: 32px;
        height: 32px;
        stroke: white !important;
        color: white !important;
      }


      /* Points clefs, description et galerie restent inchangés */
      .projets-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
      }

      .projet {
        background: #fafafa;
        border: 1px solid #ddd;
        border-radius: 12px;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
        transition: 0.3s ease;
      }

      .projet:hover {
        transform: scale(1.03);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      }

      .projet img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 8px;
      }

      .chiffres {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin: 1rem 0;
        justify-items: center;
      }

      .chiffres span {
        background: var(--accent);
        padding: 0.4rem 0.8rem;
        border-radius: 6px;
        font-weight: 600;
        font-size: 0.9rem;
        text-align: center;
        width: 100%;
      }

      @media (min-width: 769px) {
        .chiffres {
          display: flex;
          flex-wrap: wrap;
          justify-content: center;
        }
        
        .chiffres span {
          width: auto;
        }
      }

      .projet p {
        text-align: center;
        font-size: 0.95rem;
        color: #555;
      }



      nav {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        padding: 1rem;
        background: #fff;
        border-bottom: 1px solid #eee;
        position: sticky;
        top: 0;
        z-index: 100;
      }

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

      nav a::after {
        content: '';
        display: block;
        height: 2px;
        background: var(--accent);
        transition: 0.3s;
        width: 0;
      }

      nav a:hover::after {
        width: 100%;
      }

      section {
        max-width: 1000px;
        margin: 0 auto 20px;
        padding: 4rem 2rem;
      }

      h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        font-weight: 700;
      }

      * {
        box-sizing: border-box;
      }


      /* Carrousel */
      .carousel {
        position: relative;
        text-align: center;
        margin-bottom: 20px;
      }

      .carousel-image {
        width: 100%;
        display: none;
        border-radius: 1rem;
      }

      .prev,
      .next {
        cursor: pointer;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        padding: 10px;
        color: white;
        background-color: rgba(0, 0, 0, 0.4);
        border: none;
        font-size: 24px;
        z-index: 1;
        border-radius: 50%;
      }

      .prev {
        left: 10px;
      }

      .next {
        right: 10px;
      }

      /* Points clés */
      .points-clefs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin: 20px 0;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
      }

      .point {
        background: #f0f0f0;
        padding: 16px 30px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        text-align: center;
        box-sizing: border-box;
        flex: 1;
        min-width: 120px;
      }

      @media (max-width: 768px) {
        .points-clefs {
          display: grid !important;
          grid-template-columns: 1fr 1fr !important;
          gap: 8px !important;
          max-width: 320px;
          margin-left: auto;
          margin-right: auto;
        }
        
        .point {
          padding: 10px 16px;
          font-size: 13px;
        }
      }

      /* Description */
      .description {
        margin: 30px 0;
      }

      .description h3 {
        margin-bottom: 10px;
      }

      /* Galerie de détails */
      .galerie-detail {
        display: flex;
        flex-direction: column;
        gap: 20px;
      }

      .detail {
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .detail img {
        width: 100%;
        border-radius: 1rem;
      }

      .detail p {
        margin-top: 10px;
        text-align: center;
      }



      .slider {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .slider-images {
        width: 90%;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .slider-images img {
        max-width: 90%;
        max-height: 500px;
        border-radius: 12px;
        object-fit: contain;
        display: none;
      }

      .slider-images img.active {
        display: block;
      }

      .prev,
      .next {
        background: none;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
        padding: 0.5rem 1rem;
        border-radius: 50%;
        user-select: none;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
      }

      .prev {
        left: 10px;
      }

      .next {
        right: 10px;
      }

      .modal-description {
        margin-top: 1rem;
        color: #333;
      }

      /* === Mobile adjustments === */
      @media (max-width: 600px) {

        /* 1. Réduction de la hauteur du carrousel (moins de vide) */
        .carousel {
          height: auto;
          margin-top: 1rem;
          margin-bottom: 1rem;
        }

        /* 2. Garder le format original des images du carrousel */
        .carousel-image {
          height: auto;
          object-fit: contain;
          max-height: 80vh;
        }

        /* 3. Flèches du carrousel plus petites */
        .carousel-arrow {
          width: 60px;
          height: 60px;
        }

        .carousel-arrow svg {
          width: 100%;
          height: 100%;
        }

        /* 4. Flèches du lightbox (plans en grand) en noir sur mobile */
        #lightbox1 .lightbox-nav svg,
        #lightbox2 .lightbox-nav svg,
        #lightbox3 .lightbox-nav svg {
          stroke: black !important;
          color: black !important;
        }

        #lightbox .close-lightbox svg,
        #lightbox2 .close-lightbox svg,
        #lightbox3 .close-lightbox svg {
          stroke: white !important;
          color: white !important;
          /* facultatif mais utile avec currentColor */
        }

        /* 5. Réduction des marges entre les images dans la grille de plans */
        .plans-grid {
          gap: 0.5rem;
        }


      }

      .video-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        padding-top: 25px;
        height: 0;
        overflow: hidden;
        border-radius: 12px;
        margin-top: 2rem;
      }

      .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 12px;
      }

/* ---- bloc suivant ---- */

/* Bouton Voir mes projets */
    .voir-projets-btn {
      display: inline-block;
      padding: 0.8rem 1.6rem;
      background: #f5f5f5;
      color: #000;
      text-decoration: none;
      border-radius: 8px;
      font-weight: 600;
      transition: 0.3s ease;
      border: 1px solid #ddd;
    }

    .voir-projets-btn:hover {
      background: #e0e0e0;
      transform: scale(1.05);
    }

/* ---- bloc suivant ---- */

.timeline {
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      padding: 0 20px;
      /* ← ajoute une marge intérieure à gauche et droite */
    }

    .timeline-item {
      display: flex;
      align-items: center;
      margin-bottom: 40px;
      position: relative;
      width: 100%;
      max-width: 600px;
    }

    .timeline-item::before {
      content: '';
      position: absolute;
      left: 30px;
      top: 0;
      bottom: -40px;
      width: 2px;
      background: #ccc;
      z-index: 0;
      /* en arrière-plan */
    }

    .logo {
      position: relative;
      z-index: 1;
      /* au-dessus du trait */
    }

/* ---- bloc suivant ---- */

/* SECTION photo */
    .photo-section {
      padding: 20px 20px;
      background-color: #ffffff;
      /* couleur */
      text-align: center;
      font-family: 'Outfit', sans-serif;
    }

    .photo-section h2 {
      font-size: 2rem;
      margin-bottom: 20px;
    }

    .photo-section p {
      font-size: 1.1rem;
      max-width: 900px;
      margin: 0 auto 20px;
      line-height: 1.6;
      color: #333;
    }

    .photo-section a {
      color: #000;
      text-decoration: underline;
    }

    .photo-grid {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      overflow-x: auto;
      gap: 20px;
      max-width: 100%;
      padding: 15px 15px 25px 15px;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .photo-grid::-webkit-scrollbar {
      display: none;
    }

    .photo-item {
      flex: 0 0 auto;
      width: 220px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .photo-container {
      width: 100%;
      height: 350px;
      overflow: hidden;
      border-radius: 12px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
      will-change: transform;
    }

    .photo-container:hover {
      transform: scale(1.05);
    }

    .photo-item video,
    .photo-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .photo-item span {
      margin-top: 10px;
      text-align: center;
      font-size: 0.8rem;
      color: #333;
      font-weight: 500;
      font-family: 'Avenir', 'Avenir Next', 'Outfit', sans-serif;
    }

/* ---- bloc suivant ---- */

/* Bouton Voir mes projets */
        .voir-projets-btn {
          display: inline-block;
          padding: 0.8rem 1.6rem;
          background: #f5f5f5;
          color: #000;
          text-decoration: none;
          border-radius: 8px;
          font-weight: 600;
          transition: 0.3s ease;
          border: 1px solid #ddd;
        }

        .voir-projets-btn:hover {
          background: #e0e0e0;
          transform: scale(1.05);
        }

/* ---- bloc suivant ---- */

.about-section{
    --bg-card: #f2f2f2; /* gris clair */
    --text-local: #121212;
    --muted: #4f4f4f;
    --accent-local: #000;
    font-family: 'Outfit', sans-serif;
  }

  .about-section{
    padding: 20px 20px 60px;
    display: flex;
    justify-content: center;
  }

  .about-card{
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px;
    max-width: 1100px;
    display: flex;
    gap: 40px;
    align-items: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    flex-wrap: wrap;
  }

  .about-image {
    flex: 0 0 280px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  }

  .about-image img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .about-text{
    flex: 1 1 400px;
    color: var(--text-local);
  }

  .about-text h2{
    font-size: 1.8rem;
    margin-bottom: 16px;
    font-weight: 700;
  }

  .about-text .lead{
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--text-local);
  }

  .about-text p{
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .cta { margin-top: 18px; }
  .btn{
    display: inline-block;
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    background: transparent;
    border: 1.5px solid var(--accent-local);
    color: var(--accent-local);
    font-weight: 600;
    transition: all 0.2s ease-in-out;
  }
  .btn:hover{
    background: var(--accent-local);
    color: #fff;
  }

  @media (max-width: 820px){
    .about-card{ flex-direction: column; text-align: center; padding: 30px 20px; }
    .about-text{ text-align: left; }
    .about-text h2{ text-align: center; }
    .about-image { flex: 0 0 180px; width: 180px; height: 180px; }
  }

/* ---- bloc suivant ---- */

/* Bouton Voir mes projets */
        .voir-projets-btn {
          display: inline-block;
          padding: 0.8rem 1.6rem;
          background: #f5f5f5;
          color: #000;
          text-decoration: none;
          border-radius: 8px;
          font-weight: 600;
          transition: 0.3s ease;
          border: 1px solid #ddd;
        }

        .voir-projets-btn:hover {
          background: #e0e0e0;
          transform: scale(1.05);
        }

/* ---- bloc suivant ---- */

.scene {
      width: 85mm;
      height: 54mm;
      perspective: 1000px;
      margin: 20px auto 50px auto;
    }

    .card {
      width: 100%;
      height: 100%;
      position: relative;
      transform-style: preserve-3d;
      transition: transform 0.1s ease-out;
      transform: rotateY(15deg) rotateX(10deg);
      will-change: transform;
      touch-action: none;
    }

    .face {
      position: absolute;
      width: 100%;
      height: 100%;
      border-radius: 16px;
      background-size: cover;
      background-position: center;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
      backface-visibility: hidden;
    }

    .front {
      background-image: url('/photosite/logo/Carte de visite.webp');
      /* Remplace par ton image */
    }

    .back {
      background-image: url('/photosite/logo/Carte de visite2.webp');
      /* Remplace par ton image */
      transform: rotateY(180deg);
    }

/* ---- bloc suivant ---- */

body {
      font-family: 'Outfit', sans-serif;
    }

    .coordonnees {
      font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
      font-size: 1rem;
      font-weight: 400;
      letter-spacing: 0.3px;
      line-height: 1.6;
      text-align: center;
      color: var(--text);
      margin-bottom: -10px;
    }

    .coordonnees a {
      color: inherit;
      text-decoration: underline dotted;
      transition: 0.3s;
    }

    .coordonnees a:hover {
      color: var(--accent);
    }

/* ---- bloc suivant ---- */

/* Style du bouton Me contacter */
.me-contacter-btn {
    display: inline-block;
    padding: 12px 30px;             /* Taille du bouton */
    background-color: #f5f5f5;      /* Fond clair comme sur la page principale */
    color: #000;                     /* Texte noir */
    font-family: 'Outfit', sans-serif; 
    font-size: 16px; 
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;              /* Coins arrondis */
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #ddd;          /* Bordure légère pour plus de contraste */
}

/* Effet au survol */
.me-contacter-btn:hover {
    background-color: #e0e0e0;       /* Fond un peu plus foncé au hover */
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Responsive : ajustement du texte et padding sur mobile */
@media (max-width: 768px) {
    .me-contacter-btn {
        padding: 10px 24px;
        font-size: 15px;
    }
}

/* ---- bloc suivant ---- */

.footer {
      text-align: center;
      padding: 40px 20px;
      box-sizing: border-box;
      background-color: #ffffff;
      color: #000000;
      margin-top: 40px;
    }

    .footer-logo {
      display: block;
      margin: 0 auto 15px auto;
      max-width: 200px;
      width: auto;
      height: 20px;
      opacity: 0.8;
      transition: opacity 0.3s ease;
    }

    .footer-logo:hover {
      opacity: 1;
    }

    @media (max-width: 768px) {
      .hero-slider {
        height: 220px;
      }

      .slider-track img {
        height: 220px;
      }
    }

/* ---- bloc suivant ---- */

.floating-socials {
      position: fixed;
      top: 50%;
      right: 20px;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 1rem;
      z-index: 999;
    }

    .floating-socials a img {
      width: 28px;
      height: 28px;
      opacity: 0.7;
      transition: 0.3s;
      filter: grayscale(100%);
    }

    .floating-socials a:hover img {
      opacity: 1;
      transform: scale(1.1);
      filter: grayscale(0%);
    }

/* ---- bloc suivant ---- */

.back-to-top {
      position: fixed;
      bottom: 2rem;
      left: 2rem;
      font-size: 2rem;
      text-decoration: none;
      color: var(--secondary-color);
      z-index: 999;
      transition: var(--transition);
    }

    .back-to-top:hover {
      color: var(--primary-color);
      transform: scale(1.2);
    }

    @media (max-width: 768px) {
      /* Autres styles... */
    }

    @media (max-width: 480px) {
      /* Autres styles... */
    }