/***********************************
PAGES PROJETS DEPARTEMENTAUX
***********************************/

.titre-projet {
    font-size: 2rem;
    font-weight: 100;
    text-align: center;
    margin: var(--spacing-sm) auto;
    padding: var(--spacing-sm);
    border: solid 0.2rem var(--site-principal-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff 0%, #fef7f0 100%);
    animation: gentlePulse 4s 
    ease-in-out infinite;
    width: 80%;
}

.annonce {
    font-size: 2rem;
    text-align: center;
    margin: 3rem;
}

.annonce p {
    padding: 1rem;
}

/***********************************
SHORTCODES
***********************************/
.remerciement {
    font-size: 0.9rem;
    font-style: italic;
    text-align: right;
}

.inscription {
  font-size: 1.8rem;
  font-weight: 300;
  text-align: center;
  margin: var(--spacing-sm) auto;
  padding: 2rem;
  width: 80%;
  border-radius: 16px;
  background: linear-gradient(135deg, #2C3E50 0%, #4CA1AF 100%);
  color: #f5f7fa;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2),
              inset 0 0 0 2px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.inscription::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: left 0.8s ease;
}

.inscription:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.inscription:hover::after {
  left: 125%;
}

.inscription a {
  text-decoration: none;
  font-weight: 600;
  color: #2C3E50;
  background: #f5f7fa;
  padding: 0.8rem 2.5rem;
  border-radius: 30px;
  border: 2px solid rgba(245, 247, 250, 0.7);
  display: inline-block;
  margin-top: 1rem;
  backdrop-filter: blur(5px);
  transition: all 0.4s ease;
  letter-spacing: 1.5px;
}

.inscription a:hover {
  background: #e3e8f0;
  color: var(--site-principal-color);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* =============================================
   Pas à pas vocal — iframe responsive
   À ajouter dans css/inc-style.css
   ============================================= */

.pas-a-pas-wrap {
    width: 100%;
    margin: 1.5rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #DDD5C0;
    background: #F5F1E8; /* parchemin pendant le chargement */
}

.pas-a-pas-wrap iframe {
    width: 100%;
    border: none;
    display: block;
    transition: height 0.3s ease;
}

/* Mode hauteur fixe : scroll autorisé */
.pas-a-pas-fixe iframe {
    overflow: auto;
}

/* Message d'erreur shortcode */
.pas-a-pas-erreur {
    background: #FEF8EC;
    border: 1px solid #E8C96A;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-size: 0.9em;
    color: #7A5A10;
    font-family: Arial, sans-serif;
}

/* Responsive */
@media (max-width: 600px) {
    .pas-a-pas-wrap {
        border-radius: 6px;
        margin: 1rem 0;
    }
}

