/* =====================================================
   DIABLO STREAMING — SPRING THEME V1.1
   More contrast, dark text on bright spring background
===================================================== */

:root{
  --spring-sky-top: #bdd8f0;
  --spring-sky-mid: #c6e3eb;
  --spring-sky-bottom: #d7ece4;

  --spring-glass: rgba(255,255,255,.22);
  --spring-glass-strong: rgba(255,255,255,.28);
  --spring-border: rgba(255,255,255,.34);

  --spring-text: #16324a;
  --spring-text-soft: rgba(22,50,74,.82);
  --spring-text-muted: rgba(22,50,74,.68);

  --spring-title: #10273a;
  --spring-shadow: 0 20px 40px rgba(44, 86, 112, .14);
  --spring-shadow-soft: 0 18px 36px rgba(44, 86, 112, .10);
}

/* =====================================================
   GLOBAL BACKGROUND
===================================================== */

body{
  margin: 0;
  color: var(--spring-text);
  background:
    radial-gradient(1100px 580px at 12% 12%, rgba(255,255,255,.52), transparent 62%),
    radial-gradient(950px 520px at 84% 14%, rgba(177, 228, 214, .24), transparent 60%),
    radial-gradient(900px 480px at 50% 34%, rgba(255,255,255,.16), transparent 68%),
    linear-gradient(
      180deg,
      var(--spring-sky-top) 0%,
      var(--spring-sky-mid) 48%,
      var(--spring-sky-bottom) 100%
    );
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

body::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(720px 340px at 20% 16%, rgba(255,255,255,.22), transparent 68%),
    radial-gradient(700px 330px at 80% 24%, rgba(184, 232, 217, .18), transparent 66%),
    radial-gradient(980px 520px at 50% 100%, rgba(166, 213, 228, .14), transparent 72%);
}

body::after{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 22%),
    radial-gradient(1200px 700px at 50% -10%, rgba(255,255,255,.12), transparent 70%);
  opacity: .95;
}

main,
section,
nav,
footer{
  position: relative;
  z-index: 1;
}

/* =====================================================
   NAVBAR
===================================================== */

.d-nav{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(121, 155, 185, .34);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 8px 24px rgba(67, 98, 127, .12);
}

/* brand plus foncé */
.d-brand-name,
.d-brand-sub{
  color: #16324a;
}

/* liens menu */
.d-nav-menu .nav-link{
  color: rgba(22, 50, 74, .96);
  font-weight: 600;
}

.d-nav-menu .nav-link:hover,
.d-nav-menu .nav-link.active{
  color: #10273a;
  background: rgba(255,255,255,.20);
}

/* boutons / selects à droite */
.d-pill-btn,
.d-pill-select{
  background: rgba(255,255,255,.18);
  color: #16324a;
  border: 1px solid rgba(255,255,255,.22);
  font-weight: 600;
}

.d-pill-btn:hover,
.d-pill-select:hover{
  background: rgba(255,255,255,.24);
  color: #10273a;
}

.d-pill-btn i,
.d-pill-btn span{
  color: #16324a;
}

/* dropdown connecté */
.d-dropdown{
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(22,50,74,.10);
  box-shadow: 0 14px 30px rgba(44, 86, 112, .14);
}

.d-dropdown .dropdown-item{
  color: #16324a;
}

.d-dropdown .dropdown-item:hover{
  background: rgba(189,216,240,.22);
  color: #10273a;
}

/* =====================================================
   HERO
===================================================== */

.d-hero{
  padding-top: 56px;
  padding-bottom: 44px;
  background:
    radial-gradient(950px 520px at 28% 22%, rgba(255,255,255,.20), transparent 64%),
    radial-gradient(820px 420px at 78% 30%, rgba(184, 233, 218, .18), transparent 62%);
}

