/*
 * -----------------------------------------------------------------------------
 * Les Jardins de l'Orangeraie
 * -----------------------------------------------------------------------------
 * Fichier     : front.css
 * Rôle        : Feuilles de style CSS
 * Auteur      : Alexandre (Studio Bs)
 * Année       : 2026
 * Version     : 1.0.0
 * -----------------------------------------------------------------------------
 */

:root {
    --font: #494949;
    --background: #f3eee9;
    --ticker-edge-fade: var(--background);
    --brun: #5c3b27;
    --brun-hover: #7d553c;
}

html, body {
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1em;
    letter-spacing: 0.05rem;
    color: var(--font);
    margin: 0;
    padding: 0;
    background-color: var(--background);
}

/*
 * -----------------------------------------------------------------------------
 * Splash screen – écran d'introduction
 * -----------------------------------------------------------------------------
 */

#intro-splash {
    position: fixed;
    inset: 0;
    height: 100dvh;
    min-height: var(--app-height, 100vh);
    width: 100%;
    z-index: 9999;
    background-color: var(--background);
    opacity: 1;
    transition: opacity 1.2s ease;
}

#intro-splash .intro-logo {
    max-width: min(500px, 100vw);
    height: auto;
    opacity: 0;
    transform: scale(0.80);
    transition:
            opacity 2s ease,
            transform 2s ease;
}

#intro-splash .intro-slogan {
    color: var(--brun);
    font-size: 0.90rem;
    font-weight: 300;
    opacity: 0;
    text-transform: uppercase;
    letter-spacing: 4px;
    transition: opacity 2s ease;
    transition-delay: 1.8s; /* apparition légèrement après le logo */
}

#intro-splash.is-visible .intro-slogan {
    opacity: 1;
}

@media (max-width: 768px) {
    #intro-splash .intro-logo {
        max-width: 70vw;
    }
    #intro-splash .intro-slogan {
        font-size: 0.65rem;
    }
}

/* Apparition du logo */
#intro-splash.is-visible .intro-logo {
    opacity: 1;
    transform: scale(1);
}

/* Disparition complète de l'écran */
#intro-splash.is-hidden {
    opacity: 0;
    pointer-events: none;
}

/*
 * -----------------------------------------------------------------------------
 * Indicateur de scroll (carrousel)
 * -----------------------------------------------------------------------------
 */

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 999;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
    width: 60px;
    height: 60px;
    color: var(--brun);
    background-color: var(--background);
    font-weight: 800;
    line-height: 1;
    border: 1px solid var(--brun);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-hint i {
    font-size: 28px;
    display: inline-block;
    line-height: 1;

    /* animation douce haut/bas */
    animation: scrollHintFloat 1.6s ease-in-out infinite;
}

@keyframes scrollHintFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* État masqué (piloté par GSAP/ScrollTrigger) */
.scroll-hint.is-hidden {
    opacity: 0;
}

/*
 * -----------------------------------------------------------------------------
 * Bouton menu (hamburger)
 * -----------------------------------------------------------------------------
 */

.menu-toggle {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 10000;

    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--brun);
    background-color: var(--background);
    border: 1px solid var(--brun);

    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;

    /* masqué au démarrage (affiché via JS/GSAP après le splash) */
    opacity: 0;
    pointer-events: none;
}

.menu-toggle i {
    font-size: 26px;
    line-height: 1;
}

.menu-toggle.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.menu-toggle.is-hint {
    animation-name: menuHintPulse;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
    animation-iteration-count: 4;
    animation-fill-mode: both;
}

@keyframes menuHintPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(92, 59, 39, 0.35);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 6px rgba(92, 59, 39, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(92, 59, 39, 0);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        top: 14px;
        right: 14px;
        width: 52px;
        height: 52px;
    }
}

/*
 * -----------------------------------------------------------------------------
 * Carroussel fullscreen (GSAP ScrollTrigger)
 * -----------------------------------------------------------------------------
 */

