/* =========================================================
   ÉCRANS VIVANTS — Landing page
   HTML/CSS vanilla, responsive mobile + desktop
   Maquette Figma : node 333:171
   ========================================================= */

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

.visually-hidden {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: #000;
    color: #fff;
    font-family: 'DIN Pro', 'Helvetica Neue', Arial, sans-serif;
    font-size: 17px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---- FOND ---- */
.bg-image {
    position: absolute;
    /* inset: 0; */
    width: 100%;
	height: 90vh;
	background-image: url('https://www.ecrans-vivants.fr/images/2439b873.jpg');
    background-size: cover;
    background-position: center 77%;
    background-repeat: no-repeat;
    filter: blur(3px);
    z-index: -2;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 43%),
        linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 30%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: -1;
}

/* ---- LAYOUT ---- */
.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    position: relative;
}

/* ---- HEADER / LOGO ---- */
.site-header {
    display: flex;
    justify-content: center;
    padding: 24px 0 8em;
}

.logo {
    width: 198px;
    max-width: 60%;
    height: auto;
}

/* ---- VIDEO SECTION ---- */
.video-section {
    margin: 0 auto;
    max-width: 1008px;
}

.video-card {
    position: relative;
    display: block;
    aspect-ratio: 1008 / 567;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.plyr{
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

:root {
  --plyr-color-main: #63EA90;
}

.plyr__poster{
	background-size: cover;
}

.video-card:hover {
    transform: translateY(-4px);
}

.video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 64px;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.video-card:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

/* ---- COPRODUCTEURS ---- */
.coproducers {
	position: relative;
    margin: 25px auto 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 720px;
}

.coproducers__label {
    font-weight: 500;
    font-size: 17px;
    color: #fff;
}

.coproducers__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.coproducers__list img {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.coproducers__list .cutlogo img {
	height: 40px;
}

/* ---- MANIFESTO ---- */
.manifesto {
    margin: 80px auto 0;
    max-width: 900px;
    text-align: center;
}

.manifesto p {
    font-size: 20px;
    line-height: 1.6;
    color: #fff;
    margin: 0;
}

/* ---- RESOURCES ---- */
.resources {
    margin: 80px auto 0;
    text-align: center;
}

.resources__title {
    font-size: 17px;
    font-weight: 500;
    margin: 0 0 18px;
    color: #fff;
}

.resources__buttons {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.resources__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 48px;
    min-height: 141px;
    min-width: 280px;
    /* background: #fff; */
    transition: background-color 0.3s ease;
    position: relative;
}

.resources__btn + .resources__btn {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.resources__btn:hover {
    background: #141414;
}

.resources__btn img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

/* ---- CREDITS (accordion) ---- */
.credits {
    margin: 64px auto 0;
    max-width: 749px;
}

.credits__details {
    border: 1px solid #fff;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.credits__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
	gap: 16px;
	padding: 18px 24px 18px 30px;
    cursor: pointer;
    list-style: none;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0.02em;
    user-select: none;
    transition: background-color 0.3s ease;
}

.credits__summary::-webkit-details-marker {
    display: none;
}

.credits__summary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.credits__icon {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.credits__details[open] .credits__icon {
    transform: rotate(45deg);
}

.credits__content {
    padding: 0 32px 32px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.credits dd{
	margin: 0;
	font-weight: 500;
}

.credits dd + dt{
	margin-top: 10px;
}

.credits ul{
	padding-left: 16px;
}

.credits section + section{
	margin-top: 40px;
}

/* ---- FOOTER ---- */
.site-footer {
    margin: 10em auto 0;
    max-width: 1100px;
}

.site-footer__line {
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    width: 100%;
    margin-bottom: 6px;
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
	gap: 40px;
    padding: 12px 0;
    font-size: 17px;
}

.site-footer__contact, .site-footer__support{
	white-space: nowrap;
}

.site-footer__contact{
	line-height: 1.4;
}

.site-footer__contact a {
    text-decoration: underline;
    text-underline-offset: 4px;
	font-weight: 500;
	text-decoration-thickness: 1px;
}

.site-footer__contact a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.site-footer__support strong {
    font-weight: 500;
}

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

@media (max-width: 1399px) {
	.site-header{
		padding: 24px 0 4em;
	}
	.bg-image{
		height:1000px;
	}
}

@media (max-width: 1299px) {
	.bg-image {
		height: 76vw;
	}
	.video-section{
		padding: 0 60px;
	}
}

@media (max-width: 1199px) {
	.site-header{
		padding: 0 0 30px;
	}
	.video-section {
		padding: 0 10vw;
	}
	.bg-image {
		height: 73vw;
	}
}

/* Tablette */
@media (max-width: 900px) {
	.bg-image {
		height: 80vw;
	}
    .manifesto p {
        font-size: 16px;
    }
	.credits__summary{
		font-size: 18px;
	}
    .resources__btn {
        padding: 20px 32px;
        min-width: 220px;
        min-height: 120px;
    }

    .resources__btn img {
        max-height: 64px;
    }

    .play-icon {
        font-size: 56px;
    }
	.coproducers__label{
		font-size: 15px;
	}
	.coproducers__list img {
		height: 18px;
	}
	.coproducers__list .cutlogo img {
		height: 32px;
	}
	.site-footer {
		margin: 4em auto 0;
	}
}

/* Mobile */
@media (max-width: 600px) {
    .page {
		padding: 24px 24px 20px;
	}

    .site-header {
        padding: 16px 0 32px;
    }
	.bg-image {
		height: 450px;
	}
	.video-section {
		padding: 0;
	}
    .logo {
        width: 150px;
    }

    .video-card {
        border-radius: 14px;
    }

    .play-icon {
        font-size: 48px;
    }

    .coproducers {
        margin-top: 28px;
		gap: 10px;
    }

    .coproducers__list {
        gap: 20px;
    }

    .coproducers__list img {
        height: 15px;
    }
	.coproducers__list .cutlogo img {
		height: 27px;
	}
    .manifesto {
        margin-top: 35px;
    }

    .manifesto p {
        font-size: 14px;
		line-height: 1.3;
		text-align: center;
    }

    .resources {
        margin-top: 56px;
    }

    .resources__title {
		font-size: 16px;
		margin: 0 0 12px;
	}

    .resources__btn {
        min-width: 0;
        width: 100%;
        padding: 20px;
        min-height: 100px;
    }

    .site-footer__line{
		display: none;
	}

    .credits {
        margin-top: 40px;
    }
	.credits__icon {
		font-size: 20px;
	}
	.credits__content {
		padding: 0 20px 12px;
		font-size: 15px;
		line-height: 1.4;
	}
    .credits__summary {
        font-size: 14px;
        padding: 16px 20px;
    }

    .site-footer {
        margin-top: 30px;
		text-align: center;
    }

    .site-footer__inner {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        font-size: 15px;
    }
}

/* Très petits écrans */
@media (max-width: 360px) {
    .logo {
        width: 130px;
    }

    .play-icon {
        font-size: 40px;
    }
}
