/*
Theme Name: AVA-CSI Thème de base
Template: Divi
Theme URI: https://www.elegantthemes.com/gallery/divi/
Version: 2.0.0
Description: Thème de la SARL AVA-CSI créé avec une base Divi.
Author: AVA - CSI
Author URI: https://ava-csi.fr
Tags: Informatique, Communication, Service, Montpellier, Occitanie
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/****************Déclaration des variables****************/
:root {
    --menu-item-height: 45px; /* ajustable selon ta police */
}
/**************Fin Déclaration des variables**************/
/*****************Déclaration des polices*****************/
@font-face {
  font-family: "Butler Regular";
  src: url("fonts/Butler_Regular.woff2") format("woff2"),
       url("fonts/Butler_Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Butler Ultra Light";
  src: url("fonts/Butler_Ultra_Light.woff2") format("woff2"),
       url("fonts/Butler_Ultra_Light.woff") format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Regular.woff2") format("woff2"),
       url("fonts/Lato-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("fonts/Lato-Thin.woff2") format("woff2"),
       url("fonts/Lato-Thin.woff") format("woff");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
/***************Fin Déclaration des polices***************/
/*************************Commun**************************/
html, body {
  font-family: "Lato", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #222;
}

body {
  margin-left: 70px; /* même largeur que ta barre */
}

h1, h2, h3, h4 {
  font-family: "Butler Regular", serif;
  letter-spacing: .2px;
}

#ava-page-transition {
  position: fixed;
  inset: 0;
  background: #0d0d0d; /* noir AVA */
  z-index: 9999;
  pointer-events: none;
  will-change: transform;
  transform: translateY(0%);
}
/**************************Menu***************************/
/****************Barre latérale fixe****************/
#ava-sidebar {
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 70px;                /* largeur de la barre (ajuste) */
  height: 100vh;
  background: #0d0d0d;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 30px;
  gap: 30px;                  /* espacement vertical */
  z-index: 10005;             /* au-dessus du header */
}

/* La section Bandeau latéral ne doit plus prendre d'espace vertical */
.et_pb_section.ava-sidebar-section {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 70px !important;
  height: 100vh !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 10005 !important;
}

/* Zone 1 — haut */
.ava-sidebar-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* mini-logo */
#ava-sidebar-logo img {
  width: 80px;
  height: auto;
  cursor: pointer;
  filter: brightness(0) invert(1); /* si logo noir → devient blanc */
  margin-top: 15%;
}

/* burger */
#ava-sidebar-burger {
  cursor: pointer;
  transition: 0.2s ease;
}

#ava-sidebar-burger:hover {
  transform: scale(1.15);
}

.ava-sidebar-dots {
  position: absolute;
  top: 50%;
  left: 26px;
  display: flex;
  flex-direction: column;
  gap: 28px; /* même valeur que #ava-menu li */
  transform: translateY(-50%); /* centre vertical */
}

/* Animation icône personnalisée */
.ava-sidebar-dots span {
  width: 20px;
  height: 20px;
  display: block;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.7;
  transition: transform 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

.ava-sidebar-dots span:hover {
  transform: scale(1.5);
  opacity: 1;
  filter: brightness(1.5);
}

.ava-sidebar-dots span:hover {
  transform: scale(1.5);
}

.ava-sidebar-dots span:nth-child(1) {
  background-image: url("https://dev.ava-csi.fr/wp-content/uploads/2026/03/icone-accueil.svg");
}

.ava-sidebar-dots span:nth-child(2) {
  background-image: url("https://dev.ava-csi.fr/wp-content/uploads/2026/03/icone-a-propos.svg");
}

.ava-sidebar-dots span:nth-child(3) {
  background-image: url("https://dev.ava-csi.fr/wp-content/uploads/2026/03/icone-services.svg");
}

.ava-sidebar-dots span:nth-child(4) {
  background-image: url("https://dev.ava-csi.fr/wp-content/uploads/2026/03/icone-realisations.svg");
}

.ava-sidebar-dots span:nth-child(5) {
  background-image: url("https://dev.ava-csi.fr/wp-content/uploads/2026/03/icone-faq.svg");
}

.ava-sidebar-dots span:nth-child(6) {
  background-image: url("https://dev.ava-csi.fr/wp-content/uploads/2026/03/icone-contact.svg");
}

#ava-menu li:hover {
  color: red;
}

.ava-sidebar-dots span.active {
  transform: scale(1.35);
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(22%) sepia(96%) saturate(7500%) hue-rotate(0deg) brightness(105%) contrast(105%);
  /* Ce filtre transforme le SVG blanc → rouge vif */
}

/* TEXTE — état actif */
#ava-menu li.active a {
  color: #ff3b30; /* Rouge iOS, très premium */
  transform: translateX(8px);
}
/*****Overlay (fond sombre derrière le panneau)*****/
#menu-overlay {
  position: fixed;
  inset: 0; /* top:0 + left:0 + width/height auto */
  left: 70px; /* démarre à droite de la sidebar */
  width: calc(100vw - 70px);
  height: 100vh;
  background: rgba(0,0,0,0.65); /* intensité du fond */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9998;
}

