* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
body {
    background-color: #f4f4f4;
    color: #333;
}
header {
    background-color: #071A33;
    color: white;
    padding-top: 20px;
    text-align: center;
    border-top-left-radius: 2px;
}

header h1 {
    margin-bottom: 10px;
    color: #ECEBEB;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    color: deepskyblue;
    text-decoration: none;
    font-weight: bold;
}

li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}
li a:hover {
    color: darkblue;
    text-decoration: none;
    font-weight: bold;
}

section {
    /*  dding-top: 1px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 1px;
 margin-bottom: 0px;
   */ text-align: center;
    width: 100%;
}







h1 {
    text-align: center;
	font-size: 20px;
  
}


h3 {
    text-align: center;
	font-size: 20px;
  
}


h2 {
    text-align: center;
    font-size: 2rem;
}

.video-container {
    text-align: center;
	  border-radius: 10px;
}

.prestations {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.prestation {
    background-color: #fff;
    padding-top: 25px;
    padding-right: 25px;
    padding-left: 25px;
    padding-bottom: 25px;
    margin-top: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    width: 450px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-right: 10px;
    text-align: center;
    float: right;
}

.prestation h3 {
    color: #333;
    margin-bottom: 10px;
}

.gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.gallery img {
    width: 250px;
    object-fit: cover;
    border-radius: 8px;
}
.gallery img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}



form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 5px;
}

form input, form textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 15px;
    background-color: #f36f6f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:hover {
    background-color: #e25c5c;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 30px;
}
.ctaButton{
    border-radius: 0.7em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    display: inline-block;
    font-family: Baskerville, 'Palatino Linotype', Palatino, 'Century Schoolbook L', 'Times New Roman', serif;
    font-weight: bold;
    margin-top: 12px;
    padding-top: 0px;
    padding-right: 0px;
    padding-left: 0px;
    padding-bottom: 0px;
    text-decoration: none;
    text-transform: uppercase;
}
.orange{
	background-color: #F0E6E6;
	background-repeat: repeat;
	background-position: center top , #FFCC80, #FFB580) repeat scroll 0 0 transparent;
	background-attachment: scroll;
	color: #1D279E;
	width: 240px;
	font-size: 8px;
	font-weight: bold;
	font-style: italic;
	border-top: medium solid #EDECE6;
	border-bottom: medium inset #ADA586;
	border-right: medium inset #0F0F0F;
	border-left: medium solid #5D91B3;
	height: 100;
	margin-left: px;
	margin-right: 5px;
}
.orange:hover{
    background-color: #57596A;
    background-repeat: repeat;
    background-position: center top , #FFB580, #FFCC80) repeat scroll 0 0 transparent;
    background-attachment: scroll;
    font-size: medium;
    font-family: Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", serif;
    color: #123FEB;
    width: 230px;
    height: 150px
}
.vert{
	background-color: #F0E6E6;
	background-repeat: repeat;
	background-position: center top , #FFCC80, #FFB580) repeat scroll 0 0 transparent;
	background-attachment: scroll;
	color: #1D279E;
	width: 200px;
	font-size: 8px;
	font-weight: bold;
	font-style: italic;
	border-top: medium solid #EDECE6;
	border-bottom: medium inset #ADA586;
	border-right: medium inset #0F0F0F;
	border-left: medium solid #5D91B3;
	height: 100
		;
	margin-left: px;
	margin-right: 5px;
}
.vert:hover{
    background-color: #57596A;
    background-repeat: repeat;
    background-position: center top , #FFB580, #FFCC80) repeat scroll 0 0 transparent;
    background-attachment: scroll;
    font-size: medium;
    font-family: Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", serif;
    color: #123FEB;
    width: 170px;
    height: 100px
}
r{
	font-size: 14px;
	top: 0px;
	margin-top: 50px;
	text-align: center;
	color: #4D4A4C;
	font-style: normal;
	font-weight: bold;
}
.png{
    color: #050505;
    text-align: left;
	}
