/*
Theme Name: ArtGE
Theme URI: https://www.art-grandest.fr/
Author: French Connexion
Author URI: https://frenchconnexion-agency.com/
Description: Thème personnalisé pour ArtGE
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: art-ge
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/**
 * Styles personnalisés pour le thème Art GE
 */

/* Variables CSS centralisées dans assets/css/variables.css */

/* OFF-CANVAS - Masquage initial pour éviter le flash */
.off-canvas-container ,
.off-canvas-overlay {
    visibility: hidden;
    opacity: 0;
}
/*
.admin-bar {
    --offset-top: 106px;
}
*/

/* Variables CSS centralisées dans assets/css/variables.css */



/* Reset CSS */
*, html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    font-family: var(--font-main);
    vertical-align: baseline;
    box-sizing: border-box;
}

html {
    box-sizing: border-box;
    display: block;
    line-height: 18.4px;
    text-size-adjust: 100%;
    view-transition-name: root;
    width: 100%;
    max-width: 100%;
    -webkit-locale: "fr-FR";
}


/* Configuration de base HTML5 */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}



/* Inter Variable Font */
@font-face {
    font-display: fallback;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    src: url('assets/fonts/inter/Inter-VariableFont_opsz,wght.woff2') format('woff2-variations');
    font-variation-settings: 'wght' var(--font-weight, 400);
}

/* Masquer le contenu pendant le chargement des polices */
.fonts-loading {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fonts-loaded {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Optimisation pour le menu de navigation */
.site-header {
    font-display: fallback;
}


/* Reset et base */
*::selection {
    background-color: var(--bleu);
    color: var(--beige);
}
body {
    font-family: var(--font-main);
    font-size: var(--font-main-size);
    line-height: 1.55;
    color: var(--artge-text);
    background-color: #fff;
    user-select: var(--beige);
}

a {
    color: var(--artge-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--artge-text);
}
strong {
    font-weight: 600;
}


h4 a {
    display: inline-block;
    text-decoration: none !important;
}

h4 a:hover {
    color: var(--orange);
}


h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-main);
    margin-bottom: var(--spacing-medium);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
}

h1 {
    font-size: 3.75rem;
    font-size: 2.8125rem;
    font-weight: 400;
    line-height: 1.125;
}

h1 strong {
    font-weight: 600;
}

.h2,
h2 {
    font-size: 2.1875rem;
    font-weight: 600;
    line-height: 1.125;
}

.h3,
h3 {
    font-size: 2.1rem;
    font-weight: 600;
    line-height: 1.125;
}

.h4,
h4 {
    font-size: var(--wp--preset--font-size--large);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.45;
}