#menu-overlay.show {
  opacity: 1;
  visibility: visible;
}
/***************Panel du menu latéral***************/
#side-menu {
  /* apparence & placement */
  background: #0d0d0d;
  position: fixed;
  top: 0;
  left: -100%; /* menu caché par défaut */
  width: 75%;
  max-width: 160px;
  height: 100vh;
  z-index: 9999;
  box-shadow: 10px 0 35px rgba(0,0,0,0.5);

  /* interne */
  padding: 60px 0px 55px 0px; /* top / right / bottom / left */
  overflow-y: auto;
  transition: all 0.45s cubic-bezier(.25,.8,.25,1);

  /* layout en 2 colonnes : icônes / labels */
  display: flex;
  flex-direction: column;
  gap: 30px;
}

#side-menu {
  left: calc(-100% + 70px); /* panel caché mais juste après la sidebar */
}

#side-menu.open {
  left: 70px !important; /* démarre APRES la barre latérale */
}
/*********Mini-logo (placeholder cliquable)*********/
#side-menu-logo {
  grid-column: 1 / span 2;
  margin-bottom: 40px;
}

#side-menu-logo img {
  width: 55px;
  height: auto;
  margin-bottom: 40px;         /* espace sous le logo */
}
/**********Structure du menu Divi (ul/li/a)*********/
#ava-menu {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px; /* ESPACEMENT EXACT ENTRE LIGNES */
}

#ava-menu li {
  height: 20px;           /* hauteur parfaite pour aligner les spans */
  display: flex;
  align-items: center;
}

#ava-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 19px;
  font-weight: 600;
  transition: 0.2s;
}

#ava-menu li a:hover {
  color: #1abc9c;
  transform: translateX(10px);
}
/**********************Tagline**********************/
/* Zone 3 — bas */
.ava-sidebar-bottom {
  margin-bottom: 20px;
}

.sidebar-tagline {
  writing-mode: vertical-rl; /* OPTIONNEL → style très agence */
  transform: rotate(180deg); /* pour que ce soit lisible */
  color: #fffdfd;
  font-size: 11px;
  opacity: 0.7;
}
/************************Fin Menu*************************/
/*************************Accueil*************************/
/********************Section 01*********************/
/* Force la colonne et le module CODE à prendre toute la hauteur */
#hero-section .et_pb_row,
#hero-section .et_pb_column,
#hero-section .et_pb_code,
#hero-section .et_pb_code_inner {
  height: 100% !important;
  min-height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Force le wrapper vidéo à occuper toute la section */
.video-wrapper {
  position: absolute !important;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
}

/* Vidéo fullscreen */
.video-wrapper video {
  position: absolute !important;
  top: 50%;
  left: 50%;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
  transform: translate(-50%, -50%) !important;
  z-index: 1 !important;
}

/* SECTION FULLSCREEN */
#hero-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* NEUTRALISE ROW DIVI */
.hero-row {
  padding: 0 !important;
  margin: 0 !important;
  height: 100% !important;
}

/* NEUTRALISE COLONNE DIVI */
.hero-col {
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 100% !important;
  position: relative;
  mix-blend-mode: normal !important;
  isolation: unset !important;
}

/* TEXTE CENTRÉ */
.hero-text {
  position: absolute !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10 !important; /* Au-dessus de la vidéo */
}

.et_pb_text_inner {
  position: relative !important;
  z-index: 10 !important;
}

/* BLEND MODE (WINK) */
.hero-title,
.hero-sub {
  color: #fff;
  mix-blend-mode: exclusion;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.hero-title {
  font-size: 7vw !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
}

.hero-sub {
  font-size: 1.8vw !important;
  font-weight: 400 !important;
  margin-top: 10px;
}

/* --- Scroll Down Button (Premium Clean) --- */
.ava-scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 30; /* au-dessus de la vidéo et du texte */
  display: flex;
  justify-content: center;
  align-items: center;
}

.ava-scroll-circle {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 50%;
  opacity: 0.8;
  transition: 0.25s ease;
  backdrop-filter: blur(2px); /* effet verre léger */
}

.ava-scroll-arrow {
  position: absolute;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  animation: avaArrowBounce 1.5s infinite ease-in-out;
  pointer-events: none;
}

/* Hover */
.ava-scroll-down:hover .ava-scroll-circle {
  opacity: 1;
  transform: scale(1.15);
  border-color: #ffffff;
}

/* Animation rebond subtile premium */
@keyframes avaArrowBounce {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(6px); }
  100% { transform: translateY(0px); }
}
/********************Section 02*********************/

/********************Section 03*********************/

/********************Section 04*********************/
.ava-manifest-text {
  --text-color: rgba(255,255,255,0.28);
  --text-active: #ffffff;
  --bg-color: #000000;

  background-color: var(--bg-color);
  transition: background-color 0.4s ease;
}

.ava-manifest-text.is-hover {
  --text-color: rgba(0,0,0,0.35);
  --text-active: #000000;
  --bg-color: #ffffff;
}

/* Texte réel */
.ava-manifest-text .et_pb_text_inner {
  color: rgba(255,255,255,0.28);
}

