:root {
  --vert: #6BAF3F;
  --orange: #F28C28;
  --brun: #5A3A2E;
  --fond: #f7f7f7;
  --texte: #2b2b2b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--texte);
  background: #ffffff;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Poppins", Arial, sans-serif;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1rem;
}

/* HEADER */

.site-header {
  background: white;
  border-bottom: 4px solid var(--vert);
  position: sticky;
  top: 0;
  z-index: 10;
}

/* ===== TOP BAR ===== */

.top-bar {
  background: linear-gradient(90deg, #6bbf4e, #4da63a);
  padding: 12px 0;
  text-align: center;
  color: white;
  position: relative;
}

.annonce-wrapper {
  position: relative;
  display: inline-block;
}

.annonce-texte {
  font-size: 15px;
  font-weight: 500;
  padding: 0 30px;
  cursor: pointer;
}

/* ===== AFFICHE DESKTOP ===== */

.annonce-affiche {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 45px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.annonce-affiche img {
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.annonce-wrapper:hover .annonce-affiche {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(8px);
}

/* ===== POPUP MOBILE ===== */

.affiche-mobile {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9999;
}

.affiche-mobile-content {
  position: relative;
  max-width: 90%;
}

.affiche-mobile img {
  width: 100%;
  border-radius: 12px;
}

#closeAffiche {
  position: absolute;
  top: -15px;
  right: -15px;
  background: white;
  color: #4da63a;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
}

/* Activation popup */
.affiche-mobile.active {
  opacity: 1;
  visibility: visible;
}

/* Désactiver hover desktop sur mobile */
@media(max-width: 768px){
  .annonce-affiche {
    display: none;
  }
}


.site-header {
  background: white;
  border-bottom: 4px solid var(--vert);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
}

.logo img {
  height: 70px;
  width: auto;
  transition: transform 0.25s ease;
}

.logo:hover img {
  transform: scale(1.1);
}


/* HERO */

.hero-page {
  height: 40vh;
}

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

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50vh;
  position: relative;
  overflow: hidden;
}

.hero-text {
  text-align: center;
  color: #ffffff;
  z-index: 2;
  max-width: 90%;
}

.hero-text h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.2rem;
  font-weight: 500;
  font-style: italic;
  margin: 0;
  color: #ffffff;
  text-shadow:
    0 2px 0 rgba(0,0,0,0.35),
    0 6px 18px rgba(0,0,0,0.7);
}

.hero-text p {
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  font-weight: 300;
  margin-top: 0.8rem;
  color: #ffffff;
  text-shadow:
    0 1px 0 rgba(0,0,0,0.3),
    0 3px 10px rgba(0,0,0,0.6);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* SECTION TITLES (BANDEAUX) */

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4rem 0 2rem;
  text-transform: uppercase;
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--vert);
  width: 100%;
}

.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--vert);
  margin: 0 1.5rem;
  opacity: 0.4;
}

.section-title span {
  font-size: 1.1rem;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .section-title span {
    font-size: 0.95rem;
  }
}

/* VALEURS */

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 2rem;
  padding: 3rem 1rem;
  background: var(--fond);
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.06);
  transition: transform .2s;
}

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

.card h3,
.actus h3 {
  font-family: "Poppins", Arial, sans-serif;
  color: var(--vert);
}

/* ACTUS */

.actus,
.values {
  font-family: "Inter", Arial, sans-serif;
}

.actus {
  padding: 3rem 1rem;
}

.actus h2 {
  text-align: center;
  color: var(--vert);
}

/* FOOTER */

.site-footer {
  background: var(--brun);
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.site-footer {
  background: var(--brun);
  color: white;
  padding: 3rem 1rem;
}

.site-footer a {
  color: white;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.footer-col h4 {
  margin-bottom: 0.5rem;
  color: var(--vert);
  font-size: 1.1rem;
}

.footer-col p,
.footer-col a {
  font-size: 0.95rem;
  display: block;
  margin: 0.3rem 0;
}

/* Desktop */
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
  }
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .hero {
    height: 50vh;
    background-attachment: scroll;
  }

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

  .hero-text p {
    font-size: 1.1rem;
  }
}

/* BANDEAU PLEINE LARGEUR */

