MODÈLE TYPE 

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


body {

    font-family: Arial, sans-serif;

    background-color: #f4f7fb;

    color: #222;

    line-height: 1.6;

}


header {

    background: linear-gradient(135deg, #2c7be5, #5aa9ff);

    color: white;

    text-align: center;

    padding: 40px 20px;

}


header h1 {

    font-size: 2.2em;

    margin-bottom: 10px;

}


.sous-titre {

    font-size: 1.1em;

    opacity: 0.95;

}


nav {

    background-color: #1f4f82;

    text-align: center;

    padding: 15px 10px;

}


nav a {

    color: white;

    text-decoration: none;

    margin: 0 15px;

    font-weight: bold;

    display: inline-block;

    padding: 8px 12px;

    border-radius: 6px;

    transition: background-color 0.3s;

}


nav a:hover {

    background-color: rgba(255, 255, 255, 0.2);

}


main {

    max-width: 1000px;

    margin: 30px auto;

    padding: 0 20px;

}


.bloc {

    background-color: white;

    margin-bottom: 25px;

    padding: 25px;

    border-radius: 12px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

}


.bloc h2 {

    color: #2c7be5;

    margin-bottom: 15px;

}


.image-bloc img {

    width: 100%;

    max-width: 700px;

    display: block;

    margin: 15px auto 0 auto;

    border-radius: 10px;

}


footer {

    background-color: #1f4f82;

    color: white;

    text-align: center;

    padding: 20px;

    margin-top: 30px;

}

<!DOCTYPE html>

<html lang="fr">

<head>

    <meta charset="UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>Mon projet de site</title>

    <link rel="stylesheet" href="style.css">

</head>

<body>


    <header>

        <h1>Mon sujet de projet</h1>

        <p class="sous-titre">Un site réalisé en classe</p>

    </header>


    <nav>

        <a href="index.html">Accueil</a>

        <a href="page2.html">Présentation</a>

        <a href="page3.html">Galerie</a>

        <a href="page4.html">Contact</a>

    </nav>


    <main>

        <section class="bloc">

            <h2>Titre de la page</h2>

            <p>

                Ici, l’élève écrit un texte de présentation sur son sujet.

                Cette zone peut contenir des explications, des informations,

                ou une introduction au thème choisi.

            </p>

        </section>


        <section class="bloc">

            <h2>Un deuxième contenu</h2>

            <p>

                Cette partie peut servir à ajouter des détails, une anecdote,

                une explication ou une description plus précise.

            </p>

        </section>


        <section class="bloc image-bloc">

            <h2>Une image</h2>

            <img src="https://via.placeholder.com/700x300" alt="Image du projet">

        </section>

    </main>


    <footer>

        <p>Projet de Seconde - Année scolaire 2025-2026</p>

    </footer>


</body>

</html>