.char-animate {
  transition:
    color 0.35s ease-out,
    transform 0.4s ease;
}

/* Chaque lettre */
.ava-manifest-text .char-animate {
  display: inline-block;
  color: var(--text-color);
  transition-property: color;
  transition-duration: 0.35s;
  transition-timing-function: ease-out;
}

.is-hover .is-active .char-animate {
  transform: translateY(-1px);
}

/* Activation globale */
.ava-manifest-text.is-active .char-animate {
  color: var(--text-active)
}

/* Illusion de montée verticale (ligne + lettre) */
.ava-manifest-text.is-active .char-animate {
  transition-delay:
    calc(
      (var(--line-index) * 0.6s)
      + (var(--char-in-line) * 18ms)
    );
}

.ava-manifest-text,
.ava-manifest-text * {
  mix-blend-mode: normal !important;
}

.ava-manifest-text .et_pb_text_inner {
  color: rgba(255,255,255,0.28) !important;
  text-shadow: none !important;
}


.ava-manifest-text .ava-line {
  display: block;
}
/********************Section 07*********************/
.section-ava-forces {
  padding: 120px 0;
  background: #fafafa; /* ultra clair, propre */
}

/* Grille 3x2 premium */
.ava-forces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: stretch;
  align-items: center;
}

/* Container */
.ava-flip-card {
  width: 250px;       /* un peu plus large */
  height: 250px;
  perspective: 1600px;  /* plus deep = effet luxe */
  background: #ffffff;
  box-shadow: 
    0 20px 45px rgba(0,0,0,0.08),
    inset 0 0 0 1px #e9e9e9; /* cadre subtil */
}

/* Inner */
.ava-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(.15,.85,.35,1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

/* Hover */
.ava-flip-card:hover .ava-flip-inner {
  transform: rotateY(180deg);
}

/* Faces communes */
.ava-flip-front,
.ava-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 25px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.07); /* soft shadow */
  background: white;
}

.ava-flip-front {
  background: #ffffff;
  transform: rotateY(0deg);
}

.ava-flip-front .ava-lottie-feature {
  margin-top: 14%;
  width: 350px;
  height: 260px;
}

.ava-flip-front h3 {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #222;
}

/* Lottie dans la face avant */
.ava-flip-front lottie-player {
  width: 200px;
  height: 200px;
  margin-bottom: 10px;
}

.ava-flip-full-visual .ava-flip-front {
  background: transparent;
  position: absolute;
  padding: 0;
  overflow: hidden;
  inset: 0;
  transform: translateZ(0); /* force le plan visible */
}

/* Le Lottie devient le fond */
.ava-flip-full-visual .ava-flip-front lottie-player,
.ava-flip-full-visual .ava-flip-front .ava-lottie-feature {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
  transform: translateZ(0); /* CRUCIAL */
  z-index: 1;
}

.ava-flip-full-visual .ava-flip-front lottie-player {
  width: 101%;
  height: 101%;
  top: -0.5%;
  left: -0.5%;
}

.ava-solutions-tight .ava-flip-front lottie-player {
  width: 120%;
  height: 120%;
  top: -18%;
  left: -15%;
}

/* Le titre devient une couche éditoriale */
.ava-flip-full-visual .ava-flip-front h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 14px 12px;
  font-size: 1.05rem;
  font-weight: 500;
  text-align: center;
  color: #1d1d1b;
  background: linear-gradient(
    to top,
    rgba(255,255,255,0.96),
    rgba(255,255,255,0.75),
    rgba(255,255,255,0)
  );
  backdrop-filter: blur(1px);
  z-index: 2;
}

.ava-flip-back {
  transform: rotateY(180deg);
  background: #0d0d0d;                  /* noir luxe */
  color: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.20);
}

.ava-flip-back p {
  font-size: 1rem;
  line-height: 1.55;
  opacity: 0.95;
}

.ava-flip-card:hover {
  transform: translateY(-8px);
  transition: 0.3s ease;
}
/********************Section 08*********************/
/* Chaque carte doit avoir un contexte propre */
.ava-team-card {
  position: relative;
  text-align: center;
  padding-top: 20vw; /* réserve la place pour la photo */
}

/* LETTRE géante (en module Texte, au-dessus au repos) */
.ava-team-letter {
  position: relative;
  font-family: "Butler Regular", serif;
  font-size: 36vw;
  line-height: 0.75;
  margin-top: 6vw;
  margin-bottom: -10vw; /* clé importante */
  pointer-events: none;
  z-index: 150;
  color: rgba(0,0,0,0.08);
}

/* MODULE CODE contenant la photo */
.ava-team-photo-module {
  position: relative !important;
  z-index: 1 !important; /* derrière la lettre au repos */
}

/* MODULE CODE au hover → remonte devant la lettre */
.ava-team-photo-module:hover {
  z-index: 300 !important;
}