/*
  Tant que le splash est visible, on évite d'afficher les slides.
  (Le JS pourra ensuite enlever ce state si besoin.)
*/
#carrousel {
    position: relative;
    width: 100%;
}

/* Conteneur : hauteur 100vh, les slides sont superposés */
.carrousel {
    position: relative;
    height: 100dvh;
    min-height: var(--app-height, 100vh);
    width: 100%;
    overflow: hidden;
    background-color: var(--background);
}

.carrousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100dvh;
    min-height: var(--app-height, 100vh);
}

/* Media en background cover */
.carrousel-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--background);
}

/*
  Sécurité : si l'utilisateur a activé 'réduire les animations',
  on évite tout effet et on affiche les 2 images l'une sous l'autre.
*/
@media (prefers-reduced-motion: reduce) {
    .carrousel {
        height: auto;
        overflow: visible;
    }

    .carrousel-slide {
        position: relative;
        height: 100vh;
        opacity: 1;
    }

    .scroll-hint {
        display: none;
    }
}


/* -----------------------------------------------------------------------------
   Menu off-canvas (hamburger)
----------------------------------------------------------------------------- */

.site-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
    z-index: 9998;
}

.site-menu {
    font-family: "parisplus-clair", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 50vw;
    max-width: 50vw; /* garantit 50% de l'écran */
    min-width: 320px;
    background-color: var(--background);
    color: var(--font);
    z-index: 9999;

    transform: translateX(100%);
    transition: transform 320ms ease;

    display: flex;
    flex-direction: column;
}

.site-menu__header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.site-menu__close {
    position: fixed;
    top: 18px;
    right: 18px;
    background: transparent;
    border: 1px solid var(--brun);
    color: var(--brun);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}

.site-menu__close i {
    font-size: 22px;
    line-height: 1;
}

.site-menu__nav {
    flex: 1;                 /* prend toute la hauteur restante */
    display: flex;
    align-items: center;     /* centrage vertical */
    justify-content: center; /* centrage horizontal */
}

.site-menu__list {
    list-style: none;
    padding: 0;
    padding-left: 100px;
    margin: 0;
}

.site-menu__item + .site-menu__item {
    margin-top: 18px;
}

.site-menu__link {
    display: inline-block;
    color: var(--brun);
    text-decoration: none;
    transform: translateX(0);
    transition: transform 500ms ease;
    will-change: transform;
}

.site-menu__link:hover {
    text-decoration: none;
    transform: translateX(15px);
}

.site-menu__secondary {
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-top: 40px;
    font-size: 0.75rem;
    color: var(--font);
    padding-left: 100px;

    display: flex;
    flex-direction: column; /* liens les uns sous les autres */
    gap: 8px;               /* espacement vertical */
}

.site-menu__secondary-link {
    color: inherit;
    text-decoration: none;
    transition: transform 500ms ease;
    will-change: transform;
}

.site-menu__secondary-link:hover {
    text-decoration: none;
    transform: translateX(15px);
}

.site-menu__socials {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.site-menu__social-link {
    color: var(--brun);
    font-size: 1.2rem;
    display: inline-block;          /* sécurité */
    transform: scale(1);
    transition: transform 500ms ease;
    will-change: transform;
}

.site-menu__social-link:hover {
    transform: scale(1.3);
}

/* États ouverts */
body.is-menu-open .site-menu {
    transform: translateX(0);
}

body.is-menu-open .site-menu-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Masque le hamburger quand le menu est ouvert (la croix reste visible) */
body.is-menu-open .menu-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Bloque le scroll du site quand le menu est ouvert */
body.is-menu-open {
    overflow: hidden;
}

/* Mobile : menu plein écran */
@media (max-width: 768px) {
    .site-menu {
        width: 100vw;
        max-width: none;
        min-width: 0;
    }
    .site-menu__list {
        list-style: none;
        padding: 0;
        padding-left: 10px;
        margin: 0;
    }
    .site-menu__socials {
        display: flex;
        gap: 16px;
        margin-bottom: 20px;
    }
    .site-menu__secondary {
        font-family: "forma-djr-text", sans-serif;
        font-weight: 400;
        font-style: normal;
        text-transform: uppercase;
        letter-spacing: 5px;
        margin-top: 20px;
        font-size: 0.75rem;
        color: var(--font);
        padding-left: 10px;

        display: flex;
        flex-direction: column; /* liens les uns sous les autres */
        gap: 8px;               /* espacement vertical */
    }
    .site-menu {
             font-size: 1.5rem;
         }
}

/* -----------------------------------------------------------------------------
   Breadcrumb
----------------------------------------------------------------------------- */

.breadcrumb {
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
}

.breadcrumb a {
    text-decoration: none;
    color: inherit;
}

@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.65rem;
        margin-top: 80px;
    }
}

