    * { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* --- Langue --- */
@font-face { font-family: 'Rubik'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/rubik-v31-hebrew-regular.woff2') format('woff2'); size-adjust: 102%; }
@font-face { font-family: 'assistant'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/assistant-v24-hebrew-regular.woff2') format('woff2'); size-adjust: 102%; }


    html, body { margin: 0; padding: 0; font-family: 'Rubik', 'Assistant', Tahoma, Geneva, Verdana, sans-serif; background: #000 url; background-size: cover; color: white; 
                 text-align: center; height: 100%; display: flex; flex-direction: column; }
    @media (max-width: 768px) { body { background-attachment: scroll !important; } }


    .bg-fixed { position: fixed; inset: 0; z-index: -1; background: #000 url('images/fond.webp') center / cover no-repeat; transform: translateZ(0); backface-visibility: hidden;
                will-change: transform; pointer-events: none; }

    header { padding: 60px 20px 30px; position: relative; }
    h1 { font-family: serif; font-size: 6em; margin-bottom: 10px; }
    p { font-size: 1.3em; margin: 10px 0; }
    section { padding: 40px 20px; }
    .main-content { flex: 1; background-color: rgba(0, 0, 0, 0.35); color: white; }


    footer { background-color: rgba(0, 0, 0, 0.8); padding: 30px 20px; margin-top: auto; }

/* --- Icone réseau sociaux --- */
    .social-icons { display: flex; justify-content: center; gap: 40px; margin-top: 20px; }
    .social-icon-container { position: relative; display: inline-block; }
    .social-icon-container img { width: 80px; height: 45px; cursor: pointer; transition: transform 0.2s ease; }
    .social-icon-container img:hover { transform: scale(1.1); }
    .icon-popup { display: none; position: absolute; bottom: 110%; left: 50%; transform: translateX(-50%); background-color: white; color: black; padding: 6px 10px; border-radius: 8px;
                  font-size: 0.9em; white-space: nowrap; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); z-index: 200; }
    .social-icon-container:hover .icon-popup { display: block; }

/* --- Icone Whatsapp --- */
    .whatsapp-float { position: fixed; bottom: 20px; right: 20px; z-index: 100; }
    .whatsapp-float img { width: 80px; cursor: pointer; }
    .whatsapp-popup { display: none; position: fixed; bottom: 110px; right: 20px; background-color: white; color: black; padding: 15px; border-radius: 10px; max-width: 250px;
                      box-shadow: 0 0 10px rgba(0,0,0,0.3); font-size: 0.95em; z-index: 101; }
    .whatsapp-float:hover + .whatsapp-popup { display: block; }

/* --- Audio Player --- */
    .audio-player { position: absolute; top: 20px; right: 20px; display: flex; gap: 12px; align-items: center; background-color: rgba(0, 0, 0, 0.7); padding: 10px 16px;
                    border-radius: 12px; z-index: 999; box-shadow: 0 0 10px rgba(0,0,0,0.4); }
    .audio-player button { background: none; border: none; color: white; font-size: 24px; cursor: pointer; outline: none; transition: transform 0.2s ease, opacity 0.3s ease; }
    .audio-player button:hover { transform: scale(1.2); opacity: 0.85; }
    audio { display: none; }

/* --- Banderole 1 --- */
    .image-banner { width: 100%; overflow: hidden; margin: 40px 0; }
    .image-track { will-change: transform; contain: layout paint; display: flex; width: 200%; animation: scroll-left 30s linear infinite; }
    .image-track img { height: 160px; margin-right: 20px; border-radius: 10px; flex-shrink: 0; max-width: 100%; }
    @keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --- Banderole 2 --- */
    .image-banner-two { width: 100%; overflow: hidden; margin: 40px 0; }
    .image-track-two { will-change: transform; contain: layout paint; display: flex; width: 200%; animation: scroll-right 30s linear infinite; }
    .image-track-two img { height: 160px; margin-right: 20px; border-radius: 10px; flex-shrink: 0; max-width: 100%; }
    @keyframes scroll-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
   
    @media (max-width: 768px) { .image-track, .image-track-two { animation-duration: 60s !important; } }
    @media (prefers-reduced-motion: reduce) { .image-track, .image-track-two { animation: none !important; } }


/* --- Google Form --- */
    .form-container, .content-toggle, .toggle-panel { content-visibility: auto; contain-intrinsic-size: 1px 800px; }
    .form-container { display: flex; justify-content: center; align-items: flex-start; gap: 20px; max-width: 1200px; margin: 40px auto; flex-wrap: wrap; overflow: hidden; max-height: 0; }
    .form-container.open { max-height: 9999px; }
    .form-side { flex: 1; display: flex; justify-content: center; align-items: flex-start; }
    .form-side img { max-width: 100%; height: auto; border-radius: 12px; }
    .form-section { flex: 2; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(6px); padding: 24px 16px; border-radius: 12px; color: black; width: 100%; }
    .form-section iframe { width: 100%; min-height: 900px; height: 80vh; border: 0; }

/* --- Avis Google --- */
    .review { border-bottom: 1px solid #eee; padding: 18px 0; text-align: right; }
    .review:last-child { border-bottom: none; text-align: right; }
    .date { color: black; font-size: 1.1em; margin: 0 0 5px; text-align: right; }
    .stars-icon { color: gold; font-size: 1.8em; margin: 0 0 5px; text-align: right; }
    .google-link-titre { text-align: center; margin-top: 15px; }
    .google-link-titre a { color:black ; font-weight: bold; text-decoration: none; font-size: 1.2em; }
    .google-link-titre a:hover { text-decoration: underline; }
    .google-link { text-align: center; margin-top: 25px; }
    .google-link a { color: #1a73e8; font-weight: bold; text-decoration: none; font-size: 2.3em; }
    .google-link a:hover { text-decoration: underline; }

/* --- Contenu des bouttons --- */
    .about-me { display: flex; align-items: center; gap: 20px; max-width: 800px; margin: 40px auto; font-family: Arial, sans-serif; background: #ffffff; padding: 20px; border-radius: 10px;
                border: 1px solid #ddd; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
    .about-text-me { flex: 1; color: #333; }
    .about-text-me h2 { margin-top: 0; color: #e65100; }
    .about-photo-me { flex-shrink: 0; width: 150px; height: 150px; border-radius: 20%; object-fit: cover; border: 3px solid #e65100; }
    .about-photo-avis { flex-shrink: 0; width: 400px; height: 170px; border-radius: 20%; object-fit: cover; } 
    .about-photo-avis:hover { transform: scale(1.1); }
    .about-photo-favicon { flex-shrink: 0; width: 105px; height: 105px; border-radius: 20%; object-fit: cover; }  

/* --- Boutton --- */
    .form-container-btn { background-color: #E65100; color: white; border: none; width: 160px; height: 160px; font-size: 1.5em; border-radius: 100px; cursor: pointer;
                          transition: background 0.3s ease, transform 0.2s ease; }
    .form-container-btn:hover { background-color: #1558b0; transform: scale(1.40); }
    .btn-group { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 60px auto; flex-wrap: nowrap; }
    .reservation-btn-gauche { background: linear-gradient(135deg, #00f 0%, #E65100 100%); color: white; border: none; font-size: 1.2em; border-radius: 10px; cursor: pointer;
                              transition: background 0.3s ease; min-width: 130px; max-width: 130px; height: 80px; line-height: 60px; text-align: center; white-space: normal; word-break: break-word; line-height: normal; }
    .reservation-btn-gauche:hover { background-color: #1558b0; transform: scale(1.05); }
    .reservation-btn-droite { background: linear-gradient(to bottom left, #00f 0%, #E65100 100%); color: white; border: none; font-size: 1.2em; border-radius: 10px; cursor: pointer;
                              transition: background 0.3s ease; min-width: 130px; max-width: 130px; height: 80px; line-height: 60px; text-align: center; white-space: normal; word-break: break-word; line-height: normal; }
    .reservation-btn-droite:hover { background-color: #1558b0; transform: scale(1.05); }


    .content-toggle { max-width: 900px; margin: 30px auto; padding: 25px; border: 1px solid #ddd; border-radius: 12px; background: #ffffff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); overflow: hidden; display: none; }
    .content-toggle.open { display: block; }
    .toggle-panel { display: none; animation: fadeIn 0.4s ease; color: #333; text-align: center; }
    .toggle-panel.active { display: block; }
    @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

    /* About */
    .about-container { display: flex; align-items: center; gap: 20px; max-width: 800px; margin: 40px auto; font-family: Arial, sans-serif; background: #ffffff; padding: 20px; border-radius: 10px; border: 1px solid #ddd; box-shadow: 0 4px 10px rgba(0,0,0,0.05); color: #333; }
    .about-text { flex: 1; }
    .about-text h2 { margin-top: 0; color: #e65100; }
    .about-photo { flex-shrink: 0; width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 3px solid #e65100; }

    /* Responsive */
    @media (max-width: 768px) {
      .form-container { flex-direction: column; align-items: center; }
      .form-side { display: none; }
      .form-section { width: 100% !important; max-width: 100% !important; padding: 20px 15px !important; }
      .form-section iframe { height: 800px; }
      .image-track img { height: 120px; }
      .image-track-two img { height: 120px; }
    }
  


/* Chips d'arrondissements */
.arr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0 1.5rem;
  justify-content: center; 
}
.arr-chips .chip {
  border: 1px solid #ddd;
  background: #fff;
  padding: .4rem .75rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1.5rem;
  transition: transform .05s ease, background .2s ease;
}
.arr-chips .chip:hover { background: #f7f7f7; }
.arr-chips .chip.active { background: #111; color: #fff; }

/* En-tête + liste hôtels */
.arr-header h3 { margin: 0 0 .25rem; }
.arr-desc { margin: 0 0 1rem; opacity: .85; }

.hotel-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.hotel-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: .75rem .9rem;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.hotel-cat { font-size: .9rem; font-weight: 700; opacity: .7; }
.hotel-name { font-size: 1.05rem; font-weight: 800; margin: .15rem 0 .25rem; }
.hotel-meta { font-size: .95rem; }
.hotel-price { font-weight: 800; }

/* Intro para du bloc hôtel */
#hotel-intro { margin-bottom: .75rem; }



#securite .safe-intro {
  margin: .25rem 0 1rem;
  line-height: 1.6;
}

.safety-badge {
  display: inline-block;
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #c8e6c9;
  padding: .35rem .6rem;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: .75rem;
}

.safe-sub {
  margin: 1rem 0 .4rem;
}

.tip-list {
  padding-left: 1.1rem;
  margin: 0 0 1rem;
}
.tip-list li { margin: .35rem 0; }

.safe-note {
  background: #fff9e6;
  border: 1px solid #ffe082;
  padding: .65rem .75rem;
  border-radius: 10px;
  line-height: 1.55;
}

.safe-disclaimer {
  margin-top: .8rem;
  font-size: .92rem;
  opacity: .8;
}




#backToTop {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.4); /* blanc transparent */
  color: white;
  font-size: 50px;
  font-weight: bold;
  border-radius: 50%;
  display: none; /* caché par défaut */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  z-index: 2000;
}

#backToTop:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}



.phone-top-left {
  position: absolute;
  top: 37px;
  left: 20px;
  font-size: 2em;
  font-weight: bold;
  z-index: 1000;
}

.phone-top-left a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.phone-top-left a:hover {
  opacity: 0.7;
  text-decoration: underline;
}
@media (max-width: 768px) {
  .audio-player {
    top: 20px;  /* descend le lecteur */
    right: 5px;
    transform: scale(0.75); /* réduit un peu la taille */
  }

  .phone-top-left {
    top: 15px; /* remonte légèrement le numéro */
    left: 5px;
    font-size: 1.4em; /* texte plus petit */
    transform: scale(0.75); /* réduit un peu la taille */
  }
}


/* --- Responsive corrections (mobile-first adjustments) --- */
/* --- Fix header mobile layout --- */
@media (max-width: 768px) {
  .btn-group { flex-wrap: wrap; gap: 10px; }
  .reservation-btn-gauche,
  .reservation-btn-droite { width: 100%; max-width: none; height: auto; padding: 12px 0; font-size: 1rem; }
  .form-container-btn { width: 200px; height: 100px; font-size: 1.2rem; }
  .image-track img, .image-track-two img { height: 100px; }
  .form-section iframe { height: 70vh !important; }
  .about-photo-me, .about-photo-avis, .about-photo-favicon { max-width: 100%; height: auto; }
  footer { font-size: 0.9rem; }
  .social-icon-container img { width: 50px; height: 28px }
  .whatsapp-float img { width: 60px; }
  #backToTop { width: 60px; height: 60px; font-size: 32px; }
}

@media (max-width: 768px) {
  h1 { font-size: 3rem; }
  header p { font-size: 0.9rem; }
  .reservation-btn-gauche,
  .reservation-btn-droite { font-size: 1.3rem; padding: 10px; }
  .form-container-btn { width: 200px; height: 80px; font-size: 1rem; }
  .image-track img, .image-track-two img { height: 80px; }
  .phone-top-left { font-size: 1rem; }
}


/* --- Tableau grille tarifaire --- */
.tarifs-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px 20px;
  color: white;
}
.tarifs-title {
  text-align: center;
  font-size: 4em; /* plus grand */
  margin-bottom: 20px;
}

/* Conteneur responsive */
.tarifs-container {
  display: flex;
  justify-content: center;
  overflow-x: auto; /* permet de scroller sur mobile */
  width: 100%;
}

/* Tableau */
.tarifs-table {
  border-collapse: collapse;
  text-align: center;
  width: 80%; /* occupe plus de place */
  max-width: 700px; /* limite la largeur sur grand écran */
  font-size: 1.2em; /* texte plus grand */
}

/* Cellules avec bordures blanches et transparentes */
.tarifs-table th,
.tarifs-table td {
  border: 1px solid white;
  padding: 15px 25px; /* plus grand padding pour effet “tableau plus gros” */
  background-color: transparent;
}

/* Entête */
.tarifs-table th {
  font-weight: bold;
}

/* Supprime bordure haut et droite pour la cellule vide */
.tarifs-table th.empty-cell {
  border-top: none;
  border-right: none;
}

.prix-link {
  text-decoration: underline;
  color: #E65100;
  cursor: pointer;
  font-weight: bold;
}

.prix-link:hover {
  color: #1a73e8;
}


/* Responsive pour petits écrans */
@media (max-width: 600px) {
  .tarifs-table {
    font-size: 1em; /* réduire légèrement le texte */
    padding: 10px; /* réduire padding */
  }

  .tarifs-table th,
  .tarifs-table td {
    padding: 8px 12px;
  }
}


#hero-text {
  contain: content;
  text-shadow: none; /* éviter ombres lourdes au 1er paint */
}
