/*
 Theme Name:   Divi Child
 Theme URI:    https://tonsite.com
 Description:  Thème enfant pour Divi
 Author:       colegram sa
 Author URI:   https://tonsite.com
 Template:     Divi
 Version:      1.0.0
*/



/* Classes de styles pour Parkinsans */

.parkinsans-medium {
  font-family: "Parkinsans", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.parkinsans-bold {
  font-family: "Parkinsans", sans-serif;
  font-weight: 700;
  font-style: normal;
}



/* Typographie globale */
body {
  font-family: "Parkinsans", sans-serif;
  font-weight: 500; /* Medium */
  font-size: 21px;
  line-height: 32px;
  color: #333333;
  background-color: #ffffff;
  margin: 0;
  padding: 0;
}

.text-footer .et_pb_text_inner p {
  font-size: 16px;
  line-height: 24px;
}

/* Titres */
/* H1 dans Divi */
.et_pb_module h1,
.et_pb_text h1,
.et_pb_slide_description h1 {
  font-family: "Parkinsans", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2vw, 26px);   /* 22px sur mobile → 26px en desktop */
  line-height: clamp(26px, 2.5vw, 30px);
  color: #544287;
  margin: 1.5rem 0 1rem;
}

@media (max-width: 980px) {
  .et_pb_module h1, .et_pb_text h1, .et_pb_slide_description h1 {
 margin-left: 45%;
 font-size: 16px;
 Line-height:18px;

  }
}

/* H2 dans Divi */
.et_pb_module h2,
.et_pb_text h2,
.et_pb_slide_description h2 {
  font-family: "Parkinsans", sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4vw, 50px);
  line-height: clamp(40px, 5vw, 60px);
  color: #333333;
  margin: 1.25rem 0 0.75rem;
}

/* Paragraphes */
.et_pb_text p {
  font-family: "Parkinsans", sans-serif;
  font-weight: 500;
  font-size: 21px;
  line-height: 32px;
  color: #333333;
  margin: 0 0 1rem;
}

/* Listes */
.et_pb_text ul li,
.et_pb_text ol li {
  font-family: "Parkinsans", sans-serif;
  font-weight: 500;
  font-size: 21px;
  line-height: 32px;
  color: #333333;
  margin: 0 0 0.5rem;
}

/* Liens */
.et_pb_text a {
  font-family: "Parkinsans", sans-serif;
  font-weight: 500;
  color: #544287;
  text-decoration: none;
}

.et_pb_text a:hover {
  text-decoration: underline;
}


/* texte centré verticalement */
@media (min-width: 981px) {
  .ligne-centre-vertical {
    display: flex;
    align-items: center;  /* centre verticalement le contenu */
  }
}



/* Boutons personnalisés Divi */
body #page-container .et_pb_section .et_pb_button,
body #page-container .et_pb_section .et_pb_button {
  display: inline-flex;
  align-items: center;
  gap: 0.6em; /* espace entre icône et texte */

  font-family: "Parkinsans", sans-serif;
  font-weight: 700; /* Bold */
  font-size: clamp(19px, 2vw, 20px); /* Responsive */
  line-height: 1.2!important;

  color: #544287 !important;
  background-color: #FFFFFF;
  border-width: 10px !important;
  border-color: #44d62c;
  border-radius: 15px;
  padding: 0.4em 1.2em;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Mobile (≤ 980px) : pleine largeur + centrage */
@media (max-width: 980px) {
  body #page-container .et_pb_section .et_pb_button {
    display: flex;         /* devient un conteneur flex */
    justify-content: center;
    width: 100%;           /* pleine largeur */
    box-sizing: border-box;/* prend en compte le padding dans la largeur */
    margin: 0 auto;        /* au cas où */
      padding: 0.6em 1em! important;
  }
}

/* Icône SVG dans le bouton */
.et_pb_button .btn-icon svg,
.et_pb_button .btn-icon svg {
  width: 1em;
  height: 1em;
  fill: #EA27C2; /* prend la couleur du texte */
}

/* Effet hover */
body #page-container .et_pb_section .et_pb_button:hover {
  box-shadow: 0 10px 0 0 rgba(51, 51, 51, 0.05); /* ombre plus forte */
}

.et_pb_button .btn-icon svg {
  width: 1.8em;   /* prend la taille de la police comme référence */
  height: auto;   /* garde les proportions */
  margin-top: 5px;
}

.et_pb_button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em; /* espace entre icône et texte */
}

body #page-container .et_pb_section .et_pb_button.et_pb_button {
  padding: 0.3em 1.5em; /* écrase le padding trop large */
  font-weight: 700;
}

.et_pb_text {
  text-align: center;
}


