/*
Theme Name: Twenty Twenty-Five Child
Template: twentytwentyfive
Version: 1.0
*/

html {
  scroll-behavior: smooth;
}


a:focus {
  outline: none;
  box-shadow: none;
}

.nb .wp-block-cover__image-background{
    filter: grayscale(0.5);
  }
/*** BTNS ***/
  .wp-block-button__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: white!important;
    border-radius: 9999px;
    padding: 0.3rem .3rem 0.3rem 1.5rem !important;
    overflow: hidden;
    cursor: pointer;
    transition: color 0.3s ease;
    box-shadow: none !important;
  }

  .wp-block-button__link::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background-color: white;
    z-index: 0;
    transition: width 0.4s ease;
    
  }
  .wp-block-button__link::after {
  content: '';
  background-color: white;
  background-image: url('/wp-content/uploads/2025/07/chevronbtn2-e40cb6.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.2rem 1.2rem;

  border-radius: 9999px;
  width: 3rem;
  height: 3rem;
  margin-left: 1rem;

  position: relative;
  z-index: 1;
  flex-shrink: 0;
}


  .wp-block-button__link:hover::before {
    width: 100%;
    left: auto;
    right:0;
  }

  .wp-block-button__link span,
  .wp-block-button__link i {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
  }

  .wp-block-button__link:hover  {
background-color: #70957e !important;
  }
  .wp-block-button__link:hover span {
    color: #70957e;
  }

  .wp-block-button__link i {
    background-color: white;
    color: #70957e;
    border-radius: 9999px;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
  }

  .wp-block-button__link i::before {
    width: 2rem;
    height: 2rem;
    font-size: 2rem;
  }


/*** FIN BTNS ***/
    .logo-container {
        position: relative;
        width: 230px;
        height: 230px;
        margin: 0 auto;
    }

    /* On centre toutes les images dedans */
    .logo-container img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        height: auto;
    }

    /* --- Animation du LN (fade-in) --- */
    .ln {
        position: absolute;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        animation: fadeIn 2s ease forwards;
    }


    /* --- Animation du cercle (rotation + fade-in) --- */
    .circle {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        animation: rotateIn 3s ease forwards;
        animation-delay: 1s; /* commence après le LN */
    }

    @keyframes fadeIn {
        to { opacity: 1; }
    }

    @keyframes rotateIn {
        0% {
            opacity: 0;
            transform: rotate(-120deg);
        }
        100% {
            opacity: 1;
            transform: rotate(0deg);
        }
    }


/*** MENU ***/
.menu{
    position: fixed;    
    top: 0;
    /*text-transform: uppercase;*/
    width: 100%;
    z-index: 1;
    box-shadow: 0 0 10px #0000004a;
}

.menu ul, .menu2 ul{
  gap:1rem;
}

.menu ul ul, .menu2 ul ul{
  gap:inherit;
}

.menu li, .menu2 li{
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    padding-right: 1rem!important;
}

.menu li ul li, .menu2 li ul li{
    border-right: none;
    padding-right: inherit!important;
}
.menu li:last-child, .menu2 li:last-child{
    border-right: none;
}



.menu .wp-block-navigation-submenu  li{
  background-color: rgba(255, 255, 255, 0.9) !important;
}
/*** FIN MENU ***/


.illustration-hd{
    position: absolute;
    top: 0.5rem;
    right: 0;
    opacity: 0.6;
    width: 12rem;
    z-index: 0;
}

.illustration-hg{
    position: absolute;
    top: 0.5rem;
    left: 0;
    opacity: 0.6;
    width: 15rem;
    z-index: 0;
}

.illustration-bg{
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    opacity: 0.6;
    width: 15rem;
    z-index: 0;
}


.illustration-bd{
    position: absolute;
    bottom: -2.5rem;
    right: -3rem;
    opacity: 0.6;
    width: 15rem;
    transform: rotate(-20deg);
    z-index: 0;
}

/*** FIN ***/

/*** ICONS MENU ***/

.accueil{}
.competences{}
.cabinet{}
.faq{}
.contact{}
.actualites{}

/*** FIN ICONS MENU ***/

h1, h2, .deco {
  position: relative;
  padding-bottom: 5px;   /* Un peu d'espace sous le texte */
}


h1::after, 
h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  margin-bottom: -0.7rem;
  width: 100px;           /* Ajuste selon la taille désirée du liseré */
  height: 1.5px;
  background-color: rgb(155, 184, 155);
}



h1.has-text-align-center::after, 
h2.has-text-align-center::after, 
.deco::after {
  content: "";
  position: absolute;
  bottom: 0;
  margin-bottom: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1.5px;
  background-color: rgb(155, 184, 155);
}

.no-deco::after{
  content: none;
}

