body{
    font-family: "Roboto", sans-serif;
}

UL {
    padding: 0px;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
}

header li, 
.marque,
nav {
    display: inline-block;
}

header li {
list-style-type: none;
padding-left: 15px;
}

header li a {
    font-size: 12px;
    font-weight: 300;
    color: #96391C; 
    text-decoration: none;
}

header li a.lien-actif {
    font-weight: bold;
    border-bottom: 2px solid #96391C;
    padding-bottom: 4px;
}

.marque {
    text-decoration: none;
}

.marque a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.marque * {
    display: block;
}

#titre-marque {
    margin: 0;
    font-size: 20px;
    font-weight: bolder;
    color: #96391C;
}

#img-marque{
    width: 26px;
}

.menu-2 img{
    width: 20px;
}

#connexion  {
    background-color: #AB7063;
    color: white;
    border-radius: 12px;
    padding: 3px 10px;
}

p{
    color: #AB7063;
    text-align: center;
}

.presentation{
    display: block;
    padding: auto;
    margin:auto;
    width: 100%;
}

footer{
   color: #AB7063;
}

.footer-text {
  display: flex;
  justify-content:space-between;
  align-items: flex-start;
  gap: 40px;
  margin-top: 10px;
}
.footer-text > div:last-child{
  max-width: 350px;
  text-align: right;
}

#titre-section{
  color: #96391C; 
  font-weight: bolder;
  margin: 0px;
}

#boutton-getit a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #AB7063;
    border-radius: 20px;
    padding: 6px 16px;
    text-decoration: none;
    color: #AB7063;
}

main {
    padding: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.titre-page {
    color: #96391C;
    font-weight: bolder;
    text-align: center;
    margin-bottom: 30px;
}

.grille {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.carte-categorie {
    width: 220px;
    text-decoration: none;
    color: #96391C;
    text-align: center;
    border: 1px solid #E8DCD7;
    border-radius: 12px;
    padding: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carte-categorie:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(150, 57, 28, 0.15);
}

.carte-categorie-icone {
    font-size: 48px;
    text-align: center;
    margin-bottom: 10px;
}

.carte-categorie h3 {
    margin: 0;
    font-size: 16px;
}

.carte-recette {
    width: 260px;
    border: 1px solid #E8DCD7;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.carte-recette:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(150, 57, 28, 0.15);
}

.carte-recette img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.carte-recette-contenu {
    padding: 14px;
}

.carte-recette h3 {
    color: #96391C;
    margin: 0 0 6px 0;
    font-size: 17px;
}

.carte-recette p {
    text-align: left;
    font-size: 13px;
    margin: 0 0 10px 0;
}

.temps-preparation {
    font-size: 12px;
    color: #AB7063;
    font-weight: bold;
}

.lien-bouton {
    display: inline-block;
    margin-top: 10px;
    border: 1px solid #AB7063;
    border-radius: 20px;
    padding: 6px 16px;
    text-decoration: none;
    color: #AB7063;
    font-size: 13px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lien-bouton:hover {
    background-color: #AB7063;
    color: white;
}

.detail-recette {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.detail-recette img {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
}

.detail-recette-texte {
    flex: 1;
    min-width: 260px;
}

.detail-recette-texte h2 {
    color: #96391C;
}

.detail-recette-texte ul {
    list-style: disc;
    padding-left: 20px;
    color: #AB7063;
}

.btn-favori {
    background: none;
    border: 1px solid #AB7063;
    border-radius: 20px;
    padding: 8px 18px;
    color: #AB7063;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-favori.favori-actif {
    background-color: #AB7063;
    color: white;
}

.form-recherche {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.form-recherche input[type="text"] {
    padding: 10px 14px;
    border: 1px solid #AB7063;
    border-radius: 20px;
    width: 320px;
    font-family: "Roboto", sans-serif;
}

.form-recherche button {
    border: 1px solid #AB7063;
    background-color: #AB7063;
    color: white;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
}

.message-vide {
    text-align: center;
    color: #AB7063;
    font-style: italic;
}

.profil-retour {
    display: inline-block;
    margin-bottom: 20px;
    color: #96391C;
    text-decoration: none;
    font-size: 22px;
}

.profil-photo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.profil-photo-icone {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px solid #AB7063;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    background-color: #F3E5E1;
}

.form-profil {
    max-width: 420px;
    margin: 0 auto;
}

.form-profil label {
    display: block;
    color: #96391C;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 6px;
    margin-top: 18px;
}

.form-profil input {
    width: 100%;
    background-color: #F3E5E1;
    border: none;
    border-radius: 10px;
    padding: 12px 14px;
    color: #96391C;
    font-family: "Roboto", sans-serif;
    box-sizing: border-box;
}

.form-profil button {
    width: 100%;
    margin-top: 26px;
    border: 1px solid #AB7063;
    background: none;
    border-radius: 20px;
    padding: 12px;
    color: #AB7063;
    font-weight: bold;
    cursor: pointer;
}

.alerte-erreur {
    background-color: #FFE5E5;
    color: #B71C1C;
    border: 1px solid #F5A3A3;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.alerte-succes {
    background-color: #E8F5E9;
    color: #1B5E20;
    border: 1px solid #A5D6A7;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 10px;
    }
    .grille {
        flex-direction: column;
        align-items: center;
    }
    .detail-recette {
        flex-direction: column;
    }
}
/* --- Avatar --- */
.avatar {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #E8DCD7;
}

.choix-avatar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 20px 0;
    justify-content: center;
}

.pastille-fond,
.pastille-visage {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 20px;
    position: relative;
}

.pastille-visage {
    background-color: #FBEEE6;
}

.pastille-fond input,
.pastille-visage input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pastille-fond:has(input:checked),
.pastille-visage:has(input:checked) {
    border-color: #96391C;
    transform: scale(1.12);
}
