@layer ava-legacy {
/* style.css */

/* Réinitialisation */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
	list-style-type: none;
	
	
}


html, body {
  overflow-x: hidden;
}





body, html {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;

		background-color: #FBFBFB;

}


.homepage  {
  background-color: transparent;
}



/* Conteneur global de 80% pour header nav, main et footer */
header nav,
main,
footer {
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}

/* HEADER & NAVIGATION */
header {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

/* Conteneur interne de la navigation */
.container-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1px 0;
  position: relative;
}

/* Logo à gauche */
.nav-left .logo {
  color: #fff;
  font-size: 24px;
  text-decoration: none;
}

/* Bouton hamburger - caché sur desktop */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  transition: all 0.3s;
}

/* Menu à droite */
.nav-right ul {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-right ul li {
  position: relative;
  margin-left: 20px;
}

.nav-right ul li a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  transition: background 0.3s;
}

/* Mise en évidence en survol pour les liens */
.nav-right ul li a:hover {
  background: #ff6600;
  border-radius: 4px;
}

/* DROPDOWN MENU - Masqué par défaut */
.dropdown-content {
  display: none ;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px;
  list-style: none;
  min-width: 150px;
  z-index: 1000;
}

/* Pour les sous-dropdown (exemple pour Captation et Transferts) */
.dropdown-content .dropdown-content {
  top: 0;
  left: 100%;
}

/* Affichage du dropdown au survol du parent */
li.dropdown:hover > .dropdown-content {
  display: block ;
}

/* Style des éléments du dropdown */
.dropdown-content li {
  margin: 5px 0;
}

.dropdown-content li a {
  color: #fff;
  display: block;
  text-decoration: none;
  padding: 5px 8px;
  transition: background 0.3s;
}

.dropdown-content li a:hover {
  background: #ff6600;
  border-radius: 4px;
}

/* MAIN */
main {
  padding-top: 60px; /* Pour compenser le header fixe */

	padding-left: 10px;
	padding-right: 10px;
  text-align: center;
		
}

/* VIDÉO DE FOND (Page d'accueil) */
.video-background {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.hero-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
	line-height:normal;
}

.btn-gallery {
  display: inline-block;
  padding: 10px 20px;
  background: #ff6600;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
}

/* FOOTER */
footer {

  width: 100%;
  background: #222;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-size: 14px;
}

.footer-content {
  width: 80%;
  margin: 0 auto;
  padding: 0 10px;
}

