/* Couleurs du thème */
:root {
    --sable: #F5DEB3;
    --or: #D4AF37;
    --blanc: #FFFFFF;
}

/* Base */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--sable);
    color: var(--blanc);
}

header {
    background-color: var(--or);
    text-align: center;
    padding: 5px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}


/* classique  */
/*
p {
    color: #333;
    text-align: center;
    margin-left: 20%;
    margin-right: 20%;
    max-width: 80%;
    text-shadow: 2px 2px 4px rgba(225, 220, 220, 0.3);
}
*/


/* Version responsive */
p {
     font-family: "Merienda", cursive;
    color: #333;
    font-size: x-large;
    text-align: center;
    padding: 0 5%;
    text-shadow: 2px 2px 4px rgba(225, 220, 220, 0.3);
}

@media (min-width: 768px) {
    p {
        padding: 0 20%;
    }
}


h1 {
    margin: 0;
    font-size: 2.8em;
   /* letter-spacing: 2px;*/
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.sous-titre {
    font-style: italic;
    margin-top: 10px;
    font-size: 1.2em;
}

/* Section appareils */
.appareils {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 40px;
}

.appareil-item {
    display: flex;
    align-items: center;
    margin: 0px 0;
}

.reverse {
    flex-direction: row-reverse;
}

.image-ronde {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--or);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.image-ronde img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.texte-appareil {
    flex: 1;
    padding: 0 40px;
}

.texte-appareil h2 {
    color: var(--or);
    font-size: 1.8em;
    margin-bottom: 10px;
}

.texte-appareil p {
     font-family: "Merienda", cursive;
    color: goldenrod;    
    /*font-size: 1.1em;*/
    line-height: 1.6;
   /* text-shadow: 2px 2px 4px grey; */
}

/* Section vidéo */
.video-section {
    background-color: var(--or);
    padding: 40px 0;
    text-align: center;
}

.video-section h2 {
    margin-bottom: 0px;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background-color: #333;
    color: var(--or);
    text-align: center;
    padding: 20px;
    font-size: 1.1em;
}

footer i {
    margin: 0 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .appareil-item, .reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .image-ronde {
        margin-bottom: 20px;
    }
    
    .video-container iframe {
        height: 300px;
    }
}


/* Animation de zoom */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

h2 {
    text-align: center;
}
.bouton-arrondi {
    display: inline-block;
    padding: 12px 30px;
    background-color: #D4AF37; /* Couleur or */
    color: white;
    text-decoration: none;
    border-radius: 50px; /* Rend le bouton complètement arrondi */
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    /* Style supplémentaire pour le texte */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Effet au survol */
.bouton-arrondi:hover {
    background-color: #C9A227; /* Or légèrement plus foncé */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Effet quand on clique */
.bouton-arrondi:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.conteneur-bouton {
    text-align: center; /* Méthode la plus simple */
    margin: 20px 0; /* Espacement optionnel */
}

.conteneur-flex {
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center;     /* Centre verticalement */
    min-height: 100px;      /* Hauteur minimale pour voir l'effet */
}



.bouton-brillant::before {
    animation: brillance 3s infinite;
}

@keyframes brillance {
    0% { left: -60%; }
    100% { left: 120%; }
}

.bouton-brillant {
    /* Style de base */
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #D4AF37 0%, #F9E076 100%); /* Dégradé or */
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden; /* Cache le débordement de l'effet */
    transition: all 0.4s ease;
}

/* Effet de brillance (pseudo-élément) */
.bouton-brillant::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
    transition: all 0.7s ease;
}

/* Animation au survol */
.bouton-brillant:hover {
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
    transform: translateY(-2px);
}

.bouton-brillant:hover::before {
    left: 120%; /* Déplace la brillance */
}

/* Effet au clic */
.bouton-brillant:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.6);
}

/* Exemple d'import CSS */
@import url('https://fonts.googleapis.com/css2?family=Amiri&family=Cormorant+Garamond:wght@400;600&family=Merienda&family=Raleway&display=swap');




/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--medium-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.5s;
    position: relative;
    border: 1px solid rgba(90, 76, 29, 0.1);
}

.service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0) 0%, rgba(212, 175, 55, 0.1) 100%);
    transition: all 0.5s;
    z-index: -1;
    border-radius: 8px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
}

.service-card:hover::after {
    background: radial-gradient(circle at center, rgba(99, 78, 8, 0.2) 0%, rgba(212, 175, 55, 0) 70%);
}

.gold-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.service-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}


/* Navigation */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

nav ul li a:hover {
    color: var(--gold);
    transform: translateY(-2px);
}


        #addToHomeScreen {
        background: linear-gradient(135deg, gold, goldenrod);
      color: white;
      border: none;
  
  
   
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    
        }

        #addToHomeScreen:hover {
  transform: translateY(-5px) scale(1.02); /* Lévitation légère */
}