/* -----------------------------------------------------------------------------
   Présentation
----------------------------------------------------------------------------- */
.presentation,
.chef {
    padding: 100px 0;
}

.presentation-header,
.chef-header {
    margin-bottom: 10px;
}

.presentation h1,
.chef h1 {
    font-family: "parisplus-clair", sans-serif;
    font-size: 4rem;
    margin: 0;
}

.presentation h2,
.chef h2 {
    font-family: "parisplus-clair", sans-serif;
    font-size: 2rem;
    margin-top: 12px;
    margin-bottom: 0;
}

.presentation h2 strong,
.chef h2 strong {
    color: var(--brun);
}

.presentation h3,
.chef h3 {
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.9rem;
}

/* Colonne photo : conteneur (permet parallax interne) */
.presentation-photo {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--brun);
    height: 100%;
    min-height: 650px;
    background-color: var(--background);
}
.chef-photo{
    position: relative;
    overflow: hidden;
    border: 1px solid var(--brun);
    height: 100%;
    min-height: 650px;
    background-color: var(--background);
}

.presentation-photo__img,
.chef-photo__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 150%;
    object-fit: cover;

    /*
     * Parallax: le JS modifie `transform` au scroll.
     * Sans hero/splash, la 1re mise à jour peut être brutale (sursaut/"zoom").
     * -> On force une composition stable + une transition courte et linéaire.
     */
    transform: translate3d(0, 0, 0) scale(1.03);
    transform-origin: center;
    will-change: transform;
    transition: transform 140ms linear;
    backface-visibility: hidden;
}

/* Colonne texte */
.presentation-text,
.chef-text {
    font-size: 1rem;
    line-height: 1.7;
}

.presentation-text p,
.chef-text p {
    margin-bottom: 18px;
}

.presentation-text strong,
.chef-text strong {
    color: var(--brun);
}

/* -----------------------------------------------------------------------------
   Services (présentation) – flat design
----------------------------------------------------------------------------- */

