/* Two simple reference columns, directly on the page surface. */
#home-references {
    box-sizing: border-box;
    width: min(1180px, calc(100% - 32px));
    margin: clamp(40px, 5vw, 64px) auto;
    text-align: left;
}
#home-references .home-references__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(24px, 4vw, 44px);
}
#home-references *, #home-references *::before, #home-references *::after { box-sizing: border-box; }
#home-references .home-references__column { min-width: 0; }
#home-references h2 { margin: 0 0 clamp(24px, 3vw, 36px); color: #21162f; font-size: clamp(28px, 3.2vw, 42px); font-weight: 750; line-height: 1.15; letter-spacing: -.025em; text-align: center; text-wrap: balance; }
#home-references .home-references__screen { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; background: #100d17; }
#home-references .home-references__video { display: block; width: 100%; height: 100%; }
#home-references .home-references__video { object-fit: contain; }
#home-references .home-references__video-nav { display: flex; align-items: center; justify-content: center; gap: 12px; height: 64px; margin-top: 12px; }
#home-references .home-references__dots { display: flex; align-items: center; justify-content: center; gap: 2px; }
#home-references .home-references__dot { display: grid; place-items: center; width: 28px; height: 34px; padding: 0; border: 0; background: none; cursor: pointer; }
#home-references .home-references__dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #c9c0d9; }
#home-references .home-references__dot.is-active::before { width: 17px; border-radius: 99px; background: #7653d7; }
#home-references .home-references__arrow { width: 34px; height: 34px; padding: 0; border: 1px solid #ded7eb; border-radius: 50%; background: transparent; color: #624291; font-size: 26px; line-height: 1; cursor: pointer; }
#home-service-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; box-sizing: border-box; width: min(1100px, calc(100% - 32px)); margin: 28px auto 48px; }
#home-service-actions .home-references__cta { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 0; min-height: 60px; padding: 16px 22px; border: 2px solid rgba(255, 255, 255, .8); border-radius: 999px; background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,0) 38%), linear-gradient(135deg, #635dff 0%, #9b6bff 45%, #ff64c7 100%); color: #fff; font-size: 15px; font-weight: 800; line-height: 1.35; text-align: center; text-decoration: none; text-shadow: 0 1px 10px rgba(38,20,122,.42); box-shadow: 0 16px 34px rgba(111,125,255,.22), inset 0 1px 0 rgba(255,255,255,.28); transition: transform .2s, box-shadow .2s; }
#home-service-actions .home-references__cta:hover { transform: translateY(-2px); box-shadow: 0 20px 38px rgba(111,125,255,.32), inset 0 1px 0 rgba(255,255,255,.28); }
#home-references button:focus-visible,
#home-service-actions a:focus-visible { outline: 3px solid #7653d7; outline-offset: 3px; }
[data-theme="dark"] #home-references h2 { color: #f6f0ff; }
[data-theme="dark"] #home-references .home-references__arrow { color: #c8afff; }
[data-theme="dark"] #home-references .home-references__arrow { border-color: #ffffff38; }
[data-theme="dark"] #home-references .home-references__dot.is-active::before { background: #bda0ff; }
@media (max-width: 700px) {
    #home-references .home-references__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    #home-service-actions { grid-template-columns: minmax(0, 1fr); margin-top: 20px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    #home-service-actions .home-references__cta { transition: none; }
    #home-service-actions .home-references__cta:hover { transform: none; }
}

#home-references h2 span { color: #7057e6; }
[data-theme="dark"] #home-references h2 span { color: #b9a6ff; }

/* Same full-resolution gallery as the wedding photo page, fitted to the left column. */
#home-references .wedding-reference-gallery { width: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
#home-references .wedding-reference-gallery__stage { min-height: 0; aspect-ratio: 16 / 10; border-radius: 14px; }
/* Pas de bandes : la photo remplit le cadre, quitte à être recadrée (haut favorisé pour garder les visages). */
#home-references .wedding-reference-gallery__stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
#home-references .wedding-reference-gallery__thumbs { min-width: 0; max-width: 100%; }

/* Accueil : blocs « Vos moments » et « L'humain au cœur de chaque image » sans arrondis.
   Les flèches, les points et le compteur gardent leur forme. */
#home-references .wedding-reference-gallery,
#home-references .wedding-reference-gallery__stage,
#home-references .home-references__screen,
#home-references .wedding-reference-gallery__thumbs button,
html body .home-brand-values .home-brand-value,
html body .home-brand-values .home-brand-value video {
    border-radius: 0;
}
