/* Design Hyundai — repris du snippet « Design Hyundai » (16/9, compteur 01 — 03, bulle « Faites défiler » sur mobile). */
@font-face { font-family: "HyundaiHeadMedium"; src: url("https://sudmotor.be/wp-content/uploads/sites/2/2026/08/HyundaiSansHead-Medium.woff2") format("woff2"); font-style: normal; font-weight: normal; font-display: swap; }
@font-face { font-family: "HyundaiHeadRegular"; src: url("https://sudmotor.be/wp-content/uploads/sites/2/2026/08/HyundaiSansHead-Regular.woff2") format("woff2"); font-style: normal; font-weight: normal; font-display: swap; }
@font-face { font-family: "HyundaiTextRegular"; src: url("https://sudmotor.be/wp-content/uploads/sites/2/2026/08/HyundaiSansText-Regular.woff2") format("woff2"); font-style: normal; font-weight: normal; font-display: swap; }

.smo-hyundai, .smo-hyundai * { box-sizing: border-box; }
.smo-hyundai {
  --hy-blue: #002c5f; --hy-bg: #f8f9fa; --hy-line: #dce3ed;
  position: relative; padding: clamp(30px, 5vh, 60px) clamp(20px, 4vw, 50px); background: #ffffff;
  font-family: "HyundaiTextRegular", Arial, sans-serif; -webkit-font-smoothing: antialiased; touch-action: pan-y;
}
.smo-hyundai .hy-layout { display: flex; max-width: 1400px; margin: 0 auto; border: 1px solid var(--hy-blue); background: var(--hy-bg); position: relative; align-items: stretch; }
.smo-hyundai .hy-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 45px; height: 55px; background: var(--hy-blue); color: #ffffff; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; transition: background 0.3s ease; padding: 0; }
.smo-hyundai .hy-arrow:hover { background: #001f44; }
.smo-hyundai .hy-arrow svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }
.smo-hyundai .hy-arrow.prev { left: -22px; }
.smo-hyundai .hy-arrow.next { right: -22px; }