/* Photo superposée SUR la lettre mais sans margin-top hack */
.ava-team-photo {
  position: absolute;          /* superposition propre */
  top: 50%;                    
  left: 50%;
  width: 100%;
  transform: translate(-50%, -60%); /* ajustement fin visuel */
  overflow: hidden;
  box-shadow: 0 12px 38px rgba(0,0,0,0.12);
  transition: 0.4s ease;
  z-index: 2;                  /* en dessous de la lettre */
}

/* Image interne */
.ava-team-photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s ease;
}

/* AU HOVER → tilt + zoom + remonte devant la lettre */
.ava-team-photo:hover {
  z-index: 300;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

.ava-team-photo:hover img {
  transform: scale(1.12);
}

/* 2 — L'overlay coloré + flou */
.ava-team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 194, 255, 0); /* couleur du logo mais transparente au repos */
  backdrop-filter: blur(0px);
  opacity: 0;
  transition: 0.4s ease;
  z-index: 5; /* au dessus de l'image */
}

/* 3 — Le texte caché en overlay */
.ava-team-photo .ava-team-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.4s ease;
  z-index: 6;
  text-shadow: 0 5px 20px rgba(0,0,0,0.4);
}

.ava-team-photo:hover::after {
  backdrop-filter: blur(4px);
  opacity: 1;
}

/* 6 — HOVER : Texte affiché */
.ava-team-photo:hover .ava-team-overlay-text {
  opacity: 1;
  transform: translateY(0);
}

/* ARNAUD – SCAN VERTICAL */
/* Overlay couleur (bleu) */
.ava-team-photo.arnaud::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 88, 144, 0);
  backdrop-filter: blur(0px);
  opacity: 0;
  transition: 0.4s ease;
  z-index: 3;
}

/* Scan vertical animé */
.ava-team-photo.arnaud::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 80%;
  background: linear-gradient(to bottom,
    rgba(0, 88, 144, 0.0),
    rgba(0, 88, 144, 0.28),
    rgba(0, 88, 144, 0.0)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 4;
}

/* HOVER : scan + overlay bleu + blur */
.ava-team-photo.arnaud:hover::after {
  background: rgba(0, 88, 144, 0.35);
  backdrop-filter: blur(4px);
  opacity: 1;
}

.ava-team-photo.arnaud:hover::before {
  opacity: 1;
  animation: arnaudScan 1.2s linear forwards;
}

/* Animation de descente */
@keyframes arnaudScan {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* VINCENT – PULSE RÉSEAU */

/* Overlay orange léger */
.ava-team-photo.vincent::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(243, 146, 5, 0);
  backdrop-filter: blur(0px);
  opacity: 0;
  transition: 0.5s ease;
  z-index: 3;
}

/* Onde circulaire */
.ava-team-photo.vincent::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20%;
  height: 20%;
  background: rgba(243, 146, 5, 0.45);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  z-index: 4;
}

/* HOVER : overlay + pulse animé */
.ava-team-photo.vincent:hover::after {
  background: rgba(243, 146, 5, 0.40);
  backdrop-filter: blur(4px);
  opacity: 1;
}

.ava-team-photo.vincent:hover::before {
  animation: vincentPulse 0.8s ease-out forwards;
}

/* Animation pulse */
@keyframes vincentPulse {
  0% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(0.4);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.2);
  }
}

/* LAYER 1 : Overlay couleur (personnalisé au hover) */
.ava-team-photo.annabelle::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(141, 27, 103, 0); /* transparent au repos */
  backdrop-filter: blur(0px);
  opacity: 0;
  transition: 0.5s ease;
  z-index: 3;
}

/* Active la couleur + blur au hover */
.ava-team-photo.annabelle:hover::after {
  background: rgba(141, 27, 103, 0.45);
  backdrop-filter: blur(4px);
  opacity: 1;
}


/* LAYER 2 : GRAIN ARTISTIQUE (texture subtile) */
.ava-team-photo.annabelle::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,\ <svg xmlns="http://www.w3.org/2000/svg" width="300" height="300">\ <filter id="grain">\ <feTurbulence type="fractalNoise" baseFrequency="1.2" numOctaves="3" />\ <feColorMatrix type="saturate" values="0" />\ </filter>\ <rect width="100%" height="100%" filter="url(#grain)" opacity="0.15"/>\ </svg>');
  mix-blend-mode: overlay;
  opacity: 0;
  transition: 0.5s ease;
  z-index: 4;
}

/* Grain visible au hover */
.ava-team-photo.annabelle:hover::before {
  opacity: 1;
}

/* LAYER 3 : BRUSH ANIMÉ (coup de pinceau organique en mouvement) */
.ava-team-photo.annabelle::after {
  mask-image: url('data:image/svg+xml;utf8,\ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 200">\ <path d="M0 100 Q80 10 200 100 T400 100 L400 200 L0 200Z" fill="white"/>\ </svg>');
  mask-size: 312% 200%;
  mask-position: 0% 50%;
}

.ava-team-photo.annabelle:hover::after {
  mask-position: 90% 50%; /* mouvement du brush */
  transition: mask-position 0.9s ease;
}
/********************Section 08*********************/
.ava-contact-row {
  margin-left: auto !important;
}

a.ava-newsletter-btn {
  position: relative;
  transition:
    border-color 0.35s ease,
    padding-right 0.35s ease;
}

