body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    height: 100%;
    overflow: hidden;
}

.page-wrapper {
    width: 100%;
    height: 100%;
    overflow-x: hidden; 
 
    overflow-y: auto; 
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    
    position: relative;
}

/* ======================================================================
   ELEMENTS RÉUTILISABLES
====================================================================== */

.hero-section, .about-section, .team-section, .must-have-section, .commitments-section, .info-section {
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    align-items: center;
    padding-top: 80px;
    
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
}

.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
            url('../images/fond-pizza.jpg');
}

.about-section{
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
            url('../images/fond-restaurant.jpg');
}

.team-section{
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
            url('../images/fond-restaurant2.jpg');
}

.must-have-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
            url('../images/fond-restaurant.jpg');
}

.commitments-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
            url('../images/fond-restaurant2.jpg');
}

.info-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
            url('../images/fond-restaurant.jpg');
}

.hero-container, .about-container, .team-container, .must-have-container, .commitments-container, .info-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.hero-container {
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.about-container {
    max-width: 1200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 40px;
}

.team-container, .must-have-container, .commitments-container {
    max-width: 1200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 60px;
}

.info-container {
    max-width: 1200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 60px;
}

.title {
    font-family: 'Abril Fatface', serif;
    font-size: 4rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 60px;
}

.reveal, .reveal-right, .reveal-left {
    animation-fill-mode: both;
    animation-timeline: view();
    animation-range: cover 0% cover 50%;
}

.reveal {
    animation-name: scroll-fade-up;
}

.reveal-right {
    animation-name: scroll-fade-right;
}

.reveal-left {
    animation-name: scroll-fade-left;
}

/* ======================================================================
   SECTION BIENVENUE
====================================================================== */

/* Conteneur de gauche de la section héro pour le titre de la page */
.hero-left {
    flex: 1;
    text-align: left;
    min-width: 0;
}

/* Style du titre principal de la section héro */
.hero-left h1 {
    color: #ffffff;
    font-size: clamp(2.2rem, 4vw + 1.5rem, 5.2rem);
    font-weight: 800;
    line-height: 1;
    max-width: 650px;
    margin-bottom: 30px;
    font-family: 'Abril Fatface', serif;
    
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.2s;
}

/* Style du bouton rouge de la section héro */
.btn-red {
    display: inline-block;
    background-color: rgba(255, 4, 4, 0.55);
    color: #ffffff;
    text-decoration: none;
    padding: 20px 20px;
    font-weight: 700;
    border-radius: 15px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 4, 4, 0.4);
    backdrop-filter: blur(4px);

    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s;
}

/* Style du bouton rouge de la section héro au survol */
.btn-red:hover {
    background-color: rgba(255, 4, 4, 0.8);
}

/* Conteneur de droite de la section héro pour l'image */
.hero-right-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Style de l'image des dirigeants dans la section héro */
.executives-img {
    max-width: 100%;
    max-height: 550px;
    object-fit: contain;

    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.2s;
}

/* Conteneur de l'indicateur de défilement avec animation de rebond */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 5;
    text-decoration: none;
    animation: scrollBounce 5s infinite;
}

/* Dessin des flèches en CSS pur */
.scroll-indicator span {
    display: block;
    width: 15px;
    height: 15px;
    border-bottom: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
    transform: rotate(45deg);

}

/* Petit effet de décalage pour donner du style au double chevron */
.scroll-indicator span:nth-child(2) {
    margin-top: -8px;
}

/* ======================================================================
   SECTION NOTRE HISTOIRE
====================================================================== */

/* Zone qui contient les deux colonnes */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* --- BLOC DE GAUCHE : SUPERPOSITION DES IMAGES --- */
.about-left-images {
    flex: 1;
    position: relative;
    height: 400px;
}

/* Image 1 : En bas à droite */
.img-base {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 75%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    z-index: 1;
}

/* Image 2 : Au-dessus, décalée en diagonale en haut à gauche */
.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    z-index: 2;
}

