/* POLICES */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600&display=swap');

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    background: #f3f3f3;
    color: #222;
}

/* HEADER */
header {
    background: #111;
    color: white;
    padding: 15px 20px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

/* MENU */
.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.menu li {
    position: relative;
}

/* LIENS + LABEL ALIGNÉS */
.menu a,
.dropdown label {
    color: white;
    text-decoration: none;
    padding: 10px;
    display: block;
    font-weight: 500;
    cursor: pointer;
}

/* HOVER LINKS */
.menu a:hover {
    color: #fff;
}

/* CHECKBOX HIDDEN */
.dropdown input {
    display: none;
}

/* SOUS-MENU */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    min-width: 180px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    z-index: 100;
}

.submenu li a {
    color: black;
    padding: 10px;
}

.submenu li a:hover{
    color: darkblue;
}

/* OUVERTURE DROPDOWN (mobile clic) */
.dropdown input:checked ~ .submenu {
    display: block;
}

/* HOVER DESKTOP */
.dropdown:hover .submenu {
    display: block;
}

/* HERO */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: white;
}

.hero h2 {
    font-size: 2.8rem;
    font-family: "Oswald", sans-serif;
}

.hero p {
    font-size: 1.2rem;
    margin: 15px 0 20px;
}

.btn {
    display: block;
    margin: 0 auto;
    width: fit-content;
    background: red;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.btn:hover {
    background: #c62835;
}

/* CATALOGUE */
.catalogue {
    padding: 60px 20px;
    text-align: center;
}

.catalogue h2 {
    font-family: "Oswald", sans-serif;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.card {
    background: #fff;
    width: 300px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 7px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 3px 12px rgba(0,0,0,0.25);
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.card h3 {
    font-family: "Oswald", sans-serif;
}

/* CONTACT */
.contact {
    padding: 50px 20px;
    text-align: center;
}

.contact h2 {
    font-family: "Oswald", sans-serif;
    font-size: 2rem;
    margin-bottom: 30px;
}

form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input, select, textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background: #111;
    color: white;
}

.instagram {
    display: block;
    margin: 0 auto;   /* centre horizontalement */
    width: 40px;
}