@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #FDF30A;
  --secondary: #fff700;
  --secondary-rgb: 75, 85, 99;
  --bg-dark: #000000;
  --text-muted: #9CA3AF;
  --border: #374151;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: -500px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;
  background: radial-gradient(circle, rgba(220, 220, 220, 0.38) 0%, rgba(180, 180, 180, 0.23) 40%, rgba(0, 0, 0, 0.9) 65%, transparent 80%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 100% !important;
  padding: 0 !important;
}

.fw-bold {
  font-weight: 600 !important;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 0.875rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 0.75rem;
}

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

  h2 {
    font-size: 1.125rem;
  }

  h3 {
    font-size: 1rem;
  }
}

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

  h2 {
    font-size: 1rem;
  }

  h3 {
    font-size: 0.9375rem;
  }
}

.bg-light {
  background-color: var(--bg-card) !important;
}

.bg-white {
  background-color: var(--bg-dark) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-light {
  color: var(--text-light) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.border {
  border-color: var(--border) !important;
}

.card {
  background-color: var(--bg-card);
  border-color: var(--border);
  color: var(--text-white);
}

.btn {
  border-radius: 10rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-color: var(--primary);
  color: #000 !important;
}

.btn-primary:hover {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-color: var(--secondary);
  color: #000 !important;
}

.form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--border);
  color: var(--text-white);
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--primary);
  color: var(--text-white);
}

.form-control::placeholder {
  color: var(--text-muted);
}

select.form-control,
textarea.form-control {
  background-color: rgba(255, 255, 255, 0.1);
}

select.form-control:focus,
textarea.form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
}

.navbar {
  background-color: var(--bg-card) !important;
  border-bottom: 1px solid var(--border);
}

.navbar-brand {
  color: var(--text-white) !important;
}

