/* ==========================================
   RESET & VARIABLES GLOBALES
   ========================================== */
:root {
  --primary-color: #dca626;   /* Jaune Or Active'Rise */
  --primary-hover: #c4921d;
  --dark-color: #111111;      /* Noir sombre */
  --text-muted: #555555;
  --bg-color: #f8f9fa;
  --bar-nav-height: 64px;
  --font-main: 'Plus Jakarta Sans', 
  system-ui, -apple-system, 
  sans-serif;
}

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

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-main);
  background-color: #796a05a6;
  color: var(--dark-color);
  line-height: 1.6;
}

body.is-opening {
  overflow-y: hidden;
}

.page-content {
  position: relative;
  isolation: isolate;
  flex: 1;
}

.page-content::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('../../image/WhatsApp Image 2026-11-05 at 15.18.49.jpeg') center 20% / cover no-repeat;
  filter: blur(0) brightness(1);
  transform: scale(1);
  border-radius: 0;
  box-shadow: none;
  z-index: 20;
  transition: top 1.2s cubic-bezier(0.4, 0, 0.2, 1), left 1.2s cubic-bezier(0.4, 0, 0.2, 1), width 1.2s cubic-bezier(0.4, 0, 0.2, 1), height 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), filter 1.2s cubic-bezier(0.4, 0, 0.2, 1), border-radius 1.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 1.2s cubic-bezier(0.4, 0, 0.2, 1), z-index 0s 1.2s;
}

.page-content.bg-focused::before {
  top: var(--bar-nav-height);
  height: calc(100vh - var(--bar-nav-height));
  filter: blur(12px) brightness(0.6);
  z-index: -1;
}

.page-content > * {
  position: relative;
  z-index: 1;
  filter: blur(4px);
  transition: filter 0.5s ease;
}

.page-content.bg-focused > * {
  filter: blur(0);
}

.main-container {
  flex: 1;
  width: 100%;
}

/* ==========================================
   EN-TÊTE / BARRE DE NAVIGATION (.barNav)
   ========================================== */
.barNav {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--bar-nav-height);
  display: flex;
  align-items: center;
  padding: 4px 16px;
  background-color: rgb(247, 245, 242);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 10;
  animation: slideDown 0.5s ease-out;
}

.logo-img {
  display: block;
  width: 200px;
  height: 56px;
  object-fit: contain;
}



/* ==========================================
   SECTION PRINCIPALE ET ARRIÈRE-PLAN FLOUTÉ
   ========================================== */
.hero-section {
  position: relative;
  isolation: isolate;
  margin-top: 0;
  width: 100%;
  min-height: calc(100vh - 80px);
  padding: 3rem 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  overflow: hidden; /* Coupe les bordures blanches du flou */
}

/* Image de fond isolée en z-index négatif */
.hero-section > * {
  position: relative;
  z-index: 1;
}

/* Conteneur principal superposé */
.hero-container {
  position: relative;
  z-index: 1; /* Le texte et les cartes restent devant l'arrière-plan */
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 3vw, 2.75rem);
}

/* ==========================================
   TEXTES ET TITRES
   ========================================== */
.hero-text {
  text-align: center;
}

.hero-text h1 {
   color:#f4f3f3;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  height: 150px;
  animation: none;

}

.hero-text h1 span {
  color: var(--primary-color);
}

.hero-text h2 {
  font-family: "Noto Serif", serif;
  font-optical-sizing: auto;
  font-style: normal;
  height: 80px;
  color:#dca626;
  font-size: 1.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
  animation: none;
}

.page-content.bg-focused .hero-text.is-visible h1 {
  animation: title-clear 3s ease-out 0.1s both;
}

