/* ------------------------------------------------------
   ECRAN 1 — HERO
------------------------------------------------------ */

.hero-area {
  position: relative;
  height: calc(100vh - 68px);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  margin-top: var(--marginTop);
}

.bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bg video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
/*
  opacity: 0;
  animation: fade calc(var(--slide) * var(--slides-count)) ease-in-out infinite;

  filter: brightness(0.72) saturate(1.08);
  transition: transform 12s ease;
*/
}

.bg img:nth-child(1) { animation-delay: calc(var(--slide) * 0); }
.bg img:nth-child(2) { animation-delay: calc(var(--slide) * 1); }
.bg img:nth-child(3) { animation-delay: calc(var(--slide) * 2); }
.bg img:nth-child(4) { animation-delay: calc(var(--slide) * 3); }

@keyframes fade {
  0%   { opacity: 0; transform: scale(1); }
  5%   { opacity: 1; }
  30%  { opacity: 1; transform: scale(1.04); }
  35%  { opacity: 0; }
  100% { opacity: 0; }
}

.exau {
  z-index: 1;
  padding: clamp(40px, 6vw, 60px) 20px;
  width: 100%;
  display: flex;
  place-items: center;
  flex-direction: column;
}

.hero {
  text-align: center;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  color: #e5e7eb; /*var(--text);*/
  text-shadow: 0 8px 32px rgba(0,0,0,.6);
}

.subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  margin-bottom: 2rem;
  color: white; /*var(--muted)*/;
  text-shadow: 0 6px 20px rgba(0,0,0,.55);
}

/* ------------------------------------------------------
   ECRAN 2 — MEDIA INFO
------------------------------------------------------ */
.info-card{
  order: 1;
}
.media-card{
  order: 2;
}

.media-info {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  /*padding: clamp(48px, 8vw, 75px);*/
  padding: clamp(10px, 3vw, 36px);
  max-width: var(--maxw);
  margin: 0 auto;

  background: var(--bg);
  border-top: 1px solid var(--edge);

}

.media-card,
.info-card {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  min-width: 0;
}

.info-card,
.info-card p,
.info-card li,
.info-card a,
#contact-info,
#social-links {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;

  width: 100%;
  max-width: 900px;       /* largeur max centrée */
  margin: 0 auto;         /* centre horizontalement */
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;

  top: 0;
  left: 0;
  display: block;
}

.video-caption {
  margin-top: 14px;
  /*color: var(--muted);*/
  font-size: 0.95rem;
  line-height: 1.5;
}
.info-block p a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .info-card ul {
    padding-left: 1.1rem;
  }
}
/* ------------------------------------------------------
   ECRAN 3 — VISION
------------------------------------------------------ */

.vision-section {
  background: var(--bg);
  padding: clamp(48px, 8vw, 75px) 20px; 
  border-top: 1px solid var(--edge);
}

.vision-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.vision-text {
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.vision-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);

}

.vision-text p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

/* animations */
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  transition: opacity 1.05s ease, transform 1.1s cubic-bezier(.16,.8,.28,1);
}

.reveal-left { transform: translateX(-60px) scale(0.96); }
.reveal-right { transform: translateX(60px) scale(0.96); }

.reveal-visible {
  opacity: 1 !important;
  transform: translate(0,0) scale(1) !important;
}

/* ------------------------------------------------------
   ECRAN 4bis
------------------------------------------------------ */

/* ----- BANDE DÉFILANTE ----- */
.scroll-banner {
  height: 100px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--edge);
  border-bottom: 1px solid var(--edge);
}

/* Couleurs thème sombre */
[data-theme="dark"] .scroll-banner {
  background: rgba(255, 255, 180, 0.12);
  color: var(--text);
}

/* Couleurs thème clair */
[data-theme="light"] .scroll-banner {
  background: rgba(255, 230, 0, 0.4);
  color: #222;
}

.scroll-inner {
  width: 100%;
  overflow: hidden;
  /*position: relative;*/
}

.scroll-track { 
  display: inline-flex;          /* largeur = somme des spans */
  flex-wrap: nowrap;
  width: max-content;
  gap: 80px;
  white-space: nowrap;
  animation: scroll-left var(--speed, 80s) linear infinite;
}

.scroll-track span {
  flex: 0 0 auto;                /* les spans gardent leur largeur */
  padding: 0 2.5rem;             /* espace régulier */
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }  /* recule d’un bloc complet (2 jeux de spans) */
}