p {
    margin-bottom: var(--spacing-medium);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.lead {
    font-size: var(--wp--preset--font-size--large);
}

.entry-content a {
    /*background: aqua;*/
    text-decoration: underline;
}


.entry-content ul,
.entry-content ol {
  padding-left: 2rem;
}

.entry-content ul li,
.entry-content ol li {
    position: relative;
    margin-bottom: 1.4rem;
    list-style: none;
}

.entry-content ol {
    counter-reset: section;
}

.entry-content ol li:before,
.entry-content ul li::before {
  content: '';
  position: absolute;
  display: block;
  top: 1px;
  left: -2rem;

  box-sizing: border-box;
  border-radius: 20px;
  
  width: 22px;
  height: 22px;
  background-color: var(--bleuALT);
  background-image: url('assets/images/icon/arrow-alt-w.svg');
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.entry-content ol li:before {
    content: counter(section);
    counter-increment: section;
	color: #fff;
	background: var(--bleuALT);
	font-size: 14px;
	text-align: center;
}


.entry-content.entry-content-jaune ul li::before,
.entry-content.entry-content-jaune ol li::before {
    background-color: var(--jauneALT);
}


.entry-content ul li ul,
.entry-content ol li ol {
    padding-top: 1rem;
    padding-left: 1.5rem;
}

.entry-content ul li ul li::before {
    border-radius: 20px;
    top: 11px;
    width: 12px;
    height: 3px;
    background-image: none !important;
    left: -1.5rem;
}


@media (min-width: 992px) {
    h1 {
        font-size: 3.5rem;
    }
    .h2,
    h2 {
        font-size: 2.5rem;
    }
    h3 {
        font-size: 1.875rem;
    }
    .h4,
    h4 {
        font-size: 1.125rem;
    }
}

@media (min-width: 1200px) {
    h1 {
        font-size: 5rem;
    }
    .h2,
    h2 {
        font-size: 3.125rem;
    }
}

@media (min-width: 2200px) {
    h1 {
        font-size: 5rem;
        font-size: 6.5rem;
    }
    .h2,
    h2 {
        font-size: 3.125rem;
        font-size: 4rem;
    }
    h3 {
        font-size: 3rem;
    }
    .h4,
    h4 {
        font-size: 1.35rem;
    }
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* WIP  */

.wip-label {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    display: block;
    padding: 1rem 1.25rem;
    margin: 1rem;
    width: auto;
    background-color: var(--orange);
}

.wip-separator {
    min-height: 60px;
    background: rgba(0, 0, 0, 0.05);
    display: block;
    display: flex;
    align-items: flex-end;
    width: 100%;
    margin-top: 3.75rem;
    margin-bottom: 3.75rem;
    overflow: hidden;
    background: repeating-linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.07),
        rgba(0, 0, 0, 0.07) 1px,
        rgba(0, 0, 0, 0.03) 1px,
        rgba(0, 0, 0, 0.03) 4.166666%
    );
    background-position: center;
    background-size: var(--container-width) auto;

    /*
    */
    overflow: hidden;
    width: calc(100% + 4rem);
    left: -2rem;
    right: -2rem;
    position: relative;
}

.wip-separator-xl {
    min-height: 180px;
}

.wip-separator + .wip-separator {
    border-top: 0 dashed var(--artge-border);
}

.todo {
    opacity: 0.5;
    border: 2px dashed var(--orange);
    border-bottom: 2px dashed var(--orange);  
    padding: 5rem;
    background: aqua !important;
}

@media (min-width: 992px) {
    .wip-label {
    display: inline-block;
    }
}

/* Utilitaires   */

.wow {
    opacity: 0;
    visibility: hidden;
    /*
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
    */
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
    animation-delay: .5s;
}

.wowin {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    /*transition: all 0.3s ease !important;*/
}

.separator {
    min-height: 40px;
    display: block;
    width: 100%;
}

.separator-xl {
    min-height: 60px;
}

.prelative {
    position: relative;
}
.z10 {
    z-index: 10;
}
.z100 {
    z-index: 100;
}

.fs16 {
    font-size: var(--font-normal-size);
}

.underline {
    text-decoration: underline;
}

.text-uppercase {
    text-transform: uppercase;
}

.text-lowercase {
    text-transform: lowercase;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.rounded {
    border-radius: 50rem;
}

.bradius {
    border-radius: 1.875rem;
}

img.bradius {
    border-radius: 1.5rem;
}

.w-100 {
    width: 100%;
}

.w-auto {
    width: auto;
}

.mxw-820 {
    max-width: 820px !important;
}

.mxw-1060 {
    max-width: 1060px !important;
}

.mnh-1 {
    min-height: 525px;
}
.mnh-2 {
    min-height: 600px;
}
.mnh-3 {
    min-height: 675px;
}
.mnh-4 {
    min-height: 750px;
}
.mnh-70 {
    min-height: 70vh;
}
.mnh-80 {
    min-height: 80vh;
}
@media (min-width: 992px) {
    .separator {
        min-height: 60px;
    }    
    .separator-xl {
        min-height: 120px;
    }
    .text-lg-left {
        text-align: left;
    }
    .mnh-1 {
        min-height: 650px;
    }
    .mnh-2 {
        min-height: 725px;
    }
    .mnh-3 {
        min-height: 800px;
    }
}

.section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.section-px {
    padding-left: 2rem;
    padding-right: 2rem;
}

.section-px-lg {
    padding-left: var(--spacing-medium);
    padding-right: var(--spacing-medium);
}

.pl-1 {
    padding-left: 1rem !important;
}
.pt-0 {
    padding-top: 0 !important;
}
.pb-0 {
    padding-bottom: 0 !important;
}

.pb-3 {
    padding-bottom: 3rem !important;
}

.px-2 {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.py-2 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

.pt-6 {
    padding-top: 5rem !important;
}
.pb-6 {
    padding-bottom: 5rem !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.my-1,
.mt-1 {
    margin-top: 1rem !important;
}
.my-2,
.mt-2 {
    margin-top: 2rem !important;
}
.mt-3 {
    margin-top: 3rem !important;
}

.mt-4 {
    margin-top: 4rem !important;
}

.mt-6 {
    margin-top: 5rem !important;
}

.mb-n1 {
    margin-bottom: -1rem !important;
}

.mb-n2 {
    margin-bottom: -2rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-05 {
    margin-bottom: 0.5rem !important;
}

.my-1,
.mb-1 {
    margin-bottom: 1rem !important;
}

.my-2,
.mb-2 {
    margin-bottom: 2rem !important;
}

.mb-3 {
    margin-bottom: 3rem !important;
}

.mb-push {
    margin-bottom: 3.75rem !important;
}

.my-3 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.mb-6 {
    margin-bottom: 5rem !important;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.ms-auto {
    margin-left: auto;
}

.me-auto {
    margin-right: auto;
}

.me-05 {
    margin-right: 0.5rem;
}

.me-1 {
    margin-right: 1rem !important;
}

.ms-2 {
    margin-left: 2rem;
}

.d-none {
    display: none !important;
}

@media (max-width: 767px) {
    .mb-xs-2 {
        margin-bottom: 2rem !important;
    }
}

@media (min-width: 992px) {
    .section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .section-px-lg {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    .d-lg-none {
        display: none !important;
    }
    .d-lg-block {
        display: block !important;
    }
    .d-lg-flex {
        display: flex !important;
    }
    .mt-6 {
        margin-top: 7.5rem !important;
    }
    .mb-6 {
        margin-bottom: 7.5rem !important;
    }
    .pr-lg-2 {
        padding-right: 2rem !important;
    }
    .ps-lg-1 {
        padding-left: 1rem !important;
    }
    .pe-lg-1 {
        padding-right: 1rem !important;
    }
    .pe-lg-2 {
        padding-right: 2rem !important;
    }
    .pt-6 {
        padding-top: 7.5rem !important;
    }
    .pb-6 {
        padding-bottom: 7.5rem !important;
    }
    .ms-lg-2 {
        margin-left: 2rem;
    }
    .mt-lg-0 {
        margin-top: 0 !important;
    }
}

.bg-cover {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.bg-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-zoom);
}

a.bg-cover:hover img {
    transform: scale(1.05);
}

.bg-cover-content {
    position: relative;
    z-index: 1;
}

/* Layout */

.site {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.site-main {
    padding: 0 2rem;
    padding: 0;
    margin-top: var(--offset-top);
    /*
    border-right: 2rem solid #f70;
    border-left: 2rem solid #f70;
    */
    flex: 1;
    width: 100%;
    max-width: 100%;
}

.d-flex {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.flex-column {
    flex-direction: column !important;
}
.flex-row {
    flex-direction: row !important;
}
.align-center {
    align-items: center !important;
}
.align-end {
    align-items: flex-end !important;
}
.align-start {
    align-items: flex-start !important;
}
.align-stretch {
    align-items: stretch !important;
}
.justify-start {
    justify-content: flex-start !important;
}
.justify-end {
    justify-content: flex-end !important;
}
.justify-center {
    justify-content: center !important;
}
.justify-between {
    justify-content: space-between !important;
}
.flex-full-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (min-width: 992px) {
    .flex-row-lg {
        flex-direction: row !important;
    }
}

.gap-10 {
    gap: 10px;
}

.gap-15 {
    gap: 15px;
}


@media (max-width: 991px) {
    body .is-layout-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    body .is-layout-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}



/*.wp-block-columns,*/
.wp-block-columns,
.wp-block-column,
.wp-block-group,
.corocol,
.corocol-narrow,
.container {
    max-width: var(--container-width-narrower);
    max-width: var(--container-width-narrow);
    width: 100%;
    padding-right: calc(2 * var(--gutr));
    padding-left: calc(2 * var(--gutr));
    margin-right: auto;
    margin-left: auto;

    /*
    background: #eaf;
    */
}
.container-narrow {
    max-width: var(--container-width-narrower);
}
.wp-block-columns,
.is-layout-flex .wp-block-column {
    margin-right: auto;
    margin-left: auto;
}

.container-large,
.site-footer .container,
.alignwide .container, 
.alignwide .wp-block-column, 
.alignwide .corocol,
.wp-block-columns.alignwide,
.wp-block-group.alignwide {
    max-width: var(--container-width);
    /*
    background: #fea;
    */
}
    
.alignfull .container,
.alignfull .wp-block-column,
.alignfull .corocol,
.wp-block-columns.alignfull,
.wp-block-group.alignfull {
    max-width: 100%;
    max-width: 1780px;
    /*
    background: #afe;
    */
}

.container-fluid {
    max-width: 100%;
    padding-right: calc(2 * var(--gutr));
    padding-left: calc(2 * var(--gutr));
}
.corocol .wp-block-columns {
    max-width: 100%;
}

.width-extra,
.wp-block-group.alignfull,
.wp-block-columns.alignfull,
.wp-block-columns.width-extra,
.wp-block-group.width-extra {
    overflow: hidden;
    /*
    left: -2rem;
    right: -2rem;
    width: 100%;
    width: calc(100% + 4rem);
    max-width: none;
    position: relative;
    */
    /*
    background-color: aqua;
    */
}

.wp-block-columns.width-extra,
.wp-block-group.width-extra {
    max-width: none;
    margin: auto;
    padding-left: 0;
    padding-right: 0;
}


.wp-block-acf-content-block .wp-block-columns.is-layout-flex,
.wp-block-acf-content-block .wp-block-anchor-bar.is-layout-flex,
.wp-block-column.is-layout-flow {
    --gutr: 0;
}


.wp-block-column.is-layout-flow {
    display: flex;
    flex-direction: column;
    --gutr: 0;
}
.search-results {
    --gutr: 15px !important;
}

/* Masonry Grid Styles */

/*
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 0 auto;
    width: 100%;
}
*/

.masonry-item {
    break-inside: avoid;
    margin-bottom: 30px;
    width: 100%;
}
.masonry-item a {
    text-decoration: none !important;
}

/* Force masonry layout when JavaScript is disabled */
.masonry-grid:not(.masonry-enabled) {
    display: grid !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .masonry-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .masonry-item {
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
        gap: 25px;
    }
}

@media (min-width: 992px) {
    .masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
        gap: 30px;
    }
}

@media (min-width: 1200px) {
    .masonry-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)) !important;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
        gap: 35px;
    }
}

/* Force grid layout for masonry */
.masonry-grid {
    display: grid !important;
}



/* Override any conflicting styles */
.masonry-grid .masonry-item {
    float: none !important;
    display: block !important;
    width: 100% !important;
    width: calc(100% - var(--gutr) ) !important;
}

@media (min-width: 992px) {
    /*
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    */
    .masonry-grid .masonry-item {
        width: calc(49% - var(--gutr) ) !important;
    }
}

@media (min-width: 1200px) {
    /*
    .masonry-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    */
    .masonry-grid .masonry-item {
        width: calc(33.333% - var(--gutr) ) !important;
    }
}

/* Classes spécifiques pour le nombre de colonnes */
.corocol-4cols .masonry-grid .masonry-item {
    width: calc(50% - 15px) !important;
}

@media (min-width: 1200px) {
    .corocol-4cols .masonry-grid .masonry-item {
        width: calc(25% - 22.5px) !important;
    }
}


/* Masonry animations */
.masonry-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}


/* Masonry loading state */
.masonry-grid.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.row {
    min-width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: var(--gutrn);
    margin-left: var(--gutrn);
}

.row.same-height {
    display: flex;
    flex-wrap: wrap;
    margin-left: calc(var(--gutr) * -1);
    margin-right: calc(var(--gutr) * -1);
}

.row.same-height > [class*="col-"] {
    display: flex;
    flex-direction: column;
}

.col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col-md-6, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-xl-3, .col-xl-4, .col-xl-6, .col-xl-8, .col-xl-10, .col-xl-11, .col-xxl-2, .col-xxl-10 {
    padding-right: var(--gutr);
    padding-left: var(--gutr);
}

.col {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
}

.col-2 {
    flex: 0 0 20%;
    max-width: 20%;
}

.col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}
.col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}
.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}
.col-7 {
    flex: 0 0 75%;
    max-width: 75%;
}
.col-8 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}
.col-10 {
    flex: 0 0 80%;
    max-width: 80%;
}

.col-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.order-1 {
    order: 1;
}

.order-2 {
    order: 2;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-1 {
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }
    .col-lg-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
    .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .col-lg-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .col-lg-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }
    .col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    .col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }
    .col-lg-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }
    .col-lg-11 {
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }
    .order-lg-1 {
        order: 1;
    }
    .order-lg-2 {
        order: 2;
    }
}

@media (min-width: 1200px) {
    .col-xl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    .col-xl-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .col-xl-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
    .col-xl-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .col-xl-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    .col-xl-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }
    .col-xl-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }
}

@media (min-width: 1400px) {
    .col-xxl-2 {
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }
    .col-xxl-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }
}

/* Grille responsive 1/2/3 colonnes pour archive-formations */
.section-archive-cards .grid {
    column-count: 3;
    column-gap: 2rem;
    column-fill: balance;
}

.section-archive-cards .grid-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 2rem;
    break-inside: avoid;
    page-break-inside: avoid;
}

@media (max-width: 991px) {
    .section-archive-cards .grid {
        column-count: 2;
    }
}

@media (max-width: 767px) {
    .section-archive-cards .grid {
        column-count: 1;
    }
}


/* Colors */
.text-white {
    color: #fff !important;
}

.text-dark {
    color: var(--artge-text) !important;
}

/* Background Colors */
.bg-topography {
    background-image: url('assets/images/bg-topography.png');
    background-position: center 250px;
    background-repeat: no-repeat;
}


.bg-transparent {
    background-color: transparent !important;
    border-color: transparent !important;
}

.btn-white,
.btn-white.btn-fx::before,
.color-btn[data-color="white"],
.has-white-background-color,
.has-white-background-color .invbloc,
.bg-white .invbloc,
.bg-white {
    background-color: #fff !important;
    border-color: #fff !important;
}


.btn-beige,
.btn-beige.btn-fx::before,
.color-btn[data-color="beige"],
.has-beige-background-color,
.has-beige-background-color .invbloc,
.bg-beige .invbloc,
.bg-beige {
    background-color: var(--beige) !important;
    border-color: var(--beige) !important;
}

.btn-bleuALT,
.btn-bleuALT.btn-fx::before {
    background-color: var(--bleuALT) !important;
    border-color: var(--bleuALT) !important;
}

