/* Reset & variables */
* { margin:0; padding:0; box-sizing:border-box; }
:root {
  --gold:#FFD700; --navy:#1e3a8a; --bg:#000; --text:#333;
  --font:'Playfair Display', serif;
}
body {
  font-family:var(--font); color:var(--text); background:#fff;
  line-height:1.5;
}
:root { --topbar-h: 50px; } /* plus compact */

/* HEADER & NAV */
header { background:var(--bg); }
.nav-mobile {
  display:flex; flex-direction:column;
  align-items:center; padding:1rem 0;
  padding-top: var(--topbar-h);
}


nav.has-topbar{
  /* garde ton display/flex d’origine */
  position: fixed; /* ou fixed si c’était le cas chez toi */
  top: 0;
  z-index: 4000;
  padding-top: var(--topbar-h); /* décale le contenu du nav sous la topbar */
}

.nav-topbar{
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--topbar-h);
  background-color: #81746b;
  color: #FFFFFF;
  display: flex; align-items: center;
  overflow: hidden;
  z-index: 1;
}

.nav-topbar .swiper{ width: 100%; height: 100%; }
.nav-topbar .swiper-slide{
  display:flex; align-items:center; justify-content:center;
  padding: 0 12px; text-align:center; font-size: 1rem; line-height:0.9; flex-direction: column;
}

/* Si ton nav est en position: fixed; ajoute un offset au premier bloc de page pour éviter l’écrasement */
body.has-fixed-nav .home-section{ margin-top: var(--topbar-h); }

/* Logo & contact */
.nav-mobile .logo img { height:10rem; }
.social-contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
  }
  
  .social-contact svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--gold);
    transition: fill 0.2s;
  }
  
  .phone {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--gold);
    text-decoration: none;
    font-size: 1rem;
  }
  
  .phone:hover svg,
  .phone:hover {
    color: #fff;
    fill: #fff;
  }
  
  

/* MENU TOUJOURS visible */
.menu {
  list-style:none;
  width:100%;
  display:flex; flex-direction:column;
  margin-top:1rem;
}
/* Masquer les puces des UL */
.nav-mobile.menu { list-style: none; margin:0; padding:0; }

/* Masquer le triangle par dÃ©faut du summary */
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::marker { content: none; }