/* Bloc de droite : Texte de présentation */
.about-right-text {
    flex: 1;
    color: #ffffff;
    font-family: 'Cormorant Garamond', Georgia, serif;
    text-align: center;
}

.about-right-text p {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.welcome-message {
    font-size: 1.8rem;
    font-weight: 600;
}

.text-green {
    color: #327C74;
    font-weight: 700;
}

.text-red {
    color: #FF0404;
    font-weight: 700;
}

/* ======================================================================
   SECTION LES DIRIGEANTS
====================================================================== */

/* Conteneur du titre avec image */
.team-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

/* Style de l'image */
.header-image {
    position: absolute;
    left: 0px;
    max-height: 200px;
}

/* Section pour les 3 dirigeants */
.team-grid {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 120px;
    flex-wrap: wrap;
}

/* Photo d'un dirigeant */
.member-card {
    position: relative;
    cursor: pointer;
}

.member-photo-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    display: block;
}

.member-photo-main {
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-card:hover .member-photo-main {
    transform: scale(1.05);
}

/* Détail d'un dirigeant */
.member-details-popover {
    position: absolute;
    top: -10px;
    left: -60px;
    width: 350px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    overflow: hidden;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.member-card:hover .member-details-popover {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.popover-header {
    height: 120px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.popover-header-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 15px;
}

.popover-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.popover-name {
    color: #fff;
    margin: 0;
    font-size: 1.2rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.popover-body {
    background: #D9D9D9;
    padding: 20px;
    text-align: left;
}

.popover-role {
    margin: 0 0 10px 0;
    color: black;
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 600;
}

.popover-desc {
    margin: 0;
    color: black;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ======================================================================
   SECTION LES INCONTOURNABLES
====================================================================== */

/* Grille pour aligner les 3 cadres */
.must-have-grid {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
}

/* Style des cadres */
.dish-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 0.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 320px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.dish-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.7);
}

/* Zone Image du haut */
.dish-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.dish-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Zone Infos (Titre + Description) */
.dish-info {
    padding: 20px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.dish-title {
    font-size: 1.6rem;
    margin: 0;
    letter-spacing: 0.5px;
}

.dish-desc {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #e0e0e0;
    margin: 0;
}

/* Alignement du bouton à droite tout en bas */
.must-have-footer {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

/* ======================================================================
   SECTION NOS VALEURS
====================================================================== */

/* Conteneur du titre avec image */
.values-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

/* Style de l'image */
.values-image {
    position: absolute;
    right: 0px;
    max-height: 150px;
}

/* Style de la grille */
.commitments-grid {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 120px;
    flex-wrap: wrap;
    padding-top: 40px;
}

/* Style de chaque colonne */
.commitment-item {
    display: flex;
    flex: 1 1 250px;
    max-width: 320px;
    min-width: 0;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}

/* Conteneur de l'icône */
.commitment-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.commitment-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Titre sous l'icône */
.commitment-title {
    font-family: 'Abril Fatface', serif;
    font-size: 1.8rem;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: 0.5px;
}

/* Description sous le titre */
.commitment-desc {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #b3b3b3; 
    margin: 0;
    max-width: 320px; 
}

/* ======================================================================
   INFORMATIONS PRATIQUES
====================================================================== */

/* Grille à 3 colonnes */
.info-grid {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 65px;
}

/* Chaque bloc d'information */
.info-card {
    display: flex;
    flex: 1 1 170px;
    max-width: 320px;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #FFF;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.info-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* ======================================================================
   AJUSTEMENTS RESPONSIVE (Mobiles et tablettes)
====================================================================== */

@media screen and (max-width: 1200px) {
    .page-wrapper {
        scroll-snap-type: none;
    }
}

@media screen and (max-width: 1024px) {
    html {
        scroll-snap-type: none !important; 
    }

    .hero-section {
        min-height: 100vh;
    }

    .hero-section, .about-section, .team-section, .must-have-section, .commitments-section, .info-section {
        height: auto;
        scroll-snap-align: none;
        scroll-snap-stop: normal;
        padding-top: 120px; 
        padding-bottom: 60px;
    }

    .team-container{
        padding-bottom: 80px !important; 
    }

    .must-have-container{
        padding-bottom: 70px !important; 
    }

    .header-image{
        max-height: 150px;
    }

    .values-image{
        max-height: 150px;
    }

    /* A modifier selon la taille du texte des plats dans les incontournables */
    .dish-card{
        height: 350px;
    }

    .team-grid {
        gap: 90px;
    }

    .info-grid {
        flex-direction: column;
        align-items: center !important;
        gap: 50px;
        padding-top: 30px;
    }

    .info-card {
        max-width: 100%;
    }
}

@media screen and (max-width: 992px) {
    html, body {
        overflow-x: hidden !important;
    }
    
    html {
        scroll-snap-type: none;
    }

    .hero-section {
        min-height: 100vh;
    }

    .hero-section, .about-section, .team-section, .must-have-section, .commitments-section, .info-section {
        height: auto;
        scroll-snap-align: none;
        scroll-snap-stop: normal;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .about-section, .team-section, .must-have-section, .commitments-section, .info-section {
        padding-top: 50px;
        padding-bottom: 20px;
    }

    .commitments-grid {
        gap: 50px !important;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-left {
        text-align: center;
    }

    .hero-left h1 {
        max-width: 100%;
        font-size: 2.5rem;
    }

    .executives-img {
        max-height: 350px;
    }

    .scroll-indicator {
        display: none;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-left-images {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }

    .img-base {
        display: none;
    }

    .img-overlay {
        position: static;
        width: 80%;
        align-self: center;
        height: auto;
        object-fit: cover;
    }

    .about-right-text {
        text-align: center;
        padding: 0 10px;
    }

    .about-right-text p {
        font-size: 1rem;
    }

    .welcome-message {
        font-size: 1.5rem !important;
    }

    .title{
        font-size: 2.5rem;
        margin-bottom: 60px;
    }

    .team-header {
        display: block;
        text-align: center;
        margin-bottom: 40px;
    }

    .values-header {
        display: block;
        text-align: center;
        margin-bottom: 40px;
    }

    .header-image {
        display: none;
    }

    .values-image{
        display: none;
    }

    .team-grid {
        gap: 80px;
        width: 100%;
    }

    .must-have-grid {
        flex-direction: column;
        gap: 30px;
    }

    .dish-card {
        max-width: 500px;
        width: 100%;
        height: auto;
    }

    .must-have-footer {
        justify-content: center !important;
        margin-top: 30px;
    }

    .must-have-section .title, .info-section .title {
        word-wrap: break-word;
        max-width: 90%;
        margin: 0 auto 60px auto;
    }

    .btn-red {
        font-size: 0.70rem;
        padding: 15px 15px;
        border-radius: 12px;
    }

    .member-details-popover {
        left: -40px;
        width: 300px;
    }

    .dish-title {
        font-size: 1.5rem;
    }

    .text-red {
        font-size: 1.5rem;
    }

    .text-green {
        font-size: 1.5rem;
    }

    .commitment-title{
        font-size: 1.5rem;
    }

    .commitment-desc{
        font-size: 1rem;
    }
}

/* ======================================================================
   ANIMATIONS
====================================================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -15px);
    }
    60% {
        transform: translate(-50%, -7px);
    }
}

@keyframes scroll-fade-up {
    from { 
        opacity: 0; 
        transform: translateY(100px) scale(0.92);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
    }
}

@keyframes scroll-fade-right {
    from { 
        opacity: 0; 
        transform: translateX(100px) scale(0.92);
    }
    to { 
        opacity: 1; 
        transform: translateX(0) scale(1);
    }
}

@keyframes scroll-fade-left {
    from { 
        opacity: 0; 
        transform: translateX(-100px) scale(0.92);
    }
    to { 
        opacity: 1; 
        transform: translateX(0) scale(1);
    }
}