/* ====================  FOND  ==================== */
html, body {
  height: auto;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  background: #000000;
 background-image: radial-gradient(ellipse at 3000px 3000px, rgb(138, 21, 21) 50%, transparent 0);
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Wrapper global englobant header + main + footer */
.site-wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Le contenu principal prend tout l’espace possible */
main, #main-content {
  flex: 1 0 auto;
}

/* ====================  HERO  ==================== */
.project-hero {
  background: url('../images/projects/passionfoot/passionfoot-hero.jpg') center bottom 20% / cover no-repeat;
  color: #fff;
  padding: 10rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .3);
  z-index: -1;
}
.project-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}
.project-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 1.5s ease-out;
}

/* ====================  SECTION 1 ==================== */
.project-section {
  padding: 4rem 2rem;
  color: #fff;
}
.section-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.section-box {
  flex: 1;
  min-width: 300px;
}
.contexte {
  text-align: center;
  font-size: larger;
}
.contexte p {
  font-size: 24px;
  padding: 0 20%;
}
.objectifs {
  text-align: center;
}
.objectifs-grid {
  display: grid;
  grid-template-columns: repeat(2, 120px);
  grid-template-rows: repeat(2, 120px);
  gap: 3rem;
  justify-content: center;
  margin-top: 1rem;
}
.objectif-card {
  width: 120px;
  height: 120px;
  background: #000;
  border-radius: 10px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .4);
  transition: transform .3s, background .3s;
}
.objectif-card:hover {
  background: #2a2a2a;
  transform: scale(1.05);
}
.objectif-card i {
  font-size: 32px;
  margin-bottom: .5rem;
}

/* ====================  BRANDING ==================== */
.brand-collab {
  padding: 8rem 0;
  text-align: center;
}
.brand-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6rem;
}
.brand-wrapper img {
  height: 256px;
  width: auto;
  object-fit: contain;
  border-radius: 15%;
}
.x-separator {
  font-size: 2rem;
  font-weight: bold;
  color: #8a1515;
}

/* ====================  ACCORDÉON ==================== */
.accordion-section {
  background: #0000008c;
  color: #fff;
  padding: 3rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.accordion {
  max-width: 1000px;
  margin: 0 auto;
}
.accordion-item {
  border-bottom: 1px solid #333;
}
.accordion-item img {
  max-width: 100%;
}
.accordion-title {
  width: 100%;
  padding: 1rem;
  font-size: 1.2rem;
  background: none;
  color: inherit;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}
.accordion-title:hover {
  background: #1a1a2e;
}
.accordion-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s;
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.accordion-item.active .accordion-content {
  max-height: none;
  padding: 1rem;
}
.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.besoins-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background-color: #000;
}
.besoin-box {
  background: #000;
  border-radius: 0;
  padding: 2rem;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}
