/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/** General*/
.gradient-primary{
	background: linear-gradient(90deg, #CB30E0 0%, #5856D6 72.59615659713745%, #5856D6 100%) !important; 
	-webkit-background-clip: text !important; 
	-webkit-text-fill-color: transparent ! important;
}

.elementor-widget .elementor-icon-wrapper{
	display: flex;
	align-items: center;
}

/*All accordion item background*/
.elementor-widget-n-accordion{
    background-color: transparent!important;
}

.e-n-accordion-item-title + div {
    background-color: #111113!important;
    border-radius: 0 0 8px 8px!important;
    padding-left: 12px!important;
}

/* Home */
.hfe-post-image a img {
  width: 100%;
  height: 300px;        /* hauteur fixe identique pour toutes les cartes */
  object-fit: cover;    /* rogne l'image pour remplir l'espace sans déformation */
  object-position: center; /* centre le recadrage (optionnel, ajustable) */
  display: block;
}

/* Program Accordion */

.custom-accordion .accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.elementor-editor-active .accordion-content {
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
}

.custom-accordion .accordion-item.active .accordion-content {
  max-height: 600px; /* ou dynamique en JS */
  padding: 5px 0;
}

.custom-accordion .accordion-header {
  cursor: pointer;
  width: 100%;
}

.custom-accordion .accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.6s ease;
}

.custom-accordion .target{
  color: #5856D6;
  font-size: 32px; /* ajuste selon ta préférence */
  line-height: 1;
  font-weight: 300;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
}

.splide {
    margin: 0 auto !important;
    max-width: 1200px;
    position: relative !important;
}

/*Splide carousel*/

.splide__track {
    margin: 0 60px !important;
}

.splide__arrow {
    z-index: 100 !important;
	background : none !important;
    width: 3em !important;
    height: 3em !important;
    border-radius: 50% !important;
    cursor: pointer !important;
}

.splide__arrow--prev {
    left: 0 !important;
}

.splide__arrow--next {
    right: 0 !important;
}

.splide__arrow svg {
    fill: #fff !important;
}

.splide__arrow svg :hover {
    fill: #5856D6 !important;
}

.splide__pagination__page, .splide__pagination__page:hover {
    background-color: white!important;
}

/* ===================== */
/* STRUCTURE DU CAROUSEL */
/* ===================== */
.testimonial-slide-inner {
    min-width: 360px;
    justify-content: center;
    align-items: center;
    gap: 24px;
    display: inline-flex;
    width: 100%;
}