.filters{
		clear: both;
	width: 100%;
	margin: auto auto;
}
.filters .filter{
	float: left;
	clear: both;
	width: 100%;
	padding-top: 5px;
	padding-right: 5px;
	padding-left: 5px;
	padding-bottom: 5px;
	margin-bottom: 0px;
    border-radius: 5px;
	border: 1 px solid #AAAAAA
}
.filters .filter a{
	float: hidden;
	display: inline-block;
	padding: 5px;
	margin-left: 5px;
	font-size: 14px;
	text-transform: uppercase;
	outline: none;
color:text-align:center;															background: #FFFFFF;
	border-radius: 7px;
	margin-top: 5px;
	margin-bottom: 5px;
	margin-right: 3px;
	color: #7B7777;
	-webkit-box-shadow: 0px 0px 50px #D815D1;
	box-shadow: 0px 0px 50px #D815D1;
}
.filters .filter a:hover{
	color: #FFFFFF;
	background: #000000;
	margin-bottom: 6px;
	padding-left: 5px;
	padding-top: 5px;
	padding-right: 6px;
	padding-bottom: 6px;
	margin-top: 5px;
	margin-right: 5px;
	margin-left: 5px;
	-webkit-box-shadow: 0px 0px;
	box-shadow: 0px 0px;
}
.filters .filter .active{background:#eee;color:#111;}
.filters .container{
	vertical-align: middle; /* On aligne les éléments au milieu */
	display: inline-block;/* On le remplace au float:left; */
	clear: both;
	width: 100%;
	position: relative;
	margin-left: 0px;
	left: 5px;
}
.filters .container ul,
.filters .container ul li{
	display:block;
list-style:none;
padding:0;

}
.filters .container ul li{
	float: left;
	font-size: 0;
	line-height: 0;
	border-radius: 0px;

}
.filters .container a{
    display: block;
    width: 145px;
    height: 140px;
    text-align: center;
    font-size: 14px;
    border-radius: 7px;
    padding-left: 0px;
    padding-right: 5px;
    color: rgba(243,240,240,1.00);
}



/* ==================================
   SONO CONCEPT PLUS - DESIGN MODERNE
   ================================== */

:root {
    --fond: #151515;
    --fond-carte: #222222;
    --rouge: #c52b32;
    --texte: #f5f5f5;
    --texte-doux: #cccccc;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    margin: 0;
    padding: 0;
    color: var(--texte);
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

img,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #ff666b;
}

/* En-tête et menu */

#menu > header {
    padding-bottom: 24px;
    text-align: center;
    background-color: #071A33;
    border-bottom: 3px solid var(--rouge);
    border-top-left-radius: px;
}

#menu header h1 {
    max-width: 1000px;
    margin: 10px auto 20px;
    color: #ffffff;
    font-size: clamp(22px, 4vw, 36px);
    line-height: 1.4;
}

#menu nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

#menu nav li a {
    display: block;
    padding: 9px 16px;
    background: #303030;
    border: 1px solid #484848;
    border-radius: 25px;
    color: #ffffff;
    font-size: 14px;
    transition: background 0.2s ease;
}

#menu nav li a:hover {
    background: var(--rouge);
    border-color: var(--rouge);
}

/* Sections principales */

.section {
    width: min(1100px, calc(100% - 32px));
    margin: 35px auto;
    padding: 28px;
    box-sizing: border-box;
    background-color: #071A33;
    border: 1px solid #353535;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    scroll-margin-top: 20px;
}

.section h2 {
    margin: 0 0 25px;
    padding-bottom: 12px;
    color: #ffffff;
    font-size: clamp(23px, 3vw, 32px);
    line-height: 1.35;
    border-bottom: 2px solid var(--rouge);
}

.section h3 {
    color: #ffffff;
    font-size: 19px;
    line-height: 1.45;
}

.section p {
    color: var(--texte-doux);
}

/* Cartes des prestations */