.footer-nav, .footer-info {
  text-align: center;
  width: 100%;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.footer-nav ul li {
  margin: 0 10px;
}

.footer-nav ul li a {
  color: #fff;
  text-decoration: none;
}







/* Responsive Navigation pour Mobile */
@media (max-width: 768px) {
  .container-nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  .hamburger {
    display: flex;
  }
  .nav-right {
    display: none;
    position: absolute;
    top: 100%;
    left: 20%;
    background: rgba(0, 0, 0, 0.5);
    width: 60%;
    z-index: 999;
  }
  .nav-right.active {
    display: block;
  }
  .nav-right ul {
    flex-direction: column;
    width: 100%;
  }
  .nav-right ul li {
    margin: 10px 0;
  }
}


/* Fixer une taille spécifique pour le logo (ajustez selon votre design) */
.logo img {
  padding-left: 50px;
  width: auto;  /* Empêche l'image de se redimensionner */
  height: 50px;  /* Fixez la hauteur du logo à 50px ou la taille que vous souhaitez */
  max-width: 100%; /* S'assurer que le logo ne dépasse pas de son conteneur */
  display: block;  /* Supprimer l'espace en bas de l'image */
}

/* Règles pour la version mobile, ne pas redimensionner le logo */
@media (max-width: 768px) {
  .logo img {
    height: 50px;  /* Garder une taille constante pour le logo */
    width: auto;  /* Ne pas redimensionner en fonction de la largeur */
  }
}

















/* Pour que la section Gallery occupe toute la largeur */
.gallery-mosaic {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
}

/* La grille occupe 100% de la largeur et colle les vidéos les unes aux autres */
.mosaic-grid {
  display: grid;
  grid-gap: 0; /* Pas d'espace entre les vidéos */
  width: 100%;
  grid-template-columns: 1fr; /* Par défaut : 1 colonne (mobile) */
	
	
}





/* Tablette : 2 colonnes */
@media (min-width: 768px) {
  .mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop : 4 colonnes */
@media (min-width: 992px) {
  .mosaic-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}











/* Chaque conteneur vidéo occupe 100% sans marge ni padding */
.video-container {
  position: relative;
  width: 100%;
  max-width: 600px; /* Ajustez selon vos besoins */
  margin: 0 auto;   /* Centre le conteneur */
}

/* Maintien du ratio 16:9 pour chaque vidéo */
.video-container::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* Ratio 16:9 (9/16 = 0.5625) */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}



.videos iframe {
  width: 100%;
  max-width: 560px; /* Largeur maximale pour garder le ratio */
  height: auto; /* Hauteur automatique basée sur la largeur */
  aspect-ratio: 16 / 9; /* Maintient le ratio 16:9 */
  border-radius: 8px;
}







/* Limiter la largeur de la section "realisation" sur grand écran et la centrer */
.realisation {
  max-width: 1500px; /* Limite la largeur à 1200px (ajustable selon vos besoins) */
  margin: 0 auto;    /* Centre la section horizontalement */
  padding: 5px 5px;

}

/* Pour les tablettes (écrans moyens) */
@media (max-width: 992px) {
  /* Réorganiser les rangées en colonne pour une meilleure lisibilité */
  .row,
  .row2,
  .row3 {
    flex-direction: column;
    align-items: center;
	    
  }
  
  /* Chaque colonne occupe 100% de la largeur en mode tablette */
  .col50 {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* Pour les mobiles (petits écrans) */
@media (max-width: 600px) {
  /* Réduire les espacements et adapter la taille du texte */
  .realisation {
    padding: 20px 10px;

  }
  
  .titre-texte {
    font-size: 1.5em;
  }
  
  /* Adapter les images pour qu'elles soient entièrement responsives */
  .row .col50 img,
  .row2 .col50 img {
    width: 100%;
	  max-width: 100px;
    height: auto;
  }
}




/* Pour les grands écrans (ordinateur) : Limiter la largeur du contenu de la page réalisation */
.realisation-page .realisation {
  max-width: 1300px; /* Limiter la largeur du contenu */
  margin: 0 auto;    /* Centrer le contenu */
}

/* Pour les tablettes (max-width: 992px) */
@media (max-width: 992px) {
  .realisation-page .row,
  .realisation-page .row2,
  .realisation-page .row3 {
    flex-direction: column;  /* Empile les éléments verticalement */
    align-items: center;
  }
    

    
    
    
    
    
  
  /* Chaque colonne occupe 100% de la largeur sur tablette */
  .realisation-page .col50 {
    width: 100%;
    margin-bottom: 20px;
  }
  
  /* Ajuster la largeur des paragraphes si nécessaire */
  .realisation-page p {
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
  }
}

/* Pour les mobiles (max-width: 600px) */
@media (max-width: 600px) {
  .realisation-page .realisation {
    padding: 20px 10px;
  }
  
  .realisation-page .titre-texte {
    font-size: 1.5em;
  }
  
  /* Les images dans row et row2 s'ajustent automatiquement */
  .realisation-page .row .col50 img,
  .realisation-page .row2 .col50 img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}




/* page Services */


/* Pour les grands écrans (ordinateur) : Limiter la largeur du contenu de la page service */
.services-page .service-page {
  max-width: 1200px; /* Limiter la largeur du contenu */
  margin: 0 auto;    /* Centrer le contenu */
}

/* Pour les tablettes (max-width: 992px) */
@media (max-width: 992px) {
  .services-page .row00,
  .services-page .row01,
  .services-page .row02,
	.services-page .row03,
	.services-page .row04 {
    flex-direction: column;  /* Empile les éléments verticalement */
    align-items: center;
  }
    
    

    
    
    
  
  /* Chaque colonne occupe 100% de la largeur sur tablette */
  .services-page .col50 {
    width: 100%;
    margin-bottom: 20px;
  }
  
  /* Ajuster la largeur des paragraphes si nécessaire */
  .services-page p {
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
  }
}

/* Pour les mobiles (max-width: 600px) */
@media (max-width: 600px) {
  .services-page .realisation {
    padding: 20px 10px;
  }
  
  .services-page .titre-texte {
    font-size: 1.5em;
	  margin-bottom: 10px;
  }
  
  /* Les images dans row et row2 s'ajustent automatiquement */
  .services-page .row00 .col50 img,
  .services-page .row01 .col50 img,
	.services-page .row02 .col50 img,
	.services-page .row03 .col50 img,
	.services-page .row04 .col50 img
	{
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}



/* SECTIONS (Services, Boutique, À Propos, Blog, Contact, etc.) */
.services,
.boutique,
.about,
.blog-posts,
.contact-form,
.project-detail,
.mentions-legales {
  padding: 40px 20px;
  text-align: center;
}




/* Services */
.services article {
  margin-bottom: 30px;
}

/* Boutique */
.boutique {
  text-align: center;
}

.boutique-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.boutique-items .item {
  margin: 20px;
  padding: 20px;
  border: 1px solid #ddd;
  width: 300px;
  border-radius: 5px;
}

.boutique-items .item img {
  max-width: 100%;
}

/* À Propos, Blog, Contact */
.about,
.blog-posts,
.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

/* Formulaire Contact */
.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

.contact-form button {
  margin-top: 20px;
  padding: 10px;
  background: #ff6600;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Projet Vidéo */
.project-detail {
  text-align: center;
}

.project-detail .project-video {
  margin: 20px 0;
}

.project-extra {
  padding: 20px;
  text-align: center;
}

.partners-logos {
  display: flex;
  justify-content: center;
  gap: 20px;
}

img {
	
	border-radius: 20px;
}


/* Vidéo principale – support <video> et <iframe> */
.project-video{
  max-width: var(--ava-max);
  border-radius: var(--ava-radius);
  overflow: hidden;
  box-shadow: 0 6px 24px #00000012;
  background: #000;
  margin: 0 auto;            /* s'assure du centrage */
}

.project-video video,
.project-video iframe{
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  display: block;
  border: 0;
}




/* page réalisation */




section {
	
	padding: 100px;
}

.row {
	
	position: relative;
	width:100%;
	display: flex;
	justify-content: space-between;

	margin-bottom: 20px;
	
}

.row .col50 {
	
	position: relative;
	width: 48%;
	justify-content: center;
	align-items: center;
	
}

.row .col50 h1 {
	
	margin-bottom: 20px;
	text-align: left;
	
	
}



.row .col50 h2 {
	
	margin-bottom:20px;
	text-align: left;
	
	
	
}

.titre-texte {
	
	color: #000;
	font-size: 2em;
	font-weight: 300;
		margin-top: 20px;
	
	}
	
	.row .col50 h2 {
	
	margin-bottom:20px;
	text-align: left;
	
	
}
	

 .row .col50 img {
	

	width: 500px;
height: 400px;
	position: relative;
	
}

.realisation p {
	text-align: left;
	margin-bottom: 20px;
	
}


.row2 {
	
	position: relative;
	width: 100%;
	display: flex;
	justify-content: space-between;
		flex-direction: row-reverse;


}
	
.row2 .col50 {
	
	position: relative;
	width: 48%;
	justify-content: center;
	align-items: center;
	
}



/* Optionnel : initialement, les blocs sont légèrement transparents et décalés vers le bas */
.video-wrapper {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Quand l'élément est en vue, on annule l'effet */
.video-wrapper.in-view {
  opacity: 1;
  transform: translateY(0);
}





.row2 .col50 h2 {
	
	margin-bottom: 20px;
	text-align: left;
	
	
}


 .row2 .col50 img {
	

	width: 100%;
max-width: 600px;
height: auto;
	
}

.row2 ul {
	
	text-align: left;
	
}


.row3 {
	
	justify-content: center;
	
}

.row3 p {
	
text-align: center;
		color: #000;
	font-size: 1em;
	font-weight: 300;
		margin-top: 20px;
	
	
}

.row3 p ul {
	
		color: #000;
	font-size: 2em;
	font-weight: 300;
		margin-top: 20px;

}



.cta p {
	
		margin-top: 20px;
	text-align: center; justify-content: center;

	
}


.cta h2 {
	
	
	margin-top: 20px;
	
}


.row3 ul {


	position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
		text-align: left;
		
	
}


.projects-list {
	
text-align: left;
	margin-top: 20px;
	
}



.row3 li {
	
	padding-right: 10px;
	
}

/* page Drone */


.couleur {
	
	background-color: #ff6600;
}


.pricing-table .table-prix tr td {
	background-color: #e4e4cb;
	border: 0.1px solid #000;
	border-collapse: collapse; 
	text-align: left;
	padding: 1Px;

	
}


.row4 {
   position: relative;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;

}



/* Page Services */





section {
	
	padding: 100px;
}




.tableau2col {
	margin: 0 auto;
   background-color: #e4e4cb;
	text-align: left;
	

}


table, th, td {
	
  border: 1px solid #000; /* Bordure noire d'1px */
  border-collapse: collapse; /* Fusionne les bordures adjacentes */
  padding: 8px; /* Optionnel, pour ajouter de l'espace dans les cellules */
}

.tarifs {
	background-color: #ff6600;
	
	text-align: center;


	
}

.tableau2col2 {
	margin: 0 auto;
   background-color: #e4e4cb;
  
	text-align: left;

}



  /* confort de lecture */
  .tableau2col th,
  .tableau2col td {
    padding: 12px 10px;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }



/* Conteneur pour les deux tableaux côte à côte */
.tables-container {
  display: flex;
  justify-content: center;  /* Centre les tableaux horizontalement */
  gap: 20px;                /* Espace entre les deux tableaux */
  flex-wrap: wrap;          /* Permet de passer en colonne sur les écrans étroits */
  margin: 40px auto;        /* Centre le conteneur */
}









/* Définir une largeur pour chaque tableau */
.tableau2col,
.tableau2col2 {
  width: 100%;               /* Chaque tableau occupe 45% de la largeur du conteneur */
  max-width: 600px;         /* Optionnel : largeur maximale */
  background-color: #e4e4cb; /* Fond pour visualiser le tableau */
  text-align: left;
  margin: 0 auto;           /* Centre le tableau dans sa colonne */
}

/* Ajout d'une bordure et padding pour le tableau */
table, th, td {
  border: 1px solid #000;
  border-collapse: collapse;
  padding: 8px;
}

/* Conteneur pour la vidéo d'exemple sous l'image T1 */
.video-sample {
  max-width: 600px;         /* Ajustez selon la taille de l'image T1 */
  margin: 20px auto;        /* Centre le conteneur horizontalement */
  padding: 10px;
}

/* Rendre l'iframe de la vidéo d'exemple responsive */
.video-sample iframe {
  width: 100%;
  height: 350px;            /* Ajustez la hauteur selon vos préférences */
}


/* Conteneur regroupant le texte et la vidéo côte à côte */
.header-text-video {
  display: flex;
  justify-content: space-between; /* Met de l'espace entre le texte et la vidéo */
  align-items: flex-start; /* Aligne le début (gauche) des deux colonnes */
  gap: 20px; /* Espace optionnel entre les deux colonnes */
  margin-bottom: 40px; /* Espace sous ce bloc, à ajuster selon vos besoins */
}

/* Zone pour le texte (à gauche) */
.header-text-video .text-container {
  flex: 1;
  text-align: left;
}



/* Pour que l'iframe prenne toute la largeur de son conteneur */
.header-text-video .video-container iframe {
  width: 100%;
  height: 100%; /* Vous pouvez fixer une hauteur si besoin */
}

/* Responsive : empiler les éléments en colonne sur petits écrans */
@media (max-width: 768px) {
  .header-text-video {
    flex-direction: column;
    align-items: center;
  }
  .header-text-video .text-container,
  .header-text-video .video-container {
    width: 100%;
  }
}


.product {
    display: flex; /* Permet un alignement en ligne */
    align-items: center; /* Aligne verticalement */
    gap: 20px; /* Espacement entre l'image et le texte */
    max-width: 800px; /* Largeur maximale */
    margin: 20px auto; /* Centre le produit sur la page */
    padding: 20px;
    border: 1px solid #ddd; /* Bordure légère */
    border-radius: 10px;
    background-color: #fff; /* Fond blanc */
}

.product-image {
    flex: 1; /* Laisse l'image prendre une petite partie */
    max-width: 200px; /* Taille réduite de l’image */
}

.product-image img {
    width: 100%; /* Adaptation responsive */
    border-radius: 10px; /* Bords arrondis */
}

.product-details {
    flex: 2; /* Le texte prend plus de place */
    display: flex;
    flex-direction: column;
}

.price {
    font-size: 1.2em;
    font-weight: bold;
    color: #ff6600; /* Couleur du prix */
}

.add-to-cart {
    padding: 10px 15px;
    background: #ff6600;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.add-to-cart:hover {
    background: #cc5500; /* Assombri au survol */
}

/* Responsive : Affichage en colonne sur mobile */
@media (max-width: 600px) {
    .product {
        flex-direction: column;
        text-align: center;
    }

    .product-image {
        max-width: 100%;
    }
}






/* Styles pour la vidéo dans la page projet Audio */
.project-video {
  width: 80%;              /* La vidéo occupe 80% de la largeur du container */
  margin: 0 auto;          /* Centrage horizontal */
  position: relative;      /* Nécessaire pour le positionnement absolu de l'iframe */
}

.project-video::before {
  content: "";
  display: block;
  padding-top: 56.25%;     /* Ratio 16:9 (9/16 = 0.5625) */
}

.project-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Aucun border ajouté grâce à la règle globale */
}






    main .contact {
      max-width: 600px;
      margin: 100px auto 60px; /* Espace en haut pour compenser le header fixe, centré */
      padding: 40px;
      background: #ffffff;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      text-align: left;
    }

    main .contact h1 {
      font-size: 2.5em;
      color: #333;
      margin-bottom: 20px;
      text-align: center;
    }

    main .contact p {
      font-size: 1.1em;
      color: #555;
      line-height: 1.6;
      margin-bottom: 20px;
    }

    main .contact .contact-info {
      background: #f7f9fa;
      padding: 20px;
      border-radius: 4px;
      margin-bottom: 20px;
    }

    main .contact .contact-info p {
      margin: 10px 0;
      font-size: 1em;
      color: #444;
    }

    main .contact .contact-info strong {
      color: #333;
    }

    main .contact .contact-form-link {
      text-align: center;
      margin-top: 20px;
    }

    main .contact .contact-form-link a.cta-button {
      display: inline-block;
      padding: 12px 30px;
      background: linear-gradient(45deg, #ff6600, #ff8c00);
      color: #fff;
      text-decoration: none;
      font-size: 1.1em;
      border-radius: 30px;
      transition: background 0.3s ease;
    }

    main .contact .contact-form-link a.cta-button:hover {
      background: linear-gradient(45deg, #ff8c00, #ff6600);
    }



/* Organisation en grille pour les vidéos d'exemple */
.video-exemple {
  display: grid;
  grid-template-columns: 1fr; /* Affichage en 1 colonne par défaut (mobile) */
  gap: 20px;
  padding: 20px;
}

/* Sur tablette : 2 colonnes */
@media (min-width: 768px) {
  .video-exemple {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Sur PC : 4 colonnes */
@media (min-width: 992px) {
  .video-exemple {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Style pour chaque bloc vidéo avec le lien cliquable sous la vidéo */
.video-item {
  text-align: center;
}

.video-item a {
  display: block;
  margin-top: 8px;
  color: #0077cc;
  font-size: 14px;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.video-item a:hover {
  color: #005fa3;
}



@media (max-width: 1100px) and (min-width: 601px) {
  /* Pour la grille de vidéos : passage à 2 colonnes */
  .mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Pour les conteneurs principaux de projet et de vidéo */
  .project-container,
  .project-video {
    width: 90%; /* Ajustement de la largeur */
    margin: 0 auto; /* Centrage horizontal */
  }

  /* Pour les conteneurs de lignes et colonnes qui pourraient dépasser */
  .row, .row2, .col50 {
    width: 100%;
    flex-direction: column; /* Empilement vertical si besoin */
    align-items: center;
  }
  
  /* S’assurer que toutes les images s’adaptent à leur conteneur */
  img {
    max-width: 100%;
    height: auto;
  }
}



@media (max-width: 600px) {
  /* Réduction des marges et padding pour la rubrique Service */
  .services-page .service-page    {
    padding-left: 10px;  /* Réduit l'espace intérieur gauche */
    padding-right: 10px; /* Réduit l'espace intérieur droit */
    margin-left: 0;      /* Supprime la marge externe gauche */
    margin-right: 0;     /* Supprime la marge externe droite */
    width: 100%;         /* Utilise toute la largeur disponible */
  }
}

/* Styles pour la prévisualisation vidéo */
.video-preview {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.video-preview img {
  width: 100%;
  height: auto;
  display: block;
}

/* Bouton de lecture centré sur la miniature */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: url("https://ava-image.com/play-icon.png") no-repeat center center;
  background-size: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
/* Mise à jour de la grille pour réduire l'espacement entre les vidéos */
.mosaic-grid {
  display: grid;
  gap: 5px; /* Réduit l'espacement entre lignes et colonnes */
  width: 100%;
  grid-template-columns: 1fr; /* Par défaut : 1 colonne (mobile) */
}

/* Pour tablette : 2 colonnes */
@media (min-width: 768px) {
  .mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
}

/* Pour desktop : 4 colonnes */
@media (min-width: 992px) {
  .mosaic-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }
}



/* Suppression des marges/paddings pour la galerie et la grille */
.gallery-mosaic,
.mosaic-grid,
.video-wrapper,
.video-container {
  margin: 0;
  padding: 0;
}

/* Grille sans espace entre les cellules */
.mosaic-grid {
  display: grid;
  gap: 0; /* Aucun espace entre les lignes et colonnes */
  width: 100%;
  grid-template-columns: 1fr; /* 1 colonne par défaut (mobile) */
}

/* Pour tablette : 2 colonnes sans gap */
@media (min-width: 768px) {
  .mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
}

/* Pour desktop : 4 colonnes sans gap */
@media (min-width: 992px) {
  .mosaic-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}



/* Bouton de lecture centré sur la miniature */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: url("https://ava-image.com/play-icon.png") no-repeat center center;
  background-size: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
}


.video-preview, 
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 'cover' permet de remplir le conteneur tout en recadrant l'image */
}


/*boutique*/


.product-image img {
  width: 100%;
  height: auto;
}


.modal-content {
  margin: 10% auto;
  display: block;
  max-width: 90%;
}

.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: 10% auto;
  display: block;
  max-width: 90%;
}

.modal-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/*Blog*/

/* Styles spécifiques au blog AVA IMAGE */
/* On cible uniquement .blog et ses enfants pour éviter tout conflit */

/* Container principal */
.blog {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Titre principal */
.blog h1 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #222;
}

/* Introduction */
.blog > p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Articles */
.blog .post {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 2rem;
}

/* Images */
.blog .post img {
  flex: 1 1 300px;
  max-width: 350px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Contenu */
.blog .post-content {
  flex: 2 1 500px;
}

.blog .post-content h2 {
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: #444;
}

.blog .post-content h2 a {
  text-decoration: none;
  color: #1a73e8;
}

.blog .post-content h2 a:hover {
  text-decoration: underline;
}

.blog .post-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Bouton lire la suite */
.blog .read-more {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #1a73e8;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.blog .read-more:hover {
  background: #155ab6;
}

/* Responsive */
@media (max-width: 768px) {
  .blog .post {
    flex-direction: column;
    align-items: center;
  }

  .blog .post img {
    max-width: 100%;
  }
}

/*article*/


/* Styles spécifiques à la page article de blog AVA IMAGE */

/* Reset de base */
body {
  margin: 0;
  padding: 0;
  font-family: "Georgia", serif;
  background: #f4f4f8;
  color: #222;
  line-height: 1.7;
}

/* Container principal */
.blog-article {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Titre principal */
.blog-article h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #111;
}

/* Informations article */
.blog-article .meta {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 2rem;
}

/* Paragraphes */
.blog-article p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

/* Listes */
.blog-article ul,
.blog-article ol {
  margin: 1rem 0 1.5rem 1.5rem;
  padding: 0;
}

.blog-article li {
  margin-bottom: 0.6rem;
}

/* Sous-titres */
.blog-article h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1a73e8;
}

.blog-article h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  color: #333;
}

/* Images */
.blog-article img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1.5rem 0;
}

/* Citations */
.blog-article blockquote {
  border-left: 4px solid #1a73e8;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #444;
  background: #f9f9f9;
}

/* Bouton retour */
.blog-article .back-link {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1rem;
  background: #1a73e8;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.blog-article .back-link:hover {
  background: #155ab6;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-article {
    margin: 1rem;
    padding: 1.5rem;
  }

  .blog-article h1 {
    font-size: 1.8rem;
  }

  .blog-article h2 {
    font-size: 1.4rem;
  }
}

/* === Styles spécifiques aux articles de blog === */
.blog-article {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  font-family: "Georgia", serif;
  line-height: 1.7;
  color: #222;
}

.blog-article h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #111;
}

.blog-article .meta {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 2rem;
}

.blog-article p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.blog-article h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1a73e8;
}

.blog-article h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  color: #333;
}

.blog-article img {
  max-width: 100%;
  border-radius: 6px;
  margin: 1.5rem 0;
}

.blog-article blockquote {
  border-left: 4px solid #1a73e8;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #444;
  background: #f9f9f9;
}

.blog-article .back-link {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1rem;
  background: #1a73e8;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.blog-article .back-link:hover {
  background: #155ab6;
}

@media (max-width: 768px) {
.blog-article {margin:1rem;}
}

	  /* === LAYOUT BLOG AVA IMAGE === */

/* Container principal : sidebar + article */
.blog-layout {
  display: flex;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  gap: 2rem;
}

/* Sidebar */
.blog-sidebar {
  flex: 1 1 250px;
  font-family: "Arial", sans-serif;
  color: #444;
}

.blog-sidebar h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #1a73e8;
  padding-bottom: 0.5rem;
  color: #1a73e8;
}

.blog-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.blog-sidebar li {
  margin-bottom: 0.6rem;
}

.blog-sidebar a {
  text-decoration: none;
  color: #222;
  transition: color 0.3s ease;
}

.blog-sidebar a:hover {
  color: #1a73e8;
}
	  
	  


/* Bloc article */
.blog-article {
  flex: 3 1 700px;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  font-family: "Georgia", serif;
  line-height: 1.7;
  color: #222;
}

/* Titre */
.blog-article h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
  color: #111;
}

/* Meta */
.blog-article .meta {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 2rem;
}

/* Paragraphes */
.blog-article p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

/* Listes */
.blog-article ul,
.blog-article ol {
  margin: 1rem 0 1.5rem 1.5rem;
  padding: 0;
}

.blog-article li {
  margin-bottom: 0.6rem;
}

/* Sous-titres */
.blog-article h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1a73e8;
}