.besoin-box:hover {
  transform: translateY(-5px);
}
.besoin-box h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}
.besoin-box.orange h3 { color: #ff5722; }
.besoin-box.cyan h3 { color: #00e5c1; }
.besoin-box.yellow h3 { color: #ffc107; }
.besoin-box.blue h3 { color: #2196f3; }

/* ====================  CARROUSEL ==================== */
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 2rem auto;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.3s ease;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
}
.carousel-track::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.carousel-slide {
  flex: 0 0 100%;
  box-sizing: border-box;
  scroll-snap-align: start;
}

.carousel-track {
  scroll-snap-type: x mandatory;
}

.carousel-slide h3 {
  margin-bottom: 0.5rem;
  font-size: 1.4rem;
  color: #f5f5f5;
  text-align: center;
}
.carousel-slide p {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}
.carousel-slide ul {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}
/* Slide avec deux images côte à côte */
.slide-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.slide-image img {
  width: auto;
  max-width: 300px; /* ou moins si tu veux plus petit */
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .slide-images img {
    max-width: 100%;
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  color: #fff;
  border: none;
  font-size: 1rem;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}
.carousel-btn:hover {
  opacity: 1;
  background: #333;
}
.carousel-btn.prev { left: 0.5rem; }
.carousel-btn.next { right: 0.5rem; }

.carousel-slide img {
  max-width: 100%;
  max-height: 400px;
  height: auto;
  margin: 1rem auto 0 auto;
  display: block;
  object-fit: contain;
}

.phase.orange h3 {
  color: #ff5722;
}

.phase.cyan h3 {
  color: #00e5c1;
}

.phase.yellow h3 {
  color: #ffc107;
}

.phase.blue h3 {
  color: #2196f3;
}

.project-budget {
  text-align: center;
  margin-top: 3rem;
}

.budget-item {
  padding: 1rem 0.5rem;
  margin-bottom: 1.5rem;
}

.budget-item h3 {
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
  padding: 0.8rem 1rem;
  margin: 0 auto 0.5rem;
}

.budget-item p {
  font-size: 1.2rem;
  font-weight: bold;
  color: #000;
  margin: 0;
}

.budget-item span {
  font-weight: normal;
  font-size: 0.95rem;
  display: block;
  margin-top: 0.3rem;
  color: #444;
}

/* Couleurs */
.budget-item.orange h3 {
  background-color: #f4511e;
}

.budget-item.yellow h3 {
  background-color: #f9a825;
}

.budget-item.cyan h3 {
  background-color: #26c6da;
}

.budget-item.blue h3 {
  background-color: #1e88e5;
}

.budget-item.border-purple h3 {
  border: 2px solid #ab47bc;
}

/* Couleurs des titres de phase */
h3.orange { color:#ff5722 }
h3.cyan   { color:#00e5c1 }
h3.yellow { color:#ffc107 }
h3.blue   { color:#2196f3 }

/* ----- Section Budget ----- */
.budget-block    { text-align:center; margin:2rem 0 }
.budget-block h3 { color:#fff; font-size:1.45rem; font-weight:900; padding:0.9rem 1rem; letter-spacing:1px }
.budget-block p  { font-size:1.25rem; margin:0.8rem 0 0; font-weight:700 }
.budget-block em { font-size:1rem; font-style:italic; font-weight:400; color:#333 }

/* Barres colorées */
.budget-block.orange h3 { background:#f4511e }
.budget-block.yellow h3 { background:#f4b400 }
.budget-block.green  h3 { background:#29c774; border:2px solid #a259ff } /* contour violet comme sur le screen */
.budget-block.blue   h3 { background:#1e88e5 }

.en-savoir-plus {
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 4rem;
}

.en-savoir-container h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.en-savoir-container p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

.download-btn {
  background-color: #be0000;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.download-btn:hover {
  background-color: #1976d2;
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
}

.concurrents-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.concurrents-table th,
.concurrents-table td {
  border: 1px solid #ddd;
  padding: 0.75rem;
  text-align: left;
  vertical-align: top;
}

.concurrents-table thead th {
  background-color: #008080;
  color: white;
  text-transform: uppercase;
}

.concurrents-table tbody tr:nth-child(even) {
  background-color: #f9f9f900;
}

/* ==================== FOOTER ==================== */
footer {
  flex-shrink: 0; /* empêche le footer de rétrécir */
  background-color: #000000;
  color: #949494;
  font-size: 0.95rem;
  padding: 2rem 1rem;
  border-top: 1px solid #ddd;
  max-width: 100%;
  text-align: center;
}

/* Wrapper global */
.site-wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* === Vidéo finale (section standard) === */
.video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem auto;
  padding: 0 1rem;
}

.video-wrapper video {
  width: 100%;
  max-width: 480px; /* taille réduite encore plus */
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background-color: #000;
  transition: transform 0.3s ease;
}

.video-wrapper video:hover {
  transform: scale(1.01);
}

@media (max-width: 768px) {
  .video-wrapper video {
    max-width: 100%;
    border-radius: 0.75rem;
  }
}



/* === ALBUM GRID === */
.project-lucile .album-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 0;
}

.project-lucile .album-item {
  max-width: 180px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.project-lucile .album-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.album-item:hover img {
  transform: scale(1.05);
}

/* === LIGHTBOX === */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.lightbox-overlay .close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Centrer uniquement les titres des sections de la page Lucile Cuisine */
.project-lucile .project-section h2 {
  text-align: center;
}

.project-lucile .album-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* section centrée, 80 % de largeur */
.projects-carousel-section {
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.projects-carousel-section h2 {
  margin-bottom: 2rem;
  color: #ddd;
 }

.projects-carousel-wrapper {
  position: relative;
  width: 80%;
  max-width: 1400px;
  overflow: hidden;          /* masque ce qui dépasse */
}

/* rangée de cartes – on la translate */
.projects-carousel {
  display: flex;
  gap: 1.5rem;
  transition: transform .45s ease;   /* animation fluide */
}

/* cartes (même style que chez toi) */
.project-slide {
  flex: 0 0 260px;
  background: var(--red-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .25s;
}
.project-slide:hover { transform: translateY(-4px); }
.project-slide img   { width: 100%; height: 160px; object-fit: cover; }
.project-slide span  { padding: 1rem; color: var(--white); font-weight: 500; text-align: center; }

/* flèches fixes */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgb(0, 0, 0);
  border: none;
  border-radius: 100px;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 5;
  opacity: 0.8;
}
.carousel-arrow:hover { background: var(--red); }
.carousel-arrow.left  { left: 0.2rem; }
.carousel-arrow.right { right: 0.2rem; }

.smart-objectifs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.smart-line {
  display: flex;
  align-items: flex-start;
  padding: 1.2rem;
  border-radius: 10px;
  color: white;
  line-height: 1.4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.smart-num {
  font-size: 1.6rem;
  font-weight: bold;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.smart-text strong {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.3rem;
}

.smart-text small {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* Couleurs des lignes */
.smart-line.orange {
  background-color: #f7931e;
}

.smart-line.blue {
  background-color: #0071bc;
}

.smart-line.teal {
  background-color: #009688;
}

.smart-line.orange-light {
  background-color: #faaa3c;
}
ul{
  list-style: none;
}