.d-hero-inner{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.22) 0%,
    rgba(255,255,255,.16) 100%
  );
  border: 1px solid rgba(255,255,255,.30);
  box-shadow: var(--spring-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.d-title,
.d-section h2,
.d-page-title,
.reseller-title,
.reseller-content h2,
.hero-devices-content h1,
.d-card h2,
.d-seo-section h2,
.d-seo-section h3{
  color: var(--spring-title);
  text-shadow: none;
}

.d-sub,
.d-section p,
.reseller-sub,
.reseller-note,
.d-page-sub,
.d-card p,
.d-legal,
.d-list,
.reseller-login-hint,
.reseller-login-hint a,
.d-seo-section p,
.d-seo-section a{
  color: var(--spring-text-soft);
}

/* HERO IMAGE FIX — spring */
.d-hero .d-img-card{
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  overflow: hidden;
}

.d-hero .d-img-card img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* =====================================================
   SECTIONS
===================================================== */

.d-section{
  position: relative;
  padding: 100px 0;
  background:
    radial-gradient(900px 420px at 50% 30%, rgba(255,255,255,.10), transparent 68%);
}

.d-section:nth-of-type(even){
  background:
    radial-gradient(900px 420px at 50% 30%, rgba(178, 230, 214, .12), transparent 68%);
}

.d-section-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.20) 0%,
    rgba(255,255,255,.14) 100%
  );
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: var(--spring-shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.d-section.reverse .d-section-inner{
  direction: ltr;
  text-align: left;
}

.d-section.reverse .d-section-inner > .d-img-card{
  order: 2;
}

.d-section.reverse .d-section-inner > div{
  order: 1;
  text-align: left;
  padding-right: 14px;
}

.d-section.s6-right .d-section-inner > div:first-child{
  text-align: right;
}
/* SECTION IMAGE FIX — spring */
.d-section .d-img-card{
  width: 100%;
}

.d-section .d-img-card img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
/* =====================================================
   IMAGE / TEXT PANELS / CARDS
===================================================== */

.d-img-card{
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 22px 46px rgba(51, 91, 118, .16);
}

.d-text-panel{
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 22px;
  padding: 26px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-card,
.product-card,
.device-card,
.reseller-card,
.reseller-panel,
.hero-devices-inner,
.d-card{
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 18px 38px rgba(55, 93, 116, .10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-card span,
.device-card span,
.reseller-card-name,
.product-title,
.product-price,
.promo-price,
.normal-price{
  color: var(--spring-title);
  text-shadow: none;
}

.product-desc,
.old-price{
  color: var(--spring-text-muted);
}

.service-link:hover .service-card,
.device-card:hover,
.reseller-card:hover{
  border-color: rgba(255,255,255,.38);
  box-shadow: 0 24px 48px rgba(55, 93, 116, .14);
}

/* =====================================================
   SUPPORT GRID
===================================================== */

.d-support-grid div{
  color: var(--spring-text);
}

.d-support-grid div::before{
  color: #1f6f54;
}

/* =====================================================
   SEO SECTION
===================================================== */

.d-seo-section{
  padding: 56px 0;
}

.d-seo-section .d-seo-inner{
  max-width: 900px;
  margin: 0 auto;
  padding: 26px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.20) 0%,
    rgba(255,255,255,.14) 100%
  );
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 18px 36px rgba(55, 93, 116, .10);
}

/* =====================================================
   LEGAL
===================================================== */

.d-legal-section{
  padding: 40px 0 20px;
  background: rgba(255,255,255,.10);
  border-top: 1px solid rgba(255,255,255,.18);
}

.d-legal{
  font-size: 13px;
  line-height: 1.6;
  opacity: .95;
  max-width: 900px;
}

/* =====================================================
   CTA BUTTONS
===================================================== */

/* base bouton home */
.d-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all .18s ease;
  border: 1px solid transparent;
}

/* vert pâle principal */
.d-btn-primary{
  background: #cfeccf;
  color: #10273a;
  border-color: rgba(16,39,58,.10);
  box-shadow: 0 10px 22px rgba(44, 86, 112, .10);
}

.d-btn-primary:hover{
  background: #bfe4bf;
  color: #0d2232;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(44, 86, 112, .14);
}

/* ghost dans le même esprit, un peu plus doux */
.d-btn-ghost{
  background: rgba(207,236,207,.70);
  color: #10273a;
  border: 1px solid rgba(16,39,58,.12);
  box-shadow: 0 8px 20px rgba(44, 86, 112, .08);
}

.d-btn-ghost:hover{
  background: rgba(191,228,191,.88);
  color: #0d2232;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(44, 86, 112, .12);
}

/* focus propre */
.d-btn:focus,
.d-btn:focus-visible{
  outline: 2px solid rgba(31,111,84,.28);
  outline-offset: 2px;
}

/* petit spacing pour hero */
.d-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 900px){
  .d-hero-inner,
  .d-section-inner{
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .d-hero-right .d-img-card,
  .d-section .d-img-card{
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .d-section.reverse .d-section-inner > .d-img-card{
    order: 1 !important;
  }

  .d-section.reverse .d-section-inner > div{
    order: 2 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 640px){
  .d-hero{
    padding-top: 40px;
    padding-bottom: 28px;
  }

  .d-hero-inner,
  .d-section-inner,
  .d-seo-section .d-seo-inner{
    padding: 18px;
    border-radius: 18px;
  }

  .d-legal-section{
    padding: 28px 0 16px;
  }
}

/* =====================================================
   IMAGE LIGHTBOX
===================================================== */

/* rendre les images cliquables */
.d-img-card img.js-lightbox-trigger{
  cursor: zoom-in;
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}

.d-img-card:hover img.js-lightbox-trigger{
  transform: scale(1.01);
  filter: brightness(1.02);
}

/* overlay */
.d-lightbox{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.d-lightbox.is-open{
  display: block;
}

.d-lightbox-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 24, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* dialog */
.d-lightbox-dialog{
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 1320px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 28px 80px rgba(0,0,0,.30);
}

/* image */
.d-lightbox-image{
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 36px);
  width: auto;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.24);
  background: rgba(255,255,255,.02);
}

/* close button */
.d-lightbox-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  transition: background .2s ease, transform .2s ease;
}

.d-lightbox-close:hover{
  background: rgba(255,255,255,.24);
  transform: scale(1.05);
}

/* lock body scroll when open */
body.d-lightbox-open{
  overflow: hidden;
}

/* mobile */
@media (max-width: 640px){
  .d-lightbox-dialog{
    width: 96vw;
    padding: 10px;
    border-radius: 16px;
  }

  .d-lightbox-image{
    max-height: calc(88vh - 20px);
    border-radius: 12px;
  }

  .d-lightbox-close{
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    font-size: 24px;
  }
}
/* =====================================================
   CATEGORIES HERO — SPRING OVERRIDE
===================================================== */

.hero-home-bg.hero-streaming{
  padding: 42px 0 54px;
}

.hero-streaming .hero-wrapper{
  position: relative;
  min-height: 300px;
  padding: 42px 42px 150px;
  border-radius: 28px;
  overflow: hidden;
  background-position: right 26px center !important;
  background-size: min(46%, 620px) auto !important;
  background-repeat: no-repeat !important;
}

/* assombrit un peu moins / garde le texte lisible si ton ancien css met un overlay */
.hero-streaming .hero-wrapper::before,
.hero-streaming .hero-wrapper::after{
  pointer-events: none;
}

/* texte hero */
.hero-streaming .hero-copy{
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.hero-streaming .hero-copy h1{
  margin-bottom: 10px;
}

.hero-streaming .hero-copy p{
  max-width: 420px;
}

/* cartes catégories dans le hero */
.hero-streaming .categories-overlay{
  position: relative;
  z-index: 2;
  margin-top: -92px;
}

.hero-streaming .service-card{
  min-height: 220px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 18px 38px rgba(55, 93, 116, .10);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.hero-streaming .service-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.40);
  box-shadow: 0 24px 46px rgba(55, 93, 116, .16);
}

.hero-streaming .service-card img{
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.hero-streaming .service-card span{
  display: block;
  padding: 16px 18px 18px;
  font-size: 24px;
  font-weight: 700;
  color: var(--spring-title);
  line-height: 1.2;
}

/* responsive */
@media (max-width: 1100px){
  .hero-streaming .hero-wrapper{
    min-height: 260px;
    padding: 34px 30px 130px;
    background-size: min(42%, 460px) auto !important;
    background-position: right 18px center !important;
  }

  .hero-streaming .categories-overlay{
    margin-top: -76px;
  }

  .hero-streaming .service-card span{
    font-size: 21px;
  }
}

@media (max-width: 900px){
  .hero-streaming .hero-wrapper{
    min-height: auto;
    padding: 28px 24px 28px;
    background-size: 0 0 !important; /* cache l'image de fond sur tablette/mobile */
  }

  .hero-streaming .hero-copy{
    max-width: 100%;
  }

  .hero-streaming .categories-overlay{
    margin-top: 22px;
  }

  .hero-streaming .service-card{
    min-height: 200px;
  }
}

@media (max-width: 640px){
  .hero-home-bg.hero-streaming{
    padding: 26px 0 36px;
  }

  .hero-streaming .hero-wrapper{
    padding: 22px 18px;
    border-radius: 20px;
  }

  .hero-streaming .service-card img{
    height: 130px;
  }

  .hero-streaming .service-card span{
    font-size: 19px;
    padding: 14px 14px 16px;
  }
}

/* =====================================================
   CATEGORY PAGE — SPRING (NO HERO IMAGE REQUIRED)
===================================================== */

.hero-products.hero-products--category{
  padding: 42px 0 54px;
}

/* HERO WRAPPER */
.hero-products--category .hero-wrapper{
  position: relative;
  min-height: 240px;
  padding: 42px 42px 110px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.20) 0%,
    rgba(255,255,255,.14) 100%
  );
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: var(--spring-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* OPTION SI TU VEUX UNE IMAGE HERO PLUS TARD
.hero-products--category .hero-wrapper{
  background:
    linear-gradient(180deg, rgba(255,255,255,.20) 0%, rgba(255,255,255,.14) 100%),
    url('/themes/diablostreaming/assets/img/seasons/spring/category-web.png');
  background-position: right 26px center;
  background-size: min(42%, 560px) auto;
  background-repeat: no-repeat;
}
*/

.hero-products--category .hero-wrapper > div{
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero-products--category h1{
  margin: 0 0 10px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  color: var(--spring-title);
}

.hero-products--category p{
  margin: 0;
  max-width: 520px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--spring-text-soft);
}

/* PRODUITS QUI REMONTENT DANS LE HERO */
.hero-products--category .container.pb-5{
  position: relative;
  z-index: 3;
  margin-top: -64px;
  padding-bottom: 32px !important;
}

/* GRID */
.products-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

/* CARD */
.product-card{
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px 18px 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.30);
  box-shadow: 0 18px 38px rgba(55, 93, 116, .10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.40);
  box-shadow: 0 24px 46px rgba(55, 93, 116, .16);
}

/* IMAGE */
.product-img-wrapper{
  margin-bottom: 16px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.14);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.product-img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* TITLE / TEXT */
.product-title{
  margin: 2px 0 10px;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--spring-title);
}