a.ava-newsletter-btn:hover {
  border-color: transparent !important;
  padding-right: 54px; /* laisse la place à l’icône */
}

a.ava-newsletter-btn::after {
  content: attr(data-icon);
  font-family: "ETmodules";
  position: absolute;
  right: 26px;          /* point de départ horizontal */
  top: 50%;             /* référence verticale */
  transform: translate(-6px, -50%); /* départ (légèrement à gauche) */
  opacity: 0;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  pointer-events: none;
}

/* Hover : icône qui glisse plus loin et monte légèrement */
a.ava-newsletter-btn:hover::after {
  opacity: 1;
  transform: translate(23px, -40%);
}
/***********************Fin Accueil***********************/
/***************************AVA***************************/
/********************Section 01*********************/

/************************************************************
 SECTION 02 — AVA / Présentation & Identité
*************************************************************/
.ava-presentation-diaporama {
  --ava-slide-width: 520px;
  --ava-slide-height: 950px;   /* ✅ hauteur MAÎTRISÉE du carrousel */
  --ava-image-size: 420px;
  --ava-image-padding: 25px;

  /* illustration */
  --ava-illu-width: 220px;
  --ava-illu-overlap: 60px;   /* chevauchement avec le diaporama */
  --ava-text-offset: 300px;   /* espace image → texte */
}

/* Colonne = repère absolu */
.ava-identity-column {
  position: relative;
}

.ava-presentation-diaporama .et_pb_group_carousel {
  max-width: var(--ava-slide-width);
  margin: 0 auto;
}

.ava-presentation-diaporama .et_pb_group_carousel_slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Groupe interne = hauteur de référence */
.ava-presentation-diaporama .et_pb_group {
  height: var(--ava-slide-height);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.ava-presentation-diaporama .et_pb_image {
  width: 100%;
  height: var(--ava-image-size);
  padding: var(--ava-image-padding);
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.ava-presentation-diaporama .et_pb_image_wrap {
  height: 100%;
  overflow: hidden;
  border-radius: 50%;   /* portraits circulaires */
}

.ava-presentation-diaporama .et_pb_image_wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

.ava-presentation-diaporama h2,
.ava-presentation-diaporama p.ava-persona-title {
  font-family: 'Waiting for the Sunrise', Helvetica, Arial, sans-serif;
  font-size: 2vw !important;
  line-height: 1.5em !important;
  text-align: center;
  margin: 10px 0;
}

.ava-presentation-diaporama h3,
.ava-presentation-diaporama p.ava-persona-subtitle {
  text-align: center;
  font-family: 'Lato regular', Helvetica, Arial, sans-serif;
  font-size: 1vw;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--gcid-5c91be9d-36ff-473a-af0b-5011c2bde743);
}

.ava-identity-illu {
  position: absolute;
  margin-top: 54px;
  z-index: -1;
  pointer-events: none;
}

/* neutralisation héritage image */
.ava-identity-illu .et_pb_image_wrap,
.ava-identity-illu img {
  border-radius: 0 !important;
  width: 100%;
  height: auto;
  object-fit: contain;
  overflow: visible;
  opacity: 0.9;
}

.ava-identity-text {
  position: relative;
  z-index: 3;
  margin-top: var(--ava-text-offset);
}
/*************************Fin AVA*************************/
/*************************Services************************/
/********************Section 01*********************/
.ava-services-hero-row {
  display: flex;
  min-height: 100vh;
  overflow: hidden;
}

.ava-services-hero-row > .et_pb_column {
  height: 100%;
}

.comm-col {
  position: relative;
  height: 100%;
  width: 55%;
}
/* Lottie en fond plein de la colonne */
.comm-lottie-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.comm-letters,
.comm-text,
.comm-cta {
  position: relative;
  z-index: 2;
}

/* Conteneur des lettres Communication */
.comm-letters {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Base commune aux lettres */
.comm-letters span {
  position: absolute;
  font-family: inherit; /* ta typo */
  font-weight: 700;
  line-height: 1;
  color: #1d1d1b;
}

#comm-c {
  font-size: 21vw;
  top: 0%;
  left: 4%;
  transform: translateY(-2%);
  opacity: 0.9;
}

#comm-o {
  font-size: clamp(180px, 15vw, 250px);
  top: -10%;
  right: 20.8%;
  transform: translateY(-13%);
  opacity: 0.75;
}

#comm-m1 {
  font-size: 25vw;
  top: 100%;
  left: 16%;
  transform: translateY(46%);
  opacity: 0.85;
}

#comm-m2 {
  font-size: 25vw;
  top: 100%;
  right: 10.6%;
  transform: translateY(46%);
  opacity: 0.65;
}

/* Conteneur phrase + CTA */
/* Bloc texte bas de colonne */
.comm-signature {
  margin-left: auto;   /* pousse le bloc à droite */
  margin-top: 70%;
  margin-right: auto;
  padding: 16px 20px;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(2px);
  text-align: center !important;
}

/* Phrase */
.comm-signature h2 {
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 14px 0;
  color: #1d1d1b;
}

