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

body {
    font-family: Arial, sans-serif;
    background-color: #111111ea;
    line-height: 1.6;
}

/* HEADER*/
header {
    background-color: #111111f1;
    color: white;
    padding: 15px 20px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Logo */
.logo a {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
}

/* HAMBURGER*/
.hamburger-menu {
    width: 30px;
    height: 20px;
    display: none;  /* Caché sur PC */
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;   /* pousse les barres vers la droite */
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 4px;
}

/* NAV*/
nav {
    background-color: #111;
    padding: 20px;
    
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 0;
}

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

nav ul li a:hover {
    color: #ff6600;
}

/* Bloc réseaux sociaux centré dans le header */
.partie-reseau {
    display: flex;
    justify-content: center;   /* centre horizontalement */
    margin-top: 10px;
}

#reseau-social {
    list-style: none;
    display: flex;
    gap: 15px;                 /* espace entre les icônes */
    padding: 0;
}

#reseau-social li a img {
    width: 40px;               /* taille des icônes */
    height: 40px;
    border-radius: 50%;        /* rend circulaire */
    object-fit: cover;         /* ajuste l’image */
    /*border: 1px solid #111; /* bordure décorative */
    transition: transform 0.3s ease;
}

#reseau-social li a img:hover {
    transform: scale(1.1);     /* effet zoom au survol */
}

/* MAIN */
main {
    padding: 30px;
    margin: 10px;
    border-radius: 10px;
    min-height: 550px; /* hauteur minimale */
    display: 5;     /* permet aux enfants de s’étirer */
}

.main-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
}

.presentation {
  flex: 1;
  display: flex;
  flex-direction: column;
  color: white;
}

/* Bouton collé en bas */
.presentation .boutton {
  margin-top: auto;
  align-self: flex-start
}



.image-section { 
    flex: 1; 
    text-align: right; 
    
}


.nom {
    color: #007bff;       /* couleur bleue */
    font-weight: bold;    /* texte en gras */
    font-size: 2rem;      /* taille plus grande */
}



/* IMAGE CIRCULAIRE*/
.image-section img {
    width: 250px;            /* taille fixe */
    height: 250px;           /* même hauteur que largeur */
    border-radius: 50%;      /* rend l’image circulaire */
    object-fit: cover;       /* ajuste l’image pour remplir le cercle */
    border: 4px solid #007bff; /* optionnel : bordure bleue décorative */
}

/*  FOOTER */
footer {
    background-color: #111;
    color: #ccc;
    padding: 25px;
    margin-top: 40px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

footer h5, footer h6 {
    color: white;
    margin-bottom: 10px;
}

footer ul {
    list-style: none;
}

footer a {
    color: #ccc;
    transition: 0.3s;
}

footer a:hover {
    color: #ff6600;
}















/* RESPONSIVE */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;

    }

    nav ul {
    display: none;
    flex-direction: column;
    background-color: #111;
    padding: 15px;
    gap: 15px;
    text-align: left; /* aligne les liens à gauche */
}

    nav ul.show {
        display: flex;
    }

    .main-container {
    flex-direction: column;
    text-align: center;
    }

    .presentation {
        order: 1;
    }

    .image-section {
        order: 2;
        display: flex;
        justify-content: center;
    }

    /* Bouton après l’image */
    .presentation .boutton {
        order: 3;
        margin-top: 20px;
        align-self: center;
    }




    main {
        min-height: auto;   /* enlève la limite */
        height: auto;       /* main s’adapte au contenu */
    }

    .image-section img {
        width: 180px;       /* image plus petite sur mobile */
        height: 180px;
    }

    /* Footer vertical sur mobile */
    footer {
        flex-direction: column;   /* aligne les sections verticalement */
        
        gap: 20px;                /* espace entre les blocs */
    }

    footer .lien {
        margin: 10px;
    }

    footer section {
        width: 100%;              /* chaque bloc prend toute la largeur */
        max-width: 300px;         /* limite la largeur pour rester lisible */
    }

    .partie-reseau {
    justify-content: center;   /* reste centré sur mobile */
    margin-top: 15px;
    }

    #reseau-social li a img {
        width: 35px;               /* icônes plus petites sur mobile */
        height: 35px;
    }

}

/*  BOUTON */
.boutton {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 15px 35px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    margin-top: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.boutton:hover {
    background: linear-gradient(135deg, #0056b3, #004494);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,123,255,0.4);
}