/*
Theme Name: Hello Elementor Enfant
Description: Theme enfant de Hello Elementor.
Author: WPMarmite
Author URI: https://wpmarmite.com
Template: hello-elementor
Version: 1.0
*/

/* ========================================
   GLOBAL
   ======================================== */
html, body {
    overflow-x: hidden !important;
    cursor: url('https://tonsite.com/wp-content/uploads/2025/10/curseur-1.png'), auto;
}

/* ========================================
   PORTFOLIO PROJET
   ======================================== */
.parent .portfolioprojet { display: none; }
.parent:hover .portfolioprojet { display: block; }

.projet-p .projet-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}
.projet-p:hover .projet-content {
    opacity: 1;
    transform: translateY(0);
	border-radius: 12px;
    pointer-events: auto;
}

.projet-p::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 12px;
}
.projet-p:hover::before { opacity: 1; }

/* ========================================
   FORMULAIRE CONTACT
   ======================================== */
/* ===== FORMULAIRE CONTACT ===== */
.contact-form {
  max-width: 700px; /* largeur du bloc */
  margin: 0 auto; /* centrer */
  text-align: left;
  font-family: "Poppins", sans-serif;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 22px;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-sizing: border-box;
  font-size: 15px;
  transition: all 0.3s ease;
}

/* Focus plus visible */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--e-global-color-accent);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

/* Placeholder plus doux */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
  opacity: 1;
}

/* Bouton */
.contact-form input[type="submit"] {
  background-color: var(--e-global-color-accent);
  color: #fff;
  border: none;
  padding: 12px 35px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-form input[type="submit"]:hover {
  background-color: #000;
  color: #fff;
  transform: translateY(-2px);
}

/* Réduction du textarea */
.contact-form textarea {
  height: 120px;
  resize: none;
}

/*CSS Commentaire */
/* Conteneur global des commentaires */
.comments-area {
    max-width: 700px;
    margin: 40px auto;
    background: #f9f9f9;
    padding: 20px 30px;
    border-radius: 15px;
}

/* Chaque commentaire individuel */
.comment {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

/* Auteur + date */
.comment-author, .comment-meta {
    font-weight: 600;
    color: #333;
}

/* Contenu du commentaire */
.comment-content {
    margin-top: 10px;
    line-height: 1.6;
    color: #555;
}

/* Formulaire d’ajout de commentaire */
/* 🌿 Zone globale des commentaires */
.comments-area {
  max-width: 1700px;
  margin: 80px auto;
  padding: 60px 80px;
  background: #f9f9f9;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

/* 📝 Titre des commentaires */
.comments-title, #reply-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: left;
  color: #222;
}

/* 💬 Liste des commentaires */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 🎯 Un seul commentaire */
.comment {
  margin-bottom: 30px;
  padding: 25px 30px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 15px;
}

/* 🚫 On cache l’avatar utilisateur */
.comment-author img {
  display: none !important;
}

/* 👤 Auteur + date du commentaire */
.comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.comment-author {
  font-weight: 600;
  color: #333;
}
.comment-metadata a {
  color: #888;
  font-size: 14px;
}

/* 🖋️ Texte du commentaire */
.comment-content {
  color: #555;
  line-height: 1.6;
}

/* 🔗 Lien “Répondre” */
.comment-reply-link {
  color: var(--e-global-color-accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
.comment-reply-link:hover {
  color: #000;
}
p.comment-form-cookies-consent {
    display: flex;
    flex-direction: row;
}

label {
    font-size:12px;
}


/* 💌 Formulaire de réponse */
#respond {
  margin-top: 60px;
  background: #fff;
  padding: 40px 50px;
  border-radius: 15px;
  border: 1px solid #eee;
}
#respond label {
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: #333;
}
#respond input,
#respond textarea {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid #ccc;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 16px;
  font-family: inherit;
}
#respond input:focus,
#respond textarea:focus {
  border-color: var(--e-global-color-accent);
  outline: none;
}

/* ✉️ Bouton envoyer */
#respond input[type="submit"] {
  background: var(--e-global-color-accent);
  color: #fff;
  border: none;
  padding: 12px 35px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s ease;
}
#respond input[type="submit"]:hover {
  background: #000;
}

/* ⚖️ Adaptation mobile */
@media (max-width: 1024px) {
  .comments-area {
    padding: 40px 30px;
    max-width: 100%;
  }
  #respond {
    padding: 30px;
  }
}