/* CTA éditorial */
.comm-signature a {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d1d1b;
  text-decoration: none;
  position: relative;
}

.comm-signature a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.comm-signature a:hover::after {
  opacity: 1;
}

.it-col {
  background-image: linear-gradient(180deg, #f4f1dd 38%, #005890 100% 100%) !important;
  position: relative;
  height: 100%;
  width: 55%;
}

.it-signature {
  margin-left: 1%;   /* pousse le bloc à droite */
  margin-right: auto;
  padding: 16px 20px;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(2px);
}

/* Phrase */
.it-signature h2 {
  font-size: clamp(2rem, 2.6vw, 2.6rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0 0 14px 0;
  color: #1d1d1b;
}

/* CTA éditorial */
.it-signature a {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d1d1b;
  text-decoration: none;
  position: relative;
}

.it-signature a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.it-signature a:hover::after {
  opacity: 1;
}

/* Ligne comme conteneur du rideau */
#services-hero-line {
  position: relative;
  overflow: hidden;
}

/* Rideau */
#services-hero-line::before,
#services-hero-line::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 50;
  pointer-events: none;
  transition: transform 1.1s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Gauche */
#services-hero-line::before {
  left: 0;
  background: #f6f4dc;
}

/* Droite */
#services-hero-line::after {
  right: 0;
  background: #0f4c6a;
}

/* Rideau ouvert */
#services-hero-line.open::before {
  transform: translateX(-100%);
}

#services-hero-line.open::after {
  transform: translateX(100%);
}
/***********************Fin Services**********************/
/*****************Services Informatiques******************/
.services-section{
  background: linear-gradient(
    180deg,
    #0b0b0d 0%,
    #0f141a 100%
  ) !important;
  position: relative;
  overflow: hidden;
}

.services-section::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    transparent 70%,
    #ffffff 100%
  );

  pointer-events: none;
}

.services-menu {
  max-width: 800px;
  margin-left: -55%;
  position: relative;
  z-index: 2;
}

.services-visual {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;

  top: 50%;
  left: 50%;

  width: 1200px;
  height: 800px;

  transform: translate(-50%, -50%) scale(1.05);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.5s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);

  filter: brightness(0.8) contrast(1.05);

  will-change: transform;
  z-index: 1;
}

.services-visual.active {
  opacity: 0.85;
  transform: translate(-50%, -50%) scale(1.08)
}

.services-menu a {
  display: block;
  font-size: 42px;
  line-height: 1.3;
  color: #fff;
  text-decoration: none;
  opacity: 0.5;
  transition: all 0.35s ease;
}

.services-menu:hover a {
  opacity: 0.2;
}

.services-menu a:hover {
  opacity: 1;
  color: #ffffff;
  text-shadow: 0 0 12px currentColor;
  transform: translateX(12px);
}

.services-menu a span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.services-menu a:hover span {
  transform: translateX(4px);
}


