/* Home sections */
.acm-h2-center { text-align: center; margin: 0 0 22px; }
.acm-center { display: flex; justify-content: center; align-items: center; }
.acm-section { padding: 46px 0; }
.acm-section .acm-center { margin-top: 26px; }

/* hero */
.acm-hero { position: relative; display: block; overflow: hidden; }
.acm-hero-slide { display: none; grid-template-columns: 1fr 1fr; height: 960px; }
.acm-hero-slide.is-active { display: grid; }
.acm-hero-text { background: var(--acm-bg-grey); padding: 60px 36px 40px 72px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; overflow: hidden; }
.acm-hero-chip { border: 1px solid var(--acm-ink); border-radius: 999px; padding: 5px 14px; font-size: 12px; }
.acm-hero-text h1 { font-size: 30px; font-weight: 500; }
.acm-hero-text h4 { font-size: 18px; font-weight: 500; max-width: 420px; }
.acm-hero-media { position: relative; overflow: hidden; background: var(--acm-bg-soft); }
.acm-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acm-hero-product { position: absolute; left: 8%; bottom: 0; width: 26%; max-width: 240px; height: auto; z-index: 2; }
.acm-hero-badge { position: absolute; right: 26px; top: 26px; background: #e9b32b; color: #000; padding: 12px 16px; font-size: 15px; line-height: 1.25; max-width: 220px; }
.acm-hero-badge b { font-size: 26px; }
.acm-hero-badge span { font-size: 12px; }
.acm-hero-dots { position: absolute; left: 24px; bottom: 18px; display: flex; gap: 8px; z-index: 3; }
.acm-hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #000; background: transparent; padding: 0; cursor: pointer; }
.acm-hero-dots button.is-active { background: #000; }

/* marquee */
.acm-marquee { border-top: 1px solid var(--acm-line); border-bottom: 1px solid var(--acm-line); overflow: hidden; padding: 13px 0; background: #fff; max-width: 100vw; }
.acm-marquee-track { display: flex; gap: 46px; white-space: nowrap; width: max-content; animation: acm-marquee 34s linear infinite; }
.acm-marquee-track span { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
@keyframes acm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* tabs + carousel */
.acm-tabs { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.acm-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 66px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; }

/* product card */
.acm-card { display: flex; flex-direction: column; }
.acm-card-media { display: block; background: var(--acm-bg-soft); position: relative; aspect-ratio: 1/1; overflow: hidden; }
.acm-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.acm-card-body { padding: 12px 0 0; }
.acm-card-brand { font-size: 12px; color: var(--acm-muted); margin: 0 0 3px; }
.acm-card-title { font-size: 14px; font-weight: 500; margin: 0 0 5px; line-height: 1.35; }
.acm-card-rating { color: #000; font-size: 11px; letter-spacing: .12em; margin-bottom: 3px; }
.acm-card-sub { font-size: 11.5px; color: var(--acm-muted); margin: 0 0 8px; min-height: 15px; }
.acm-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.acm-card-price { font-size: 14px; }
.acm-price del { color: var(--acm-muted); font-size: 12px; margin-right: 6px; font-weight: 400; }
.acm-price ins { text-decoration: none; font-weight: 500; }
.acm-add-mini { width: 30px; height: 30px; border: 1px solid var(--acm-line); display: inline-flex; align-items: center; justify-content: center; border-radius: 2px; }
.acm-add-mini:hover { background: var(--acm-ink); color: #fff; }
.acm-add-mini.added { background: var(--acm-ink); color: #fff; }

/* phototypes */
.acm-phototypes { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--acm-bg-soft); }
.acm-phototypes-media { position: relative; min-height: 420px; overflow: hidden; }
.acm-phototypes-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acm-phototypes-caption { position: absolute; left: 34px; top: 34px; color: #fff; font-size: 26px; line-height: 1.25; font-weight: 500; }
.acm-phototypes-text { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 46px 7vw; }
.acm-phototypes-text h3 { font-size: 21px; font-weight: 500; line-height: 1.45; }

/* pictos */
.acm-pictos { padding: 40px 0; }
.acm-pictos-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.acm-picto-img { width: 54px; height: 54px; object-fit: contain; margin: 0 auto 12px; display: block; }
.acm-picto span { font-size: 12px; font-weight: 500; }

/* banner (novophane) */
.acm-banner { background: #ebe7e2; }
.acm-banner-inner { display: grid; grid-template-columns: 1.1fr 1fr 0.9fr; align-items: center; gap: 20px; max-width: var(--acm-container); margin: 0 auto; padding: 0 var(--acm-gutter); }
.acm-banner-media { position: relative; align-self: stretch; min-height: 360px; overflow: hidden; }
.acm-banner-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acm-banner-tag { position: absolute; left: 0; top: 30px; background: #0a2f6b; color: #fff; padding: 10px 16px; font-size: 18px; line-height: 1.2; }
.acm-banner-tag span { display: block; font-size: 12px; opacity: .85; }
.acm-banner-text { padding: 40px 0; }
.acm-banner-text h2 { font-size: 40px; line-height: 1.1; font-weight: 400; margin-bottom: 14px; }
.acm-banner-text h2 b { font-size: 52px; font-weight: 600; }
.acm-banner-text p { font-size: 13px; max-width: 300px; }
.acm-banner-prod { display: flex; justify-content: center; height: auto; position: relative; }
.acm-banner-prod img { max-height: 400px; width: auto; object-fit: contain; }

/* besoins */
.acm-needs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.acm-need-media { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.acm-need-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acm-need-media span { position: absolute; left: 0; right: 0; top: 18px; text-align: center; color: #fff; font-size: 19px; font-weight: 600; text-shadow: 0 1px 8px rgba(0,0,0,.35); }

/* results / reviews */
.acm-rating-line { text-align: center; font-size: 12.5px; color: var(--acm-muted); margin: -12px 0 26px; }
.acm-stars { letter-spacing: .12em; }
.acm-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.acm-review { border: 1px solid var(--acm-line); display: flex; flex-direction: column; }
.acm-review-media { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.acm-review-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acm-review-before, .acm-review-after { position: absolute; bottom: 10px; background: rgba(255,255,255,.92); font-size: 10px; padding: 3px 7px; letter-spacing: .05em; }
.acm-review-before { left: 10px; }
.acm-review-after { right: 10px; }
.acm-review-body { padding: 14px 16px; }
.acm-review-brand { font-size: 11px; color: var(--acm-muted); margin: 0 0 2px; }
.acm-review-body h4 { font-size: 14px; margin-bottom: 2px; }
.acm-review-age { font-size: 11px; color: var(--acm-muted); margin: 0 0 8px; }
.acm-review-text { font-size: 12.5px; line-height: 1.5; margin: 0 0 8px; }
.acm-review-product { margin-top: auto; padding: 12px 16px 16px; border-top: 1px solid var(--acm-line); }
.acm-review-pbrand { display: block; font-size: 11px; color: var(--acm-muted); }
.acm-review-pname { display: block; font-size: 13px; margin-bottom: 8px; }
.acm-review-prow { display: flex; align-items: center; justify-content: space-between; }

/* blog */
.acm-blog-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.acm-link-arrow { font-size: 12px; text-decoration: underline; text-transform: uppercase; letter-spacing: .06em; }
.acm-blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.acm-post-media { position: relative; display: block; aspect-ratio: 1/1.16; overflow: hidden; }
.acm-post-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acm-post-tag { position: absolute; left: 10px; bottom: 10px; background: #fff; font-size: 10.5px; padding: 3px 8px; letter-spacing: .04em; }
.acm-post h4 { font-size: 14px; margin: 12px 0 8px; line-height: 1.35; }
.acm-post p { font-size: 12px; color: var(--acm-muted); line-height: 1.5; margin-bottom: 8px; }
.acm-post-more { font-size: 11.5px; text-decoration: underline; }

/* insta */
.acm-insta { padding-bottom: 60px; }
.acm-insta h2 { margin-bottom: 18px; }

@media (max-width: 1100px) {
    .acm-carousel, .acm-blog-grid {
        grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%;
        overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }
    .acm-carousel > *, .acm-blog-grid > * { scroll-snap-align: start; }
    .acm-reviews { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; }
    .acm-needs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto; }
    .acm-gammes-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; }
    .acm-related-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; }
    .acm-reviews, .acm-needs { grid-template-columns: 1fr; }
    .acm-hero-slide { grid-template-columns: 1fr; height: auto; min-height: 0; display: none; }
    .acm-hero-slide.is-active { display: flex; flex-direction: column; }
    .acm-hero-media { min-height: 320px; }
    .acm-hero-text { padding: 34px 22px; }
    .acm-phototypes { grid-template-columns: 1fr; }
    .acm-pictos-inner { grid-template-columns: repeat(2, 1fr); }
    .acm-banner-inner { grid-template-columns: 1fr; padding-bottom: 30px; }
    .acm-banner-text h2 { font-size: 30px; }
    .acm-banner-text h2 b { font-size: 38px; }
}





@media (min-width: 1101px) {
    .acm-phototypes-media { min-height: 733px; }
    .acm-phototypes-text { min-height: 733px; }
    .acm-banner-media { min-height: 615px; }
    .acm-banner-prod { height: 615px; }
    .acm-banner-prod img { max-height: 560px; }
}

/* ---------------------------------------------------------------- audit fix 2026-11-20
   product card hover: image zoom + quick-add reveal */
.acm-card-media img { transition: transform .45s ease; }
.acm-card:hover .acm-card-media img, .acm-card:focus-within .acm-card-media img { transform: scale(1.05); }
@media (hover: hover) {
  .acm-card .acm-add-mini { opacity: 0; transform: translateY(6px); transition: opacity .22s ease, transform .22s ease; }
  .acm-card:hover .acm-add-mini, .acm-card:focus-within .acm-add-mini { opacity: 1; transform: none; }
}
@media (hover: none) { .acm-card .acm-add-mini { opacity: 1; } }

/* hero slider arrows (audit fix 2026-11-20) */
.acm-hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--acm-line);
  background: rgba(255,255,255,.9); color: var(--acm-ink); font-size: 22px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .2s ease, opacity .2s ease;
}
.acm-hero-arrow:hover { background: #fff; }
.acm-hero-arrow--prev { left: 18px; }
.acm-hero-arrow--next { right: 18px; }
@media (max-width: 640px) { .acm-hero-arrow { width: 34px; height: 34px; font-size: 18px; } }
