/* ==== BRAND ==== */

/* TEMPORAIRE : permet de corriger le conflit css entre temporary_root et le tailwind css */
p {
  margin:0 ;
  padding:0;
}

h4 {display:block;font-family:'Raleway';line-height:1.1;font-style:normal;font-weight:800;font-size:var(--fs-20-18)}


/* --- Back Button --- */
brand-page .back-button {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
}

brand-page .back-button__wrapper,
brand-page .back-button__icon,
brand-page .back-button__text {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-size: 1em;
  color: var(--colEthiBleu);
  font-weight: lighter;
}

brand-page .back-button__wrapper {
  padding: 1rem;
  gap: 0.2rem;
  color: black;
  font: 600 1rem/1 'Raleway';
  align-items: flex-end;
}

brand-page .back-button__icon {
  position: relative;
  top: 0.1rem;
}

/* --- Brand Warning --- */
brand-page .brand__warning {
  background-color: gold;
  padding: 1rem 2rem;
  text-align: center;
}

/* --- Brand Intro --- */

brand-page #intro {
  margin: 0 6rem !important;
}

/* --- Brand Header --- */
brand-page .brand__header {
  text-align: center;
}

brand-page .brand__title {
  font-family: 'Raleway';
}

brand-page .brand__subtitle {
  margin-bottom: 0;
  font-size: 1.6rem;
  line-height: 1;
  font-variant-caps: all-small-caps;
  color: var(--colEthiBleu);
  font-weight:400;
  margin:0;
}

brand-page .brand__name {
  font-size: 2.6rem;
  letter-spacing: 0.1em;
  font-weight: bold;
  color: var(--colEthiBleu);
  text-transform: uppercase;
  margin:0;
  padding:0;
}

brand-page .tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin:0;
}

brand-page .tags__item {
  background-color: var(--colEthiVert);
  font-family: 'Raleway';
  color: #fff;
  text-transform: uppercase;
  font-size: 1em;
  letter-spacing: 0.05rem;
  padding: 0.25rem 0.7rem;
  border-radius: 5rem;
  border: none;
  text-align: center;
}

brand-page .tags {
  margin-top: -1rem;
  padding: 0 1rem;
}

