/* FONT FACE */
@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun/sarabun-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun/sarabun-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun/sarabun-latin-900-normal.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun/sarabun-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun/sarabun-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Sarabun";
  src: url("../fonts/sarabun/sarabun-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Memories Note";
  src: url("../fonts/Memories Note.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "SpiderBrush";
  src: url("../fonts/SpiderBrush.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}
/* VARIABLES */
@media (min-width: 1188px) {
  .hero::after {
    right: 3%;
  }
}
.truck-me {
  background: radial-gradient(ellipse at 85% 25%, rgba(255, 253, 247, 0.2) 0%, transparent 50%), #EA7E3E;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: center;
  text-align: center;
}
@media (min-width: 1188px) {
  .truck-me {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
  }
}
.truck-me__logo {
  width: 120px;
  height: 120px;
  -o-object-fit: contain;
     object-fit: contain;
  flex-shrink: 0;
}
@media (min-width: 1188px) {
  .truck-me__logo {
    width: 150px;
    height: 150px;
  }
}
.truck-me__contenu {
  flex: 1;
}
.truck-me__titre {
  color: #FFFDF7;
  margin-bottom: 0.75rem;
  font-family: "Memories Note", sans-serif;
}
.truck-me__texte {
  color: rgba(255, 253, 247, 0.9);
}
.truck-me__appli {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.truck-me__telecharger {
  color: #FFFDF7;
  margin-bottom: 1rem;
  font-family: "Memories Note", sans-serif;
}
.truck-me__liens {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 1188px) {
  .truck-me__liens {
    flex-direction: row;
  }
}
.truck-me__lien {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #FFFDF7;
  color: #472C18;
  border-radius: 2rem;
  padding: 0.55rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.truck-me__lien img {
  width: 1.1rem;
  height: 1.1rem;
  -o-object-fit: contain;
     object-fit: contain;
}
.truck-me__lien:hover {
  background-color: rgba(255, 253, 247, 0.85);
}

.emplacements {
  background: linear-gradient(to bottom, rgba(255, 219, 139, 0.7), #FFFDF7);
  position: relative;
  text-align: center;
}
.emplacements__deco {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 5rem;
  pointer-events: none;
}
@media (min-width: 1024px) {
  .emplacements__deco {
    width: 7rem;
    top: 3rem;
    right: 4rem;
  }
}
.emplacements__liste {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .emplacements__liste {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: center;
  }
}

.emplacement {
  background-color: #FFFDF7;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 3px 10px rgba(71, 44, 24, 0.1);
  flex: 1;
  min-width: 200px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: initial;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.emplacement--recherche {
  background: linear-gradient(rgba(255, 219, 139, 0.3), rgba(255, 219, 139, 0.3)), #FFFDF7;
}
.emplacement:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(71, 44, 24, 0.12);
}
.emplacement__jour {
  font-family: "Memories Note", sans-serif;
  font-size: 1.5rem;
  color: #EA7E3E;
}
.emplacement__adresse {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.875rem;
}
.emplacement__adresse::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1rem;
  height: 1rem;
  background-image: url("../img/pin.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
.emplacement__adresse p {
  margin: 0;
}
.emplacement__adresse p:first-child {
  font-weight: 700;
  color: #472C18;
}
.emplacement__adresse p:not(:first-child) {
  color: rgba(71, 44, 24, 0.6);
}
.emplacement__horaires {
  font-size: 0.875rem;
  font-weight: 700;
  padding-left: 1.5rem;
  position: relative;
  margin-top: auto;
  padding-top: 0.5rem;
}
.emplacement__horaires::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 1rem;
  height: 1rem;
  background-image: url("../img/horloge.svg");
  background-size: contain;
  background-repeat: no-repeat;
}
.emplacement__texte {
  font-size: 0.875rem;
  line-height: 1.55;
}
.emplacement__texte p {
  margin: 0 0 0.4rem;
}
.emplacement__texte p:first-child {
  font-weight: 700;
  font-size: 0.95rem;
  color: #472C18;
}
.emplacement__texte p:not(:first-child) {
  color: rgba(71, 44, 24, 0.7);
}
.emplacement__texte a {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 1.1rem;
  border: 1.5px solid #EA7E3E;
  border-radius: 2rem;
  color: #EA7E3E;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.emplacement__texte a:hover {
  background-color: #EA7E3E;
  color: #FFFDF7;
}

.carte {
  position: relative;
  text-align: center;
}
.carte__deco {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 5rem;
  pointer-events: none;
}
@media (min-width: 1024px) {
  .carte__deco {
    width: 6rem;
  }
}
.carte__titre {
  margin-bottom: 2rem;
}
.carte__map {
  border-radius: 1rem;
  overflow: hidden;
  max-height: 30rem;
  background-color: #FFDB8B;
}

.textual-popup .leaflet-popup-content-wrapper {
  border-radius: 1rem;
  box-shadow: 0 3px 10px rgba(71, 44, 24, 0.1);
}
.textual-popup .leaflet-popup-content {
  padding: 1rem 1.25rem;
  text-align: center;
  margin: 0;
}
.textual-popup .title {
  font-family: "SpiderBrush", sans-serif;
  color: #EA7E3E;
  font-size: 1.75rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.textual-popup .excerpt {
  font-size: 1rem;
  color: #472C18;
  font-family: "Sarabun", sans-serif;
}

.cta {
  background-color: #FECC4F;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cta__titre {
  font-family: "Memories Note", sans-serif;
  color: #472C18;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 1188px) {
  .cta__titre {
    font-size: 2rem;
  }
}
@media (min-width: 1500px) {
  .cta__titre {
    font-size: 2.5rem;
  }
}
.cta__texte {
  max-width: 40rem;
}