.smo-hyundai .hy-panel { flex: 0 0 40%; padding: clamp(20px, 2.5vw, 35px); display: flex; flex-direction: column; border-right: 1px solid var(--hy-blue); background: var(--hy-bg); z-index: 2; }
.smo-hyundai .hy-main-title { font-family: "HyundaiHeadMedium", sans-serif; font-size: 11px; font-weight: normal; color: #777; text-transform: uppercase; margin: 0 0 15px; letter-spacing: 0.15em; line-height: 1; }
.smo-hyundai .hy-model-name { font-family: "HyundaiHeadMedium", sans-serif; font-size: clamp(20px, 2.2vw, 28px); color: var(--hy-blue); text-transform: uppercase; margin: 0 0 5px; }
.smo-hyundai .hy-from { font-family: "HyundaiTextRegular", sans-serif; font-size: 12px; color: var(--hy-blue); text-transform: uppercase; margin: 0 0 5px; }
.smo-hyundai .hy-price-wrap { display: flex; flex-direction: column; margin-bottom: 5px; }
.smo-hyundai .hy-price { display: flex; align-items: baseline; color: var(--hy-blue); flex-wrap: wrap; }
.smo-hyundai .hy-price strong { font-family: "HyundaiHeadMedium", sans-serif; font-weight: normal; font-size: clamp(45px, 4.5vw, 65px); line-height: 0.9; white-space: nowrap; }
.smo-hyundai .hy-price span { font-family: "HyundaiHeadMedium", sans-serif; font-size: clamp(18px, 2vw, 24px); margin-left: 12px; }
.smo-hyundai .hy-ou { font-family: "HyundaiHeadMedium", sans-serif; font-size: 10px; color: #666; margin: 5px 0; text-transform: uppercase; }
.smo-hyundai .hy-finance { font-family: "HyundaiHeadMedium", sans-serif; font-size: 11px; color: var(--hy-blue); text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 12px; }
.smo-hyundai .hy-copy { font-size: 12px; line-height: 1.5; color: #333; margin-bottom: 12px; text-align: left; }
.smo-hyundai .hy-copy p { margin: 0 0 6px; }

.smo-hyundai .hy-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.smo-hyundai .hy-btn, .smo-hyundai .hy-btn-ghost { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; font-family: "HyundaiHeadMedium", sans-serif; font-size: 11px; text-transform: uppercase; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border-radius: 0; }
.smo-hyundai .hy-btn { background: var(--hy-blue); color: #fff; border: 1px solid var(--hy-blue); }
.smo-hyundai .hy-btn:hover { background: transparent; color: var(--hy-blue); }
.smo-hyundai .hy-btn-ghost { background: transparent; color: var(--hy-blue); border: 1px solid var(--hy-blue); }
.smo-hyundai .hy-btn-ghost:hover { background: var(--hy-blue); color: #fff; }
.smo-hyundai .hy-conditions { background: transparent; border: none; padding: 0; font-family: "HyundaiTextRegular", sans-serif; font-size: 11px; color: var(--hy-blue); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; text-align: left; text-transform: uppercase; align-self: flex-start; }

.smo-hyundai .hy-bottom-bar { margin-top: auto; padding-top: 15px; display: flex; align-items: center; justify-content: space-between; width: 100%; }
.smo-hyundai .hy-pagination { display: flex; align-items: center; gap: 10px; font-family: "HyundaiHeadMedium", sans-serif; font-size: 14px; color: var(--hy-blue); }
.smo-hyundai .hy-pagination-line { width: 30px; height: 1px; background: var(--hy-blue); opacity: 0.3; }
.smo-hyundai .hy-current { font-size: 16px; }
.smo-hyundai .hy-total { color: #888; }
.smo-hyundai .hy-swipe-hint { display: none; align-items: center; gap: 6px; color: #ffffff; background: var(--hy-blue); padding: 6px 14px; border-radius: 50px; font-family: "HyundaiTextRegular", sans-serif; font-size: 10px; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 2px 8px rgba(0, 44, 95, 0.15); }
.smo-hyundai .hy-swipe-hint svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; animation: hy-swipe-anim 1.5s infinite ease-in-out; }
@keyframes hy-swipe-anim { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }

.smo-hyundai .hy-media { flex: 0 0 60%; position: relative; background: var(--hy-blue); overflow: hidden; display: flex; flex-direction: column; aspect-ratio: 16 / 9; }
.smo-hyundai .hy-img { width: calc(100% + 2px); height: calc(100% + 2px); margin: -1px; max-width: none; object-fit: cover; animation: hy-img-in 0.5s ease both; }

.smo-hyundai .hy-dialog { width: min(850px, calc(100vw - 32px)); border: 1px solid var(--hy-blue); padding: 48px; background: #fff; color: #333; font-family: "HyundaiTextRegular", sans-serif; border-radius: 0; }
.smo-hyundai .hy-dialog::backdrop { background: rgba(0,44,95,.8); backdrop-filter: blur(5px); }
.smo-hyundai .hy-dialog-close { position: absolute; top: 15px; right: 20px; border: 0; background: transparent; color: var(--hy-blue); font-size: 30px; cursor: pointer; }
.smo-hyundai .hy-dialog h3 { font-family: "HyundaiHeadMedium", sans-serif; font-weight: normal; font-size: 32px; color: var(--hy-blue); margin: 0 0 20px; text-transform: uppercase; }
.smo-hyundai .hy-legal-copy { font-size: 13px; line-height: 1.6; }

@keyframes hy-img-in { from { opacity: 0.5; transform: scale(1.02); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 900px) {
  .smo-hyundai .hy-layout { flex-direction: column; }
  .smo-hyundai .hy-panel { flex: 0 0 auto; border-right: none; padding: 30px 20px; }
  .smo-hyundai .hy-media { flex: 0 0 auto; aspect-ratio: 16 / 9; border-top: 1px solid var(--hy-blue); }
  .smo-hyundai .hy-arrow { display: none !important; }
  .smo-hyundai .hy-swipe-hint { display: flex; }
}

/* 1.1.0 : sous-titre, description sous le titre, disposition des prix d’origine conservée */
.smo-hyundai .hy-subtitle { font-family: "HyundaiTextRegular", sans-serif; font-size: 12px; color: #555; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
.smo-hyundai .hy-copy { margin-bottom: 14px; }

/* 1.2.1 : prix secondaire « ou 24 900 € » plus visible */
.smo-hyundai .hy-ou { display: flex; align-items: baseline; gap: 6px; margin: 8px 0 4px; color: var(--hy-blue); text-transform: none; font-size: 13px; }
.smo-hyundai .hy-ou-word { font-family: "HyundaiHeadMedium", sans-serif; font-size: 11px; color: #666; text-transform: uppercase; }
.smo-hyundai .hy-ou-price { font-family: "HyundaiHeadMedium", sans-serif; font-weight: normal; font-size: clamp(22px, 2.2vw, 30px); line-height: 1; color: var(--hy-blue); }
.smo-hyundai .hy-ou-unit { font-family: "HyundaiHeadMedium", sans-serif; font-size: clamp(13px, 1.2vw, 16px); }
