@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap");

@font-face {
  font-family: "Tw Cen MT Condensed";
  src:
    url("TwCenMT-CondensedBold.woff2") format("woff2"),
    url("TwCenMT-CondensedBold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bradley Hand ITC";
  src:
    url("BradleyHandITC.woff2") format("woff2"),
    url("BradleyHandITC.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000;
  --white: #fff;
  --primary: #f99d3c;
  --second: #828a8e;
  --back: #131313;
  --sweet-primary: #f3ddc6;
  --third: #242527;
  --gris: #f0f1f2;
  --gris1: #e4e4e4;
  --gris2: #c9c8c8;
  --gris3: #acacac;
  --title-color: color-mix(in srgb, var(--primary) 18%, #fdfdfd 82%);
  --text-color: color-mix(in srgb, var(--primary) 14%, #e6e6e6 86%);
  --title-font: "Baloo 2", sans-serif;
  --text-font: "Baloo 2", sans-serif;
  --space: clamp(48px, 8vw, 100px);
  --space-lg: clamp(60px, 12vw, 200px);
  --space-md: clamp(48px, 10vw, 120px);
  --space-sm: clamp(20px, 6vw, 55px);
}

body {
  padding: 0px;
  margin: 0px;
  font-family: "Baloo 2", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  overflow-x: hidden;
  background: var(--back);
  color: #fff;
}

ul {
  padding: 0px;
  margin: 0px;
}

a {
  text-decoration: none !important;
}

.carte-zone {
  position: relative;
}

.carte-zone img {
  border-radius: 0px 30px 30px 30px;
}

.carte-zone:before {
  position: absolute;
  content: "";
  top: 16px;
  left: 16px;
  background-color: var(--second);
  width: 100%;
  height: 100%;
  z-index: -1;
  border-radius: 0px 30px 30px 30px;
}

.imgnew {
  border-radius: 30px;
}

.card-conso {
  padding: 30px;
  border-radius: 0px 30px 30px 30px;
  background: url(../images/ardoise.jpg);
  background-size: cover;
}

.card-big img {
  border-radius: 0px 30px 30px 30px;
}

.depuistobef img {
  border-radius: 0px 45px 0px 45px;
}

.depuistobef {
  position: relative;
}

.depuistobef:before {
  content: url(../images/depuis.png);
  position: absolute;
  bottom: -40px;
  right: -70px;
}

@media screen and (max-width: 991px) {
  .depuistobef:before {
    content: url(../images/depuis.png);
    margin-bottom: 45px;
    text-align: center;
    margin-top: 45px;
    position: relative;
    bottom: 0px;
    right: 0px;
  }

  .nwbtn {
    font-size: 16px !important;
    padding: 12px 22px;
  }

  .imgnew {
    width: 100%;
  }

  .backardoise1 {
    padding: 30px 25px;
  }
}

.backardoise1 {
  padding: 70px;
  background: url(../images/banner-ardoise.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom left;
  border-radius: 0px 45px 45px 45px;
}

.nwbtn {
  display: inline-block;
  text-align: center;
  line-height: 1.3;
  color: var(--white);
  background-color: var(--primary);
  padding: 14px 34px;
  font-size: 22px;
  font-weight: 700;
  border-radius: 0px 18px 18px 18px;
  border: 3px solid var(--primary);
  transition: 0.2s ease-in-out;
}

.nwbtn:hover {
  background-color: transparent;
  color: var(--primary);
  transition: 0.2s ease-in-out;
  border-radius: 0px 0px 0px 0px;
}

/* ---------- Bandeau "Actualités" (accueil, bloc-1) ---------- */
/* Cartes des 2 dernières actus, requête indépendante du module actu
   (voir inc/bloc-1.php) : ne pas fusionner avec .axo-actu_* du module. */

/* Débordement réel : la marge négative réduit la hauteur "comptée" par
   .backardoise1 pour dimensionner sa boîte, alors que les cartes gardent
   leur hauteur naturelle (nettement plus grande que la colonne de texte)
   -> elles dépassent visuellement du haut ET du bas de la bannière.
   !important obligatoire : cette div porte aussi la classe Bootstrap
   .m-0 (margin: 0 !important), qui écraserait sinon ces valeurs. */

.containeractunew {
  top: -100px;
}

@media screen and (max-width: 991px) {
  .containeractunew {
    top: 0px;
  }
}

.home-actu-cards {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  position: relative;
  margin-top: -70px !important;
  margin-bottom: -70px !important;
}

@media (max-width: 991.98px) {
  .home-actu-cards {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* Hauteur égale : on étire via flex (flex:1) plutôt que via height:100%,
   qui nécessite une hauteur "définie" à chaque niveau de la chaîne de
   parents pour se résoudre - fragile ici (colonne Bootstrap en auto). */
.home-actu-cards>div {
  display: flex;
}

.home-actu-card {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: 0px 30px 30px 30px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  transform: translateY(0);
  transition: transform 0.4s ease-in-out;
}

.home-actu-card:hover {
  transform: translateY(-10px);
}

.home-actu-card-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  text-decoration: none;
}

.home-actu-card-img {
  flex: 0 0 auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.home-actu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-actu-card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

#axo-fg .home-actu-card-body h3 {
  font-size: 17px;
  text-transform: none;
  color: var(--third);
  margin-bottom: 10px;
}

#axo-fg .home-actu-card-body p {
  font-size: 13px;
  color: var(--second);
  margin-bottom: 14px;
}

#axo-fg .home-actu-card-more {
  display: block;
  margin-top: auto;
  text-align: right;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}

/*
========================================
Début Habillage AXO-FG
========================================
*/

/* ---------- Base ---------- */

#axo-fg a {
  text-decoration: none !important;
}

#axo-fg nav.fil-arianne {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

#axo-fg nav.fil-arianne .breadcrumb {
  background-color: transparent;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#axo-fg .breadcrumb-item+.breadcrumb-item::before {
  content: "|";
  color: var(--gris3);
}

#axo-fg .breadcrumb-item a {
  color: var(--second);
}

#axo-fg .breadcrumb-item.active {
  color: var(--gris3);
}

#axo-fg .container {
  max-width: 1400px;
  /* Garantit une respiration horizontale même si le site d'accueil
     réinitialise le padding de .container (cas fréquent en intégration :
     les blocs se retrouvaient collés au bord de l'écran en mobile). */
  padding-left: 15px;
  padding-right: 15px;
}

#axo-fg .fg-space {
  margin-top: var(--space);
  margin-bottom: var(--space);
  margin-left: 0px !important;
  margin-right: 0px !important;
}

#axo-fg h1,
#axo-fg h2,
#axo-fg h3 {
  font-family: var(--title-font);
  font-weight: 700;
  color: var(--title-color);
  text-transform: uppercase;
}

#axo-fg h4,
#axo-fg h5,
#axo-fg h6 {
  font-family: var(--title-font);
  color: var(--title-color);
  text-transform: uppercase;
}

#axo-fg .h2 {
  font-size: clamp(28px, 4vw, 40px);
}

#axo-fg .h3 {
  font-size: clamp(24px, 3.2vw, 32px);
}

#axo-fg .h4 {
  font-size: clamp(22px, 2.6vw, 28px);
}

#axo-fg .h5 {
  font-size: clamp(20px, 2.2vw, 24px);
}

#axo-fg .h6 {
  font-size: clamp(19px, 2vw, 22px);
}

#axo-fg small.small-title {
  font-size: 60%;
  text-transform: uppercase;
  color: var(--second);
}

#axo-fg small.small-title.color-primary {
  color: var(--primary);
}

#axo-fg p {
  color: var(--text-color);
}

#axo-fg p a {
  color: var(--second);
}

/* Sur fond back-primary/back-second/back-third, le texte des p passe
   déjà en blanc (cf règle plus bas) : on aligne les liens dessus,
   sinon un lien en --second serait invisible sur un fond back-second
   qui utilise exactement cette même couleur. */
#axo-fg .back-primary p a,
#axo-fg .back-second p a,
#axo-fg .back-third p a {
  color: var(--white);
}

/* Listes à puce custom */
.list-none {
  text-align: center;
  list-style: none;
}

.list-none a {
  color: var(--second);
}

.custom-liste,
.custom-liste-c {
  list-style: square;
  padding-left: 20px;
}

.custom-liste li,
.custom-liste-c li {
  margin-bottom: 8px;
  color: var(--text-color);
}

.custom-liste li::marker,
.custom-liste-c li::marker {
  color: var(--primary);
}

.custom-liste-c {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.custom-liste-2col {
  columns: 2;
  column-gap: 30px;
}

.custom-liste-2col li {
  break-inside: avoid;
}

@media (max-width: 767px) {
  .custom-liste-2col {
    columns: 1;
  }
}

#axo-fg strong {
  font-weight: 700;
}