.menu li { border-top:1px solid #444; }
.menu li:first-child { border-top:none; }
.menu a, .menu summary {
  display:block; padding:0.75rem 1rem;
  color:var(--gold); text-decoration:none;
  font-size:1rem;
}
.menu a.active { background:#333; font-weight:bold; font-size:1.1rem; }

.menu a.order,
.menu > a.order {
  background: var(--gold);
  color: #000;
  font-weight: 700;
  border: 1px solid var(--gold);
  padding: 0.75rem 1rem;
  display: block;
}

.order {
  font-weight:bold; font-size:2rem;
  border-top:1px solid #444;
}

/* DÃ©tails / sous-menu */
.menu details {
  background:var(--bg);
}
.menu summary {
  cursor:pointer;
  list-style:none;
}

.menu summary.active {
  background:#333;
  font-weight:bold;
  font-size:1.1rem;
}

.menu .submenu {
  list-style:none;
  background:#111;
}
.menu .submenu li a {
  padding-left:2rem; font-size:0.9rem;
  border-top:1px solid #333;
}

/* MAIN (dÃ©calage header) */
main { padding-top:1rem; }



  html , body {
    margin: 0;
    padding: 0;
    height:100%;
  }
  .section-2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5vh 5vw;
    background-color: white;
  }

  .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3vh;
  }

  .image-container {
    width: 100%;
    max-width: 300px;
  }

  .image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .text-container {
    text-align: center;
    padding: 0 2vw;
  }

  .text-container h2 {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
  }

  .text-container p {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  /* SECTION QUALITÉ */
  .quality-section {
    background-image: url('../images/marbre.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5vh;
    gap: 4vh;
  }

  .quality-image {
    width: 100%;
  }

  .quality-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .quality-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 3vh;
  }

  .quality-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
  }

  .quality-bar span {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .bar {
    width: 80%;
    height: 16px;
    background: #ddd;
    border-radius: 10px;
    overflow: hidden;
  }

  .bar-fill {
    height: 100%;
    background: var(--gold);
    width: 0;
    transition: width 3s ease-in-out;
  }

  @media (min-width: 768px) {
    .section-2 .content {
      flex-direction: row;
      align-items: flex-start;
    }

    .text-container {
      text-align: left;
      padding-left: 5vw;
    }

    .quality-section {
      flex-direction: row;
      height: 90vh;
    }

    .quality-content,
    .quality-image {
      flex: 1;
      height: 100%;
    }

    .quality-image img {
      height: 100%;
    }
  }

  .full-right-section {
    width: 100%;
    /* ne pas fixer la hauteur pour éviter les chevauchements */
    display: flex;
    justify-content: flex-end; /* Aligne le contenu à droite */
    align-items: center;        /* Centre verticalement */
    background-color: #f0f0f0;  /* Couleur de fond ajustable */
    padding: 6vh 5vw;           /* espace interne vertical + horizontal */
  }
  
  .full-left-section {
    width: 100%;
    /* hauteur auto pour s'adapter au contenu */
    display: flex;
    justify-content: flex-start; /* Aligne le contenu à gauche */
    align-items: center;        /* Centre verticalement */
    background-image: url('../images/marbre.jpeg'); /* Chemin de l’image */
    background-size: cover; /* Ajuste l’image pour couvrir toute la page */
    background-position: center; /* Centre l’image */
    background-repeat: no-repeat; /* Empêche la répétition */
    padding: 6vh 0;             /* respiration verticale */
  }

  .text-content-left {
    text-align: left;
    align-items:center;
    /* hauteur auto, pas de 50vh */
    color: white;                /* Couleur du texte */
    background-color: rgba(128, 128, 128, 0.35); /* Gris avec opacité */
    padding: 2vh 5vw 3vh 5vw;
    width: 100%;
  }
  .text-content-left2 {
    text-align: left;
    align-items:center;
    /* hauteur auto */
    color: white;                /* Couleur du texte */
    background-color: rgba(128, 128, 128, 0.35); /* Gris avec opacité */
    padding: 6vh 5vw;
    width: 100%;
  }

  .text-content-left h1{
    color: var(--gold);
    font-size: clamp(1.25rem, 6vw, 1.6rem);
    line-height: 1.2;
    margin: 1vh 0 2vh;
  }

  .text-content-left p{
    font-size: clamp(0.9rem, 4vw, 1rem);
    line-height: 1.55;
    color: white;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .text-content {
    text-align: right;
    color: #333;                /* Couleur du texte */
  }
  .text-content h1{
    color: black;
    font-size: clamp(1.25rem, 6vw, 1.6rem);
    line-height: 1.2;
    margin: 1vh 0 2vh;
  }

  .text-content p{
    font-size: clamp(0.9rem, 4vw, 1rem);
    line-height: 1.55;
    color: black;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .quality-approach {
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10vw;
  }

  .quality-approach h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
  }

  .quality-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
  }

  .quality-item {
    flex: 1;
    background: #f8f8f8;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .quality-item h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: black;
  }

  .quality-item p {
    font-size: 1rem;
    color: #555;
  }

  .quality-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }



  /* Footer */
footer {
  background:var(--bg); color:var(--gold);
  text-align:center; padding:1.5rem 1rem;
}
.footer-content img { height:10rem; }
.footer-content p,
.footer-content a.legal {
  font-size:0.9rem; margin:0.25rem 0; text-decoration:none;
  color:var(--gold);
}
.footer-content a.legal:hover { text-decoration:underline; }
.opening-hours ul {
    list-style: none;   /* supprime les puces */
    margin: 0;          /* supprime la marge par défaut à gauche */
    padding-bottom: 5vh;
  }
  
  .opening-hours li {
    margin: 0;          /* pas de marge verticale supplémentaire */
    padding: 0;         /* pas d’indentation sur les li */
  }