.hp4{
  --hp-dark:#15151f;
  --hp-purple:#8000ff;
  --hp-purple2:#b46cff;
  --hp-pink:#ff4fb8;
  --hp-blue:#3ab7ff;
  --hp-yellow:#ffd166;
  --hp-green:#31d0aa;
  --hp-soft:#f7f4ff;
  --hp-border:rgba(21,21,31,.12);
  --hp-shadow:0 18px 45px rgba(21,21,31,.12);
  position:relative;
  isolation:isolate;
}
.hp4,
.hp4 *{
  box-sizing:border-box;
}
.hp4__hero,
.hp4__section,
.hp4__grid,
.hp4__card,
.hp4__table,
.hp4__faq,
.hp4__cta{
  position:relative;
}
.hp4__hero{
  overflow:hidden;
  border-radius:30px;
  padding:clamp(26px,5vw,54px);
  margin:0 0 34px;
  color:#fff;
  background:
    radial-gradient(circle at 15% 15%,rgba(255,209,102,.38),transparent 28%),
    radial-gradient(circle at 88% 18%,rgba(255,79,184,.32),transparent 30%),
    linear-gradient(135deg,#15151f 0%,#3c167c 48%,#8000ff 100%);
  box-shadow:var(--hp-shadow);
}
.hp4__hero:before{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  right:-140px;
  bottom:-140px;
  border-radius:44% 56% 63% 37%;
  background:rgba(255,255,255,.12);
  animation:hp4Float 9s ease-in-out infinite alternate;
}
.hp4__hero:after{
  content:"🎢";
  position:absolute;
  right:28px;
  top:24px;
  font-size:clamp(42px,7vw,82px);
  filter:drop-shadow(0 12px 24px rgba(0,0,0,.28));
  animation:hp4Bob 3.4s ease-in-out infinite;
}
.hp4__kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 13px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.24);
  color:#fff;
  font-size:13px;
  line-height:1.25;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:800;
  margin:0 0 16px;
}
.hp4__hero h2{
  color:#fff!important;
  background:none!important;
  font-size:clamp(30px,5vw,56px);
  line-height:1.05;
  letter-spacing:-.04em;
  margin:0 0 18px;
  max-width:950px;
}
.hp4__lead{
  color:rgba(255,255,255,.9);
  font-size:clamp(17px,2vw,21px);
  line-height:1.65;
  max-width:900px;
  margin:0;
}
.hp4__stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:28px;
}
.hp4__stat{
  padding:16px;
  border-radius:18px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(10px);
}
.hp4__stat b{
  display:block;
  color:#fff;
  font-size:25px;
  line-height:1;
}
.hp4__stat span{
  display:block;
  color:rgba(255,255,255,.82);
  font-size:13px;
  line-height:1.35;
  margin-top:7px;
}
.hp4__section{
  margin:34px 0;
  padding:clamp(22px,3vw,34px);
  border-radius:28px;
  background:#fff;
  border:1px solid var(--hp-border);
  box-shadow:0 12px 32px rgba(21,21,31,.07);
  overflow:hidden;
}
.hp4__section:before{
  content:"";
  position:absolute;
  inset:0 auto auto 0;
  width:7px;
  height:100%;
  background:linear-gradient(180deg,var(--hp-purple),var(--hp-pink),var(--hp-yellow));
}
.hp4__section h2,
.hp4__section h3{
  color:var(--hp-dark)!important;
  background:none!important;
  line-height:1.16;
  letter-spacing:-.025em;
  margin:0 0 16px;
}
.hp4__section h2{
  font-size:clamp(25px,3vw,38px);
}
.hp4__section h3{
  font-size:clamp(20px,2vw,26px);
}
.hp4__section p{
  line-height:1.75;
  margin:0 0 17px;
}
.hp4__section p:last-child{
  margin-bottom:0;
}
.hp4__grid,
.hp4__grid-2{
  display:grid;
  gap:18px;
  margin:22px 0;
}
.hp4__grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.hp4__grid-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.hp4__card{
  overflow:hidden;
  padding:20px;
  border-radius:22px;
  background:linear-gradient(180deg,#fff,#f8f5ff);
  border:1px solid rgba(128,0,255,.14);
  box-shadow:0 10px 26px rgba(21,21,31,.06);
  transition:transform .25s ease, box-shadow .25s ease;
}
.hp4__card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 42px rgba(128,0,255,.16);
}
.hp4__card b{
  display:block;
  color:var(--hp-dark);
  font-size:18px;
  line-height:1.25;
  margin:0 0 8px;
}
.hp4__card span{
  display:block;
  color:#55556a;
  font-size:15px;
  line-height:1.55;
}
.hp4__emoji{
  display:inline-grid;
  place-items:center;
  width:42px;
  height:42px;
  margin-bottom:12px;
  border-radius:15px;
  background:linear-gradient(135deg,var(--hp-purple),var(--hp-pink));
  color:#fff;
  font-size:22px;
  box-shadow:0 10px 22px rgba(128,0,255,.25);
}
.hp4__quote{
  margin:24px 0;
  padding:20px 22px;
  border-radius:22px;
  background:linear-gradient(135deg,#15151f,#4b1f92);
  color:#fff;
  box-shadow:var(--hp-shadow);
}
.hp4__quote p{
  color:#fff;
  margin:0;
  font-size:18px;
}
.hp4__pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:20px 0 0;
}
.hp4__pills span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px 13px;
  border-radius:999px;
  background:#f1e9ff;
  border:1px solid rgba(128,0,255,.16);
  color:#32105f;
  font-weight:800;
  font-size:14px;
}
.hp4__steps{
  counter-reset:hpstep;
  display:grid;
  gap:14px;
  margin:22px 0 0;
}
.hp4__step{
  counter-increment:hpstep;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  align-items:start;
  padding:17px;
  border-radius:20px;
  background:#fbfaff;
  border:1px solid rgba(128,0,255,.12);
}
.hp4__step:before{
  content:counter(hpstep);
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:12px;
  color:#fff;
  font-weight:900;
  background:linear-gradient(135deg,var(--hp-purple),var(--hp-blue));
}
.hp4__step b{
  display:block;
  color:var(--hp-dark);
  margin-bottom:4px;
}
.hp4__step span{
  display:block;
  color:#55556a;
  line-height:1.55;
}
.hp4__table{
  overflow:auto;
  border-radius:22px;
  border:1px solid var(--hp-border);
  background:#fff;
  margin:22px 0;
  box-shadow:0 12px 28px rgba(21,21,31,.06);
}
.hp4__table table{
  width:100%;
  min-width:720px;
  border-collapse:collapse;
  background:#fff;
}
.hp4__table th{
  padding:15px;
  color:#fff;
  text-align:left;
  background:linear-gradient(135deg,#15151f,#4b1f92);
}
.hp4__table td{
  padding:15px;
  border-bottom:1px solid rgba(21,21,31,.1);
  vertical-align:top;
}
.hp4__table tr:nth-child(even) td{
  background:#faf8ff;
}
.hp4__cta{
  overflow:hidden;
  text-align:center;
  padding:clamp(24px,4vw,42px);
  border-radius:30px;
  color:#fff;
  background:
    radial-gradient(circle at 12% 22%,rgba(255,209,102,.35),transparent 25%),
    linear-gradient(135deg,#8000ff,#ff4fb8);
  box-shadow:var(--hp-shadow);
  margin:34px 0;
}
.hp4__cta h2{
  color:#fff!important;
  background:none!important;
  font-size:clamp(26px,4vw,42px);
  line-height:1.12;
  margin:0 0 14px;
}
.hp4__cta p{
  max-width:780px;
  margin:0 auto 20px;
  color:rgba(255,255,255,.92);
  line-height:1.7;
}
.hp4__cta a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:13px 18px;
  border-radius:999px;
  background:#fff;
  color:#32105f!important;
  font-weight:900;
  text-decoration:none;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  transition:transform .25s ease;
}
.hp4__cta a:hover{
  transform:translateY(-4px) scale(1.03);
}
.hp4__faq details{
  margin:12px 0;
  padding:16px 18px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(128,0,255,.14);
  box-shadow:0 8px 20px rgba(21,21,31,.05);
}
.hp4__faq summary{
  cursor:pointer;
  color:var(--hp-dark);
  font-weight:900;
}
.hp4__faq p{
  margin:12px 0 0;
}
.hp4__spark{
  animation:hp4Spark 2.8s ease-in-out infinite;
}
@keyframes hp4Bob{
  0%,100%{transform:translateY(0) rotate(-3deg)}
  50%{transform:translateY(-10px) rotate(4deg)}
}
@keyframes hp4Float{
  0%{transform:translate(0,0) scale(1);border-radius:44% 56% 63% 37%}
  100%{transform:translate(-40px,-24px) scale(1.08);border-radius:60% 40% 42% 58%}
}
@keyframes hp4Spark{
  0%,100%{filter:drop-shadow(0 0 0 rgba(255,209,102,0))}
  50%{filter:drop-shadow(0 0 12px rgba(255,209,102,.8))}
}
@media(max-width:860px){
  .hp4__stats,
  .hp4__grid,
  .hp4__grid-2{
    grid-template-columns:1fr;
  }
  .hp4__hero{
    border-radius:22px;
  }
  .hp4__hero:after{
    opacity:.25;
    right:16px;
    top:16px;
  }
}
@media(prefers-reduced-motion:reduce){
  .hp4__hero:before,
  .hp4__hero:after,
  .hp4__spark{
    animation:none!important;
  }
}


/* === HP4 patch mobile / colonne étroite === */

/* 1. CTA final : titre, texte et bouton parfaitement centrés */
.hp4 .hp4__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hp4 .hp4__cta h2,
.hp4 .hp4__cta p {
  width: 100%;
  max-width: 760px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hp4 .hp4__cta a {
  margin-left: auto;
  margin-right: auto;
}

/* 2. Emojis des cards : plus gros, centrés, plus premium */
.hp4 .hp4__card {
  text-align: center;
}

.hp4 .hp4__card .hp4__emoji {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  font-size: 31px;
  line-height: 1;
  border-radius: 20px;
}

/* 3. Hero stats : éviter “Guides” sous l’emoji */
.hp4 .hp4__stat {
  text-align: center;
}

.hp4 .hp4__stat b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  font-size: clamp(15px, 2.8vw, 22px);
}

/* 4. Tableau : garder uniquement le scroll du wrapper hp4,
   et neutraliser le scroll natif injecté par le CMS sur table:not(.awesome-table) */
.hp4 .hp4__table {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.hp4 .hp4__table table {
  display: table !important;
  overflow: visible !important;
  white-space: normal !important;
  min-width: 680px;
  width: 100%;
}

.hp4 .hp4__table th,
.hp4 .hp4__table td {
  white-space: normal !important;
}

/* 5. Responsive plus propre quand le bloc est dans grid_8 */
@media (max-width: 860px) {
  .hp4 .hp4__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp4 .hp4__grid,
  .hp4 .hp4__grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hp4 .hp4__hero {
    padding: 24px 18px;
  }

  .hp4 .hp4__stats {
    gap: 10px;
  }

  .hp4 .hp4__stat {
    padding: 13px 9px;
  }

  .hp4 .hp4__stat b {
    font-size: 15px;
  }

  .hp4 .hp4__stat span {
    font-size: 12px;
  }

  .hp4 .hp4__card .hp4__emoji {
    width: 64px;
    height: 64px;
    font-size: 34px;
  }
}

/* Titre H1 du slider homepage */
div.edito_txt_o h1 {
  display: inline-block;
  position: relative;
  max-width: 920px;
  padding: clamp(14px, 2vw, 22px) clamp(18px, 3vw, 34px);
  border-radius: 24px;
  color: #fff !important;
  font-size: clamp(10px, 5vw, 32px);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-shadow: 0 8px 26px rgba(0,0,0,.45);
  background:
    radial-gradient(circle at 12% 18%, rgba(255,209,102,.34), transparent 26%),
    linear-gradient(135deg, rgba(21,21,31,.72), rgba(128,0,255,.58));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 22px 55px rgba(21,21,31,.32);
  backdrop-filter: blur(8px);
}

div.edito_txt_o h1 h1::after {
  content: "Billets, prix, avis et guides de visite";
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  left: 22px;
  bottom: -16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #32105f;
  background: #fff;
  font-size: clamp(11px, 1.2vw, 14px);
  line-height: 1;
  letter-spacing: .01em;
  font-weight: 900;
  text-shadow: none;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

/* Cards : emoji centrés horizontalement + verticalement */
.hp4 .hp4__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hp4 .hp4__emoji {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 66px;
  height: 66px;
  min-width: 66px;
  min-height: 66px;
  margin: 0 auto 15px;
  border-radius: 22px;
  font-size: 36px;
  line-height: 1 !important;
  text-align: center;
}

.hp4 .hp4__emoji img,
.hp4 .hp4__emoji svg {
  display: block;
  width: 1em;
  height: 1em;
}

/* CTA : titre vraiment centré */
.hp4 .hp4__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hp4 .hp4__cta h2,
.hp4 .hp4__cta p {
  width: 100%;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hp4 .hp4__cta a {
  margin-left: auto;
  margin-right: auto;
}

/* Hero stats : éviter que Guides passe sous l’emoji */
.hp4 .hp4__stat {
  text-align: center;
}

.hp4 .hp4__stat b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  font-size: clamp(15px, 2.7vw, 22px);
}

/* Pills : plus lisibles et capitalisées côté rendu */
.hp4 .hp4__pills span {
  text-transform: none;
}

.hp4 .hp4__pills span::first-letter,
.hp4 .hp4__faq summary::first-letter {
  text-transform: uppercase;
}

/* FAQ enrichie : plus premium */
.hp4 .hp4__faq details {
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.hp4 .hp4__faq details:hover {
  transform: translateY(-2px);
  border-color: rgba(128,0,255,.28);
  box-shadow: 0 14px 30px rgba(128,0,255,.10);
}

.hp4 .hp4__faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  list-style: none;
}

.hp4 .hp4__faq summary::-webkit-details-marker {
  display: none;
}

.hp4 .hp4__faq summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg,#8000ff,#ff4fb8);
  font-weight: 900;
  line-height: 1;
}

.hp4 .hp4__faq details[open] summary::after {
  content: "–";
}

.hp4 .hp4__faq details[open] {
  background: linear-gradient(180deg,#fff,#fbf7ff);
}

/* Tableau : supprimer l’effet double scroll du CMS */
.hp4 .hp4__table {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.hp4 .hp4__table table {
  display: table !important;
  overflow: visible !important;
  white-space: normal !important;
  min-width: 680px;
  width: 100%;
}

.hp4 .hp4__table th,
.hp4 .hp4__table td {
  white-space: normal !important;
}

/* Mobile / colonne étroite */
@media (max-width: 860px) {
  .hp4 .hp4__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp4 .hp4__grid,
  .hp4 .hp4__grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  body#top.page1 div.main div.slider_wrapper div.caption div.edito_txt_o h1 {
    font-size: 34px;
    padding: 15px 17px 22px;
  }

  body#top.page1 div.main div.slider_wrapper div.caption div.edito_txt_o h1::after {
    left: 16px;
    bottom: -14px;
    font-size: 11px;
  }

  .hp4 .hp4__hero {
    padding: 24px 18px;
  }

  .hp4 .hp4__stats {
    gap: 10px;
  }

  .hp4 .hp4__stat {
    padding: 13px 9px;
  }

  .hp4 .hp4__stat b {
    font-size: 15px;
  }

  .hp4 .hp4__stat span {
    font-size: 12px;
  }

  .hp4 .hp4__emoji {
    width: 70px;
    height: 70px;
    font-size: 38px;
  }
}


.hp4 .hp4__pills a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #f1e9ff;
  border: 1px solid rgba(128,0,255,.16);
  color: #32105f !important;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  line-height: 1.2;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.hp4 .hp4__pills a:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 12px 26px rgba(128,0,255,.16);
}

.hp4 .hp4__card > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg,#8000ff,#ff4fb8);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(128,0,255,.18);
  transition: transform .22s ease, box-shadow .22s ease;
}