/* ---------- Utilitaires ---------- */

#axo-fg .radius1 {
  border-radius: 6px;
}

#axo-fg .radius2 {
  border-radius: 20px;
}

#axo-fg .radius3 {
  border-radius: 35px;
}

#axo-fg .radius4 {
  border-radius: 100px;
}

#axo-fg .radius5 {
  border-radius: 40px;
}

#axo-fg .surtext {
  display: inline-block;
  color: var(--primary);
  padding: 10px 20px;
  border: 1px solid var(--primary);
  font-size: 15px;
  text-transform: uppercase;
}

/* .surtext utilise var(--primary) : sur un fond back-primary il serait
   à 100% invisible (même couleur que son propre fond), et sur back-third
   il peut l'être aussi selon la palette (--primary proche de --third).
   On bascule donc systématiquement en blanc sur les 3 fonds sombres. */
#axo-fg .back-second .surtext,
#axo-fg .back-third .surtext,
#axo-fg .back-primary .surtext {
  color: var(--white);
  border-color: var(--white);
}

#axo-fg .img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hauteurs fluides : la valeur en px est le plafond desktop,
   elles se resserrent seules sur les petits écrans. overflow:hidden
   permet à ces blocs de recevoir une classe radiusN (l'image
   .img-cover à l'intérieur suit alors l'arrondi). */
#axo-fg .h-200 {
  height: clamp(160px, 22vw, 200px);
  overflow: hidden;
}

#axo-fg .h-300 {
  height: clamp(200px, 28vw, 300px);
  overflow: hidden;
}

#axo-fg .h-400 {
  height: clamp(220px, 34vw, 400px);
  overflow: hidden;
}

#axo-fg .h-500 {
  height: clamp(240px, 40vw, 500px);
  overflow: hidden;
}

#axo-fg .h-600 {
  height: clamp(260px, 45vw, 600px);
  overflow: hidden;
}

#axo-fg .h-700 {
  height: clamp(280px, 50vw, 700px);
  overflow: hidden;
}

#axo-fg .h-800 {
  height: clamp(300px, 55vw, 800px);
  overflow: hidden;
}

#axo-fg .h-900 {
  height: clamp(320px, 60vw, 900px);
  overflow: hidden;
}

/* Décorateurs de titre : une seule déclaration de base,
   chaque variante ne fixe plus que côté + largeur (fini la
   duplication des 7 blocs identiques). */
#axo-fg .decor-l,
#axo-fg .decor-l-lg,
#axo-fg .decor-l-xlg,
#axo-fg .decor-r,
#axo-fg .decor-r-lg,
#axo-fg .decor-r-xlg,
#axo-fg .decor-m {
  position: relative;
}

#axo-fg .decor-l::before,
#axo-fg .decor-l-lg::before,
#axo-fg .decor-l-xlg::before,
#axo-fg .decor-r::before,
#axo-fg .decor-r-lg::before,
#axo-fg .decor-r-xlg::before,
#axo-fg .decor-m::before {
  content: "";
  position: absolute;
  height: 5px;
  bottom: -10px;
  background: var(--second);
}

#axo-fg .decor-l::before {
  left: 0;
  width: 20%;
}

#axo-fg .decor-l-lg::before {
  left: 0;
  width: 40%;
}

#axo-fg .decor-l-xlg::before {
  left: 0;
  width: 70%;
}

#axo-fg .decor-r::before {
  right: 0;
  width: 20%;
}

#axo-fg .decor-r-lg::before {
  right: 0;
  width: 40%;
}

#axo-fg .decor-r-xlg::before {
  right: 0;
  width: 70%;
}

#axo-fg .decor-m::before {
  left: calc(50% - 20%);
  width: 40%;
}

#axo-fg .back-second .decor-m::before,
#axo-fg .back-second .decor-r-xlg::before,
#axo-fg .back-second .decor-r-lg::before,
#axo-fg .back-second .decor-r::before,
#axo-fg .back-second .decor-l-xlg::before,
#axo-fg .back-second .decor-l-lg::before,
#axo-fg .back-second .decor-l::before {
  background-color: var(--primary);
}

/* Même logique que .surtext ci-dessus : la barre utilise var(--second),
   qui peut se fondre dans back-third/back-primary selon la palette
   (ex. deux verts foncés proches). Le blanc reste lisible dans tous les
   cas puisque ces deux fonds forcent déjà un texte blanc. */
#axo-fg .back-third .decor-m::before,
#axo-fg .back-third .decor-r-xlg::before,
#axo-fg .back-third .decor-r-lg::before,
#axo-fg .back-third .decor-r::before,
#axo-fg .back-third .decor-l-xlg::before,
#axo-fg .back-third .decor-l-lg::before,
#axo-fg .back-third .decor-l::before,
#axo-fg .back-primary .decor-m::before,
#axo-fg .back-primary .decor-r-xlg::before,
#axo-fg .back-primary .decor-r-lg::before,
#axo-fg .back-primary .decor-r::before,
#axo-fg .back-primary .decor-l-xlg::before,
#axo-fg .back-primary .decor-l-lg::before,
#axo-fg .back-primary .decor-l::before {
  background-color: var(--white);
}

/* ---------- Fonds ---------- */

#axo-fg .back-primary {
  background-color: var(--primary);
}

#axo-fg .back-second {
  background-color: var(--second);
}

#axo-fg .back-third {
  background-color: var(--third);
}

#axo-fg .back-gris {
  background-color: var(--gris);
}

#axo-fg .back-gris1 {
  background-color: var(--gris1);
}

#axo-fg .back-gris2 {
  background-color: var(--gris2);
}

#axo-fg .back-gris3 {
  background-color: var(--gris3);
}

#axo-fg .color-primary {
  color: var(--primary);
}

#axo-fg .color-second {
  color: var(--second);
}

#axo-fg .color-third {
  color: var(--third);
}

#axo-fg .color-gris {
  color: var(--gris);
}

#axo-fg .color-gris1 {
  color: var(--gris1);
}

#axo-fg .color-gris2 {
  color: var(--gris2);
}

#axo-fg .color-gris3 {
  color: var(--gris3);
}

/* back-gris n'est volontairement PAS dans ce groupe : il est prévu clair
   par défaut (--gris), donc le texte foncé hérité (#axo-fg p/h1-h5/li)
   convient déjà. Voir le commentaire sur --gris dans :root. */
#axo-fg .back-third p,
#axo-fg .back-third h1,
#axo-fg .back-third h2,
#axo-fg .back-third h3,
#axo-fg .back-third h4,
#axo-fg .back-third h5,
#axo-fg .back-third li,
#axo-fg .back-second p,
#axo-fg .back-second h1,
#axo-fg .back-second h2,
#axo-fg .back-second h3,
#axo-fg .back-second h4,
#axo-fg .back-second h5,
#axo-fg .back-second li,
#axo-fg .back-primary p,
#axo-fg .back-primary h1,
#axo-fg .back-primary h2,
#axo-fg .back-primary h3,
#axo-fg .back-primary h4,
#axo-fg .back-primary h5,
#axo-fg .back-primary li {
  color: var(--white);
}

/* ---------- Boutons ---------- */

#axo-fg .fg-btn {
  display: inline-flex;
  align-items: center;
  color: var(--text-color);
  transition: color 0.2s ease-in-out;
}

#axo-fg .fg-btn span:first-child {
  text-decoration: underline !important;
}

#axo-fg .fg-btn:hover span:first-child {
  color: var(--second);
}

#axo-fg .fg-btn span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  padding-top: 7px;
  border: 3px solid var(--primary);
  text-decoration: none !important;
  font-weight: 700;
  margin-left: 10px;
  transition:
    background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
}

#axo-fg .fg-btn:hover span:last-child {
  border-color: var(--second);
  background-color: var(--second);
  color: var(--white);
}

#axo-fg .fg-btn span:last-child svg {
  height: 16px;
  width: 16px;
}

#axo-fg .fg-btn span svg path {
  transition: fill 0.2s ease-in-out;
}

#axo-fg .fg-btn:hover span svg path {
  fill: var(--white) !important;
}

#axo-fg .fg-cta {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  transition:
    background-color 0.2s ease-in-out,
    color 0.2s ease-in-out;
}

#axo-fg .fg-cta:hover {
  background-color: transparent;
  color: var(--primary);
}

/* .fg-cta a un fond fixe var(--primary) : sur un panneau back-primary,
   le bouton se fond intégralement dans son propre panneau (même couleur),
   et sur back-third il peut l'être aussi selon la palette (--primary proche
   de --third). On le passe donc en contour blanc, garanti lisible sur ces
   fonds déjà sombres. */