/** Box Shadows **/
.box-shadow{
  box-shadow:0 0 10px rgba(101, 101, 101, 30%);
}
.text-shadow h3{
  text-shadow:1px 1px 3px rgba(0, 0, 0, 60%);
}

.overlay{
  background-color: black;
}

footer{
  margin-top: 0;
}
/** CERCLES **/

.progress-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}

.progress-ring {
  transform: rotate(-90deg);
}

.progress-background {
  fill: none;
  stroke: rgba(255,255,255, 0.1);
  stroke-width: 10;
}

.progress-ring-circle {
  fill: none;
  stroke: #e4bc75; /* exemple de couleur jaune comme ta capture */
  stroke-width: 10;
  stroke-linecap: round; /* <<< AJOUT IMPORTANT */
  stroke-dasharray: 565.48;
  stroke-dashoffset: 565.48;
  transition: stroke-dashoffset 0.5s linear;
}


.progress-number {
  position: absolute;
  top: 50%;
  left: 45%;
  transform: translate(-45%, -50%);
  font-size: 1.8rem;
}

/** FIN CERClE **/

/** FORMULAIRE **/
.formcontact{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 100%; /* Important pour ne pas dépasser */
}

.formcontact .form-group, .formcontact .form-group input {
  width:100%;
}

/* Grille pour deux colonnes */
.formcontact .form-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.formcontact .form-grid .form-group {
  flex: 1 1 35%; /* largeur flexible avec minimum pour éviter les chevauchements */
  min-width: 200px;
  margin-bottom: 0;
}

/* Espacement général */
.formcontact .form-group p{
  margin: 0;
}

/* Style général des champs */
.formcontact input,
.formcontact textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 20px;
  font-size: 16px;  font-family: inherit; /* force la même police partout */

  transition: border-color 0.3s, box-shadow 0.3s;

  flex: 1 1 45%; /* Ou 100% pour les champs sur une ligne */
  min-width: 200px;
  max-width: 100%;
  box-sizing: border-box;

}

.formcontact textarea {
  width:100%;
}


/* Effet au focus */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
  border-color: #70957e;
  box-shadow: 0 0 0 8px rgba(0, 122, 204, 0.2);
  outline: none;
}

/* Bouton */
.wpcf7 input.wpcf7-submit {
  background-color: #70957e;
  color: #fff;
  padding: 12px 25px;
  font-size: 16px;
  border-color: #70957e;
  border-radius: 20px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s;
}

.wpcf7 input.wpcf7-submit:hover {
  background-color: #ffffff;
  color: #70957e;
}

/* RGPD */
.rgpd {
  font-size: 14px;
  color: #333;
  margin-top: 0;
}


.rgpd label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 600px;
}

.rgpd input[type="checkbox"] {
      margin-right: 10px;
    width: auto;
    transform: scale(2);
    padding: 0;
    min-width: auto;
    margin-top: 0.8rem;
    flex: none;
}
.wpcf7-not-valid-tip {

    font-size: 15px !important;
}

/** FIN FORMULAIRE **/

nav.wp-block-navigation-is-layout-flex .wp-block-navigation__submenu-container {
  background: none !important;
  padding: 0!important;
  border:none !important;
  width: 100% !important;
}

nav.wp-block-navigation-is-layout-flex .wp-block-navigation__submenu-container li{
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 5px;
}
.wp-block-navigation__submenu-container a {
  color: #333;
  padding: 6px 12px;
  display: block;
}

.wp-block-navigation__submenu-container a:hover {
  background-color:white;
    border-radius: 5px;
}

details[open] summary{
    border-bottom: none !important;
}
summary{
    border-radius:15px;
}
.wp-block-themeisle-blocks-accordion-item__title:focus,
.wp-block-themeisle-blocks-accordion-item__title:focus-visible {
  outline: none;
  box-shadow: none;
}



@media (max-width:1024px) {


  .wp-block-themeisle-blocks-flip {
    --height: 400px;
  }
  .charlotte, .marie, .pourquoi .wp-block-columns{
    flex-direction: column;
  }
  .pourquoi .wp-block-column{
    width:auto;
  }
  .pourquoi .wp-block-column img{
    margin: 0 auto;
    display: flex;
  }
  .marie{
        flex-direction: column-reverse;

  }
}

@media (max-width:768px) {

  .wp-block-themeisle-blocks-flip {
    --height: 250px;
  }

  footer{
    display: flex;
    justify-content: center;
  }

  footer .custom-logo-link img{
    order:1;
  }

  footer .wp-block-column{
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  footer .wp-block-column.coordonnes{
    order:2;
  }
  footer .wp-block-column.competences{
    order:3;
    margin-top:3rem;
  }
  footer .wp-block-column.logo{
    margin-top:3rem;
  }


  footer .wp-block-column.competences p{
    margin: 0.5rem auto !important;
  }

}