:root {
  --dark-indigo: #181833;
  --deep-indigo: #344193;
  --electric-indigo: #6e78eb;
  --tropical-indigo: #c1c2ff;
  --white: #ffffff;
  --light-indigo: #d8d8ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica", sans-serif;
  background-color: var(--white);
  color: var(--dark-indigo);
  line-height: 1.6;
}

body label {
  color: var(--white);
}

h1,
h2,
h3 {
  font-family: "Gotham", sans-serif;
  color: var(--electric-indigo);
}

a {
  color: var(--tropical-indigo);
  text-decoration: none;
}

ul {
  list-style-type: none;
}

li {
  margin-bottom: 10px;
}

#logo {
  max-width: 300px;
  margin-bottom: 50px;
  margin-top: 5vh;
}

header {
  position: relative;
  background: url("../img/Studio_by_tv_wonder.JPG") no-repeat center center/cover;
  text-align: center;
  height: 50vh;
  overflow: hidden;
  padding-bottom
}

header .overlay-header-color,
header .overlay-lines {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

header .overlay-header-color {
  background-color: rgba(24, 24, 51, 0.75);
  z-index: 1;
  padding: 5rem 2rem;
}

header .overlay-lines {
  background: url("../img/Lines_TV_Wonder.webp") no-repeat center center/cover;
  z-index: 2;
}

header .overlay-lines * {
  position: relative;
  z-index: 3;
}

header h1 {
  font-size: 2rem;
  margin-bottom: 70px;
}

header p {
  color: var(--white);
  bottom: 50px;
  font-size: 1.2rem;
  margin-top: 1rem;
}


/* ##### SECTION #####*/

section .two {

}

.wrap h2 {
  font-size: 2.5rem;
  text-align: center;
}

.wrap hr {
  margin: 10px auto;
  width: 50%;
  border-color: var(--tropical-indigo);
}

.wrap p {
  color: var(--dark-indigo);
  font-size: 1.1em;
}

.btn {
  background: var(--electric-indigo);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  margin-top: 2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--tropical-indigo);
}

section {
  width: 100%;
}

.wrap {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.cartes {
  background-color: var(--light-indigo);
  border-radius: 16px;
  color: var(--deep-indigo);
  text-align: center;
  padding-bottom: 1.5rem;
  width: 100%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.cartes:hover {
  background-color: var(--tropical-indigo);
  transform: scale(1.05);
  box-shadow: 0px 5px 10px rgba(24, 24, 51, 0.5);
}

.cartes img {
  width: 100%;
  border-radius: 16px 16px 0px 0px;
}

.cartes h3,
.cartes p,
.cartes ul li {
  margin: 10px 15px;
}

.cartes h3 {
  font-size: 1.2rem;
}

.carte_4 h3,
.carte_5 h3,
.carte_6 h3 {
  font-size: 1.2rem;
}

.liste_formules {
  font-size: 1.2rem;
  font-weight: bold;
}

.cartes hr {
  margin: 0.5rem auto;
  width: 80%;
  border-color: var(--electric-indigo);
}

.cartes a {
  display: inline-block;
  background-color: var(--deep-indigo);
  padding: 0.5rem 1rem;
  color: var(--white);
  border-radius: 25px;
  margin-top: 1rem;
  transition: background 0.3s ease;
}

.cartes a:hover {
  background-color: var(--electric-indigo);
}

#formulaire {
  background-color: var(--dark-indigo);
}

#formulaire .formulaire_description {
  color: var(--white);
}

form {
  margin: 0 5%;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 1rem;
  margin: 1rem 0;
  border: none;
  border-radius: 3px;
}

form label[for="rappel"] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 1rem;
  color: var(--white) !important;
}

form button {
  background: var(--electric-indigo);
  color: var(--white);
  padding: 1rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-weight: bold;
  margin-left: 0;
  transition: background 0.3s ease;
}

form button:hover {
  background: var(--tropical-indigo);
}

footer {
  background: var(--dark-indigo);
  color: var(--white);
  padding: 2rem;
  text-align: center;
}


.container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  padding: 20px;
}

.video-container {
  flex: 1 1 300px;
  height: 300px;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.text-container {
  flex: 1 1 300px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.gallery img {
  width: 150px;
  height: auto;
  border: 2px solid #ddd;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

.gallery img.zoomed {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(6);
  z-index: 1000;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}


@media (max-width: 768px) {
  header h1 {
    font-size: 1.5rem;
  }

  header p,
  .wrap h2,
  .formulaire_description {
    font-size: 1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .container {
    flex-direction: column;
    padding: 1rem;
  }

  .video-container,
  .text-container {
    margin-bottom: 1rem;
  }

  .gallery img {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 2rem 1rem;
  }

  form input,
  form textarea,
  form select {
    padding: 0.75rem;
  }

  .gallery img {
    width: 80px;
  }
}



.slider {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Boutons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--electric-indigo, #6e78eb);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
}

.slider-btn svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.slider-btn.prev {
  left: 2%;
}

.slider-btn.next {
  right: 2%;
}