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

h2{
    font-weight: normal;
}

 
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* couleur POINTE (saumon clair): (219-96-85) - #da6055 */
/*couleur POINT E (saumon plus clair): rgb(237, 133, 123) */
/* couleur GRIS/BLEU: (102, 106, 134)*/
/* test couleur turquoise: #2a96a4 (42, 150, 164) */
/*couleur POINT E: vert (76 127 125) / corail (218 96 85)

/* Police du site*/
@font-face {
    font-family: "CenturyGothic";
    /* On sort du dossier /css/ avec ../ pour aller dans /FONT/ */
    src: url("../FONT/CenturyGothic.ttf") format("Opentype");
    font-weight: normal;
    font-style: normal;
}

/* Police des boutons-leger*/
@font-face {
    font-family: "Agency-FB";
    /* On sort du dossier /css/ avec ../ pour aller dans /FONT/ */
    src: url("../FONT/CenturyGothic-Bold.ttf") format("Opentype");
    font-weight: normal;
    font-style: normal;
}

/* Police des Titres manuscrits*/
@font-face {
    font-family: "Satisfy";
    /* On sort du dossier /css/ avec ../ pour aller dans /FONT/ */
    src: url("../FONT/Satisfy.ttf") format("Opentype");
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: CenturyGothic;
    color: #222;
    background:  white;
    line-height: 1.5;
}

/* Header */

.containerheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height:60px;
}

.site-header {
    display: flex;
    justify-content: space-evenly;
    background: white;
    color: rgb(76 127 125);
    width: 100%;
    position: fixed;
    z-index: 999;
    /* AJOUTÉ - pour que le header reste au-dessus */
    top: 0;
    /* AJOUTÉ */
}

.logo img {
    width: 250px;
    height: 60px;
    margin: 20px;
}

.iconetel{
    display: flex;
    align-items: center;
    font-size:1.2rem;
    font-weight: bold;
}

.iconetel img{
    width: 15px;
    rotate: -15deg;
}

.iconetel a{
    padding: 5px;
    margin:15px;
    font-weight: 900;
    width: 140px;
    text-align: center;
}

.site-header a {
    color: rgb(76 127 125 );
    text-decoration: none;
    font-family: "CenturyGothic";
    margin: 5px 10px;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    color:rgb(76 127 125 );
    gap: 10px;
}

/* Menus déroulants */
.dropdown {
    position: relative;
    height: 80px;
    /* AJOUTÉ - même hauteur que le header */
    display: flex;
    align-items: center;
}

.dropdown .dropbtn {
    color: rgb(76 127 125 );
    text-decoration: none;
    font-family: "CenturyGothic";
    margin: 5px 10px;
    cursor: pointer;
    transition: color 0.3s ease;
    display: block;
}

.dropdown .dropbtn:hover {
    color: rgb(76 127 125 );
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 280px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    /* MODIFIÉ - supérieur au header */
    border-radius: 0 0 10px 10px;
    top: 80px;
    /* MODIFIÉ - positionné juste sous le header */
    left: 0;
    padding: 10px 0;
}

.dropdown-content a {
    color: rgb(76 127 125 );
    padding: 14px 20px;
    text-decoration: none;
    display: block;
    font-family: "CenturyGothic";
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgb(76 127 125);
}

.dropdown-content a:last-child {
    border-bottom: none;
    border-radius: 0 0 10px 10px;

}

.dropdown-content a:hover {
    background-color: rgb(76,127,125,0.15 );
    padding-left: 30px;
    font-weight: 900;
    color: rgb(76 127 125 );
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Animation d'apparition du menu */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown:hover .dropdown-content {
    animation: fadeIn 0.3s ease;
}

/* Hero */
.container {
        background-color: white;
    background:url('../images/fond-accueil-inverter.webp');
    display: block;
    align-items: center;
    text-align: center;
    text-decoration: none;
    font-family: "CenturyGothic";
}

.container h3{
    font-size: 1.5rem;
    font-weight:100;
    color:#ffffff;

}

.hero-accueil {
display: flex;
justify-content:center;
gap: 20px;
margin-bottom: 30px;
}

.hero h1{
    margin-bottom: 25px;
}

.container-mentions {
    background-color: white;
    background:url('../images/fond-accueil-inverter.webp');
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 100px;
    font-family: "CenturyGothic";
    margin: 20px;
}

