body {
    background-color:  #f8edf6 ;
}

.message {
    background-color: #f0f0f0;
    padding: 15px;
    border-radius: 8px;
    margin: 20px auto;
    text-align: center;
    width: 80%;
    font-family: 'Poppins', sans-serif;
    color: #333;
}



#masthead{
    display: flex;
    justify-content: space-between; /* logo à gauche, menu à droite */
    align-items: center;
    padding: 10px 20px;
}

/*css pour le logo header*/
#masthead img{
    height: 80px;
}

#masthead nav ul {
    list-style: none; /* ❌ Enlève les puces */
    display: flex;    /* 🔄 menu en ligne */
    justify-content: space-between;
    gap: 20px;        /* 📏 espace entre les items */
    margin: 0;
    padding: 0;
}

#masthead nav ul li {
    font-family: 'Poppins', sans-serif;
    font-size: 19px;
    font-weight: 500;
    cursor: pointer;
    color: #111;
}

#masthead a{
     text-decoration: none;
     color: #000;
     font-family: 'Merriweather', serif;
}

h1{
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
}

.contact-form{
    display: flex;
    justify-content: center; /* centre horizontalement */
    align-items: center;     /* optionnel, si tu veux centrer verticalement */
    margin: 40px auto;       /* centré avec marges automatiques */
    padding: 0 15px;  
}

.form{
    width:340px;
    height:440px;
    background:#e6e6e6;
    border-radius:8px;
    box-shadow:0 0 40px -10px #000;
    margin:calc(50vh - 220px) auto;
    padding:20px 30px;
    max-width:calc(100vw - 40px);
    box-sizing:border-box;
    font-family:'Montserrat',sans-serif;
    position:relative
}

h2{
    font-family: 'Playfair Display', serif;
    margin:10px 0;
    padding-bottom:10px;
    width:180px;
    color:#1a1a1a;
    border-bottom:3px solid #78788c
}

input{
    width:100%;
    padding:10px;
    box-sizing:border-box;
    background:none;
    outline:none;
    resize:none;
    border:0;
    font-family: 'Playfair Display', serif;
    transition:all .3s;
    border-bottom:2px solid #ff3399;
}
input:focus{border-bottom:2px solid #78788c}

label:before{
    content:attr(type);
    display:block;
    margin:28px 0 0;
    font-size:14px;
    color:#5a5a5a
}
label {
    font-family: 'Playfair Display', serif;
}

textarea{
    width:100%;
    padding:10px;
    box-sizing:border-box;
    background:none;
    outline:none;
    resize:none;
    border:0;
    font-family: 'Playfair Display', serif;
    transition:all .3s;
    border-bottom:2px solid #ff3399;
}

button{
    float:right;
    padding:8px 12px;
    margin:8px 0 0;
    font-family:'Montserrat',sans-serif;
    border:2px solid #ff3399;
    background:0;
    color:#ff3399;
    cursor:pointer;
    transition:all .3s
}
button:hover{
    background:#ff3399;
    color:#fff
}

.contactia{
  width: 100vw;              /* prend toute la largeur de l’écran */
  height: 60vh;
  background-image: url('../image/contact-ia.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.5;
  margin-left: calc(-50vw + 50%);
}

.reveal {
    opacity: 0;
    transform: translateY(-30px);
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
    transition: 1s;
}

/*footer */
.site-footer {
  background-color: #fbf4fa; /* plus clair que le fond général */
  padding: 30px 20px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  color: #666;
  font-size: 14px;
  border-top: 1px solid #e0d6e3;
}
.site-footer .social-icons {
  margin-top: 15px;
  margin-bottom: 15px;
}

.site-footer .social-icons a {
  margin: 0 10px;
  font-size: 22px;
  color: #333;
  transition: color 0.3s ease;
}

.site-footer .social-icons a:hover {
  color: #ff3399;
}

.politique{
    text-decoration: none;
    color: #555;
}
.politique:hover{
    color: #ff3399;
}

#icons {
    display: none;
}

@media (max-width: 668px) {

    #site-header {
        text-align: center;
    }

    .site-content {
        margin-left: 0;
        margin-right: 0;
    }

    #icons {
        display: block;
        font-size: 28px;
        cursor: pointer;
        z-index: 10001;
        position: relative;
    }
    #icons:before{
        content: "\2630";
    }

    nav {
        position: fixed;
        top: 0; /* juste en dessous du header/logo */
        left: -100%;
        width: 100%;
        z-index: 9999; /* au-dessus de toutes les images */
    }
    
    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: #ff3399;
        list-style: none;
        margin: 0;
        padding: 120px 0 0 0; /* laisse 120px pour le logo */
        text-align: center;
        transition: 0.3s;
    }

    nav li {
        padding: 3px 0;
        text-align: center;
    }

    nav.active + #icons:before,
        #icons.active:before {
        content: "\2715"; /* ✕ croix */
    }
    nav.active {
        left: 0;
    }


    
}