/* ===================== */
/* CARTE TÉMOIGNAGE      */
/* ===================== */
.testimonial-card {
    flex: 1 1 0;
    padding: 1px;
    background: linear-gradient(145deg, #131316 0%, #1D1D20 100%);
    border-radius: 10px;
    outline: 1px rgba(48, 48, 54, 0.50) solid;
    outline-offset: -1px;
    backdrop-filter: blur(2px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: inline-flex;
    width: 100%;
}

.testimonial-card-inner {
    align-self: stretch;
    height: 366px;
    padding: 54px 24px;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    display: flex;
}

/* ===================== */
/* ÉTOILES + LOGO        */
/* ===================== */
.testimonial-header {
    align-self: stretch;
    justify-content: space-between;
    align-items: flex-start;
    display: inline-flex;
}

.testimonial-stars {
    flex: 1 1 0;
    justify-content: flex-start;
    align-items: center;
    gap: 4px;
    display: flex;
}

.testimonial-star {
    width: 16px;
    height: 16px;
    position: relative;
}

.testimonial-star-inner {
    width: 13.33px;
    height: 12.71px;
    left: 1.33px;
    top: 1.33px;
    position: absolute;
    background: #5856D6;
}

.testimonial-logo {
    width: 44px;
    height: auto;
    position: relative;
    overflow: hidden;
}

/* ===================== */
/* CORPS DU TÉMOIGNAGE   */
/* ===================== */
.testimonial-body {
    align-self: stretch;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    display: flex;
}

.testimonial-quote-icon {
    width: 32px;
    height: 32px;
    position: relative;
}

.testimonial-quote-icon-bar-right {
    width: 9.33px;
    height: 24px;
    left: 18.67px;
    top: 4px;
    position: absolute;
    outline: 2.67px #48A9A6 solid;
    outline-offset: -1.33px;
}

.testimonial-quote-icon-bar-left {
    width: 9.33px;
    height: 24px;
    left: 4px;
    top: 4px;
    position: absolute;
    outline: 2.67px #48A9A6 solid;
    outline-offset: -1.33px;
}

.testimonial-text {
    align-self: stretch;
    padding-bottom: 8px;
}

.testimonial-stars {
    color: #5856D6; /* couleur des étoiles */
    font-size: 16px;
    letter-spacing: 2px; /* espace entre les étoiles */
}

/* ============================= */
/* TEXTE - MODIFIABLE PAR CLIENT */
/* ============================= */
.testimonial-quote {
    color: #FAFAFA;
    font-size: 14px;
    font-family: Lato;
    font-style: italic;
    font-weight: 400;
    line-height: 22.75px;
    word-wrap: break-word;
}

/* ===================== */
/* AUTEUR                */
/* ===================== */
.testimonial-author {
    align-self: stretch;
    padding-top: 17px;
    border-top: 1px rgba(48, 48, 54, 0.50) solid;
}

/* ============================= */
/* TEXTE - MODIFIABLE PAR CLIENT */
/* ============================= */
.testimonial-author-name {
    color: #FAFAFA;
    font-size: 14px;
    font-family: Lato;
    font-weight: 900;
    line-height: 20px;
}

/* ============================= */
/* TEXTE - MODIFIABLE PAR CLIENT */
/* ============================= */
.testimonial-author-role {
    color: #A1A1AA;
    font-size: 16px;
    font-family: Lato;
    font-weight: 400;
    line-height: 16px;
}

/* Flip Card Accordion */

/* PANNEAUX */
.accordion-panels {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.panel-trigger {
  padding: 26px 33px;
  background: linear-gradient(155deg, rgba(97,85,245,0.08) 0%, rgba(0,0,0,0) 100%),
              linear-gradient(152deg, rgba(19,19,22,0) 0%, #1D1D20 100%);
  border-radius: 16px;
  outline: 1px rgba(255,255,255,0.10) solid;
  outline-offset: -1px;
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: outline 0.2s ease;
}

.panel-trigger.is-active {
  outline: 2px #5856D6 solid;
  padding: 32px;
}

.panel-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 30px;
  font-family: Lato, sans-serif;
  font-weight: 800;
  line-height: 36px;
}

.panel-icon {
  width: 20px;
  text-align: center;
}

/* CARTE DROITE */
.flip-stage {
  position: relative;
  height: 650px;
  perspective: 1200px;
}

.flip-card-1 {
  background-image: url("/wp-content/uploads/2026/02/Container-1.png");
  background-size: cover;
  background-position: center;
}
.flip-card-2 {
  background-image: url("/wp-content/uploads/BackgroundBorder-5.png");
  background-size: cover;
  background-position: center;
}

.flip-card-3 {
  background-image: url("/wp-content/uploads/ea709114682ea4d0077f6bd7790387b0.webp");
  background-size: cover;
  background-position: center;
}

.flip-card-4 {
  background-image: url("/wp-content/uploads/607e5a0c1331c036fc722acf8ad52afc.webp");
  background-size: cover;
  background-position: center;
}

.flip-card-5 {
  background-image: url("/wp-content/uploads/754194ab9534cbaa8d1d82834f760731.webp");
  background-size: cover;
  background-position: center;
}

.flip-card-6 {
  background-image: url("/wp-content/uploads/ccdf14c10ab3f045646f0f49a1b4960f-3.webp");
  background-size: cover;
  background-position: center;
}

.flip-card {
  display: flex;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 32px;
  border-radius: 16px;
  outline: 2px #5856D6 solid;
  outline-offset: -2px;
  backdrop-filter: blur(10px);
  background-color: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  transition: none;
}

.flip-card.is-visible {
  opacity: 1;
  visibility: visible;
  position: relative;
  animation: flipIn 0.45s cubic-bezier(0.4, 0.2, 0.2, 1) forwards;
}

@keyframes flipIn {
  from {
    opacity: 0;
    transform: rotateY(90deg);
  }
  to {
    opacity: 1;
    transform: rotateY(0deg);
  }
}

/* CONTENU CARTE */
.flip-card h3 {
  color: white;
  font-size: 30px;
  font-family: Lato, sans-serif;
  font-weight: 800;
  line-height: 36px;
}

.flip-card p {
  color: #F6FAF9;
  font-size: 24px;
  font-family: Lato, sans-serif;
  font-weight: 400;
  line-height: 35px;
  text-align: center;
}

.flip-card .accent {
  color: #5856D6;
}

/* Search Container Blog Page
.search-container-blog-1{
	width: 70% !important;
	max-width: 70% !important;
}

.tpgb-search-bar .tpgb-pagelink {
    color: rgb(255, 255, 255) !important;
    padding: 5px;
    background: #5856D6!important;
	border-color: #5856D6!important;
}}*/

.astra-dark-mode-enable form .form-row textarea, .astra-dark-mode-enable input[type=email], .astra-dark-mode-enable input[type=number], .astra-dark-mode-enable input[type=password], .astra-dark-mode-enable input[type=reset], .astra-dark-mode-enable input[type=search], .astra-dark-mode-enable input[type=tel], .astra-dark-mode-enable input[type=text], .astra-dark-mode-enable input[type=url], .astra-dark-mode-enable textarea .tpgb-block-b212_34553 .tpgb-search-form .tpgb-search-input  .tpgb-search-input:focus{
	background: 1A1A1D !important;
	color: white !important;
	border-color: none!important;
}

/* Animation Card Course Experience*/
.stack-section {
  position: relative;
  overflow: visible;
}

.stack-card {
  opacity: 0;
  transform: translate(-60px, -60px);
  transition: 
    transform 1.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1.2s ease;
  will-change: transform, opacity;
}

/* Etat final */
.stack-section.is-visible .stack-card {
  opacity: 1;
  transform: translate(0, 0);
}

.stack-section.is-visible .stack-card:nth-child(1) {
  transition-delay: 0.1s;
}

.stack-section.is-visible .stack-card:nth-child(2) {
  transition-delay: 0.25s;
}

.stack-section.is-visible .stack-card:nth-child(3) {
  transition-delay: 0.4s;
}

.elementor-editor-active .stack-card {
  opacity: 1 !important;
  transform: none !important;
}

/* Transparent background for Lottie files*/
dotlottie-wc {
  background: transparent !important;
}

dotlottie-wc canvas,
dotlottie-wc svg {
  background: transparent !important;
}

/*Price tab spacing*/
.tab-container{
width: 1200px;
}

.tab-content{
max-width:200px!important;
width:200px!important;
padding 0px 0px !important;
}

.tab-header{
max-width:300px!important;
width:300px!important;
padding 0px 0px !important;
}

/* Dans l'éditeur Elementor uniquement */
.elementor-editor-active .accordion-content {
  max-height: 2000px !important;
  overflow: visible !important;
}

.elementor-editor-active .accordion-item {
  border: 1px dashed #aaa; /* optionnel, aide à visualiser les blocs */
}


/*Animation hover*/
.elementor-widget-container {
  transition: transform 0.4s ease;
}

.elementor-widget-container:hover {
  transform: translateY(-6px);
}

.card-hover, .elmt-hover{
 transition: 
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
  will-change: transform;
}

.card-hover:hover, .elmt-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Boutons Elementor — transitions et performance */
.elementor-button {
  will-change: transform, filter;
  transition: 
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    filter 0.3s ease; /* ajouté pour le hover sur fond variable */
}

/* Hover — lift léger + ombre + fond plus foncé automatiquement */
.elementor-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  filter: brightness(0.85); /* assombrit légèrement quelle que soit la couleur */
}

.card-hover .elementor-heading-title {
  transition: transform 0.4s ease;
}

h1:hover, h2:hover, h3:hover, .card-hover .elementor-heading-title:hover {
  transform: translateY(-3px);
}

.gradient-primary h1:hover, .gradient-primary h2:hover, .gradient-primary h3:hover{
	background: linear-gradient(90deg, #CB30E0 0%, #5856D6 72.59615659713745%, #5856D6 100%) !important; 
	-webkit-background-clip: text !important; 
	-webkit-text-fill-color: transparent ! important;
}

body:not(.elementor-editor-active) .e-parent > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

body:not(.elementor-editor-active) .e-parent.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/*About*/
/*Cards with content*/
.img-content-card{
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/*Engine*/
/*Header stars*/
.cross-stars{
    margin-left:-5px!important;
}