#axo-fg .back-third .fg-cta,
#axo-fg .back-primary .fg-cta {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

#axo-fg .back-third .fg-cta:hover {
  background-color: var(--white);
  color: var(--third);
}

#axo-fg .back-primary .fg-cta:hover {
  background-color: var(--white);
  color: var(--primary);
}

/* ---------- Bloc 1 : image + points forts ---------- */

#axo-fg .bloc1-item {
  border-top: 3px solid var(--primary);
  padding-top: 24px;
}

/* ---------- Bloc 3 : image + pan coloré ---------- */

#axo-fg .fg-position-rel {
  position: relative;
}

#axo-fg .fg-position {
  position: absolute;
  z-index: 10;
  left: 0;
}

#axo-fg .fg-position-right {
  left: auto;
  right: 0;
}

#axo-fg .bloc-3-content {
  padding-top: var(--space-md);
  padding-bottom: var(--space-md);
  padding-left: clamp(20px, 5vw, 80px);
}

#axo-fg .bloc-3-content-right {
  padding-left: 15px;
  padding-right: clamp(20px, 5vw, 80px);
}

/* ---------- Cartes photo (ex item-fg1) ---------- */

#axo-fg .card-photo {
  padding: 30px;
  padding-top: 130px;
  padding-bottom: 35px;
  position: relative;
  overflow: hidden;
}

#axo-fg .card-photo .img-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
}

#axo-fg .card-photo .img-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* ---------- Cartes icône (ex item-fg2) ---------- */

#axo-fg .card-icon {
  padding: 30px;
  padding-top: 120px;
  padding-bottom: 35px;
  position: relative;
}

#axo-fg .card-icon .fg-iconebox {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 0;
  height: 60px;
  padding: 5px;
}

#axo-fg .card-icon .fg-iconebox .ico-container {
  background-color: var(--gris);
  height: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#axo-fg .fg-icon {
  font-size: 30px;
  color: var(--third);
}

/* ---------- Bandeau engagements (fond coloré + cartes) ---------- */

#axo-fg .axofg-banner {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

#axo-fg .binw p,
#axo-fg .binw .surtext,
#axo-fg .binw h1,
#axo-fg .binw h2,
#axo-fg .binw h3,
#axo-fg .binw h4,
#axo-fg .binw h5,
#axo-fg .binw h6 {
  color: var(--black);
}

#axo-fg .fg-iconebox.radius1 {
  border-radius: 6px 0 0 6px;
}

#axo-fg .fg-iconebox.radius2 {
  border-radius: 20px 0 0 20px;
}

#axo-fg .fg-iconebox.radius3 {
  border-radius: 35px 0 0 35px;
}

/* ---------- Bandeaux visuels découpés (CTA texte + image) ---------- */

#axo-fg .fg-style-banner {
  padding: var(--space-sm);
  overflow: hidden !important;
}

#axo-fg .txt-banner-style {
  position: relative;
  z-index: 10;
}

#axo-fg .cuted-bg {
  position: relative;
}

#axo-fg .cuted-bg .img-back {
  position: absolute;
  /* léger débord haut/bas : évite le filet d'anti-aliasing entre
     le clip du parent (border-radius + overflow hidden) et la
     découpe (mask/clip-path) de l'image */
  top: -1px;
  bottom: -1px;
  right: 0;
  width: 40%;
  overflow: hidden;
  transform: scale(1.1);
}

#axo-fg .cuted-bg .img-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Motif "plein cadre" du bloc 11 (fg-cta-simple) : une surimpression très
   discrète en ::before sur toute la boîte, censée se fondre dans le fond
   back-third plutôt que d'attirer l'œil. Pas de variante "cercle" (retirée
   à la demande : les autres motifs suffisent pour ce bloc). */
#axo-fg .fg-cta-simple.fg-fill-points::before,
#axo-fg .fg-cta-simple.fg-fill-rayures::before,
#axo-fg .fg-cta-simple.fg-fill-cadre::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#axo-fg .fg-cta-simple.fg-fill-points::before {
  background-image: radial-gradient(var(--white) 2.5px, transparent 2.5px);
  background-size: 24px 24px;
  opacity: 0.08;
}

#axo-fg .fg-cta-simple.fg-fill-rayures::before {
  background-image: repeating-linear-gradient(45deg,
      var(--white) 0 6px,
      transparent 6px 18px);
  opacity: 0.06;
}

#axo-fg .fg-cta-simple.fg-fill-cadre::before {
  inset: 8%;
  border: 3px solid var(--white);
  opacity: 0.08;
}

#axo-fg .smooth-cut {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400'><path fill='white' d='M600,0v400H5.14c66.76-42.09,103.07-121.68,90.89-199.79C83.81,121.84,120.4,41.98,187.59,0h412.41Z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400'><path fill='white' d='M600,0v400H5.14c66.76-42.09,103.07-121.68,90.89-199.79C83.81,121.84,120.4,41.98,187.59,0h412.41Z'/></svg>");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

#axo-fg .strict-cut {
  clip-path: polygon(0 0, 100% 0%, 100% 100%, 19% 100%);
}

#axo-fg .triangle-cut {
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

#axo-fg .diagonal-cut {
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0% 100%);
}

#axo-fg .diagonal-cut-wrap {
  position: relative;
}

#axo-fg .diagonal-cut-wrap .cut-band {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 40%;
  background: var(--primary);
  z-index: 1;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
}

#axo-fg .diagonal-cut-wrap .img-back {
  z-index: 2;
}

@supports not (mask-image: url("")) {
  #axo-fg .img-back {
    overflow: hidden;
  }

  #axo-fg .img-back::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #f2f2f2;
    opacity: 0;
  }
}

/* ---------- NOUVEAU : FAQ / accordéon (natif, zéro JS) ---------- */

#axo-fg .fg-faq-item {
  border-bottom: 1px solid var(--gris2);
  padding: 20px 0;
}

#axo-fg .fg-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  color: var(--title-color);
  font-family: var(--title-font);
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 19px);
}

#axo-fg .fg-faq-item summary::-webkit-details-marker {
  display: none;
}

#axo-fg .fg-faq-item .fg-faq-chevron {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-right: 2px solid var(--second);
  border-bottom: 2px solid var(--second);
  transform: rotate(45deg);
  transition: transform 0.2s ease-in-out;
}

#axo-fg .fg-faq-item[open] .fg-faq-chevron {
  transform: rotate(-135deg);
}

#axo-fg .fg-faq-item .fg-faq-answer {
  padding-top: 14px;
  max-width: 900px;
}

/* ---------- NOUVEAU : chiffres clés ---------- */

#axo-fg .fg-stat-number {
  font-family: var(--title-font);
  font-weight: 700;
  color: var(--second);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
}

#axo-fg .fg-stat-label {
  margin-top: 10px;
  color: var(--text-color);
  font-size: 15px;
}

/* ---------- NOUVEAU : témoignage / citation ---------- */

#axo-fg .fg-quote {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding-top: 20px;
}

#axo-fg .fg-quote::before {
  content: "\201C";
  display: block;
  font-family: Georgia, serif;
  font-size: 90px;
  line-height: 1;
  color: var(--primary);
  margin-bottom: -10px;
}

#axo-fg .fg-quote p {
  font-size: clamp(18px, 2.2vw, 22px);
  font-style: italic;
  color: var(--title-color);
}

#axo-fg .fg-quote-author {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

#axo-fg .fg-quote-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

#axo-fg .fg-quote-author strong {
  display: block;
  color: var(--title-color);
}

#axo-fg .fg-quote-author span {
  display: block;
  font-size: 14px;
  color: var(--text-color);
}

/* ---------- NOUVEAU : CTA simple sans image ---------- */

#axo-fg .fg-cta-simple {
  position: relative;
  overflow: hidden;
  padding: var(--space-md) clamp(20px, 6vw, 60px);
  text-align: center;
}

#axo-fg .fg-cta-simple p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ------------- NOUVEAU : SECTION TARIFS / MENU ------------ */

#axo-fg .fg-tarifs {
  padding: var(--space-md) clamp(20px, 6vw, 60px);
  isolation: isolate;
}

.fg-tarifs-table {
  padding: 30px;
  padding-left: 0px;
}

.menu-card {
  background-color: var(--third);
  border: 1px solid var(--primary);
  padding: 35px;
  position: relative;
}

.menu-card:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 30px;
  right: -30px;
  bottom: -30px;
  left: 30px;
  background-color: var(--second);
  z-index: -1;
}

.menu-card.radius1,
.menu-card.radius1:before {
  border-radius: 5px;
}