.services{
    --service-bg: #ffffff;
    --service-border: rgba(92, 59, 39, 0.22);
    --service-border-hover: rgba(92, 59, 39, 0.45);
    --service-soft: rgba(92, 59, 39, 0.06);

    list-style: none;
    padding: 0;
    margin: 18px 0 6px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.service{
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 14px 14px;
    /*border: 1px solid var(--service-border);*/
    /*border-radius: 16px;*/

    background: var(--service-bg);

    /* Flat : pas d'ombre, juste un léger contraste */
    transition: transform 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

/* Liseré/halo discret en flat */
.service::before{
    content: "";
    position: absolute;
    inset: 0;
    /*border-radius: 16px;*/
    background: var(--service-bg);
    opacity: 0.9;
    pointer-events: none;
}

.service i{
    position: relative; /* au-dessus du ::before */
    color: var(--brun);
    font-size: 1.25rem;
    line-height: 1;
    flex: 0 0 auto;
}

.service span{
    position: relative; /* au-dessus du ::before */
    font-weight: 600;
    letter-spacing: 0.01rem;
}

/* Hover (desktop) : flat mais vivant */
@media (hover: hover){
    .service:hover{
        border-color: var(--service-border-hover);
        transform: translateY(-2px);
        background-color: #fff;
    }
}

/* Focus clavier */
.service:focus-within{
    outline: 2px solid rgba(92, 59, 39, 0.35);
    outline-offset: 2px;
}

/* Desktop : 4 items sur une ligne */
@media (min-width: 992px){
    .services{
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }
}

/* Mobile : un peu plus compact */
@media (max-width: 480px){
    .service{
        padding: 12px 12px;
        border-radius: 0;
        min-height: 80px;
    }
    .service::before{
        border-radius:0;
        min-height: 80px;
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .presentation,
    .chef {
        padding: 20px;
    }

    .presentation h1,
    .chef h1 {
        font-size: 2.8rem;
    }

    .presentation h2,
    .chef h2 {
        font-size: 1.4rem;
    }

    .presentation-photo,
    .chef-photo {
        min-height: 320px;
        height: auto;
    }

    .presentation-photo__img,
    .chef-photo__img {
        position: relative;
        inset: auto;
        height: auto;
    }
}

/* -----------------------------------------------------------------------------
   Séparation pleine largeur (parallax)
----------------------------------------------------------------------------- */
.separator-parallax {
    position: relative;
    width: 100vw;
    height: 600px;
    overflow: hidden;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-top: 1px solid rgba(92, 59, 39, 0.25);
    border-bottom: 1px solid rgba(92, 59, 39, 0.25);
    background-color: var(--background);
}

.separator-parallax__inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.separator-parallax__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 120%;
    object-fit: cover;

    transform: translate3d(0, 0, 0) scale(1.02);
    transform-origin: center;
    will-change: transform;
    transition: transform 140ms linear;
    backface-visibility: hidden;
}

@media (max-width: 991.98px) {
    .separator-parallax {
        height: 240px;
    }

    .separator-parallax__img {
        height: 130%;
    }
}

/* -----------------------------------------------------------------------------
   Cuisine
----------------------------------------------------------------------------- */

.cuisine {
    padding: 100px 0;
}

.cuisine-header {
    margin-bottom: 10px;
}

.cuisine h1 {
    font-family: "parisplus-clair", sans-serif;
    font-size: 4rem;
    margin: 0;
}

.cuisine h2 {
    font-family: "parisplus-clair", sans-serif;
    font-size: 2rem;
    margin-top: 12px;
    margin-bottom: 0;
}

.cuisine h2 strong {
    color: var(--brun);
}

.cuisine h3 {
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.9rem;
}

/* Colonne photo : conteneur (permet parallax interne) */
.cuisine-photo {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--brun);
    height: 100%;
    min-height: 650px;
    background-color: var(--background);
}

.cuisine-photo__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 150%;
    object-fit: cover;

    transform: translate3d(0, 0, 0) scale(1.03);
    transform-origin: center;
    will-change: transform;
    transition: transform 140ms linear;
    backface-visibility: hidden;
}

/* Colonne texte */
.cuisine-text {
    font-size: 1rem;
    line-height: 1.7;
}

.cuisine-text p {
    margin-bottom: 18px;
}

.cuisine-text strong {
    color: var(--brun);
}

/* Responsive */
@media (max-width: 991.98px) {
    .cuisine {
        padding: 20px;
    }

    .cuisine h1 {
        font-size: 2.8rem;
    }

    .cuisine h2 {
        font-size: 1.4rem;
    }

    .cuisine-photo {
        min-height: 320px;
        height: auto;
    }

    .cuisine-photo__img {
        position: relative;
        inset: auto;
        height: auto;
    }
}

/* -----------------------------------------------------------------------------
   Réserver
----------------------------------------------------------------------------- */

.reserver {
    padding: 100px 0;
}

.reserver-header {
    margin-bottom: 10px;
}

.reserver h1 {
    font-family: "parisplus-clair", sans-serif;
    font-size: 4rem;
    margin: 0;
}

.reserver h2 {
    font-family: "parisplus-clair", sans-serif;
    font-size: 2rem;
    margin-top: 12px;
    margin-bottom: 0;
}

.reserver h2 strong {
    color: var(--brun);
}