.container-Showroom {
   background:
    linear-gradient(rgba(76, 127, 125, 0.65), rgba(76, 127, 125, 0.65)),
    url('../images/fond-accueil.webp');
    display: block;
    align-items: center;
    text-align: center;
    font-family: "CenturyGothic";
}

    .hero-showroom h1{
    position: relative;
    font-size: 4rem;
    background-color: rgb(255, 255, 255,0.6);
    color: rgb(47, 81, 79);
    border-radius: 20px;
    padding:5px;
    margin-top: 70px;
    margin-bottom: -25px;
    rotate: -5deg;
}


.container-Showroom img {
    border: 2px solid #ffffff;
    border-radius: 15px;
    border:2px solid white;
    padding: 5px;
    margin:20px;
    gap:20px;
}

.container-Showroom h2{
color:white;
font-size: 1.8rem;
font-weight: 300;
padding-left: 150px;
padding-right: 150px;
justify-content: center;
}

.container-Showroom h3{
color:white;
font-size: 1.1rem;
font-weight: 100;
justify-content: center;
max-width: 800px;
}

.container-Showroom h4{
color:white;
font-style: oblique;
font-size: 1.4rem;
font-weight: 200;
justify-content: center;
max-width: 900px;
padding:20px;
border-left: 2px solid #ffffff;
border-right: 2px solid #ffffff;
}


.container-Showroom p {
    color:rgba(76 127 125);
    background-color:rgba(255, 255, 255, 0.6);
    font-size: 5rem;
    font-weight: 900;
    border-top-left-radius: 60px;
    border-bottom-right-radius: 60px;
    padding:10px;
    margin:40px;
    rotate: -5deg;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.60);
}


/* Buttons */
.btn {
    background: rgb(218,96,85);
    color: #fff;
    border-radius: 10px;
    width: 100%;
    /* Largeur totale par défaut (mobile) */
    margin-top:10px;
    max-width: 230px;
    /* Mais ne dépasse pas 280px sur ordi */
    height: auto;
    text-decoration: none;
    text-align: center;
    font-family: "CenturyGothic";
    font-size: 20px;
    display: inline-block;
    border: none;
    /* Pour éviter les bordures par défaut des navigateurs */
    cursor: pointer;
    transition: all 0.3s ease;
    /* Transition plus rapide pour plus de réactivité */

    /* 🎯 L'ASTUCE POUR CENTRER DANS UN GRID */
    justify-self: center;

}

.btn:hover {
    background: rgb(76 127 125);

}


.btn-hero {
    display: flex;
    background: rgb(218,96,85);
    color: white;
    width: 130px;
    height: 30px;
    border-radius: 40px;
    border: 1px solid white;
    font-family: "CenturyGothic";
    text-decoration: none;
    justify-content: center;
    align-items: center;
    font-size: 15px;
}


.btn-hero:hover {
    background: rgb(76 127 125);
    width: 130px;
    height: 30px;
    color: white;
    border: 1px solid white;
    font-family: "centurygothic";
    font-size: 15px;
}

.btn-hero2 {
    display: flex;
    background: rgb(255, 255, 255, 0.3);
    color:white;
    width: 130px;
    height: 30px;
    border: 1px solid white;
    border-radius: 40px;
    font-family: "CenturyGothic";
    text-decoration: none;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
}
.btn-hero2:hover {
    background: rgb(76 127 125);
    width: 130px;
    height: 30px;
    color: white;
    border: 1px solid white;
    font-family: "centurygothic";
    font-size: 15px;
    font-weight: 600;
}

.btn-hero3 {
    display: flex;
    background: rgb(218,96,85,0.5);
    color: rgb(218,96,85);
    width: 130px;
    height: 30px;
    border: 1px solid white;
    border-radius: 40px;
    font-family: "CenturyGothic";
    text-decoration: none;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
}
.btn-hero3:hover {
    background: rgb(76 127 125);
    width: 130px;
    height: 30px;
    color: white;
     border: 1px solid white;
    font-family: "centurygothic";
    font-size: 15px;
    font-weight: 600;
}


.hero {
    background:linear-gradient(rgba(76, 127, 125, 0.75), rgba(76, 127, 125, 0.75)),url('../images/fond-accueil.webp') center center / cover no-repeat;
    display: flex; /* Ajouté pour mieux centrer */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Remplace height: 100% pour laisser le texte respirer */
    color:#e9786e;
    text-align: center;
    padding: 5px 10px 20px; /* Espace pour le header fixe en haut */
}
.hero img{
    width: auto;
    height: 100px;
    margin:3px;
    border: 2px solid white;
    border-radius: 10px;
}