/* --- Brand Presentation --- */
brand-page .brand__presentation {
  margin: 2rem 0;
  padding: 2rem 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

/* ========== UTILITIES ========== */
.border-block-dashed {
  border-block: 1px dashed var(--colEthiBleu);
}

brand-page .brand__media-block {
  width: 40%;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

brand-page .brand__illustration {
  width: 100%;
  aspect-ratio: 333 / 253;
  background-size: cover;
  background-position: center center;
  position: relative;
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.15);
  background-color: rgba(255, 255, 255, 0.5);
}

brand-page .brand__logo {
  display: block;
  height: 2.5rem;
}

brand-page .brand__info {
  width: 70%;
  margin-left: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

brand-page .brand__summary {
  font-family: 'Raleway';
  color: var(--colEthiBleu);
}

brand-page .brand__tagline,
brand-page .brand__commitments-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

brand-page .brand__description {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
}

/* --- Brand Conso cards --- */
brand-page .brand__commitments-title {
  padding-top: 1.5rem;
}

brand-page .conso-cards {
  display: grid;
  width: 100%;
  gap: 15px;
  grid-template-columns: repeat(2, 1fr);
}

brand-page .brand__badges .card {
  display: flex;
  align-items: center;
  gap: 7px;
  background-color: #f6f6f6;
  padding: 10px;
  border-radius: 60px;
  padding-left: 14px;
}

brand-page .brand__badges .card-title {
  max-width: 104px;
  margin: 0;
  font-family: 'Raleway';
  font-size: 12px;
  font-weight: 400;
  color: var(--colEthiBleu);
  word-break: break-word;
}

/* --- Brand How to Use Card --- */
brand-page .brand__how-to {
  flex-direction: column;
  font-family: 'Raleway';
}

brand-page h3.brand__section-title {
  font-family: 'Raleway';
  color: var(--colEthiBleu);
  font-weight: 600;
}

brand-page h3.brand__section-title span {
  font-weight: 800;
}

brand-page .brand__options {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

brand-page .brand__option {
  width: 48%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

brand-page .brand__option-content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 0.6rem;
}

brand-page .brand__option-icon {
  margin-right: 0.5rem;
}

brand-page .brand__option-label {
  font-family: 'Raleway';
  color: var(--colEthiBleu);
  font-weight: 700;
  font-size: 18px;
}

brand-page .brand__option-on-line-button,
brand-page .brand__option-physical-shop-button {
  font-family: 'Raleway';
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--colEthiBleu);
  background-color: transparent;
  color: var(--colEthiBleu);
  cursor: pointer;
  text-align: center;
  padding: 0.4rem 0.7rem;
  border-radius: 5rem;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

brand-page .brand__option-on-line-button:hover {
  background-color: var(--colEthiBleu);
  color: #fff;
}

brand-page .brand__option-physical-shop-button {
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 0.2rem 0.2rem 0.2rem 0.7rem;
}

brand-page .brand__option-physical-shop-button-toggle {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 1px solid var(--colEthiBleu);
  background-color: var(--colEthiBleu);
  cursor: pointer;
  margin-left: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

brand-page .brand__option-physical-shop-button-toggle svg {
  width: 1rem;
  height: 1rem;
  margin: 0.2rem;
}

brand-page .brand__option-physical-shop-button-toggle .toggle-plus {
  display: block;
  color: #fff;
}
brand-page .brand__option-physical-shop-button-toggle .toggle-minus {
  display: none;
}

brand-page .brand__option-physical-shop-button.active
  brand-page .brand__option-physical-shop-button-toggle {
  background-color: #fff;
}
brand-page .brand__option-physical-shop-button.active
  brand-page .brand__option-physical-shop-button-toggle
  .toggle-plus {
  display: none;
}
brand-page .brand__option-physical-shop-button.active
  brand-page .brand__option-physical-shop-button-toggle
  .toggle-minus {
  display: block;
  color: var(--colEthiBleu);
}

brand-page .physical-shop-list {
  display: none;
  margin-top: 1rem;
}

brand-page .physical-shop-list.show {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-evenly;
}

brand-page .brand__option-physical-shop-button.active {
  background-color: var(--colEthiBleu);
  color: #fff;
}

brand-page .physical-shop-card {
  width: calc(33.33% - 0.5rem);
  border-radius: 0.5rem;
  background-color: #fff;
  padding: 0.8rem;
  color: var(--colEthiBleu);
  font-size: 0.8rem;
  box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.12);
}

brand-page .physical-shop-card__address {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

brand-page .physical-shop-card__address-street {
  font-weight: 400;
}

brand-page .physical-shop-card__address-city {
  font-weight: 700;
}

brand-page .physical-shop-card__maps-link {
  display: flex;
  align-items: center;
  font-family: 'Raleway';
  font-size: 0.7rem;
  font-weight: 400;
  text-decoration: none;
}

brand-page .physical-shop-card__icon {
  margin-right: 0.5rem;
}

brand-page .physical-shop-card__maps-text {
  text-decoration: underline;
}

brand-page #physical-shop-option.one-shop .physical-shop-card {
  width: 100% !important;
}

/* --- Carousel --- */
brand-page .brand__carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 2rem 4rem;
}

brand-page .brand__photos {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  height: 15rem;
  scrollbar-width: none;
}

brand-page .brand__photo {
  max-height: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
}

brand-page .carousel__arrow {
  background: var(--colEthiVert);
  border-radius: 50%;
  padding: 0.4rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

brand-page .carousel__arrow:focus {
  outline: none;
}

brand-page .carousel__arrow svg {
  width: 0.8rem;
  height: 0.8rem;
}

brand-page .carousel__arrow svg path {
  stroke: #fff;
}

brand-page .carousel__arrow--prev {
  margin-right: 2rem;
}

brand-page .carousel__arrow--next {
  margin-left: 2rem;
}

brand-page .brand__carousel-mobile-wrapper {
  display: none;
}

/* ============== RESPONSIVE ============== */

@media (min-width: 1280px) {
  brand-page .conso-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  brand-page #intro {
    margin: 0 2rem !important;
  }
  brand-page .physical-shop-card {
    width: calc(50% - 0.5rem);
  }
}

@media (max-width: 768px) {
  brand-page #intro {
    margin: 0 !important;
  }
  brand-page .brand__presentation {
    flex-direction: column;
    padding: 2rem;
    gap: 3.25rem;
  }
  brand-page .brand__media-block,
  brand-page .brand__info {
    width: 100%;
    margin-left: 0;
  }
  brand-page .brand__illustration {
    max-width: 100%;
  }
  brand-page .brand__how-to {
    padding: 0 2rem;
  }
  brand-page .brand__option {
    width: 100%;
  }
  brand-page .physical-shop-card {
    width: 100%;
  }
  brand-page .brand__carousel {
    display: none;
  }
  brand-page .brand__carousel-mobile-wrapper {
    padding-bottom: 2rem;
    display: block;
  }
  brand-page .brand__carousel-mobile {
    display: block;
    position: relative;
    overflow: hidden;
  }
  brand-page .carousel-mobile__wrapper {
    display: flex;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    transition: none;
  }
  brand-page .carousel-mobile__image {
    scroll-snap-align: start;
    width: 100%;
    height: auto;
    max-height: 14rem;
    object-fit: cover;
    flex-shrink: 0;
  }
  brand-page .carousel-mobile__counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-family: 'Raleway';
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10;
  }
  brand-page .brand__photos {
    flex-direction: column;
    height: auto;
    overflow-x: visible;
  }
  brand-page .brand__photo {
    width: 100%;
    border-radius: 0;
    max-height: none;
  }
}