/* 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: 46px; } /* plus compact (réduit) */

/* 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 8px; text-align:center;
  /* taille encore réduite pour mieux tenir sur une ligne */
  font-size: clamp(0.72rem, 2.3vw, 0.95rem);
  line-height: 1.1;
  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;
}

#site-header { visibility: hidden; }
#site-header.ready { visibility: visible; }

/* Ajuste dynamiquement la hauteur du bandeau sur les très petits écrans
   pour permettre 2 lignes sans chevauchement du contenu */
@media (max-width: 390px) {
  :root { --topbar-h: 52px; }
}
@media (max-width: 340px) {
  :root { --topbar-h: 58px; }
}
@media (max-width: 310px) {
  :root { --topbar-h: 64px; }
}



/* MAIN (dÃ©calage header) */
main { padding-top:1rem; }
/* CAROUSEL */
.carousel {
  position:relative; overflow:hidden;
  width:100%; height:60vw;
}
.slides {
  display:flex; transition:transform 0.5s ease;
}
.slides a { min-width:100%; display:block; }
.carousel img { width:100%; display:block; }
.prev, .next {
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(0,0,0,0.4); border:none;
  color:var(--gold); font-size:1.5rem; padding:0.5rem;
  cursor:pointer;
}
.prev { left:0.5rem; } .next { right:0.5rem; }
.dots {
  position:absolute; bottom:0.5rem; left:50%;
  transform:translateX(-50%); display:flex; gap:0.5rem;
  background-color: #000;
  border-radius: 10px;
}
.dot {
  width:0.75rem; height:0.75rem; border-radius:50%;
  background:rgba(255,255,255,0.5); cursor:pointer;
}
.dot.active {
  background:var(--gold); transform:scale(1.2);
}

.cta-section {
    position:absolute; bottom:0.5rem; left:50%;
    transform:translateX(-50%); display:flex; gap:0.5rem;
    margin-top: 5vh;
}

/* Style de base (même look que desktop, pas pleine largeur) */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  text-decoration: none;
  padding: 0.45rem 1rem;      /* ← plus petit (hauteur/largeur réduites) */
  border: 2px solid var(--gold);
  border-radius: 999px;
  font-size: 0.9rem;          /* ← texte plus fin */
  line-height: 1;
  box-shadow: 0 3px 8px rgba(0,0,0,.2);
  transition: all .25s ease;
  text-align: center;
}

.cta:hover,
.cta:focus {
  background: transparent;
  color: var(--gold);
  outline: none;
}

/* Variante overlay : positionnée sur le carousel */
.cta--overlay {
  position: absolute;
  left: 50%;
  bottom: 10vw;                  /* ajuste la hauteur selon tes images */
  transform: translateX(-50%);
  z-index: 3;                    /* au-dessus des flèches et de l’image */
}

/* Variante inline : sous le texte de la section highlight */
.cta--inline {
  margin-top: 1rem;
}


/* SECTION HIGHLIGHT */
.highlight {
  display:flex; flex-direction:column;
  align-items:center; padding:1rem;
}
.highlight img { width:100%; }
.highlight .text { text-align:center; margin-top:1rem; }
.highlight h2 { color:var(--gold); font-size:1.5rem; }
.highlight p { font-size:1rem; }

/* Ajoute un petit espace au-dessus des CTA des sections highlight */
.highlight .text .cta { margin-top: 0.75rem; }

/* SECTION INSTAGRAM */
.instagram {
  padding:1rem;
  background:url('../images/marbre.jpeg') center/cover no-repeat;
  height: auto;
  width:100%;
}

/* Newsletter - mobile */
.m-newsletter{
  background:url('../images/marbre.jpeg') center/cover no-repeat;
  padding: 1.25rem 1rem 1.5rem;
  /* Temporarily hide newsletter on mobile until Brevo integration */
  display: none !important;
}
.m-newsletter__container{ display:flex; flex-direction:column; gap:1rem; max-width: 900px; margin: 0 auto; }
.m-newsletter__card{ background:#fff; border-radius:14px; padding:1rem 1.1rem; box-shadow:0 6px 18px rgba(0,0,0,.12); }
.m-newsletter__card h2{ color:var(--gold); font-size:1.4rem; margin-bottom:.5rem; }
.m-newsletter__card p{ font-size:1rem; color:#333; margin:0 0 .75rem; }
.m-newsletter__form{ display:flex; flex-direction:column; gap:.75rem; }
.m-newsletter__form input[type="email"]{ width:100%; padding:.75rem .9rem; border:1px solid #ddd; border-radius:10px; font-size:1rem; }
.m-newsletter__form .consent{
  font-size:.9rem; color:#333; margin:.3rem 0 .5rem;
  position:relative; display:block; padding-left:1.6rem; line-height:1.45; text-align:left;
}
.m-newsletter__form .consent input[type="checkbox"]{ position:absolute; left:0; top:.1rem; }
.m-newsletter__form .consent a{ color:#000; text-decoration:underline; }
.m-newsletter__image{ width:100%; height:auto; border-radius:14px; display:block; margin: .5rem 0 .75rem; }
.visually-hidden{ position:absolute !important; clip:rect(1px,1px,1px,1px); padding:0; border:0; height:1px; width:1px; overflow:hidden; }
.m-newsletter__legal{ font-size:.9rem; color:#333; margin-top:.4rem; }
.m-newsletter__legal a{ color:#000; text-decoration:underline; }
.m-newsletter__note{ font-size:.9rem; color:#333; text-align:left; margin:0; }

/* Section avis - mobile */
.avis-section {
  background: #fff;
  color: #000;
  padding: 2rem 1rem;
  text-align: center;
}

.avis-section h2 {
  color: var(--gold);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

/* Une colonne sur mobile */
.avis-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.avis-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1rem 1.2rem;
  max-width: 90%;
  text-align: center;
}

.avis-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
}

.avis-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.stars {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 0.25rem;
}

.avis-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #333;
}


/* FOOTER */
footer {
  background:var(--bg); color:var(--gold);
  text-align:center; padding:1.5rem 1rem;
  height:auto;
}
.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; }
.phone-footer {
    align-items: center;
    gap: 0.3rem;
    color: var(--gold);
    text-decoration: none;
    font-size: 1rem;
  }

  .email-footer {
    align-items: center;
    gap: 0.3rem;
    color: var(--gold);
    text-decoration: none;
    font-size: 1rem;
  }
.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 */
  }