/*blog*/

.hero-blog {
    display: flexbox;
    background:linear-gradient(rgba(76, 127, 125, 0.75), rgba(76, 127, 125, 0.75)),url('../images/fond-accueil.webp');
    flex-direction: row;
    text-align: center;
    border-bottom: 4px solid white;
}

.containerblog{
    margin: 20px;
    padding: 100px;
}


.hero-blog article{
    background-color: rgba(255, 255, 255, 0.25);
    padding: 20px;
    justify-items: center;
    border: 2px solid white;
    border-radius: 20px;
}

.hero-blog article img{
    width: 200px;
    height: auto;
    margin: 20px;
    object-fit:cover;
    object-position: center;
    border-radius: 15px 15px;
}

.hero-blog h1{
    background-color:rgb(255, 255, 255);
    color: rgba(102, 106, 134);
    font-size: 3rem;
    margin-top: 60px;
}

.hero-blog h2{
    color: white;
}


/*blog fin*/


.showroom {
    display: flex; /* Ajouté pour mieux centrer */
    flex-direction: column;
    align-items: center;
    padding: 5px 10px 20px; /* Espace pour le header fixe en haut */
}


.hero-produits{
            background:
        linear-gradient(rgba(76, 127, 125, 0.75), rgba(76, 127, 125, 0.75)),
        url('../images/fond-accueil.webp') center center / cover no-repeat;
    display: flex; /* Ajouté pour mieux centrer */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    padding: 120px 10px 20px;
/* Espace pour le header fixe en haut */
}


.hero-produits h1{
    font-size: clamp(1rem, 5vw + 1rem, 3rem);
    line-height: 1.2;
    padding-top: 5px;
    padding-bottom: 20px;
    display: block;
    height: auto ;
}

.hero h1 {
    font-size: clamp(1rem, 5vw + 1rem, 3rem);
    color: white;
    font-weight: 200;
    line-height: 1.2;
    padding-top: 120px;
    display: block;
    height: auto;
}
.hero h2 {
    font-size: 1.1rem;
    font-family: CenturyGothic;
    font-weight: 300;
    color: white;
}

.hero p {
    color: white; 
    margin-bottom: 20px;
    line-height: 1.4; 
    font-size: clamp(1rem, 3vw, 1.2rem);
}

.hero-accueil {
    justify-items: center;
    text-align: center;
    font-size: 1.2rem;
    margin-top: 20px;
}

.telephone {
    background-color: #1d335b;
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    align-items: center;
    /* Ajouté pour centrer l'icône et le texte */
    width: 270px;
    height: 55px;
    margin: 0;
    /* Suppression du "0 auto" pour permettre l'alignement */
    padding: 10px 20px;
    border-radius: 15px;
    gap: 10px;
}

.telephone img {
    width: 30px;
    height: 30px;
}

.telephone p {
    font-size: 1.8rem;
    color: #ffffff;
}

.telephone a {
    text-decoration: none;
    font-family: "AGENCYR";
    font-size: 1.5rem;
    color: #ffffff;
    font-size: 1.6rem;
}

/* partenaires */

.partenaires{
    background-color:white;
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
    margin-bottom: 30px;
    padding: 20px;
}
.partenaires img{
    background-color:none;
    margin: 10px 25px;
    width: auto;
    height: 50px;
}
.partenaires-h2{
    color: rgba(102, 106, 134);
    margin-top: 30px;
    font-weight: 200;
}

/* à propos */

.apropos {
    margin:10px;
    color: white;
    flex-wrap: wrap;
}

.textapropos h2 {
    color: white;
    font-size:1.5rem;
}


.textapropos h3 {
    color: rgb(76 127 125);
    font-size: 1.6rem;
    margin-top: 30px;
    padding: 30px;
}

/*images panorama et point E*/
.textapropos img{
    width: 50%;
    height: auto;
    background-color: rgb(255,255,255,0.5);
    border: 2px solid white;
    border-radius: 30px;
    margin-bottom: 30px;
    padding: 10px;
}
/*images panorama et point E*/