.prestations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.prestation {
    min-width: 0;
    padding: 20px;
    background: var(--fond-carte);
    border: 1px solid #3b3b3b;
    border-radius: 12px;
    overflow-wrap: anywhere;
    transition: transform 0.2s ease,
                border-color 0.2s ease;
}

.prestation:hover {
    transform: translateY(-3px);
    border-color: var(--rouge);
}

.prestation h3 {
    margin-top: 0;
}

.prestation img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 260px;
    object-fit: cover;
    border-radius: 8px;
}

/* Vidéos et témoignages */

.video-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    margin: 20px auto;
}

.video-container iframe {
    width: min(100%, 360px);
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    border-radius: 10px;
}

.video-container > img {
    width: min(100%, 360px);
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

/* Vignettes vidéo existantes */

.ctaButton {
    display: inline-block;
    max-width: 100%;
    margin: 8px 0;
    cursor: pointer;
}

.ctaButton img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Liens de retour au menu */

.retour-menu {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto 25px;
    text-align: right;
}

.retour-menu a {
    display: inline-block;
    padding: 7px 13px;
    color: #ffffff;
    background: #303030;
    border-radius: 20px;
    font-size: 13px;
}

.retour-menu a:hover {
    background: var(--rouge);
}

/* Contact */

#contact {
    text-align: center;
    border: 2px solid var(--rouge);
}

#contact h2 {
    border: 0;
}

#contact h2 a {
    display: inline-block;
    padding: 12px 25px;
    background: var(--rouge);
    border-radius: 30px;
    color: #ffffff;
    cursor: pointer;
}

#contact h2 a:hover {
    background: #a91e25;
}

/* Pied de page */

footer {
    padding: 25px 15px;
    background: #0d0d0d;
    border-top: 1px solid #383838;
    text-align: center;
}

footer p {
    margin: 0;
    color: #bdbdbd;
    font-size: 13px;
}

/* Tablettes */

@media (max-width: 900px) {
    .prestations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section {
        padding: 22px;
    }
}

/* Téléphones */

@media (max-width: 600px) {
    body {
        font-size: 15px;
        line-height: 1.65;
    }

    #menu > header {
        padding: 16px 10px;
    }

    #menu header h1 {
        font-size: 21px;
    }

    #menu nav ul {
        gap: 7px;
    }

    #menu nav li a {
        padding: 8px 11px;
        font-size: 13px;
    }

    .section {
        width: calc(100% - 20px);
        margin: 20px auto;
        padding: 17px;
        border-radius: 12px;
    }

    .section h2 {
        font-size: 24px;
    }

    .prestations {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .prestation {
        padding: 16px;
    }

    .prestation h3 {
        font-size: 18px;
    }

    .video-container {
        gap: 14px;
    }

    .video-container iframe,
    .video-container > img {
        width: 100%;
        max-width: 100%;
    }

    .retour-menu {
        width: calc(100% - 20px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        transform: none !important;
    }
}


/* Galerie vidéo Sono Concept Plus */

.galerie-videos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 0;
    margin: 25px 0;
    list-style: none;
}

.evenement {
    min-width: 0;
    margin: 0;
    padding: 12px;
    overflow: hidden;
    background: #222222;
    border: 1px solid #393939;
    border-radius: 14px;
    transition: transform 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease;
}

.evenement:hover {
    transform: translateY(-4px);
    border-color: #c52b32;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.video-thumbnail {
    display: block;
    color: #ffffff;
    text-decoration: none;
}

.video-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111111;
    border-radius: 9px;
}

.video-image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.video-thumbnail:hover .video-image > img {
    transform: scale(1.06);
}

/* Bouton lecture centré */

.video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    color: #ffffff;
    background: rgba(197, 43, 50, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    font-size: 22px;
    transform: translate(-50%, -50%);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.35);
    transition: background 0.2s ease;
}

.video-thumbnail:hover .video-play {
    background: #e33139;
}

/* Titre sous la vignette */

.video-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 13px 3px 3px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.video-title img {
    width: 20px;
    height: 15px;
    object-fit: contain;
    flex-shrink: 0;
}

