* {
font-family: Nunito, sans-serif;
}

h1,h2,h3 {
    font-family: 'Quicksand', sans-serif;
    font-weight:700
}

:root {
--rouge: #b03030;
--vert: #2f4a2f;
--beige: #f5ede1;
--beige-clair: #faf3e9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
font-family: 'Segoe UI', Arial, sans-serif;
background-color: var(--beige);
color: #2b2b2b;
}


nav {
    grid-column: 2;
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
    }
    


nav a {
margin-left: 25px;
text-decoration: none;
color: #333;
font-weight: 600;
font-family: 'Quicksand', sans-serif;
}

nav a:hover { color: var(--rouge); }

.hero {
text-align: center;
padding: 80px 20px;
background: var(--beige);
}

.hero h1 {
color: var(--vert);
font-size: 2.2em;
margin-bottom: 15px;
}

.hero p { margin-bottom: 25px; font-size: 1.1em; }

.hero .soustitre {
    font-size: 1.15em;
    font-weight: 600;
    color: var(--vert);
    margin-bottom: 15px;
    }


.btn {
display: inline-block;
background: var(--rouge);
color: white;
padding: 14px 30px;
border-radius: 6px;
text-decoration: none;
font-weight: bold;
margin-bottom: 20px;
}
.btn:hover { background: var(--rouge); }

.badge {
display: block;
margin-top: 10px;
font-size: 0.9em;
color: var(--rouge);
font-weight: bold;
}

.pour-qui, .comment, .contact {
padding: 60px 40px;
text-align: center;
}

.pour-qui h2, .comment h2, .contact h2 {
color: var(--vert);
margin-bottom: 35px;
font-size: 1.8em;
}

.cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 25px;
}

.card {
background: var(--beige-clair);
padding: 25px;
border-radius: 10px;
border-left: 5px solid var(--rouge);
}

.card .icon {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.card h3 { color: var(--vert); margin-bottom: 10px; }

.etapes {
display: flex;
justify-content: center;
gap: 40px;
flex-wrap: wrap;
margin-bottom: 30px;
}

.etape { max-width: 200px; }

.numero {
display: inline-block;
width: 40px;
height: 40px;
line-height: 40px;
background: var(--rouge);
color: white;
border-radius: 50%;
font-weight: bold;
margin-bottom: 10px;
}

.tarif {
font-size: 1.3em;
font-weight: bold;
color: var(--rouge);
}

.mention { font-size: 0.8em; color: #777; }

.contact p { margin: 8px 0; font-size: 1.1em; }
.engagement { color: var(--vert); font-weight: bold; margin-top: 15px; }

.contact-form {
display: flex;
flex-direction: column;
gap: 15px;
max-width: 450px;
margin: 30px auto 0;
text-align: left;
}

.contact-form input,
.contact-form textarea {
padding: 12px 15px;
border: 1px solid #ccc;
border-radius: 6px;
font-family: 'Segoe UI', Arial, sans-serif;
font-size: 1em;
}

.contact-form input:focus,
.contact-form textarea:focus {
outline: none;
border-color: var(--vert);
}

.contact-form button {
cursor: pointer;
border: none;
font-size: 1em;
}

#form-status {
margin: 0;
font-weight: 600;
color: var(--vert);
}

footer {
text-align: center;
padding: 30px;
background: var(--vert);
color: white;
font-style: italic;
}



header {
display: grid;
grid-template-columns: 1fr auto 1fr;
align-items: center;
padding: 10px 0px;
background: var(--beige-clair);
border-bottom: 2px solid var(--vert);

}

.logo {
    grid-column: 1;
font-size: 1.4em;
font-weight: bold;
color: var(--vert);
flex-shrink: 0;
grid-column: 1;
}

.logo span {
font-weight: normal;
font-size: 0.6em;
}

.logo img {
height: 140px;
width: auto;
display: block;
}

.banner {
width: 100%;
overflow: hidden;
white-space: nowrap;
background: #000;
}

.banner-track {
display: flex;
animation: scroll 40s linear infinite;
animation-fill-mode: forwards;
will-change: transform;
}

.banner-track img {
height: 150px;
width: auto;
margin-right: 10px;
object-fit: cover;
}

@keyframes scroll {
0% {
transform: translateX(0);
}

100% {
transform: translateX(calc(-100%/2));
}
}

/* MES FORMULES */ #mes-formules { 
    padding: 60px 20px; 
    background-color: #f9f9f9; 
    text-align: center; 
}

    #mes-formules h2 { 
        font-size: 2.5rem; 
        color: #333; 
        margin-bottom: 40px; 
        font-weight: bold; 
    }

.cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
    max-width: 1200px;
    margin: 0 auto; 
}
    
.card { 
    background-color: white; 
    padding: 30px; 
    border-radius: 10px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15); 
}

.card h3 { 
    font-size: 1.5rem; 
    color: #ff6b6b; 
    margin-bottom: 15px; 
}

.card p { 
    color: #666; 
    line-height: 1.6; 
}

.card-formule {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-formule:hover {
    transform:scale(1.05);
}

@media (max-width: 768px) {
    header {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 15px;
    }

    .logo img { height: 80px; }

    nav {
        grid-column: 1;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 10px;
    }

    nav a { margin-left: 0; }

    .hero { padding: 50px 20px; }

    .hero h1 { font-size: 1.6em; }

    .banner-track img { height: 90px; }

    .pour-qui, .comment, .contact, .plats, .plats-hero {
        padding: 40px 20px;
    }

    .etapes { gap: 25px; }

    .contact-form { max-width: 100%; }
}