.menu-card.radius2,
.menu-card.radius2:before {
  border-radius: 20px;
}

.menu-card.radius3,
.menu-card.radius3:before {
  border-radius: 35px;
}

.menu-category {
  font-family: Georgia, serif;
  color: var(--primary);
  font-size: 25px;
  border-bottom: 1px solid var(--second);
  padding-bottom: 10px;
  margin-top: 35px;
  margin-bottom: 20px;
}

.menu-item {
  padding: 12px 0;
}

/* Le nom/description n'avait pas de largeur propre : dans le flex
   justify-content-between, sa taille dépendait du contenu de CHAQUE item
   (nom + description de longueur variable), ce qui donnait des retours à
   la ligne incohérents d'un item à l'autre. flex:1 1 auto + min-width:0
   force la même largeur disponible pour tous les items ; menu-price passe
   en largeur fixe (flex: 0 0 auto) pour ne jamais être écrasé. */
.menu-item>.d-flex {
  gap: 20px;
}

.menu-item>.d-flex>div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.menu-item-name {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: bold;
  /* .menu-card est sur fond sombre (--third) : texte clair pour rester
     lisible. */
  color: var(--white);
}

.menu-item-description {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  margin-top: 4px;
}

.menu-price {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: bold;
  color: var(--primary);
  white-space: nowrap;
  flex: 0 0 auto;
}

.menu-note {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--second);
  color: var(--text-color);
  font-size: 13px;
  text-align: center;
}

/* ---------- Etapes ------------ */

.card-etape-wrapper {
  isolation: isolate;
  transition: 0.3s ease-in-out;
}

.card-etape {
  position: relative;
  padding: 30px;
  border: 1px solid var(--primary);
  background: var(--sweet-primary);
  transition: 0.3s ease-in-out;
}

.card-etape:before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 18px;
  right: -18px;
  bottom: -18px;
  left: 18px;
  background: var(--second);
  background-size: cover;
  z-index: -1;
  opacity: 30%;
  transition: 0.3s ease-in-out;
}

.card-etape.radius1,
.card-etape.radius1:before {
  border-radius: 5px;
}

.card-etape.radius2,
.card-etape.radius2:before {
  border-radius: 20px;
}

.card-etape.radius3,
.card-etape.radius3:before {
  border-radius: 35px;
}

/* Grosseur de bordure réglable : la carte n'était exploitable que sur
   des visuels haut de gamme avec sa bordure fixe à 1px. */
.card-etape.border0 {
  border-width: 0;
}

.card-etape.border2 {
  border-width: 2px;
}

.card-etape.border3 {
  border-width: 3px;
}

.card-etape.border4 {
  border-width: 4px;
}

.card-etape-wrapper:hover {
  transform: translateY(-20px);
  transition: 0.3s ease-in-out;
}

.card-etape:hover:before {
  width: 100%;
  height: 100%;
  top: 22px;
  right: -18px;
  bottom: -22px;
  left: 18px;
  background-color: var(--second);
  z-index: -1;
  opacity: 15%;
  transition: 0.3s ease-in-out;
}

.card-etape span.chiffre-etape {
  padding: 10px;
  padding-left: 20px;
  border: 1px solid var(--primary);
  border-right: none;
  display: block;
  margin-right: -30px;
  background-color: var(--primary);
  color: #fffdfa;
}

.card-etape.radius1 span.chiffre-etape {
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  padding-left: 20px;
}

.card-etape.radius2 span.chiffre-etape {
  border-bottom-left-radius: 30px;
  border-top-left-radius: 30px;
  padding-left: 20px;
}

.card-etape.radius3 span.chiffre-etape {
  border-bottom-left-radius: 35px;
  border-top-left-radius: 35px;
  padding-left: 20px;
}

/* ---------- Bloc 14 : présentation + motif décoratif ---------- */

#axo-fg .fg14-img-col {
  position: relative;
}

#axo-fg .fg14-img-wrap {
  position: relative;
  z-index: 1;
}

#axo-fg .fg14-motif {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

/* Les 4 motifs pointent par défaut vers la droite (le côté "intérieur",
   vers le texte) : c'est le cas sûr quand l'image est à gauche (position
   par défaut du bloc). #axo-fg a un overflow:hidden, donc un motif qui
   déborderait plutôt vers l'extérieur du bloc serait tout simplement
   rogné et invisible. Quand l'image passe à droite, .fg14-mirror
   (ajoutée en JS selon la position) bascule tout côté gauche pour que
   le motif continue de pointer vers le texte, jamais vers le bord. */

/* Motif « points » : grille de pois en coin */
#axo-fg .fg14-motif-points {
  top: -24px;
  right: -24px;
  width: 130px;
  height: 130px;
  background-image: radial-gradient(var(--primary) 2.5px, transparent 2.5px);
  background-size: 16px 16px;
  opacity: 0.7;
}

#axo-fg .fg14-mirror.fg14-motif-points {
  right: auto;
  left: -24px;
}

/* Motif « cadre » : même esprit que l'ombre décalée des cartes tarifs/étapes */
#axo-fg .fg14-motif-cadre {
  top: 22px;
  left: 22px;
  right: -22px;
  bottom: -22px;
  background-color: var(--second);
  opacity: 0.25;
}

#axo-fg .fg14-mirror.fg14-motif-cadre {
  left: -22px;
  right: 22px;
}

/* Motif « cercle » : aplat rond en fond de cadre */
#axo-fg .fg14-motif-cercle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--sweet-primary);
  bottom: -50px;
  right: -50px;
}

#axo-fg .fg14-mirror.fg14-motif-cercle {
  right: auto;
  left: -50px;
}

/* Motif « rayures » : bande de hachures diagonales
   (top+bottom plutôt qu'une height en % : le parent .fg14-img-col
   n'a pas de hauteur explicite, une height% s'y résoudrait à 0) */
#axo-fg .fg14-motif-rayures {
  top: 50px;
  bottom: 50px;
  right: -28px;
  width: 90px;
  background-image: repeating-linear-gradient(45deg,
      var(--primary) 0 6px,
      transparent 6px 16px);
  opacity: 0.55;
}

#axo-fg .fg14-mirror.fg14-motif-rayures {
  right: auto;
  left: -28px;
}

#axo-fg .fg14-highlight {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--primary);
  background-color: var(--sweet-primary);
}

#axo-fg .fg14-highlight-number {
  flex: 0 0 auto;
  font-family: var(--title-font);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 42px);
  color: var(--primary);
  line-height: 1;
}

#axo-fg .fg14-highlight-label {
  font-size: 14px;
  color: var(--text-color);
}

#axo-fg .fg14-highlight.radius1 {
  border-radius: 0 6px 6px 0;
}

#axo-fg .fg14-highlight.radius2 {
  border-radius: 0 20px 20px 0;
}

#axo-fg .fg14-highlight.radius3 {
  border-radius: 0 35px 35px 0;
}

/* ---------- Bloc 15 : équipe ---------- */

#axo-fg .fg15-card-wrapper {
  display: flex;
}

#axo-fg .fg15-card {
  width: 100%;
  text-align: center;
}

#axo-fg .fg15-role {
  color: var(--primary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

#axo-fg .fg15-social {
  display: flex;
  justify-content: center;
  gap: 10px;
}

#axo-fg .fg15-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--sweet-primary);
  color: var(--primary);
  font-size: 13px;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

#axo-fg .fg15-social-link:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Style « classique » */
#axo-fg .fg15-card-classique {
  background-color: var(--gris);
  height: 100%;
  padding-bottom: 26px;
}

#axo-fg .fg15-card-classique .fg15-photo {
  width: 100%;
  height: 210px;
  overflow: hidden;
  margin-bottom: 20px;
}

#axo-fg .fg15-card-classique .fg15-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#axo-fg .fg15-card-classique h3,
#axo-fg .fg15-card-classique .fg15-role {
  padding: 0 20px;
}

/* Style « overlay » */
#axo-fg .fg15-card-overlay {
  position: relative;
  height: 340px;
  overflow: hidden;
}

#axo-fg .fg15-card-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#axo-fg .fg15-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.15) 55%,
      rgba(0, 0, 0, 0) 100%);
}

#axo-fg .fg15-overlay-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
}

#axo-fg .fg15-overlay-content h3,
#axo-fg .fg15-overlay-content .fg15-role {
  color: var(--white);
}

#axo-fg .fg15-overlay-content .fg15-role {
  color: var(--sweet-primary);
}

#axo-fg .fg15-overlay-content .fg15-social-link {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

#axo-fg .fg15-overlay-content .fg15-social-link:hover {
  background-color: var(--white);
  color: var(--third);
}