.blog-article h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  color: #333;
}

/* Images */
.blog-article img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1.5rem 0;
}

/* Citations */
.blog-article blockquote {
  border-left: 4px solid #1a73e8;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #444;
  background: #f9f9f9;
}

/* Bouton retour */
.blog-article .back-link {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.6rem 1rem;
  background: #1a73e8;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.blog-article .back-link:hover {
  background: #155ab6;
}

/* Responsive */
@media (max-width: 900px) {
  .blog-layout {
    flex-direction: column;
  }
  .blog-sidebar {
    order: -1; /* sidebar au-dessus de l'article */
  }
  .blog-article {
    padding: 1.5rem;
  }
  .blog-article h1 {
    font-size: 1.8rem;
  }
  .blog-article h2 {
    font-size: 1.4rem;
  }
}



	  /* article */
	  
	  


	  
	  /* referencemment video premiere page */
	  
.video-meta {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;       /* ne bloque rien */
  z-index: -9999;             /* en dessous de la vidéo */
  opacity: 0;                 /* totalement invisible */
  visibility: hidden;         /* pour forcer le masquage visuel */
}

.video-meta a {
  display: none ;   /* masque complètement le lien */
}

      
.project-page p + section {
  margin-top: 10px;
    padding: 10px;
   
}



.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 25px;
}

.social-links img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  filter: drop-shadow(0 0 2px rgba(255,255,255,0.5));
}

.social-links img:hover {
  transform: scale(1.15);
  opacity: 0.85;
}







@media screen and (max-width: 1200px) {
  .row, .row2 {
    display: flex ;
    flex-direction: column ;
    align-items: center ;
    justify-content: center ;
    gap: 20px ;
  }

  .col50 {
    width: 100% ;
    max-width: 100% ;
    padding: 0 15px ;
  }

  .col50 img {
    width: 100% ;
    height: auto ;
    display: block ;
  }

  section.realisation {
    padding: 20px ;
  }

  h1, h2, p {
    text-align: center ;
  }
}

/* ===== Correctif tableaux (côte à côte → empilés ≤ 768px) ===== */

/* Desktop / tablette large : côte à côte, largeur flexible */
.tables-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: nowrap;              /* on ne wrap pas tant que ≥ 768px */
  margin: 40px auto;
  max-width: 1300px;              /* optionnel : largeur max de la zone */
  padding: 0 10px;                /* marge interne douce */
}

/* Chaque tableau prend sa place, sans limite à 600px */
.tables-container .tableau2col,
.tables-container .tableau2col2 {
  flex: 1 1 0;
  width: auto;
  max-width: none;
}

/* Sécurité : largeur 100% interne + césure propre */
.tables-container table {
  width: 100%;
  table-layout: fixed;
}
.tables-container th,
.tables-container td {
  overflow-wrap: anywhere;
  word-wrap: break-word;
  padding: 12px 10px;
}

/* Empiler les 2 tableaux plus tôt (≤ 768px) */
@media (max-width: 768px) {
  .tables-container {
    display: block;               /* on sort du flex pour forcer l'empilement */
  }
  .tables-container .tableau2col,
  .tables-container .tableau2col2 {
    width: 100% ;
    max-width: none ;
    margin: 0 0 16px 0 ;  /* espace entre les deux */
  }
}

/* Neutralisation explicite si l'ancien "full-bleed" traîne encore */
.tables-container .tableau2col {
  width: 100% ;
  margin-left: 0 ;
  margin-right: 0 ;
}

@media (max-width: 768px) {
  img {
    max-width: 100% ;
    height: auto ;
  }
}

/* --- Fix logo en mobile (ne pas le redimensionner comme les autres images) --- */
@media (max-width: 768px) {
  header .logo img {
    height: 50px ;   /* choisis 45–55px selon ton goût */
    width: auto ;
    padding-left: 10px;         /* ou 0 si tu veux coller à gauche */
  }

  /* Et on limite l'image responsive au contenu, pas au header */
  main img,
  section img,
  .realisation img,
  .product-image img {
    max-width: 100% ;
    height: auto ;
  }
}

