*,
*::after,
*::before {
	box-sizing: border-box;
}

:root {
	font-size: 16px;
	--color-text: #f3f3f3;
	--color-bg: #0f0e0e;
	--color-link: #f3f3f3;
	--color-link-hover: #e35384;
	--page-padding: 2rem 3rem;
}

@font-face {
	font-family: 'blackoutregular';
	src: url('../fonts/blackout-webfont.woff2') format('woff2'),
	     url('../fonts/blackout-webfont.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-family: 'hacked_crtregular';
    src: url('../fonts/hacked_crt-webfont.woff2') format('woff2'),
         url('../fonts/hacked_crt-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'h19a_lunaluna';
    src: url('../fonts/h19a-luna-webfont.woff2') format('woff2'),
         url('../fonts/h19a-luna-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'capsule3regular';
    src: url('../fonts/capsule3-webfont.woff2') format('woff2'),
         url('../fonts/capsule3-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html, body {
	width: 100%;
	overflow-x: hidden;
}

body {
	margin: 0;
	color: var(--color-text);
	background-color: var(--color-bg);
	font-family: "oculi-display", serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Page Loader */
.js .loading::before,
.js .loading::after {
	content: '';
	position: fixed;
	z-index: 5000;
}

.js .loading::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	border-radius: 50%;
	opacity: 0.4;
	background: var(--color-link);
	animation: loaderAnim 0.7s linear infinite alternate forwards;

}

@keyframes loaderAnim {
	to {
		opacity: 1;
		transform: scale3d(0.5,0.5,1);
	}
}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
	cursor: pointer;
}

a:hover {
	color: var(--color-link-hover);
	outline: none;
}

a:focus {
	outline: none;
}

a:focus-visible {
	outline: 2px solid red;
}

.unbutton {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	cursor: pointer;
}

.unbutton:focus {
	outline: none;
}

.frame {
	padding: var(--page-padding);
	position: relative;
	display: grid;
	z-index: 1000;
	width: 100%;
	height: 100%;
	grid-row-gap: 1rem;
	grid-column-gap: 2rem;
	pointer-events: none;
	justify-items: start;
	grid-template-columns: 100%;
	align-items: start;
	justify-content: start;
	grid-template-areas: 'title' 'prev' 'back' 'sub' 'sponsor';
}

.frame #cdawrap {
  justify-self: start;
}

.frame a {
  pointer-events: auto;
}

.frame__title {
  grid-area: title;
  font-size: clamp(2rem,10vw,4rem);
  font-weight: 100;
  line-height: 1;
  margin: 2rem 0 0 0;
}

.frame__back {
  grid-area: back;
  justify-self: start;
}

.frame__prev {
  grid-area: prev;
  justify-self: start;
}

.frame__sub {
  grid-area: sub;
}

.frame__demos {
	grid-area: demos;
	display: flex;
	gap: 1rem;
}

.content {
	min-height: 60vh;
	margin: 15vh auto;
	display: grid;
	place-items: center;
}

.content--flex {
	display: flex;
	justify-content: center;
}

.content--more {
	margin-top: 40vh;
}

.content--text {
	place-items: initial;
	align-content: center;
	max-width: 950px;
	padding: 0 10vw;
	margin: 0 0 0 auto;
}

.content > h4 {
	background-color: #f3ec78;
	background-image: linear-gradient(172deg, #e35384, #e8a53c);
	background-size: 100%;
	-webkit-background-clip: text;
	-moz-background-clip: text;
	-webkit-text-fill-color: transparent; 
	-moz-text-fill-color: transparent;
	font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
}

.content > p {
	font-weight: 300;
	font-size: clamp(1.5rem,5vw,2.25rem);
	line-height: 1.25;
}

.content__title {
	font-size: 2rem;
	font-weight: normal;
}

.poster {
	width: 100%;
	height: 100vh;
	display: grid;
	place-items: center;
	--offset-x: 0%;
	--offset-y: 0%;
}

.poster--half {
	height: 28vw;
}

.poster__inner {
	width: calc(100% + var(--offset-x) * 2);
	height: calc(100% + var(--offset-y) * 2);
	background-size: cover;
	background-position: 50% 50%;
}

.poster__inner video {
	width: 100%;
	height: 100%;
	object-fit: fill;
}

.poster__inner--fixed {
	background-attachment: fixed;
}

.font-1 {
	font-family: "blackoutregular";
	font-weight: 400;
}

.font-2 {
	font-family: "hacked_crtregular", sans-serif;
	font-weight: 400;
	text-transform: uppercase;
}

.font-3 {
	font-family: "macula-solid", sans-serif;
	font-weight: 500;
}

.font-4 {
	font-family: "macula-line", sans-serif;
	font-weight: 400;
}

.font-5 {
	font-family: "octothorpe-pe", sans-serif;
	font-weight: 400;
}

.font-6 {
	font-family: "h19a_lunaluna", sans-serif;
	font-weight: 400;
}

.font-7 {
	font-family: "capsule3regular", sans-serif;
	font-weight: 400;
}

.font-8 {
	font-family: "flegrei", sans-serif;
	font-weight: 400;
}

.font-9 {
	font-family: gigantic, sans-serif;
	font-weight: 900;
	text-transform: uppercase;
}

.size-1 {
	font-size: 70vw;
}

.size-2 {
	font-size: 50vw;
}

.size-3 {
	font-size: 30vw;
}

.size-4 {
	font-size: 20vh;
}

svg {
	opacity: 0;
	position: absolute;
	pointer-events: none;
	width: 100%;
	height: 100vh;
	overflow: visible;
}

.h-200 {
	height: 200vh;
}

.w-25 {
	width: 50vw;
}

svg text {
	line-height: 1;
}

.credits {
	font-size: 2rem;
	text-align: center;
	margin: 50vh auto;
}

.card-wrap {
	margin-top: 5vh;
	display: grid;
	grid-gap: 2rem;
	grid-auto-flow: row;
	grid-template-columns: 250px;
}

.card__image {
	display: block;
	border-radius: 7px;
	background-size: cover;
	background-position: 50% 50%;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
}

.card__title {
	font-weight: normal;
	font-size: 1rem;
}

@media screen and (min-width: 53em) {
		.frame {
			grid-template-columns: auto auto auto 1fr;
			grid-template-areas: 'prev back sub sponsor' 'title title title title';
		}
		.frame #cdawrap {
		  justify-self: end;
		}
		.card-wrap {
			grid-template-columns: repeat(3,250px);
		}
		.w-25 {
			width: 25vw;
		}
}	

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Video styling */
.video-box video {
    width: 600px;
	height: 400px;
    max-width: 100%;
    border-radius: 8px;
	margin: 50px;
}

@media (max-width: 768px) {
	

    /* Empêche tout scroll / découpe horizontale */
    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    /* Neutralisation générale des contenus */
    .content,
    .content-wrapper,
    .content--text,
    .content--more,
    .content--flex {
        width: 100%;
        max-width: 100%;
        margin: 0 !important;
        padding: 0 16px;
        box-sizing: border-box;
        transform: none !important;
        left: 0 !important;
        right: 0 !important;
    }

    /* Centrage des wrappers */
    .content-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    /* Bloc texte */
    .content-wrapper .content--text {
        margin: 0 auto;
        text-align: center;
    }

    /* Titres */
    .section-title {
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        white-space: normal;
        transform: none !important;
        left: 0 !important;
    }

    .section-title span {
        
		width: 300px;
		height: 100px;
		font-size: 45px;
		padding-left: 0px;
		margin: 0px;
    }

    /* Paragraphes */
    .about__p {
        max-width: 100%;
        margin: 0 auto;
    }

    /* Posters */
    .poster,
    .poster__inner,
    .poster__inner--fixed {
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 auto;
    }

    /* Vidéos */
    .video-box,
    .video-box video {
        width: 500px;
		margin: 20px;
		border-radius: 15px;
    }

    /* Cards dans "More you might like" */
    .card-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        margin-bottom: 16px;
    }

    .card__image {
        width: 100%;
        height: auto;
    }
	
}





/* Additional styles */
.tren-red {
	color: #e53935 !important;
}

.section-title {
	position: relative;
	margin: 3px;
	margin-bottom: 60px;
	line-height: .8;
	font-size: 90px;
	text-align: center;
	color: var(--pr-color);
	text-transform: uppercase;
}

/* serv ********/
.serv__item {
	position: relative;
	padding: 40px 0;
	border-bottom: 1px solid #2f2e2e;
}

.serv__item-arrow {
	position: absolute;
	display: inline-block;
	width: 55px;
	height: 55px;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
}

.serv__item-arrow img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	transform: rotate(180deg);
}