.video-thumbnail:focus-visible {
    outline: 3px solid #ff6268;
    outline-offset: 4px;
    border-radius: 8px;
}

/* Tablette */

@media (max-width: 850px) {
    .galerie-videos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

/* Téléphone */

@media (max-width: 520px) {
    .galerie-videos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .evenement {
        padding: 7px;
        border-radius: 10px;
    }

    .video-play {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .video-title {
        padding-top: 9px;
        font-size: 12px;
    }

    .video-title img {
        width: 17px;
        height: auto;
    }
}

@media (max-width: 340px) {
    .galerie-videos {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Lecteur vidéo intégré */

.video-image.is-playing {
    aspect-ratio: 16 / 9;
}

.video-image iframe {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    border: 0;
    border-radius: 9px;
}

.video-image {
    position: relative;
}

*/





/* Adaptation de la vidéo à l'encadré */
.prestation,
.prestation * {
    box-sizing: border-box;
}

.prestation {
    min-width: 0;
    max-width: 100%;
}

.prestation .video-thumbnail {
    display: block;
    width: 100%;
    min-width: 0;
}

.prestation .video-image {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.prestation .video-image img,
.prestation .video-image iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    margin: 0;
    border: 0;
}

.prestation .video-image img {
    object-fit: cover;
}

.prestation .video-image iframe {
    object-fit: contain;
}

.prestation .video-title {
    width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Effet de survol de l'encadré */
.prestation:hover {
    z-index: 2;
}

.prestation:hover .video-image {
    width: 100%;
}



/* Section Avis et Témoignages */
#avis .video-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    margin: 25px auto;
}

#avis .avis-video,
#avis .avis-logo {
    position: relative;
    min-width: 0;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #222;
    border: 1px solid #393939;
    border-radius: 12px;
    box-sizing: border-box;
    transition: border-color 0.25s ease,
                box-shadow 0.25s ease,
                transform 0.25s ease;
}

#avis .avis-video iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

#avis .avis-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

#avis .avis-logo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

#avis .avis-video:hover,
#avis .avis-logo:hover {
    border-color: #c52b32;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

#avis p {
    line-height: 1.7;
}

@media (max-width: 700px) {
    #avis .video-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    #avis .avis-video,
    #avis .avis-logo {
        width: 100%;
    }

    #avis .avis-logo {
        aspect-ratio: 16 / 9;
    }
}




/* CORRECTION FINALE - VIDÉOS SUR MOBILE */

/* Empêche les éléments de déborder */
#avis,
#avis .video-container,
#avis .avis-video,
#avis .avis-logo {
    min-width: 0;
    max-width: 100%;
    box-sizing: inherit;
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
}

/* Affichage des vidéos et du logo */
#avis .video-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}

#avis .avis-video,
#avis .avis-logo {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
}

#avis .avis-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    border: 0;
    border-radius: 0;
}

#avis .avis-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Téléphone : une grande vidéo par ligne */
@media (max-width: 600px) {
    #avis {
        width: calc(100% - 20px);
        padding: 12px;
    }

    #avis .video-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        width: 100%;
    }

    #avis .avis-video,
    #avis .avis-logo {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    #avis .avis-video iframe {
        width: 100%;
        height: 100%;
    }
}



/* Vidéo adaptée à la carte de prestation */
.prestation {
    min-width: 0;
    max-width: 100%;
}

.prestation .video-thumbnail {
    display: block;
    width: 100%;
    max-width: 100%;
}

.prestation .video-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
}

.prestation .video-image > img,
.prestation .video-image > iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    border: 0;
}

.prestation .video-image > img {
    object-fit: cover;
}

.prestation .video-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.prestation .video-title img {
    width: 20px;
    height: auto;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .prestations {
        grid-template-columns: minmax(0, 1fr);
    }

    .prestation {
        width: 100%;
        margin: 0;
        padding: 14px;
        float: none;
    }

    .prestation .video-image {
        width: 100%;
        aspect-ratio: 16 / 9;
    }
}