.page-content.bg-focused .hero-text.is-visible h2 {
  animation: title-clear 3s ease-out 0.45s both;
}
.hero-text h2 span{
  font-family: "Noto Serif", serif;
  font-style: normal;
  color:#fcfcfcf8;
  font-size: 1.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

@keyframes title-clear {
  from {
    opacity: 0;
    filter: blur(14px);
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-text h1,
  .hero-text h2 {
    animation: none;
  }
}


.buton-inscr {
  margin-top: 50px;
  padding: 0.8rem 1.5rem;
  text-align: center;
  background-color:#3829075b;
  color: #f9f9f9;

  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  animation: none;
}

.page-content.bg-focused .buton-inscr.is-visible {
  animation: button-blink 2s ease-in-out infinite;
}

@keyframes button-blink{
  0%, 100% {
    box-shadow: 0 0 0 rgba(220, 166, 38, 0);
  }
  25%, 75% {
    box-shadow: 0 0 18px rgb(255, 189, 35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .buton-inscr {
    animation: none;
  }
}

.buton-inscr a {
 font-family: "Noto Serif", serif;
  /*text-decoration: none;*/
  color: #f9f9f9;
  display: inline-block;


  width: 100%;
  height: 100%;
}
.btn-inscr:hover {
  background-color:#372803;
  transform: translateY(-2px);
}
.hero-para {
  max-width: 800px;
  margin: 100px;
  text-align: center;
}

.image.pub {
  width: min(100%, 520px);
  margin: 1.5rem auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.image.pub img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-para p {
  font-size: 0.95rem;
  color:#ffffff;
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-style: normal;
  margin-top: 0.5rem;
  line-height: 1.5;
}
citation {
  color: #c7b511;
  display: block;
  text-align: center;
  font-style: italic;
  font-size: 1.05rem;
  padding-left: 1rem;
  max-width: 700px;
  margin: 0 auto;
  animation: none;
  will-change: transform;
}

.page-content.bg-focused citation.is-visible {
  animation: citation-drift 5s ease-in-out infinite alternate;
}

@keyframes citation-drift {
  from {
    transform: translateX(-18px);
  }
  to {
    transform: translateX(18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  citation {
    animation: none;
  }
}

.formation-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  width: 100%;
  max-width: 1000px;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  border: 1px solid rgba(255, 213, 71, 0.38);
  border-radius: 18px;
  background: linear-gradient(135deg, #171714 0%, #302509 100%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  color: #f8f6ef;
}

.formation-promo__eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: #f0c94b;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.formation-promo__content h2 {
  margin-bottom: 1rem;
  color: #fff;
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.18;
}

.formation-promo__content > p {
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.83);
  font-size: 0.96rem;
  line-height: 1.7;
}

.formation-promo__content .formation-promo__intro {
  color: #f5df9b;
  font-size: 1.05rem;
  font-weight: 500;
}

.formation-promo__content h3 {
  margin: 1.15rem 0 0.55rem;
  color: #f0c94b;
  font-size: 0.9rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.formation-promo__benefits {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.formation-promo__benefits li {
  position: relative;
  padding-left: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
}

.formation-promo__benefits li::before {
  position: absolute;
  left: 0;
  color: #f0c94b;
  content: "✓";
  font-weight: 700;
}

.formation-promo__content .formation-promo__coach {
  margin-top: 1rem;
  color: #fff;
}

.formation-promo__coach strong {
  color: #f0c94b;
}

.formation-promo__link {
  display: inline-flex;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  background: var(--primary-color);
  color: #171714;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.formation-promo__link:hover {
  transform: translateY(-2px);
  background: #f0c94b;
}

.formation-promo__poster {
  margin: 0;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.formation-promo__poster img {
  display: block;
  width: 100%;
  max-height: 540px;
  border-radius: 7px;
  object-fit: contain;
}

.formation-promo__poster figcaption {
  padding: 0.65rem 0.35rem 0.15rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
  text-align: center;
}

/* ==========================================
   GRILLE D'INFORMATIONS (.grille-info)
   ========================================== */
.grille-info {
  width: 100%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  background: #56550952;
  padding: 1.8rem;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.detail-item strong {
  display: block;
  font-size: 0.85rem;
  color: #c7b511;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.detail-item p {
  font-family: "Noto Serif", serif;
  color: #f3f2ee;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 0.95rem;
}
.detail-item .placelimit {
  font-family: "Noto Serif", serif;
  color: #f3f0f0;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 0.70rem;
}

.detail-item .price {
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 800;
}

.detail-item .limit {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: #e74c3c;
  font-weight: 700;
}


/* ==========================================
   FORMULAIRE D'INSCRIPTION (.grille-form)
   ========================================== */
.grille-form {
  background: transparent;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 3px solid rgba(0, 0, 0, 0.05);
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.grille-form h1 {
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 800;
  margin-bottom: 0.3rem;
}

 .grille-form p{
  color:#efefee;
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

.form-group {
  margin-bottom: 1.2rem;
  display: flex;
  flex-direction: column;
}

.form-group label {
  color :#c4921d;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.4rem;

}

.form-group input:not([type="radio"]):not([type="checkbox"]) {
  padding: 0.82rem 1rem;
  border: 1.5px solid #e1e1e1;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group textarea {
  min-height: 110px;
  padding: 0.82rem 1rem;
  resize: vertical;
  font-family: inherit;
  border: 1.5px solid #e1e1e1;
  border-radius: 8px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:not([type="radio"]):not([type="checkbox"]):focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(220, 166, 38, 0.15);
}

.required-mark {
  color: #ef5350;
}

.grille-form .form-help {
  margin: 0 0 0.4rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
}

.choice-group {
  min-width: 0;
  padding: 0;
  border: 0;
}

.choice-group legend {
  margin-bottom: 0.55rem;
  color: #c4921d;
  font-size: 0.85rem;
  font-weight: 700;
}

.form-group .choice-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.65rem;
  color: #efefee;
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
}

.choice-option input[type="radio"],
.choice-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--primary-color);
  flex: 0 0 auto;
}

.grille-form button[type="submit"] {
  width: 100%;
  padding: 0.95rem;
  background-color: var(--dark-color);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  margin-top: 0.5rem;
}

.grille-form button[type="submit"]:hover {
  background-color: var(--primary-color);
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-content:not(.bg-focused) .scroll-reveal.is-visible {
  opacity: 0;
  transform: translateY(20px);
}

/* ==========================================
   PIED DE PAGE (footer)
   ========================================== */
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.88rem;
  color:#efeeea;
  border-top: 1px solid #e1e1e1;
  background-color: #c1a90db1;
  position: relative;
  z-index: 10;
}

/* ==========================================
   ADAPTATION MOBILE (Responsive)
   ========================================== */
@media (max-width: 768px) {
  :root {
    --bar-nav-height: 52px;
  }

  .barNav {
    padding: 4px 12px;
  }

  .logo {
    width: 88px;
    height: 44px;
  }

  .logo-img {
    width: 88px;
    height: 44px;
  }

  .hero-section {
    margin-top: 0;
    min-height: calc(100svh - var(--bar-nav-height));
    padding: 1rem 1rem 1.5rem;
    gap: 1rem;
  }

  .hero-container {
    gap: 2.25rem;
  }

  .hero-intro {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2rem;
  }

  .hero-text h1 {
    margin-top: 99px;
    height: auto;
    font-size: 2rem;
    line-height: 1.15;
  }

  .hero-text h2 {
    margin-top: 88px;
    height: 50px;
    font-size: 1.15rem;
    line-height: 1.35;
  }

  .hero-text h2 span {
    font-size: inherit;
  }

  .hero-para {
    max-width: 100%;
    margin: 0;
    padding: 0 0.25rem;
  }

  .hero-para p {
    margin-top: 10rem;
    font-family: var(--font-main);
    font-size: 0.95rem;
    line-height: 1.7;
   margin-bottom: 10rem;
    }

  .citation,
  citation {
    padding: 0;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    animation: none;
  }

  .buton-inscr {
    margin-top: 30px;
    margin-left: 0;
    width: 100%;
    padding: 0;
  }

  .btn-inscr {
    display: block;
    padding: 0.9rem 1rem;
    color: #fff;
    text-decoration: none;
  }

  .grille-info {

    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0.5rem 1rem;
  }

  .detail-item {
    padding: 1rem 0;
  }

  .detail-item + .detail-item {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .formation-promo {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.25rem;
  }

  .formation-promo__poster {
    width: min(100%, 340px);
    margin: 0 auto;
  }

  .formation-promo__poster img {
    max-height: 480px;
  }


  .grille-form {
    padding: 1.25rem 1rem;
  }

  .grille-form h2 {
    font-size: 1.5rem;
  }

  .form-group input:not([type="radio"]):not([type="checkbox"]) {
    min-height: 48px;
    font-size: 1rem;
  }

  .form-group textarea {
    min-height: 120px;
    font-size: 1rem;
  }

  footer {
    padding: 1.5rem 1rem;
    overflow-wrap: anywhere;
  }

  footer p + p {
    margin-top: 0.4rem;
  }
}

@media (max-width: 380px) {
  .hero-section {
    padding-right: 0.8rem;
    padding-left: 0.8rem;
  }

  .hero-text h1 {
    font-size: 1.55rem;
  }

  .hero-text h2 {
    font-size: 0.98rem;
  }


.receipt-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #fff7d1 0%, #f8edb9 100%);
}

.receipt-header {
  display: flex;
  justify-content: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.receipt-header img {
  display: block;
  width: min(200px, 55vw);
  height: 56px;
  object-fit: contain;
}

.receipt-main {
  display: grid;
  flex: 1;
  place-items: center;
  width: 100%;
  padding: 2rem 1rem;
}

.receipt-card {
  width: min(100%, 680px);
  padding: clamp(1.5rem, 5vw, 3rem);
  border-top: 7px solid #e7c500;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(69, 54, 7, 0.12);
}

.receipt-check {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  background: #eaf5e9;
  color: #278044;
  font-size: 1.7rem;
  font-weight: 700;
}

.receipt-eyebrow {
  margin-bottom: 0.5rem;
  color: #81600e;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.receipt-card h1 {
  margin-bottom: 1.25rem;
  color: #171717;
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  line-height: 1.2;
}

.receipt-card h2 {
  margin-bottom: 1rem;
  color: #262626;
  font-size: 1.2rem;
}

.receipt-card > p {
  margin-bottom: 1rem;
  color: #454545;
  line-height: 1.7;
}

.receipt-whatsapp {
  display: inline-flex;
  justify-content: center;
  margin: 0.25rem 0 1.5rem;
  padding: 0.85rem 1.2rem;
  font-family: perpetua, 'Times New Roman', serif;
  border-radius: 8px;
  background: #168b52;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s;
}

.receipt-whatsapp:hover {
  transform: translateY(-2px);
  background: #116f41;
}

.receipt-card .receipt-signoff {
  margin-top: 0.5rem;
}

.receipt-back {
  color: #81600e;
  font-weight: 600;
}

.receipt-footer {
  padding: 1rem;
  color: #665c38;
  font-size: 0.85rem;
  text-align: center;
}

.receipt-footer p + p {
  margin-top: 0.25rem;
}