.textapropos .depuis1999{
width: 150px;
height: 150px;
background-color: rgb(255,255,255,0.5);
border: 8px solid rgb(255,255,255, 0.5);
border-radius: 150px;
padding: 5px;
margin-top: -60px;
}

/*images "expertise" E*/
.textapropos .expertise{
    width: 20%;
    border-radius: 10px;
    border: 3px solid rgb(76, 127, 125);
    margin-bottom: 30px;
    padding: 5px;
}
/*images "expertise" E*/


ul {
    list-style: none;

}

li::before {
    content: "✔️";
}

/* jeu */
.jeu{
    background-color: rgb(76, 127, 125);
    border-radius: 10px;
    padding: 20px;
    margin-left: 210px;
    margin-right: 210px;
    margin-bottom: 60px;
}

.jeu h2{
    font-size: 1.5rem;
    color: white;
}

.jeu h3{
    font-size: 1.5rem;
    color: white;
}

.jeu p{
    color: #000000;
}

.jeu img{
    width: 300px;
    height: auto;
}

/* Cards */
.PRODUITS {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 35px;
    padding: 15px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    background-color: white;
    font-family: "CenturyGothic";
    font-size: large;
}

/* Couleurs: 237, 133, 123 */

.PRODUITS-emballages h2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-color: white;
    gap: 25px;
    font-family: "Satisfy";
    color: rgb(76, 127, 125);
    font-size: 4rem;
    padding: 30px;
}

.card a {
    display: block;
    margin-top: 10px;
    justify-content: auto;
    text-decoration: none;
}

.card a:hover img {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.70);
}

/*code pour survol photo produits alim et indus*/

/* Le conteneur de l'image pour garder le ratio */
.image-container {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    /* Pour éviter les débordements */
}

/* Style de base pour les deux images */
.image-container img {
    width: 100%;
    display: block;
    transition: opacity 0.6s ease-in-out;
    /* Transition douce */
}

/* L'image de survol est placée AU-DESSUS de l'autre */
.image-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.1;
    /* Cachée par défaut */
}

/* Effet au survol de la carte */
.card2:hover .image-hover {
    opacity: 1;
    /* Apparaît au survol */
}

/* Optionnel : On peut aussi légèrement masquer la première 
   pour être sûr qu'il n'y ait pas de mélange visuel */
.card2:hover .image-principale {
    opacity: 0;
}

/*FIN du code pour survol photo produits alim et indus*/



/*code pour survol photo produits GOBELETS/

/* Le conteneur de l'image pour garder le ratio */
.image-container2 {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    /* Pour éviter les débordements */
}


/* Style de base pour les deux images */
.image-container2 img {
    width: 100%;
    display: block;
    transition: opacity 0.4s ease-in-out;
    /* Transition douce */
}

/* L'image de survol est placée AU-DESSUS de l'autre */
.image-hover {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.1;
    /* Cachée par défaut */
}

/*FIN du code pour survol photo produits GOBELETS*/


/* Logos */
.logo-carousel {

    display: grid;
    justify-content: space-around;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    align-items: center;
    gap: 20px;
    text-align: center;
    margin: 20px;
}

.loi-agec {
    display: contents;
    justify-content: center;
    text-align: center;
}

