@charset "utf-8";

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
  background-color: #0b0d0c;
  color: white;
  font-family: "Montserrat", sans-serif;
}

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

ul {
  list-style: none;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  padding: 24px 6%;

  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.logo {
  font-family: "Cinzel", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo span {
  	color: #d4a653;
}

.menu {
  	display: flex;
  	align-items: center;
  	gap: 30px;
	margin-left: -55em;
}

.menu > li {
  	position: relative;
	
}

.menu > li > a {
  	display: block;
  	padding: 10px 0;

  	color: rgba(255, 255, 255, 0.82);

  	font-size: 13px;
  	font-weight: 600;
  	letter-spacing: 1px;
  	text-transform: uppercase;

  	transition: color 0.25s ease;
}

.menu > li > a:hover {
  	color: #d4a653;
}

.fleche {
  	display: inline-block;
  	margin-left: 5px;
  	font-size: 16px;
}


.sous-menu {
  	position: absolute;
  	top: 100%;
  	left: -18px;

  	width: 240px;
  	padding: 10px 0;

  	background-color: rgba(15, 19, 17, 0.96);
  	border: 1px solid rgba(212, 166, 83, 0.32);

  	opacity: 0;
  	visibility: hidden;
  	pointer-events: none;

  	transform: translateY(-14px);

  	transition:
    	opacity 0.25s ease,
    	visibility 0.25s ease,
    	transform 0.25s ease;
}

.sous-menu a {
  	display: block;
  	padding: 12px 18px;

  	color: rgba(255, 255, 255, 0.82);
  	font-size: 13px;

  	transition:
    	color 0.2s ease,
    	background-color 0.2s ease,
    	padding-left 0.2s ease;
}

.sous-menu a:hover {
  	padding-left: 24px;

  	background-color: rgba(212, 166, 83, 0.12);
  	color: #e8bf74;
}

/* souris survole  */
.avec-sous-menu:hover .sous-menu,
.avec-sous-menu:focus-within .sous-menu {
  	opacity: 1;
  	visibility: visible;
  	pointer-events: auto;

  /* sous-menu vers le bas */
  	transform: translateY(0);
}

.bouton {
  	display: inline-block;
  	padding: 14px 22px;

  	background-color: #c58e3c;
  	border: 1px solid #c58e3c;

  	color: white;

  	font-size: 12px;
  	font-weight: 600;
  	letter-spacing: 1.3px;
  	text-transform: uppercase;

  	transition:
    	background-color 0.25s ease,
    	border-color 0.25s ease,
    	transform 0.25s ease;
}

.bouton:hover {
  	background-color: #e0ad5c;
  	border-color: #e0ad5c;
  	transform: translateY(-3px);
}

.bouton-menu {
  	padding: 12px 19px;
}

.hero {
  	position: relative;

  	display: flex;
  	align-items: center;

  	min-height: 100vh;
  	padding: 5px 8% 80px;

  	background-image: url("../images/banner lara croft.png");
  	background-position: center;
  	background-size: cover;
	background-repeat: no-repeat;
}

.hero-overlay {
  	position: absolute;
  	inset: 0;

    background:
    linear-gradient(
      90deg,
      rgba(5, 8, 7, 0.96) 0%,
      rgba(5, 8, 7, 0.72) 42%,
      rgba(5, 8, 7, 0.2) 100%
    ),
    linear-gradient(
      0deg,
      rgba(5, 8, 7, 0.86) 0%,
      transparent 40%
    );
}

.hero-contenu {
  	position: relative;
  	z-index: 1;

  	max-width: 730px;
}

.surtitre {
  	margin-bottom: 15px;

  	color: #d4a653;

  	font-size: 13px;
  	font-weight: 600;
  	letter-spacing: 4px;
  	text-transform: uppercase;
}

h1,
h2,
h3 {
  	font-family: "Cinzel", serif;
}

h1 {
  	font-size: clamp(20px, 6vw, 60px);
  	line-height: 1.02;
  	text-transform: uppercase;
}

h1 span {
  	color: #d4a653;
}

.introduction {
  	max-width: 620px;
  	margin-top: 24px;

  	color: rgba(255, 255, 255, 0.76);

  	font-size: 17px;
  	line-height: 1.8;
}

.hero-boutons {
  	display: flex;
  	align-items: center;
  	gap: 25px;

  	margin-top: 35px;
}

.scroll {
  	position: absolute;
  	bottom: 35px;
  	left: 50%;
  	z-index: 1;

  	display: flex;
  	flex-direction: column;
  	align-items: center;
  	gap: 100px;

  	transform: translateX(-50%);
}

.scroll span {
  	color: rgba(255, 255, 255, 0.65);

  	font-size: 10px;
  	letter-spacing: 3px;
  	text-transform: uppercase;
}

.trait {
  	width: 1px;
  	height: 34px;
  	background-color: #d4a653;
}

.presentation {
  	max-width: 820px;
  	margin: 0 auto;
  	padding: 110px 25px 70px;

  	text-align: center;
}

.presentation h2 {
  	margin-bottom: 20px;

  	font-size: clamp(30px, 4vw, 48px);
  	text-transform: uppercase;
}

.presentation p:last-child {
  	color: rgba(255, 255, 255, 0.67);

  	font-size: 16px;
  	line-height: 1.9;
}

.jeux {
  	display: grid;
  	grid-template-columns: repeat(3, fr);
  	gap: 18px;

  	padding: 0 5% 100px;
}

.carte {
  	position: relative;

  	height: 480px;
  	overflow: hidden;
}

.carte img {
  	width: 100%;
  	height: 100%;
  	object-fit: cover;

  	transition: transform 0.5s ease;
}

.carte:hover img {
  	transform: scale(1.08);
}

.carte-overlay {
  	position: absolute;
  	inset: 0;

    background: linear-gradient(
    0deg,
    rgba(6, 8, 8, 0.98) 0%,
    rgba(6, 8, 8, 0.08) 70%
  );
}

.carte-contenu {
  	position: absolute;
  	right: 25px;
  	bottom: 25px;
  	left: 25px;
}

.carte-contenu p {
  	margin-bottom: 9px;

  	color: #d4a653;

  	font-size: 13px;
  	font-weight: 600;
  	letter-spacing: 3px;
}

.carte-contenu h3 {
  	margin-bottom: 14px;

  	font-size: 25px;
  	text-transform: uppercase;
}

.carte-contenu a {
  	color: rgba(255, 255, 255, 0.86);

  	font-size: 12px;
  	font-weight: 600;
  	letter-spacing: 1px;
  	text-transform: uppercase;

  	transition: color 0.25s ease;
}

.carte-contenu a:hover {
  	color: #d4a653;
}

.carte-contenu span {
  	margin-left: 7px;

  	color: #d4a653;
  	font-size: 18px;
}

@media (max-width: 920px) {
  .navigation {
      display: none;
  }

  .jeux {
      grid-template-columns: fr;
  }

  .carte {
      height: 390px;
  }
}

@media (max-width: 600px) {
  .header {
      padding: 20px 5%;
  }

  .logo {
      font-size: 19px;
  }

  .bouton-menu {
      padding: 10px 13px;
      font-size: 10px;
  }

  .hero {
      padding-right: 6%;
      padding-left: 6%;
  }

  .hero-boutons {
      flex-direction: column;
      align-items: flex-start;
  }
}