.reserver h3 {
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.9rem;
}

/* Colonne photo : conteneur (permet parallax interne) */
.reserver-photo {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--brun);
    height: 100%;
    min-height: 850px;
    background-color: var(--background);
}

.reserver-photo__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 150%;
    object-fit: cover;

    transform: translate3d(0, 0, 0) scale(1.03);
    transform-origin: center;
    will-change: transform;
    transition: transform 140ms linear;
    backface-visibility: hidden;
}

/* Colonne texte */
.reserver-text {
    font-size: 1rem;
    line-height: 1.7;
}

.reserver-text p {
    margin-bottom: 18px;
}

.reserver-text strong {
    color: var(--brun);
}

.reserver input,
.reserver select,
.reserver textarea{
    border-radius: 0;
    border: 1px solid var(--brun);
}

/* Validation Bootstrap : ne pas afficher le vert sur les champs valides */
#reserver .was-validated .form-control:valid,
#reserver .was-validated .form-select:valid,
#reserver .was-validated textarea.form-control:valid{
    border-color: var(--brun) !important;
    background-image: none !important;
    box-shadow: none !important;
}

#reserver .was-validated .form-control:valid:focus,
#reserver .was-validated .form-select:valid:focus,
#reserver .was-validated textarea.form-control:valid:focus{
    border-color: var(--brun) !important;
    box-shadow: none !important;
}

/* Validation Bootstrap : on garde le rouge uniquement quand invalide */
#reserver .was-validated .form-control:invalid,
#reserver .was-validated .form-select:invalid,
#reserver .was-validated textarea.form-control:invalid{
    border-color: #dc3545 !important;
    background-image: none !important;
    box-shadow: none !important;
}

#reserver .was-validated .form-control:invalid:focus,
#reserver .was-validated .form-select:invalid:focus,
#reserver .was-validated textarea.form-control:invalid:focus{
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 .2rem rgba(220, 53, 69, 0.15) !important;
}

/* Validation Bootstrap : input-group icon */
#reserver .was-validated .input-group:has(.form-control:valid) .input-group-text,
#reserver .was-validated .input-group:has(.form-select:valid) .input-group-text{
    border-color: var(--brun) !important;
}

#reserver .was-validated .input-group:has(.form-control:invalid) .input-group-text,
#reserver .was-validated .input-group:has(.form-select:invalid) .input-group-text{
    border-color: #dc3545 !important;
}

.reserver .input-group-text {
    background-color: var(--brun);
    color: #FFFFFF;
    border-radius: 0;
    border: 1px solid var(--brun);
}

.reserver button {
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.9rem;
    border-style: hidden;
    background-color: var(--brun);
    color: #FFFFFF;
    padding: 20px 20px;
    transition: background-color 0.3s ease-in-out;
}

.reserver .alert {
    border-radius: 0;
    background-color: var(--brun);
    color: #FFFFFF;
}

/* Responsive */
@media (max-width: 991.98px) {
    .reserver {
        padding: 20px;
    }

    .reserver h1 {
        font-size: 2.8rem;
    }

    .reserver h2 {
        font-size: 1.4rem;
    }

    .reserver-photo {
        min-height: 320px;
        height: auto;
    }

    .reserver-photo__img {
        position: relative;
        inset: auto;
        height: auto;
    }
}

/* -----------------------------------------------------------------------------
   Contact
----------------------------------------------------------------------------- */

.contact {
    padding: 100px 0;
}

.contact-header {
    margin-bottom: 10px;
}

.contact h1 {
    font-family: "parisplus-clair", sans-serif;
    font-size: 4rem;
    margin: 0;
}

.contact h2 {
    font-family: "parisplus-clair", sans-serif;
    font-size: 2rem;
    margin-top: 12px;
    margin-bottom: 0;
}

.contact h2 strong {
    color: var(--brun);
}

.contact h3 {
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.9rem;
}

.contact a {
    color: var(--brun);
    text-decoration: none;
}

.contact a:hover {
    text-decoration: underline;
}