.product-card {
    max-width: 100px;
    background: rgb(76, 127, 125);
    border-radius: 20px;
    border: 5px solid rgb(76, 127, 125);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(255, 253, 253, 0.1);
    transition: transform 0.6s, box-shadow 0.3s;
    margin: 0 auto;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.product-card img {
    border-radius: 30px;
    padding: 15px;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 1rem;
    justify-content: center;
}

.card,
.card2,
.card3 {
    /* Prend presque toute la largeur */
    max-width: 400px;
    text-align: center;
    /* Mais garde une taille raisonnable */
}

.card2 img{
    height: 320px;
    /* Garde les proportions de l'image */
    aspect-ratio: 1 / 1;
    /* Force un format carré si tu préfères */
    object-fit: cover;
    border-top-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.card2 p {
font-size: 1rem;
font-weight: 600;
margin-top: 15px;
}

.card img {
    height: 180px;
    border-radius: 20px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.card p {
font-size: 0.6rem;
font-weight: bold;
}

.card h2 {
font-size: 1.2rem;
}


/* ALIMENTAIRE*/

.container-alimentaire {
    display: grid;
    max-width: 660px;
    font-family: "CenturyGothic";
    color: black;
    font-weight: 700;

}
.container-alimentaire img{
    max-width: 120px;
    padding: 5px;
    border: 2px solid rgb(218,96,85);
}
.container-alimentaire h1{
    font-size: 2.5rem;
    color:white;
    text-decoration:underline 3px rgb(218,96,85);
    text-underline-offset: 10px;
}
.container-alimentaire span{
     font-style:oblique;
     color: white;
     font-weight:500;
}

/* Testimonials / Avis Clients */

.testimonials {
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.testimonials-grid {
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    justify-content: space-around;
    margin-bottom: 50px;

}

.testimonial-card {
    background: rgb(76,127,125,0.7);
    width: 65%;
    padding: 30px;
    margin: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stars {
    color: yellow;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: white;
    line-height: 1.6;
    margin-bottom: 15px;
}

.testimonial-author {
    font-weight: bold;
    color: white;
    text-align: right;
}

/* Contact */

.container-contact{
        background:
        linear-gradient(rgba(76, 127, 125, 0.75), rgba(76, 127, 125, 0.75)),
        url('../images/photo-contact-HDEMBALLAGES.webp') center center / cover no-repeat;
    height: 900px;
    text-align: center;
}

.container-contact h2{
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    margin-top: 60px

}

.contact-form {
    background-color: white;
    border-radius: 20px;
    padding: 20px;
    display: grid;
    margin: auto;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.70);
    gap: 15px;
    max-width: 600px;

}

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

.logojeu {
    background: #1a1a40;
    padding: 5px 5px;
    /* J'ai ajouté 15px en haut/bas et 30px sur les côtés */
    border-radius: 30px;
    display: inline-block;
    transform: rotate(-3deg);
    border: 3px solid white;
    margin-bottom: 20px;
}

/*googgle map*/

.mappy {
    justify-content: center;
    align-items: center;
    width: 100%;
}

.mapouter {
    height: auto;
    width: auto;
    margin-top: 15px;
    margin-bottom: 15px;
}

.gmap_canvas {
    overflow: hidden;
    background: white  ;
    border: 5px solid rgb(76 127 125);
    border-radius: 10px;
    height: 300px;
    width: 500px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.70);
    display: block;
    margin: 0 auto;
}

/* Footer */
.footer {
            background:
        linear-gradient(rgba(76, 127, 125, 0.75), rgba(76, 127, 125, 0.75)),
        url('../images/photo-emballage-accueil.webp') center center / cover no-repeat;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: "CenturyGothic";
    font-size: 0.9rem;
    padding: 20px;
    color: #fff;
}

.footer a {
    color: white;
    font-family: "CenturyGothic";
    text-decoration: none;
    justify-content: center;
    padding: 5px;
}

.nav-footer {
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.9rem;
    padding: 10px;
    color: #fff;
}

/* ============================================
   RGPD FORMULAIRE
   ============================================ */
.rgpd-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgb(76 127 125);
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.rgpd-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    /* empêche l'écrasement sur mobile */
    margin-top: 2px;
    cursor: pointer;
    accent-color: #1d335b;
}

.rgpd-consent label {
    font-size: 0.9rem;
    color: white;
    cursor: pointer;
    line-height: 1.5;
}

.rgpd-consent a {
    color: yellow;
    text-decoration: underline;
}

.rgpd-info {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    padding: 10px;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    font-style: italic;
}

.rgpd-info .email-protect a {
    color: yellow;
}


/* ============================================
   BANDEAU COOKIES
   ============================================ */
#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    margin-bottom: 20px;
    left: 0;
    right: 0;
    background: rgb(255, 255, 0,0.5);
    padding: 10px 10px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    font-family: CenturyGothic;

    /* Caché par défaut si déjà accepté */
    display: none;
}

/* On l'affiche via JS uniquement si nécessaire */
#cookie-banner.visible {
    display: block;
}

#cookie-content {
    max-width: 1200px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

#cookie-content p {
    color:black;
    min-width: 250px;
    font-size: 0.90rem;
}

#cookie-content a {
    color:black;
    font-family: CenturyGothic;
    text-decoration: underline;
}

#cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 10px 20px;
    width: 160px;
    border: 2px solid white;
    border-radius: 8px;
    cursor: pointer;
    font-family: CenturyGothic;
    font-size: 0.80rem;
    transition: transform 0.2s ease;
}

.btn-cookie:hover {
    transform: scale(1.05);
}

