@charset "UTF-8";
.section-avis {
  width: 100%;
  padding: 70px 20px;
  background: #ebe2d6;
  color: #3b3128;
}

.section-avis__inner {
  width: min(1360px, 100%);
  margin: 0 auto;
}

.section-avis__titre-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 42px;
}

.section-avis__titre {
  font-family: "Hello Darling", cursive;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  text-align: center;
  margin: 0;
  color: #3b3128;
}

.avis-info-button {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  background: #1f73d6;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(31, 115, 214, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.avis-info-button:hover,
.avis-info-button:focus {
  transform: translateY(-2px);
  background: #155db2;
  box-shadow: 0 10px 24px rgba(31, 115, 214, 0.35);
}

/* Ancienne grille désactivée : les avis sont maintenant affichés en carrousel. */
.avis-grid {
  display: none;
}

.avis-carousel {
  width: min(1360px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.avis-carousel__viewport {
  width: 100%;
  overflow: hidden;
}

.avis-carousel__track {
  display: flex;
  gap: 30px;
  transition: transform 0.35s ease;
  will-change: transform;
}

.avis-slide {
  flex: 0 0 calc((100% - 60px) / 3);
  min-width: 0;
}

.avis-carousel__nav {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 999px;
  border: 1px solid rgba(192, 155, 90, 0.6);
  background: #fffaf2;
  color: #3b3128;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(59, 49, 40, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.avis-carousel__nav:hover,
.avis-carousel__nav:focus {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 14px 30px rgba(59, 49, 40, 0.18);
}

.avis-carousel__nav:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.avis-card {
  min-height: 500px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(192, 155, 90, 0.45);
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 14px 35px rgba(59, 49, 40, 0.13);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.avis-card > div {
  min-height: 0;
}

.avis-card--source {
  background: #fffaf2;
}

.avis-card__source {
  font-size: 0.9rem;
  font-weight: 700;
  color: #8a682d;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.avis-card__score {
  font-size: 2.55rem;
  font-weight: 800;
  color: #3b3128;
  margin: 16px 0 6px 0;
}

.avis-card__count {
  margin-top: 14px;
}

.avis-stars {
  color: #6f4f18;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.avis-source-exemple {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(192, 155, 90, 0.28);
}

.avis-source-exemple__titre {
  margin: 0 0 10px 0;
  color: #8a682d;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.avis-source-exemple blockquote,
.avis-card blockquote {
  margin: 16px 0;
  max-height: 210px;
  overflow: auto;
  padding-right: 8px;
  font-size: 1rem;
  line-height: 1.6;
  color: #3b3128;
  scrollbar-width: thin;
}

.avis-source-exemple blockquote p,
.avis-card blockquote p {
  margin: 0;
}

.avis-source-exemple__meta,
.avis-card figcaption {
  font-size: 0.95rem;
  color: #65584c;
  margin-top: 18px;
}

.avis-source-exemple__meta small,
.avis-card figcaption small {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.82rem;
}

.avis-card__lien {
  color: #3b3128;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #c09b5a;
  align-self: flex-start;
  margin-top: 18px;
}

.avis-card__lien:hover,
.avis-card__lien:focus {
  color: #8a682d;
}

.avis-add {
  border: 2px dashed rgba(192, 155, 90, 0.75);
  background: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  color: #3b3128;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.avis-add:hover,
.avis-add:focus {
  transform: translateY(-3px);
  background: #fffaf2;
  box-shadow: 0 18px 45px rgba(59, 49, 40, 0.18);
}

.avis-add__icon {
  width: 130px;
  height: 130px;
  position: relative;
  display: block;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.35));
}

.avis-add__icon::before,
.avis-add__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #111;
  border-radius: 4px;
  transform: translate(-50%, -50%);
}

.avis-add__icon::before {
  width: 130px;
  height: 22px;
}

.avis-add__icon::after {
  width: 22px;
  height: 130px;
}

.avis-add__texte {
  font-size: 1.25rem;
  font-weight: 800;
}

.avis-legal-dialog::backdrop,
.avis-dialog::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.avis-legal-dialog {
  width: min(770px, 100vw - 30px);
  max-height: min(760px, 100vh - 40px);
  overflow: auto;
  border: 2px solid #c09b5a;
  border-radius: 14px;
  padding: 34px 32px;
  background: #111;
  color: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.68);
  text-align: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}

.avis-legal-dialog__logo {
  width: 115px;
  height: auto;
  margin: 0 auto 24px auto;
  display: block;
}

.avis-legal-dialog__body {
  text-align: left;
}

.avis-legal-dialog h3 {
  margin: 0 0 18px 0;
  text-align: center;
  color: #fff;
  font-size: 1.55rem;
}

.avis-legal-dialog p {
  line-height: 1.7;
  margin: 0 0 16px 0;
}

.avis-legal-dialog a {
  color: #c09b5a;
  font-weight: 800;
  text-decoration-thickness: 2px;
}

.avis-legal-dialog__close {
  position: absolute;
  top: 13px;
  right: 18px;
  background: none;
  border: 1px solid rgba(192, 155, 90, 0.65);
  font-size: 30px;
  color: #c09b5a;
  cursor: pointer;
  line-height: 1;
  padding: 0 7px 3px 7px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.avis-legal-dialog__close:hover,
.avis-legal-dialog__close:focus {
  color: #fff;
  border-color: #fff;
}

.avis-dialog {
  width: min(460px, 100vw - 30px);
  border: 2px solid #c09b5a;
  border-radius: 18px;
  padding: 28px;
  background: #fffaf2;
  color: #3b3128;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}

.avis-dialog h3 {
  margin-bottom: 16px;
  font-size: 1.45rem;
}

.avis-dialog p {
  line-height: 1.6;
  margin-bottom: 16px;
}

.avis-dialog label {
  display: block;
  margin-top: 14px;
  margin-bottom: 6px;
  font-weight: 700;
}

.avis-dialog input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(59, 49, 40, 0.3);
  border-radius: 10px;
  font-size: 1rem;
}

.avis-dialog__actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 22px;
}

.avis-dialog button {
  cursor: pointer;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 800;
}

.avis-dialog__valider {
  background: #3b3128;
  color: #fff;
  border: 1px solid #3b3128;
}

.avis-dialog__fermer {
  background: transparent;
  color: #3b3128;
  border: 1px solid rgba(59, 49, 40, 0.35);
}

.avis-dialog__erreur {
  color: #8b2424;
  font-weight: 700;
  margin-top: 14px;
}

.avis-form {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 30px;
  background: #fffaf2;
  border: 1px solid rgba(192, 155, 90, 0.45);
  border-radius: 18px;
  box-shadow: 0 14px 35px rgba(59, 49, 40, 0.13);
}

.avis-form__champ {
  margin-bottom: 20px;
}

.avis-form__champ label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  color: #3b3128;
}

.avis-form__champ label span {
  font-weight: 400;
  color: #65584c;
}

.avis-form__champ input,
.avis-form__champ select,
.avis-form__champ textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(59, 49, 40, 0.28);
  border-radius: 10px;
  background: #fff;
  color: #3b3128;
  font: inherit;
}

.avis-form__champ textarea {
  resize: vertical;
}

.avis-form__note {
  margin: 20px 0;
  padding: 16px;
  border-left: 4px solid #c09b5a;
  background: rgba(192, 155, 90, 0.12);
  line-height: 1.6;
}

.avis-form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.avis-form__errors {
  width: min(760px, 100%);
  margin: 0 auto 24px auto;
  padding: 18px 22px;
  border: 1px solid rgba(139, 36, 36, 0.35);
  border-radius: 14px;
  background: rgba(139, 36, 36, 0.08);
  color: #6f1f1f;
}

.avis-form__errors ul {
  margin: 10px 0 0 20px;
}

@media (max-width: 1100px) {
  .avis-slide {
    flex-basis: calc((100% - 30px) / 2);
  }
}
@media (max-width: 700px) {
  .section-avis {
    padding: 54px 14px;
  }
  .section-avis__titre-wrap {
    gap: 10px;
    margin-bottom: 34px;
  }
  .avis-info-button {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 1.05rem;
  }
  .avis-carousel {
    gap: 10px;
  }
  .avis-slide {
    flex-basis: 100%;
  }
  .avis-card {
    min-height: 440px;
    padding: 23px;
  }
  .avis-carousel__nav {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 1.25rem;
  }
  .avis-add__icon {
    width: 110px;
    height: 110px;
  }
  .avis-add__icon::before {
    width: 110px;
    height: 19px;
  }
  .avis-add__icon::after {
    width: 19px;
    height: 110px;
  }
  .avis-legal-dialog {
    padding: 34px 22px;
  }
}
/* ==========================================================
   Avis voyageurs — affichage mobile en liste verticale
   ========================================================== */
@media screen and (max-width: 760px) {
  .section-avis {
    padding: 48px 14px;
    overflow: visible;
  }
  .section-avis__inner {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }
  .section-avis__titre-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
  }
  .section-avis__titre {
    font-size: clamp(2.4rem, 13vw, 3.8rem);
    line-height: 1;
    margin-bottom: 28px;
  }
  .avis-carousel {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow: visible;
  }
  .avis-carousel__viewport {
    width: 100%;
    max-width: 100%;
    overflow: visible !important;
  }
  .avis-carousel__track {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 22px !important;
    width: 100% !important;
    transform: none !important;
    transition: none !important;
  }
  .avis-slide,
  .avis-card {
    width: min(100%, 420px) !important;
    max-width: 420px !important;
    min-width: 0 !important;
    min-height: auto !important;
    height: auto !important;
    aspect-ratio: auto !important;
    margin: 0 auto !important;
    padding: 24px 22px;
    box-sizing: border-box;
  }
  .avis-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
  }
  .avis-card blockquote,
  .avis-source-exemple,
  .avis-source-exemple blockquote {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }
  .avis-card blockquote {
    margin: 16px 0;
    line-height: 1.65;
  }
  .avis-card__score {
    font-size: 2.2rem;
  }
  .avis-stars {
    font-size: 1.25rem;
  }
  .avis-carousel__nav {
    display: none !important;
  }
  .avis-add {
    min-height: 180px !important;
  }
  .avis-add__icon {
    width: 80px;
    height: 80px;
  }
  .avis-add__icon::before {
    width: 80px;
    height: 14px;
  }
  .avis-add__icon::after {
    width: 14px;
    height: 80px;
  }
}
.fort {
  color: #ffef05;
}