/**
 * Portail.css — Styles du portail Roller Grill
 * Uniquement des classes préfixées .portail-*
 */

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
  --portail-color-white: #fff;
  --portail-color-black: #000;
  --portail-color-beige: #FAF6F2;
  --portail-color-grey: #555758;
  --portail-color-grey-dark: #64181C;
}

/* ==========================================================================
   Bloc Portail Catégories (style nouveautés sans icônes)
   ========================================================================== */

#portail-categories {
  padding: 80px 40px !important;
  overflow: visible !important;
  background: #FFF !important;
  position: relative !important;
}

.portail-categories__container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: visible !important;
}

/* En-tête */
.portail-categories__header {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  grid-template-rows: auto auto !important;
  gap: 12px 20px !important;
  margin-bottom: 40px !important;
  align-items: start !important;
}

.portail-categories__section-title {
  grid-column: 1 / 2 !important;
  grid-row: 1 / 2 !important;
  color: #555758 !important;
  font-family: Poppins, sans-serif !important;
  font-size: 40px !important;
  font-weight: 400 !important;
  line-height: 130% !important;
  margin: 0 !important;
}

.portail-categories__subtitle {
  grid-column: 1 / 2 !important;
  grid-row: 2 / 3 !important;
  color: #555758 !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 150% !important;
  margin: 0 !important;
  opacity: 0.85 !important;
  max-width: 600px !important;
}

/* Navigation */
.portail-categories__nav {
  grid-column: 2 / 3 !important;
  grid-row: 1 / 2 !important;
  display: flex !important;
  gap: 12px !important;
  align-self: center !important;
}

.portail-categories__nav-btn {
  width: 40px !important;
  height: 40px !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 32px !important;
  color: #555758 !important;
  transition: color 0.3s ease !important;
}

.portail-categories__nav-btn:hover {
  color: #000 !important;
}

/* Slider wrapper */
.portail-categories__slider-wrapper {
  overflow-x: clip !important;
  overflow-y: visible !important;
  width: calc(100% + 250px) !important;
  position: relative !important;
  margin-right: -250px !important;
}

.portail-categories__slider {
  display: flex !important;
  gap: 24px !important;
  overflow-x: scroll !important;
  overflow-y: visible !important;
  scroll-behavior: smooth !important;
  scroll-snap-type: none !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding-bottom: 20px !important;
  padding-right: 250px !important;
}

.portail-categories__slider::-webkit-scrollbar {
  display: none !important;
}

/* Item (carte catégorie) */
.portail-categories__item {
  position: relative !important;
  flex: 0 0 300px !important;
  min-width: 300px !important;
  max-width: 300px !important;
  background: none !important;
  border-radius: 8px !important;
  overflow: visible !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  scroll-snap-align: start !important;
}

.portail-categories__item:hover {
  transform: translateY(-8px) !important;
}

.portail-categories__link {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
}

/* Image wrapper */
.portail-categories__image-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 200px !important;
  overflow: hidden !important;
  border-radius: 8px !important;
  background: #FAF6F2 !important;
  margin-bottom: 16px !important;
}

.portail-categories__image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
}

.portail-categories__item:hover .portail-categories__image {
  transform: scale(1.05) !important;
}

/* Contenu */
.portail-categories__content {
  text-align: left !important;
  padding: 0 12px !important;
}

.portail-categories__title {
  color: #64181C !important;
  text-align: justify !important;
  font-feature-settings: 'liga' off, 'clig' off !important;
  font-family: Poppins, sans-serif !important;
  font-size: 18px !important;
  font-style: normal !important;
  font-weight: 300 !important;
  line-height: 130% !important;
  letter-spacing: 0.18px !important;
  margin: 0 0 8px !important;
}

.portail-categories__description {
  color: #555758 !important;
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 150% !important;
  margin: 0 !important;
  opacity: 0.8 !important;
  text-align: left !important;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  #portail-categories {
    padding: 60px 30px !important;
  }

  .portail-categories__section-title {
    font-size: 32px !important;
  }

  .portail-categories__subtitle {
    font-size: 15px !important;
    max-width: 500px !important;
  }

  .portail-categories__nav-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 28px !important;
  }
  
  .portail-categories__item {
    flex: 0 0 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
  }

  .portail-categories__slider {
    gap: 20px !important;
  }

  .portail-categories__image-wrapper {
    height: 200px !important;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  #portail-categories {
    padding: 40px 20px !important;
  }

  .portail-categories__header {
    margin-bottom: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .portail-categories__section-title {
    font-size: 26px !important;
  }

  .portail-categories__subtitle {
    font-size: 14px !important;
    max-width: 100% !important;
    margin-bottom: 12px !important;
  }

  .portail-categories__nav {
    align-self: flex-end !important;
  }
  
  .portail-categories__item {
    flex: 0 0 220px !important;
    min-width: 220px !important;
    max-width: 220px !important;
  }

  .portail-categories__slider {
    gap: 18px !important;
  }
  
  .portail-categories__image-wrapper {
    height: 180px !important;
  }

  .portail-categories__title {
    font-size: 16px !important;
  }

  .portail-categories__description {
    font-size: 13px !important;
  }
}


/* AURELIEN ADDINGS */


/* Pagination dots */
.portail-categories__pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding: 10px 0;
}

.portail-categories__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d1d1d1;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.portail-categories__dot:hover {
  background-color: #999;
}

.portail-categories__dot.active {
  width: 30px;
  height: 8px;
  border-radius: 4px;
  background-color: #333;
}

/* Section avec image et texte côte à côte */
#clem-img-1 {
  display: flex !important;
  align-items: stretch !important;
}

#clem-img-1 .e-con-inner {
  width: 100%;
  display: flex;
  gap: 30px;
}

#clem-img-1 .e-con-inner > .e-child {
  flex: 1;
}

/* Container de l'image - prend toute la hauteur */
#clem-img-1 .elementor-widget-image {
  height: 100%;
  display: flex;
  align-items: stretch;
}

#clem-img-1 .elementor-widget-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Cards avec bordure jaune */
.aurel-card-why-invest {
  position: relative;
  padding: 25px 25px 25px 35px;
  background-color: #ffffff;
  border-left: 4px solid #FFC107;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.aurel-card-why-invest h3 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0 0 12px 0;
}

.aurel-card-why-invest p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}


.aurel-card-why-invest {
  position: relative;
  padding: 30px 30px 30px 40px;
  background-color: #ffffff;
  border-left: 5px solid #FFC107; /* Bordure jaune à gauche */
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.aurel-card-why-invest h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin: 0 0 15px 0;
}

.aurel-card-why-invest p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}