/* === Gallery : intro plus large === */
.gallery-intro{
  /* si ton main est centré, on élargit l’intro */
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: left;            /* évite le centrage qui “resserre” visuellement */
  display: block;
  /* si ta page est en grid, ça force l’intro à prendre toute la largeur */
  grid-column: 1 / -1;
}

/* Par défaut, on autorise une largeur confortable (plus large qu’un 60–70ch classique) */
.gallery-intro h2,
.gallery-intro p{
  width: 100%;
  max-width: none;             /* lève toute limite existante */
}

/* Mobile : on s’assure que ça prend bien toute la largeur disponible */
@media (max-width: 768px){
  .gallery-intro{
    padding-left: 18px;
    padding-right: 18px;
    max-width: none;           /* pas de container qui rétrécit */
  }
  .gallery-intro h2,
  .gallery-intro p{
    max-width: none;           /* annule d’éventuels max-width hérités */
  }
}

/* === Gallery intro : toujours centré === */
.gallery-intro{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  text-align: center ;   /* force le centrage partout */
  display: block;
  grid-column: 1 / -1;             /* si la page est en grid */
}

/* Centre aussi les éléments internes */
.gallery-intro h2,
.gallery-intro p{
  text-align: center ;
  margin-left: auto;
  margin-right: auto;
  max-width: none;
}

/* Si la section est dans un conteneur flex, évite qu’elle soit comprimée */
.gallery-intro{
  flex: 1 1 100%;
  min-width: 0;
}

/* 1) Images & iframes responsives partout (desktop compris) */
img,
iframe,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 2) Spécifique Service : les visuels collent au conteneur */
.services-page .img img,
.services-page .col50 img {
  width: 100%;
  height: auto;
}

/* 3) Neutralise la largeur fixe héritée d'autres pages */
.row .col50 img {
  width: 100%;
  height: auto;
}

/* 4) Sécurité : aucun overflow horizontal “visuel” */
.services-page .service-page {
  overflow-x: hidden;
}

/* === Empilement dès la tablette (≤ 1024px) pour les pages listées === */
@media (max-width: 1024px) {
  .realisation-page .row, .realisation-page .row2, .realisation-page .row3, .realisation-page .row4,
  .drone-page .row,       .drone-page .row2,       .drone-page .row3,       .drone-page .row4,
  .vr-page .row,          .vr-page .row2,          .vr-page .row3,          .vr-page .row4,
  .analogique-page .row,  .analogique-page .row2,  .analogique-page .row3,  .analogique-page .row4,
  .argentique-page .row,  .argentique-page .row2,  .argentique-page .row3,  .argentique-page .row4,
  .diapositive-page .row, .diapositive-page .row2, .diapositive-page .row3, .diapositive-page .row4 {
    display: flex ;
    flex-direction: column ;
    align-items: center ;
    justify-content: center ;
    gap: 20px ;
  }

  /* Colonnes pleine largeur */
  .realisation-page .col50,
  .drone-page .col50,
  .vr-page .col50,
  .analogique-page .col50,
  .argentique-page .col50,
  .diapositive-page .col50 {
    width: 100% ;
    max-width: 100% ;
    padding: 0 15px ;
    margin: 0 ;
  }

  /* Images 100% conteneur (neutralise les tailles fixes qui débordent) */
  .realisation-page .col50 img,
  .drone-page .col50 img,
  .vr-page .col50 img,
  .analogique-page .col50 img,
  .argentique-page .col50 img,
  .diapositive-page .col50 img {
    width: 100% ;
    max-width: 100% ;
    height: auto ;
    display: block ;
  }

  /* Sections : padding réduit (ton 100px force parfois un débordement visuel) */
  .realisation-page section,
  .drone-page section,
  .vr-page section,
  .analogique-page section,
  .argentique-page section,
  .diapositive-page section {
    padding: 24px 12px ;
  }

  /* Texte : libre de centrer si tu veux conserver ton style tablette */
  .realisation-page h1, .realisation-page h2, .realisation-page p,
  .drone-page h1,       .drone-page h2,       .drone-page p,
  .vr-page h1,          .vr-page h2,          .vr-page p,
  .analogique-page h1,  .analogique-page h2,  .analogique-page p,
  .argentique-page h1,  .argentique-page h2,  .argentique-page p,
  .diapositive-page h1, .diapositive-page h2, .diapositive-page p {
    text-align: left; /* Mets "center" si tu préfères tout centrer sur tablette */
  }
}

/* === Correctifs généraux pour éviter les débordements sur tous écrans === */

/* Neutralise la règle plus haut : .row .col50 img { width:500px; height:400; } */
.row .col50 img,
.row2 .col50 img {
  width: 100% ;
  height: auto ;
}

/* Empêche tout overflow “sournois” dans les conteneurs */
.row, .row2, .row3, .row4, .col50, section {
  max-width: 100%;
  overflow-x: hidden;
}

/* Les iframes/vidéos suivent le même comportement responsive */
iframe, video {
  max-width: 100%;
  height: auto;
  display: block;
}


/* === Empilage tablette (≤ 1024px) : header texte + vidéo === */
@media (max-width: 1024px) {
  .header-text-video {
    display: flex ;
    flex-direction: column ;
    align-items: center ;
    gap: 20px ;
  }

  .header-text-video .text-container,
  .header-text-video .video-container {
    width: 100% ;
    max-width: 900px ; /* ajuste si tu veux plus étroit */
  }

  /* Assure un 16:9 propre même si l’iframe était non contraint */
  .header-text-video .video-container {
    position: relative ;
  }
  .header-text-video .video-container::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 */
  }
  .header-text-video .video-container iframe {
    position: absolute ;
    inset: 0 ;
    width: 100% ;
    height: 100% ;
    border: 0;
  }
}

/* === Empilage tablette (≤ 1024px) : les 2 tableaux de tarifs === */
@media (max-width: 1024px) {
  .tables-container {
    display: block ;          /* sort du flex → empilement */
    margin: 24px auto ;
    padding: 0 10px ;
  }
  .tables-container .tableau2col,
  .tables-container .tableau2col2 {
    width: 100% ;
    max-width: none ;
    margin: 0 0 16px 0 ;      /* espace entre les deux */
  }
  .tables-container table {
    width: 100% ;
    table-layout: fixed ;
  }
  .tables-container th,
  .tables-container td {
    overflow-wrap: anywhere;
    word-wrap: break-word;
    padding: 12px 10px;
  }
}

/* === Sécurité anti-débordements partout === */
@media (max-width: 1200px) {
  .row, .row2, .row3, .row4, .col50, section {
    max-width: 100%;
    overflow-x: hidden;
  }
  /* Neutralise toute largeur fixe qui traînerait sur des images */
  .col50 img, .row .col50 img, .row2 .col50 img {
    width: 100% ;
    height: auto ;
    display: block ;
  }
}
.container { max-width: 1100px; margin-inline: auto; padding: 2rem 1rem; }

.home-services h2,
.home-local h2,
.home-accordeon h2,
.home-faq h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); margin-bottom: .75rem; }

.services-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style: none; padding: 0; margin: 1rem 0 0;
}
.services-grid h3 { font-size: 1.05rem; margin: 0 0 .25rem; }
.services-grid p { margin: 0; line-height: 1.45; }

.home-local p { margin: .5rem 0 0; line-height: 1.6; }

