/*
Theme Name: Hello Elementor Child
Theme URI: https://www.apikcrea.fr/
Description: Thème enfant de Hello Elementor
Author: Marie Foucaud
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/
a {
  text-decoration: none !important;
}
.header-principal {
    background-color: rgb(246, 244, 238) !important;

}
/*--HOME NEW*/
/* ==========================================================
   HOME — BULLE ROSE DANS LES LETTRES
   ========================================================== */

.hero-halo {
    --halo-size: 95px;

    --halo-color: #FF1F5A;
    --hero-text-color: #37404F;
    --hero-dynamic-color: #A11E66;
}


/* ==========================================================
   STRUCTURE DES TITRES
   ========================================================== */

.hero-titre-halo .elementor-headline,
.hero-titre-halo2 .elementor-headline {
    position: relative;
}


/*
 * Le texte fixe est reconstruit en mots et en lettres
 * par le JavaScript.
 */
.hero-titre-halo .elementor-headline-plain-text,
.hero-titre-halo2 .elementor-headline-plain-text {
    background: none !important;
    color: inherit !important;
    -webkit-text-fill-color: initial !important;
}


/* Un mot peut passer à la ligne, mais jamais être coupé */
.hero-titre-halo .hero-halo-word,
.hero-titre-halo2 .hero-halo-word {
    display: inline-block;
    white-space: nowrap;
}


/* ==========================================================
   LETTRES DU TEXTE FIXE
   ========================================================== */

.hero-titre-halo .hero-halo-letter,
.hero-titre-halo2 .hero-halo-letter {
    --halo-x: -1000px;
    --halo-y: -1000px;

    display: inline;

    color: transparent !important;
    -webkit-text-fill-color: transparent !important;

    background-image:
        radial-gradient(
            circle var(--halo-size)
            at var(--halo-x) var(--halo-y),

            var(--halo-color) 0%,
            var(--halo-color) 98%,
            transparent 100%
        ),
        linear-gradient(
            var(--hero-text-color),
            var(--hero-text-color)
        );

    background-repeat: no-repeat;

    -webkit-background-clip: text;
    background-clip: text;
}


/* ==========================================================
   MOTS EN ROTATION ELEMENTOR
   ========================================================== */

.hero-titre-halo .elementor-headline-dynamic-text,
.hero-titre-halo2 .elementor-headline-dynamic-text {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    background: none !important;
}


/* Bulle sur chaque lettre du mot tournant */
.hero-titre-halo .elementor-headline-dynamic-letter,
.hero-titre-halo2 .elementor-headline-dynamic-letter {
    --halo-x: -1000px;
    --halo-y: -1000px;

    display: inline-block;

    color: transparent !important;
    -webkit-text-fill-color: transparent !important;

    background-image:
        radial-gradient(
            circle var(--halo-size)
            at var(--halo-x) var(--halo-y),

            var(--halo-color) 0%,
            var(--halo-color) 98%,
            transparent 100%
        ),
        linear-gradient(
            var(--hero-dynamic-color),
            var(--hero-dynamic-color)
        );

    background-repeat: no-repeat;

    -webkit-background-clip: text;
    background-clip: text;
}


/* Elementor ne doit pas imposer une autre couleur */
.hero-titre-halo .elementor-headline-dynamic-wrapper,
.hero-titre-halo2 .elementor-headline-dynamic-wrapper {
    color: transparent !important;
}


/* ==========================================================
   ÉTAT NORMAL — SOURIS HORS DU HERO
   ========================================================== */

.hero-halo:not(.halo-actif)
.hero-titre-halo
.hero-halo-letter,

.hero-halo:not(.halo-actif)
.hero-titre-halo2
.hero-halo-letter {
    background-image:
        linear-gradient(
            var(--hero-text-color),
            var(--hero-text-color)
        );
}


.hero-halo:not(.halo-actif)
.hero-titre-halo
.elementor-headline-dynamic-letter,

.hero-halo:not(.halo-actif)
.hero-titre-halo2
.elementor-headline-dynamic-letter {
    background-image:
        linear-gradient(
            var(--hero-dynamic-color),
            var(--hero-dynamic-color)
        );
}