/* Style « minimal » */
#axo-fg .fg15-photo-circle {
  width: 110px;
  height: 110px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
}

#axo-fg .fg15-photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Bloc 16 : bandeau logos clients / partenaires ---------- */

#axo-fg .fg16-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#axo-fg .fg16-logo-item img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition:
    filter 0.2s ease-in-out,
    opacity 0.2s ease-in-out;
}

#axo-fg .fg16-logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---------- Bloc 17 : carte + coordonnées ---------- */

#axo-fg .fg17-infos {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}

#axo-fg .fg17-infos li {
  margin-bottom: 24px;
}

#axo-fg .fg17-infos li:last-child {
  margin-bottom: 0;
}

#axo-fg .fg17-infos li,
#axo-fg .fg17-infos li a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-color);
}

#axo-fg .fg17-infos li a {
  transition: color 0.2s ease-in-out;
}

#axo-fg .fg17-infos li a:hover {
  color: var(--primary);
}

#axo-fg .fg17-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  background-color: var(--second);
  color: var(--white);
  transition: background-color 0.2s ease-in-out;
}

#axo-fg .fg17-infos li a:hover .fg17-icon-box {
  background-color: var(--primary);
}

/* ---------- Bloc 18 : texte flottant sur image ---------- */

#axo-fg .fg18-wrap {
  position: relative;
  padding-bottom: clamp(40px, 8vw, 90px);
}

#axo-fg .fg18-img {
  width: 82%;
  margin-left: auto;
}

#axo-fg .fg18-wrap.fg18-right .fg18-img {
  margin-left: 0;
  margin-right: auto;
}

#axo-fg .fg18-card {
  position: relative;
  z-index: 2;
  background: var(--white);
  max-width: 460px;
  padding: clamp(28px, 4vw, 50px);
  margin-top: clamp(-90px, -10vw, -60px);
  margin-left: clamp(0px, 4vw, 40px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

#axo-fg .fg18-wrap.fg18-right .fg18-card {
  margin-left: auto;
  margin-right: clamp(0px, 4vw, 40px);
}

/* ---------- Accessibilité ---------- */

#axo-fg a:focus-visible,
#axo-fg summary:focus-visible,
#axo-fg button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  #axo-fg * {
    transition-duration: 0.001ms !important;
  }
}

/*
========================================
Responsive : tablette (<= 991.98px)
========================================
*/

@media (max-width: 991.98px) {
  #axo-fg .bloc-3-content {
    padding-left: clamp(20px, 6vw, 40px);
    padding-right: clamp(20px, 6vw, 40px);
  }

  #axo-fg .fg-position {
    position: static;
    margin-bottom: 24px;
  }
}

/*
========================================
Responsive : mobile (<= 767.98px)
========================================
*/

@media (max-width: 767.98px) {
  #axo-fg .surtext {
    font-size: 13px;
    padding: 8px 16px;
  }

  /* Bandeaux visuels découpés : sur mobile, plus de découpe.
     Le texte garde le padding du bloc, l'image devient une bande
     pleine largeur collée en bas de la carte (elle "déborde" du
     padding pour venir toucher les bords gauche/droite/bas — donc
     pas de superposition avec le texte, et les coins bas restent
     arrondis grâce à l'overflow:hidden du parent). */
  #axo-fg .smooth-cut,
  #axo-fg .strict-cut,
  #axo-fg .diagonal-cut,
  #axo-fg .triangle-cut {
    clip-path: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  #axo-fg .cuted-bg .img-back {
    position: static;
    width: calc(100% + 2 * var(--space-sm));
    height: clamp(200px, 55vw, 320px);
    margin: 24px calc(-1 * var(--space-sm)) calc(-1 * var(--space-sm));
  }

  #axo-fg .diagonal-cut-wrap .cut-band {
    display: none;
  }

  #axo-fg .fg-style-banner {
    text-align: left;
  }

  #axo-fg .card-photo,
  #axo-fg .card-icon {
    padding: 24px;
    padding-top: 100px;
  }

  #axo-fg .fg-quote::before {
    font-size: 60px;
  }

  #axo-fg .fg14-motif {
    display: none;
  }

  /* Bloc 18 : sur mobile, plus de chevauchement (la carte flottante devient
     illisible en dessous d'une certaine largeur d'image) — l'image passe
     pleine largeur et la carte s'enchaîne normalement en dessous. */
  #axo-fg .fg18-wrap {
    padding-bottom: 0;
  }

  #axo-fg .fg18-img {
    width: 100%;
  }

  #axo-fg .fg18-card,
  #axo-fg .fg18-wrap.fg18-right .fg18-card {
    margin-top: -40px;
    margin-left: auto;
    margin-right: auto;
    max-width: none;
    width: calc(100% - 30px);
  }
}

/*
========================================
Fin Habillage AXO-FG
========================================
*/

.header {
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
  margin-bottom: 5px;
}

.fb-link {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 10;
  display: block;
  transition: 0.3s ease all;
}

.insta-link {
  position: absolute;
  left: 50px;
  top: 20px;
  z-index: 10;
  display: block;
  transition: 0.3s ease all;
}

.fb-link:hover {
  transform: scale(0.8);
}

.header>.d-flex {
  width: 100%;
  margin: 0 auto;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  align-items: center;
}

.banner {
  position: relative;
  z-index: 0;
}

.block-banner {
  position: relative;
  overflow: hidden;
  height: 580px;
  width: 100%;
}

.banner-header {
  height: 100%;
  width: 100%;
}

.block-banner img {
  max-width: 100%;
}

.banner {
  overflow: hidden;
  height: 100%;
  background: url(../images/banner.jpg) no-repeat;
  background-position: center;
  background-size: cover;
  transform: scale(1.1);
  height: 100%;
  width: 100%;
  position: relative;
}

@keyframes zoom {
  0% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.banner img {
  max-width: 100%;
  opacity: 0;
}

.logo {
  width: 100%;
  position: absolute;
  display: flex;
  align-items: center;
  height: 100%;
  z-index: 2;
  top: 0;
  left: 0;
  gap: 0px 60px;
  padding: 0px 50px;
}

.logo a {
  padding: 0;
  display: block;
}

.logo img {
  position: relative;
  z-index: 1;
}

.top {
  padding: 2px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}

.top span {
  font-size: 15px;
}

.right-top {
  display: flex;
  align-items: center;
  padding: 0;
  gap: 0px 20px;
}

.right-top span {
  font-size: 14px;
  font-weight: 300;
  color: #ffff;
  display: block;
  line-height: 1.2;
  text-align: right;
  letter-spacing: 1px;
}

.right-top a {
  padding: 0;
  transition: 0.3s ease all;
  display: flex;
  align-items: center;
  gap: 0px 6px;
  color: var(--primary);
}

.right-top .phone {
  padding: 0;
  font-size: 25px;
  position: relative;
  margin-left: 0;
  z-index: 1;
  display: block;
  text-align: right;
  padding-right: 0;
  color: #fff;
  letter-spacing: 1px;
  font-family: "Tw Cen MT Condensed";
}

/* end header */

/* menu */

.navbar-nav .nav-item {
  display: block;
  transition: 0.5s ease all;
  padding: 0;
  position: relative;
}

.fixed .navbar-nav .nav-item {
  margin: 0 !important;
}

.navbar .navbar-nav .nav-item .nav-link {
  padding: 12px 22px;
  white-space: nowrap;
  transition: 0.3s ease all;
  font-size: 26px;
  text-align: left;
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 400;
  font-family: "Tw Cen MT Condensed";
  color: var(--primary);
}

.navbar .navbar-nav .nav-item .nav-link::before {
  content: attr(data-letter);
  color: #054d81;
  font-size: 90px;
  position: absolute;
  left: 14px;
  bottom: 0;
  display: block;
  line-height: 0.7;
  transition: 0.3s ease all;
}

.navbar .navbar-nav .nav-item:hover>.nav-link {
  color: #fff;
  background: var(--primary);
}

.navbar .navbar-nav .nav-item .nav-link:after {
  z-index: 1;
}

.navbar .navbar-nav .nav-item .nav-link:hover:before {
  width: 100%;
}

.navbar-nav .nav-item:hover>.nav-link:before {
  width: 100%;
  left: 50px;
}

.bloc-menu.fixed .btn-menu {
  display: table;
}

.bloc-menu.fixed .btn-menu {
  display: table;
}

.bloc-menu {
  display: none;
  margin-right: 15px;
  position: relative;
  left: 45px;
  cursor: pointer;
  z-index: 10;
  transition: 0.3s ease all;
}

.btn-menu {
  display: table;
  margin: 0 auto;
  position: relative;
  transition: 0.3s ease all;
}

.btn-menu:hover {
  transform: rotate(180deg);
}

.menubox {
  transition: 0.3s ease all;
  padding: 0;
  margin: 0 auto;
  border-radius: 0;
  max-width: 100%;
  width: 100%;
  font-family: "Minion Pro";
  position: relative;
  z-index: 20;
}

.fixed .inner-menubox:before {
  opacity: 0;
}

.menubox.fixed {
  top: 0;
  z-index: 20;
  position: fixed;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  left: 0;
  bottom: initial;
  border-radius: 0;
  background: var(--gris);
  padding: 0;
}

.menubox.fixed:after {
  display: none;
}

.inner-menubox {
  transition: 0.3s ease all;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  max-width: 1680px;
  border-bottom: 10px solid var(--gris);
  font-family: "Tw Cen MT Condensed";
}

.fixed .inner-menubox {
  border: none;
  max-width: 100%;
  border-radius: 0;
}

.navbar {
  padding: 0;
  position: relative;
  z-index: 2;
  width: 100%;
}

.navbar-nav {
  margin: 0px !important;
  padding: 0;
  z-index: 9;
  width: auto;
  flex-wrap: wrap;
}

.navbar-nav:last-child {
  align-items: center;
  width: auto;
  justify-content: center;
  width: 100%;
  gap: 0px 40px;
}

.fixed .navbar-nav:last-child {
  justify-content: center;
}

/****** end menu ***/

/* ================== BLOC INTRO ================== */
.bloc-intro {
  padding: 60px 15px;
  max-width: 1210px;
  margin: 50px auto 50px;
}

.intro-container {
  display: flex;
  gap: 0;
  align-items: center;
}

.intro-image {
  width: 60%;
  position: relative;
  z-index: 1;
}

.intro-content {
  width: 40%;
  position: relative;
}

.intro-image img {
  display: block;
  margin: 0 auto 20px;
  max-width: 100%;
}

.intro-content p {
  font-size: 19px;
  line-height: 1.5;
  margin: 0;
  font-weight: 100;
  color: #fff;
  margin: 0 auto;
}

.images-block {
  padding: 20px 20px;
}

.images-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: stretch;
  justify-content: space-between;
}

