* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;

}

body {
    background-color: #fff8f0;
    color: #333;
    line-height: 1.6;
}

/* ======== HEADER ======== */
header {
    background: linear-gradient(90deg, #0c2750, #0d7ac2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    height: 55px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    text-decoration: underline;
}

nav a.active {
    border-bottom: 3px solid white;
}

/* ======== MARQUEE ======== */
marquee {
    background: linear-gradient(90deg, #b81890, #1da6cf);
    padding: 10px 0;
}

marquee h1 {
    font-size: 1.8em;
    color: #000000;
}

/* ======== HERO ======== */
.hero {
    background: url('images/accueil.jpg') no-repeat center/cover;
    color: black;
    text-align: center;
    padding: 90px 20px;
}

.hero p {
    font-size: 1.3em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn {
    background: #110904;
    padding: 12px 25px;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    background: #07610f;
}

/* ======== SECTION ======== */
section {
    padding: 50px 5%;
    text-align: center;
}

h2 {
    color: #d35400;
    margin-bottom: 20px;
}

/* ======== CARDS ======== */
.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    margin: 10px 0;
    color: #ff914d;
}

.card p {
    padding: 0 15px 15px;
    color: #555;
}

/* ======== GALERIE ======== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ======== FORMULAIRE ======== */
form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

input,
textarea,
button {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

textarea {
    resize: none;
    height: 120px;
}

button {
    background: #ff914d;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background: #e67e22;
}

/* ======== FOOTER ======== */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
}




/* Style général */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f9f9f9;
    color: #333;
}


a {
    text-decoration: none;
    color: inherit;
}


section {
    padding: 50px 20px;
    text-align: center;
}

/* Titre */
section h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #2c3e50;
}

/* Container des cartes */
.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Style des cartes */
.card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    margin: 15px 0 10px;
    font-size: 1.5em;
    color: #27ae60;
}

.card p {
    padding: 0 15px 20px;
    font-size: 1em;
    color: #555;
}

/* Effet hover */
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


.hero {
    position: relative;
    text-align: center;
    margin: 30px 5%;
}


.hero {
    position: relative;
    text-align: center;
    margin: 30px 5%;
}




.hero {
    width: 35%;
    margin: 25px auto;
    text-align: center;
}

.hero-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    /* coins arrondis */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    /* ombre pour relief */
    transition: transform 0.5s ease;
}

/* Effet zoom au survol */
.hero-img:hover {
    transform: scale(1.05);
}


.btn-retour {
    display: inline-block;
    margin: 20px 0;
    padding: 10px 20px;
    background-color: #0a8b85;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s;
}

.btn-retour:hover {
    background-color: #0d2694;
    transform: translateY(-3px);
}