.btn-bleuLT,
.btn-bleuLT.btn-fx::before,
.color-btn[data-color="bleuLT"],
.has-bleu-lt-background-color,
.has-bleu-lt-background-color .invbloc,
.has-bleuLT-background-color,
.has-bleuLT-background-color .invbloc,
.bg-bleuLT .invbloc,
.bg-bleuLT {
    background-color: var(--bleuLT) !important;
    border-color: var(--bleuLT) !important;
}

.btn-bleu,
.btn-bleu.btn-fx::before,
.color-btn[data-color="bleu"],
.has-bleu-background-color,
.has-bleu-background-color .invbloc,
.bg-bleu .invbloc,
.bg-bleu {
    background-color: var(--bleu) !important;
    border-color: var(--bleu) !important;
}

.btn-rougeLT,
.btn-rougeLT.btn-fx::before,
.color-btn[data-color="rouge"],
.has-rouge-background-color,
.has-rouge-background-color .invbloc,
.bg-rouge .invbloc,
.bg-rouge {
    background-color: var(--rougeLT) !important;
    border-color: var(--rougeLT) !important;
}

.btn-jauneLT,
.btn-jauneLT.btn-fx::before,
.color-btn[data-color="jaune"],
.has-jaune-background-color,
.has-jaune-background-color .invbloc,
.bg-jaune .invbloc,
.bg-jaune {
    background-color: var(--jauneLT) !important;
    border-color: var(--jauneLT) !important;
}

.btn-jauneALT,
.btn-jauneALT.btn-fx::before {
    background-color: var(--jauneALT) !important;
    border-color: var(--jauneALT) !important;
}


.has-none-background-color,
.bg-none {
    background-color: transparent !important;
}

.btn-bleu.btn-fx::before,
.btn-bleu {
    background-color: var(--bleu) !important;
    border-color: var(--bleu) !important;
}


.bg-bleu-alt,
.has-bleu-alt-background-color,
.has-bleu-alt-background-color .invbloc,
.card-type-forma .agend-date,
.tagz-bg-bleu-alt::before,
.tagz-bg-bleu-alt::after {
    background-color: var(--bleuALT) !important;
}

.bg-jaune-alt,
.has-jaune-alt-background-color,
.has-jaune-alt-background-color .invbloc,
.card-type-agenda .agend-date,
.tagz-bg-jaune-alt::before,
.tagz-bg-jaune-alt::after {
    background-color: var(--jauneALT) !important;
}

.bg-rouge-alt,
.has-rouge-alt-background-color,
.has-rouge-alt-background-color .invbloc,
.tagz-bg-rouge-alt::before,
.tagz-bg-rouge-alt::after {
    background-color: var(--rougeALT) !important;
}

.bg-artge-text,
.has-artge-text-background-color,
.has-artge-text-background-color .invbloc {
    background-color: var(--artge-text) !important;
}

.bg-orange,
.has-orange-background-color,
.has-orange-background-color .invbloc {
    background-color: var(--orangeLT) !important;
}


/* Cards */
.card {
    position: relative;
    z-index: 10;
    display: flex;
    flex: 1;
    overflow: hidden;
    flex-direction: column;
    background-color: #fff;
    border-radius: 1.25rem;
    transition: opacity .5s ease, transform .5s ease;
    /*
    margin-bottom: 2rem;
    */
}

.row.same-height .card {
    height: 100%;
}
@media (min-width: 992px) {
    .row.same-height .card {
        margin-bottom: 0;
    }
    .text-white-lg {
        color: #fff !important;
    }
}

/* Corps de la carte */