/* Images */
.image-card {
  overflow: hidden;
  max-width: 380px;
  border-radius: 0px 35px 35px 35px;
}

.image-card.mw-100 {
  margin-top: 30px;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.3s ease all;
}

.image-card:hover img {
  transform: scale(1.1);
}

/* Text block */
.text-card {
  padding: 70px 30px;
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 1000px;
  margin: 100px auto;
}

.text-card p {
  font-size: 25px;
  line-height: 1.2;
  max-width: 850px;
  font-weight: 100;
  margin: 0;
  text-align: center;
  font-family: "Bradley Hand ITC";
}

/* Quotes */
.quote {
  position: absolute;
  background: none;
}

.quote.top {
  top: 0;
  left: 0;
  display: block;
}

.quote.bottom {
  bottom: 0;
  right: 0;
}

/* Bloc La Carte */
.la-carte {
  max-width: 1270px;
  margin: 50px auto;
  background: url(../images/back.jpg) no-repeat;
  overflow: hidden;
  padding: 100px 15px;
  border-radius: 0px 50px 50px 50px;
  background-size: cover;
}

.la-carte h2 {
  font-size: 65px;
  max-width: 960px;
  margin: 0 auto 5px;
  display: block;
  font-family: "Tw Cen MT Condensed";
  line-height: 0.8;
  margin-bottom: 20px;
}

.la-carte p {
  max-width: 960px;
  margin: 0 auto;
  font-size: 21px;
  font-weight: 100;
}

.la-carte p u {
  text-decoration: blink;
  border-bottom: 1px solid #fff;
}

.carte-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
  padding-top: 70px;
}

.carte-item {
  overflow: hidden;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  cursor: pointer;
  width: calc(100% / 2);
  max-width: calc(100% / 2);
  flex: calc(100% / 2);
  padding: 0px 40px;
  margin-bottom: 40px;
}

.img-block {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carte-item:hover {
  transform: translateY(-10px);
  letter-spacing: 2px;
}

.carte-item img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.carte-item h3 {
  margin: 15px 0;
  font-family: "Tw Cen MT Condensed";
  font-size: 35px;
  text-align: center;
  transition: 0.3s ease all;
  color: var(--white);
}

/* Nouveau bloc Envie d'une pizza */
.envie-pizza {
  max-width: 800px;
  margin: 100px auto;
  text-align: center;
  padding: 0px 15px;
}

.envie-pizza h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 100;
}

.envie-pizza h2 b {
  font-family: "Tw Cen MT Condensed";
  font-size: 42px;
}

.envie-pizza p {
  font-size: 1rem;
  color: #fff;
  line-height: 1.5;
  font-size: 19px;
}

/****** bloc-avis-client  ***/

.bloc-avis-client {
  position: relative;
  padding: 0;
  max-width: 1240px;
  margin: 0 auto;
}

.container_avis_client {
  position: relative;
  max-width: 1280px;
  margin: 0px auto 0px;
  background-position: bottom;
  padding: 100px 15px;
}

.bloc-avis-client_inner {
  width: 100%;
  padding: 0;
  margin-bottom: 40px;
  margin-top: 100px;
}

.bottom_title {
  padding: 0;
  color: #fff;
  padding-right: 0;
  background-size: 100px;
  margin: 0 auto 15px;
  font-size: 27px;
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px 20px;
}

.bottom_title img {
  position: relative;
  padding: 0;
  display: table;
  z-index: 1;
  max-width: 100%;
}

.bottom_title span {
  margin: 0;
  align-items: center;
  font-size: 27px;
}

.bloc-avis-client .flex-block--inner {
  display: flex;
  color: #fff;
}

.bloc-avis-client .flex-block--inner .col-12 {
  padding: 0px 18px;
  margin: 0 auto;
  width: calc(100% / 3);
  max-width: calc(100% / 3);
  flex: calc(100% / 3);
}

.bloc-avis-client .flex-block--inner .col-12:nth-child(3) h2 {
  background: var(--primary);
}

.bloc-avis-client .flex-block--inner .col-12:nth-child(2) h2 {
  background: var(--primary);
}

.bloc-avis-client .flex-block--content h2 {
  font-size: 16px;
  font-weight: 900;
  display: block;
  margin-bottom: 0;
  padding: 19px 0px 35px;
  text-align: left;
  left: -61px;
  position: relative;
}

.text-avis {
  min-height: 330px;
  padding-top: 10px;
  padding-left: 10px;
}

.text-date {
  display: block;
  padding: 0;
  font-weight: 100;
  font-size: 18px;
  color: var(--primary);
  margin-top: 20px;
}

.bloc-avis-client .flex-block--content h2 {
  font-size: 18px;
  display: block;
  position: absolute;
  text-orientation: sideways;
  transform: rotate(180deg);
  white-space: nowrap;
  writing-mode: vertical-rl;
  top: 0;
  left: 0;
  padding: 30px 13px;
  height: 100%;
  font-weight: 100;
  text-align: right;
  margin: 0;
  text-transform: uppercase;
  height: 330px;
  width: 64px;
  background: var(--primary);
  border-radius: 20px 20px 0px 20px;
}

.bloc-avis-client .flex-block--content p {
  font-size: 18px;
  display: block;
  margin: 0;
  text-align: left;
  font-weight: 100;
  padding-left: 0;
  max-width: 200px;
}

.bloc-avis-client .flex-block--content h2 b {
  display: block;
  font-weight: 100;
  font-size: 33px;
  padding-top: 0;
  letter-spacing: 5px;
}

