/* styles.css */

/*couleur principale: 
                    Noir #020617

                    Or #bd8d14

                    Violet #4C1D95

                    Bleu nuit #0F172A

                    Blanc #FAFAFA*/

/* polices utilisées:
                    Iceberg (corps de texte)
                    Megrim (logo / Cassiopeia) */

        *{
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Iceberg', sans-serif; /* police moderne et lisible */
            line-height: 1.6;
            color: #333;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            background: linear-gradient(135deg, #0F172A, #020617);
            /*background: linear-gradient(135deg, #020617, #0F172A);*/ /* dégradé */;
        }
        header {
            background: linear-gradient(135deg, #020617, #0F172A); /* dégradé */
            color: #bd8d14;
            padding: 20px 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        .logo {
            font-family: "Megrim", serif;
            font-size: 28px;
            font-weight: bold;
            color: #bd8d14;
        }
        nav ul {
            list-style: none;
            display: flex;
            gap: 30px;
        }
        nav a {
            color: #bd8d14;
            text-decoration: none;
            transition: opacity 0.3s; 
            padding: 10px; /* espacement */
        }
        nav a:hover { /* effet de survol*/
            opacity: 0.7;
            transform: scale(1.05);
        }

        form {
            max-width: 600px;
            margin: 40px auto;
            padding: 20px;
            background-image: url("image/fond3.avif");
            background-size: cover;
            background-position: center;
            border-radius: 8px;
            font-weight:bold;
            color: aliceblue;
        }

        form h2{
            text-align: center;
            color: #bd8d14;
            font-size: 30px;
        }


        form .separation {
            height: 5px;
            background-color: #ffffff;
            margin-top: 10px;
            margin-bottom: 10px;
            border-radius: 8px;
        }

        form .required{
            font-size: 15px;
            color: #ff0000;
        }

        form .corps {
            display: flex;
            flex-wrap: wrap;
            margin-bottom: 30px;
        }

        form .corps .gauche{
                margin-right: 40px;
            }

        form .corps .groupe {
            position: relative;
            margin-top: 20px;
            display: flex;
            flex-direction: column;
        }

        form .corps .gauche .groupe input {
            padding: 10px 5px 10px 30px;
            border: none;
            border-radius: 5px;
            margin-top: 5px;
            outline: none;
        }

        form .corps .gauche .groupe i {
            position: absolute;
            top: 40px;
            left: 5px;
            color: #bd8d14;
        }

        form .corps .droite .groupe {
            height: 100%;
        }

        form .corps .droite .groupe textarea {
            margin-top: 5px;
            padding: 10px;
            border: none;
            border-radius: 5px;
            outline: none;
            resize: none;
            height: 85%;
        }

        form .mention {
            margin-top: 15px;
            position: relative;
            transform: translateY(-15px);
            color: aliceblue;
        }

        form .envoi {
            position: relative;
            left: 30%;
        }

        form .envoi button {
            margin-top: 10px;
            background-color: #bd8d14;
            border-radius: 5px;
            padding:10px 20px ;
            font-size: 15px;
            font-family: 'Iceberg', sans-serif; ;
            color: aliceblue;
            outline: none;
            cursor: pointer;
        }

        form .envoi i{
            position: relative;
            padding: right 2px 0px ;
            right: 5px;
            color: aliceblue;
        }
        
        form .envoi button:hover { /* effet de survol*/
            transform: scale(1.1);
            transition: transform 0.5s;
        }

        @media screen and (max-with:920){
            form .corps .gauche{
                margin-right: 0px;
            }

            form .mention {
                transform: translateY(15px);
            }


            form .envoi {
            left: 0%;
            }
        }

    footer {
    height: auto;
    color: #fbfbfe;
    background: linear-gradient(135deg, #020617, #0F172A); /* dégradé */
    margin-top: auto; /* pousse le footer en bas si l'espace est disponible */
    padding: 20px;
    text-align: center;
    width: auto;
}
    
    .footerinfo {
        display: flex;
        justify-content: center;
        gap: 30px;
        align-items: center;
    }

    .date {
        margin: 0;
    }