/* 
====================================
 Theme Name:   JT Theme
 Theme URI:    https://generatepress.com
 Description:  Jeremy's GP Theme
 Author:       Jeremy Teurterie
 Author URI:   https://www.jeremyteurterie.com
 Template:     generatepress
 Version:      0.1
====================================
*/

/* =========================
   TYPOGRAPHY
========================= */

/* Font Family Utilities */
.ff-body {
  font-family: var(--gp-font--body);
}

.ff-heading {
  font-family: var(--gp-font--headings);
}

/* Heading and utility class font assignment */
h1,
h2,
h3,
h4,
h5,
h6,
[class^='fs-'] {
  font-family: var(--gp-font--headings);
}

.fs-p {
  font-family: var(--gp-font--body);
}

/* =========================
   HEADER
========================= */

.main-navigation .main-nav ul li a {
  border-radius: 0.75rem;
  line-height: 2.25rem;
  margin: 0 2px;
  transition: all 0.3s ease;
  padding-left: 15px;
  padding-right: 15px;
  font-weight: 500;
}

.gb-menu-container-e396baf8.gb-menu-container--mobile {
  background-color: #f0fdf4 !important;
}

.main-navigation .main-nav ul li a:hover {
  background-color: #e4f9f3;
}

.gb-menu-item-mi0240f5 .gb-menu-link {
  padding: 8px 15px !important;
}

.topbar a {
  text-decoration: none;
}

.sub-menu {
  padding: 8px 0px !important;
  border-radius: 8px;
  background-color: #ffffffcc !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.1) !important;
  width: max-content !important;
  min-width: 200px !important;
  white-space: nowrap !important;
}

.sub-menu li a {
  font-size: 14px !important;
  font-weight: 500 !important;
  margin: 0px !important;
  text-transform: none;
  white-space: nowrap !important;
}

.sub-menu li a:hover {
  background-color: #06352C !important;
  color: white !important;
  border-radius: 0px !important;
}

/* Sous-menu MOBILE - toute la largeur */
@media (max-width: 1024px) {
  .sub-menu {
    width: 100% !important;
    min-width: unset !important;
    left: 0 !important;
    right: 0 !important;
    max-width: 100vw !important;
    border-radius: 0px !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .sub-menu li {
    white-space: normal !important;
    padding: 0px !important;
    margin: 0px !important;
  }

  #menu-primary li {
    padding: 0px !important;
  }

  #menu-primary {
    margin-top: 0px !important;
    padding-top: 0rem !important;
  }
}

/* =========================
   FIL D'ARIANE
========================= */

.hero-breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: #06352c;
}

#hero-breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: #f9fef8;
}

.hero-breadcrumb a {
  text-decoration: none;
  color: #06352c;
}

.hero-breadcrumb a:hover {
  color: #06352c;
  text-decoration: underline;
}

.hero-breadcrumb > span:last-child {
  color: #06352c;
  font-weight: 500;
}

.breadcrumb-realisation a {
  color: #dcfce7 !important;
}

.breadcrumb-realisation a:hover {
  color: #dcfce7 !important;
}

.breadcrumb-realisation span {
  color: #dcfce7 !important;
}

.breadcrumb-realisation div {
  color: #dcfce7 !important;
}

#page {
  /* Reset des propriétés qui vous gênent */
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.categorie-list ul li {
  list-style-type: none;
}

.realisations-filters {
  padding: 4rem 2rem 2rem 2rem;
  border-radius: 10px;
  background-color: #f9fdf8;
}

.filters-container {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-dropdown {
  position: relative;
  min-width: 200px;
}

.filter-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-weight: 600;
  font-size: 16px;
  padding: 0.75rem;
  border: 2px solid #d7f4ec;
  border-radius: 8px;
  background: #f5fbf4;
  color: #06352c;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-trigger:hover {
  border-color: #d7f4ec;
  background: #d7f4ec;
  color: #06352c;
}

.filter-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 2px solid #d7f4ec;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  list-style: none;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.filter-dropdown:hover .filter-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.filter-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.filter-menu li:last-child {
  border-bottom: none;
}

.filter-menu a {
  display: block;
  padding: 0.75rem;
  font-size: 14px;
  font-weight: 600;
  color: #06352c !important;
  text-decoration: none;
  transition: background 0.2s ease;
}

.filter-menu a:hover {
  background: #d7f4ec;
  color: #06352c !important;
}

.arrow {
  transition: transform 0.3s ease;
}

.filter-dropdown:hover .arrow {
  transform: rotate(180deg);
}

.hover-zoom {
  overflow: hidden;
  border-radius: 8px;
}

.hover-zoom img {
  transition: transform 0.8s ease;
}

.hover-zoom:hover img {
  transform: scale(1.1);
}

/* =========================
   CARROUSEL
========================= */
.carrousel-cell {
  width: calc(33.333% - 4rem * 2 / 3);
  margin-right: 50px;
}

@media (max-width: 1024px) {
  .carrousel-cell {
    width: calc(50% - 1rem * 1 / 2);
    margin-right: 1rem;
  }
}

@media (max-width: 768px) {
  .carrousel-cell {
    width: 100%;
    margin-right: 1rem;
  }
   .flickity-button {
        display: none !important;
    }
	#hero-breadcrumb {
  flex-direction: column;
  gap: 1px;
}
  .sticky-sidebar {
  position: static !important;
}
}

/* Pagination */
.flickity-page-dots {
  width: 100%;
  bottom: -1.5rem;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 0.5rem;
}

.flickity-page-dots .dot {
  width: 0.5rem;
  height: 0.5rem;
  margin: 0;
  background: #06352c;
}

/* Navigation */
.flickity-button {
  height: 2.5rem;
  width: 2.5rem;
  background: none;
  color: #06352c;
}

.flickity-button:hover {
  background: none;
  color: #06352c;
}

.flickity-prev-next-button.previous {
  left: 0;
  transform: translateX(-3.5rem) translateY(-50%);
}

.flickity-prev-next-button.next {
  right: 0;
  transform: translateX(3.5rem) translateY(-50%);
}

.list-methodo {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-methodo li {
  font-size: 15px !important;
  text-align: left;
  position: relative;
  padding-left: 24px;
  margin: 0;
  display: flex;
  align-items: center; /* Alignement vertical centré */
}

.list-methodo li::before {
  content: '•';
  color: #25d366;
  font-size: 40px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); /* Centrage parfait */
  line-height: 1;
}

.sticky-sidebar {
  position: sticky;
  top: 8rem;
}

.gb-menu-container-ba0b7fbf.gb-menu-container--mobile {
  background-color: #f0fdf4 !important;
}

@media (max-width: 1024px) {
  .gbp-mega-menu {
    display: none !important;
  }
}

.gbp-card__title a {
  text-decoration: none !important;
}

#ez-toc-container {
  padding: 2rem;
  margin: 2rem 0 !important;
  border-radius: 8px;
  box-shadow: 0px 0px 5px 1px var(--base-200);
}

.btn {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.article-hover a {
  opacity: 0.9 !important;
}

.article-hover:hover a {
  color: #00c950 !important;
  opacity: 1 !important;
}

.button-client {
  color: #e3fb50 !important;
}

.button-client:hover {
  color: #06352C !important;
}

