/* Accaven — page d'accueil (Home.dc.html desktop, HomeMobile.dc.html mobile). Mobile d'abord. */

.acc-home { font-family: var(--acc-font-body); color: var(--acc-navy); font-size: 15px; line-height: 1.4; background: var(--acc-white); }
.acc-home * { box-sizing: border-box; }
.acc-home a { color: var(--acc-navy); }
.acc-home :focus-visible { outline: 2px solid var(--acc-navy); outline-offset: 2px; }
.acc-home h1, .acc-home h2, .acc-home h3, .acc-home p { margin: 0; padding: 0; }

/* Boutons */
.acc-home .acc-btn {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px;
  border-radius: var(--acc-radius-btn); text-decoration: none; border: 0;
  font-family: var(--acc-font-head); font-weight: 600; font-size: 14px; letter-spacing: 0; text-transform: none; line-height: 1;
}
.acc-home .acc-btn--primary { background: var(--acc-navy); color: var(--acc-white); }
.acc-home .acc-btn--primary:hover { background: var(--acc-navy-hover); color: var(--acc-white); }
.acc-home .acc-btn--outline { border: 1px solid var(--acc-navy); background: var(--acc-white); color: var(--acc-navy); }
.acc-home .acc-btn--lime { background: var(--acc-lime); color: var(--acc-navy); }


/* Diaporama */
.acc-hero { position: relative; display: flex; flex-direction: column; }
.acc-hero__media { position: relative; height: 440px; overflow: hidden; background: #E6E3EC; }
.acc-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity var(--acc-ease); }
.acc-hero__slide.is-active { opacity: 1; }
.acc-home .acc-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.acc-hero__img--1 { object-position: 50% center; }
.acc-hero__img--2 { object-position: 66% center; }
.acc-hero__img--3 { object-position: 50% center; }

.acc-hero__overlay { position: relative; padding: 0; }
.acc-hero__cards { position: relative; margin: -48px 16px 0; }
.acc-hero__card {
  padding: 22px 20px; border-radius: 14px; background: var(--acc-white); box-shadow: 0 8px 24px rgba(60, 57, 80, .14);
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.acc-hero__card[hidden] { display: none; }
.acc-home .acc-hero__title { font-family: var(--acc-font-head); font-weight: 700; font-size: 26px; line-height: 32px; letter-spacing: -.02em; color: var(--acc-navy); text-transform: none; text-wrap: balance; }
.acc-hero__text { font-size: 15px; line-height: 22px; }
.acc-home .acc-hero__btn { align-self: stretch; margin-top: 4px; }

.acc-hero__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 0; }
.acc-hero__count { font-family: var(--acc-font-head); font-weight: 600; font-size: 13px; white-space: nowrap; }
.acc-hero__bars { display: flex; gap: 4px; margin-right: auto; }
.acc-hero__bars span { width: 28px; height: 3px; border-radius: var(--acc-radius-chip); background: var(--acc-control); }
.acc-hero__bars span.is-active { background: var(--acc-navy); }
.acc-hero__arrows { display: flex; gap: 8px; }
.acc-home .acc-hero__arrow {
  width: 44px; height: 44px; padding: 0; margin: 0; border: 0; border-radius: var(--acc-radius-chip);
  background: var(--acc-surface); color: var(--acc-navy); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: none;
}

/* Contenu */
.acc-home__main { display: flex; flex-direction: column; gap: 40px; padding-top: 40px; padding-bottom: 48px; }
.acc-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.acc-home .acc-section__title { font-family: var(--acc-font-head); font-weight: 700; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; color: var(--acc-navy); text-transform: none; }
.acc-section__text { margin-top: 4px !important; font-size: 15px; color: var(--acc-muted); }
.acc-section__link { display: none; flex-shrink: 0; font-size: 15px; }
.acc-home .acc-section__more { display: flex; width: 100%; margin-top: 16px; }