.home-accordeon details { border: 1px solid #e5e5e5; border-radius: .5rem; padding: .75rem 1rem; margin-top: .75rem; }
.home-accordeon summary { cursor: pointer; font-weight: 600; }
.home-accordeon p { margin: .5rem 0 0; line-height: 1.6; }

.home-faq dl { margin: 0; }
.home-faq dt { font-weight: 700; margin-top: 1rem; }
.home-faq dd { margin: .25rem 0 0 0; line-height: 1.6; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* === Homepage : sections trop étroites en mobile → corrige le padding et centre === */
@media (max-width: 768px) {
  /* Réduit le gros padding global sur la home uniquement */
  .homepage section {
    padding: 24px 16px ;   /* au lieu de 100px */
  }

  /* Assure une vraie colonne centrée et confortable */
  .homepage .container {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Centre visuellement ces blocs texte, mais garde les <details> lisibles */
  .home-services,
  .home-local,
  .home-accordeon,
  .home-faq {
    text-align: center;
  }

  /* Le contenu interne des accordéons reste aligné à gauche pour le confort de lecture */
  .home-accordeon details {
    text-align: left;
    max-width: 46ch;               /* largeur de lecture agréable */
    margin-left: auto;
    margin-right: auto;
  }

  /* Grille des services : vraie colonne pleine largeur en mobile */
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Desktop/tablette : optionnel — remplace le 100px global par un padding plus sobre */
@media (min-width: 769px) {
  .homepage section {
    padding: 48px 24px;            /* + chic que 100px, évite l’effet “trop d’air” */
  }
}

.packages-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  list-style: none; padding: 0; margin: 1rem 0 0;
}
.package { background:#fff; border:1px solid #eee; border-radius:12px; padding:1rem; }
.package h3 { margin:0 0 .35rem; font-size:1.1rem; }
.package .price { font-weight:700; margin:.35rem 0; color:#ff6600; }
.package .meta { font-size:.95rem; color:#555; }
.options h4 { margin:1rem 0 .25rem; }
.sidenote { font-size:.95rem; color:#666; margin-top:.75rem; }

/* Événements personnels : confort mobile */
@media (max-width: 768px) {
  .realisation-page section.realisation { padding: 24px 14px ; }
  .realisation-page .titre-texte { text-align: center ; }
  .realisation-page .projects-list { padding-left: 0; }
  .realisation-page .projects-list li { margin: .35rem 0; }
}

/* === Fix mobile : bloc "Les avantages de choisir AVA IMAGE" === */
@media (max-width: 768px) {
  /* Le conteneur prend toute la largeur utile, avec un petit padding */
  .realisation-page .row3 {
    padding-left: 16px ;
    padding-right: 16px ;
    margin-left: 0 ;
    margin-right: 0 ;
    width: 100% ;
    box-sizing: border-box ;
  }

  /* La liste redevient une liste "normale" (pas en flex) */
  .realisation-page .row3 .projects-list {
    display: block ;
    padding-left: 1.25rem;     /* si tu veux zéro retrait : mets 0 */
    margin: .5rem 0 0 0 ;
    text-align: left ;
  }

  .realisation-page .row3 .projects-list li {
    margin: .4rem 0;
  }

  /* Neutralise l'ancienne règle qui mettait le <ul> en flex */
  .realisation-page .row3 ul {
    display: block ;
    justify-content: initial ;
    align-items: initial ;
  }
}

/* === Fix mobile : listes et bloc tarifs mieux centrés en pro === */
@media (max-width: 768px) {
  /* évite l’effet “liste compressée/centrée” */
  .realisation-page .row3,
  .realisation-page .row2,
  .realisation-page .row {
    padding-left: 16px ;
    padding-right: 16px ;
    box-sizing: border-box ;
  }

  .realisation-page .projects-list {
    display: block ;
    text-align: left ;
    padding-left: 1.1rem; /* remet un léger retrait */
  }

  .realisation-page .projects-list li {
    margin: .4rem 0;
  }

  /* table: largeur fluide + césure propre */
  .realisation-page .tableau2col {
    width: 100% ;
    max-width: none ;
    overflow-x: auto;
  }
  .realisation-page .tableau2col table {
    width: 100%;
    table-layout: fixed;
  }
  .realisation-page .tableau2col th,
  .realisation-page .tableau2col td {
    overflow-wrap: anywhere;
    word-wrap: break-word;
  }
}

/* Encadré “vente supports” */
.encadre {
  background: #fff;
  border: 1px solid #eee;
  border-left: 4px solid #ff6600;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 14px auto 24px;
  text-align: left;
  max-width: 1000px;
}
.encadre h3 { margin: 12px 0 6px; }
.encadre ul { margin-left: 1.1rem; }
.encadre li { margin: .35rem 0; }

.notice-legal {
  background: #fff7ec;
  border: 1px dashed #ffc48a;
  padding: 10px 12px;
  border-radius: 8px;
}

/* Formulaire précommande */
.preco-form {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 14px 16px;
}
.preco-form input, .preco-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 6px;
}
.preco-form fieldset {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 12px;
}
.preco-form legend { padding: 0 6px; font-weight: 600; }
.preco-form .mini-fine { font-size: .9rem; color: #666; }

/* Petites grilles responsives */
.grid-2, .grid-3 { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 768px){
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .encadre { padding: 14px; }
}

/* FAQ accordéon (page Pro) */
.faq-accordeon { margin: 24px auto; }
.faq-accordeon .faq-item {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  margin-top: .75rem;
  overflow: hidden;
}

.faq-accordeon summary {
  list-style: none;               /* supprime le triangle natif */
  cursor: pointer;
  padding: .85rem 1rem;
  font-weight: 700;
  position: relative;
  outline: none;
}
.faq-accordeon summary::-webkit-details-marker { display: none; }

.faq-accordeon summary::after {
  content: "▸";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform .2s ease;
  opacity: .7;
}
.faq-accordeon details[open] > summary::after {
  transform: translateY(-50%) rotate(90deg);
  opacity: 1;
}

.faq-accordeon .answer {
  padding: .75rem 1rem 1rem 1rem;
  border-top: 1px solid #eee;
  line-height: 1.6;
  text-align: left;
}

/* Mobile confort */
@media (max-width: 768px) {
  .faq-accordeon { padding: 0 12px; }
  .faq-accordeon summary { padding-right: 40px; } /* place pour l’icône */
}

.contact-form { margin-top: 18px; }
.contact-form .grid { display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { display:flex; flex-direction:column; gap:6px; margin:10px 0; text-align:left; }
.contact-form input, .contact-form select, .contact-form textarea {
  padding:10px; border:1px solid #ddd; border-radius:6px; font:inherit; background:#fff;
}
.contact-form .consent { align-items:flex-start; gap:10px; }
.contact-form .consent input { margin-top:3px; }
.contact-form .actions { display:flex; align-items:center; gap:10px; margin-top:8px; }
.contact-form .alt-link { font-size:.95rem; text-decoration:underline; }
@media (max-width:768px){ .contact-form .grid { grid-template-columns:1fr; } }

/* Bloc portrait contact */
.contact .profile {
  max-width: 260px;           /* taille du bloc */
  margin: 16px auto 20px;     /* centré */
  text-align: center;
}

.contact .profile img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;        /* carré arrondi ; mets 50% pour un rond */
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

.contact .profile figcaption {
  font-size: .95rem;
  color: #555;
  margin-top: .5rem;
}

/* Option : version ronde */
.contact .profile.round img { border-radius: 50%; }


/* ---------- Variables & base ---------- */
:root{
  --ava-max: 960px;
  --ava-radius: 14px;
  --ava-soft: 10px;
  --ava-gap: 16px;
  --ava-accent: #F4A021; /* vert/bleu doux AVA */
  --ava-text: #1f2937;
  --ava-muted: #6b7280;
  --ava-bg: #0e7a8315;
}

.project-page{
  color: var(--ava-text);
}

.project-page h1{
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  margin-bottom: 8px;
}

.project-page h2{
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin: 28px 0 12px;
  position: relative;
  display:inline-block;
}
.project-page h2::after{
  content:"";
  display:block;
  height:3px;
  width: 56%;
  background: linear-gradient(90deg, var(--ava-accent), transparent);
  border-radius: 2px;
  margin-top: 6px;
}

/* ---------- Vidéo (encadrement + ratio) ---------- */
.project-video{
  max-width: var(--ava-max);
  border-radius: var(--ava-radius);
  overflow: hidden;
  box-shadow: 0 6px 24px #00000012;
  background: #000;
}
.project-video iframe{
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  display: block;
  border: 0;
}

/* ---------- Liste "À voir dans la vidéo" ---------- */
#a-voir + p { margin-bottom: 10px; }
#a-voir + p + ul{
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
#a-voir + p + ul li{
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: var(--ava-soft);
  background: #fff;
  box-shadow: 0 2px 10px #11111108;
  position: relative;
}
#a-voir + p + ul li::before{
  content: "✓";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ava-accent);
  font-weight: 700;
  opacity: .9;
}
#a-voir + p + ul li strong{
  margin-left: 18px;
  display: inline-block;
}

/* Note météo (canoë) */
#a-voir + p + ul + p{
  background: var(--ava-bg);
  border-left: 4px solid var(--ava-accent);
  padding: 10px 12px;
  border-radius: 8px;
}

/* ---------- Bloc Soutiens en cartes ---------- */
#soutiens + p{ margin-bottom: 12px; }
#soutiens + p + ul{
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
#soutiens + p + ul li{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--ava-soft);
  padding: 12px 14px;
  box-shadow: 0 3px 14px #1111110a;
}

/* ---------- CTA ---------- */
.cta{
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid #eef2f7;
}
.cta .cta-button{
  display: inline-block;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ava-accent);
  color: #fff ;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 20px #0e7a8333;
  transition: transform .15s ease, box-shadow .15s ease, opacity .2s ease;
}
.cta .cta-button:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px #0e7a8340;
  opacity: .96;
}

/* ---------- Barre de liens internes (nouveau bloc) ---------- */
.related-links{
  margin: 28px auto 0;
  max-width: var(--ava-max);
  border: 1px solid #e5e7eb;
  border-radius: var(--ava-radius);
  overflow: hidden;
  box-shadow: 0 6px 24px #0000000d;
}
.related-links__header{
  background: #f3f4f6;
  padding: 10px 14px;
  border-bottom: 1px solid #e5e7eb;
  font-weight: 600;
  color: #111827;
}
.related-links__list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.related-links__list a{
  display: block;
  padding: 12px 14px;
  color: #0f172a;
  text-decoration: none;
  border-bottom: 1px dashed #e5e7eb;
}
.related-links__list a:hover{
  background: #fafafa;
}
.related-links__list a:last-child{
  border-bottom: 0;
}
.related-links__note{
  padding: 10px 14px;
  font-size: .92rem;
  color: var(--ava-muted);
  background: #fafafa;
  border-top: 1px solid #e5e7eb;
}

