html, body {
    margin: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    overflow: hidden; /* seul scroll interne possible */
}

.intro-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    pointer-events: none;
}

.intro-image {
    max-width: 50%;
    height: auto;
    transition: transform 1s ease, opacity 1s ease;
}


/* état caché */
#intro.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

body {
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(
        to bottom,
        #FFEBBA 1%,
        white 10%,
        white 100%
    );
}

.infos_gauches .ligne,
.infos_droites .ligne {
    display: block;                   /* chaque ligne sur sa propre ligne */
    border-bottom: 1.5px solid black; /* ligne sous chaque texte */
    padding-bottom: 1px;              /* espace entre texte et ligne */
    margin-bottom: 1px;               /* espace entre les lignes */
    width: 90%;
}

/* Colonnes distinctes */
.colonne_gauche {
    grid-column: 1 / 2;  /* reste sur la première colonne du grid */
}

.colonne_droite {
    grid-column: 2 / 3;  /* reste sur la deuxième colonne */
}


.infos_gauches,
.infos_droites {
    margin: 0;       /* supprime toutes les marges par défaut */
    padding: 0;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0px;
    position:relative
}


/*
.infos_gauches::after,
.infos_droites::after {
    content: "";
    display: block;
    width: 90%;
    height: 1.5px;
    background: black;
    margin-top: 6px;
}*/

.infos_haut {
    position: relative;
    color: black;
   /* margin-left: 10px;*/
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
      /* text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    text-decoration-color: black;*/

}


.boutons_resa {
    display: flex;
    cursor: pointer;

}

.bouton1 {
    flex: 1;
    margin-left: 40px;
    box-shadow: 5px 5px 5px grey;
    background-color: white;
    border-radius: 10px;
    border: 1px solid black;
    height: 30px;
    margin-top: 10px;
    font-size: 15px;
    cursor: pointer;
}

.bouton2 {
    flex: 1;
    margin-right: 30px;
    margin-left: 10px;
    box-shadow: 5px 5px 5px grey;
    background-color: #474644;
    color: white;
    border-radius: 10px;
    border: 1px solid black;
    height: 30px;
    margin-top: 10px;
    font-size: 15px;
    cursor: pointer;
}

.zone_image {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    margin-top: 20px;
}

.image_gauche {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    /*margin-left: -5px;*/
}

.colonne_image {
    width: 100%;
}

.colonne_image img {
    display: block;
}

.colonne1 {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}

.colonne1 img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.credit_image {
    font-size: 10px;
    color: #555;
    margin-top: 6px;
}

.colonne_gauche {
    display: flex;
    flex-direction: column;
}

.titre_image {
    flex: 1;
    font-weight: bold;
    font-size: 30px;
    margin: 0px 0px 0px 0px;
    /*text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
    text-decoration-color: black;*/
}

.titre_image::after {
    content: "";
    display: block;
    width: 90%;
    height: 1.5px;
    background: black;
    margin-top: 6px;

}

section {
    display: none;
    padding: 40px 20px;
    overflow-y: auto;
    flex: 1; /* PREND TOUT L’ESPACE DISPONIBLE */
}

.section.active {
    display: block;
}


.commande-mail {
    color: #FFD700; /* doré, ou ce que tu veux */
    text-decoration: none; /* si tu veux enlever le souligné */
    font-size: 14px;
}
.commande-mail:hover {
    text-decoration: underline;
    cursor: pointer;

}

.texte_svg {
    text-align: left;
    margin-top: 12px;
}

.colonne2_3 {
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Exemple simple pour le texte */
.colonne2_3 section {
    margin-bottom: 40px;
}

.colonnes2_3_produit img {
    width: 100vh;
    height: auto;
    display: block;
}

/* MENU HAUT */
.navbar {
    padding: 10px;
    justify-self: end;
    text-align: right;
    margin-right: 10px;
}

.dropbtn {
    background: none;
    cursor: pointer;
    font-size: 30px;
    font-weight: 100;
    color: black;
    border: none;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #f9f9f9;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    display: block;
    padding: 12px 16px;
    color: black;
    text-decoration: none;
}

.dropdown-content a:hover {
    background: #e0e0e0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.bouton_menu {
    grid-column: 2 / 4;
    display: flex;
    position: fixed;

}

/* Fixer le footer en bas de la colonne 2/3 */
.colonnes2_3_produit {
    grid-column: 2 / 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* espace entre contenu et footer */
    align-items: center;
    height: 80vh; /* ou la hauteur que tu veux pour la zone */
}

section.active {
    display: block;
    width: 100%;
}

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    left: 33.333%;   /* commence à la colonne 2 */
    width: 66.666%;  /* s’étend sur colonne 2-3 */
    height: 80px;
    background: white;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;

}

/* Ligne menu à l'intérieur du footer */
.ligne_menu {
    display: flex;
    flex-direction: column;
    width: 80%;
    gap: 12px;

}

.boutons_menu {
    display: flex;
    justify-content: space-between;
    width: 100%;

}

.boutons_menu button {
    background-color: white;
    border-radius: 10px;
    border: 1px solid black;

    padding: 6px 14px;          /* ← espace autour du texte */
    min-width: 120px;           /* ← largeur minimale cohérente */

    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: black;
    cursor: pointer;

    transition: background-color 0.2s ease, transform 0.1s ease;
}

.boutons_menu button:hover {
    background-color: #f3f3f3;
}

.boutons_menu button.active {
    background-color: black;
    color: white;
    border-color: black;
}

