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

body {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #444;
}

/* --- TITRES --- */
h1 {
    font-family: 'Crete Round', serif;
    font-size: 45px;
    color: #444;
}
h2 {
    color: #fff;
    font-size: 36px;
}
h3 {
    font-size: 28px;
    color: #444;
}
h4 {
    font-size: 22px;
    color: #444;
    text-transform: uppercase;
}
p {
    line-height: 1.6;
    color: #777;
}
small {
    font-size: 13px;
    font-style: italic;
}

/* --- WRAPPER --- */
.wrapper {
    max-width: 940px;
    width: 90%;
    margin: 0 auto;
    padding: 0 10px;
}
.orange {
    color: #ff7a00;
}
.clear {
    clear: both;
}

/* --- HEADER --- */
header {
    height: auto;
    padding: 20px 0;
}
header h1 {
    float: left;
}
header nav {
    float: right;
    margin-top: 20px;
}
header nav ul {
    list-style: none;
}
header nav ul li {
    display: inline-block;
    margin-left: 20px;
    text-transform: uppercase;
    font-weight: bold;
}
header nav ul li a {
    text-decoration: none;
    color: #444;
}

/* --- MENU HAMBURGER --- */
.menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: #444;
    cursor: pointer;
}

/* --- MAIN IMAGE --- */
#main-image {
    height: 580px;
    background: url('images/dev.jpg') center/cover no-repeat;
    text-align: center;
}
#main-image h2 {
    padding: 150px 0 40px 0;
    margin-bottom: 20px;
}
.button-1 {
    display: inline-block;
    padding: 12px 24px;
    background: #ff7660;
    color: #fff;
    font-size: 18px;
    border-radius: 4px;
    transition: background 0.3s ease;
}
.button-1:hover {
    background: #02b8dd;
}

/* --- STEPS --- */
#steps ul {
    margin: 60px 0;
    list-style: none;
}
#steps ul li {
    width: 30%;
    float: left;
    margin: 0 1.5%;
    text-align: center;
}
#steps p {
    margin-top: 10px;
}

/* --- POSSIBILITIES --- */
#possibilities {
    background: #efefef;
    padding: 60px 0;
}
#possibilities article {
    width: 45%;
    height: 400px;
    float: left;
    margin: 0 2.5% 20px 0;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.overlay {
    background: rgba(255,255,255,0.95);
    height: 100%;
    width: 60%;
    padding: 20px;
    border-radius: 10px 0 0 10px;
    text-align: center;
}
.button-2 {
    display: inline-block;
    padding: 8px 16px;
    background: #ff7a00;
    color: #fff;
    border-radius: 3px;
    transition: background 0.3s ease;
}
.button-2:hover {
    background: #0029ff;
}

/* --- CONTACT --- */
#contact {
    padding: 60px 0;
    text-align: center;
}
#contact h3 {
    margin-bottom: 20px;
    border-bottom: 2px solid #02b8dd;
    display: inline-block;
    padding-bottom: 10px;
}
form {
    margin-top: 30px;
}
label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
    color: #777;
}
input[type="text"], input[type="email"] {
    width: 90%;
    max-width: 400px;
    padding: 10px;
    margin: 10px auto;
    border: 2px solid #ddd;
    border-radius: 3px;
    font-size: 16px;
}
.button-3 {
    display: block;
    width: 90%;
    max-width: 200px;
    margin: 20px auto;
    padding: 12px;
    background: #02d8dd;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.button-3:hover {
    background: #444;
}

/* --- FOOTER --- */
footer {
    background: #444;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
}
footer h1 {
    font-size: 28px;
}
footer .copyright {
    margin-top: 20px;
    color: #ccc;
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 1024px) {
    #steps ul li {
        width: 45%;
        margin: 20px 2%;
        float: none;
        display: inline-block;
    }
    #possibilities article {
        width: 100%;
        margin-bottom: 20px;
        float: none;
    }
    .overlay {
        width: 100%;
        border-radius: 10px;
    }
}

@media screen and (max-width: 768px) {
    header h1 {
        float: none;
        text-align: center;
    }
    header nav {
        float: none;
        text-align: center;
    }
    .menu-toggle {
        display: block;
        float: right;
        margin-top: -40px;
    }
    nav ul {
        display: none;
        flex-direction: column;
        background: #f4f4f4;
        padding: 10px;
        border-radius: 5px;
    }
    nav ul.show {
        display: flex;
    }
    #steps ul li {
        width: 100%;
        margin: 20px 0;
    }
    #main-image h2 {
        font-size: 24px;
        padding: 60px 0;
    }
}

/* --- STYLE BLOG ARTICLES --- */
#blog {
    background: #f9f9f9;
    padding: 60px 0;
}

#blog h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    color: #444;
    border-bottom: 2px solid #ff7a00;
    display: inline-block;
    padding-bottom: 10px;
}

#blog article {
    background: #fff;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

#blog article h4 {
    margin-bottom: 10px;
    color: #ff7a00;
}

#blog article p {
    margin-bottom: 15px;
    color: #555;
}

/* --- STYLE PAGES D’ARTICLES --- */
main section.wrapper {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

main section.wrapper h2 {
    margin-bottom: 20px;
    color: #ff7a00;
}

main section.wrapper ul {
    margin: 20px 0;
    padding-left: 20px;
}

main section.wrapper ul li {
    margin-bottom: 10px;
    color: #444;
}

/* --- CITATIONS --- */
blockquote {
    background: #f0f0f0;
    border-left: 4px solid #ff7a00;
    padding: 10px 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

/* --- IMAGES DANS LES ARTICLES --- */
.article-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 20px 0;
}