/* ---------- Responsive ---------- */
@media (min-width: 740px){
  #a-voir + p + ul{
    grid-template-columns: 1fr 1fr;
  }
  #soutiens + p + ul{
    grid-template-columns: 1fr 1fr;
  }
  .related-links__list{
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 980px){
  #soutiens + p + ul{
    grid-template-columns: 1fr 1fr 1fr;
  }
  .related-links__list{
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* ===== Correctif spacing page Projet (Kid Raid) ===== */
.project-page section {
  /* neutralise le 100px global */
  padding: 16px 12px ;
  margin: 16px auto ;
  max-width: 900px;               /* garde ta largeur visuelle */
  line-height: 1.65;
}

/* Section courte “texte technique” (celle qui suit “À voir dans la vidéo”) */
.project-page section.section-compact {
  padding: 10px 12px ;
  margin: 10px auto ;
}

/* Ajuste aussi les titres pour éviter des “marches” verticales */
.project-page h2 {
  margin: 18px 0 8px ;
}

/* Listes plus serrées mais lisibles */
.project-page ul { 
  margin: 8px 0 0 ; 
}
.project-page li { 
  margin: 6px 0 ; 
}

/* Espace standard entre blocs principaux */
#a-voir, #soutiens { scroll-margin-top: 80px; }  /* confort ancre si besoin */




/* Page CHSM : corrige la hauteur de la fenêtre vidéo */
.project-page .project-video::before {
  content: none ;   /* supprime le faux ratio */
  display: none ;
  padding-top: 0 ;
}

.project-page .project-video {
  max-width: var(--ava-max);
  margin: 0 auto;
  border-radius: var(--ava-radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 6px 24px #00000012;
}

.project-page .project-video video {
  aspect-ratio: 16 / 9;   /* ratio propre */
  width: 100%;
  height: auto;
  display: block;
  border: 0;
}

/* === Composant vidéo unique : propre, responsive, 16:9 partout === */
.video-frame,
.project-video,
.video-container,
.header-text-video .video-container,
.video-sample {
  position: relative;
  width: 100%;
  max-width: var(--ava-max, 960px);
  margin: 0 auto;
  background: #000;
  border-radius: var(--ava-radius, 14px);
  overflow: hidden;
  box-shadow: 0 6px 24px #00000012;
}

/* Annule tous les vieux hacks à base de ::before */
.video-frame::before,
.project-video::before,
.video-container::before,
.header-text-video .video-container::before,
.video-sample::before {
  content: none ;
  display: none ;
  padding-top: 0 ;
}

/* L’élément vidéo/iframe pilote le ratio – pas d’absolu, pas de 100% height */
.video-frame > video,
.video-frame > iframe,
.project-video > video,
.project-video > iframe,
.video-container > video,
.video-container > iframe,
.header-text-video .video-container > video,
.header-text-video .video-container > iframe,
.video-sample > iframe,
.video-sample > video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  position: static ;
}

/* Sécurité anti-styles hérités qui forçaient l’absolu/100% */
.video-container iframe,
.video-container video {
  position: static ;
  inset: auto ;
  height: auto ;
}

/* Mosaïques/grilles : le conteneur suffit, pas d’overflow */
.mosaic-grid .video-container,
.video-exemple .video-item .video-container {
  max-width: 100%;
  box-shadow: none;       /* à garder clean en grille */
  border-radius: 0;       /* optionnel */
  background: #000;
}

/* === Composant vidéo : ratio porté par le conteneur === */
.video-frame,
.project-video,
.video-container,
.header-text-video .video-container,
.video-sample {
  position: relative;
  width: 100%;
  max-width: var(--ava-max, 960px);
  margin: 0 auto;
  background: #000;
  border-radius: var(--ava-radius, 14px);
  overflow: hidden;
  box-shadow: 0 6px 24px #00000012;
  aspect-ratio: 16 / 9;          /* <-- le conteneur garde la hauteur */
}

/* Neutralise les anciens hacks */
.video-frame::before,
.project-video::before,
.video-container::before,
.header-text-video .video-container::before,
.video-sample::before { content:none ; display:none ; }

/* L’élément média remplit le conteneur */
.video-frame > video,
.video-frame > iframe,
.project-video > video,
.project-video > iframe,
.video-container > video,
.video-container > iframe,
.header-text-video .video-container > video,
.header-text-video .video-container > iframe,
.video-sample > video,
.video-sample > iframe {
  width: 100%;
  height: 100%;                  /* <-- on remplit le ratio du parent */
  display: block;
  border: 0;
  object-fit: contain;           /* poster 100% visible sans crop */
  position: static ;
}

/* Sécurité anti-styles hérités */
.video-container iframe,
.video-container video { position: static ; inset: auto ; }


.project-page .project-video::before{ content:none ; }
.project-page .project-video video{ position:relative; z-index:1; pointer-events:auto; }



/* Titre centré au-dessus de la grille */
.section-title{
  text-align:center;
  margin: 16px auto 8px;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
}

/* Bloc latéral à gauche (colonne 1) */
.service-aside{
  background:#fff;
  border:1px solid #eee;
  border-radius:16px;
  padding:18px;
  align-self:start;              /* ne s’étire pas en hauteur */
  box-shadow:0 4px 16px #0000000d;
}
.service-aside h3{
  margin:0 0 .5rem 0;
  font-size:1.1rem;
}
.service-aside ul{ 
  margin:.25rem 0 .75rem 1.1rem; 
  text-align:left;
}
.service-aside li{ margin:.25rem 0; }

/* Sur mobile, le bloc passe au-dessus et prend toute la largeur */
@media (max-width: 900px){
  .service-aside{ order:-1; }      /* remonte avant la première carte */
}

/* --- Bloc les 2 photos d'origine --- */
.photos-360{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}
.photos-360 .photo{
  margin: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px #00000010;
}
.photos-360 img{
  width: 100%;
  height: auto;
  display: block;
}
.photos-360 figcaption{
  padding: 10px 12px;
  font-size: .95rem;
  color: #555;
}
@media (max-width: 900px){
  .photos-360{ grid-template-columns: 1fr; }
}

  /* === Grille de vidéos auto-hébergées === */
  .videos-grid{
    max-width:1100px;margin:24px auto;padding:0 10px;
    display:grid;gap:16px;
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  @media (max-width:1200px){ .videos-grid{ grid-template-columns:repeat(2,1fr); } }
  @media (max-width:700px){ .videos-grid{ grid-template-columns:1fr; } }

  .video-card{
    background:#fff;border:1px solid #eee;border-radius:12px;overflow:hidden;
    box-shadow:0 6px 20px #00000010;display:flex;flex-direction:column;
  }
  .video-card .player{ background:#000; aspect-ratio:16/9; }
  .video-card video{
    width:100%; height:100%; display:block; border:0; outline:none;
    background:#000; object-fit:contain;
  }
  .video-card .desc{ padding:12px 14px; text-align:left; }
  .video-card .desc h3{ margin:0 0 .35rem; font-size:1.05rem; }
  .video-card .desc p{ margin:0 0 .5rem; color:#555; }
  .video-card .desc a{ color:#0e7a83; text-decoration:underline; font-weight:600; }
  .video-card .meta{ font-size:.9rem; color:#777; margin-top:.25rem; }

/* ===== Bloc SPECTACLE + SUPPORTS ===== */
.supports { margin: 18px 0; }
.supports .supports-grid{
  display:grid;
  gap:16px;
  grid-template-columns:1fr;
}
@media (min-width: 900px){
  .supports .supports-grid{
    grid-template-columns:1.1fr 1fr;
    align-items:start;
  }
}
.supports .panel{
  background:#fff;
  border:1px solid #eee;
  border-radius:12px;
  padding:14px 16px;
}
.supports .panel.intro{
  grid-column:1 / -1; /* plein largeur en tête */
}
.supports .panel.legal{
  grid-column:1 / -1; /* plein largeur en bas */
  border-left:4px solid #0e7a83;
}
.supports .price-table{
  display:grid;
  gap:8px;
}
.supports .price-table .row{
  display:flex; justify-content:space-between; align-items:center;
  padding:8px 10px; border:1px dashed #e6e6e6; border-radius:8px; background:#fcfcfc;
}
.supports .price-table .row span{ color:#333; }
.supports .price-table .row strong{ color:#ff6600; font-weight:800; }
.supports .price-table .row em{ color:#666; font-style:normal; }
.supports .notice-legal{ font-size:.95rem; color:#444; line-height:1.55; }

/* ==== Correctif mobile : bloc "SPECTACLE + SUPPORTS" trop étroit ==== */
.supports { 
  /* neutralise d'éventuels gros paddings hérités */
  padding: 16px 0 ;
}

.supports .pro-wrap{
  /* pleine largeur en mobile, avec un padding latéral confortable */
  max-width: none ;
  width: 100% ;
  padding: 0 16px ;
  margin: 0 auto ;
}

.supports .supports-grid{
  /* 1 colonne en mobile, espace un peu plus compact */
  grid-template-columns: 1fr ;
  gap: 12px ;
}

.supports .panel{
  /* panneaux un peu plus aérés mais pas étroits */
  padding: 14px 14px ;
}

/* Option "full-bleed" : si tu veux que ce bloc touche vraiment les bords en mobile,
   ajoute la classe .full-bleed sur <section class="supports full-bleed"> */
@media (max-width: 768px){
  .supports.full-bleed{
    margin-left: calc(50% - 50vw) ;
    margin-right: calc(50% - 50vw) ;
    padding-left: 16px ;
    padding-right: 16px ;
    width: 100vw ;
  }
}

/* Petites retouches lisibilité mobile */
@media (max-width: 480px){
  .supports .panel h3{ font-size: 1.05rem; }
  .supports .panel ul{ margin-left: 1.1rem; }
  .supports .price-table .row{ padding: 8px 10px; }
}


/* === Élargir "Exemples vidéo" (section[aria-labelledby="galerie-title"]) === */
/* 1) On neutralise le padding global de section et on passe en full-bleed confortable */
.services-page .section[aria-labelledby="galerie-title"]{
  padding: 16px 0 ;                   /* au lieu de 100px */
  margin-left: calc(50% - 50vw);                /* full-bleed */
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

/* 2) On centre la grille dans la largeur full-bleed, avec une grande zone utile */
.services-page .section[aria-labelledby="galerie-title"] .videos-grid{
  max-width: 1200px;                            /* large et lisible */
  margin: 0 auto;
  padding: 0 16px;                              /* respiration latérale */
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;                   /* mobile : 1 colonne */
}

/* 3) Tablette & desktop : 2 colonnes (plus "large" visuellement que 3 serrées) */
@media (min-width: 900px){
  .services-page .section[aria-labelledby="galerie-title"] .videos-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

/* 4) Cartes vidéo : ratio propre et contenu fluide (au cas où d’autres règles traînent) */
.services-page .section[aria-labelledby="galerie-title"] .video-card{
  background:#fff; border:1px solid #eee; border-radius:12px;
  overflow:hidden; box-shadow:0 6px 20px #00000010; display:flex; flex-direction:column;
}

.services-page .section[aria-labelledby="galerie-title"] .video-card .player{
  background:#000; aspect-ratio:16/9;
}

.services-page .section[aria-labelledby="galerie-title"] .video-card video{
  width:100%; height:100%; display:block; border:0; object-fit:contain;
}

.services-page .section[aria-labelledby="galerie-title"] .video-card .desc{
  padding:12px 14px; text-align:left;
}

/* 5) Sécurité : on s’assure que rien d’autre ne resserre cette section */
.services-page .section[aria-labelledby="galerie-title"] *{
  max-width: 100%;
}

.services-page .section[aria-labelledby="galerie-title"]{
  padding: 24px 0 ;   /* réduit, mais pas bord à bord */
  margin: 0 auto;                /* pas de full-bleed */
  width: 100%;
}

/* Empile le texte puis la vidéo sur 1 colonne */
.hero-captation{
  grid-template-columns: 1fr ;
  gap: 24px;
}

/* Centre le bloc texte */
.hero-text{
  text-align: center;
}

/* Liste lisible en centré : aligner le texte à gauche mais garder le bloc centré */
.hero-text .list{
  display: inline-block;
  text-align: left;
  margin: .6rem 0 0 0; /* enlève la marge gauche prévue pour la version 2 colonnes */
}

/* Optionnel : largeur max agréable pour le texte */
.hero-text p,
.hero-text .list,
.hero-text .cta{ 
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* La vidéo garde le 16/9 propre */
.hero-media iframe{
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  display: block;
  border-radius: 14px; /* pour garder le même style */
}

.hero-media video{
  width:100%;
  aspect-ratio:16/9;
  display:block;
  height:auto;
  border:0;
}

.breadcrumb ol{display:flex;gap:.5rem;flex-wrap:wrap;margin:90px auto 10px;max-width:1100px;padding:0 10px;font-size:.95rem}
.breadcrumb li{list-style:none;display:flex;align-items:center}
.breadcrumb li+li::before{content:"›";opacity:.65;margin:0 .35rem}
.breadcrumb a{text-decoration:underline}
@media (max-width:700px){.breadcrumb{display:none}}

.video-container { aspect-ratio: 16/9; position: relative; }
.video-container iframe, 
.video-container img { width:100%; height:100%; object-fit:cover; display:block; }

.video-container { aspect-ratio: 16/9; position: relative; }
.video-container img, .video-container iframe { width:100%; height:100%; object-fit:cover; display:block; }

.video-preview:focus { outline: 3px solid #0e7a83; outline-offset: 2px; border-radius: 6px; }

/* Garantit 16:9 pour vignettes et iframes, évite les sauts de mise en page */
.video-container { aspect-ratio: 16/9; position: relative; }
.video-container img,
.video-container iframe { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Focus clavier visible sur les vignettes cliquables */
.video-preview:focus { outline: 3px solid #0e7a83; outline-offset: 2px; border-radius: 6px; }

/* ===== Bandes pleine largeur (full-bleed) ===== */
.band {
  /* étire l’arrière-plan sur tout l’écran, quel que soit le conteneur interne */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

/* couleurs par défaut (modifiable) */
.band-approche { 
  background: #006C8F; /* très léger bleu-vert (cohérent avec --ava-accent) */
}
.band-faq { 
  background: #fff5e8;   /* léger orange crème, en écho au #ff6600 */
}

/* respiration verticale + neutralisation du gros padding global */
.band .container {
  padding-top: 36px;
  padding-bottom: 36px;
}
@media (min-width: 769px){
  .band .container { padding-top: 56px; padding-bottom: 56px; }
}

/* Option : garder les cartes FAQ/accordéon lisibles sur fond coloré */
.band-approche .home-accordeon details,
.band-faq .home-faq dl {
  background: transparent;      /* laisse “respirer” le fond */
}


/* Bande couleur pour le bloc "Basés à Vallon-Pont-d’Arc" */
.band-local {
  background: #E5F4F8; /* tu peux changer la couleur si tu veux */
}




/* HERO vidéo : hauteur fluide avec plafond, crop propre */
.video-hero{
  position: relative;
  /* Hauteur entre 420px et 920px selon la taille d’écran */
  height: clamp(420px, 88svh, 920px);
  /* Évite le “saut” sous le header fixe si tu veux que le hero passe sous le header :
     sinon, laisse tel quel et garde ton padding-top sur <main> */
  margin-top: 0;
  overflow: hidden;
  background: #000;
}

/* La vidéo remplit le conteneur et se recadre (zoom) */
.video-hero > video{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;                 /* <-- zoom/crop pour conserver la hauteur */
  object-position: var(--focal, 50% 50%); /* focal point ajustable si besoin */
  /* Astuces compat : */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Calage du texte au-dessus de la vidéo */
.video-hero .hero-text{
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 18px;
  color: #fff;
  z-index: 1;
}

/* Lisibilité du texte (ombre légère) */
.video-hero .hero-text h1,
.video-hero .hero-text h2,
.video-hero .hero-text p{
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.video-hero .hero-text h1{ font-size: clamp(1.8rem, 1.4rem + 2vw, 3rem); line-height: 1.1; margin-bottom: .35rem; }
.video-hero .hero-text h2{ font-size: clamp(1.1rem, .9rem + 1.2vw, 1.6rem); font-weight: 500; opacity: .95; }

.video-hero .btn-gallery{
  display: inline-block; margin-top: 14px; padding: 12px 18px;
  background: #F4A021; color: #fff; text-decoration: none; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(255,102,0,.35);
}

/* Confort mobile (statut-bar iOS) */
@media (max-width: 768px){
  .video-hero{ height: clamp(380px, 86svh, 760px); }
}

/* Respect de l’accessibilité : réduit les animations/vidéos si l’utilisateur préfère */
@media (prefers-reduced-motion: reduce){
  .video-hero > video{ animation: none; }
}


body, html {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* === Bandes pleine largeur : corrige le padding global des <section> === */
.band {
  /* Étire le fond sur toute la largeur de l'écran */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  padding: 0; /* Annule le padding:100px de "section" */
}

/* Bande locale (fond bleu clair) */
.band-local {
  background: #E5F4F8;
}

/* Respiration verticale via le container interne */
.band .container {
  padding-top: 36px;
  padding-bottom: 36px;
}

@media (min-width: 769px) {
  .band .container {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* === CTA spécifique à la page Services : pas de cadre blanc === */
.services-page .cta {
  /* On neutralise le style "bloc blanc" défini plus haut */
  background: transparent;
  border-top: none;
  box-shadow: none;
  margin: 0 auto;
  max-width: 900px;
  padding: 0 10px;
  text-align: center;
}

.services-page .cta p {
  margin: 0;
}
/* Sur la page d'accueil, pas de padding latéral sur <main> */
.homepage main {
  padding-left: 0;
  padding-right: 0;
}
/* Pas de padding latéral sur <main> pour la page Services */
.services-page main {
  padding-left: 0;
  padding-right: 0;
}
/* Bandes pleine largeur (fond sur tout l'écran) */
.band {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  padding: 0; /* annule le padding de section */
}

/* CTA sur la page Galerie : transparent dans les bandes colorées */
.gallery-page .cta {
  background: transparent;
  border-top: none;
  box-shadow: none;
  margin: 0 auto;
  max-width: 900px;
  padding: 0 10px;
  text-align: center;
}


.gallery-page main {
  padding: 60px 0 0 0;  /* on garde le padding-top: 60px pour le header fixe */
}

/* CTA sans cadre blanc sur la page Réalisation */
.realisation-page .cta {
  background: transparent;
  border-top: none;
  box-shadow: none;
  margin: 28px auto;
  max-width: 900px;
  padding: 0 10px;
  text-align: center;
}


/* --- TITRES DES VIGNETTES GALLERIE --- */
/* Par défaut (mobile / tablette) : titre visible sous la vidéo */
.video-title {
  position: static;
  margin-top: 6px;
  padding: 4px 6px 8px;
  background: none;
  color: #111;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  opacity: 1;
  transform: none;
}

/* À partir du desktop : on repasse en titre centré au survol */
@media (min-width: 992px) {
  .video-container {
    position: relative;
  }

  .video-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }

  .video-container:hover .video-title {
    opacity: 1;
  }
}

/* --- TITRES DES VIGNETTES GALERIE --- */
/* Par défaut (mobile / tablette) : titre visible sous la vignette */
.video-title {
  position: static;
  margin-top: 6px;
  padding: 4px 6px 8px;
  background: none;
  color: #111;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  opacity: 1;
  transform: none;
  transition: none;
}

/* À partir du desktop : titre centré sur la vignette au survol */
@media (min-width: 992px) {
  .video-container {
    position: relative;
  }

  .video-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px 12px;
    font-size: 1.1rem;
    font-weight: bold;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }

  .video-container:hover .video-title {
    opacity: 1;
  }
}
/* === Galerie : titres visibles + pas de bandeau noir en mobile/tablette === */
@media (max-width: 991px) {

  /* On cible uniquement la page galerie */
  .gallery-page .video-wrapper {
    margin: 0;
  }

  .gallery-page .video-container {
    position: static;
    aspect-ratio: auto;         /* on supprime le ratio forcé */
    background: transparent;    /* on enlève le fond noir */
    max-width: 100%;
    margin: 0;
  }

  /* On annule les positions absolues qui recouvrent tout */
  .gallery-page .video-preview,
  .gallery-page .video-container iframe {
    position: static;
    width: 100%;
    height: auto;
  }

  .gallery-page .video-preview img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  /* Le titre devient un bloc normal sous la vignette */
  .gallery-page .video-title {
    position: static;
    display: block;
    margin-top: 6px;
    padding: 4px 6px 8px;
    background: none;
    color: #111;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Section liens associés avec fond coloré – page Boutique */
.related-links-colored {
  background-color: #E5F4F8; /* choisis la couleur que tu veux */
  padding: 32px 16px;        /* un peu d'air autour du texte */
}

/* Si le texte semble trop sombre ou trop clair sur ce fond,
   tu peux forcer la couleur du texte ici, par exemple : */
.related-links-colored h2,
.related-links-colored p {
  color: #222; /* à ajuster si besoin */
}

/* Fil d'Ariane global */
.breadcrumb {
  max-width: 1100px;
  margin: 90px auto 10px;   /* ajuste en fonction de la hauteur du header fixe */
  padding: 0 10px;
  font-size: 0.95rem;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "›";
  opacity: .65;
  margin: 0 .35rem;
}

.breadcrumb a {
  text-decoration: underline;
}

.breadcrumb a:hover {
  text-decoration: none;
}

/* Option : masquer le fil d'Ariane sur mobile si tu le souhaites */
@media (max-width: 700px) {
  .breadcrumb {
    display: none;
  }
}
/* Rapprocher le bloc FAQ de "Autres services AVA IMAGE" */

/* On supprime l'espace sous le bloc "Autres services" */
.related-links.related-links-colored {
  margin-bottom: 0 ;
  padding-bottom: 0;
}

/* On enlève l'espace au-dessus du bloc FAQ */
.boutique-faq {
  margin-top: 0 ;
  padding-top: 0;
}

/* On enlève aussi la grosse marge par défaut du H2 */
.boutique-faq h2 {
  margin-top: 0;
}

/* === Fix mobile : section "Captation multi-caméras" trop étroite === */
@media (max-width: 768px) {

  /* On neutralise le padding global de <section> uniquement pour ce bloc */
  section.section[aria-labelledby="multicam-title"]{
    padding: 24px 16px ;   /* au lieu de 100px */
    width: 100%;
    box-sizing: border-box;
  }

  /* L'encadré prend toute la largeur disponible */
  section.section[aria-labelledby="multicam-title"] .encadre{
    max-width: none ;
    width: 100% ;
    margin-left: 0 ;
    margin-right: 0 ;
    box-sizing: border-box;
  }

  /* Optionnel : éviter que le texte colle trop aux bords */
  section.section[aria-labelledby="multicam-title"] .encadre{
    padding: 14px 14px ;
  }
}

/* ========================= */
/* Accès rapide boutique */
/* ========================= */

.boutique-access {
    max-width: 900px;
    margin: 35px auto 45px auto;
    padding: 24px;
    background: #f7f7f7;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.boutique-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.boutique-tab {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    background: #ffffff;
    color: #222;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid #ddd;
    transition: all 0.25s ease;
}

.boutique-tab:hover,
.boutique-tab.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.boutique-dropdown {
    max-width: 520px;
    margin: 0 auto;
    text-align: left;
}

.boutique-dropdown summary {
    cursor: pointer;
    list-style: none;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-weight: 600;
    color: #222;
    position: relative;
}

.boutique-dropdown summary::-webkit-details-marker {
    display: none;
}

.boutique-dropdown summary::after {
    content: "▾";
    position: absolute;
    right: 18px;
    transition: transform 0.25s ease;
}

.boutique-dropdown[open] summary::after {
    transform: rotate(180deg);
}

.boutique-dropdown ul {
    margin: 10px 0 0 0;
    padding: 8px;
    list-style: none;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 12px;
}

.boutique-dropdown li {
    margin: 0;
}

.boutique-dropdown a {
    display: block;
    padding: 11px 14px;
    border-radius: 8px;
    color: #222;
    text-decoration: none;
    font-weight: 500;
}

.boutique-dropdown a:hover {
    background: #f0f0f0;
}

/* Mobile */
@media screen and (max-width: 600px) {
    .boutique-access {
        margin: 25px 15px 35px 15px;
        padding: 18px;
    }

    .boutique-tabs {
        flex-direction: column;
    }

    .boutique-tab {
        width: 100%;
        box-sizing: border-box;
    }

    .boutique-dropdown {
        max-width: 100%;
    }
}

/* =========================================================
   Correctif galerie AVA IMAGE : recherche + mosaïque
   Ce bloc est volontairement placé à la fin pour reprendre la main
   uniquement sur gallery.html sans modifier les autres pages.
   ========================================================= */
.gallery-page .gallery-filter-hidden {
  display: none ;
}

.gallery-page .gallery-mosaic {
  width: 100% ;
  margin: 0 ;
  padding: 0 ;
}

.gallery-page .mosaic-grid {
  display: grid ;
  width: 100% ;
  gap: 0 ;
  grid-template-columns: 1fr ;
}

@media (min-width: 768px) {
  .gallery-page .mosaic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) ;
  }
}

@media (min-width: 992px) {
  .gallery-page .mosaic-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) ;
  }
}

.gallery-page .video-wrapper {
  display: block;
  opacity: 1 ;
  transform: none ;
}

.gallery-page .video-container {
  width: 100% ;
  max-width: none ;
  margin: 0 ;
  padding: 0 ;
  box-shadow: none ;
  border-radius: 0 ;
  background: #000;
}

@media (min-width: 992px) {
  .gallery-page .video-container {
    position: relative ;
    aspect-ratio: 16 / 9 ;
    overflow: hidden ;
  }

  .gallery-page .video-preview,
  .gallery-page .video-container > iframe {
    position: absolute ;
    inset: 0 ;
    width: 100% ;
    height: 100% ;
  }

  .gallery-page .video-preview img {
    width: 100% ;
    height: 100% ;
    object-fit: cover ;
  }

  .gallery-page .video-title {
    position: absolute ;
    top: 50% ;
    left: 50% ;
    transform: translate(-50%, -50%) ;
    margin: 0 ;
    background-color: rgba(0, 0, 0, 0.6) ;
    color: #fff ;
    padding: 10px 12px ;
    font-size: 1.1rem ;
    font-weight: bold ;
    z-index: 10 ;
    opacity: 0 ;
    transition: opacity 0.3s ease-in-out ;
  }

  .gallery-page .video-container:hover .video-title {
    opacity: 1 ;
  }
}

@media (max-width: 991px) {
  .gallery-page .video-container {
    position: static ;
    aspect-ratio: auto ;
    background: transparent ;
    overflow: visible ;
  }

  .gallery-page .video-preview {
    position: relative ;
    width: 100% ;
    aspect-ratio: 16 / 9 ;
    overflow: hidden ;
  }

  .gallery-page .video-preview img {
    position: absolute ;
    inset: 0 ;
    width: 100% ;
    height: 100% ;
    object-fit: cover ;
  }

  .gallery-page .video-container > iframe {
    position: relative ;
    width: 100% ;
    height: auto ;
    aspect-ratio: 16 / 9 ;
    display: block ;
  }

  .gallery-page .video-title {
    position: static ;
    display: block ;
    margin-top: 6px ;
    padding: 4px 6px 8px ;
    background: none ;
    color: #111 ;
    font-size: 0.95rem ;
    font-weight: 600 ;
    text-align: center ;
    opacity: 1 ;
    transform: none ;
    transition: none ;
  }
}


/* =========================================================
   CORRECTIF GALERIE MOBILE — vignettes image cliquables
   ========================================================= */
.gallery-page a.video-preview {
  display: block ;
  text-decoration: none;
}

@media (max-width: 991px) {
  .gallery-page a.video-preview {
    display: block ;
    position: relative ;
    width: 100% ;
    aspect-ratio: 16 / 9 ;
    overflow: hidden ;
  }

  .gallery-page a.video-preview > img {
    position: absolute ;
    inset: 0 ;
    width: 100% ;
    height: 100% ;
    object-fit: cover ;
    display: block ;
  }
}

/* =========================================================
   AVA IMAGE — PALETTE UNIFIÉE SUR GRANDS ÉCRANS
   3 tons neutres + l'orange AVA :
   centre #f4f4f8 / côtés #d2d2d8 / header-footer #4f4f51
   ========================================================= */
@media (min-width: 1500px) {

  body:not(.homepage):not(.gallery-page) {
    min-height: 100vh;
    background:
      linear-gradient(
        to right,
        #d2d2d8 0,
        #d2d2d8 calc(50% - 700px),
        #f4f4f8 calc(50% - 700px),
        #f4f4f8 calc(50% + 700px),
        #d2d2d8 calc(50% + 700px),
        #d2d2d8 100%
      ) fixed;
  }

  body:not(.homepage):not(.gallery-page) header,
  body:not(.homepage):not(.gallery-page) footer {
    background: #4f4f51 ;
  }

  body:not(.homepage):not(.gallery-page) .cta {
    background: transparent ;
    border-top: none ;
    box-shadow: none ;
  }

  body.project-page main,
  body.project-page .project-page {
    background: transparent ;
  }
}

.realisation-page .panel-local {
  max-width: 1100px;
  margin: 28px auto;
  padding: 30px 28px;
  background: #E5F4F8;
  border-radius: 14px;
}

/* =========================================================
   Correctif CTA sombre – page événements professionnels
   ========================================================= */

.pro-contact-band .cta {
  background: transparent ;
  border-top: none ;
  box-shadow: none ;
}

.pro-contact-band .cta p {
  color: #fff ;
}

.pro-contact-band .cta .cta-button {
  color: #fff ;
}

/* =========================================================
   ACCESSIBILITÉ — PAGE D'ACCUEIL AVA IMAGE
   Correctifs de contraste WCAG, limités à .homepage.
   Palette conservée : orange AVA + bleu/vert + gris sombre.
   ========================================================= */

/* Boutons orange : orange plus profond pour garder le blanc lisible */
.homepage .btn-gallery {
  background: #B84A00 ;
  color: #FFFFFF ;
  font-weight: 700;
  transition: background-color .2s ease, transform .2s ease;
}

.homepage .btn-gallery:hover {
  background: #963C00 ;
}

.homepage .btn-gallery:focus-visible {
  outline: 3px solid #E5F4F8;
  outline-offset: 3px;
}

/* Bande "Comment se passe un projet ?" :
   on conserve le bleu AVA #006C8F, avec texte blanc contrasté */
.homepage .home-accordeon.band-approche,
.homepage .home-accordeon.band-approche h2,
.homepage .home-accordeon.band-approche summary,
.homepage .home-accordeon.band-approche p {
  color: #FFFFFF ;
}

.homepage .home-accordeon.band-approche details {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .55);
}

.homepage .home-accordeon.band-approche summary:focus-visible {
  outline: 3px solid #E5F4F8;
  outline-offset: 3px;
  border-radius: .35rem;
}

/* Liens du footer : bleu très clair AVA sur fond sombre */
.homepage footer .footer-content > p a {
  color: #E5F4F8 ;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.homepage footer .footer-content > p a:hover {
  color: #F4A021 ;
}

.homepage footer a:focus-visible {
  outline: 3px solid #F4A021;
  outline-offset: 3px;
  border-radius: 3px;
}

/* =========================================================
   CORRECTIF GALERIE — ACCESSIBILITÉ + PLAY ICON
   Limité à .gallery-page pour ne pas modifier les autres pages.
   ========================================================= */

/* Boutons : contraste WCAG renforcé, cohérent avec l'accueil */
.gallery-page .cta-button {
  background: #B84A00 ;
  color: #FFFFFF ;
  font-weight: 700;
}

.gallery-page .cta-button:hover {
  background: #963C00 ;
}

.gallery-page .cta-button:focus-visible {
  outline: 3px solid #E5F4F8;
  outline-offset: 3px;
}

/* Liens du footer : contraste suffisant sur fond sombre */
.gallery-page footer .footer-content > p a {
  color: #E5F4F8 ;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gallery-page footer .footer-content > p a:hover {
  color: #F4A021 ;
}

.gallery-page footer a:focus-visible {
  outline: 3px solid #F4A021;
  outline-offset: 3px;
  border-radius: 3px;
}

/* Icône de lecture créée en CSS :
   neutralise play-icon.png et supprime la requête 404 */
.gallery-page .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, .58) ;
  background-image: none ;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.gallery-page .play-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid #FFFFFF;
}

/* =========================================================
   ACCESSIBILITÉ — PAGE CONTACT
   ========================================================= */

.contact-page footer .footer-content > p a {
  color: #E5F4F8 ;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-page footer .footer-content > p a:hover {
  color: #F4A021 ;
}

.contact-page footer .footer-content > p a:focus-visible {
  outline: 3px solid #F4A021;
  outline-offset: 3px;
  border-radius: 3px;
}

footer a {
    color: #8fd3d8;
}

footer a:hover,
footer a:focus {
    color: #ffffff;
}




/* ===============================
   ACCESSIBILITÉ PAGES PROJETS
   =============================== */


/* Liens dans les contenus projet */
.project-page a {
    color: #006D77;
    text-decoration-thickness: 2px;
}

.project-page a:hover {
    color: #004E54;
}


/* Boutons CTA */
.cta-button {
    background-color: #0B7D7E ;
    color: #FFFFFF ;
    font-weight:700;
}

.cta-button:hover {
    background-color:#07585A ;
}


/* Focus clavier */
a:focus-visible,
button:focus-visible {
    outline:3px solid #FFB000;
    outline-offset:3px;
}


/* Texte secondaire trop gris */
.project-page p {
    color:#3F4650;
}


/* Titres */
.project-page h1,
.project-page h2,
.project-page h3 {
    color:#20252B;
}
}