.video-edifiante{
  color:var(--muted);
  text-align: center;
}

/* ------------------------------------------------------
   ECRAN 5
------------------------------------------------------ */
/* ----- ECRAN NOUVEAUX ----- */
.newcomer-section {
  background: var(--bg);
  border-top: 1px solid var(--edge);
  padding: clamp(80px, 12vh, 120px) 20px;
  position: relative;
}

.newcomer-section::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(148,163,184,.4), transparent);
  left: 50%;
  transform: translateX(-0.5px);
  opacity: 0.33;
  pointer-events: none;
}

.newcomer-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.newcomer-eyebrow {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.newcomer-title {
  margin: 0 0 46px;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  color: var(--text);
}

.newcomer-circle-wrapper {
  display: flex;
  justify-content: center;
}

.newcomer-circle-link {
  display: inline-block;
}

.newcomer-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid var(--edge);
  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--muted);
  background: radial-gradient(circle at 30% 30%, rgba(148,163,184,.12), transparent 65%);

  transition: .25s ease, transform .18s ease-out;
  font-weight: 500;
}

[data-theme="light"] .newcomer-circle {
  background: radial-gradient(circle at 30% 30%, rgba(15,23,42,.06), transparent 65%);
}

.newcomer-circle span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.newcomer-circle span::after {
  content: "→";
  font-size: 1.1em;
}

.newcomer-circle-link:hover .newcomer-circle {
  border-color: var(--primary);
  background: radial-gradient(circle at 30% 30%, rgba(96,165,250,.22), transparent 72%);
  color: var(--text);
}
.plusDeVideos{
  background: linear-gradient(135deg, var(--primary), #7dd3fc);
  border-radius: 12px;
  padding: 1px 6px;
  margin-left: 6px;
}

/* ------------------------------------------------------
   ÉCRAN 6 — VALEURS (CARDS PREMIUM)
------------------------------------------------------ */

.valeurs-section {
  padding: 5rem 2rem;
  text-align: center;
}

.valeurs-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--text);
}

.valeurs-container {
  display: grid;
  /*grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));*/
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

/* ----- Card ----- */
.valeur-card {
  padding: 1rem 1rem 2rem;
  border-radius: 18px;

  background: var(--card);
  border: 1px solid var(--edge);

  box-shadow: var(--shadow);
  transition: 0.45s ease;
  opacity: 0;
  transform: translateY(40px);
}

.valeur-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.7rem;
  color: var(--text);
}

.valeur-card p {
  opacity: 0.75;
  line-height: 1.55;
  color: var(--muted);
}

/* ----- Icon premium ----- */

.valeur-icon {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 2.2rem;
  color: var(--primary);

  animation: pulseGlow 3s infinite ease-in-out;
}

.valeur-icon i {
  color: var(--primary) !important;
}

.valeur-icon .halo {
  position: absolute;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(rgba(96,165,250,.25), transparent);
  opacity: 0;
  filter: blur(14px);
  transition: 0.45s ease;
}

.titre_val{
  font-size: 1.17em;
}

@keyframes pulseGlow {
  0%   { box-shadow: 0 0 0 rgba(96,165,250,0.10); }
  50%  { box-shadow: 0 0 20px rgba(96,165,250,0.20); }
  100% { box-shadow: 0 0 0 rgba(96,165,250,0.10); }
}

/* Viewport apparition */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: 0.9s cubic-bezier(.17,.67,.41,1.29);
}

/* Hover premium */
.valeur-card:hover {
  transform: translateY(-12px);
  border-color: var(--primary-light);
}

.valeur-card:hover .valeur-icon {
  transform: translateY(-8px) scale(1.16) rotate(4deg);
  box-shadow: 0 0 32px rgba(96,165,250,0.45);
}

.valeur-card:hover .halo {
  opacity: 1;
  transform: translate(-50%,-50%) scale(1.32);
}

@media (min-width: 1600px) {
  .hero {
    max-width: 1080px;
  }

  .media-info,
  .vision-inner {
    max-width: var(--maxw-wide);
  }

  .newcomer-inner {
    max-width: 1080px;
  }

  .valeurs-container {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 2200px) {
  .hero {
    max-width: 1200px;
  }

  .media-info,
  .vision-inner {
    max-width: var(--maxw-ultra);
  }

  .newcomer-inner {
    max-width: 1200px;
  }

  .valeurs-container {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}







































