/* ── Page « Offre photo & vidéo » : vidéo d'exemple + formulaire « Je suis intéressé(e) » ── */

.promotion-video__video-intro {
    margin: 36px 0 16px 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: var(--font-weight-semibold, 600);
    color: var(--dark1, #1f1f1f);
}

/* Vidéo : moitié de la largeur de la carte sur grand écran, pleine largeur sur mobile */
.promotion-video__examples .promotion-video__video {
    margin: 0 auto;
    max-width: 50%;
    box-shadow: var(--shadow-card);
}

@media (max-width: 900px) {
    .promotion-video__examples .promotion-video__video {
        max-width: 100%;
    }
}

/* ── Photos d'exemple : vignettes cliquables ── */

.promotion-video__photos-intro {
    margin: 24px 0 16px 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: var(--font-weight-semibold, 600);
    color: var(--dark1, #1f1f1f);
}

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

.promotion-video__photo {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    padding: 0;
    border: none;
    border-radius: var(--border-radius-base);
    overflow: hidden;
    background: var(--light-warm);
    cursor: zoom-in;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promotion-video__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.promotion-video__photo:hover,
.promotion-video__photo:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    outline: none;
}

.promotion-video__photo:hover img {
    transform: scale(1.04);
}

.promotion-video__photo:focus-visible {
    box-shadow: 0 0 0 3px var(--main-color-orange);
}

/* Sélecteur à deux classes : un style global passe les <span> en display:block */
.promotion-video__photo .promotion-video__photo-zoom {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark1, #1f1f1f);
    font-size: 13px;
    line-height: 28px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.promotion-video__photo:hover .promotion-video__photo-zoom,
.promotion-video__photo:focus-visible .promotion-video__photo-zoom {
    opacity: 1;
}

.promotion-video__photo .promotion-video__photo-zoom i {
    display: inline-block;
    line-height: 1;
    width: 1em;
    height: 1em;
    text-align: center;
    vertical-align: middle;
}

.promotion-video__photos-credit {
    margin: 12px 0 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--dark3, #6b6b6b);
    font-style: italic;
}

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

@media (max-width: 560px) {
    .promotion-video__photos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .promotion-video__photo-zoom {
        opacity: 1;
    }
}

.promotion-video__form-card {
    scroll-margin-top: 110px;
}

.promotion-video__form-card .form-alert {
    margin: 20px 0 0 0;
}

.promotion-video__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

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

.promotion-video__select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2337241C' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Pot de miel : hors écran, jamais affiché, jamais focusable au clavier */
.promotion-video__trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.promotion-video__privacy {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--dark3, #6b6b6b);
}

.promotion-video__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--main-color);
    color: var(--white);
    font-family: var(--font-helvetica);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-button);
    border: none;
    border-radius: var(--border-radius-base);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    align-self: flex-start;
}

.promotion-video__submit:hover {
    background: var(--main-color-orange);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 720px) {
    .promotion-video__grid {
        grid-template-columns: 1fr;
    }

    .promotion-video__submit {
        width: 100%;
    }
}