/* Colonne photo : conteneur (permet parallax interne) */
.contact-photo {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--brun);
    height: 100%;
    min-height: 650px;
    background-color: var(--background);
}

.contact-photo__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 150%;
    object-fit: cover;

    transform: translate3d(0, 0, 0) scale(1.03);
    transform-origin: center;
    will-change: transform;
    transition: transform 140ms linear;
    backface-visibility: hidden;
}

/* Colonne texte */
.contact-text {
    font-size: 1rem;
    line-height: 1.7;
}

.contact-text p {
    margin-bottom: 18px;
}

.contact-text strong {
    color: var(--brun);
}

/* Responsive */
@media (max-width: 991.98px) {
    .contact {
        padding: 20px;
    }

    .contact h1 {
        font-size: 2.8rem;
    }

    .contact h2 {
        font-size: 1.4rem;
    }

    .contact-photo {
        min-height: 320px;
        height: auto;
    }

    .contact-photo__img {
        position: relative;
        inset: auto;
        height: auto;
    }
}

.liens {
    font-family: parisplus-clair, sans-serif;
    color: var(--brun);
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 400;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    transform: translateX(0);
    transition: transform 500ms ease-in-out;
    will-change: transform;
}

.liens:hover,
p:hover > .liens {
    transform: translateX(12px);
}

.liens i {
    display: inline-block;
}

.plats-carousel__viewport{
    overflow: hidden;
    width: 100%;
}

.plats-carousel__track{
    display: flex;               /* pages côte à côte */
    transition: transform 450ms ease;
    will-change: transform;
}

.plats-carousel__page{
    flex: 0 0 100%;              /* chaque page fait la largeur du viewport */
    margin: 0;                   /* bootstrap row a parfois des marges */
}

.plats-carousel__item{
    width: 100%;
    aspect-ratio: 1 / 1;         /* carré */
    border: 1px solid var(--brun);
    background-size: cover;
    background-position: center;
}

.plats-carousel__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}



/* -----------------------------------------------------------------------------
   Menus et carte
----------------------------------------------------------------------------- */

.menus-et-carte {
    padding: 100px 0;
}

.menus-et-carte-header {
    margin-bottom: 10px;
}

.menus-et-carte h1 {
    font-family: "parisplus-clair", sans-serif;
    font-size: 4rem;
    margin: 0;
}

.menus-et-carte h2 {
    font-family: "parisplus-clair", sans-serif;
    font-size: 2rem;
    margin-top: 12px;
    margin-bottom: 0;
}

.menus-et-carte h2 strong {
    color: var(--brun);
}

.menus-et-carte h3 {
    font-family: "forma-djr-text", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.9rem;
}

/* Colonne texte */
.menus-et-carte-text {
    font-size: 1rem;
    line-height: 1.7;
}

.menus-et-carte-text p {
    margin-bottom: 18px;
}

.menus-et-carte-text strong {
    color: var(--brun);
}

/* Boutons */
.menus-et-carte button {
    font-family: parisplus-clair, sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    border-style: hidden;
    background-color: var(--brun);
    color: #FFFFFF;
    padding: 20px 20px;
    transition: background-color 0.3s ease-in-out;
}

.menus-et-carte button:hover {
    background-color: var(--brun-hover);
}

/* Responsive */
@media (max-width: 991.98px) {
    .menus-et-carte {
        padding: 20px;
    }

    .menus-et-carte h1 {
        font-size: 2.8rem;
    }

    .menus-et-carte h2 {
        font-size: 1.4rem;
    }

    .menus-et-carte {
        min-height: 320px;
        height: auto;
    }
}

/* ----------------------------------------------------------------------------
   Menu / Carte panel (right off-canvas) — calé sur le site-menu
---------------------------------------------------------------------------- */

/* Overlay identique au menu principal */
#menu-panel-overlay,
#carte-panel-overlay,
.menu-panel-overlay,
.carte-panel-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
    z-index: 10040;
}