.services-menu a:nth-child(1):hover { color: #8D1B67; }
.services-menu a:nth-child(2):hover { color: #005890; }
.services-menu a:nth-child(3):hover { color: #F39205; }
.services-menu a:nth-child(4):hover { color: #63813A; }
.services-menu a:nth-child(5):hover { color: #8D1B67; }
.services-menu a:nth-child(6):hover { color: #005890; }
.services-menu a:nth-child(7):hover { color: #F39205; }
.services-menu a:nth-child(8):hover { color: #63813A; }

/***************Fin Services Informatiques****************/
/***********************Réalisations**********************/
body.ava-project-page #ava-page-transition {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.ava-lock-scroll {
  overflow: hidden;
}

.ava-projects-rail {
  display: flex !important;
  position: relative;
  width: 100%;
  height: 520px; /* hauteur fixe adaptée */
  overflow: hidden;
  align-items: center; /* recentrage propre */
}

.ava-projects-rail .et_pb_portfolio_items {
  display: flex;
  gap: 6vmin;
  padding-top: 40px;
  position: absolute;
  left: 50%;
  top: 50%; /* on part du haut */
  transform: translate(-0%, -50%);
  user-select: none;
  will-change: transform;
}

.ava-projects-rail .project{
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.18),
    0 2px 6px rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  display: block;
  height: 380px;
  transition: 
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center center;
  overflow: visible;
  position: relative;
  padding: 25px 21px 74px;
  width: 309px;
  flex: 0 0 auto; /* 🔥 empêche toute adaptation */
}

.ava-projects-rail .project:hover {
  transform: scale(1.06);
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.28),
    0 10px 20px rgba(0, 0, 0, 0.18);
}

.ava-projects-rail .project::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg,
    transparent,
    transparent 35%,
    rgba(255, 255, 255, 0.35),
    transparent 65%,
    transparent
  );
  opacity: 0;
  transform: rotate(-35deg) translateY(-100%);
  transition:
    opacity 0.3s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 2; 
}

.ava-projects-rail .project:hover::before {
  opacity: 1;
  transform: rotate(-35deg) translateY(100%);
}

/* Cadre Polaroid */
.ava-projects-rail .project::after,
.ava-projects-rail .et_pb_portfolio_item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/wp-content/themes/AVA-CSI%20Th%C3%A8me%20de%20base/assets/img/cadre_polaroid.png") no-repeat center / contain;
  z-index: 0;
  pointer-events: none;
}

/* Image du projet */
.ava-projects-rail .project img {
  display: block;
  height: revert-layer;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fdfcf8;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

/* Titre dans la bande blanche */
.ava-projects-rail .project h2 {
  bottom: 25px;
  font-family: "Permanent Marker", cursive;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-align: center;
  text-transform: none;
  position: absolute;
  left: 0;
  width: 100%;
  color: #2b2b2b;
  z-index: 2;
  margin: 0;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}

/* Projet actif */
.project.is-active {
  transform: scale(1.15);
  z-index: 10;
}

/* Projets inactifs */
.project.is-muted {
  opacity: 0;
  filter: grayscale(80%);
  transform: scale(0.85);
  pointer-events: none;
}

.project.is-active.is-zooming {
  transform: scale(1.35);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
}

.project.is-entering {
  transform: scale(2.2);
  opacity: 1;
  z-index: 999;
}

#ava-ripple-svg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
  overflow: visible;
}

.ava-ripple-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.is-transitioning {
  pointer-events: none;
}

.is-zooming {
  transform: scale(1.03);
}
/*********************Fin Réalisations********************/
/*************************Projets*************************/
/* --- CTA Retour aux réalisations (Footer) --- */
.ava-back-to-projects {
  position: relative;
  margin: 80px auto 40px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ava-back-circle {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(0,0,0,0.75);
  border-radius: 50%;
  opacity: 0.6;
  transition: 0.3s ease;
}

.ava-back-arrow {
  position: absolute;
  font-size: 26px;
  font-weight: 900;
  color: #000;
  line-height: 1;
  animation: avaArrowFloatUp 2s infinite ease-in-out;
  pointer-events: none;
}

/* Hover */
.ava-back-to-projects:hover .ava-back-circle {
  opacity: 1;
  transform: scale(1.1);
}

/* Animation subtile de remontée */
@keyframes avaArrowFloatUp {
  0%   { transform: translateY(4px); opacity: 0.8; }
  50%  { transform: translateY(-4px); opacity: 1; }
  100% { transform: translateY(4px); opacity: 0.8; }
}

.project-apc a{
  color: #6c8041;
}

@keyframes title-shift {
  0% {
    transform: none;
    opacity: 1;
  }
  8% {
    transform: skew(-0.5deg, -0.9deg);
    opacity: 0.75;
  }
  10% {
    transform: none;
    opacity: 1;
  }
  28% {
    transform: none;
    opacity: 1;
  }
  30% {
    transform: skew(0.8deg, -0.1deg);
    opacity: 0.75;
  }
  33% {
    transform: none;
    opacity: 1;
  }
  45% {
    transform: none;
    opacity: 1;
  }
  55% {
    transform: skew(-1deg, 0.2deg);
    opacity: 0.75;
  }
  60% {
    transform: none;
    opacity: 1;
  }
  72% {
    transform: none;
    opacity: 1;
  }
  78% {
    transform: skew(0.4deg, 1deg);
    opacity: 0.75;
  }
  80% {
    transform: none;
    opacity: 1;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

.project-title-unstable {
  animation: title-shift 6s infinite;
  will-change: transform, opacity;
}

.project-status {
  font-size: 14px;
  opacity: 0.6;
  margin-top: 10px;
  font-style: italic;
}

/* Colonne ancre des losanges */
.les_3_l-losanges {
  position: relative;
  min-height: 1px;
}

/* Losange vert (arrière) */
.les_3_l-losanges::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background-color: #35756e;
  top: -70px;
  left: 50%;
  transform: translateX(-135%) rotate(45deg);
  opacity: 0.9;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  z-index: 1;
}

/* Losange doré (avant) */
.les_3_l-losanges::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, #9b8153 0%, #d7c18b 54%, #ffe9ad 100%);
  top: -75px;
  left: 50%;
  transform: translateX(45%) rotate(45deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.22);
  z-index: 2;
}

/* CONTENEUR QUI COUPE */
.les_3_l-title-crop {
  overflow: hidden;
  padding-top: 20px;      /* coupe haute (px réels) */
  padding-bottom: 20px;   /* coupe basse */
}

/* TEXTE EN DÉGRADÉ MULTI-LIGNE */
.les_3_l-text-gradient-gold h1,
.les_3_l-text-gradient-gold h2,
.les_3_l-text-gradient-gold h3 {
  background: linear-gradient(
    94deg,
    #b59b67 0%,
    #f3e5b7 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 0.85;     /* RESSERRE pour accentuer la coupe */
  white-space: normal;   /* wrapping natif */
}

.les_3_l-perspective{
  transform: perspective(307px) rotateX(0deg) rotateY(13deg) rotateZ(0deg) !important;
}

.les_3_l-accordion-item {
  height: 420px;
  isolation: isolate;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.les_3_l-accordion-item:hover {
  z-index: 9999;
}

.les_3_l-accordion-item .et_pb_image_wrap {
  overflow: visible;
}

.les_3_l-accordion-item .et_pb_image_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.6s ease,
    filter 0.6s ease,
    opacity 0.6s ease;
}

.et_pb_group_carousel:hover
.les_3_l-accordion-item
.et_pb_image_wrap img {
  filter: grayscale(100%);
  opacity: 0.6;
  transform: scale(1);
}

.et_pb_group_carousel:hover
.les_3_l-accordion-item:hover
.et_pb_image_wrap img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.20);
}

.et_pb_group_carousel_slide[aria-hidden="true"] {
  pointer-events: none;
}

.et_pb_group_carousel_slide {
  overflow: visible;
  position: relative;
}

.et_pb_group_carousel_slide:hover {
  z-index: 9999;
}

@keyframes flipLoop {

  /* Face avant visible */
  0%   { transform: rotateY(0deg); }
  40%  { transform: rotateY(0deg); }

  /* Transition */
  50%  { transform: rotateY(180deg); }

  /* Face arrière visible */
  90%  { transform: rotateY(180deg); }

  /* Retour */
  100% { transform: rotateY(360deg); }
}

.ava-flipbox {
  perspective: 1000px;
  width: 300px; /* adapte */
  height: 300px;
  overflow: hidden;
}

.ava-flipbox-inner {
  animation: flipLoop 7s infinite cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.ava-flipbox:hover .ava-flipbox-inner {
  transform: rotateY(180deg);
}

.ava-flipbox-front,
.ava-flipbox-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.ava-flipbox-front img,
.ava-flipbox-back img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s ease
}

.ava-flipbox-back {
  transform: rotateY(180deg);
}

/* OLEO-SINE : TEXTE EN DÉGRADÉ MULTI-LIGNE */
.oleo-sine-text-gradient-gold h3 {
  background: linear-gradient(
    87deg,
    #a17754 0%,
    #efdaac 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  line-height: 0.85;     /* RESSERRE pour accentuer la coupe */
  white-space: normal;   /* wrapping natif */
}

/* COULEURS DELPH */
.ava-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 0 auto;
}

/* couleurs */
.ava-circle.blue {
  background-image: linear-gradient(147deg, #007fa8 0%, #ffffff 100%);
}

.ava-circle.purple {
  background: #662483;
}

.ava-circle.green {
  background: #009640;
}

/* =======================================
   COULEURS DELPH - FLIPBOX SPÉCIFIQUE
======================================= */

.ava-flipbox.ava-flipbox-delph {
  width: 550px !important;
  height: 650px !important;
  max-width: 100%;
  overflow: visible;
}

.ava-flipbox.ava-flipbox-delph .ava-flipbox-front img,
.ava-flipbox.ava-flipbox-delph .ava-flipbox-back img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Face avant */
.ava-flipbox.ava-flipbox-delph .ava-flipbox-front img {
  object-fit: contain;
  transform: scale(1.6);
}

/* Face arrière */
.ava-flipbox.ava-flipbox-delph .ava-flipbox-back img {
  object-fit: contain;
  transform: scale(1.4);
}

/***********************Responsive************************/
/* Desktop large écrans */
@media (min-width: 1600px) {
  .project.is-active.is-zooming {
    transform: scale(1.45);
  }
}

/* Surface / tablettes */
@media (pointer: coarse), (max-width: 1599px) {
  .project.is-active.is-zooming {
    transform: scale(1.25);
  }
    .project.is-entering {
    transform: scale(1.8);
  }
}

@media(max-width: 980px){
  .ava-forces-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .ava-team-photo {
    top: 55%;
    width: 90%;
  }
  
  .ava-team-name {
    margin-top: 300px;
  }

  .ava-contact-photo img{
    margin-bottom: 30px;
  }
  
  #services-hero-line::before,
  #services-hero-line::after {
    display: none !important;
  }

  .ava-presentation-diaporama {
    --ava-slide-height: 820px;
    --ava-illu-width: 180px;
    --ava-illu-overlap: 80px;
    --ava-text-offset: 260px;
  }
}

@media (max-width: 767px) {
  .ava-presentation-diaporama {
    --ava-slide-height: 720px;
    --ava-illu-width: 150px;
    --ava-illu-overlap: 90px;
    --ava-text-offset: 220px;
  }

  .et_pb_group_carousel:hover
  .les_3_l-accordion-item
  .et_pb_image_wrap img {
    filter: none;
    opacity: 1;
    transform: none;
  }
}

@media(max-width: 600px){
  .ava-forces-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .ava-flip-card {
    width: 220px;
    height: 220px;
  }

  .ava-team-photo {
    top: 58%;
    width: 100%;
  }

  .ava-team-name {
    margin-top: 260px;
  }
}

@media (hover: none) {
  .ava-flipbox-inner {
    transform: none !important;
  }
}

/*********************Fin responsive**********************/
/*********************Texte qui défile à adapter**********************/
@keyframes ava-rail-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ava-text-defil .et_pb_portfolio_items {
  animation: ava-rail-scroll 70s linear infinite;
  will-change: transform;
}

.ava-text-defil:hover .et_pb_portfolio_items {
  animation-play-state: paused;
}