/* 
Theme Name: Le pro du Web
Theme URI: https://leproduweb.fr
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Art'Com Bureautique
Author: Le pro du Web
Author URI: https://leproduweb
Template: hello-elementor
Version: 3.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* Textes */


@media screen and  (max-width : 1440px) {
    h1, h1 span { font-size: calc(24px + (42 - 24) * ((100vw - 320px) / (1440 - 320)))!important; line-height: calc(22px + (44 - 22) * ((100vw - 320px) / (1440 - 320)))!important;}
    h2, h2 span { font-size: calc(18px + (26 - 18) * ((100vw - 320px) / (1440 - 320)))!important; line-height: calc(20px + (28 - 20) * ((100vw - 320px) / (1440 - 320)))!important;}
    h3, h3 span { font-size: calc(15px + (24 - 15) * ((100vw - 320px) / (1440 - 320)))!important; line-height: calc(18px + (26 - 18) * ((100vw - 320px) / (1440 - 320)))!important;}
    }

    
p { margin-block-end: 0; margin-block-start: 0; }
.h3-texte h3 {font-size: 20px;}


/* onglet menu.  */
.e-n-tabs-heading button .e-n-tab-title-text, .titre2lignes ul li .elementor-icon-list-text {display: flex; flex-direction: column; align-items: start; justify-content: flex-start;}
.e-n-tabs-heading button .e-n-tab-title-text span, .titre2lignes ul li .elementor-icon-list-text span {font-family: Montserrat, sans-serif; font-size: 14px; font-weight: 400;}
.autre-prestation a {font-family: "Fraunces", Sans-serif;}

/* ----------- FAQ Prestation -------------------------- */
/* === FAQ Accordion (style "capture") === */
.prestation-faq-accordion{
  width: 100%;
  display: block;
}

/* Item = aucune carte arrondie, séparateurs francs */
.prestation-faq-accordion .pfaq-item{
  margin: 0;
  border: 0;
  border-bottom: 1px solid #000;
  background: transparent;
}

/* Barre question */
.prestation-faq-accordion .pfaq-trigger{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* icône + titre à gauche */
  gap: 18px;
  padding: 12px 28px;
  border: 0;
  background: #000; /* gris sombre comme capture */
  color: #fff;
  cursor: pointer;
  text-align: left;
  line-height: 1.2;
  border-radius: 0px;
}

/* Titre */
.prestation-faq-accordion .pfaq-title{
  font-weight: 400;
  font-size: 16px;
  letter-spacing: .2px;
  text-transform: none;
}

/* Icône + / - à gauche */
.prestation-faq-accordion .pfaq-icon{
  order: -1;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 26px;
}

/* Traits du + */
.prestation-faq-accordion .pfaq-icon::before,
.prestation-faq-accordion .pfaq-icon::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform: translate(-50%,-50%);
  width: 10px;
  height: 1px;
  background: currentColor;
}

/* barre verticale du + */
.prestation-faq-accordion .pfaq-icon::after{
  transform: translate(-50%,-50%) rotate(90deg);
}

/* Ouvert => "-" */
.prestation-faq-accordion .pfaq-item.is-open .pfaq-trigger{
  background: #3a3a3a; /* léger différentiel */
}

.prestation-faq-accordion .pfaq-item.is-open .pfaq-icon::after{
  opacity: 0; /* enlève la verticale */
}

/* Panel réponse */
.prestation-faq-accordion .pfaq-panel{
  background: #f3f3f3; /* fond clair comme capture */
    max-height: 0;                 /* fermé par défaut */
  overflow: hidden;
  transition: max-height .60s ease;
  will-change: max-height;
}
.prestation-faq-accordion .pfaq-item.is-open .pfaq-panel{
  /* rien ici, la valeur est calculée */
}

.prestation-faq-accordion .pfaq-content{
  padding: 28px;
  color: #1b1b1b;
  font-size: 16px;
  line-height: 1.7;
}

.prestation-faq-accordion .pfaq-content > :first-child{ margin-top: 0; }
.prestation-faq-accordion .pfaq-content > :last-child{ margin-bottom: 0; }

/* Focus clavier propre */
.prestation-faq-accordion .pfaq-trigger:focus-visible{
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Optionnel : enlever le border-bottom du dernier */
.prestation-faq-accordion .pfaq-item:last-child{
  border-bottom: 0;
}