.full-width {
  width: 100%;
}

.section-title.full-width {
  margin-top: 0;
  padding-top: 2rem;
}

/* VALEURS EN PLEINE LARGEUR */

.values.full-width {
  background: #FFFFFF;
  padding: 1rem 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 2rem;
}

/* ICONES */

.value-icon {
  width: 110px;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.15));
  transition: transform .25s ease;
}

.card:hover .value-icon {
  transform: translateY(-6px) scale(1.05);
}

/* OBJECTIF - TEXTE LARGE + IMAGES DIAGONALES */

.objectif {
  background: #FFFFFF;
  padding: 3rem 1rem;
}

.objectif-layout {
  position: relative;
  max-width: 1000px;
  margin: auto;
}

.objectif-text {
  text-align: center;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #2b2b2b;
  max-width: 800px;
  margin: auto;
}

.objectif-text em {
  display: block;
  margin-top: 2rem;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  color: var(--vert);
}

/* Images décoratives */

.objectif-image {
  position: absolute;
  width: 180px;
}

.objectif-image img {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
}

.objectif-image.top-left {
  top: -30px;
  left: -30px;
}

.objectif-image.bottom-right {
  bottom: -30px;
  right: -30px;
}

/* Mobile : on enlève les images */

@media (max-width: 900px) {
  .objectif-image {
    display: none;
  }

  .objectif-text {
    max-width: 100%;
    padding: 0 1rem;
  }
}

/* ===== VALEURS RESPONSIVE CLEAN ===== */

.values {
  background: #ffffff;
  padding: 3rem 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Tablette */
@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* RESSERRAGE GLOBAL DES SECTIONS */

.section-title {
  margin: 1.5rem 0 1rem;
  padding: 1rem 0;
}

.values {
  padding: 2rem 1rem;
}

.actus {
  padding: 2rem 1rem;
}

.container {
  padding: 1.5rem 1rem;
}

/* Notre objectif */
section.container {
  padding: 2rem 1rem !important;
}

/* ===== OVERRIDE RESSERRAGE FINAL ===== */

.section-title {
  margin: 1rem 0 !important;
  padding: 0.5rem 0 !important;
}

.values {
  padding: 1.5rem 1rem !important;
}

.actus {
  padding: 1.5rem 1rem !important;
}

.container {
  padding: 1.2rem 1rem !important;
}

.objectif {
  padding: 2rem 1rem !important;
}

/* ==== FACEBOOK CLEAN DESIGN ==== */

#cff {
  font-family: "Inter", Arial, sans-serif;
}

#cff .cff-post {
  background: #ffffff !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08) !important;
  padding: 1rem !important;
  margin-bottom: 1.5rem !important;
  border: none !important;
}

#cff .cff-post-text {
  color: #2b2b2b !important;
  font-size: 0.95rem !important;
  line-height: 1.5;
}

#cff .cff-post-title {
  font-family: "Poppins", Arial, sans-serif;
  font-weight: 600;
  color: var(--vert) !important;
}

#cff .cff-author {
  font-size: 0.8rem;
  color: #777;
}

#cff img {
  border-radius: 12px;
}

#cff .cff-more {
  background: var(--vert) !important;
  color: white !important;
  border-radius: 30px !important;
  padding: 0.4rem 1rem !important;
  text-decoration: none !important;
  font-size: 0.8rem;
}

/* CLASSES PREMIUM */

.classes-premium {
  max-width: 1100px;
  margin: auto;
  padding: 3rem 1rem;
}

.classe-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.classe-row.reverse {
  direction: rtl;
}

.classe-row.reverse .classe-text {
  direction: ltr;
}

.classe-img img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.classe-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--vert);
  margin-bottom: 1rem;
}

.classe-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}

/* Mobile */

@media (max-width: 800px) {
  .classe-row {
    grid-template-columns: 1fr;
  }

  .classe-row.reverse {
    direction: ltr;
  }
}

/* ===== CRAYONS INTERACTIFS ===== */

.home-crayons {
  background: #ffffff;
  padding: 2rem 0;
}

.crayons-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

/* Base crayon */
.crayon {
  position: relative;
  width: 220px;
  height: 70px;
  border-radius: 40px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
}