.bloc-avis-client .flex-block--content {
  position: relative;
  padding: 40px 0px 0px;
  height: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================== BLOC block_pizza ================== */
.bloc-block_pizza {
  padding: 0;
  max-width: 1210px;
  margin: 0 auto 150px;
  padding: 0px 15px;
}

.pizza-image {
  width: 60%;
  overflow: hidden;
  position: relative;
  z-index: 1;
  height: 500px;
  border-radius: 0px 35px 35px 35px;
}

.block_pizza-container {
  display: flex;
  gap: 30px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.pizza-content {
  width: 40%;
  position: relative;
  padding-right: 30px;
}

.pizza-content>div {
  position: relative;
  z-index: 1;
}

.pizza-content h2 {
  font-size: 31px;
  margin-bottom: 25px;
  color: #fff;
  font-weight: normal;
  font-family: "Tw Cen MT Condensed";
}

.pizza-content h2:after {
  content: "";
  width: 100px;
  height: 10px;
  display: block;
  background: var(--primary);
  margin-top: 9px;
}

.pizza-content p {
  color: #fff;
  font-size: 18px;
  font-weight: 100;
  margin-bottom: 45px;
}

.link-commande {
  display: flex;
  background: var(--primary);
  padding: 15px;
  color: #fff;
  align-items: flex-end;
  justify-content: space-around;
  font-size: 26px;
  font-weight: 100;
  border-radius: 0px 17px 17px 17px;
  transition: 0.3s ease all;
}

.link-commande:hover {
  background: var(--second);
  color: #fff;
  letter-spacing: 1px;
}

.link-commande b {
  font-family: "Tw Cen MT Condensed";
}

/* Bloc texte central */
img {
  transition: 0.3s ease all;
}

/****** page interne ***/

.text {
  max-width: 1440px;
  margin: 0px auto 0px;
  padding: 0px 15px 0px;
  position: relative;
  z-index: 2;
}

.textdiv {
  margin: 0px auto 0px;
  padding: 50px 30px 100px;
  line-height: 31px;
  font-size: 17px;
  text-align: justify;
  position: relative;
  z-index: 1;
  font-weight: 200;
}

.footer {
  width: 100%;
  max-width: 1440px;
  margin: -202px auto 0px;
  padding: 20px 0px;
  background: var(--third);
  position: relative;
  z-index: 1;
}

.footer-container {
  display: flex;
  align-items: center;
  position: relative;
  margin: 0 auto;
  justify-content: space-between;
  padding: 10px 30px;
}

.footer-container>div:first-child {
  width: 45%;
}

.link-fb {
  display: block;
  border-bottom: 3px solid #fff;
  text-align: center;
  padding: 10px 10px 25px;
}

.logo-footer {
  max-width: 180px;
  display: block;
}

.footer-left {
  font-size: 14px;
}

.footer-left .d-flex {
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid #fff;
  padding: 10px 0px 25px;
  gap: 0px 60px;
  margin-bottom: 20px;
}

.phone {
  color: #fff;
  font-size: 26px;
  font-family: "Tw Cen MT Condensed";
}

.phone:hover {
  color: var(--primary);
}

.contact-btn {
  display: table;
  margin-top: 20px;
  color: #fff !important;
  border-bottom: 1px solid #fff !important;
  padding: 0px;
  text-decoration: none;
  font-size: 15px;
  transition: 0.3s;
  font-weight: 100;
}

.contact-btn:hover {
  color: var(--second);
  letter-spacing: 1px;
}

/****** end Contact ***/

.footer-ico {
  display: block;
  max-width: 120px;
  filter: brightness(0) saturate(100%) invert(86%) sepia(0%) saturate(37%) hue-rotate(193deg) brightness(95%) contrast(93%);
}

/****** footer ***/
.boxfooter {
  overflow: hidden;
  padding: 15px;
  z-index: 1;
  position: relative;
  margin: 0 auto 50px;
  max-width: 1440px;
}

.footerlink {
  color: #d0d0d0;
  font-size: 10px;
  font-family: verdana;
  text-align: right;
}

.footerlink ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
  display: inline-block;
}

.footerlink ul li {
  display: inline-block;
}

.footerlink ul li a {
  text-decoration: none !important;
  transition: 0.3s ease all;
  color: #cbcbcb;
  padding: 0px 10px;
  font-size: 12px;
}

.footerlink ul li a:hover {
  color: var(--primary);
}

.inlineblock {
  display: inline-block;
}

.footerlink ul {
  padding: 0px;
  margin: 0px;
  list-style: none;
  background: none;
}

.boxfooter>div {
  width: 100%;
  margin: 0;
  align-items: center;
}

/****** footer ***/

/****** end page interne ***/

@media (max-width: 1280px) {
  .navbar .navbar-nav .nav-item .nav-link {
    text-align: center;
    font-size: 15px;
  }

  .footer-left {
    left: 20px;
    flex-direction: column;
    gap: 20px 0px;
  }

  .navbar-nav:after {
    height: 100%;
  }

  .logo img {
    max-width: 350px;
  }
}

@media (min-width: 991px) {
  .navbar-expand-lg .navbar-collapse {
    display: block !important;
  }

  .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }

  .navbar-nav .nav-item.dropdown .dropdown-menu {
    background: var(--second);
    border: none;
    border-radius: 0px;
    margin: 0;
    padding: 0;
    left: 0;
  }

  .dropdown-item {
    color: #fff;
    font-size: 18px;
  }

  .dropdown-item:focus,
  .dropdown-item:hover {
    background: var(--primary);
    color: #fff;
  }

  .page .header>.d-flex {
    height: 450px;
  }

  .page .block-banner {
    max-height: 450px;
  }

  .page .logo img {
    max-width: 300px;
  }
}

/* =========================================
   TABLETTE (â‰¤ 1024px)
========================================= */
@media (max-width: 1024px) {
  .images-container {
    display: block;
    max-width: 380px;
    margin: 0 auto;
  }

  .text-card {
    padding: 100px 30px;
  }

  .logo-footer {
    margin: 0 auto;
    max-width: 100%;
  }

  .image-card {
    margin-bottom: 40px;
  }

  .footer-left span {
    text-align: center;
    display: block;
    margin: 0 auto;
    padding: 0 !important;
  }

  .footer-left a {
    display: table;
    margin: 0 auto;
  }

  /* ---------- INTRO ---------- */
  .intro-container {
    flex-direction: column;
    text-align: center;
  }

  .bloc-avis-client .flex-block--inner {
    flex-wrap: wrap;
  }

  .bloc-avis-client .flex-block--inner .col-12 {
    width: 100%;
    max-width: 100%;
    flex: 100%;
    margin-bottom: 40px;
  }

  .bloc-avis-client .flex-block--content {
    max-width: 360px;
  }

  .text-avis {
    padding-left: 46px;
  }

  .bloc-intro {
    padding: 0px 15px;
  }

  .footer-container {
    flex-direction: column;
    gap: 40px 0px;
  }

  .intro-content p {
    border: none;
    padding: 0px 0px 0px;
  }

  .intro-image {
    margin: 0 auto;
    width: 100%;
    display: table;
    max-width: 600px;
  }

  .intro-content:before {
    display: none;
  }

  .intro-content {
    top: 0;
    width: 100%;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 0px 0px 45px 45px;
  }

  .intro-image img {}

  /* ---------- METIERS ---------- */

  /* ---------- SUIVI ---------- */

  /* ---------- block_pizza ---------- */
  .block_pizza-container {
    flex-direction: column;
    text-align: center;
  }

  .bloc-block_pizza {
    max-width: 660px;
    margin: 50px auto;
  }

  .pizza-content {
    text-align: center !important;
    width: 100%;
    padding: 0px 15px;
  }

  .pizza-content>div {
    margin: 0 auto;
  }

  .pizza-content h2:after {
    margin: 10px auto 0px;
  }

  .pizza-content:before {
    display: none;
  }

  /* ---------- cuvees ---------- */
}