/* Nos univers */
.acc-univers__list { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--acc-gutter)); padding-right: var(--acc-gutter); }
.acc-univers__list::-webkit-scrollbar { display: none; }
.acc-home .acc-tile { flex-shrink: 0; width: 132px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.acc-tile__media { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--acc-radius-card); overflow: hidden; }
.acc-home .acc-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.acc-tile__media--1 { background: #F1ECF3; } .acc-tile__media--1 img { object-position: center 20%; }
.acc-tile__media--2 { background: #E9EFF3; } .acc-tile__media--2 img { object-position: center center; }
.acc-tile__media--3 { background: #F3EDE8; } .acc-tile__media--3 img { object-position: 42% center; }
.acc-tile__media--4 { background: #EAF1EC; } .acc-tile__media--4 img { object-position: 44% center; }
.acc-tile__media--5 { background: #F5F0E6; } .acc-tile__media--5 img { object-position: 45% center; }
.acc-tile__label { font-family: var(--acc-font-head); font-weight: 600; font-size: 13px; }
.acc-tile__promo { background: var(--acc-navy); color: var(--acc-lime); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-family: var(--acc-font-head); font-weight: 700; }
.acc-tile__promo-small { font-size: 12px; color: var(--acc-white); }
.acc-tile__promo-big { font-size: 30px; line-height: 1; }
.acc-tile--promo .acc-tile__label { color: var(--acc-red); }

/* Grilles produits de l'accueil : 6 en desktop, 4 en dessous */
@media (max-width: 1199px) { .acc-home-products .acc-grid > .acc-card:nth-child(n+5) { display: none; } }

/* Bannières */
.acc-banners { display: flex; flex-direction: column; gap: 12px; }
.acc-banner { border-radius: 14px; overflow: hidden; }
.acc-banner--femme { display: flex; min-height: 220px; background: var(--acc-surface); }
.acc-banner__body { flex: 1 1 0; padding: 20px 16px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
.acc-home .acc-banner__title { font-family: var(--acc-font-head); font-weight: 700; font-size: 20px; line-height: 26px; color: var(--acc-navy); text-transform: none; }
.acc-banner__text { font-size: 14px; line-height: 20px; }
.acc-banner__price { font-family: var(--acc-font-head); font-weight: 600; font-size: 13px; }
.acc-home .acc-banner--femme .acc-banner__btn { height: 44px; padding: 0 16px; font-size: 13px; margin-top: 4px; }
.acc-banner__media { position: relative; flex: 0 0 36%; background: #EBE4E8; }
.acc-home .acc-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 60% 70%; display: block; }
.acc-banner--promo { padding: 24px 16px; background: var(--acc-navy); color: var(--acc-white); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.acc-home .acc-banner__big { font-family: var(--acc-font-head); font-weight: 700; font-size: 36px; line-height: 40px; letter-spacing: -.02em; color: var(--acc-lime); text-transform: none; }
.acc-banner--promo .acc-banner__text { color: var(--acc-white); }
.acc-home .acc-banner--promo .acc-banner__btn { margin-top: 4px; }

/* Accessoire Avenue */
.acc-about { display: flex; flex-direction: column; gap: 12px; text-align: center; }
.acc-home .acc-about__title { font-family: var(--acc-font-head); font-weight: 700; font-size: 18px; letter-spacing: .04em; color: var(--acc-navy); text-transform: none; }
.acc-about__text { font-size: 15px; line-height: 22px; }

/* Tablette */
@media (min-width: 768px) {
  .acc-univers__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 20px; overflow: visible; margin-right: 0; padding-right: 0; }
  .acc-home .acc-tile { width: auto; gap: 12px; }
  .acc-tile__label { font-size: 14px; }
  .acc-tile__promo-small { font-size: 14px; }
  .acc-tile__promo-big { font-size: 40px; }
  .acc-section__link { display: block; }
  .acc-home .acc-section__more { display: none; }
  .acc-section__head { margin-bottom: 24px; }
}

/* Desktop */
@media (min-width: 1200px) {
  .acc-hero { display: block; height: 680px; overflow: hidden; background: #E6E3EC; }
  .acc-hero__media { position: absolute; inset: 0; height: auto; }
  .acc-hero__img--1 { object-position: center 55%; }
  .acc-hero__img--2 { object-position: center 40%; }
  .acc-hero__img--3 { object-position: center 50%; }
  .acc-hero__overlay {
    position: absolute; inset: 0; max-width: var(--acc-container); margin: 0 auto; padding: 40px;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  }
  .acc-hero__cards { margin: 0; width: min(500px, 100%); }
  .acc-hero__card { padding: 36px; border-radius: var(--acc-radius-banner); box-shadow: none; gap: 14px; }
  .acc-home .acc-hero__title { font-size: 44px; line-height: 50px; }
  .acc-hero__text { font-size: 17px; line-height: 25px; }
  .acc-home .acc-hero__btn { align-self: flex-start; height: 52px; padding: 0 28px; margin-top: 6px; }
  .acc-hero__nav { gap: 12px; padding: 8px 8px 8px 18px; border-radius: var(--acc-radius-chip); background: var(--acc-white); }
  .acc-hero__bars { margin-right: 0; }

  .acc-home__main { gap: 72px; padding-top: 64px; padding-bottom: 80px; }
  .acc-home .acc-section__title { font-size: 26px; }
  .acc-univers__list { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  .acc-banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .acc-banner { border-radius: var(--acc-radius-banner); }
  .acc-banner--femme { min-height: 360px; }
  .acc-banner__body { padding: 40px; gap: 12px; }
  .acc-home .acc-banner__title { font-size: 30px; line-height: 38px; letter-spacing: -.01em; }
  .acc-banner__text { font-size: 16px; line-height: 24px; }
  .acc-banner__price { font-size: 15px; }
  .acc-home .acc-banner--femme .acc-banner__btn { height: 48px; padding: 0 24px; font-size: 14px; margin-top: 8px; }
  .acc-banner__media { flex-basis: 42%; }
  .acc-banner--promo { min-height: 360px; padding: 40px; justify-content: center; gap: 12px; }
  .acc-home .acc-banner__big { font-size: 56px; line-height: 60px; }
  .acc-banner--promo .acc-banner__text { max-width: 420px; }
  .acc-home .acc-banner--promo .acc-banner__btn { margin-top: 8px; }

  .acc-about { align-self: center; max-width: 720px; align-items: center; gap: 16px; }
  .acc-home .acc-about__title { font-size: 22px; }
  .acc-about__text { font-size: 16px; line-height: 24px; }
}
@media (max-width: 767px) {
  .acc-about .acc-btn { width: 100%; }
}