/* Effet hover */
.crayon:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 18px 35px rgba(0,0,0,0.25);
}

/* Couleurs */
.crayon-vert { background: #6BAF3F; }
.crayon-orange { background: #F28C28; }
.crayon-bleu { background: #1f6fd2; }

/* Mobile */
@media (max-width: 700px) {
  .crayon {
    width: 180px;
    height: 60px;
    font-size: 1rem;
  }
}

/* ===== MONTAGE DECALÉ SANS CHEVAUCHEMENT ===== */

.objectif-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: center;
}

.objectif-montage {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.objectif-montage .photo {
  width: 260px;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* Décalage progressif */
.objectif-montage .photo:nth-child(1) {
  margin-left: 0;
}

.objectif-montage .photo:nth-child(2) {
  margin-left: 40px;
}

.objectif-montage .photo:nth-child(3) {
  margin-left: 80px;
}

.objectif-montage .photo {
  width: 260px;
  height: 160px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

.objectif-montage .photo:hover {
  transform: scale(1.08) rotate(-1deg);
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
  z-index: 10;
}

/* Mobile */
@media (max-width: 900px) {
  .objectif-layout {
    grid-template-columns: 1fr;
  }

  .objectif-montage {
    align-items: center;
  }

  .objectif-montage .photo {
    width: 90%;
    margin-left: 0 !important;
  }
}

/* TEST EASY SOCIAL FEED */

.efb-wrapper a,
.efb-wrapper button {
  background: #6BAF3F !important;
  color: white !important;
  border-radius: 30px !important;
  padding: 8px 18px !important;
  font-family: "Poppins", Arial, sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  border: none !important;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15) !important;
  transition: all 0.25s ease !important;
}

.efb-wrapper a:hover,
.efb-wrapper button:hover {
  background: #5aa832 !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* ===== MAIN NAV RESPONSIVE ===== */

@media (max-width: 900px) {

  .nav-toggle {
    display: block;
    color: var(--vert);
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    display: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid #eee;
  }

  .main-nav a {
    display: block;
    padding: 1rem;
    text-align: center;
    font-size: 1.1rem;
  }
}

/* ===== CONTACT PAGE ===== */

.contact-hero {
  text-align: center;
  padding: 4rem 1rem 2rem;
}

.contact-hero h1 {
  font-family: "Playfair Display", serif;
  color: var(--vert);
}

.contact-infos {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-box {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.contact-map iframe {
  width: 100%;
  height: 350px;
  border: none;
}

.contact-form h2 {
  text-align: center;
  color: var(--vert);
  margin-bottom: 1.5rem;
}

/* Mobile */
@media (max-width: 768px) {
  .contact-infos {
    grid-template-columns: 1fr;
  }
}

/* ===== FORMULAIRE CONTACT ===== */

.wpcf7 form {
  max-width: 600px;
  margin: auto;
}

.wpcf7 input,
.wpcf7 textarea {
  width: 100%;
  padding: 0.9rem;
  margin-top: 0.3rem;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-family: "Inter", Arial, sans-serif;
}

.wpcf7 textarea {
  min-height: 150px;
}

.wpcf7 input[type="submit"] {
  background: var(--vert);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease;
}

.wpcf7 input[type="submit"]:hover {
  background: #5aa832;
  transform: translateY(-2px);
}
/* ===== PAGE CLASSES PREMIUM ===== */

.classes-hero {
  text-align: center;
  padding: 4rem 1rem 2rem;
  background: #f7f7f7;
  color: var(--vert);
}

.classes-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
}

.classes-hero p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.classes-premium {
  max-width: 1100px;
  margin: auto;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.classe-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.classe-row.reverse {
  direction: rtl;
}

.classe-row.reverse .classe-text {
  direction: ltr;
}

.classe-img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.classe-img img:hover {
  transform: scale(1.03);
}

.classe-text h3 {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: var(--vert);
  margin-bottom: 1rem;
}

.classe-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}

/* Mobile */
@media (max-width: 900px) {
  .classe-row,
  .classe-row.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .classe-row.reverse {
    direction: ltr;
  }

  .classe-img img {
    width: 90%;
    margin: auto;
  }
}

.classe-row {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
}

/* PHOTOS */
.classe-photos {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.classe-photos img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: 0.3s ease;
}

.classe-photos img:hover {
  transform: scale(1.05);
}

/* TEXTE */
.classe-text h3 {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: var(--vert);
  margin-bottom: 1rem;
}

.classe-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}

/* EQUIPE */
.team-bubbles {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.team-card {
  text-align: center;
}

.team-card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.team-card img:hover {
  transform: scale(1.08);
}

.team-card h4 {
  margin-top: 0.6rem;
  font-family: "Poppins", sans-serif;
  color: var(--vert);
}

.team-card span {
  font-size: 0.9rem;
  color: #666;
}

/* MOBILE */
@media (max-width: 900px) {
  .classe-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .classe-photos {
    flex-direction: row;
    justify-content: center;
  }

  .classe-photos img {
    width: 45%;
  }

  .team-bubbles {
    flex-direction: row;
    justify-content: center;
  }
}

/* PAGE ASSOCIATIONS */
.associations {
  max-width: 1000px;
}

.asso-block {
  background: #ffffff;
  padding: 3rem;
  margin-bottom: 3rem;
  border-radius: 28px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.asso-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.asso-logo {
  width: 70px;
}

.asso-block h2 {
  font-family: "Playfair Display", serif;
  color: var(--vert);
  font-size: 2rem;
}

.asso-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
}

.asso-text ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

.asso-text li {
  margin-bottom: 0.5rem;
}

.asso-people {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.person {
  text-align: center;
}

.person img {
  width: 100%;
  max-width: 140px;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.person strong {
  display: block;
  margin-top: 0.5rem;
  color: var(--vert);
}

.person span {
  font-size: 0.9rem;
  color: #666;
}

.asso-cta {
  text-align: center;
  margin-top: 4rem;
}

.asso-cta h3 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--vert);
}

.asso-people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.person {
  text-align: center;
}

.person img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 12px 25px rgba(0,0,0,0.18);
  transition: transform .3s ease;
}

.person img:hover {
  transform: scale(1.08);
}

.person strong {
  display: block;
  margin-top: 0.7rem;
  color: var(--vert);
  font-weight: 600;
}

.person span {
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 800px) {
  .asso-people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .asso-people-grid {
    grid-template-columns: 1fr;
  }
}

.asso-contact {
  width: 100%;
  text-align: center;
  margin-top: 2.5rem;
  font-size: 1rem;
  color: #444;
  font-style: italic;
}

.asso-contact a {
  color: var(--vert);
  text-decoration: none;
  font-weight: 600;
}

.asso-contact a:hover {
  text-decoration: underline;
}

.asso-quote {
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  max-width: 700px;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: #555;
  font-style: italic;
  position: relative;
}

.asso-quote::before {
  content: "“";
  font-size: 4rem;
  position: absolute;
  left: -20px;
  top: -20px;
  color: var(--vert);
  opacity: 0.3;
}

.asso-quote::after {
  content: "”";
  font-size: 4rem;
  position: absolute;
  right: -20px;
  bottom: -20px;
  color: var(--vert);
  opacity: 0.3;
}

/* ===== CITATIONS CLASSES PREMIUM ===== */

.class-quote {
  max-width: 900px;
  margin: 3rem auto 5rem;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--brun);
  position: relative;
  padding: 2rem 3rem;
  line-height: 1.6;
}

.class-quote::before {
  content: "“";
  font-size: 5rem;
  color: var(--vert);
  position: absolute;
  left: 0;
  top: -15px;
  font-family: serif;
}

.class-quote::after {
  content: "”";
  font-size: 5rem;
  color: var(--vert);
  position: absolute;
  right: 0;
  bottom: -35px;
  font-family: serif;
}

.projet-image-link {
  display: block;
  text-align: center;
  margin: 3rem auto;
}

.projet-image-link img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 28px;
  transition: transform 0.4s ease;
  cursor: pointer;

  /* Effet estompé */
  box-shadow:
    0 0 0 12px rgba(255,255,255,0.6),
    0 25px 60px rgba(0,0,0,0.18);
}

.projet-image-link:hover img {
  transform: scale(1.08);
}

/* RESSERRAGE PAGE CLASSES */

.classes-premium {
  padding: 2rem 1rem;
  gap: 1rem;
}

.classe-row {
  margin-bottom: 1.5rem;
}

.asso-quote {
  margin: 1rem auto;
}

.asso-team-photo {
  text-align: center;
  margin: 2.5rem 0;
}

.asso-team-photo img {
  width: 100%;
  max-width: 700px;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  transition: transform 0.35s ease;
}

.asso-team-photo img:hover {
  transform: scale(1.04);
}

/* ===== BANNIÈRE ÉVÈNEMENT ===== */

.event-banner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  max-width: 1100px;
  margin: 3rem auto;
  text-decoration: none;
  color: white;
  border-radius: 24px;          /* ARRONDI GLOBAL */
  overflow: hidden;            /* TRÈS IMPORTANT */
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.event-banner:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

/* Image */
.event-banner-img {
  min-height: 260px;
  background-size: cover;
  background-position: center;
}

/* Contenu */
.event-banner-content {
  background: linear-gradient(135deg, #6BAF3F, #4f8f2e);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Badge */
.event-badge {
  background: #F28C28;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  width: fit-content;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* CTA */
.event-cta {
  margin-top: 1.2rem;
  font-weight: 600;
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 800px) {
  .event-banner {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .event-banner-img {
    min-height: 180px;
  }
}

/* ===== PAGE INFORMATIONS PRATIQUES ===== */

.infos-pratiques {
  padding: 3rem 1rem 4rem;
}

.infos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}

.info-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

.info-icon {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
}

.info-card h3 {
  font-family: "Poppins", sans-serif;
  color: var(--vert);
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.info-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

.infos-footer {
  margin-top: 4rem;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: var(--vert);
}

/* ===== TIMELINE LARGE AVEC LIGNE A GAUCHE ===== */

.timeline{
  position:relative;
  max-width:1100px;
  margin:4rem auto;
  padding-left:70px;
}

/* ligne verticale */
.timeline::before{
  content:"";
  position:absolute;
  left:30px;
  top:0;
  width:4px;
  height:100%;
  background:linear-gradient(to bottom,var(--vert),#9fd56f);
  opacity:.35;
}

/* item */
.timeline-item{
  position:relative;
  display:flex;
  align-items:center;
  gap:3rem;
  margin-bottom:5rem;
}

/* point */
.timeline-item::before{
  content:"";
  position:absolute;
  left:-44px;
  width:18px;
  height:18px;
  background:var(--vert);
  border-radius:50%;
  box-shadow:0 0 0 6px #fff;
}

/* alternance image */
.timeline-item.reverse{
  flex-direction:row-reverse;
}

/* image */
.timeline-image{
  width:35%;
}

.timeline-image img{
  width:100%;
  border-radius:24px;
  box-shadow:0 18px 45px rgba(0,0,0,0.2);
}

/* texte prend grande largeur */
.timeline-content{
  width:65%;
}

.timeline-content h3{
  font-family:"Playfair Display",serif;
  color:var(--vert);
  font-size:2rem;
  margin-bottom:1rem;
}

.timeline-text{
  font-size:1.05rem;
  line-height:1.75;
}

/* MOBILE */
@media(max-width:900px){

  .timeline{
    padding-left:40px;
  }

  .timeline::before{
    left:15px;
  }

  .timeline-item{
    flex-direction:column;
    align-items:flex-start;
  }

  .timeline-item.reverse{
    flex-direction:column;
  }

  .timeline-image,
  .timeline-content{
    width:100%;
  }

  .timeline-item::before{
    left:-28px;
  }
}

/* TITRES ANNEES TIMELINE */

.timeline-year{
  margin:4rem 0 2rem;
}

.timeline-year span{
  font-size:1.4rem;
  font-weight:600;
}

/* ===== PAGE INSCRIPTION ===== */

.inscription-page{
  text-align:center;
  padding:3rem 1rem 4rem;
}

.inscription-intro{
  max-width:800px;
  margin:1.5rem auto 3rem;
  font-size:1.05rem;
  line-height:1.7;
}

/* Image procédure */

.inscription-procedure{
  display:flex;
  justify-content:center;
  margin:2rem 0 3rem;
}

.inscription-procedure img{
  width:100%;
  max-width:900px;
  border-radius:28px;
  box-shadow:0 25px 60px rgba(0,0,0,0.18);
  transition:transform .35s ease;
}

.inscription-procedure img:hover{
  transform:scale(1.02);
}

/* contact */

.inscription-contact{
  font-family:"Playfair Display", serif;
  font-size:1.2rem;
  color:var(--vert);
  margin-top:2rem;
}

/* ===== BOUTON DOSSIER INSCRIPTION ===== */

.inscription-download{
  margin-top:2.5rem;
  text-align:center;
}

.btn-inscription{
  display:inline-block;
  background:var(--vert);
  color:white;
  padding:1rem 2.2rem;
  border-radius:40px;
  font-family:"Poppins", sans-serif;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 12px 25px rgba(0,0,0,0.18);
  transition:all .25s ease;
}

.btn-inscription:hover{
  background:#5aa832;
  transform:translateY(-3px);
  box-shadow:0 18px 35px rgba(0,0,0,0.25);
}

/* ===== TRANSITION DE PAGE (DISCRÈTE) ===== */

body{
  opacity: 0.99;
  transition: opacity .25s ease-in-out;
}

body.page-loaded{
  opacity: 1;
}

/* ===== ANNONCE PO ===== */

.top-bar {
  background: linear-gradient(90deg, #6bbf4e, #4da63a);
  color: #fff;
  text-align: center;
  padding: 10px 40px;
  font-size: 14px;
  position: relative;
}

.top-bar a {
  color: #fff;
  text-decoration: underline;
  margin-left: 6px;
}

.top-bar button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* PAGE INSCRIPTION */

.inscription-page{
  text-align:center;
  padding:3rem 1rem;
}

.section-title-center{
  text-align:center;
  font-family:"Playfair Display", serif;
  color:var(--vert);
  margin-bottom:1rem;
}

.inscription-text{
  max-width:750px;
  margin:auto;
  margin-bottom:2rem;
  font-size:1.05rem;
  color:#444;
}

/* boutons */
.inscription-buttons{
  display:flex;
  justify-content:center;
  gap:2rem;
  flex-wrap:wrap;
}

.btn-inscription{
  padding:1rem 2rem;
  border-radius:40px;
  text-decoration:none;
  font-weight:600;
  transition:.3s;
  color:white;
}

.btn-download{
  background:var(--vert);
}

.btn-online{
  background:var(--orange);
}

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

/* TARIFS */
.tarifs-section{
  background:#ffffff;
  padding:3rem 1rem 4rem;
  text-align:center;
  border-top:1px solid #eee;
}

.tarifs-grid{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:2rem;
  margin-top:2rem;
}

.tarif-card{
  background:white;
  padding:2rem;
  border-radius:20px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.tarif-card h3{
  color:var(--vert);
}

.tarif-card span{
  display:block;
  margin-top:1rem;
  font-weight:700;
  color:var(--brun);
}

.btn-preinscription{
  display:inline-block;
  background: var(--orange);
  color:white;
  padding:14px 28px;
  border-radius:40px;
  font-weight:600;
  text-decoration:none;
  transition:.25s;
}

.btn-preinscription:hover{
  transform:translateY(-3px);
}

/* PAGE CLASSE OUVERTURE PHOTOS */

#lightbox-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  justify-content:center;
  align-items:center;
  z-index:9999;
}

#lightbox-img{
  max-width:90%;
  max-height:90%;
  border-radius:20px;
  box-shadow:0 25px 60px rgba(0,0,0,.5);
}

.lightbox-close{
  position:absolute;
  top:25px;
  right:40px;
  font-size:3rem;
  color:white;
  cursor:pointer;
}

/* TITRES DES CLASSES */
.classe-text h3{
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ================= HEADER LAYOUT ================= */

.site-header .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  position:relative;
}

/* LOGO */
.logo{
  flex:0 0 auto;
}

/* NAV CENTRÉE */
.main-nav{
  flex:1 1 auto;
  min-width:0;
  display:flex;
  justify-content:center;
}

/* LISTE */
.main-nav ul{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  margin:0;
  padding:0;
  list-style:none;
  flex-wrap:wrap;
}

/* LIENS */
.main-nav ul li a{
  text-decoration:none;
  font-weight:600;
  color:var(--texte);
  padding:8px 12px;
  border-radius:8px;
  transition:.25s;
}

.main-nav ul li a:hover{
  background:rgba(107,175,63,.12);
  color:var(--vert);
}

/* SOUS MENU */
.main-nav ul li{
  position:relative;
}

.main-nav ul li ul{
  position:absolute;
  top:100%;
  left:0;
  display:none;
  flex-direction:column;
  min-width:220px;
  background:white;
  border-radius:14px;
  box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.main-nav ul li:hover > ul{
  display:flex;
}

/* BOUTON CONNEXION DESKTOP */
.header-login{
  flex:0 0 auto;
}

.header-login a{
  background:var(--vert);
  color:white;
  padding:10px 18px;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
}

/* BURGER */
.nav-toggle{
  display:none;
  font-size:28px;
  background:none;
  border:none;
  cursor:pointer;
}

/* ================= MOBILE ================= */

@media (max-width:900px){

  .nav-toggle{
    display:block;
  }

  /* connexion disparaît du header */
  .header-login{
    display:none;
  }

  /* menu déroulant */
  .main-nav{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:white;
    display:none;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
  }

  .main-nav.open{
    display:block;
  }

  .main-nav ul{
    flex-direction:column;
    gap:0;
  }

  .main-nav ul li{
    border-bottom:1px solid #eee;
  }

  .main-nav ul li a{
    display:block;
    text-align:center;
    padding:16px;
  }

}

/* desktop */
.mobile-login{
  display:none;
}

/* mobile */
@media (max-width:900px){

  .desktop-login{
    display:none;
  }

  .mobile-login{
    display:block;
    text-align:center;
    padding:15px;
  }

}

/* ===== CAROUSEL TRAVAUX ===== */

.travaux-carousel{
  position:relative;
  max-width:1000px;
  margin:3rem auto;
  overflow:hidden;
}

.carousel-track{
  display:flex;
  gap:20px;
  transition:transform .4s ease;
}

.carousel-track img{
  width:320px;
  height:220px;
  object-fit:cover;
  border-radius:18px;
  box-shadow:0 10px 25px rgba(0,0,0,.18);
}

/* boutons */
.carousel-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:white;
  border:none;
  font-size:32px;
  width:50px;
  height:50px;
  border-radius:50%;
  cursor:pointer;
  box-shadow:0 6px 15px rgba(0,0,0,.2);
}

.carousel-btn.prev{ left:10px; }
.carousel-btn.next{ right:10px; }

.carousel-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;          /* IMPORTANT */
}

/* ===== TITRE TRAVAUX ===== */

.travaux-title{
  margin-top:3rem;
  margin-bottom:1.5rem;
}

.travaux-title span{
  color: var(--vert);
  font-family: "Poppins", sans-serif;
  font-weight:600;
  letter-spacing:1px;
}

/* HERO */
.ecole-hero{
  background:url('/wp-content/uploads/hero-ecole.jpg') center/cover no-repeat;
  height:45vh;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}

.ecole-hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.35);
  display:flex;
  align-items:center;
  justify-content:center;
}

.ecole-hero h1{
  color:white;
  font-size:3rem;
  font-family:"Playfair Display", serif;
}

/* navigation interne */
.ecole-anchor-nav{
  text-align:center;
  margin:2rem 0 3rem;
}

.ecole-anchor-nav a{
  display:inline-block;
  margin:0 10px;
  padding:10px 18px;
  background:var(--vert);
  color:white;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
}

/* blocs alternés */
.ecole-row{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:3rem;
  align-items:center;
  margin-bottom:4rem;
}

.ecole-row.reverse{
  direction:rtl;
}

.ecole-row.reverse .ecole-text{
  direction:ltr;
}

.ecole-img img{
  width:100%;
  border-radius:24px;
  box-shadow:0 15px 40px rgba(0,0,0,.18);
}

/* responsive */
@media(max-width:900px){
  .ecole-row{
    grid-template-columns:1fr;
    text-align:center;
  }

.ecole-section{
  display:grid;
  grid-template-columns: 65% 35%;
  gap:3rem;
  align-items:center;
}