.hp4 .hp4__card > a:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(128,0,255,.24);
}

.hp4 .hp4__section a:not(.hp4__card a):not(.hp4__pills a) {
  color: #6d18d8;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* === HP4 PATCH : maillage interne propre dans texte, pills et tableaux === */

/* Liens texte dans les paragraphes */
.hp4 .hp4__section p a,
.hp4 .hp4__faq p a {
  color: #6d18d8 !important;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.hp4 .hp4__section p a:hover,
.hp4 .hp4__faq p a:hover {
  color: #ff4fb8 !important;
}

/* Liens dans tableaux : visibles mais pas façon bouton */
.hp4 .hp4__table td a {
  color: #44147f !important;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hp4 .hp4__table td a:hover {
  color: #8f00ff !important;
}

/* Pills cliquables */
.hp4 .hp4__pills a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #f1e9ff;
  border: 1px solid rgba(128,0,255,.16);
  color: #32105f !important;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.hp4 .hp4__pills a:hover {
  transform: translateY(-3px);
  background: #fff;
  box-shadow: 0 12px 26px rgba(128,0,255,.16);
}

/* Bloc de liens guide : maillage complémentaire */
.hp4 .hp4__linkgrid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}

.hp4 .hp4__linkbox {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(128,0,255,.12);
  box-shadow: 0 10px 24px rgba(40,0,90,.06);
  text-decoration: none !important;
  transition: transform .22s ease, box-shadow .22s ease;
}

.hp4 .hp4__linkbox:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(128,0,255,.14);
}

.hp4 .hp4__linkbox b {
  color: #32105f;
  font-weight: 950;
  margin-bottom: 6px;
}

.hp4 .hp4__linkbox span {
  color: #5f5570;
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .hp4 .hp4__linkgrid {
    grid-template-columns: 1fr;
  }
}