/* ==========================================================
   MOBILE ET TABLETTE
   ========================================================== */

@media (hover: none), (pointer: coarse), (max-width: 1024px) {

    .hero-titre-halo .hero-halo-letter,
    .hero-titre-halo2 .hero-halo-letter {
        background-image:
            linear-gradient(
                var(--hero-text-color),
                var(--hero-text-color)
            );
    }

    .hero-titre-halo .elementor-headline-dynamic-letter,
    .hero-titre-halo2 .elementor-headline-dynamic-letter {
        background-image:
            linear-gradient(
                var(--hero-dynamic-color),
                var(--hero-dynamic-color)
            );
    }
}


/* ==========================================================
   ACCESSIBILITÉ
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .hero-titre-halo .hero-halo-letter,
    .hero-titre-halo2 .hero-halo-letter,
    .hero-titre-halo .elementor-headline-dynamic-letter,
    .hero-titre-halo2 .elementor-headline-dynamic-letter {
        transition: none !important;
    }
}



/*END HALO HOME*/
/* ============================
   HERO — halo curseur + reveal fuchsia
   ============================ */
.hero-halo-bloc {
  position: relative;
  isolation: isolate;
}


.hero-titre-halo1 .elementor-headline,
.hero-titre-halo2 .elementor-headline {
  position: relative;
  z-index: 1;
  background-image: radial-gradient(
    circle 190px at var(--mx, 50%) var(--my, 50%),
    #FF1F5A 0%,
    #FF1F5A 32%,
    #37404F 78%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* neutralise la couleur posée par Elementor sur les spans internes
   pour laisser passer le dégradé du h3 parent */
.hero-titre-halo1 .elementor-headline-plain-text,
.hero-titre-halo1 .elementor-headline-dynamic-text,
.hero-titre-halo2 .elementor-headline-plain-text,
.hero-titre-halo2 .elementor-headline-dynamic-text {
  color: inherit !important;
}

@media (prefers-reduced-motion: reduce) {
  .cursor-halo { transition: none; }
}
/*HOME*/
.catch-title {
  font-family: "Montserrat", sans-serif !important;
  font-size: 6rem !important;
  font-weight: 300 !important;
  text-transform: uppercase !important;
  line-height: 1.1 !important;
  letter-spacing: 2px !important;
  color: #37404F !important;

  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 24px !important;
  margin: 0 !important;
  width: 100% !important;
}
.dot {
  color: #EC1B69 !important;
}
/* HEADER PRINCIPAL */

.header-principal {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;

    transform: translate3d(0, 0, 0);
    transition: transform 0.35s ease;

    will-change: transform;
    backface-visibility: hidden;
}

/* Header caché pendant la descente */

.header-principal.header-cache {
    transform: translate3d(0, -110%, 0);
}
/*HOME - BTN SCROLL*/
.hero-mouse {
  position: absolute;
  bottom: 40px;
  left: 50%;
  margin-left: -15px;
  text-align: center;
  z-index: 100;
  font-size: 12px;
  text-transform: uppercase;
  color: white;
  font-weight: 600;
  letter-spacing: 1px;
}
.hero-mouse h3 {
  margin-left: -14px;
  padding-top: 15px;
}

.mouse-icon {
  width: 25px;
  height: 45px;
  border-radius: 15px;
  position: relative;
  border: 2px solid #FF1F5A;
  text-align: center;
}
.mouse-icon span {
  width: 3px;
  height: 8px;
  margin: 2px auto 0;
  display: block;
  background: #FF1F5A;
  border-radius: 5px;
  -webkit-animation: 1.2s ease infinite wheel-up-down;
          animation: 1.2s ease infinite wheel-up-down;
}

@-webkit-keyframes wheel-up-down {
  0% {
    margin-top: 2px;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    margin-top: 20px;
    opacity: 0;
  }
}

@keyframes wheel-up-down {
  0% {
    margin-top: 2px;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    margin-top: 20px;
    opacity: 0;
  }
}

/*------------------- MENU PROJET */

.menu-projet {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 900;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate3d(0, -110%, 0);

    transition:
        opacity 0.25s ease,
        transform 0.35s ease;

    will-change: transform, opacity;
    backface-visibility: hidden;
}
        /*item coloré au passe de la section*/
        .menu-projet-liste .elementor-icon-list-text {
    color: #37404F !important;
    transition: color 0.25s ease;
}

.menu-projet-liste a.mPS2id-highlight .elementor-icon-list-text {
    color: #EC1B69 !important;
}
.menu-projet-liste a.mPS2id-highlight,
.menu-projet-liste a.mPS2id-highlight .elementor-icon-list-text {
    color: #EC1B69 !important;
}
/* Menu visible quand le seuil est atteint */

.menu-projet.menu-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translate3d(0, 0, 0);
}

/* Quand le header revient, le menu descend sous celui-ci */

body.header-visible .menu-projet.menu-visible {
    transform: translate3d(
        0,92px,
        0
    );
}
@media (max-width:1024px){
body.header-visible .menu-projet.menu-visible {
    transform: translate3d(0, 110px, 0);
}
}
@media (max-width:7674px){
body.header-visible .menu-projet.menu-visible {
    transform: translate3d(0, 92px, 0);
}
}
/* END HEADER PRINCIPAL */
.premium-button.premium-button-none.premium-btn-md {
  text-decoration: none;
}
/*TITRE tiret page*/
.section-title h2{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom: 1em;
}

.section-title h2::before{
    content:"";
    width:20px;
    height:2px;
    background:#EC1B69;
    flex-shrink:0;
}

@media (max-width:767px){

    .section-title h2{
        gap:15px;
    }

    .section-title h2::before{
        width:40px;
        height:3px;
    }

}
/*end*/
h3.eae-tl-item-title {
    margin-bottom: 5px;
}
/*-----PAGE SHOWCASE*/
    /*ETIQUETTES COMPETENCE*/
.box-competence .elementor-button {
    background: #fdc53057 !important;
    color: #37404F !important;
    font-family: 'Plus Jakarta Sans' !important;
    font-size: 13px !important;
    font-weight: 500;
}
.parallax-soft {
    transform: translate3d(
        0,
        var(--parallax-y, 0px),
        0
    );

    will-change: transform;
}
.premium-img-compare-horizontal .premium-twentytwenty-after-label.premium-twentytwenty-after-label-top, .premium-img-compare-horizontal .premium-twentytwenty-before-label.premium-twentytwenty-before-label-top {
    top: 20px;
}

/*BOX DEFIS*/
/* Animation globale */
.box-defis{
    transition: all .35s ease;
}

/* Boutons tags */
.box-defis .defis-tags .elementor-button{
    transition: background-color .25s ease,
                color .25s ease,
                transform .25s ease;
}
.box-defis .defis-tags .elementor-button{
    background: #eae7da9e
 !important; /* ton jaune */
    transform: translateY(-2px);
}

/* Titre */
.box-defis .elementor-heading-title{
    transition: color .25s ease;
}

/* Icône SVG */
.box-defis .elementor-icon svg{
    transition: transform .35s ease;
}

/* Flèche */
.box-defis .premium-unfold-after{
    transition: transform .3s ease;
}
/* ===== Hover ===== */

.box-defis:hover .defis-tags .elementor-button{
    background: #fdc53057 !important; /* ton jaune */
    transform: translateY(-2px);
}

.box-defis:hover .premium-unfold-after{
    transform: translateX(8px);
}

.box-defis:hover .elementor-icon svg{
    transform: translateY(-3px) scale(1.05);
}

.box-defis:hover .elementor-heading-title{
    color:#1F2636;
}

/*PAGE ABOUT*/
.count span {
    font-size: 20px;
}
.Hero-apropos span {
    color : #FF1F5A;
    font-weight: 400;
}
/*GLASS Effect*/
.glass {
  position: relative;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.12);

  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);

  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;

  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);

  transform: translateZ(0);
}
.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(255, 255, 255, 0.42),
      transparent 35%
    ),
    radial-gradient(
      circle at 90% 85%,
      rgba(255, 31, 90, 0.16),
      transparent 42%
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.18),
      rgba(255, 255, 255, 0.03)
    );

  opacity: 0.9;
}
        /*----ARRIVE DES LETTRES EN BLUR HERO*/

        /* Les deux blocs restent invisibles avant le lancement du script */