/* AGRANDIR LA SECTION DJ / ANIMATEUR */

#animateur {
    width: min(1400px, calc(100% - 30px));
    max-width: 1600px;
    margin: 30px auto;
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
}

/* Disposition des trois prestations */
#animateur .prestations {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

/* Cartes de prestations */
#animateur .prestation {
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

/* Vignettes vidéo */
#animateur .video-thumbnail {
    display: block;
    width: 100%;
    max-width: 100%;
}

#animateur .video-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 10px;
}

#animateur .video-image > img,
#animateur .video-image > iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

#animateur .video-image > img {
    object-fit: cover;
}

/* Tablettes */
@media (max-width: 900px) {
    #animateur {
        padding: 20px;
    }

    #animateur .prestations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

/* Téléphones */
@media (max-width: 600px) {
    #animateur {
        width: calc(100% - 20px);
        padding: 15px;
        margin: 20px auto;
    }

    #animateur .prestations {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    #animateur .prestation {
        padding: 15px;
    }
}




/* CORRECTION : SECTIONS PLEINE LARGEUR SUR ORDINATEUR */

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

.section {
    width: calc(100% - 30px) !important;
    max-width: none !important;
    margin: 30px auto !important;
    box-sizing: border-box !important;
}

/* Section DJ / Animateur */
#animateur {
    width: calc(100% - 30px) !important;
    max-width: none !important;
    margin: 30px auto !important;
    box-sizing: border-box !important;
}

/* Cartes réparties sur toute la largeur disponible */
.prestations {
    width: 100%;
    box-sizing: border-box;
}

/* Galerie vidéo */
.galerie-videos {
    width: 100%;
    box-sizing: border-box;
}

/* Section Avis et témoignages */
#avis {
    width: calc(100% - 30px);
    max-width: none;
    margin: 30px auto;
    box-sizing: border-box;
}

/* Sur ordinateur : trois colonnes équilibrées */
@media (min-width: 901px) {
    .prestations {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .galerie-videos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}




/* ==========================================
   CORRECTION GRAND ÉCRAN UNIQUEMENT
   ========================================== */

@media screen and (min-width: 1200px) {

    /* Contenu des sections */
    .section {
        padding: 20px !important;
    }

    /* Cartes de prestations */
    .prestations {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .prestation {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 14px !important;
        float: none !important;
        box-sizing: border-box !important;
    }

    /* Vidéos des prestations */
    .prestation .video-image {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        aspect-ratio: 16 / 9 !important;
    }

    /* Galerie des vidéos */
    .galerie-videos {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 16px !important;
        max-width: 1200px !important;
        margin: 25px auto !important;
    }

    /* Avis et témoignages */
    #avis .video-container {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 16px !important;
        max-width: 1100px !important;
        margin: 20px auto !important;
    }

    #avis .avis-video,
    #avis .avis-logo {
        width: 100% !important;
        max-width: 340px !important;
        justify-self: center !important;
    }

    /* Titres des vidéos */
    .video-title {
        font-size: 13px !important;
    }
}



/* Réduire les images JPG, JPEG et WebP sur ordinateur */
@media screen and (min-width: 1200px) {

    /* Images dans les prestations */
    .prestation img[src$=".jpg"],
    .prestation img[src$=".jpeg"],
    .prestation img[src$=".JPG"],
    .prestation img[src$=".JPEG"],
    .prestation img[src$=".webp"],
    .prestation img[src$=".WEBP"] {
        width: 75% !important;
        max-width: 280px !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }

    /* Images dans les avis et témoignages */
    #avis img[src$=".jpg"],
    #avis img[src$=".jpeg"],
    #avis img[src$=".JPG"],
    #avis img[src$=".JPEG"],
    #avis img[src$=".webp"],
    #avis img[src$=".WEBP"] {
        width: 75% !important;
        max-width: 280px !important;
        height: auto !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }
}