.product-desc{
  margin: 0 0 16px;
  color: var(--spring-text-soft);
  line-height: 1.55;
  min-height: 72px;
}

/* PRICE */
.product-price{
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.old-price{
  font-size: .98rem;
  color: var(--spring-text-muted);
  text-decoration: line-through;
}

.promo-price{
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--spring-title);
}

.normal-price{
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--spring-title);
}

/* BTN */
.product-card .btn.btn-primary{
  margin-top: 16px !important;
  border-radius: 14px;
  font-weight: 700;
  padding: 12px 14px;
}

/* EMPTY STATE */
.hero-products--category .text-muted{
  color: var(--spring-text-soft) !important;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1200px){
  .products-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px){
  .hero-products--category{
    padding: 30px 0 40px;
  }

  .hero-products--category .hero-wrapper{
    min-height: auto;
    padding: 28px 24px 34px;
  }

  .hero-products--category .container.pb-5{
    margin-top: 22px;
  }

  .products-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .product-title{
    font-size: 1.25rem;
  }
}

@media (max-width: 640px){
  .products-grid{
    grid-template-columns: 1fr;
  }

  .hero-products--category .hero-wrapper{
    padding: 22px 18px 24px;
    border-radius: 20px;
  }

  .product-card{
    padding: 16px;
    border-radius: 20px;
  }

  .product-img-wrapper{
    aspect-ratio: 16 / 11;
  }

  .product-desc{
    min-height: auto;
  }
}