.creer,
.comprendre {
  visibility: hidden;
}

/* Une fois les lettres préparées */
.creer.texte-prepare,
.comprendre.texte-prepare {
  visibility: visible;
}

/* Chaque lettre */
.creer .lettre-blur,
.comprendre .lettre-blur {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(22px) scale(0.94);

  animation-name: apparition-lettre-blur;
  animation-duration: 0.9s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: forwards;

  animation-delay:
    calc(
      var(--delai-bloc, 0ms) +
      var(--index-lettre) * 35ms
    );

  will-change: opacity, filter, transform;
}

/* Les espaces doivent conserver leur largeur */
.creer .lettre-espace,
.comprendre .lettre-espace {
  width: 0.28em;
}

@keyframes apparition-lettre-blur {
  0% {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(22px) scale(0.94);
  }

  55% {
    opacity: 0.75;
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  .creer,
  .comprendre {
    visibility: visible;
  }

  .creer .lettre-blur,
  .comprendre .lettre-blur {
    opacity: 1;
    filter: none;
    transform: none;
    animation: none;
  }
}
.mot-blur {
  display: inline-block;
  white-space: nowrap;
}

/***---PAGE A PROPOS----**/
 .skill {

    display: flex;

    flex-direction: column;

}

.skill .icon-app {

    margin-top: auto;

}
.grid-skills .skill {
  opacity: 1;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: opacity 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
}

.grid-skills:hover .skill {
  opacity: 0.2;
}

.grid-skills .skill:hover {
  opacity: 1;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
/*steps*/
/*steps - accordion horizontal au hover*/
/*steps - accordion horizontal au hover*/
.steps-about {
  display: flex !important;
  align-items: stretch;
  gap: 40px;
  height: 320px !important;
  overflow: hidden !important;
}

.steps-about .step-box {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex !important;
  align-items: flex-start;
  overflow: hidden;
  cursor: pointer;
  padding: 20px 30px 30px 0px;
  box-sizing: border-box;
  transition: flex-grow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.steps-about:hover .step-box {
  flex-grow: 0.35 !important;
}

.steps-about .step-box:hover {
  flex-grow: 2 !important;
}

.step-box .step-number {
  flex-shrink: 0;
  margin: 0 20px 0 0;
  color: #827e66 !important;
  transform-origin: left top;
  transition: color 0.4s ease, transform 0.4s ease;
}

.step-box:hover .step-number {
  color: #FF1F5A !important;
  transform: none !important;
}
.steps-about:hover .step-box .step-number {
  transform: scale(0.55);
}
.step-box .step-text {
  flex-shrink: 0;
  width: 450px;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  opacity: 0 !important;
  transform: translateX(20px) !important;
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.step-box:hover .step-text {
  opacity: 1 !important;
  transform: translateX(0) !important;
}
/* boîte 1 ouverte par défaut, tant qu'on ne survole rien dans le container */
.steps-about:not(:hover) .step-box:first-child {
  flex-grow: 4 !important;
}

.steps-about:not(:hover) .step-box:first-child .step-number {
  color: #FF1F5A !important;
  transform: none;
}

.steps-about:not(:hover) .step-box:first-child .step-text {
  opacity: 1 !important;
  transform: translateX(0) !important;
}
@media (hover: none), (pointer: coarse), (max-width: 1024px) {
  .grid-skills:hover .skill,
  .grid-skills .skill:hover {
    opacity: 1 !important;
    box-shadow: none !important;
  }
  .skill-box-title {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }
}
@media (hover: none), (max-width: 768px) {
  .steps-about {
    flex-direction: column !important;
    height: auto !important;
  }
  .steps-about .step-box {
    flex-grow: 1 !important;
    padding: 20px;
  }
  .step-box .step-text {
    width: auto;
    opacity: 1 !important;
    transform: none !important;
  }
  .grid-skills .skill {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}