/* ---------------------------------------------------
   STYLE GLOBAL SLS4L - CHARTE SIMPLIFIÉE – FLUIDE & RESPONSIVE
   --------------------------------------------------- */

/* Déclaration de la police Fredoka */
@font-face {
  font-family: 'Fredoka';
  src: url('polices/Fredoka-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Fredoka';
  src: url('polices/Fredoka-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Fredoka';
  src: url('polices/Fredoka-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

/* -------- BASE GÉNÉRALE -------- */

body {
  font-family: 'Fredoka', sans-serif;
  margin: auto;
  padding: 0.5em;
  background: #fdfdfd;
  color: #333;
  font-size: clamp(1.5rem, 2vw, 2rem);
  max-width: 90vw;
  width: 100%;
  box-sizing: border-box;
}
@media screen and (min-width: 900px) {
  body {
    max-width:900px
  }
}
h1 {
  color: #4CAF50;
  font-size: 130%;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.5;
}
h2 {
  color: #4CAF50;
  font-size: 120%;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
}
h3 {
  color: #4CAF50;
  font-size: 110%;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
}

p {
  box-sizing: border-box;
}
.petit {
  font-size: 80%
  color: #d9d9d9 !important;
    line-height: 1.1;
}
label {
  display: block;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 500;
}
textarea, input {
  width: 100%;
  max-width: 100%;
  margin-top: 1em;
  margin-bottom: 2em;
  padding: 0.8em;
  box-sizing: border-box;
}
textarea {
font-size: clamp(1rem, 1.5vw, 1.1rem);
}
input {
  font-size: 130%;
  font-weight: 500;
}

.t-center { text-align: center !important; }
.br-respire { display: block; height: 30px; }

.no-mt { margin-top: 0 !important; }
.m10 { margin: 10px !important; }
.m20 { margin: 20px !important; }
.p20 { padding: 20px !important; }
.m40 { margin: 40px !important; }
.p40 { padding: 40px !important; }
a { text-decoration: none !important; }
.force { font-weight: 500; }

.lien-blanc {
  color: white !important;
  text-decoration: none !important;
}
.lien-blanc:hover,
.lien-blanc:focus,
.lien-blanc:active {
  color: white !important;
}

/* -------- BOUTONS -------- */

input {
font-weight: 500;
}


input[type="submit"],
.btn, .btn-large, .whatsapp-button {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 1em;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 6px;
  text-align: center;
  width: 100%;
  max-width: 100%;
 font-size: 130%;
  transition: all 0.3s ease-in-out;
  box-sizing: border-box !important;
  display: block;
  font-weight: 500;
  cursor: pointer;
}
input[type="submit"]:hover,
.btn:hover,
.btn-large:hover,
.whatsapp-button:hover {
  background-color: #45A049;
  transform: scale(1.03);
}

/* Boutons secondaires */
.btn-violet, input[type="submit"].btn-violet {
  background-color: #D1C4E9;
  color: #6a5a89;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 1em;
  border: none;
  border-radius: 6px;
  text-align: center;
  width: 100%;
  max-width: 100%;
 font-size: 130%;
  transition: all 0.3s ease-in-out;
  box-sizing: border-box !important;
  display: block;
  font-weight: 500;
  cursor: pointer;
}
.btn-violet:hover {
  background-color: #6a5a89 !important;
  color: white !important;
}

.btn-neutre, input[type="submit"].btn-neutre {
  background-color: #d9d9d9 !important;
  color: #4b4d4e !important;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 1em;
  border: none;
  border-radius: 6px;
  text-align: center;
  width: 100%;
  max-width: 100%;
 font-size: 130%;
  transition: all 0.3s ease-in-out;
  box-sizing: border-box !important;
  display: block;
  font-weight: 500;
  cursor: pointer;
}
.btn-neutre:hover {
  background-color: #c9c9c9 !important;
    color: white !important;
}

/* Bouton animé */
.bt-en-jambe {
  animation: heartbeat 2s infinite;
  background-color: #4CAF50;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 1em;
  border: none;
  border-radius: 6px;
  text-align: center;
  width: 100%;
  max-width: 100%;
 font-size: 130%;
  transition: all 0.3s ease-in-out;
  box-sizing: border-box !important;
  display: block;
  font-weight: 500;
  cursor: pointer;
}
.bt-en-jambe:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
}

/* Battement */
@keyframes heartbeat {
  0%, 30%, 60%, 100% { transform: scale(1); }
  15%, 45% { transform: scale(1.05); }
}

/* -------- COULEURS -------- */
.bg-coul-0 { background-color: #4CAF50 !important; }
.bg-coul-1 { background-color: #d9d9d9 !important; }
.bg-coul-2 { background-color: #D1C4E9 !important; }
.bg-coul-3 { background: #f9f9f9 !important; }

.radieux {
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  border-radius: 10px;
}

/* -------- CARTES -------- */
.bienvenue, .carte, .transition-carte, .apercu-carte, .bloc-reponse {
  background: #fff;
  border-radius: 10px;
  padding: 40px 40px;
  margin: 40px auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
}
.bienvenue h3, .carte h3, .transition-carte h3, .apercu-carte h3, .bloc-reponse h3, {
 font-size: 110%;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.5;
}
.bloc-reponse {
  border: 1px solid #e0e0e0;
}
.bloc-reponse h3 { color: #333; }
.bloc-reponse p {
  color: #555;
  margin-top: 20px;
  white-space: pre-line;
}

/* -------- MESSAGES -------- */
.message {
  margin: 20px auto;
  padding: 20px;
  border-radius: 6px;
  font-weight: 500;
  animation: fadeIn 0.5s ease-in-out;
}
.ok { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.erreur { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* -------- AUTRES -------- */
.inspiration {
  margin-top: 40px;
  font-style: italic;
  text-align: center;
  color: #666;
}
.badge-statut {
  padding: 4px 8px;
  border-radius: 5px;
  color: white;
  font-weight: 500;
  display: inline-block;
}
.statut-active { background: #4CAF50; }
.statut-archivé { background: #FFA500; }
.statut-beta { background: #6a5a89; }

.atelier-badge {
    display: inline-block;
    background: #eee;
    color: #333;
    padding: 2px 6px;
    margin: 2px;
    border-radius: 3px;
    font-size: 0.85em;
}

/* -------- TEXTES SPÉCIAUX -------- */
.txt-vert { color: #4CAF50 !important; font-weight: 500; }
.txt-vert:hover { color: #45A049 !important; text-decoration: underline; }
.txt-violet { color: #D1C4E9 !important; font-weight: 500; }
.txt-violet:hover { color: #6a5a89 !important; text-decoration: underline; }
.tc-violet { color: #6a5a89 !important; }

/* -------- IMAGES -------- */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* -------- RESPONSIVE RECAPTCHA -------- */
.recaptcha-container {
  text-align: center;
  margin: 20px;
  padding: 20px;
}
.recaptcha-wrapper {
  display: inline-block;
  transform: scale(1.3);
  transform-origin: top center;
}

/* -------- ANIMATIONS -------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in {
  animation: fadeIn 0.8s ease-out both;
}

/* ------- POST-IT TABLEAU -------- */
	.postit-tableau {
	    display: flex;
	    flex-wrap: wrap;
	    gap: 20px;
	    margin-top: 40px;
	    width: 100%;
	    max-width:100%;
	}
	
.postit {
    background: #fff8b0;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    flex: 1 1 calc(50% - 20px); /* 2 colonnes avec gap */
    max-width: calc(50% - 20px);
    box-sizing: border-box;
    color: #333;
    position: relative;
    transition: transform 0.3s ease;
}
	.postit:hover {
	    transform: rotate(-1deg) scale(1.02);
	}
	
	.postit .signature {
	    margin-top: 15px;
	    color: #777;
	    text-align: right;
	    font-style: italic;
	}
	@media screen and (max-width: 600px) {
    .postit-tableau {
        justify-content: center;
    }
    .postit {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
.sommaire {
  margin: 20px 0;
  padding: 20px;
  background: #f9f9f9;
  border: 1px dashed #ccc;
  border-radius: 10px;
}
.sommaire a {
  display: block;
  margin-bottom: 10px;
  color: #4CAF50;
  font-weight: 500;
  text-decoration: none;
}
.sommaire a:hover {
  text-decoration: underline;
}
.apercu-carte img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.image-accueil {
  max-width: 100%!important;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
/* Style doux pour le contenu de la transition */
.transition-contenu {
    margin: 20px auto;
    color: #555;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}