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

html{
    scroll-behavior: smooth;
}

body{
    font-family: Arial, sans-serif;
    background-color: #f5efe7;
    color: #2b1b12;
    line-height: 1.6;
    padding-bottom: 40px;
    margin: 0;
}


.hero{

    background-color: #d4cbc8;

    height: 760px;

    display: flex;

    align-items: center;

    padding: 0 80px;

}

.logo{
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 1px;
}

.menu{
    display: flex;
    gap: 40px;
    list-style: none;
}

.menu a{
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: 0.3s;
}

.menu a:hover{
    color: #c89b6d;
}

.subtitle{
    color: #3a2417;
    font-size: 19px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h1{
    font-size: 65px;
    line-height: 1.1;
    margin-bottom: 30px;
    color: white;
}

.hero-text{
    font-size: 20px;
    margin-bottom: 40px;
    color: #ffffff;
}

.button{
    display: inline-block;

    padding: 16px 35px;

    background-color: #c89b6d;

    color: white;
    text-decoration: none;
    font-weight: bold;

    border-radius: 40px;

    transition: 0.3s;
}

.button:hover{
    background-color: #8d5b2d;
}

/* SECTIONS */

section{
    padding: 100px 20px;
}

.container{
    max-width: 1100px;
    margin: auto;
}

/* PRESENTATION */

.presentation{

    text-align: center;

    background-color: #f5efe7;

    padding: 40px 20px;

}

.presentation h2{
    font-size: 42px;
    margin-bottom: 30px;
    color: #3a2417;
}

.presentation p{
    max-width: 850px;
    margin: 0 auto 20px;
    font-size: 20px;
}

/* CARDS */

.engagements{
    background-color: #fffaf4;
}

.cards{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card{
    background-color: white;

    padding: 40px 30px;

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    transition: 0.3s;
}

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

.card h3{
    font-size: 25px;
    margin-bottom: 20px;
    color: #7a4a24;
}

.card p{
    font-size: 18px;
}

.contact{
    text-align: center;
    background-color: #f5efe7;
}

.contact h2{
    font-size: 40px;
    margin-bottom: 25px;
}

.contact p{
    font-size: 19px;
    margin-bottom: 30px;
}

.mail{
    display: inline-block;

    padding: 16px 30px;

    border: 2px solid #7a4a24;

    border-radius: 40px;

    text-decoration: none;

    color: #2b1b12;

    font-weight: bold;

    transition: 0.3s;
}

.mail:hover{
    background-color: #7a4a24;
    color: white;
}

@media(max-width: 900px){

    .hero{
        padding: 30px;
    }

    .navbar{
        flex-direction: column;
        gap: 20px;
    }

    .menu{
        gap: 20px;
    }

    .hero-content h1{
        font-size: 45px;
    }

    .cards{
        grid-template-columns: 1fr;
    }
}

/* HERO LEFT / RIGHT */

.hero-content{

    display: flex;

    align-items: center;

    justify-content: space-between;

    max-width: 1400px;

    margin: auto;

    margin-top: 140px;

    padding-top: 80px;

}

.hero-left{

    width: 50%;

    padding-left: 60px;

}

.hero-right{

    width: 50%;

    display: flex;

    justify-content: flex-end;

    transform: translateX(120px);

}

.hero-right img{

    width: 680px;

    height: auto;

    border-radius: 20px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.35);

    transition: opacity 1.8s ease-in-out;

}

@media(max-width: 900px){
    .hero-content{
        flex-direction: column;
        text-align: center;
    }

    .hero-left,
    .hero-right{
        width: 100%;
    }

    .hero-right{
        justify-content: center;
    }

    .hero-right img{
        width: 260px;
        height: 260px;
    }
}

.card img{
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 25px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-background {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-image {
    width: 120%;
    height: 100%;
    object-fit: cover;
    object-position: center;

    display: block;
}

.menu a{

    color: white;

    text-decoration: none;

    font-size: 18px;

}

.search-bar input{

    padding: 10px 18px;

    border: none;

    border-radius: 30px;

    background-color: #f5f1eb;

    width: 220px;

    outline: none;

    font-size: 15px;

}

.menu a{

    color: white;

    text-decoration: none;

    font-size: 28px;

    font-family: "Times New Roman", serif;

    letter-spacing: 1px;

}

.menu a:hover{

    color: #c89b6d;

}

body{

    margin: 0;

    padding-top: 140px;

}

.logo{

    font-size: 37px;

    font-family: "Times New Roman", serif;

    letter-spacing: 4px;

    color: white;

}

.search-bar{

    margin-right: 50px;

}

.logo {
  display: inline-flex;
  align-items: flex-start;
}

.registered {
  font-size: 20px;
  font-weight: bold;
  position: relative;
  left: 60px;   /* Plus à gauche */
  top: -18px;    /* Plus haut */
  line-height: 1;
}

.logo-container {
    justify-self: start;
}


body .navbar .nav-center {
    justify-self: center;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

body .navbar .menu {
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

/* ==============================
   NAVBAR COMMUNE À TOUTES LES PAGES
   ============================== */

.navbar {
    width: 100%;
    min-height: 140px;

    background-color: #4a3428;
    padding: 5px 60px;

    display: flex;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    margin: 0;
    box-sizing: border-box;
}

/* Logo à gauche */
.navbar .logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* Menu au centre exact de la page */
.navbar .nav-center{
    position: absolute;
    left: 35%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* Liens de navigation */
.navbar .menu {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 45px;

    margin: 0;
    padding: 0;

    list-style: none;
    white-space: nowrap;
}

.navbar .menu li {
    margin: 0;
    padding: 0;
}

.nav-center{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 900px;
}

.menu{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;

    width: 100%;

    margin: 0;
    padding: 0;

    list-style: none;
}