/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://example.com
Description: Thème enfant de Twenty Twenty-Five
Author: Flavie A.
Author URI: https://www.flavie-a.fr
Template: twentytwentyfive
Version: 1.0
*/

@import url("../twentytwentyfive/style.css");

h1.wp-block-post-title {
  display: none;
}

#wp--skip-link--target {
  margin-top: 0 !important;
}
input.wpcf7-form-control {
  padding: 5px !important;
  border-radius: 5px !important;
  border: 1px solid #ffffff !important;
}
input.wpcf7-form-control.wpcf7-submit {
  background-color: var(--wp--preset--color--base) !important;
  border-width: 0 !important;
  color: var(--wp--preset--color--accent-2) !important;
  font-family: var(--wp--preset--font-family--butler) !important;
  font-size: var(--wp--preset--font-size--medium) !important;
  line-height: inherit !important;
  padding-top: 1rem !important;
  padding-right: 2.25rem !important;
  padding-bottom: 1rem !important;
  padding-left: 2.25rem !important;
  text-decoration: none !important;
  border-radius: 50px !important;
}
form.wpcf7-form {
  color: white;
}
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #007cba;
  color: #fff;
  padding: 8px 16px;
  border-radius: 50%;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  display: none;
  transition: background 0.3s, opacity 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

#back-to-top:hover {
  background-color: #006ba1;
}
.wpcf7 {
  display: flex;
  justify-content: center;
}

/* Style générique pour les icônes Font Awesome dans les boutons */
.wp-block-button__link i.fa-solid {
  display: inline-block; /* Pour éviter qu'il soit traité comme du texte pur */
  font-size: 1.2em; /* Taille relative au texte du bouton */
  line-height: 1; /* Évite les décalages verticaux */
  vertical-align: middle; /* Centre l'icône verticalement */
}

/* Option : centrer le bouton si icône seule */
.wp-block-button__link.icon-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.popup-modal {
  display: none; /* Pop-up cachée par défaut */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: white;
  padding: 20px;
  width: 80%;
  max-width: 800px;
  border-radius: 8px;
  position: relative;
}