/* =====================================================
   DEVICES PAGE — SPRING (CSS ONLY)
===================================================== */

.hero-devices{
  padding: 42px 0 54px;
}

.hero-devices-inner{
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 260px;
  padding: 42px 42px 52px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.20) 0%,
    rgba(255,255,255,.14) 100%
  );
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: var(--spring-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-devices-content{
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.hero-devices-content h1{
  margin: 0 0 28px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  color: var(--spring-title);
}

/* pas besoin d’espace réservé à droite */
.hero-devices-spacer{
  display: none !important;
}

/* =====================================================
   GRID DES CATÉGORIES MATÉRIEL
===================================================== */

.devices-stack{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

/* =====================================================
   CARTE MATÉRIEL
===================================================== */

.device-card{
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.30);
  box-shadow: 0 18px 38px rgba(55, 93, 116, .10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.device-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.40);
  box-shadow: 0 24px 46px rgba(55, 93, 116, .16);
}

.device-card img{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: rgba(255,255,255,.12);
}

.device-card span{
  display: block;
  padding: 16px 18px 18px;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--spring-title);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1200px){
  .devices-stack{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px){
  .hero-devices{
    padding: 30px 0 40px;
  }

  .hero-devices-inner{
    min-height: auto;
    padding: 28px 24px 34px;
  }

  .devices-stack{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .hero-devices-content h1{
    margin-bottom: 22px;
  }

  .device-card span{
    font-size: 20px;
  }
}

@media (max-width: 640px){
  .hero-devices-inner{
    padding: 22px 18px 24px;
    border-radius: 20px;
  }

  .devices-stack{
    grid-template-columns: 1fr;
  }

  .device-card{
    border-radius: 20px;
  }

  .device-card img{
    aspect-ratio: 16 / 11;
  }

  .device-card span{
    padding: 14px 14px 16px;
    font-size: 19px;
  }
}

/* =====================================================
   RESELLER PAGE — SPRING
===================================================== */

.reseller-page{
  padding: 42px 0 54px;
}

.reseller-page .lp-container{
  max-width: 1280px;
  margin: 0 auto;
}

/* =====================================================
   HEADER
===================================================== */

.reseller-head{
  margin-bottom: 28px;
  padding: 0 4px;
}

.reseller-title{
  margin: 0 0 10px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  color: var(--spring-title);
}

.reseller-sub{
  margin: 0;
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--spring-text-soft);
}

/* =====================================================
   MODE A — GRILLE DES OFFRES REVENDEUR
===================================================== */

.reseller-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.reseller-card{
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.30);
  box-shadow: 0 18px 38px rgba(55, 93, 116, .10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.reseller-card:hover{
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.40);
  box-shadow: 0 24px 46px rgba(55, 93, 116, .16);
}

.reseller-card-media{
  background: rgba(255,255,255,.14);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.reseller-card-media img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8px;
}

.reseller-card-foot{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
}

.reseller-card-name{
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--spring-title);
}

.reseller-card-cta{
  font-size: 1rem;
  font-weight: 700;
  color: var(--spring-text);
}

.reseller-empty{
  grid-column: 1 / -1;
  padding: 26px;
  border-radius: 20px;
  text-align: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  color: var(--spring-text-soft);
}

/* =====================================================
   MODE B — PAGE DEVENIR REVENDEUR
===================================================== */

.reseller-panel{
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.20) 0%,
    rgba(255,255,255,.14) 100%
  );
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: var(--spring-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.reseller-panel-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
  padding: 30px;
}