.nav-link {
  color: var(--text-light) !important;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.text-xs {
  font-size: 0.625rem !important;
  line-height: 1.5;
}

.text-sm {
  font-size: 0.75rem !important;
  line-height: 1.5;
}

.text-md {
  font-size: 1.125rem !important;
  line-height: 1.6;
}

.text-lg {
  font-size: 1.25rem !important;
  line-height: 1.5;
}

u {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.text-decoration-underline {
  text-decoration-color: var(--primary) !important;
  text-underline-offset: 3px !important;
  color: #fff !important;
}

.hero-section {
  min-height: 100vh;
  padding: 2rem 0;
}

.badge-urgency {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50px;
}

.main-title {
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.main-title u {
  color: var(--primary);
  text-decoration: none;
}

.subtitle {
  font-size: 1.125rem;
  line-height: 1.4;
  color: var(--text-light);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
}

.program-details {
  max-width: 700px;
  margin: 0 auto;
}

.day-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.day-label {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
  text-align: left;
}

.day-number {
  color: #fff;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.day-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.highlight-text {
  color: #fff;
  font-weight: 600;
  position: relative;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 1px;
}

.cta-button {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(var(--secondary-rgb), 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(var(--secondary-rgb), 0.6);
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.spots-left {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 0.25rem;
}

.partners-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.partners-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.logo-container {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.logo-container:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.partner-logo {
  max-width: 150px;
  height: auto;
  filter: brightness(0.9);
  transition: filter 0.3s ease;
}

.logo-container:hover .partner-logo {
  filter: brightness(1.1);
}

.expert-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 1rem 0;
  }

  .subtitle {
    font-size: 1rem;
  }

  .day-item {
    padding: 1rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .subtitle {
    font-size: 0.9375rem;
  }

  .day-item {
    padding: 0.75rem;
  }

  .cta-button {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

  .partner-logo {
    max-width: 120px;
  }
}

.testimonials-masonry {
  padding: 2rem 0;
}

.masonry-grid {
  column-count: 2;
  column-gap: 1rem;
  width: 100%;
}

.masonry-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
  break-inside: avoid;
  page-break-inside: avoid;
}

.testimonial-img {
  height: auto;
  display: block;
  width: 100%;
}

.masonry-item iframe {
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 200px;
  border-radius: 8px;
}

@media (max-width: 992px) {
  .masonry-grid {
    column-count: 2;
    column-gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .masonry-grid {
    column-count: 2;
    column-gap: 0.75rem;
  }

  .masonry-item {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 480px) {
  .masonry-grid {
    column-count: 1;
    column-gap: 0.5rem;
  }

  .masonry-item {
    margin-bottom: 0.5rem;
  }
}

/* ===== MOSAIC TESTIMONIALS ===== */

/* .testimonials-mosaic - Padding géré par Bootstrap py-5 */

.mosaic-container {
  position: relative;
  max-width: 800px;
  /* Margin et padding gérés par Bootstrap mx-auto, p-4, p-md-3, p-3 */
}

/* Images floues en arrière-plan */
.mosaic-bg-image {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 12px;
  opacity: 0;
  filter: blur(3px);
  z-index: 0;
  animation: fadeInOut 7s ease-in-out infinite;
}

.mosaic-bg-image:nth-child(1) {
  top: 10%;
  left: -8%;
  animation-delay: 0s;
}

.mosaic-bg-image:nth-child(2) {
  top: 10%;
  right: -8%;
  animation-delay: 2s;
}

.mosaic-bg-image:nth-child(3) {
  bottom: 10%;
  left: -8%;
  animation-delay: 4s;
}

.mosaic-bg-image:nth-child(4) {
  bottom: 10%;
  right: -8%;
  animation-delay: 6s;
}

@keyframes fadeInOut {

  0%,
  100% {
    opacity: 0;
    transform: scale(0.8);
  }

  50% {
    opacity: 0.4;
    transform: scale(1);
  }
}

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, 125px);
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.mosaic-item {
  width: 125px;
  height: 125px;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.mosaic-item:nth-child(1) {
  animation-delay: 0s;
  animation-duration: 5s;
}

.mosaic-item:nth-child(2) {
  animation-delay: 0.5s;
  animation-duration: 6s;
}

.mosaic-item:nth-child(3) {
  animation-delay: 1s;
  animation-duration: 5.5s;
}

.mosaic-item:nth-child(4) {
  animation-delay: 1.5s;
  animation-duration: 6.5s;
}

.mosaic-item:nth-child(5) {
  animation-delay: 0.3s;
  animation-duration: 5.8s;
}

.mosaic-item:nth-child(6) {
  animation-delay: 0.8s;
  animation-duration: 6.2s;
}

.mosaic-item:nth-child(7) {
  animation-delay: 1.2s;
  animation-duration: 5.3s;
}

.mosaic-item:nth-child(8) {
  animation-delay: 0.7s;
  animation-duration: 6.1s;
}

.mosaic-item:nth-child(9) {
  animation-delay: 1.4s;
  animation-duration: 5.7s;
}


.mosaic-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.mosaic-item:hover .mosaic-image {
  transform: scale(1.1);
}

.mosaic-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  /* Padding géré par Bootstrap p-4 px-5, p-md-3 px-md-4, p-3 px-4 */
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mosaic-text {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  /* Margin géré par Bootstrap mb-0 */
  line-height: 1.2;
}

.mosaic-text u {
  color: var(--primary);
  text-decoration: none;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-10px) rotate(1deg);
  }

  50% {
    transform: translateY(-5px) rotate(-1deg);
  }

  75% {
    transform: translateY(-8px) rotate(0.5deg);
  }
}

@media (max-width: 768px) {
  .mosaic-grid {
    grid-template-columns: repeat(3, 100px);
    gap: 0.75rem;
  }

  .mosaic-item {
    width: 100px;
    height: 100px;
  }

  /* Padding géré par Bootstrap p-md-3 */

  /* Padding géré par Bootstrap p-md-3 px-md-4 */

  .mosaic-text {
    font-size: 0.9375rem;
  }
}

@media (max-width: 480px) {
  .mosaic-grid {
    grid-template-columns: repeat(4, 70px);
    gap: 0.5rem;
  }

  .mosaic-item {
    width: 70px;
    height: 70px;
  }

  /* Padding géré par Bootstrap p-3 */

  /* Padding géré par Bootstrap p-3 px-4 */

  .mosaic-text {
    font-size: 0.875rem;
  }
}