/* ===== KUSTOM3D – PAGE PARTENAIRES 4 UNIVERS ===== */
.kp { font-family: "Inter", system-ui, sans-serif; color: #141416; }
.kp *, .kp *::before, .kp *::after { box-sizing: border-box; }
.kp p { display: contents !important; }
.kp br { display: none !important; }
.kp a { text-decoration: none !important; }
.kp img { margin: 0 !important; max-width: none; }
.kp-wrap { max-width: 1320px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.kp-disp { font-family: "Bricolage Grotesque", sans-serif; letter-spacing: -.03em; font-weight: 800; }
.kp-hand { font-family: "Caveat", cursive; font-weight: 700; }

/* Animations */
@keyframes kp-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes kp-spin { to { transform: rotate(360deg); } }
@keyframes kp-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kp-pulse { 0%,100% { transform: scale(1); opacity: .45; } 50% { transform: scale(1.15); opacity: .12; } }
@keyframes kp-twinkle { 0%,100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }

/* ---------- BANNIÈRE ---------- */
.kp-hero { position: relative; overflow: hidden; background-color: #141416; color: #FFFFFF;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.2px); background-size: 6px 6px; }
.kp-hero-in { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding-top: 76px; padding-bottom: 60px; }
.kp-hero-txt { flex: 999 1 560px; min-width: 0; }
.kp-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #D6D3CE; }
.kp-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #C62828; }
.kp-h1 { margin: 20px 0 0 !important; color: #FFFFFF !important; font-size: 100px !important; line-height: .9 !important; text-transform: none !important; }
.kp-souligne { position: relative; display: inline-block; }
.kp-souligne::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 30' preserveAspectRatio='none'%3E%3Cpath d='M4,20 C60,4 120,28 180,12 C220,2 260,10 296,8' fill='none' stroke='%23C62828' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.kp-lead { display: block; margin-top: 34px; max-width: 540px; font-size: 19px; line-height: 1.55; color: #C9C6C1; }
.kp-chips { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.kp-chip { height: 50px; padding: 0 20px 0 8px !important; margin: 0 !important; border-radius: 999px !important; border: 2px solid #3A3A3E !important; background: transparent !important; color: #FFFFFF !important;
  display: inline-flex !important; align-items: center; gap: 10px; font-family: "Inter", sans-serif !important; font-weight: 700 !important; font-size: 15px !important; text-transform: none !important; letter-spacing: 0 !important; cursor: pointer; line-height: 1 !important; min-height: 0 !important; box-shadow: none !important; }
.kp-chip.actif { background: #FFFFFF !important; color: #141416 !important; border-color: #FFFFFF !important; }
.kp-chip i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; background: var(--dot, #FFFFFF); color: var(--dotfg, #141416); }

/* Éventail de cartes */
.kp-fan { flex: 1 1 440px; min-width: 0; position: relative; height: 420px; }
.kp-fan-card { position: absolute; width: 190px; height: 260px; border-radius: 22px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.35); transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.kp-fan:hover .kp-fan-card { transform: rotate(0deg) translateY(-6px) !important; }
.kp-fan-card b { position: relative; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 34px; letter-spacing: -.03em; }
.kp-fan-card.f-moto { left: 10px; top: 70px; transform: rotate(-16deg); background-color: #26262A; border: 2px solid #3A3A3E; color: #FFFFFF; }
.kp-fan-card.f-moto::before { content: ""; position: absolute; right: -20px; top: 18px; width: 120px; height: 20px; transform: rotate(-18deg); background-color: #FFFFFF; background-image: conic-gradient(#141416 25%, transparent 0 50%, #141416 0 75%, transparent 0); background-size: 20px 20px; }
.kp-fan-card.f-moto::after { content: ""; position: absolute; left: 18px; top: 70px; width: 100px; height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60'%3E%3Cpath d='M10,55 A40,40 0 0,1 90,55' fill='none' stroke='%233A3A3E' stroke-width='8'/%3E%3Cpath d='M10,55 A40,40 0 0,1 78,24' fill='none' stroke='%23C62828' stroke-width='8'/%3E%3Cline x1='50' y1='55' x2='76' y2='30' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.kp-fan-card.f-poke { left: 120px; top: 30px; transform: rotate(-5deg); background-color: #FFCB05; color: #14213D;
  background-image: radial-gradient(rgba(20,33,61,.13) 2.2px, transparent 2.6px); background-size: 18px 18px; }
.kp-fan-card.f-poke::before, .kp-fan-card.f-poke::after { content: ""; position: absolute; top: 26px; width: 62px; height: 86px; border-radius: 8px; border: 3px solid #14213D; }
.kp-fan-card.f-poke::before { left: 26px; background: #FFFFFF; transform: rotate(-12deg); }
.kp-fan-card.f-poke::after { left: 62px; top: 20px; background: #2A4BA0; transform: rotate(6deg); }
.kp-fan-card .kp-spark { position: absolute; right: 20px; top: 20px; font-size: 26px; }
.kp-fan-card.f-bmx { left: 230px; top: 60px; transform: rotate(7deg); background-color: #00B3A4; color: #08201E;
  background-image: repeating-linear-gradient(135deg, rgba(8,32,30,.07) 0 16px, transparent 16px 32px); }
.kp-fan-card.f-bmx::before { content: ""; position: absolute; left: 18px; top: 24px; width: 130px; height: 70px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60'%3E%3Cpath d='M2,4 C20,64 100,64 118,4' fill='none' stroke='%2308201E' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.kp-fan-card.f-bmx::after { content: ""; position: absolute; left: 62px; top: 30px; width: 44px; height: 44px; animation: kp-spin 6s linear infinite;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Ccircle cx='22' cy='22' r='19' fill='none' stroke='%2308201E' stroke-width='4'/%3E%3Cpath d='M22 3V41M3 22H41M8.5 8.5L35.5 35.5M35.5 8.5L8.5 35.5' stroke='%2308201E' stroke-width='2'/%3E%3C/svg%3E") no-repeat center / contain; }
.kp-fan-card.f-art { left: 330px; top: 120px; transform: rotate(16deg); background-color: #EADBC8; color: #3B2416;
  background-image: repeating-radial-gradient(ellipse at -10% 130%, transparent 0 22px, rgba(59,36,22,.07) 22px 24px); }
.kp-fan-card.f-art::before { content: ""; position: absolute; inset: 8px; border: 2px dashed rgba(59,36,22,.35); border-radius: 16px; }
.kp-fan-card.f-art .kp-hand { position: absolute; left: 22px; top: 40px; font-size: 30px; color: #B5532A; }

/* Défilé de logos */
.kp-marquee { position: relative; border-top: 1px solid #2A2A2E; padding: 22px 0; overflow: hidden; background: #0E0E10; }
.kp-track { display: flex; width: max-content; animation: kp-marquee 30s linear infinite; }
.kp-marquee:hover .kp-track { animation-play-state: paused; }
.kp-mq { display: flex; align-items: center; gap: 14px; padding: 0 34px; color: #FFFFFF; }
.kp-mq img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid #FFFFFF; background: #FFFFFF; }
.kp-mq b { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 22px; white-space: nowrap; }
.kp-mq::after { content: "✦"; margin-left: 20px; font-size: 22px; color: var(--c, #C62828); }

/* ---------- BOUTIQUES ---------- */
.kp-boutiques { padding-top: 80px; padding-bottom: 24px; }
.kp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.kp-head .kp-hand { display: block; font-size: 30px; color: #C62828; }
.kp-h2 { margin: 0 !important; font-size: 60px !important; line-height: 1 !important; color: #141416 !important; text-transform: none !important; }
.kp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }

/* Couleurs par univers */
.kp-moto { --bg: #141416; --fg: #FFFFFF; --acc: #C62828; --tagfg: #FFFFFF; --word: rgba(255,255,255,.06); --btn: #C62828; --btnfg: #FFFFFF;
  background-image: repeating-linear-gradient(-18deg, transparent 0 30px, rgba(255,255,255,.045) 30px 32px); }
.kp-poke { --bg: #FFCB05; --fg: #14213D; --acc: #2A4BA0; --tagfg: #FFFFFF; --word: rgba(20,33,61,.08); --btn: #14213D; --btnfg: #FFCB05;
  background-image: radial-gradient(rgba(20,33,61,.13) 2.2px, transparent 2.6px); background-size: 18px 18px; }
.kp-bmx { --bg: #00B3A4; --fg: #08201E; --acc: #08201E; --tagfg: #00B3A4; --word: rgba(8,32,30,.09); --btn: #08201E; --btnfg: #FFFFFF;
  background-image: repeating-linear-gradient(135deg, rgba(8,32,30,.07) 0 16px, transparent 16px 32px); }
.kp-art { --bg: #EADBC8; --fg: #3B2416; --acc: #B5532A; --tagfg: #FFFFFF; --word: rgba(59,36,22,.08); --btn: #3B2416; --btnfg: #FFFFFF;
  background-image: repeating-radial-gradient(ellipse at -10% 130%, transparent 0 22px, rgba(59,36,22,.07) 22px 24px); }

/* Encart */
.kp-tile { position: relative; overflow: hidden; display: block; border-radius: 30px; min-height: 520px; background-color: var(--bg); color: var(--fg) !important; transition: transform .3s ease, box-shadow .3s ease; }
.kp-tile:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(20,20,22,.22); }
.kp-vedette { grid-column: 1 / -1; min-height: 440px; }
.kp-word { position: absolute; right: -10px; bottom: -40px; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: -.03em; font-size: 180px; line-height: 1; color: var(--word); white-space: nowrap; pointer-events: none; transition: transform .7s ease; }
.kp-tile:hover .kp-word { transform: translateX(-40px); }
/* Motifs */
.kp-moto::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px; background: #C62828; }
.kp-moto::after { content: ""; position: absolute; right: -40px; top: 34px; width: 260px; height: 40px; transform: rotate(-14deg); background-color: #FFFFFF; background-image: conic-gradient(#141416 25%, transparent 0 50%, #141416 0 75%, transparent 0); background-size: 20px 20px; }
.kp-bmx::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 140' preserveAspectRatio='none'%3E%3Cpath d='M0,30 C80,140 320,140 400,30 L400,140 L0,140 Z' fill='rgba(8,32,30,.12)'/%3E%3Cpath d='M0,30 C80,140 320,140 400,30' fill='none' stroke='%2308201E' stroke-width='3' stroke-dasharray='2 10' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%; }
.kp-art::after { content: ""; position: absolute; inset: 12px; border: 2px dashed rgba(59,36,22,.3); border-radius: 22px; pointer-events: none; }
.kp-spark { position: absolute; color: #2A4BA0; animation: kp-twinkle 2.4s ease-in-out infinite; pointer-events: none; }
.kp-spark.s1 { right: 40px; bottom: 120px; font-size: 34px; }
.kp-spark.s2 { right: 190px; top: 30px; font-size: 20px; animation-delay: .7s; }
.kp-spark.s3 { left: 46%; bottom: 40px; font-size: 16px; color: #14213D; animation-delay: 1.4s; }

/* Logo animé */
.kp-logo { position: relative; flex: none; color: var(--acc); animation: kp-float 4.5s ease-in-out infinite; }
.kp-logo::before { content: ""; position: absolute; inset: -26px; border-radius: 50%; background: currentColor; opacity: .15; animation: kp-pulse 3.2s ease-in-out infinite; }
.kp-logo::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px dashed currentColor; opacity: .6; animation: kp-spin 14s linear infinite; }
.kp-logo img { position: relative; z-index: 1; display: block; width: 120px !important; height: 120px !important; border-radius: 50%; object-fit: cover; background: #FFFFFF; box-shadow: 0 12px 26px rgba(0,0,0,.2); transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.kp-vedette .kp-logo img { width: 190px !important; height: 190px !important; }
.kp-tile:hover .kp-logo img { transform: scale(1.1) rotate(-8deg); }

/* Polaroïd */
.kp-pola { flex: none; position: relative; width: 150px; background: #FFFFFF; padding: 8px 8px 28px; border-radius: 5px; transform: rotate(var(--tilt, 5deg)); box-shadow: 0 14px 30px rgba(0,0,0,.25); transition: transform .4s cubic-bezier(.3,1.5,.5,1); z-index: 1; }
.kp-pola img { display: block; width: 100% !important; height: 130px !important; object-fit: cover; border-radius: 3px; }
.kp-pola span { position: absolute; left: 0; right: 0; bottom: 3px; text-align: center; font-family: "Caveat", cursive; font-weight: 700; font-size: 18px; color: #141416; }
.kp-vedette .kp-pola { width: 260px; padding: 12px 12px 40px; }
.kp-vedette .kp-pola img { height: 240px !important; }
.kp-vedette .kp-pola span { font-size: 22px; bottom: 6px; }
.kp-tile:hover .kp-pola { transform: rotate(0deg) scale(1.04); }

/* Contenu */
.kp-in { position: relative; z-index: 1; height: 100%; min-height: inherit; padding: 40px 40px 36px; display: flex; flex-direction: column; gap: 14px; }
.kp-vedette .kp-in { flex-direction: row; align-items: center; gap: 44px; padding: 48px 52px; }
.kp-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin: 14px 0 8px 14px; }
.kp-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.kp-tag { align-self: flex-start; background: var(--acc); color: var(--tagfg); border-radius: 999px; padding: 6px 14px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.kp-name { display: block; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: -.03em; font-size: 40px; line-height: .98; }
.kp-vedette .kp-name { font-size: 60px; }
.kp-text { display: block; max-width: 460px; font-size: 16px; line-height: 1.55; opacity: .85; }
.kp-cta { align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; gap: 10px; background: var(--btn); color: var(--btnfg); border-radius: 999px; padding: 14px 22px; font-weight: 700; font-size: 15px; transition: gap .25s ease; }
.kp-vedette .kp-cta { margin-top: 10px; }
.kp-tile:hover .kp-cta { gap: 18px; }

/* Case libre */
.kp-libre { grid-column: 1 / -1; position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; text-align: center; gap: 18px 40px; min-height: 300px; padding: 36px; border-radius: 30px; border: 3px dashed #CFC9C1; background: #FFFFFF; color: #141416 !important; transition: transform .3s ease, box-shadow .3s ease; }
.kp-libre:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(20,20,22,.12); }
.kp-pastilles { display: flex; }
.kp-pastilles i { width: 70px; height: 70px; border-radius: 50%; border: 4px solid #FFFFFF; margin-left: -18px; }
.kp-pastilles i:first-child { margin-left: 0; }
.kp-pastilles i.plus { border: 3px dashed #C62828; background: #FFFFFF; color: #C62828; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 32px; }
.kp-libre-txt { display: flex; flex-direction: column; gap: 6px; align-items: center; }
.kp-libre-txt .kp-hand { font-size: 28px; color: #C62828; }
.kp-libre-txt b { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 36px; letter-spacing: -.03em; }
.kp-libre-txt small { max-width: 360px; font-size: 15px; color: #6B6863; }

/* ---------- REJOINDRE ---------- */
.kp-rejoindre { padding-top: 80px; padding-bottom: 100px; }
.kp-cta-box { position: relative; overflow: hidden; border-radius: 34px; padding: 60px; background-color: #141416; color: #FFFFFF;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.2px); background-size: 6px 6px; }
.kp-cta-box .kp-rond { position: absolute; border-radius: 50%; }
.kp-cta-box .r1 { right: -60px; top: -70px; width: 260px; height: 260px; background: #C62828; }
.kp-cta-box .r2 { right: 170px; top: 120px; width: 90px; height: 90px; background: #FFCB05; }
.kp-cta-box .r3 { right: 90px; bottom: -30px; width: 120px; height: 120px; background: #00B3A4; }
.kp-cta-box .r4 { right: 290px; bottom: 30px; width: 54px; height: 54px; background: #EADBC8; }
.kp-cta-txt { position: relative; max-width: 640px; }
.kp-cta-txt .kp-hand { display: block; font-size: 30px; color: #FF6E5E; }
.kp-cta-txt .kp-h2 { color: #FFFFFF !important; font-size: 56px !important; }
.kp-cta-txt small { display: block; margin-top: 14px; max-width: 520px; font-size: 17px; line-height: 1.6; color: #C9C6C1; }
.kp-btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.kp-btns a { padding: 17px 28px; border-radius: 999px; font-weight: 700; font-size: 16px; }
.kp-btns .rouge { background: #C62828; color: #FFFFFF !important; }
.kp-btns .blanc { background: #FFFFFF; color: #141416 !important; }

/* Pas d'animation pour ceux qui l'ont désactivée */
@media (prefers-reduced-motion: reduce) {
  .kp-logo, .kp-logo::before, .kp-logo::after, .kp-track, .kp-spark, .kp-fan-card.f-bmx::after { animation: none !important; }
}

/* ---------- TABLETTE ET MOBILE ---------- */
@media (max-width: 849px) {
  .kp-fan { display: none; }
  .kp-grid { grid-template-columns: 1fr; }
  .kp-vedette .kp-in { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
  .kp-vedette .kp-pola { display: none; }
}
@media (max-width: 549px) {
  .kp-wrap { padding-left: 16px; padding-right: 16px; }
  .kp-h1 { font-size: 56px !important; }
  .kp-h2, .kp-cta-txt .kp-h2 { font-size: 38px !important; }
  .kp-hero-in { padding-top: 48px; padding-bottom: 40px; }
  .kp-tile { min-height: 0; }
  .kp-in { padding: 28px 22px; }
  .kp-name, .kp-vedette .kp-name { font-size: 34px; }
  .kp-vedette .kp-logo img { width: 130px !important; height: 130px !important; }
  .kp-logo img { width: 96px !important; height: 96px !important; }
  .kp-pola { width: 120px; }
  .kp-pola img { height: 100px !important; }
  .kp-word { font-size: 110px; }
  .kp-cta-box { padding: 36px 24px; }
  .kp-cta-box .kp-rond { opacity: .5; }
  .kp-pastilles i { width: 54px; height: 54px; }
}

/* Encarts : éléments internes (WordPress n'accepte pas de <div> dans un lien) */
.kp-tile span.kp-in, .kp-tile span.kp-top, .kp-tile span.kp-body { display: flex; }
.kp-tile span.kp-logo, .kp-tile span.kp-pola { display: block; }