/* Conteneur panneau (mêmes dimensions/typo que .site-menu) */
#menu-panel,
#carte-panel,
.menu-panel,
.carte-panel{
    font-family: "parisplus-clair", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 2.5rem;

    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 50vw;
    max-width: 50vw;
    min-width: 320px;

    background-color: var(--background);
    color: var(--font);
    z-index: 10050;

    transform: translateX(100%);
    transition: transform 320ms ease;

    display: flex;
    flex-direction: column;
}

/* Inner : on neutralise l'ancien wrapper (on garde le HTML) */
.menu-panel__inner,
.carte-panel__inner{
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Bouton fermer identique au menu principal */
.menu-panel__close,
.carte-panel__close{
    position: fixed;
    top: 18px;
    right: 18px;
    background: var(--background);
    border: 1px solid var(--brun);
    color: var(--brun);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
}

/* Contenu scrollable */
.menu-panel__content{
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    padding-top: 110px; /* laisse la place à la croix (comme le site-menu) */
    font-size: 1.1rem;
    text-align: center;

}
.carte-panel__content{
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    padding-top: 110px; /* laisse la place à la croix (comme le site-menu) */
    font-size: 1.1rem;
    text-align: left;
}

/* Agrandit et stabilise la colonne prix dans la carte */
.carte-panel__plat-prix{
    min-width: 6rem;      /* largeur réservée au tarif */
    text-align: right;    /* alignement net */
    white-space: nowrap; /* jamais de retour à la ligne */
}

/* États ouverts (pilotés par JS)
   JS ajoute : body.is-right-panel-open + data-right-panel-open="menu-panel" | "carte-panel" */
body.is-right-panel-open[data-right-panel-open="menu-panel"] #menu-panel,
body.is-right-panel-open[data-right-panel-open="menu-panel"] .menu-panel{
    transform: translateX(0);
}

body.is-right-panel-open[data-right-panel-open="carte-panel"] #carte-panel,
body.is-right-panel-open[data-right-panel-open="carte-panel"] .carte-panel{
    transform: translateX(0);
}

body.is-right-panel-open[data-right-panel-open="menu-panel"] #menu-panel-overlay,
body.is-right-panel-open[data-right-panel-open="menu-panel"] .menu-panel-overlay{
    opacity: 1;
    pointer-events: auto;
}

body.is-right-panel-open[data-right-panel-open="carte-panel"] #carte-panel-overlay,
body.is-right-panel-open[data-right-panel-open="carte-panel"] .carte-panel-overlay{
    opacity: 1;
    pointer-events: auto;
}

/* Bloque le scroll du site quand un panel est ouvert */
body.is-right-panel-open{
    overflow: hidden;
}

/* Masque le hamburger quand un panel est ouvert (la croix reste visible)
   IMPORTANT : `!important` pour surpasser les styles inline posés par GSAP (autoAlpha). */
body.is-right-panel-open #menu-toggle,
body.is-right-panel-open .menu-toggle{
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Mobile : panel plein écran (comme le menu principal) */
@media (max-width: 768px) {
    /* Panels plein écran (comme le menu principal) */
    #menu-panel,
    #carte-panel,
    .menu-panel,
    .carte-panel{
        width: 100vw;
        max-width: none;
        min-width: 0;
        right: 0;
        left: auto;
    }

    .menu-panel__close,
    .carte-panel__close{
        top: 14px;
        right: 14px;
        width: 60px;
        height: 60px;
    }

    .menu-panel__content,
    .carte-panel__content{
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* -----------------------------------------------------------------------------
   Footer
----------------------------------------------------------------------------- */

.footer {
    background-color: var(--brun);
    color: var(--background);
}

.footer h2 {
    font-family: parisplus-clair, sans-serif;
    font-size: 1.8rem;
}

.footer a {
    color: var(--background);
    text-decoration: none;
}

.footer i{
    font-size: 1.5rem;
}

.leaflet-parking-icon i {
    font-size: 32px;
    color: #1e88e5; /* bleu parking */
    background: white;
    border-radius: 6px;
    padding: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
}