.card-body {
    padding: 40px 40px 60px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.search .card-body {
    padding: 30px 40px;
}

.card-big .card-body {
    padding-top: 60px;
}

.card-huge .card-body {
    gap: 2rem;
    padding: 60px;
}

.card-40 .card-body {
    padding: 60px;
}

/* Variante avec image */
.card-img + .card-body {
    padding-top: 30px;
}

.card-img {
    padding: 40px 40px 0px;
    border-radius: .625rem;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    border-radius: .625rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

a.card:hover .card-img img {
    transform: scale(1.05);
}

.card h3,
.card h4,
.card p {
    width: 100%;
    margin-bottom: 0;
}

.card.card-news {
    flex: 0 0 auto;
}

.card.card-news .imgfit {
    min-height: auto;
}

.card-news .card-body {
    padding: 30px 30px 40px;
}

.card-news .card-img {
    padding: 0;
    border-radius: 1.25rem;
}   

.card-news a.card-img:hover img {
    transform: scale(1.05);
}

.card.bg-white .labl,
.card-news .labl {
    text-decoration: none !important;
    background-color: var(--beige);
}

.card-news.bg-bleuLT .labl,
.card-news.bg-bleu .labl,
.card-news.bg-rouge .labl,
.card-news.bg-jaune .labl {
    background-color: #fff;
}


.step {
    position: relative;
    margin-top: 2.59375rem;
}


.ressource-number,
.step-number {
    position: absolute;
    top: -2.59375rem;
    left: 30px;
    width: 100%;
    height: 100%;
    z-index: 100;
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    background-color: var(--rougeALT);
    border-radius: 50%;
    width: 5.1875rem;
    height: 5.1875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-step {
    padding-top: 2.59375rem;
    background-image: url('assets/images/bg-topograph.png');
    background-size: auto 340px;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.card-step .btn {
    margin-top: 80px;
}


.ressource {
    position: relative;
    margin-top: 4rem;
    transition: margin-top 0.3s ease;
}

.ressource:hover {
    margin-top: 3.5rem;
}

.ressource .card {
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0);
    transition: box-shadow 0.3s ease;
}

.ressource:hover .card {
    box-shadow: 0 8px 10px 0 rgba(0, 0, 0, 0.12);
}

.ressource .card-body {
    padding: 20px 5rem 30px 30px;
}

.ressource .card .h4 {
    padding-right: 60px;
}

.ressource-number {
    left: auto;
    right: 1.25rem;
    top: -3.4375rem;
    aspect-ratio: 1;
    width: 6.875rem;
    height: 6.875rem;
    border-radius: 1rem;
}

.ressource .lablz {
    padding-right: 6rem;
    padding-bottom: .75rem;
}

/* Bouton de téléchargement */
.card .download-link {
    display: inline-flex;
    align-items: center;
    color: var(--artge-text);
    font-size: var(--font-small-size);
    text-decoration: none;
    margin-top: auto;
}

.card .download-link svg,
.card .download-link img {
    margin-right: 0.5rem;
    width: 20px;
    height: 20px;
}

/* Card avec image */

.card-debord-start,
.card-debord-end {
    margin: 1rem 2rem;
    margin-top: calc(var(--gutrn) * 5);
}
.card-debord-map {
    margin: 0;
    margin-top: calc(var(--gutrn) * 7);
    /*-margin-bottom: 1rem;*/
}

@media (min-width: 992px) {
    .card-debord-start-lg,
    .card-debord-start {
        /*margin: 1rem 0;*/
        margin: 0;
        margin-left: calc(var(--gutrn) * 4.5);
    }
    .card-debord-start {
        margin-top: 1rem;
    }
    .card-debord-end {
        margin: 1rem 0 0;
        margin-right: calc(var(--gutrn) * 4.5);
    }
}


/* Dates */

.datz {
    display: inline-block;
    margin-left: 0;
}

/* Labels */

.lablz-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .75rem 1.5rem;
    /*
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    */
    /*
    background: var(--beige);
    padding-top: .5rem;
    padding-bottom: .5rem;
    */
    /* Firefox */
    /*scrollbar-width: none;*/
     /* IE and Edge */
    /*-ms-overflow-style: none;*/
}



.feature-titre,
.labl,
.datz,
.detz {
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.labl {
    text-decoration: none !important;
    background-color: #fff;
    color: var(--artge-text);
    padding: 0.45rem 1rem 0.35rem;
    border-radius: 1.5rem;
    display: inline-block;
    margin: .25rem .625rem;
    margin-left: 0;
    transition: all 0.3s ease;
    /*
    white-space: nowrap;
    */
}

.lablz-bar .labl:first-child {
    margin-left: auto;
}
.lablz-bar .labl:last-child {
    margin-right: auto;
}

a.labl:hover {
    background-color: var(--rougeLT) !important;
    color: var(--artge-text);
}

.lablz.lablz-absolute  {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    flex-wrap: wrap;
    z-index: 2;
}

.lablz-bar .labl,
.lablz-labl-beige .labl,
.has-background.has-white-background-color .lablz-bar .labl {
    background-color: var(--beige);
}

.has-background .lablz-bar .labl {
    background-color: #fff;
}
.has-background .lablz-bar.bg-white .labl {
    background-color: var(--beige);
}

/* Tags */

.tagz {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    width: 2.375rem;
    width: auto;
    display: flex;
    z-index: 2;
}

a.tagz {
    transition: all 0.3s ease;
}

a.tagz:hover {
    transform: scale(1.05);
}

.tagz-team {
    top: auto;
    left: auto;
    bottom: 1.25rem;
    right: 1.25rem;
}

.tagz::before {
    content: '';
    /*
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    */
    width: 2.375rem;
    min-width: 2.375rem;
    /*
    */
    height: 2.375rem;
    border-radius: 50%;
    background: #fff url('assets/images/icon/tag-actu.svg') no-repeat center;
    background-size: 1rem;
}

/* Classes tagz supprimées - seuls LinkedIn et Instagram conservés */

.tagz-linkedin::before {
    background-image: url('assets/images/icon/tag-linkedin.svg');
}

.tagz-instagram::before {
    background-image: url('assets/images/icon/tag-instagram.svg');
}

.tagz::after {
    content: "Actualité";
    background: #fff;
    padding: 5px 1rem 5px 0;
    margin-left: -2rem;
    border-radius: 1rem;
    z-index: -1;
    /*
    position: relative;
    */
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.last-posts .tagz::after {
    position: absolute;
    margin-left: 1rem;
}


.tagz:hover::after {
    padding-left: 2rem;
    opacity: 1;
    /*
    transform: translateX(100%);
    */
}

/* Textes des tagz supprimés - seuls LinkedIn et Instagram conservés */

.tagz-linkedin::after,
.tagz-instagram::after {
    display: none;
}


.agendz {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: var(--font-main-size);
    margin-top: -.25rem;
    margin-bottom: -.25rem;
    line-height: 1.15;
}

.agend-date-holder {
    position: absolute;
    bottom: 1.725rem;
    left: 1.75rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.feature-slider .agend-date-holder {
    position: relative;
    bottom: auto;
    left: auto;
}

.agend-date {
    font-size: var(--font-normal-size);
    font-weight: 600;
    line-height: 1;
    width: 3.75rem;
    height: 3.75rem;
    background-color: var(--beige);
    border-radius: .75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 2;
}

/*
.card-news .imgfit .agend-date,
.card-news .card-img .agend-date {
    position: absolute;
    bottom: 1.725rem;
    left: 1.75rem;
    z-index: 3;
}
*/

.agend-d {
    font-size: 1.375rem;
}


.detz {
    display: flex;
    gap: 1.5rem;
}

.det-time,
.det-loc,
.det-presentiel,
.det-distance,
.det-hybride {
    display: flex;
    align-items: center;
    padding-left: 1.75rem;
    background: transparent url('assets/images/icon/ic-time.svg') no-repeat center left;
    background-size: 16px;
    min-height: 20px;
}

.det-loc {
    background-image: url('assets/images/icon/ic-loc.svg');
    background-size: 20px;
}

.det-presentiel {
    background-image: url('assets/images/icon/ic-presentiel.svg');
}

.det-distance {
    background-image: url('assets/images/icon/ic-distance.svg');
}

.det-hybride {
    background-image: url('assets/images/icon/ic-hybride.svg');
    background-size: 42px 16px;
    padding-left: 3.25rem;
}

/*
.text-white .det-time,
.text-white .det-loc {
    color: #000;
    filter: invert(1);
}
*/

.text-white .det-time {
    background-image: url('assets/images/icon/ic-time-w.svg');
}
.text-white .det-loc {
    background-image: url('assets/images/icon/ic-loc-w.svg');
}

.text-white .det-presentiel {
    background-image: url('assets/images/icon/ic-presentiel.svg');
}

.text-white .det-distance {
    background-image: url('assets/images/icon/ic-distance.svg');
}

.text-white .det-hybride {
    background-image: url('assets/images/icon/ic-hybride.svg');
}

/* Styles pour les sessions de formation */

.sessions-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.session-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.session-item:last-child {
    border-bottom: none;
}

.session-date {
    font-weight: 500;
    color: #333;
}

.session-format {
    display: flex;
    align-items: center;
}

.session-format .det-presentiel,
.session-format .det-distance,
.session-format .det-hybride {
    background-size: 16px;
    padding-left: 1.75rem;
    min-height: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

.session-heures {
    font-weight: 500;
    color: #666;
    text-align: right;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .session-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        text-align: center;
    }
    
    .session-heures {
        text-align: center;
    }
}


/* Barres de tags */
.tag-bar {
    /*
    margin-top: calc(var(--offset-top) * -1);
    */
    /*
    transition: opacity 0.3s ease-in-out, transform 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: opacity 0.3s ease-in-out, transform 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    */
    transition: opacity 0.3s ease-in-out, transform 0.5s ease-in-out;
}

.anchor-bar {
    padding-top: var(--offset-top) !important;
}

/*
.tag-bar .labl,
.anchor-bar .lablz-bar {
    background-color: var(--beige);
}
*/

.anchor-bar .labl {
    font-size: var(--font-small-size);
    text-transform: none;
    letter-spacing: 0.025em;
    padding: 0.5rem 1.25rem;
}


/* key numbers */
.big-number {
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--orange);
}

.bg-bleuLT .big-number {
    color: var(--bleuLT);
}

.bg-bleu .big-number {
    color: var(--bleu);
}

.key-numbers-box {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* icon box */
/*
.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; 
    flex-direction: column;
}

.icon-box-icon {
    width: 5.25rem;
    height: 5.25rem;
    background-color: var(--beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-box-icon img {
    width: 1.25rem;
    height: 1.25rem;
}
*/



.breadcrumb {
    padding: 0.625rem var(--spacing-medium);
}

.breadcrumb a { 
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    color: var(--artge-light-text);
}

.entry-content .breadcrumb ul {
    padding: 0;
}

.entry-content .breadcrumb li {
    display: inline-block;
    font-size: 12px;
    margin-bottom: 0;
}

.breadcrumb ul li::before {
    display: none;
}

.breadcrumb li:after {
    color: var(--artge-light-text);
    content: '|';
    opacity: .75;
}

.entry-content .breadcrumb li:last-child:after {
    display: none;
}

@media screen and (min-width: 992px) {
    .breadcrumb {
        padding: 0.625rem 3.5rem;
    }
    .entry-content .breadcrumb li {
        margin-right: .5rem;
    }
    
    .breadcrumb li:after {
        margin-left: .75rem;
    }
}




/* heading-title */

.heading-title {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    /*
    max-width: 920px;
    */
}

.heading-title-center {
    text-align: center;
    align-items: center;
}

.heading-title-right {
    text-align: right;
    align-items: flex-end;
}

.heading-title h1,
.heading-title h2,
.heading-title h3,
.heading-title p,
.heading-title .btn {
    margin: 0;
}

.heading-title p + .btn {
    margin-top: 1rem;
}





/* Section */

.ptitle-bg {
    background-color: #fff;
    background-color: var(--artge-light-text);
    background-color: var(--beige);
    padding: 2rem;
}


.ptitle-bg .heading-title {
    margin: 2rem 0;
}

.invborder .ptitle-bg  {
    padding-bottom: 6rem;
}

.invbloc {
    position: relative;
    display: block;
    height: 4rem;
    width: 100%;
    background-color: #fff;
    border-radius: 2.4rem 2.4rem 0 0;
    top: 1px
}

.invborder .ptitle-sub {
    position: relative;
    z-index: 10;
    margin-top: -4rem;
}

.invborder .ptitle-sub-content {
    padding-top: 2rem;
}

.invbloc svg {
    fill: #fff;
}

.has-white-background-color .invbloc svg,
.bg-white .invbloc svg {
    fill: #fff;
}
.has-beige-background-color .invbloc svg,
.bg-beige .invbloc svg {
    fill: var(--beige);
}
.has-bleuLT-background-color .invbloc svg,
.bg-bleuLT .invbloc svg {
    fill: var(--bleuLT);
}

.has-bleu-background-color .invbloc svg,
.bg-bleu .invbloc svg {
    fill: var(--bleu);
}
.has-rouge-background-color .invbloc svg,
.bg-rouge .invbloc svg {
    fill: var(--rougeLT);
}
.has-jaune-background-color .invbloc svg,
.bg-jaune .invbloc svg {
    fill: var(--jauneLT);
}
.has-bleu-alt-background-color .invbloc svg,
.bg-bleu-alt .invbloc svg {
    fill: var(--bleuALT);
}
.has-jaune-alt-background-color .invbloc svg,
.bg-jaune-alt .invbloc svg {
    fill: var(--jauneALT);
}
.has-rouge-alt-background-color .invbloc svg,
.bg-rouge-alt .invbloc svg {
    fill: var(--rougeALT);
}

.hero-push .invb-left,
.invb-left,
.invb-right,
.invb-top {
    position: absolute;
    left: -31px;
    bottom: 0;
    z-index: 10;
    display: block;
    width: 2rem;
    height: 2rem;
}

.invb-right {
    left: auto;
    right: -31px;
    transform: scaleX(-1);
}

.invb-top {
    left: auto;
    bottom: auto;
    right: 0;
    top: -31px;
}


/* Home page */


.ptitle-bg-overlay::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,1) 100%);
    opacity: .2;
    z-index: 1;
    pointer-events: none;
}
.overlay-full .ptitle-bg-overlay::after {
    background: #000;
}

.overlay-op0.imgfit::after,
.overlay-op0 .ptitle-bg-overlay::after {
    opacity: 0;
}
.overlay-op10.imgfit::after,
.overlay-op10 .ptitle-bg-overlay::after {
    opacity: .1;
}
.overlay-op20.imgfit::after,
.overlay-op20 .ptitle-bg-overlay::after {
    opacity: .2;
}
.overlay-op30.imgfit::after,
.overlay-op30 .ptitle-bg-overlay::after {
    opacity: .3;
}
.overlay-op40.imgfit::after,
.overlay-op40 .ptitle-bg-overlay::after {
    opacity: .4;
}
.overlay-op50.imgfit::after,
.overlay-op50 .ptitle-bg-overlay::after {
    opacity: .5;
}

.ptitle-bg-overlay .container {
    position: relative;
    z-index: 10;
}







@media (min-width: 992px) {
    .invborder .ptitle-sub {
        margin-top: -4rem;
        padding-left: 2rem;
        padding-right: 2rem;
    }    
    .invborder .ptitle-sub-content {
        padding-top: 0;
    }
}





/* Boutons */

.gform_button.button,
.a2a_dd,
.btn {
    cursor: pointer;
    position: relative;
    text-decoration: none !important;
    display: inline-block;
    font-size: var(--font-normal-size);
    font-weight: 500;
    line-height: 1;
    color: #fff;
    background: var(--artge-bg);
    border: 2px solid var(--artge-bg);
    border-radius: 5rem;
    padding: 1.25rem 1.875rem;
    transition: all .25s ease;
    transition: opacity .5s ease, transform .5s ease, background-color .5s ease, border-color .5s ease;
    margin: 1rem 0;
}

.btn-sm {
    font-size: 0.875rem;
    padding: 0.75rem 1.25rem;
    margin: 0.5rem 0;
}
.btn-sm.btn-arrow  {
    padding-right: 2.75rem;
}
.btn-sm.btn-arrow::after {
    right: 14px;
}

.btn em {
    font-style: normal;
}

.btn:hover span,
.btn:hover em {
    animation: animbtn .7s;
}


.btn-arrow {
    display: inline-flex;
    align-items: center;
    padding-right: 3.75rem;
    background: var(--artge-bg);
    color: #fff;
}

.btn-arrow::after {
    content: '';
    position: absolute;
    right: 30px;
    width: 19px;
    height: 21px;
    background-image: url('assets/images/icon/arrow-w.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.btn-arrow:hover::after {
    animation: animbtn .55s;
    animation-delay: 0.15s;
}

.btn-phantom {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--artge-titre);
    background-color: transparent;
    border-width: 1px;
    padding: 0.875rem 1.25rem;
}

.imgfit .btn-phantom {
    color: #fff;
    border-color: #fff;
}

.btn-arrow.btn-phantom {
    padding-right: 3.25rem;
}

.btn-phantom.btn-arrow::after {
    right: 1.45rem;
    filter: invert(1);
}

.imgfit .btn-phantom::after,
.btn-phantom.btn-arrow:hover::after {
    filter: invert(0);
}

.btn-link-arrow {
    padding-right: 3.75rem;
    background: transparent;
    position: relative;
    text-decoration: none !important;
    font-weight: 600;
    display: flex;
    justify-content: flex-start;
    align-items: end;
    gap: 10px;
    transition: gap 0.2s ease;
}

.btn-link-arrow:hover {
    gap: 14px;
}

.btn-link-arrow::after {
    content: '';
    width: 19px;
    height: 21px;
    background-image: url('assets/images/icon/arrow.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@keyframes animbtn {
    0% {
        transition-timing-function: cubic-bezier(.55,.085,.68,.53)
    }

    50% {
        opacity: 0;
        transform: translateY(15px);
        transition-timing-function: cubic-bezier(.25,.46,.45,.94)
    }

    50.001% {
        transform: translateY(-15px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* Bouton icon */

.btn-icon {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 50px;
    height: 50px;
    background: #fff;
    border-color: #fff;
    padding: 0;
    transition: background-color 0.3s ease;
}

.btn-icon:hover {
    background-color: var(--artge-titre);
}


.btn-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: inherit;
    background-repeat: inherit;
    background-position: inherit;
    background-image: url('assets/images/icon/arrow.svg');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    transition: filter .75s ease;
}

.btn-icon:hover::after {
    animation: animBgPosition .55s;
    filter: invert(1) brightness(1.5);
}

@keyframes animBgPosition {
    0% {
        transition-timing-function: cubic-bezier(.55,.085,.68,.53)
    }

    50% {
        opacity: 0;
        transform: translateX(15px);
        transition-timing-function: cubic-bezier(.25,.46,.45,.94)
    }

    50.001% {
        transform: translateX(-15px)
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Bouton fx */

/*a.btn-fx:focus,*/
.btn-fx {
    text-decoration: none !important;
    background: transparent;
    border: 0;
    color: var(--artge-text);
    position: relative;
    display: flex;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
    padding: 1.25rem .75rem 1.25rem 4rem;
    margin-right: -.5rem;
    transition: all .5s, width 1s cubic-bezier(.73,.29,0,1);
}

span.btn-fx:focus,
span.btn-fx:active,
span.btn-fx:hover,
a.btn-fx:focus,
a.btn-fx:active,
a.btn-fx:hover {
    color: var(--artge-text);
    padding: 1.25rem 1.5rem 1.25rem 3.25rem;
    background: transparent;
    outline: none;
}

.btn-fx::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    width: 3.125rem;
    height: 3.125rem;
    border-radius: 4rem;
    background: var(--rougeLT) url('assets/images/icon/ic-download.svg') no-repeat;
    background-position: 1.1rem center;
    background-size: 1rem;
    transition: width .15s cubic-bezier(.73,.29,0,1), background-position .15s cubic-bezier(.73,.29,0,1);
    z-index: -1;
}

.bg-rouge .card-body .btn-fx::before {
    background-color: #fff;
}

.text-white .btn-fx,
.btn-fx.btn-hoverwhite:focus,
.btn-fx.btn-hoverwhite:active,
.btn-fx.btn-hoverwhite:hover {
    color: #fff;
}

.btn-fx.btn-phone::before {
    background-color: var(--orange) !important;
    background-image: url('assets/images/icon/ic-phone.svg') !important;
}


.btn-fx.btn-linkedin::before {
    background-color: #0E76A7 !important;
    background-image: url('assets/images/icon/tag-linkedin-w.svg') !important;
}


a.btn-fx:focus::before,
a.btn-fx:active::before,
.btn-fx:hover::before {
    width: 100%;
}

@media (min-width: 992px) {
    .btn-fx::before {
        transition: width .5s cubic-bezier(.73,.29,0,1);
        transition: width .5s cubic-bezier(.73,.29,0,1), background-position .5s cubic-bezier(.73,.29,0,1);
    }
}
  
.btn:hover,
.btn:focus,
.btn:active {
    background-color: var(--artge-bg);
    border-color: var(--artge-bg);
    color: #fff;
}

.btn-primary:hover {
    background-color: #333;
    color: #fff;
}

.gform_button.button:hover,
.gform_button.button:focus,
.gform_button.button:active,
.btn-secondary {
    background-color: transparent;
    color: var(--artge-primary);
}
.btn-secondary {
    border: 1px solid var(--artge-primary);
}

.btn-secondary:hover {
    background-color: var(--artge-primary);
    color: #fff;
}

.btn-play {
    position: relative;
    z-index: 10;
    display: inline-block;
    margin: 1rem;
    transition: all .25s ease;
}

.btn-play:hover {
    transform: scale(1.1);
}



.btn-white .btn-fx,
.btn-beige .btn-fx,
.btn-bleuLT .btn-fx,
.btn-rougeLT .btn-fx,
.btn-jauneLT .btn-fx {
    background-color: transparent !important;
}

.btn-white span,
.btn-beige span,
.btn-bleuLT span,
.btn-bleuALT span,
.btn-rougeLT span,
.btn-jauneLT span,
.btn-jauneALT span {
    color: var(--artge-text);
}

.btn-white.btn-arrow::after,
.btn-beige.btn-arrow::after,
.btn-bleuLT.btn-arrow::after,
.btn-bleuALT.btn-arrow::after,
.btn-rougeLT.btn-arrow::after,
.btn-jauneLT.btn-arrow::after,
.btn-jauneALT.btn-arrow::after {
    filter: invert(1);
}



/* Skip link */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.skip-link {
    background-color: #f1f1f1;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: 600;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    z-index: 100000;
}

.skip-link:focus {
    clip-path: none;
    clip: auto !important;
    height: auto;
    width: auto;
}

.read-more {
    font-weight: 600;
} 


/* Header */

.hero-push-img {
    max-width: 4.375rem;
    width: 100%;
    border-radius: var(--hero-img-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-push-text {
    flex: 1 0 0;
    padding-left: .5rem;
}

.hero-push-text p,
.hero-push-text h4 {
    font-size: var(--font-main-size);
    margin-bottom: 0;
}

.hero-push-text h4 {
    font-weight: 600;
    margin-bottom: .5rem;
}

.hero-push-img img {
    border-radius: var(--hero-img-radius);
}

.site-header {    
    position: sticky;
    top: 0;
    z-index: 7777;
    width: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 4rem 0 1.375rem;
    min-height: 3.75rem;
    transform: translateY(0);
    transition: transform 0.3s ease-out;
}

/* État caché quand on descend - transition fluide */
.site-header.sticky-hidden {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in;
}

/* État visible avec ombre quand on remonte */
.site-header.sticky-visible {
    transform: translateY(0);
    box-shadow: 0 5px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s ease-out;
}
.site-header::after {
    display: block;
    content: "";
    width: 100%;
    min-height: 3.75rem;
    z-index: 0;
    position: absolute;
    left: 0;
    top: 0;
    background: #00ffffbd;
    background: #fff;
}
.site-header .custom-logo-link {
    display: flex;
    align-items: center;
    z-index: 30;
    width: 135px;
    height: 54px;
    margin-right: .75rem;
}

/* Classe obsolète - remplacée par sticky-active */
.site-header.scrolled {
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--artge-border); */
}

/* Comportement mobile : toujours visible en sticky */
@media (max-width: 991px) {
    .site-header {
        position: sticky !important;
        transform: translateY(0) !important;
        transition: none !important;
    }
    
    /* Désactiver les classes de masquage sur mobile */
    .site-header.sticky-hidden,
    .site-header.sticky-visible {
        transform: translateY(0) !important;
        transition: none !important;
    }
}

@media (min-width: 992px) {
    .site-header {    
        padding: 0 1.75rem;
    }
    .site-header::after {
        min-height: 5rem;
    }
    /*
    .site-header::after {
        display: none;
    }
    */
    .site-header .custom-logo-link {
        width: 200px;
        height: 80px;
    }
}

@media (min-width: 1280px) {
    .site-header {    
        padding: 0 3.125rem 0 3.75rem;
    }
}


/* Footer */

.site-footer {
    background: var(--orangeLT) url('assets/images/bg-filaire.png') no-repeat center bottom;
    background-size: 100% auto;
    padding-top: calc(var(--spacing-large) * 2.35);
    color: #fff;
}

.site-footer > .container {
    padding-bottom: calc(var(--spacing-large) * 1.75);
}

.follow-us {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.follow-us .follow-text {
    flex-grow: 1;
}

.follow-us .tagz {
    position: relative;
    top: auto;
    left: auto;
}

.follow-us .tagz::before {
    border: 1px solid #fff;
    background-color: transparent;
    background-image: url('assets/images/icon/tag-linkedin-w.svg');
}

.follow-us .tagz-facebook::before {
    background-image: url('assets/images/icon/tag-facebook-w.svg');
}

.follow-us .tagz-x::before {
    background-image: url('assets/images/icon/tag-x-w.svg');
}

.follow-us .tagz-instagram::before {
    background-image: url('assets/images/icon/tag-instagram.svg');
}


.site-footer .follow-text {
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

@media (max-width: 991px) {
    .site-footer .ps-fix {
        padding-left: calc(var(--gutr) * 2);
    }

    .site-footer .follow-text {
        margin-top: 2rem;
    }
}

.logo-footer {
    margin: -2rem 0 2rem 0;
    max-width: 292px;
}

.logo-footer-1 {
    max-width: 155px;
}

.logo-footer-2 {
    max-width: 109px;
}


.copyright {
    background-color: var(--bleuDK);
    padding: 1rem 0;
    min-height: 100px;
    display: flex;
    align-items: center;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-large);
}

.footer-widget-area {
    flex: 1;
    min-width: 250px;
    padding-right: var(--spacing-medium);
}

.footer-widget-area .widget-title {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.footer-navigation {
    margin-bottom: var(--spacing-medium);
}

.footer-menu-container li {
    font-size: var(--font-normal-size);
    margin-right: var(--spacing-medium);
    margin-bottom: .825rem;
}

.site-footer a {
    color: #fff;
}

.site-footer a:hover,
.site-footer a:focus,
.site-footer a:active {
    color: rgba(255, 255, 255, 0.7);
}

.site-info {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: var(--spacing-medium);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}




/* Pagination - Style adapté du design fourni */
.pagination {
    display: block;
    width: 100%;
    text-align: center;
    margin: 2rem 0;
}

.pagination .pagination {
    display: flex;
    margin-bottom: 0;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    list-style: none;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 7px 4px;
    margin: 0 2px;
    border: 0;
    background: #fff;
    border-radius: 5rem;
    text-align: center;
    color: var(--artge-text);
    font-size: 15px;
    font-weight: 600;
    line-height: 2;
    min-width: 3.125rem;    
    height: 3.125rem;    
    min-width: 2.75rem;    
    height: 2.75rem;    
    transition: all .25s ease;
    text-decoration: none;
}

.pagination .page-numbers.current {
    background-color: var(--orange);
    color: #fff;
}

.pagination a.page-numbers:hover {
    color: #fff;
    background-color: var(--artge-text);
    text-decoration: none;
}

.pagination .page-item.disabled .page-numbers {
    color: var(--artge-text);
    background-color: transparent;
    opacity: 0.5;
}

/* Styles pour les boutons précédent/suivant avec icônes chevron */
.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    /*
    background-image: url(assets/images/icon/ic-chevron-right-b.svg);
    background-repeat: no-repeat;
    background-position: center;
    */
    background-color: var(--beige);
    background-image: url('assets/images/icon/arrow.svg');
    background-size: contain;
    background-size: 17px 8px;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.pagination .page-numbers.prev:hover,
.pagination .page-numbers.next:hover {
    background-image: url('assets/images/icon/arrow-w.svg');
}
.pagination .page-numbers.prev {
    transform: rotate(180deg);
}


/* Responsive */
@media (max-width: 767px) {
    .pagination .page-numbers {
        padding: 5px 3px;
        font-size: 16px;
        min-width: 35px;
        margin: 0 1px;
    }
}


/* Articles et Pages */

.single-meta-content,
.single-meta {
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
}
.single-meta-content {
    align-items: center;
    flex-direction: row;
    padding: 0 .15rem;
}


.entry-header {
    margin-bottom: var(--spacing-large);
}

.entry-title {
    font-size: 2.5rem;
    color: var(--artge-titre);
}

.entry-meta {
    color: var(--artge-light-text);
    font-size: 0.9rem;
    margin-top: var(--spacing-small);
}

.entry-meta > span {
    margin-right: var(--spacing-medium);
}
/*
.entry-content {
    margin-bottom: var(--spacing-large);
}
*/

.post-thumbnail {
    margin: 0 0 var(--spacing-medium) var(--spacing-medium);
    float: right;
    border-radius: 1.5rem;
}
.search .nav-links {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.search .read-more {
    display: none;
}

@media screen and (min-width: 768px) {
    .search .nav-links {
        flex-direction: row;
        gap: 1rem;
    }
}

/*
.entry-footer {
    padding-top: var(--spacing-medium);
    border-top: 1px solid var(--artge-border);
    color: var(--artge-light-text);
    font-size: 0.9rem;
}
*/

/* Responsive */
@media screen and (max-width: 1024px) {
    .corocol,
    .container {
        padding: 0 var(--spacing-medium);
    }
}

@media screen and (max-width: 768px) {    
    .footer-widgets {
        flex-direction: column;
    }
    
    .footer-widget-area {
        width: 100%;
        padding-right: 0;
        margin-bottom: var(--spacing-medium);
    }

    .site-info {
        flex-direction: column;
        text-align: center;
    }

    .entry-title {
        font-size: 2rem;
    }
}

/* Single podcast */

.podcast-iframe {
    margin: auto;
    width: 100%;
    padding: 1.5rem;
    height: 200px;
    background: #2c2e30;
    border-radius: 1rem;
}

.podcast-iframe iframe {
    width: 100%;
}

/* Single formation */

.formation-descriptif {
    word-break: break-word;

}
.taxonomy-section {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: start;
    gap: 20px;
    width: 100%;
    margin-bottom: 10px;
}

.taxonomy-section strong {
    margin-top: 6px;
}

.autres-sessions {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid #e0e0e0;
}


.autres-sessions a {
    text-decoration: none !important;
}
.autres-sessions a .agend-date {
    transition: all 0.3s ease;
}
.autres-sessions a:hover .bg-bleu-alt {
    background-color: var(--rougeLT) !important;
}

.autres-sessions a .agend-date-2 {
    transition-delay: 0.07s;
}


.row-features {
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    width: 100%;
    padding-bottom: 1rem;
    padding: .125rem 0 1rem 0;
}

.row-details {
    padding: 2.5rem 0;
    border-bottom: 1px solid #dad6d6;
}

.row-details .col-lg-7 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.row-details p,
.row-details ul,
.entry-content .row-details ul li:last-child {
    margin-bottom: 0;
}

.entry-content .row-details ul li {
    margin-bottom: 1rem;
}

.row-details:last-child,
.row-features:last-of-type {
    border-bottom: none;
}

.media-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}

.media-box img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.media-info {
    flex-grow: 1;
}

.media-info h4 {
    margin-bottom: 0;
}

@media screen and (min-width: 992px) {
    .row-details h4 {
        margin-bottom: 0;
    }
}

/* Single membre */

.single-membre .memb-intro {
    font-size: 1.125rem;
}

.single-membre .memb-accroche {
    font-size: 3.125rem;
    line-height: 1.1;
    color: var(--artge-titre);
    margin: 3rem 0;
    font-weight: 300;
    text-align: center;
}



/* Color Switcher */

.color-switcher {
    z-index: 1000   ;
    position: fixed;
    bottom: 10px;
    display: flex;
    gap: 10px;
    padding: 20px;
}

.color-btn {
    font-size: 10px;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-transform: capitalize;
    transition: transform 0.2s ease;
    border: 2px solid rgba(0, 0, 0, 0.05);
}

.color-btn:hover {
    transform: translateY(-2px);
}

/* Images par défaut gutemberg */

.wp-block-image img {
    border-radius: 1.5rem;
}

/* Images avec effet de zoom */

.imgfit {
    /*
    background: var(--beige);
    */
    width: 100%;
    padding: 2rem;
    /*
    margin-bottom: 2rem;
    */
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    aspect-ratio: auto;
}

.imgfit::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.5) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,1) 100%);
    opacity: .2;
    z-index: 1;
    pointer-events: none;
}

.imgfit.overlay-full::after {
    background: #000;
}

.imgfit-no-overlay::after {
    display: none;
}

/* Gradient par dessus l'image */
.imgfit .overlay {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

.imgfit-caption {
    position: absolute;
    z-index: 2;
    bottom: 2rem;
    left: 2rem;
    color: #fff;
    font-size: var(--font-small-size);
}

.imgfit img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-zoom);
}

a.imgfit:hover img {
    transform: scale(1.05);
}

.img-square {
    aspect-ratio: 1;
}    
.img-portrait {
    aspect-ratio: 2/3;
}    
.img-paysage {
    aspect-ratio: 3/2;
}
.img-panorama {
    aspect-ratio: 16/9;
}

/* Ratio libre sur mobile */
@media (max-width: 767px) {
    .mobile-free-ratio.imgfit {
        padding-top: 14rem;
        aspect-ratio: auto;
    }
}

/* Container principal des sliders */

.swiper-slide {
    user-select: none;
}

.swiper-slide .imgfit {
    margin-bottom: 0;
}

.steps-slider,
.ressources-slider,
.feature-slider-container {
    padding: 0;
    margin: 0;
    position: relative;
}

/* Feature Slider - Structure de base */

.feature-slider-container {
    --swiper-navigation-sides-offset: 0 !important;
    position: relative;
    padding-top: 5.125rem !important;
    /*
    padding-left: 2rem !important;
    padding-right: 2rem !important;
    */
}

.feature-slider {
    position: relative;
    overflow: visible !important;
    width: 100%;
    padding-left: 2rem;
}

.feature-slider a {
    text-decoration: none !important;
}

/* Feature Slider - Arrière-plan */
.feature-slider-bg {
    border-radius: 0 1.875rem 1.875rem 0;
    position: absolute;
    top: 0;
    left: -2rem;
    width: 70%;
    height: calc(100% - 8.8125rem);
    min-height: 5rem;
    background: var(--rougeLT) url('assets/images/bg-topography.png') no-repeat center bottom;
}

.feature-slider-bg.bg-bleuLT {
    background-image: url('assets/images/bg-topography-bleu.png');
}
.feature-slider-bg.bg-jaune {
    background-image: url('assets/images/bg-topography-jaune.png');
}

/* Feature Slider - Titre */
.feature-slider-title h2 {
    top: -.5rem;
    position: relative;
}

/* Feature Slider - Slides */
.feature-slider .swiper-slide {
    position: relative;
    width: 100%;
    opacity: 0;
    padding-left: 1rem;
    padding-right: 1rem;
    transition: all 0.6s ease;
}

.feature-slider .swiper-slide img {
    width: 100%;
    height: auto;
    will-change: transform;
}

/* Desktop Styles (>992px) */
@media (min-width: 992px) {
    .feature-slider-bg {
        width: 34%;
        min-height: 25rem;
    }
    .feature-slider-title {
        position: relative;
        z-index: 100;
        padding-bottom: 5rem;
        align-items: flex-end;
        display: flex;
        /* background: aqua; */
        justify-content: center;
        margin-top: -3.5rem;
        text-align: right;
    }

    .feature-slider-title h2 {
        align-items: center;
        transform: rotate(-90deg) translateX(-50%);
        position: absolute;
        /*white-space: nowrap;*/
        display: flex;
        /* top: -20px;
        height: 50px;
        background: aqua;
        */
        margin: 0;
    }

    .feature-slider-title .swiper-controls {
        position: relative;
        flex-direction: column;
        gap: 10px;
    }

    /* Image feature */
    .imgfeature {
        padding: 2.5rem;
        align-items: flex-end;
        justify-content: flex-start;
        aspect-ratio: 3/2;
    }

    /* Effet d'empilement des slides */
    .feature-slider .swiper-slide-active {
        opacity: 1;
        transform: translateX(0);
        z-index: 2;
    }

    .feature-slider .swiper-slide-prev {
        opacity: 1;
        transform: translateX(-20px);
        z-index: 1;
    }

    .feature-slider .swiper-slide-next {
        opacity: 0;
        transform: translateX(100%);
        z-index: 0;
    }
}

@media (min-width: 1200px) {
    .feature-slider-title {
        padding-bottom: 10.5rem;
    }
}

/* Mobile Styles (<992px) */
@media (max-width: 991px) {
    .feature-slider-bg {
        height: auto;
        min-height: 15rem;
    }

    .imgfeature {
        flex-direction: column;
        padding: 0;
        border-radius: 1.25rem 1.25rem 0 0;
    }

    .imgfeature .text-white {
        color: var(--artge-titre);
    }
    .imgfeature .text-white .det-time, 
    .imgfeature .text-white .det-loc {
        filter: none;
        color: inherit;
    }

    .imgfeature .labl {
        background: var(--beige);
    }

    .imgfeature img {
        position: relative;
        top: auto;
        left: auto;
        border-radius: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .imgfeature::after {
        display: none;
    }

    .imgfeature img::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, 
            rgba(0, 0, 0, 0) 0%, 
            rgba(0, 0, 0, 0.1) 50%, 
            rgba(0, 0, 0, 0.5) 100%
        );
        z-index: 1;
        pointer-events: none;
    }
}


/* Hover expand colonne */
.hover-expand-container {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.hover-expand {
    position: relative;
    transition: all 0.5s ease-in-out;
    width: 100%;
}
.hover-expand .imgfit {
    width: 100%;
    aspect-ratio: 3/4;
    justify-content: flex-start;
    align-items: flex-end;
    margin-bottom: 2rem;
}
.hover-expand a {
    text-decoration: none !important;
}
.hover-expand a.imgfit:hover img {
    transform: none;
}

.hover-expand .imgfit .heading-title {
    padding-right: 3.5rem;
}

.hover-expand .btn-icon {
    position: absolute;
    z-index: 100;
    bottom: 20px;
    right: 20px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease-in-out;
}

.hover-expand .lablz {
    opacity: 0;
    transition: all 0.5s ease-in-out;
}


.hover-expand:hover .lablz,
.hover-expand:hover .btn-icon {
    opacity: 1;
    transform: translateX(0);
}

.hover-expand .imgfit .heading-title {
    margin-left: 0;
}

@media (min-width: 992px) {
    .hover-expand-container {
        flex-direction: row;
        gap: 20px;
    }

    .hover-expand {
        flex: 1;
    }

    .hover-expand:hover {
        flex: 1.5;
    }

    .hover-expand:not(:hover) {
        transition: all 0.5s ease-in-out;
    } 

    .hover-expand .imgfit {
        aspect-ratio: auto;
        height: 600px;
        width: 100%;
        margin-bottom: 0;
    }

    .hover-expand .imgfit .heading-title {
        padding-right: 0;
        max-width: 240px;
    }
    
    .lablz.lablz-absolute {
        max-width: 260px;
        max-width: 240px;
    }
}
@media (min-width: 1200px) {
    .hover-expand .imgfit .heading-title {
        max-width: 260px;
    }

    .lablz.lablz-absolute {
        max-width: 300px;
        max-width: 280px;
    }
}
@media (min-width: 1400px) {
    .hover-expand .imgfit .heading-title {
        max-width: 280px;
    }

    .lablz.lablz-absolute {
        max-width: 340px;
        max-width: 300px;
    }
}



/* Accordion */

.acc-item {
    width: 100%;
    border-bottom: 1px solid #fff;
}

.acc-question {
    width: 100%;
    text-align: left;
    padding: .5rem 0 1rem 0;
    background: none;
    border: none;
    font-size: var(--font-small-size);
    font-weight: 600;
    color: var(--artge-titre);
    cursor: pointer;
    position: relative;
}

.acc-question:hover {
    color: var(--artge-titre);
    background-color: transparent;
}

.acc-question::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    top: calc(50% - 1.25rem);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: transparent url('assets/images/icon/acc-arrow.svg') no-repeat center;
    background-size: 12px;
    transition: all 0.3s ease;
}

.acc-question:hover::after {
    background-color: var(--beige);
    background-image: url('assets/images/icon/acc-arrow.svg');
}

.acc-question[aria-expanded="true"]::after {
    background-image: url('assets/images/icon/acc-arrow.svg');
    transform: rotate(180deg);
}

.acc-answer {
    overflow: hidden;
}

.acc-answer-content {
    margin-bottom: 1rem;
}

.acc-answer-content p {
    color: var(--artge-text);
    margin-bottom: 1rem;
}

.acc-answer-content p:last-child {
    margin-bottom: 0;
}

.acc-answer-content p+ .btn-fx {
    margin-top: -.5rem;
    margin-bottom: .5rem;
}



/* Styles pour le formulaire */
.form-contact {
    padding: 1rem 0;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 0;
    font-size: var(--font-normal-size);
    line-height: 1.5;
    color: var(--artge-text);
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--artge-text);
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.form-control:focus {
    outline: none;
    border-color: var(--artge-text);
}

.form-label {
    position: absolute;
    top: 12px;
    left: var(--gutr);
    font-size: var(--font-normal-size);
    color: rgba(0, 0, 0, 0.6);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-control:focus ~ .form-label,
.form-control:not(:placeholder-shown) ~ .form-label {
    top: -1.25rem;
    top: -0.625rem;
    font-size: 0.75rem;
    color: var(--artge-text);
}

/* Style d'erreur */
.form-control.is-invalid {
    border-color: var(--orange);
}

.form-control.is-invalid ~ .form-label {
    color: var(--orange);
}

.invalid-feedback {
    display: block;
    margin-top: 0.25rem;
    font-size: var(--font-small-size);
    color: var(--orange);
}

/* Style du textarea */
textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Style des checkboxes */
.form-check {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.form-check a {
    color: var(--artge-text);
    text-decoration: underline;
}

.form-check-input {
    position: absolute;
    left: 0;
    top: 0;
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    appearance: none;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--artge-primary);
    border-color: var(--artge-primary);
}

.form-check-input:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-check-label {
    cursor: pointer;
    user-select: none;
}

/* Style des champs obligatoires */
.form-control[required] ~ .form-label::after {
    content: '*';
    /*
    color: var(--orange);
    */
    margin-left: 4px;
}

.form-control[required]:focus ~ .form-label::after,
.form-control[required]:not(:placeholder-shown) ~ .form-label::after {
    color: var(--orange);
}

/* Style du select */
select.form-control {
    appearance: none;
    background-image: url("assets/images/icon/ic-arrow-down.svg");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    padding-right: 2rem;
    cursor: pointer;
}

/* Styles pour les états désactivés */
.form-control:disabled,
.form-control[readonly] {
    background-color: rgba(0, 0, 0, 0.05);
    cursor: not-allowed;
}


/* Sticky Tag Bar */
.offset-fix {
    height: 1px;
    width: 1px;
    pointer-events: none;
    position: relative;
    z-index: -1;
    margin-top: calc(var(--offset-top) * -1);
}

.sticky-anchor-bar {
    position: sticky;
    /*
    top: var(--offset-top);
    */
    top: 0;
    z-index: 120;
    left: 0;
    right: 0;
    background: #fff;
    /*
    transform: translateY(var(--offset-top));
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
    */
}

.anchor-bar.sticky-anchor-bar {
    background: var(--beige);
}




/* Screeen XXS */

@media (max-width: 479px) {
    .site-main {
        padding-left: 0;
        padding-right: 0;
    }
    .width-extra,
    .wp-block-columns.width-extra,
    .wp-block-group.width-extra,
    .wip-separator {
        width: 100%;
        left: 0;
        right: 0;
    }
    .ptitle-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.75rem;
    }
    h3 {
        font-size: 1.5rem;
    }
    .ptitle-bg {
        padding-left: .75rem;
        padding-right: .75rem;
    }
    .btn {
        padding: 1rem 1.5rem;
    }
    .btn-arrow {
        padding-right: 2.75rem;
    }
    .btn-arrow::after {
        right: 1rem;
    }
    .btn-phantom {
        padding: 0.875rem 1rem;
    }
    .btn-arrow.btn-phantom {
        padding-right: 2.5rem;
    }
    .btn-arrow.btn-phantom::after {
        right: .75rem;
    }
    .btn-fx {
        padding: 1.25rem .75rem 1.25rem 4rem;
    }
    .btn-icon {
        padding: 0;
    }
    .card-body {
        padding: 1rem 1rem 1.5rem;
    }
    .card-big .card-body {
        padding-top: 1.5rem;
    }    
    .card-huge .card-body {
        padding: 1.5rem;
    }
    .card-debord-start,
    .card-debord-end {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

/* Screeen XXL */

@media (min-width: 2200px) {
    .labl, .datz, .detz,
    .labl, .datl, .detl {
        font-size: .8rem;
    }
    /*
    .heading-title {
        max-width: 1600px;
    }
    */
}

/* Styles personnalisés pour Gravity Forms */
body .gform_wrapper .gfield {
    position: relative;
    margin-bottom: 1.5rem;
}

body .gform_wrapper .gfield:last-child {
    margin-bottom: 0;
}

/* Floating label effect pour Gravity Forms */
body .gform_wrapper .gfield_label {
    font-size: var(--font-normal-size);
    font-weight: 400 !important;
    color: var(--artge-text);
    margin-bottom: 0.5rem;
    position: absolute;
    top: 6px;
    left: 0;
    pointer-events: none;
    z-index: 1;
    transition: all 0.3s ease;
}

body .gform_wrapper.gravity-theme .ginput_complex label.gform-field-label--type-sub {
    font-size: 12px !important;
    opacity: 0.65;
    margin-bottom: 10px;
}

/* Classes pour l'état actif du label */
body .gform_wrapper .gfield.has-focus .gfield_label,
body .gform_wrapper .gfield.has-content .gfield_label {
    top: -0.625rem;
    top: -1rem;
    font-size: 0.75rem;
    color: var(--artge-text);
}

body .gform_wrapper .gfield.labelxl.has-focus .gfield_label,
body .gform_wrapper .gfield.labelxl.has-content .gfield_label {
    font-size: 14px;
    position: relative;
    top: auto;
}

body .gform_wrapper.gravity-theme .gfield_required {
    color: var(--artge-text);
}

/* Style pour les champs avec erreur */
body .gform_wrapper .gfield_error .gfield_label {
    color: var(--orange);
}

body .gform_wrapper .gform_required_legend {
    display: none;
}

body .gform_wrapper.gravity-theme select {
    padding-left: 0;
    padding-right: 0;
}

/* Ajuster le padding des inputs pour laisser de la place au label flottant */
body .gform_wrapper input[type="text"],
body .gform_wrapper input[type="email"],
body .gform_wrapper input[type="tel"],
body .gform_wrapper input[type="url"],
body .gform_wrapper input[type="number"],
body .gform_wrapper input[type="password"],
body .gform_wrapper select,
body .gform_wrapper textarea {
    padding-top: 1.5rem;
    padding-bottom: 0.5rem;
}

.gform_wrapper.gravity-theme .gform_validation_errors {
    background: transparent;
    margin: 0 0 20px;
    box-shadow: none;
    border-color: #d25936;
}

body .gform_wrapper input[type="text"],
body .gform_wrapper input[type="email"],
body .gform_wrapper input[type="tel"],
body .gform_wrapper input[type="url"],
body .gform_wrapper input[type="number"],
body .gform_wrapper input[type="password"],
body .gform_wrapper select,
body .gform_wrapper textarea {
    width: 100%;
    padding: 0.75rem 0;
    font-size: var(--font-normal-size);
    line-height: 1.5;
    color: var(--artge-text);
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--artge-text);
    transition: all 0.3s ease;
}

body .gform_wrapper input::placeholder,
body .gform_wrapper textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

body .gform_wrapper input:focus,
body .gform_wrapper select:focus,
body .gform_wrapper textarea:focus {
    outline: none;
    border-color: var(--artge-text);
}

body .gform_wrapper .gfield_error input,
body .gform_wrapper .gfield_error select,
body .gform_wrapper .gfield_error textarea {
    border-color: var(--orange);
}

body .gform_wrapper .gfield_error .gfield_label {
    color: var(--orange);
}
body .gform_wrapper .validation_message {
    display: block;
    margin-top: 0.25rem;
    font-size: var(--font-small-size);
    color: var(--orange);
}

body .gform_wrapper.gravity-theme .gfield_error input[type="text"][aria-invalid=true],
body .gform_wrapper.gravity-theme .gfield_error input[type="email"][aria-invalid=true],
body .gform_wrapper.gravity-theme .gfield_error input[type="tel"][aria-invalid=true],
body .gform_wrapper.gravity-theme .gfield_error input[type="url"][aria-invalid=true],
body .gform_wrapper.gravity-theme .gfield_error input[type="number"][aria-invalid=true],
body .gform_wrapper.gravity-theme .gfield_error input[type="password"][aria-invalid=true],
body .gform_wrapper.gravity-theme .gfield_error select[aria-invalid=true],
body .gform_wrapper.gravity-theme .gfield_error textarea[aria-invalid=true] {
    border: 0;
    border-bottom: 1px solid var(--orange);
}

body .gform_wrapper.gravity-theme .gform_validation_errors {
    box-shadow: none;
    margin-bottom: 1.5rem;
    background-color: transparent;
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

body .gform_wrapper.gravity-theme .gform_validation_errors>h2 {
    color: #fff;
}

body .gform_wrapper.gravity-theme .gform_validation_errors:focus {
    outline: none;
}

body .gform_wrapper.gravity-theme .gfield_validation_message,
body .gform_wrapper.gravity-theme .validation_message {
    font-size: 12px;
    color: var(--orange);
    padding: 0;
    border: 0;
    background: transparent;
}



body .gform_wrapper input[type="checkbox"],
body .gform_wrapper input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    appearance: none;
    cursor: pointer;
    margin-right: 0.5rem;
    vertical-align: sub;
}

body .gform_wrapper .gchoice,
body .gform_wrapper .ginput_container_consent {
    position: relative;
    display: flex;
    gap: 5px;
}
body .gform_wrapper .gchoice  input[type="checkbox"],
body .gform_wrapper .ginput_container_consent input[type="checkbox"] {
    min-width: 1.25rem;
}
body .gform_wrapper.gravity-theme .gfield_description {
    font-size: var(--font-small-size);
}


body .gform_wrapper input[type="checkbox"]:checked,
body .gform_wrapper input[type="radio"]:checked {
    background-color: var(--artge-primary);
    border-color: var(--artge-primary);
}

body .gform_wrapper .gfield_consent_label {
    cursor: pointer;
    user-select: none;
}

body .gform_wrapper input[type="checkbox"]:checked::after,
body .gform_wrapper input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

body .gform_wrapper select {
    appearance: none;
    background-image: url('assets/images/icon/ic-arrow-down.svg');
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    padding-right: 2rem;
    cursor: pointer;
}

body .gform_wrapper input:disabled,
body .gform_wrapper select:disabled,
body .gform_wrapper textarea:disabled {
    background-color: rgba(0, 0, 0, 0.05);
    cursor: not-allowed;
}

/* Styles pour le copyright des images */

.image-copyright {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0);
    border-radius: 20px;
    padding: 5px 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-img .image-copyright {
    right: 45px;
}

.image-copyright:hover {
    background: rgba(0, 0, 0, 0.7);
    padding-right: 12px;
}

.image-copyright::before {
    content: "i";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(255,255,255,1);
    color: #000;
    border-radius: 50%;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
    margin-right: 0;
    transition: margin-right 0.3s ease;
}

.image-copyright:hover::before {
    margin-right: 8px;
    background: rgba(255,255,255,1);
}

.copyright-text {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.5s ease;
    max-width: 0;
    overflow: hidden;
}

.image-copyright:hover .copyright-text {
    opacity: 1;
    transform: translateX(0);
    max-width: 200px;
}

/* Exception pour le bloc testimonial quand l'image est à gauche */
.image-copyright.copyright-left {
    left: 10px;
    right: auto;
}

.image-copyright.copyright-left .copyright-text {
    transform: translateX(10px);
}

.image-copyright.copyright-left:hover .copyright-text {
    transform: translateX(0);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .image-copyright {
        bottom: 8px;
        right: 8px;
        padding: 4px 6px;
    }    
    .image-copyright::before {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }    
    .copyright-text {
        font-size: 11px;
    }    
    .image-copyright:hover .copyright-text {
        max-width: 150px;
    }
    .image-copyright.copyright-left {
        left: auto;
        right: 8px;
    }
    .image-copyright-textimonial {
        top: 14px;
        bottom: auto;
    }
}