.reseller-photo{
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,.14);
  box-shadow: 0 18px 38px rgba(55, 93, 116, .10);
}

.reseller-photo img{
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.reseller-content h2{
  margin: 0 0 18px;
  color: var(--spring-title);
}

.reseller-bullets{
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
}

.reseller-bullets li{
  position: relative;
  margin-bottom: 12px;
  padding-left: 26px;
  color: var(--spring-text-soft);
  line-height: 1.6;
}

.reseller-bullets li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #1f6f54;
  font-weight: 800;
}

.reseller-note{
  margin-top: 18px;
  color: var(--spring-text-muted);
}

/* bouton login existant sous le CTA */
.reseller-panel .small,
.reseller-panel .small a{
  color: var(--spring-text-soft) !important;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1200px){
  .reseller-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px){
  .reseller-page{
    padding: 30px 0 40px;
  }

  .reseller-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .reseller-panel-grid{
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
}

@media (max-width: 640px){
  .reseller-grid{
    grid-template-columns: 1fr;
  }

  .reseller-card,
  .reseller-panel,
  .reseller-photo{
    border-radius: 20px;
  }

  .reseller-panel-grid{
    padding: 18px;
  }

  .reseller-card-name{
    font-size: 1.2rem;
  }
}

/* =====================================================
   ABOUT PAGE — SPRING
===================================================== */

.d-page-hero{
  padding: 42px 0 24px;
}

.d-page-hero .lp-container{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.d-page-title{
  margin: 0 0 14px;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.04;
  color: var(--spring-title);
}

.d-page-sub{
  max-width: 980px;
  margin: 0 0 22px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--spring-text-soft);
}

.d-page-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =====================================================
   ABOUT CONTENT WRAPPER
===================================================== */

.d-page{
  padding: 6px 0 54px;
}

.d-page-inner{
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 18px;
}

/* =====================================================
   CARDS
===================================================== */

.d-card{
  padding: 26px 28px;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.20) 0%,
    rgba(255,255,255,.14) 100%
  );
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 18px 38px rgba(55, 93, 116, .10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.d-card h2{
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  color: var(--spring-title);
}

.d-card p{
  margin: 0;
  color: var(--spring-text-soft);
  line-height: 1.7;
  font-size: 1.05rem;
}

.d-card p + .d-btn{
  margin-top: 18px;
}

.d-card a{
  color: #2c6df2;
  text-decoration: none;
}

.d-card a:hover{
  text-decoration: underline;
}

/* =====================================================
   LIST
===================================================== */

.d-list{
  margin: 6px 0 0;
  padding-left: 0;
  list-style: none;
}

.d-list li{
  position: relative;
  margin-bottom: 12px;
  padding-left: 26px;
  color: var(--spring-text-soft);
  line-height: 1.65;
  font-size: 1.05rem;
}

.d-list li::before{
  content: "•";
  position: absolute;
  left: 6px;
  top: 0;
  color: #1f6f54;
  font-size: 1.2rem;
  line-height: 1.2;
}

/* =====================================================
   BOTTOM CTA
===================================================== */

.d-bottom-cta{
  padding: 28px 30px;
  border-radius: 26px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.22) 0%,
    rgba(255,255,255,.16) 100%
  );
  border: 1px solid rgba(255,255,255,.30);
  box-shadow: 0 20px 40px rgba(44, 86, 112, .14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.d-bottom-cta h2{
  margin: 0 0 10px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
  color: var(--spring-title);
}

.d-bottom-cta p{
  margin: 0 0 18px;
  max-width: 760px;
  color: var(--spring-text-soft);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* =====================================================
   BUTTON TWEAKS ON ABOUT
===================================================== */

.d-page .d-btn,
.d-page-hero .d-btn{
  border-radius: 14px;
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 900px){
  .d-page-hero{
    padding: 30px 0 18px;
  }

  .d-page{
    padding: 4px 0 40px;
  }

  .d-card,
  .d-bottom-cta{
    padding: 22px 22px;
    border-radius: 20px;
  }
}

@media (max-width: 640px){
  .d-page-hero .lp-container,
  .d-page-inner{
    padding: 0 16px;
  }

  .d-page-sub,
  .d-card p,
  .d-list li,
  .d-bottom-cta p{
    font-size: 1rem;
  }

  .d-card h2{
    font-size: 2rem;
  }

  .d-bottom-cta h2{
    font-size: 2.1rem;
  }
}

/* =====================================================
   SPORTS PAGE TEXT COLOR FIX
===================================================== */

.sports-fill .text-light,
.sports-fill .text-light h2,
.sports-fill .text-light p,
.sports-fill .text-light strong{
  color: var(--spring-text-soft) !important;
}

.sports-fill .text-light h2{
  color: var(--spring-title) !important;
}