/* Social icons */
.social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.social-icons {
    display: flex;
    flex-direction: row;   /* côte à côte */
    gap: 12px;
    justify-content: center;
    align-items: center;
}


.social-icons img {
    width: 30px;
    height: 20px;
    object-fit: contain;

}

.social-icons i {
    font-size: 26px;
    color: #3b2f1d;

}

.mail {
    text-align: center;
    font-size: 14px;
}

.footer .social {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* centré verticalement */
    gap: 4px;
}

.footer .mail {
    text-align: center;
    font-size: 14px;
    margin-top: 2px;
}

/*menu bouton résa*/

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}

/* OVERLAY RESERVATION */

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
}

.overlay a {
    padding: 12px;
    text-decoration: none;
    font-size: 32px;
    color: #bbb;
    display: block;
    transition: 0.3s;
}

.overlay a:hover {
    color: #fff;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 60px;
    color: white;
    cursor: pointer;
}

/* OVERLAY RESERVATION 2 */

.overlay2 {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content2 {
    position: relative;
    top: 25%;
    width: 90%;
    color: white;
    max-width: 70ch;     /* largeur étroite = peu de mots par ligne */
    margin: 30px auto;    /* bloc centré horizontalement */
    line-height: 1.5;
    text-align: justify;  /* texte justifié */
    text-justify: inter-word;
}


.overlay2 a {
    padding: 12px;
    text-decoration: none;
    font-size: 32px;
    color: white;
    display: block;
    transition: 0.3s;
}

.overlay2 a:hover {
    color: #fff;
}

.overlay2 .closebtn {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 60px;
    color: white;
    cursor: pointer;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px; /* ou 16px si tu veux serré */
}


.contact-grid h2 {
    margin-top: 0;
    margin-bottom: 12px;
}


.contact-grid p {
    margin-bottom: 20px;
    line-height: 1.5;
}

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

@media (max-width: 900px) {
  html, body {
    overflow: auto;
    height: auto;
  }

  .intro-image {
    max-width: 80%;
  }

  .infos_haut {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 0 10px;
  }

  .infos_gauches,
  .infos_droites {
    font-size: 13px;
  }

  .colonne_gauche,
  .colonne_droite {
    grid-column: auto;
  }

  .colonne_gauche {
    order: 0;
  }

  .colonne_droite {
    order: 1;
  }

  .navbar {
    justify-self: end;
    order: -1;
    margin-right: 15px;
    position: fixed;
    z-index: 1;
  }

  .dropdown:focus-within .dropdown-content {
    display: block;
  }

  .boutons_resa {
    flex-wrap: wrap;
  }

.titre_image {
    order: -1;
    flex: 1 1 100%;
    font-size: 22px;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
  }

  .bouton1 {
    margin-left: 10px;
    padding: 10px;
    box-sizing: border-box;
    height: auto;
  }

  .bouton2 {
    margin-right: 10px;
    padding: 10px;
    box-sizing: border-box;
    height: auto;
  }

  .zone_image {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .colonne_image,
  .colonnes2_3_produit {
    grid-column: auto;
  }

  .image_gauche {
    max-height: none;
  }

  .colonnes2_3_produit {
    height: auto;
    padding: 10px;
    box-sizing: border-box;
  }

  section {
    overflow: visible;
    padding: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .colonnegauche {
    position: static;
  }

  .overlay-content2 {
    font-size: 1.5em;
  }

  .overlay-content2 a {
    font-size: 1.4em !important;
    text-align: center;
  }

  .footer {
    position: static;
    width: 100%;
    height: auto;
    padding: 16px 10px;
  }

  .ligne_menu {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }

  .boutons_menu {
    flex-wrap: wrap;
    gap: 8px;
  }

  .boutons_menu button {
    min-width: 0;
    flex: 1 1 40%;
  }
}

.col-resto a {
    color: black;       /* ou la couleur que tu veux */
    text-decoration: none;
}

.col-resto a:visited {
    color: black;
}

.col-resto a:hover {
    text-decoration: underline; /* optionnel */
}

.col-resto a:last-child {
    text-decoration: underline;
}

.col-magasin a {
    color: black;       /* ou la couleur que tu veux */
    text-decoration: none;
}

.col-magasin a:visited {
    color: black;
}

.col-magasin a:hover {
    text-decoration: underline; /* optionnel */
}

.col-magasin a:last-child {
    text-decoration: underline;
}

.resto-name {
    font-weight: 700;
}

.class-link,
.class-link:visited {
    color: black;
    text-decoration: none;
}

.class-link:hover {
    color: black;
    text-decoration: none;
}

.svg_titre {
    display: block;
    line-height: 0;
    margin-top: 4px; /* ajustable */
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px auto; /* moins d’air en dessous */
}

.prix-grid {
    display: grid;
    /* grid-template-columns: 1.2fr 0.8fr; */
    grid-template-columns: 1fr 1fr;
/*     gap: 40px; */
    gap: 20px;
    align-items: start;
    line-height: 1.5; /* ajout MAX */
}

.prix-colonne1 p {
    margin-top: 0;
    margin-bottom: 16px;
    line-height: 1.6;
}

.prix-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.colonnegauche {
     position: sticky;
    top: 20px; /* distance depuis le haut */
    align-self: flex-start;
}

.colonnedroite {
    overflow-y: auto;
    padding-right: 10px; /* évite que le texte colle à la scrollbar */
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.projet-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.overlay2 .commande-mail {
    font-size: 14px;
    display: inline-block;
}
