:root {
  --green: #2f855a;
  --blue: #2b6cb0;
  --white: #ffffff;
  --orangered: #ff4500;
  --muted: #f6f8fb;
  --text: #0f1724;
  --glass: rgba(255, 255, 255, 0.65);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial;
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, var(--muted), #ffffff);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem
}




.brand {
  font-weight: 800;
  text-decoration: none;
  color: var(--white);
  font-size: 1.1rem
}

.main-nav ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  opacity: 0.95;
  transition: background .2s
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.12)
}

.main-nav a.don {
  background: var(--orangered);
  color: var(--white);
}



.lead {
  font-weight: 600;
  margin-top: .5rem
}

.kicker {
  color: #475569
}

.btn {
  display: inline-block;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn.primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(47, 133, 90, 0.12);
}

.btn.ghost {
  background: transparent;
  border: 1px solid rgba(15, 23, 36, 0.06)
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08)
}

/* Cards & grids */
.card {
  background: var(--white);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.06);
  margin-top: 1rem;
  transition: transform .2s ease;
}

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

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

/* Sections */
section {
  padding: 1.5rem 1.25rem;
  margin-top: 1.5rem;
  text-align: center;
  
}

section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--green);
  margin-top: 2rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background: var(--text);
  color: var(--white);
  margin-top: 2rem;
  
}

a {
  text-decoration: none;
}
li{
  list-style: none;
}
/* --- Header & Menu --- */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background: #4CAF50;
  /* vert */
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 500;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header nav {
  display: flex;
  gap: 20px;
}

header nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

/* --- Menu responsive --- */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}

@media (max-width: 768px) {
  header nav {
    display: none;
    flex-direction: column;
    background: #4CAF50;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 10px;
    z-index: 400;
  }

  header nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* --- Hero Slider --- */
.hero {
  margin-top: 50px;
  position: relative;
  overflow: hidden;
  height: 90vh;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: left 0.8s ease-in-out;
}

.hero-slide.active {
  left: 0;
}

.hero-content {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 3rem;
}

.hero-content button {
  background: #ff3b00;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 5px;
}

.logo1 {
  height: 50px;
  margin-right: 10px;
  vertical-align: middle;
  width: 50px;
  border-radius: 50%;
}

.carousel {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px;
}

.car-card {
  min-width: 220px;
  background: #c7c7c7;
  border-radius: 10px;
  text-align: center;
  padding: 5px;
}
.car-card h3,a{
  color: #ffffff;
  font-size: 14px;
  margin: 8px 0 0 0;
  text-decoration: none;
}

.car-card img {
  width: 100%;
 
  border-radius: 8px;
}

/* Recommandations */
.recommendations {
  margin-top: 20px;
  padding: 0 5px;
}

.recommendations h3 {
  margin-bottom: 10px;
}

.rec-list {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding-bottom: 10px;
}

.rec-card {
  min-width: 160px;
  background: #d5f5dd;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s;
}

.rec-card:hover {
  transform: scale(1.05);
}

.rec-card img {
  width: 100%;
  display: block;
  height: 300px;
}

.rec-card p {
  padding: 6px;
  font-size: 14px;
  color: #000000;
}

.flexOnBigScreen {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  .flexOnBigScreen {
    flex-direction: column;
  }
}

.readMoreBtn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #4CAF50;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  border: none;
}
.readMoreBtn:hover {
  background-color: #45a049;
}

.readMoreBtnOrange {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #ff4500;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  border: none;
}

.readMoreBtnOrange:hover {
  background-color: #ffffff;
  color: #ff4500;
}
.imgAbout {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}
/* Invites Section */
.invites-card {
  background: var(--white);
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.06);
  margin-top: 1rem;
  transition: transform .2s ease;
  text-align: center;
}
.invites-card:hover {
  transform: translateY(-4px)
}
.card-invites{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;}
.invites-card img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}
.invites-card h3 {
  margin: 10px 0 5px 0;
  font-size: 18px;
  color: #2f855a;
}
.invites-card p {
  font-size: 14px;
  color: #555;
  margin: 4px 0;
}
.invites-card .role {
  font-weight: bold;
  color: #2b6cb0;
}
.invites-card .profession {
  font-style: italic;
}
/* Films Section */
.films-list-like-netflix {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 10px 0;
}
.film-card {
  min-width: 220px;
  background: var(--white);
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  flex-shrink: 0;
  box-shadow: 0 8px 30px rgba(2, 6, 23, 0.06);
  transition: transform .2s ease;
}
.film-card:hover {
  transform: translateY(-4px)
}
.film-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}
.film-card h3 {
  margin: 10px 0 5px 0;
  font-size: 18px;
  color: #2f855a;
}
.film-card p {
  font-size: 14px;
  color: #555;
  margin: 4px 0;
}
.film-card a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #2b6cb0;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.film-card a:hover {
  background-color: #1e4e8c;
}
/* Contact Section */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}
.contact input,
.contact textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}
.contact button {
  padding: 10px;
  background-color: #2b6cb0;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}
.contact button:hover {
  background-color: #1e4e8c;
}
/* Don Section */
.don button {
  background-color: #ff4500;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1.2rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.don button:hover {
  background-color: #e03e00;
}
/* Partenaires Section */
.partenaires-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}
.partenaires-logos img {
  max-width: 150px;
  height: auto;
  filter: grayscale(100%);
  transition: filter 0.3s;
}
.partenaires-logos img:hover {
  filter: grayscale(0%);
}