/* ============================================================
   STYLES FAQ ET H2/H3
   ============================================================ */

/* Styles généraux */
h1 {
  color: #1a3a52;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #0084b4;
}

/* Sections avec couleurs différentes */
.faq-section {
  border-left: 5px solid #0084b4;
  background: #f0f8ff;
  padding: 25px;
  margin-bottom: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-section.practical {
  border-left-color: #0084b4;
  background-color: #f0f8ff;
}

.faq-section.house {
  border-left-color: #ff6b35;
  background-color: #fff5f0;
}

.faq-section.garden {
  border-left-color: #4caf50;
  background-color: #f1f8f4;
}

.faq-section.pets {
  border-left-color: #ff9800;
  background-color: #fff8f0;
}

.faq-section.location {
  border-left-color: #9c27b0;
  background-color: #f8f0f8;
}

.faq-section.services {
  border-left-color: #e91e63;
  background-color: #faf0f5;
}

.faq-section.rules {
  border-left-color: #673ab7;
  background-color: #f3e5f5;
}

/* H2 dans les sections */
.faq-section h2 {
  color: #1a3a52;
  font-size: 26px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-section.practical h2 { color: #0084b4; }
.faq-section.house h2 { color: #ff6b35; }
.faq-section.garden h2 { color: #4caf50; }
.faq-section.pets h2 { color: #ff9800; }
.faq-section.location h2 { color: #9c27b0; }
.faq-section.services h2 { color: #e91e63; }
.faq-section.rules h2 { color: #673ab7; }

/* H3 (questions) */
.faq-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  margin-top: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-section.practical h3 { 
  color: #0084b4;
  border-bottom-color: #0084b4;
}

.faq-section.house h3 { 
  color: #ff6b35;
  border-bottom-color: #ff6b35;
}

.faq-section.garden h3 { 
  color: #4caf50;
  border-bottom-color: #4caf50;
}

.faq-section.pets h3 { 
  color: #ff9800;
  border-bottom-color: #ff9800;
}

.faq-section.location h3 { 
  color: #9c27b0;
  border-bottom-color: #9c27b0;
}

.faq-section.services h3 { 
  color: #e91e63;
  border-bottom-color: #e91e63;
}

.faq-section.rules h3 { 
  color: #673ab7;
  border-bottom-color: #673ab7;
}

/* Hover effect sur les H3 */
.faq-section h3:hover {
  transform: translateX(5px);
  font-weight: 700;
}

/* Paragraphes */
.faq-section p {
  color: #555;
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 20px;
}

.faq-section ul, .faq-section ol {
  color: #555;
  line-height: 1.8;
  margin-left: 20px;
}

.faq-section li {
  margin-bottom: 10px;
}

/* Liens */
.faq-section a {
  color: #0084b4;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.faq-section a:hover {
  color: #ff6b35;
  text-decoration: underline;
}

.faq-section strong {
  color: #1a3a52;
  font-weight: 700;
}

/* CTA (Call To Action) */
.faq-cta {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background: linear-gradient(135deg, #0084b4 0%, #004d7a 100%);
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 132, 180, 0.3);
}

.faq-cta h2 {
  color: white;
  font-size: 28px;
  margin: 0;
}

.faq-cta p {
  color: #f0f8ff;
  font-size: 18px;
  margin-top: 15px;
}

.faq-cta a {
  display: inline-block;
  margin: 10px;
  padding: 12px 25px;
  background: white;
  color: #0084b4;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.faq-cta a:hover {
  background: #ff6b35;
  color: white;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 24px; }
  
  .faq-section h2 { font-size: 22px; }
  
  .faq-section h3 { font-size: 16px; }
  
  .faq-section {
    padding: 15px;
    margin-bottom: 25px;
  }
  
  .faq-cta {
    padding: 20px;
  }
  
  .faq-cta h2 { font-size: 22px; }
}
/* ============================================================
   STYLES FAQ ET H2/H3
   ============================================================ */

/* Styles généraux */
h1 {
  color: #1a3a52;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 3px solid #0084b4;
}

/* Sections avec couleurs différentes */
.faq-section {
  border-left: 5px solid #0084b4;
  background: #f0f8ff;
  padding: 25px;
  margin-bottom: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-section.practical {
  border-left-color: #0084b4;
  background-color: #f0f8ff;
}

.faq-section.house {
  border-left-color: #ff6b35;
  background-color: #fff5f0;
}

.faq-section.garden {
  border-left-color: #4caf50;
  background-color: #f1f8f4;
}

.faq-section.pets {
  border-left-color: #ff9800;
  background-color: #fff8f0;
}

.faq-section.location {
  border-left-color: #9c27b0;
  background-color: #f8f0f8;
}

.faq-section.services {
  border-left-color: #e91e63;
  background-color: #faf0f5;
}

.faq-section.rules {
  border-left-color: #673ab7;
  background-color: #f3e5f5;
}

/* H2 dans les sections */
.faq-section h2 {
  color: #1a3a52;
  font-size: 26px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-section.practical h2 { color: #0084b4; }
.faq-section.house h2 { color: #ff6b35; }
.faq-section.garden h2 { color: #4caf50; }
.faq-section.pets h2 { color: #ff9800; }
.faq-section.location h2 { color: #9c27b0; }
.faq-section.services h2 { color: #e91e63; }
.faq-section.rules h2 { color: #673ab7; }

/* H3 (questions) */
.faq-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  margin-top: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-section.practical h3 { 
  color: #0084b4;
  border-bottom-color: #0084b4;
}

.faq-section.house h3 { 
  color: #ff6b35;
  border-bottom-color: #ff6b35;
}

.faq-section.garden h3 { 
  color: #4caf50;
  border-bottom-color: #4caf50;
}

.faq-section.pets h3 { 
  color: #ff9800;
  border-bottom-color: #ff9800;
}

.faq-section.location h3 { 
  color: #9c27b0;
  border-bottom-color: #9c27b0;
}

.faq-section.services h3 { 
  color: #e91e63;
  border-bottom-color: #e91e63;
}

.faq-section.rules h3 { 
  color: #673ab7;
  border-bottom-color: #673ab7;
}

/* Hover effect sur les H3 */
.faq-section h3:hover {
  transform: translateX(5px);
  font-weight: 700;
}

/* Paragraphes */
.faq-section p {
  color: #555;
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 20px;
}

.faq-section ul, .faq-section ol {
  color: #555;
  line-height: 1.8;
  margin-left: 20px;
}

.faq-section li {
  margin-bottom: 10px;
}

/* Liens */
.faq-section a {
  color: #0084b4;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.faq-section a:hover {
  color: #ff6b35;
  text-decoration: underline;
}

.faq-section strong {
  color: #1a3a52;
  font-weight: 700;
}

/* CTA (Call To Action) */
.faq-cta {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background: linear-gradient(135deg, #0084b4 0%, #004d7a 100%);
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 132, 180, 0.3);
}

.faq-cta h2 {
  color: white;
  font-size: 28px;
  margin: 0;
}

.faq-cta p {
  color: #f0f8ff;
  font-size: 18px;
  margin-top: 15px;
}

.faq-cta a {
  display: inline-block;
  margin: 10px;
  padding: 12px 25px;
  background: white;
  color: #0084b4;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.faq-cta a:hover {
  background: #ff6b35;
  color: white;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 24px; }
  
  .faq-section h2 { font-size: 22px; }
  
  .faq-section h3 { font-size: 16px; }
  
  .faq-section {
    padding: 15px;
    margin-bottom: 25px;
  }
  
  .faq-cta {
    padding: 20px;
  }
  
  .faq-cta h2 { font-size: 22px; }
}




/* ============================================
   PAGE DÉCOUVRIR - staubin.fr
   Sélecteurs corrigés pour Joomla/Cassiopeia
   ============================================ */

/* H2 principal de la page */
.item-page h2,
.com-content-article__body h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #00bcd4;
    font-size: 1.9em;
}

/* Paragraphe d'intro (premier <p> fort après le h2) */
.item-page > div > p:first-of-type strong,
.com-content-article__body > p:first-of-type strong {
    display: block;
    color: #0097a7;
    font-size: 1.05em;
    padding: 15px;
    background-color: #e0f7fa;
    border-left: 4px solid #0097a7;
    border-radius: 4px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* H3 - style commun à tous */
.item-page h3,
.com-content-article__body h3 {
    padding: 12px 18px !important;
    border-radius: 6px !important;
    color: white !important;
    font-size: 1.2em !important;
    font-weight: 600 !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Couleur de chaque H3 dans l'ordre */
.item-page h3:nth-of-type(1),
.com-content-article__body h3:nth-of-type(1) {
    background-color: #1976d2; /* Plage - Bleu */
}
.item-page h3:nth-of-type(2),
.com-content-article__body h3:nth-of-type(2) {
    background-color: #388e3c; /* Nautiques - Vert */
}
.item-page h3:nth-of-type(3),
.com-content-article__body h3:nth-of-type(3) {
    background-color: #d32f2f; /* Restaurants - Rouge */
}
.item-page h3:nth-of-type(4),
.com-content-article__body h3:nth-of-type(4) {
    background-color: #7b1fa2; /* Débarquement - Mauve */
}
.item-page h3:nth-of-type(5),
.com-content-article__body h3:nth-of-type(5) {
    background-color: #c2185b; /* Idées sorties - Rose */
}

/* Paragraphes après chaque H3 */
.item-page h3 + p,
.com-content-article__body h3 + p {
    border-left: 4px solid #ccc;
    padding-left: 20px;
    margin-bottom: 25px;
    line-height: 1.7;
    color: #555;
}

/* Liens dans le contenu */
.item-page a,
.com-content-article__body a {
    color: #0097a7;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}
.item-page a:hover,
.com-content-article__body a:hover {
    color: #00838f;
    border-bottom: 2px solid #0097a7;
}

/* Responsive */
@media (max-width: 768px) {
    .item-page h2,
    .com-content-article__body h2 {
        font-size: 1.5em;
    }
    .item-page h3,
    .com-content-article__body h3 {
        font-size: 1.1em !important;
        padding: 10px 14px !important;
    }
}

/* ============================================================
   HEADER - GITE CLOS JOLLY
   ============================================================ */

.header-clos-jolly {
  text-align: center;
  padding: 20px 20px;
  background: linear-gradient(135deg, #1a3a52 0%, #2d5a7b 100%);
 
}

.header-clos-jolly img {
  width: 80px;
  height: 70px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.header-clos-jolly h1 {
  margin: 0;
  font-size: 36px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 2px;
  word-spacing: 8px;
}

.header-clos-jolly .subtitle {
  margin: 0;
  padding: 15px 0;
  font-size: 24px;
  color: #c1d6ec;
  font-weight: 600;
}

.header-clos-jolly .features {
  margin: 10px 0;
  font-size: 18px;
  color: #99ccff;
  font-weight: bold;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .header-clos-jolly {
    padding: 25px 15px;
  }
  
  .header-clos-jolly h1 {
    font-size: 28px;
  }
  
  .header-clos-jolly .subtitle {
    font-size: 18px;
  }
  
  .header-clos-jolly .features {
    font-size: 14px;
  }
}
/* ============================================
   MENU HAMBURGER - mobile uniquement
   staubin.fr
   ============================================ */

/* ---- DESKTOP : comportement normal, rien ne change ---- */
@media (min-width: 769px) {
  .hamburger-btn {
    display: none !important;
  }
  .grid-child.container-nav {
    display: block !important;
  }
}

/* ============================================
   MENU HAMBURGER OVERLAY - mobile uniquement
   staubin.fr
   ============================================ */

/* ---- DESKTOP : comportement normal, rien ne change ---- */
@media (min-width: 769px) {
  .hamburger-btn {
    display: none !important;
  }
  .menu-close-btn {
    display: none !important;
  }
  .grid-child.container-nav {
    display: block !important;
    position: static !important;
    background: none !important;
  }
}

/* ---- MOBILE uniquement (≤ 768px) ---- */
@media (max-width: 768px) {

  /* Bouton hamburger */
  .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2000;
    position: relative;
  }

@media (max-width: 768px) {
    .hamburger-btn span {
        background-color: #ffffff !important;
    }
}

  .hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  /* Overlay plein écran semi-transparent */
  .grid-child.container-nav {
    display: none !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.82) !important;
    z-index: 1500;
    padding: 80px 20px 20px 20px;
    overflow-y: auto;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  /* Menu visible quand ouvert */
  .grid-child.container-nav.menu-open {
    display: block !important;
  }

  /* Bouton croix flottante de fermeture */
  .menu-close-btn {
    position: fixed;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2100;
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
  }

  .menu-close-btn::before,
  .menu-close-btn::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
  }

  .menu-close-btn::before { transform: rotate(45deg); }
  .menu-close-btn::after  { transform: rotate(-45deg); }

  .menu-close-btn.visible {
    display: flex;
  }

  /* Liste principale */
  .grid-child.container-nav ul.mod-menu {
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    text-align: center;
  }

  /* Items niveau 1 */
  .grid-child.container-nav ul.mod-menu > li.metismenu-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .grid-child.container-nav ul.mod-menu > li.metismenu-item > a {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.2s;
  }

  .grid-child.container-nav ul.mod-menu > li.metismenu-item > a:hover {
    color: #aad4ff;
  }

  /* Sous-menus niveau 2 */
  .grid-child.container-nav ul.mm-collapse {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .grid-child.container-nav ul.mm-collapse li a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transition: color 0.2s;
  }

  .grid-child.container-nav ul.mm-collapse li a:hover {
    color: #aad4ff;
  }

  /* Bouton toggler sous-menu */
  .mm-toggler {
    background: none;
    border: none;
    cursor: pointer;
    padding: 14px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    float: right;
  }

  /* Lien actif */
  .metismenu-item.current > a,
  .metismenu-item.active > a {
    color: #aad4ff !important;
    font-weight: bold;
  }
}
/* ============================================
   TOPBAR - logo Gîtes de France aligné
   ============================================ */

.container-topbar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    overflow: visible !important;
    padding: 5px 15px;
}

#mod-custom152 p { margin: 0; line-height: 0; }

#mod-custom152 img {
    float: none !important;
    display: block !important;
    height: 60px !important;
    width: auto !important;
}