.serv__item-txt {
	font-size: 50px;
	color: #4b4b4b;
	text-transform: uppercase;
}

/* Animation du texte */
/* Style pro pour le contenu FAQ */
.faq-content {
    display: none; /* toujours caché au départ */
    background-color: #1c1c1c; /* fond sombre professionnel */
    color: #ffffff; /* texte clair */
    padding: 20px 25px; /* espace intérieur */
    margin-top: 10px;
    border-left: 4px solid #e50914; /* accent rouge pro pour le côté */
    border-radius: 8px; /* coins arrondis */
    font-size: 16px; /* taille de texte lisible */
    line-height: 1.6; /* espacement des lignes */
    box-shadow: 0 4px 12px rgba(0,0,0,0.3); /* léger ombrage */
    transition: all 0.3s ease; /* animation douce à l'ouverture */
}

/* Facultatif : texte interne */
.faq-content p {
    margin: 0;
}

/* Flèche qui tourne quand ouvert */
.serv__item-arrow.open img {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

 
/* Taille spécifique pour le h2 FAQ */
.section-title--faq {
    font-size: 32px; /* ajuste selon ton besoin */
    line-height: 1.2; /* optionnel, pour réduire l'espacement */
}

/* footer ********/
.footer {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
}

.footer__div {
	font-size: 70px;
	letter-spacing: 15px;
	color: greenyellow;
	text-transform: uppercase;
}

.footer__div span {
	display: inline-block;
}


.top-navbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: rgba(5, 7, 15, 0.9);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  
  .navbar-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 10px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
  }
  
  .logo img {
	height: 90px;
	width: 100px;
	display: block;
  }
  
  /* Burger */
  .navbar-toggle {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(8, 8, 8, 0.9);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	padding: 0;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
  }
  
  .navbar-toggle span {
	height: 2px;
	width: 18px;
	margin: 0 auto;
	border-radius: 999px;
	background: linear-gradient(90deg, #ff6bd5, #6b8dff);
	transition: transform 0.25s ease, opacity 0.2s ease;
  }
  
 /* Desktop menu visible only on large screens */
.desktop-menu {
	display: none;
	list-style: none;
	gap: 20px;
	display: flex;
  }
  .desktop-menu li a {
	color: var(--color-link);
	text-decoration: none;
  }
  @media (min-width: 768px) {
	.desktop-menu { display: flex; }
	.navbar-toggle, .mobile-menu { display: none; }
  }
  
  /* Mobile menu */
  .mobile-menu {
	position: fixed;
	top: 60px;
	left: 0;
	right: 0;
	background: rgba(15,17,30,0.95);
	backdrop-filter: blur(10px);
	display: none;
	flex-direction: column;
	padding: 20px 0;
	z-index: 999;
  }
  .mobile-menu.is-open {
	display: flex;
  }
  .mobile-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: center;
  }
  .mobile-menu ul li a {
	color: var(--color-link);
	font-size: 18px;
	text-decoration: none;
  }
  .navbar-toggle.is-open span {
	background: #e53935;
  }
  .navbar-toggle span {
	display: block;
	width: 100%;
	height: 3px;
	background: #f3f3f3;
	margin: 6px 0;
	transition: 0.3s;
  }


/* Desktop menu : visible sur écran large */
.desktop-menu {
	display: none; /* caché par défaut sur mobile */
  }
  
  .desktop-menu ul {
	display: flex;
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
  }
  
  .desktop-menu a {
	text-decoration: none;
	color: var(--color-link);
	font-weight: 500;
  }
  
  .desktop-menu a:hover {
	color: var(--color-link-hover);
  }
  
  /* Affichage desktop à partir de 768px */
  @media (min-width: 769px) {
	.desktop-menu {
	  display: block;
	}
  
	/* Cacher le menu mobile et burger sur desktop */
	.mobile-menu,
	.navbar-toggle {
	  display: none;
	}
  }
  
  .footer-privacy {
	width: 100%;
	background: #000307;
	border-top: 1px solid #e5e7eb;
	padding: 0.6em 0;
	margin-top: 2em;
	text-align: center;
}
.footer-privacy__content {
	display: flex;
	flex-direction: column;
	gap: 0.7em;
	font-size: 0.97em;
	color: #2189ff;
	align-items: center;
	justify-content: center;
}
.footer-privacy__content a {
	color: #2189ff;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s;
}
.footer-privacy__content a:hover {
	color: #e53935;
	text-decoration: underline;
}