.btn-cookie.accept {
    background: rgb(76 127 125);
    color: white;
}

.btn-cookie.refuse {
    background: red;
    color: white;
}

.btn-cookie.settings {
    background: rgba(218,96,85);
    color: white;
}

/* ============================================
   MAP FACADE
   ============================================ */
.map-facade {
    position: relative;
    width: 500px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    border: 5px solid #666a86;
    box-shadow: 0 6px 20px #666a86;
    cursor: pointer;
}

.map-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.93);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #666a86;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#load-map-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    font-size: 0.85rem;
    text-align: center;
    line-height: 1.4;
    background: #666a86;
}

#load-map-btn small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 3px;
}

#load-map-btn:hover {
    background: #2a96a4;
}

/* --- Styles du bouton Hamburger --- */
.menu-toggle {
    display: none;
    /* Caché sur ordinateur */
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: rgb(76 127 125);
    transition: 0.3s;
}


/* Conteneur pour positionner le label par rapport à l'input */
.input-group {
    position: relative;
    margin-bottom: 25px;
    /* Espace pour laisser le label monter */
}

/* Style de base des champs */
.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    display: block;
    background: transparent;
}

/* Le label "caché" dans l'input au départ */
.input-group label {
    position: absolute;
    left: 12px;
    top: 12px;
    color: #666;
    transition: all 0.2s ease-out;
    pointer-events: none;
    /* Permet de cliquer sur l'input même si on vise le texte du label */
}

/* 🚀 L'EFFET FLOTTANT 🚀 */
/* Quand on clique (focus) OU quand le champ n'est pas vide */
.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label,
.input-group textarea:focus+label,
.input-group textarea:not(:placeholder-shown)+label {
    top: -22px;
    /* Il monte au dessus */
    left: 0;
    font-size: 0.85rem;
    color: #000;
    /* Couleur plus sombre pour la lisibilité */
    font-weight: bold;
}

/* Style spécifique pour la case RGPD (pas de label flottant ici) */
.rgpd-consent {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

/* Style du bouton "envoyer ma demnde" dans "contact" quand il est désactivé */
.btn:disabled {
    background-color: #ccc  ;
    cursor: not-allowed;
    transform: none  ;
    opacity: 0.6;
}

/* 🪄 MAGIE CSS : Si la checkbox est cochée, on réactive le style du bouton */
/* On utilise l'astuce du sélecteur de frère indirect (~) */
#rgpd-check:checked~button.btn {
    background: rgba(102, 106, 134);
    opacity: 1;
    cursor: pointer;
}