@media (max-width: 992px) {

  /* ---------- GLOBAL PADDING ---------- */
  .bloc-intro,
  .bloc-block_pizza {
    padding: 50px 20px;
  }

  .bloc-intro {
    margin: 0 auto;
  }

  /* ---------- INTRO ---------- */

  .intro-content p {}

  /* ---------- METIERS ---------- */

  /* ---------- SUIVI ---------- */

  /* ---------- block_pizza ---------- */
  .pizza-content h2 {
    font-size: 24px;
  }

  /* ---------- CTA ---------- */

  /* ---------- cuvees ---------- */

  .images-container {
    grid-template-columns: 1fr;
  }

  .text-card {
    max-width: calc(100vw - 30px);
    margin: 0px auto 40px;
  }

  .text-card p {
    max-width: 100%;
    font-size: 25px;
  }

  .footer-left {
    position: relative;
    left: 0;
    width: 100%;
    top: 0;
    max-width: 100%;
  }

  .footer-container {
    flex-direction: column;
    top: 0;
  }

  .contact-btn {
    float: none;
    display: table;
    margin: 20px auto 0px;
  }

  .text {
    margin-top: 0;
    padding-top: 35px;
  }

  .navbar .navbar-nav .nav-item .nav-link:before {
    display: none;
  }

  .navbar {
    padding: 0px;
  }

  .navbar-nav:after {
    display: none;
  }

  .navbar-nav .nav-item .nav-link {
    text-align: left;
  }

  .inner-menubox {
    padding: 0;
    background: none;
    left: 0;
    width: 100%;
    border: none;
  }

  .collapse:not(.show) {
    display: block;
  }

  .navbar-nav {
    align-items: center;
    flex-direction: column;
  }

  .navbar-nav:first-child {
    padding-bottom: 0;
  }

  .menubox.fixed .navbar-nav {
    flex-direction: column;
  }

  .navbar-nav:last-child {
    background: none;
    max-width: 100%;
    margin: 0 !important;
    padding-top: 0;
  }

  .navbar .navbar-nav .nav-item .nav-link {
    padding: 3px 10px;
    font-size: 18px;
    color: #fff;
  }

  .navbar .navbar-nav .nav-item {
    background: none;
    display: block;
  }

  .dropdown-menu {
    background: var(--primary);
    border-radius: 0;
    margin: 0;
    border: none;
  }

  .dropdown-item {
    color: #fff;
  }

  .navbar-nav .nav-item:before,
  .menubox:before,
  .menubox:after {
    display: none;
  }

  .navbar-nav:last-child:before {
    display: none;
  }

  .menubox.activemenu {
    transform: none;
  }

  .menubox {
    width: 100%;
    top: 58px !important;
    border: none;
    background: var(--back) !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    max-width: 100%;
    transform: translateX(-100%);
    transition: 0.3s ease all;
    bottom: initial;
    padding: 50px 20px 0px !important;
    margin: 0;
    height: 100%;
    display: block;
  }

  .logo img {
    max-width: 100%;
  }

  .logo {
    width: 100%;
    left: 0;
    justify-content: center;
    flex-direction: column;
    gap: 30px 0px;
    padding: 0px 23px;
  }

  .logo:after,
  .logo:before {
    display: none;
  }

  .logo a:first-child img {
    max-width: 300px;
  }

  .block-banner {
    width: 100%;
    height: 450px;
    border-radius: 0;
    padding: 0;
  }

  .block-banner:before,
  .block-banner:after {
    display: none;
  }

  .header>.d-flex:before {
    display: none;
  }

  .block-banner>div {
    background-position: center;
  }

  .header>.d-flex:after {
    display: none;
  }

  .top {
    display: none;
  }

  .header>.d-flex {
    flex-wrap: wrap;
    height: auto;
  }

  .header {
    position: relative;
    top: 0;
    margin-top: 58px;
    max-height: initial;
    border: none;
    margin-bottom: 0;
    display: block;
    padding: 0;
    padding-bottom: 0;
  }

  .page .header {
    margin-bottom: 0;
  }

  .bloc-menu a {
    display: table;
    padding: 0;
    top: 11px;
    left: 11px;
    position: relative;
    margin: 0;
  }

  .btn-menu:after {
    display: none;
  }

  .bloc-menu.fixed {
    left: 0;
    top: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .bloc-menu {
    top: 0;
    left: 0;
    width: auto;
    position: fixed;
    top: 0px;
    width: 100%;
    height: 58px;
    overflow: hidden;
    z-index: 13;
    display: block;
    animation: none !important;
    background: var(--second);
  }

  .bloc-menu.fixed .btn-menu {
    margin: 0;
    padding: 0;
    background: none;
    box-shadow: none;
  }

  .bloc-menu img {
    position: relative;
    left: 0;
    top: 0;
    width: 40px;
  }

  .btn_scroll {
    display: none;
  }

  .header:before {
    display: none;
  }

  .header:after {
    display: none;
  }
}

@media (max-width: 767px) {

  .bloc-intro,
  .bloc-block_pizza {
    padding: 40px 15px;
    margin: 0px auto;
  }

  .footer-container>div:first-child {
    width: 100%;
    padding: 0px 50px;
  }

  .footer-left .d-flex {
    flex-direction: column;
    gap: 20px 0px;
  }

  .la-carte {
    border-radius: 0;
    padding: 40px 15px;
    text-align: center;
  }

  .carte-items {
    padding-top: 50px;
  }

  .carte-item {
    width: 100%;
    flex: 100%;
    max-width: 100%;
  }

  .bottom_title {
    flex-direction: column;
  }

  .bloc-avis-client_inner {
    margin-top: 50px;
  }

  .bloc-block_pizza {
    border-radius: 0px;
  }

  .intro-image {
    padding: 20px 15px;
    background-size: cover;
  }

  .pizza-image {
    width: 100%;
    height: 300px;
  }

  .pizza-content {
    width: 100%;
  }

  /* ---------- INTRO ---------- */

  .intro-content p {}

  .intro-content {
    width: 100%;
    text-align: center;
  }

  /* ---------- METIERS ---------- */

  /* ---------- SUIVI ---------- */

  /* ---------- block_pizza ---------- */
  .pizza-content h2 {
    font-size: 22px;
    margin-bottom: 25px;
  }

  /* ---------- CTA ---------- */

  /* ---------- cuvees ---------- */

  .block-banner {
    height: 410px;
    margin-bottom: 0;
  }

  .textdiv {
    padding: 0px 20px;
  }

  .footerlink {
    text-align: center;
  }

  .footerlink ul {
    display: flex;
    flex-direction: column;
  }

  .menubox:after {
    display: none;
  }

  .logo img {
    margin: 0 auto;
    display: block;
    max-width: 100%;
  }

  .block-banner:after {
    background-position: 85% 100%;
  }

  .logo a {
    margin: 0px;
  }

  .boxfooter img {
    margin: 0 auto 15px;
    display: block;
    max-width: 120px;
  }
}


@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(1, 1);
  }

  to {
    -webkit-transform: scale(1.5, 1.5);
  }
}

@keyframes zoom {
  from {
    transform: scale(1, 1);
  }

  to {
    transform: scale(1.5, 1.5);
  }
}

@-webkit-keyframes fadeInUpslide {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0) translateX(-50%);
    transform: translate3d(0, 100%, 0) translateX(-50%);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) translateX(-50%);
    transform: translate3d(0, 0, 0) translateX(-50%);
  }
}

@keyframes fadeInUpslide {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0) translateX(-50%);
    transform: translate3d(0, 100%, 0) translateX(-50%);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) translateX(-50%);
    transform: translate3d(0, 0, 0) translateX(-50%);
  }
}

.fadeInUpslide {
  -webkit-animation-name: fadeInUpslide;
  animation-name: fadeInUpslide;
}

#headercarousel {
  display: block;
  position: absolute;
  top: 5%;
  right: 10%;
  width: auto;
  height: 90%;
  max-width: 100%;
  aspect-ratio: 1;
  z-index: 1;
}

#headercarousel .carousel-item {
  height: 100%;
  width: 100%;
  z-index: 9;
}

#headercarousel .carousel-item .img-carousel {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  -webkit-animation: zoom 20s;
  animation: zoom 20s;
}

#headercarousel .carousel-caption {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translateX(-50%) !important;
  right: auto;
  width: 700px;
  padding: 15px;
  max-width: 100%;
  margin: 0px auto;
}

#headercarousel .carousel-caption h3 {
  font-weight: bold;
  font-size: 24px;
}

#headercarousel .carousel-caption p {
  font-size: 16px;
}

#headercarousel .carousel-inner {
  border-radius: 30px;
  height: 100%;
  width: 100%;
}

#headercarousel .carousel-control-next,
#headercarousel .carousel-control-prev {
  width: 50px;
}

#headercarousel .carousel-indicators {
  bottom: 0px;
}

#headercarousel.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity ease-out .7s;
}

#headercarousel.carousel-fade .carousel-item.active,
#headercarousel.carousel-fade .carousel-item-next.carousel-item-left,
#headercarousel.carousel-fade .carousel-item-prev.carousel-item-right {
  opacity: 1;
}

#headercarousel.carousel-fade .active.carousel-item-left,
#headercarousel.carousel-fade .active.carousel-item-right {
  opacity: 0;
}

#headercarousel.carousel-fade .carousel-item-next,
#headercarousel.carousel-fade .carousel-item-prev,
#headercarousel.carousel-fade .carousel-item.active,
#headercarousel.carousel-fade .active.carousel-item-left,
#headercarousel.carousel-fade .active.carousel-item-prev {
  transform: translateX(0);
  transform: translate3d(0, 0, 0);
}

#headercarousel .carousel-indicators .active {
  width: 15px;
  height: 15px;
  margin: 5px;
  background-color: #fff;
  border: none;
  border-radius: 15px;
  border: 1px solid #fff;
}

#headercarousel .carousel-indicators li {
  cursor: pointer;
  width: 15px;
  height: 15px;
  margin: 5px;
  background-color: transparent;
  border: none;
  border-radius: 15px;
  border: 1px solid #fff;
}

@media (max-width: 991px) {
  #headercarousel {
    right: 50%;
    transform: translateX(50%);
  }
  #headercarousel .carousel-item .img-carousel{
    filter: brightness(60%);
  }
}