/* Pom Cokine - slider leger (2f2c Agence) */
.pcs { position: relative; overflow: hidden; background: #F8E9E9; color: #301E2A; isolation: isolate; }
.pcs, .pcs *, .pcs *::before, .pcs *::after { box-sizing: border-box; }
.pcs-track { display: grid; }
.pcs-slide { grid-area: 1 / 1; position: relative; aspect-ratio: var(--pcs-ratio, 1248 / 356); opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; display: flex; }
.pcs-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.pcs-bg, .pcs-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pcs-bg img { object-fit: cover; object-position: var(--pcs-focus, center); display: block; max-width: none; }
.pcs-slide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: rgba(255, 255, 255, var(--pcs-ov, 0)); }
.pcs--light::after { background: rgba(0, 0, 0, var(--pcs-ov, 0)); }
.pcs--noimg { background: linear-gradient(120deg, #F8E9E9 0%, #FFF6F3 100%); }
.pcs-content { position: relative; z-index: 2; display: flex; align-items: center; width: 100%; padding: 22px 8% 38px; }
.pcs-inner { max-width: 52%; }
.pcs--center .pcs-content { justify-content: center; text-align: center; }
.pcs--center .pcs-inner { max-width: 72%; }
.pcs--right .pcs-content { justify-content: flex-end; }
.pcs--light { color: #FFFFFF; }
.pcs-text > :last-child { margin-bottom: 0; }
.pcs .pcs-text p { font-size: clamp(14px, 1.35vw, 18px) !important; line-height: 1.45 !important; margin: 0 0 .5em; color: inherit; }
.pcs .pcs-text h1, .pcs .pcs-text h2, .pcs .pcs-text h3 { font-family: 'Playfair Display', Georgia, serif !important; font-weight: 400; text-transform: none; color: inherit; margin: 0 0 .25em; letter-spacing: 0; }
.pcs .pcs-text h1, .pcs .pcs-text h2 { font-size: clamp(26px, 3.75vw, 47px) !important; line-height: 1.12 !important; }
.pcs .pcs-text h3 { font-size: clamp(20px, 2.2vw, 30px) !important; line-height: 1.2 !important; }
.pcs .pcs-text .pcs-kicker, .pcs .pcs-text p.pcs-kicker { font-size: clamp(11px, 1.05vw, 14px) !important; letter-spacing: .08em; text-transform: uppercase; color: #B84B70; margin-bottom: .6em; }
.pcs--light .pcs-text .pcs-kicker { color: #FFFFFF; opacity: .9; }
.pcs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: clamp(10px, 1.3vw, 18px); }
.pcs--center .pcs-actions { justify-content: center; }
.pcs-btn { display: inline-flex; align-items: center; padding: 12px 26px; border-radius: 999px; background: #B94D72; color: #FFFFFF !important; font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none !important; transition: background .2s ease, transform .2s ease; }
.pcs-btn:hover, .pcs-btn:focus-visible { background: #9E3E60; transform: translateY(-1px); }
.pcs-link { color: inherit !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pcs-link:hover { color: #B94D72 !important; }
.pcs-cd { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: clamp(8px, 1vw, 14px); }
.pcs--center .pcs-cd { justify-content: center; }
.pcs-cd__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pcs-cd__units { display: inline-flex; gap: 5px; }
.pcs-cd__u { display: inline-flex; flex-direction: column; align-items: center; min-width: 42px; padding: 4px 5px 3px; border-radius: 8px; background: rgba(255, 255, 255, .85); color: #301E2A; box-shadow: 0 4px 14px rgba(48, 30, 42, .08); }
.pcs-cd__u b { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.pcs-cd__u i { font-style: normal; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; opacity: .75; }
.pcs-arrow { position: absolute; top: 50%; z-index: 3; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: #301E2A; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .2s ease, background .2s ease; box-shadow: 0 4px 14px rgba(48, 30, 42, .12); }
.pcs-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pcs:hover .pcs-arrow, .pcs-arrow:focus-visible { opacity: 1; }
.pcs-arrow:hover { background: #FFFFFF; }
.pcs-arrow--prev { left: 14px; }
.pcs-arrow--next { right: 14px; }
.pcs-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.pcs-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .8); box-shadow: 0 0 0 1px rgba(48, 30, 42, .25); cursor: pointer; transition: width .25s ease, background .25s ease; }
.pcs-dot.is-active { width: 26px; background: #B94D72; }
.pcs-dot:focus-visible, .pcs-arrow:focus-visible, .pcs-btn:focus-visible { outline: 2px solid #301E2A; outline-offset: 2px; }

@media (max-width: 991px) {
  .pcs-inner { max-width: 62%; }
  .pcs-content { padding: 3% 6%; }
  .pcs-btn { padding: 10px 20px; font-size: 13px; }
}
@media (min-width: 768px) {
  .pcs-text--m { display: none; }
}
@media (max-width: 767px) {
  /* le slider remplace le bloc heros mobile du theme */
  .elementor-section:has(.pcs) { display: block !important; }
  body:has(.pcs) .pc-hero-m { display: none !important; }
  .pcs-text--d { display: none; }
  .pcs-slide { aspect-ratio: auto; flex-direction: column; }
  .pcs-slide:not(.is-active) { transition: none; }
  .pcs-bg img { object-position: var(--pcs-mfocus, var(--pcs-focus, center)); }
  .pcs-inner, .pcs--center .pcs-inner { max-width: none; }
  .pcs-content, .pcs--right .pcs-content, .pcs--center .pcs-content { justify-content: flex-start; text-align: left; }
  .pcs--center .pcs-actions, .pcs--center .pcs-cd { justify-content: flex-start; }
  .pcs--ma-center .pcs-content { justify-content: center; text-align: center; }
  .pcs--ma-center .pcs-actions, .pcs--ma-center .pcs-cd { justify-content: center; }
  /* image en haut, texte dessous */
  .pcs--m-stack .pcs-bg { display: block; position: relative; inset: auto; height: var(--pcs-mh, 200px); flex: 0 0 auto; }
  .pcs--m-stack::after { display: none; }
  .pcs--m-stack { color: #301E2A; background: #F8E9E9; }
  .pcs--m-stack .pcs-content { padding: 18px 20px 42px; align-items: flex-start; }
  .pcs--m-stack.pcs--light { color: #FFFFFF; background: linear-gradient(180deg, #4A1530 0%, #2C0D1C 100%); }
  .pcs--m-stack.pcs--light .pcs-text .pcs-kicker { color: #E7A3BB; }
  .pcs--m-stack.pcs--light .pcs-cd__label { color: #FFFFFF; }
  /* texte sur l'image */
  .pcs--m-overlay { aspect-ratio: var(--pcs-ratio-m, 4 / 5); }
  .pcs--m-overlay .pcs-content { flex: 1 1 auto; padding: 24px 20px 44px; align-items: flex-end; }
  .pcs--m-overlay.pcs--mv-top .pcs-content { align-items: flex-start; }
  .pcs--m-overlay.pcs--mv-center .pcs-content { align-items: center; }
  .pcs .pcs-text h1, .pcs .pcs-text h2 { font-size: 27px !important; }
  .pcs .pcs-text p { font-size: 15px !important; }
  .pcs-btn { padding: 12px 22px; }
  .pcs-arrow { display: none; }
  .pcs-dots { bottom: 14px; }
  .pcs-cd { gap: 6px 10px; }
  .pcs-cd__label { flex-basis: 100%; font-size: 11px; }
  .pcs-cd__u { min-width: 40px; }
  .pcs-cd__u b { font-size: 17px; }
  .pcs-actions { margin-top: 14px; }
  .pcs-dots { bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .pcs-slide, .pcs-dot, .pcs-btn { transition: none; }
}

@media (max-width: 767px) {
  /* l image absorbe la hauteur en trop : plus de vide sous le bouton */
  .pcs--m-stack .pcs-content { flex: 0 0 auto; }
  .pcs--m-stack .pcs-bg { flex: 1 0 auto; height: auto; min-height: var(--pcs-mh, 200px); }
}

@media (max-width: 767px) {
  /* voile fort pour la lisibilite du texte sur l image */
  .pcs--m-overlay::after { background: rgba(255, 246, 243, .80); }
  .pcs--m-overlay.pcs--light::after { background: rgba(38, 10, 24, .70); }
  .pcs--m-overlay .pcs-content { padding: 28px 22px 46px; }
}
@media (max-width: 767px) {
  .pcs--m-overlay.pcs--light::after { background: rgba(30, 8, 20, .84); }
  .pcs--m-overlay.pcs--light .pcs-text h1 span, .pcs--m-overlay.pcs--light .pcs-text h2 span, .pcs--m-overlay.pcs--light .pcs-text [style*=color] { color: #F4A9C6 !important; }
  .pcs--m-overlay.pcs--light .pcs-text .pcs-kicker { color: #F4A9C6 !important; opacity: 1; }
}
@media (max-width: 767px) {
  /* hauteur = texte seulement */
  .pcs--m-overlay { aspect-ratio: auto; }
  .pcs--m-overlay .pcs-content { padding: 22px 20px 38px; }
  .pcs--m-overlay .pcs-actions { margin-top: 12px; }
}