/* animation page 404 */
.error-code {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

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


/* ============================================
   Responsive Mobile (768px)
   ============================================ */

@media (max-width: 768px) {
    .containerheader {
        width: 100%;
        height: 60px;
    }

    /* 1. Ajustement de la section Hero pour qu'elle respire sous le header fixe */
    .hero {
        padding-top: 100px; /* Compense la hauteur du menu fixe */
        justify-content: flex-start;
    }

    /* 2. Réduction proportionnelle des titres */
    .hero h1 {
        font-size: 1.8rem; /* Remplace le clamp s'il calcule trop grand */
        padding-top: 10px;
        padding-bottom: 20px;
    }

    .hero-span{
    font-size:1rem;
    }

    .hero h2 {
        display: none;
    }

    .image-hero2{
    display: none;
    }
    .hero img{
    height:50px;
    width: auto;
    margin-top: -80px;
    }

       .iconetel a{
        font-size: 0.8rem;
        margin:-15px;
    }
    /* Force la réduction du texte stylisé en ligne dans ton HTML */
    .hero h2 span {
        font-size: 1.2rem  ; 
    }

    /* 3. La magie pour les boutons : on les autorise à passer à la ligne ! */
    .hero-accueil {
        flex-wrap: wrap; /* L'instruction clé pour ne pas déborder */
        justify-content: center;
        gap: 10px; /* Espace entre les boutons empilés */
        margin-bottom: 30px;
    }


    
    /* 5. Réduction du logo pour libérer de la place pour le menu burger */
    .logo img {
        width: 160px;
        height: auto;
        margin: 10px 0;
    }

    /*a propos */

.textapropos{
    width:100%;
    margin:0;
}

    .textapropos .depuis1999{
    width: 100px;
    height: auto;
    }

/*images panorama et point E*/
.textapropos img{
    width: 100%;
    height: auto;
    border: 2px solid#666a86;
    border-radius: 10px;
}
/*images panorama et point E*/


/*images "expertise" E*/
.textapropos .expertise{
    width: 50%;
    border: 2px solid#666a86;
    border-radius: 3px;
}
/*images "expertise" E*/


.textapropos h2{
    font-size: 1rem;
}

.textapropos h3{
    font-size: 1rem;
}

.textapropos p{
    font-size: 0.7rem;
}


    /*jeu*/

    .jeu{
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 40px;
    }

    .jeu h2{
    font-size: 0.9rem;
    }

    .jeu h3{
    display: none;
    }
    .jeu h4{
        font-size: 0.8rem;
        margin-top: -50px;
    }

    .jeu p{
    display: none;
    }

    .jeu img{
    height: 100px;
    width: auto;
    }

    /* menu deroulant de la nav dans le HEADER */
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        margin-top: 0;
    }

    .dropdown:hover {
        display: block;
        background-color: white;
    }

    .dropdown-content a {
        padding: 10px 20px;
        font-size: 0.9rem;
    }


    /* responsive GOOGLE MAP */
    .gmap_canvas {
        width: 75%;
        height: 250px;
    }

    /* responsive COOKIE */
    #cookie-content {
        flex-direction: column;
        text-align: center;
    }

    #cookie-buttons {
        justify-content: center;
    }

    /* responsive NAV */
    .nav {
        position: fixed;
        right: -100%;
        /* Caché à droite par défaut */
        top: 80px;
        flex-direction: column;
        background: white;
        width: 50%;
        height: calc(100vh - 80px);
        transition: 0.4s;
        gap: 0;
        align-items: flex-start;
        padding-top: 20px;
        overflow-y: auto;
    }

    .nav.active {
        right: 0;
    }

    .nav a,
    .dropdown .dropbtn {
        width: 100%;
        padding: 15px 25px;
        margin: 0;
    }

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

    /* responsive  menu BURGER */
    .menu-toggle {
        display: flex;
    }

    /* responsive  Animation du bouton X quand ouvert */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

     /* article BLOG */
    .hero-blog article{
    max-width: 800px;
    justify-content: center;
    }

    .containerblog{
    margin: 0px;
    padding: 20px;
    }

    .containerblog h1,h2,h3,ul{
    font-size: 0.8rem;
    }
    
    .containerblog img{
    width: 100px;
    height: auto;
    justify-content: center;
    }

     /* univers alimentaire */
    .container-alimentaire {
    font-size: 0.8rem;
    }
    .container-alimentaire img{
    max-width: 100px;
    }
    .container-alimentaire h1{
    font-size: 1.2rem;
    }
    .container-alimentaire span{
    font-size: 0.75rem;
    }

     /* gobelet */

    .container-gobelet p{
     font-size: 0.5rem;
    }
    .container-gobelet h1{
    font-size: 2.2rem;
    }

     /* Showroom */

    .hero-showroom h1{
    font-size: 2.5rem;
    }


    .container-Showroom h2{
    color:white;
    font-size: 1.05rem;
    font-weight: 100;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0;
    }

    .container-Showroom h3{
    font-size: 0.8rem;
    }

    .container-Showroom h4{
    font-size: 0.8rem;
    color: #d0d065;
    }

    .container-Showroom img{
    max-width: 90%;
    }
    .container-Showroom p{
    font-size: 2rem;
    border:2px solid white;
    margin-bottom: -50px;
    }

    /* mentions légales*/
.container-mentions {
    margin-top: 70px;
    padding: 0px;
}



    /* temoignages*/

    .testimonials-grid {
    display: flex;
    gap: 0;
    }

    .testimonial-card {
    width: 200px;
    margin: 10px;
    padding: 10px;
    }
    .stars {
    font-size: 0.8rem;
    }

    .testimonial-text {
    font-size: 0.6rem;
    }

    .testimonial-author {
    font-size: 0.6rem;
    }

    /* card produits dans index*/

    .PRODUITS{
    gap: 25px; 
    }


    .card2 {
    margin:30px;
    }

    .card h2{
    font-size: 1rem;
    }


    .container-contact h2{
    font-size: 1rem;
    }

    .card2 p{
  font-size: 0.8rem;  
    }

    .card2 img{
  width: 200px;
  height: auto;
    }

.nav-footer {
    font-size: 0.7rem;
    padding: 5px;
}
}