/*
Theme Name: Blocksy Enfant
Description: Theme enfant de Blocksy. Vous pouvez maintenant effectuer vos modifications en toute sécurité.
Author: WPMarmite
Author URI: https://wpmarmite.com
Template: blocksy
Version: 1.0
*/

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/be-vietnam-pro-v12-latin-100.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: italic;
  font-weight: 100;
  src: url('../fonts/be-vietnam-pro-v12-latin-100italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/be-vietnam-pro-v12-latin-200.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: italic;
  font-weight: 200;
  src: url('../fonts/be-vietnam-pro-v12-latin-200italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/be-vietnam-pro-v12-latin-300.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/be-vietnam-pro-v12-latin-300italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/be-vietnam-pro-v12-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/be-vietnam-pro-v12-latin-italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/be-vietnam-pro-v12-latin-500.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/be-vietnam-pro-v12-latin-500italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/be-vietnam-pro-v12-latin-600.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/be-vietnam-pro-v12-latin-600italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/be-vietnam-pro-v12-latin-700.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/be-vietnam-pro-v12-latin-700italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/be-vietnam-pro-v12-latin-800.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: italic;
  font-weight: 800;
  src: url('../fonts/be-vietnam-pro-v12-latin-800italic.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/be-vietnam-pro-v12-latin-900.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Be Vietnam Pro';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/be-vietnam-pro-v12-latin-900italic.woff2') format('woff2');
}


/* ================================================================
   RÉGLAGES GÉNÉRAUX
   ================================================================ */

.entry-side {
  display: none;
}
.aux-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}
.elementor[data-elementor-type="wp-post"] {
  position: relative;
  z-index: 0;
}
body {
  padding-top: 0 !important;
}
.aux-wrapper {
  margin-top: 0 !important;
}
.vp-portfolio__items-style-emerge .vp-portfolio__item-caption{
    background: #D9AA68  !important;
}
h2.vp-portfolio__item-meta-title {
        color: #291B28 !important;
}
/* ================================================================
   MENU STYLE
   ================================================================ */


ul#menu-header-primary-menu li a {
    color: #e6e0ca !important;
    font-size: 0.85em;
    font-family: 'Be Vietnam Pro';
    font-weight: 400;
}

ul#menu-header-primary-menu li a:hover {
    color: #e8541f !important;
}
#header [data-items]>* {
    margin: var(--margin, 0 0px) !important;
}
[data-header*="type-1"] .ct-header [data-id="logo"] {
    --margin: 0px !important;
}

.ct-sticky-container {
    background-color: #291B28 !important;
}

.single-portfolio .ct-sticky-container {
    background-color: transparent !important;
}

/* ── CTA MENU ── */
.cta-menu a {
    border: 1px solid #b01a56 !important;
    border-radius: 4px !important;
    padding: 6px 14px !important;
    color: #e6e0ca !important;
    transition: background 0.3s ease, color 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.cta-menu a:hover {
    background: #b01a56 !important;
    color: #e6e0ca !important;
}
ul#menu-header-primary-menu li.cta-menu a:hover {
    color: #e6e0ca  !important;
}
ul#menu-header-primary-menu li.cta-menu a {
    height: auto !important;
    padding: 10px !important;
}
.ct-icon, .ct-icon-container svg {
    width: var(--theme-icon-size, 15px);
    height: var(--theme-icon-size, 15px);
    fill: #e6e0ca !important;
    transition: var(--theme-icon-transition, fill 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955));
}
.ct-icon:hover{
    color:red !important;
}
.ct-panel-content-inner, .ct-panel-actions {
    background-color: #452332 !important;
}
nav[class*=menu] .ct-menu-link {
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-weight: 400 !important;
}
.stk-block-button .stk-link::before,
.stk-block-button .stk-link::after {
    overflow: visible !important;
}

.stk--hover-effect-scale {
    overflow: visible !important;
}
.stk-block-button .stk-button {
    border-radius: var(--theme-button-border-radius, 25px)  !important;
}

/* ================================================================
   FOOTER
   ================================================================ */

/* Footer — icônes sociales */
.linkedin a,
.instagram a {
    font-size: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
}
.linkedin a::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23e6e0ca'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6zM2 9h4v12H2z'/%3E%3Ccircle cx='4' cy='4' r='2'/%3E%3C/svg%3E");
}

.linkedin a:hover::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='%23e8541f'%3E%3Cpath d='M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6zM2 9h4v12H2z'/%3E%3Ccircle cx='4' cy='4' r='2'/%3E%3C/svg%3E");
}

.instagram a::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23e6e0ca' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='17.5' cy='6.5' r='1'/%3E%3C/svg%3E");
}

.instagram a:hover::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23e8541f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='17.5' cy='6.5' r='1'/%3E%3C/svg%3E");
}

.linkedin,
.instagram {
    display: inline-block !important;
}

#menu-footer-social-menu {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    align-items: center !important;
}
.bout-footer a:hover {
    background-color: #b01a56 !important;
    border-color: #b01a56 !important;
}
[data-footer*="type-1"] .ct-footer [data-row*="bottom"] > div {
    --container-spacing: 5px  !important;
    background-color: #291b28 !important;
}
[data-footer*="type-1"] .ct-footer [data-row*="bottom"]{
    background-color: #291b28 !important;    
}
[data-footer*="type-1"] .ct-footer [data-row*="middle"] > div {
    --container-spacing: 40px  !important;
}
#menu-menu-footer a, .ct-footer-copyright p{
    color: #e6e0ca !important;
    font-weight: 200 !important;
}

/* ================================================================
   MENU PORTFOLIO
   ================================================================ */

.single-portfolio [data-sticky="slide"] {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.single-portfolio [data-sticky="yes:slide"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.portfolio-template .aux-header.aux-header-elements-wrapper {
    display: none;
}

.menu-portfolio {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.menu-portfolio.elementor-sticky--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(5px);
}

.portfolio-template main {
    margin-top: -26px !important;
}

/* ================================================================
   FAQ
   ================================================================ */

.section-faq .stk-block-accordion__content {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.section-faq .stk-block-accordion {
    margin-bottom: 0px !important;
}

.section-faq .stk-08217b4-container {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}


/* ================================================================
   VIGNETTE PORTFOLIO
   ================================================================ */


.bento-livrables .vp-portfolio__item-overlay {
    display: none !important;
}


.vp-portfolio__item-img-wrap {
    overflow: hidden !important;
    border-radius: inherit;
}

.vp-portfolio__item-img-wrap img {
    transition: transform 0.5s ease !important;
}

.vp-portfolio__item:hover .vp-portfolio__item-img-wrap img {
    transform: scale(1.08) !important;
}

.media-livrables .vp-portfolio__items {
    column-count: 4 !important;
}

.media-livrables .vp-portfolio__item-wrap {
    width: 25% !important;
}

/* ============================================
   VESTA — Portfolio hover N&B + titre backdrop
   ============================================ */

/* Image en noir et blanc au hover */
.slide-page-portfolio .vp-portfolio__item img {
    transition: filter 0.4s ease !important;
}

.slide-page-portfolio .vp-portfolio__item:hover img {
    filter: grayscale(100%) !important;
}

/* Overlay transparent — juste pour activer le hover */
.slide-page-portfolio .vp-portfolio__item-overlay {
    background-color: transparent !important;
    opacity: 1 !important;
}

/* Titre avec backdrop */
.slide-page-portfolio .vp-portfolio__item-overlay .vp-portfolio__item-title {
    font-family: "Be Vietnam Pro", sans-serif !important;
    font-weight: 400 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    color: #F0E6D3 !important;
    background-color: rgba(42, 31, 46, 0.85) !important;
    padding: 6px 14px !important;
    display: inline-block !important;
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
}

/* Masquer la description */
.slide-page-portfolio .vp-portfolio__item-overlay .vp-portfolio__item-excerpt {
    display: none !important;
}

/* ================================================================
   PROCESS EXPLOR — Entonnoir interactif
   ================================================================ */

.vf-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 60px;
    align-items: start;
    max-width: 960px;
    margin: 0 auto;
    padding-top: 100px !important;
    position: relative;
}


/* --- Colonne gauche : le funnel sticky --- */
.vf-funnel {
    position: sticky;
    top: 120px;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    line-height: 0;
    font-size: 0;
}

.vf-step {
    width: 100%;
    line-height: 0;
    font-size: 0;
    display: block;
    margin: 0;
    padding: 0;
    transition: filter 0.4s ease, opacity 0.4s ease;
    filter: brightness(0.65);
    opacity: 0.9;
}
.vf-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: rgba(240, 230, 211, 0.4);
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.vf-scroll-hint svg {
    width: 18px;
    height: 18px;
    animation: vf-bounce 1.5s ease-in-out infinite;
}
.vf-scroll-hint {
    font-size: 0.7rem;
    line-height: 1;
}

@keyframes vf-bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

.vf-step img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    vertical-align: bottom;
}

.vf-step.active {
    filter: brightness(1);
    opacity: 1;
}

/* --- Colonne droite : les textes --- */
.vf-texts {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vf-text {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    padding: 40px 0;
    opacity: 0;
    text-align: left;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.vf-text.active {
    opacity: 1;
    transform: translateY(0);
    text-align: left;
}

.vf-text__num {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #e85d20;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.vf-text__title {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 1em;
    font-weight: 600;
    color: #e85d20;
    margin: 0 0 16px;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.vf-text__title em {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    color: #e85d20;
}
.vf-text__tags {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-style: italic;
    font-size: 0.85rem;
    color: #D9AA68;
    margin: 12px 0 0;
    line-height: 1.8;
}

.vf-text__intro {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #F7DCC1;
    max-width: 380px;
    margin: 0 0 20px;
}

.vf-text__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vf-text__list li {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(240, 230, 211, 0.6);
    padding-left: 18px;
    position: relative;
}

.vf-text__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #e85d20;
    font-size: 0.8rem;
}

.vf-text__list li b {
    color: rgba(240, 230, 211, 0.9);
    font-weight: 600;
}


/* ================================================================
   WHY
   ================================================================ */

.elementor-element.why {
    --widgets-spacing-row: 0px !important;
}


/* ================================================================
   SCROLLER VERTICAL INFINI
   ================================================================ */

:root {
  --vs-bg:                #0e0e10;
  --vs-card-bg:           #1a1a1d;
  --vs-label:             rgba(245, 241, 234, 0.85);
  --vs-label-sub:         rgba(245, 241, 234, 0.45);
  --scroll-speed:         42s;
  --scroll-speed-reverse: 54s;
  --vs-gap:               16px;
  --vs-pad:               16px;
  --vs-radius:            8px;
  --vs-fade:              160px;
}

.slider-mask {
    position: relative;
    background-color: #291b28;
    margin-top: -80px !important;
    padding-top: 0 !important;
}

.slider-mask::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 380px !important;
    background: linear-gradient(to bottom, var(--vs-bg) 20%, transparent);
    z-index: 10 !important;
    pointer-events: none;
}

.vs-stage {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--vs-gap);
  padding: var(--vs-pad);
  height: 100%;
  min-height: 600px;
  z-index: 1 !important;
  max-width: 100%;
}

.vs-col {
  overflow: hidden;
  position: relative;
}

.vs-track {
  display: flex;
  flex-direction: column;
  gap: var(--vs-gap);
  animation: vs-up var(--scroll-speed) linear infinite;
}

.vs-col.vs-reverse .vs-track {
  animation: vs-down var(--scroll-speed-reverse) linear infinite;
}

.vs-stage:hover .vs-track {
  animation-play-state: paused;
}

@keyframes vs-up {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

@keyframes vs-down {
  from { transform: translateY(-50%); }
  to   { transform: translateY(0); }
}

.vs-card {
  aspect-ratio: 4 / 5;
  border-radius: var(--vs-radius);
  overflow: hidden;
  position: relative;
  background: var(--vs-card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease;
}

.vs-card:hover { transform: scale(1.02); }

.vs-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

.vs-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%);
  z-index: 1;
}

.vs-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vs-label);
  line-height: 1;
}

.vs-label small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--vs-label-sub);
  margin-top: 4px;
}

.vs-stage .vs-col {
  overflow: hidden !important;
}

.stk-block-column:has(.vs-stage) {
  overflow: hidden !important;
  contain: paint;
}

.ct-section-inner-wrap:has(.vs-stage) {
  overflow: hidden !important;
}

.stk-column-wrapper:has(.vs-stage) {
  height: 100vh;
  overflow: hidden !important;
}


/* ================================================================
   MARQUEE / PHRASE SCROLL
   ================================================================ */

.vesta-marquee-wrap {
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  padding: 20px 0;
}

.vesta-marquee-track {
  display: inline-block;
  animation: vestaScroll 30s linear infinite;
}

.vesta-marquee-track span {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes vestaScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ================================================================
   VESTA REVEAL — Phrases au scroll
   ================================================================ */

.vesta-reveal {
    margin-top: -50px !important;
}

.vesta-reveal__line {
    font-family: 'Be Vietnam Pro', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.2em !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    color: #F7DCC1 !important;
}

.vesta-reveal__line[data-index="1"] {
    color: #D9AA68 !important;
}

p[data-block-type="core"]:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* ================================================================
   VESTA FLIP — Texte rotatif
   ================================================================ */

.vesta-flip--gold {
    color: #D9AA68 !important;
}


/* ================================================================
   PAGE OFFRE — Cartes animées
   ================================================================ */

.vesta-cards__card--1 {
    position: absolute !important;
    top: 0px;
    left: 150px;
    transform: rotate(0deg);
    z-index: 3;
}

.vesta-cards__card--2 {
    position: absolute !important;
    top: 40px;
    left: 0px;
    transform: rotate(-14deg);
    z-index: 2;
}

.vesta-cards__card--3 {
    position: absolute !important;
    top: 40px;
    left: 250px;
    transform: rotate(14deg);
    z-index: 1;
}

/* ================================================================
   PAGE OFFRE — Livrables
   ================================================================ */

.vesta-cards__stack:hover .vesta-cards__card--1 {
    transform: rotate(0deg) translateY(-40px) translateX(0px);
}

.vesta-cards__stack:hover .vesta-cards__card--2 {
    transform: rotate(-15deg) translateY(20px) translateX(-120px);
}

.vesta-cards__stack:hover .vesta-cards__card--3 {
    transform: rotate(15deg) translateY(20px) translateX(120px);
}

/* ── Bento livrables ── */
.bento-livrables .vp-portfolio__item-wrap {
    border-radius: 12px;
    overflow: hidden;
}

.bento-livrables .vp-portfolio__item {
    border-radius: 12px;
    overflow: hidden;
}

.bento-livrables .vp-portfolio__item-caption {
    margin: 6px 0 0;
}

.bento-livrables .vp-portfolio__item-caption * {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-style: italic;
    font-size: 1em;
    text-align: left;
    margin: 0;
    padding: 1px;
    font-weight: 400;
}


/* ================================================================
   SECTION OFFRE COMPLÉMENTAIRE
   ================================================================ */

.bloc-option .stk-column-wrapper {
    margin: 0px !important;
}


/* ================================================================
   PROCESS EXPLOR — Variables & base
   ================================================================ */

.vesta-process {
    --vp-bg:          #110a1c;
    --vp-bordeaux:    #6b1f3a;
    --vp-bordeaux-2:  #4a1228;
    --vp-orange:      #e85d20;
    --vp-cream:       #f0e6d3;
    --vp-cream-dim:   rgba(240, 230, 211, 0.55);
    --vp-cream-ghost: rgba(240, 230, 211, 0.08);
    --vp-line:        rgba(240, 230, 211, 0.08);
    --vp-font-title:  'Changa', sans-serif;
    --vp-font-em:     'Playfair Display', serif;
    --vp-font-body:   'Be Vietnam Pro', sans-serif;
    --vp-transition:  0.35s ease;
    position: relative;
    z-index: 1;
}

.vesta-process__layout {
    display: grid;
    grid-template-columns: 64px 1fr 1fr;
    gap: 0 48px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.vesta-process__layout::before {
    content: '';
    position: absolute;
    left: 31px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(232, 93, 32, 0.25) 8%,
        rgba(232, 93, 32, 0.25) 92%,
        transparent 100%
    );
    pointer-events: none;
}

.vesta-process__nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 2px;
}
.vesta-process__nav {
    position: sticky;
    top: 80px;
    align-self: start;
}

.vesta-process__num {
    position: relative;
    width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 25px;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
    gap: 0;
}

.vesta-process__num:last-child {
    padding-bottom: 0;
}

.vesta-process__dot {
    display: block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 1.5px solid rgba(232, 93, 32, 0.3);
    background: transparent;
    transition: background var(--vp-transition),
                border-color var(--vp-transition),
                box-shadow var(--vp-transition);
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.vesta-process__num.active .vesta-process__dot,
.vesta-process__num:hover .vesta-process__dot {
    background: var(--vp-orange);
    border-color: var(--vp-orange);
    box-shadow: 0 0 0 4px rgba(232, 93, 32, 0.14);
}

.vesta-process__num-label {
    font-family: var(--vp-font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--vp-cream);
    margin-top: 7px;
    transition: color var(--vp-transition);
}

.vesta-process__num.active .vesta-process__num-label,
.vesta-process__num:hover .vesta-process__num-label {
    color: var(--vp-orange);
}

span.vesta-process__num-name {
    font-size: 0.7em !important;
    font-style: italic !important;
    line-height: 1.5 !important;
}

.vesta-process__num.active .vesta-process__num-name {
    color: var(--vp-orange) !important;
}

.vesta-process__steps {
    display: flex;
    flex-direction: column;
}

.vesta-process__step {
    padding: 0 0 0 25px;
    border-left: 2px solid transparent;
    margin-left: -2px;
    cursor: pointer;
    transition: none !important;
    animation: none !important;
}

.vesta-process__step * {
    animation: none !important;
}

.vesta-process__step:last-child {
    padding-bottom: 0;
}

.vesta-process__step.active {
    border-left-color: var(--vp-orange);
}

.vesta-process__eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--vp-font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(240, 230, 211, 0.25);
    margin-bottom: 12px;
    transition: color var(--vp-transition);
}

.vesta-process__eyebrow::before {
    display: none;
}

.vesta-process__step.active .vesta-process__eyebrow,
.vesta-process__step:hover .vesta-process__eyebrow {
    color: var(--vp-orange);
}

.vesta-process__title {
    font-family: var(--vp-font-title);
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1;
    color: rgba(240, 230, 211, 0.3);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: color var(--vp-transition);
}

.vesta-process__title em {
    font-family: var(--vp-font-em);
    font-style: italic;
    font-weight: 700;
}

.vesta-process__step.active .vesta-process__title,
.vesta-process__step:hover .vesta-process__title {
    color: var(--vp-cream);
}

.vesta-process__picto {
    display: inline-block;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
    transition: opacity var(--vp-transition);
}

.vesta-process__step.active .vesta-process__picto,
.vesta-process__step:hover .vesta-process__picto {
    opacity: 1;
}

.vesta-process__step[data-step="1"] .vesta-process__picto {
    background-image: url('/wp-content/uploads/2026/05/picto-explor-in.png');
}
.vesta-process__step[data-step="2"] .vesta-process__picto {
    background-image: url('/wp-content/uploads/2026/05/picto-explor-spark.png');
}
.vesta-process__step[data-step="3"] .vesta-process__picto {
    background-image: url('/wp-content/uploads/2026/05/picto-explor-mark.png');
}
.vesta-process__step[data-step="4"] .vesta-process__picto {
    background-image: url('/wp-content/uploads/2026/05/picto-explor-go.png');
}

.vesta-process__body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease,
                opacity 0.4s ease,
                margin 0.4s ease;
    margin-top: 0;
}

.vesta-process__step.active .vesta-process__body {
    max-height: 500px;
    opacity: 1;
    margin-top: 20px;
}

.vesta-process__text {
    font-family: var(--vp-font-body);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.75;
    color: var(--vp-cream);
    margin: 0 0 16px;
    max-width: 420px;
}

.vesta-process__details {
    list-style: none;
    padding: 0 0 20px 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.vesta-process__details li {
    font-family: var(--vp-font-body);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--vp-cream);
    padding-left: 20px;
    position: relative;
}

.vesta-process__details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--vp-orange);
    font-size: 1rem;
    top: -3px;
}

.vesta-process__livrable {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid rgba(232, 93, 32, 0.2);
    background: rgba(232, 93, 32, 0.05);
    border-radius: 3px;
    max-width: 400px;
}

.vesta-process__livrable-label {
    font-family: var(--vp-font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--vp-orange);
    display: block;
}

.vesta-process__livrable-text {
    font-family: var(--vp-font-body);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--vp-cream);
}

.vesta-process__visual {
    position: sticky;
    top: 100px;
    height: fit-content;
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.vesta-process__frame {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background: var(--vp-bordeaux-2);
}

.vesta-process__panel {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.vesta-process__panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 0;
}

.vesta-process__panel.active {
    opacity: 1;
    transform: translateY(0);
}

.vesta-process__panel--1 { background: linear-gradient(135deg, #1c0a1a, #3a1020); }
.vesta-process__panel--2 { background: linear-gradient(135deg, #1a0c05, #3d1a08); }
.vesta-process__panel--3 { background: linear-gradient(135deg, #0a0a1a, #1a1040); }
.vesta-process__panel--4 { background: linear-gradient(135deg, #1a0800, #4a1800); }

.vesta-process__panel-num {
    position: absolute;
    top: 16px;
    left: 20px;
    font-family: var(--vp-font-title);
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.04);
    user-select: none;
    letter-spacing: -2px;
    z-index: 1;
}

.vesta-process__panel-name {
    font-family: var(--vp-font-title);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(240, 230, 211, 0.2);
    position: relative;
    z-index: 1;
}

.vesta-process__panel-name em {
    font-family: var(--vp-font-em);
    font-style: italic;
    color: rgba(232, 93, 32, 0.45);
}

.vesta-process__pips {
    display: flex;
    gap: 8px;
    align-items: center;
}

.vesta-process__pip {
    width: 24px;
    height: 2px;
    border-radius: 1px;
    border: none;
    background: rgba(240, 230, 211, 0.15);
    cursor: pointer;
    padding: 0;
    transition: width 0.3s ease, background 0.3s ease;
}

.vesta-process__pip.active {
    width: 40px;
    background: var(--vp-orange);
}

.vesta-process__pip:hover {
    background: rgba(232, 93, 32, 0.5);
}

/* ================================================================
PAGE PORTFOLIO
   ================================================================ */

.affichage-portfolio [data-block-id="7c2cb5f"]{
    position: sticky !important;
    top: 100px;
    align-self: flex-start;
}
.affichage-portfolio,
.affichage-portfolio .stk-row,
.affichage-portfolio .stk-column-wrapper,
.affichage-portfolio .stk-block-content{
    overflow: visible !important;
}
.affichage-portfolio [data-block-id="7c2cb5f"]{
    position: sticky !important;
    top: 100px;
    align-self: flex-start;
}
.slide-page-portfolio .vp-portfolio__items-style-emerge .vp-portfolio__item-caption a:hover,
.slide-page-portfolio .vp-portfolio__items-style-emerge .vp-portfolio__item-caption a:focus {
    color: #291b28 !important;
}

/* ================================================================
   ELEMYS
   ================================================================ */


.bloc-couleurs .stk-block-columns {
  flex-wrap: nowrap !important;
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.bloc-couleurs .stk-column-wrapper {
  padding: 0 !important;
  margin: 0 !important;
}

.bloc-couleurs .stk-block-content {
  padding: 0 !important;
  margin: 0 !important;
}

.bloc-couleurs .stk-container {
  padding: 0 !important;
  margin: 0 !important;
}

/* ================================================================
   VESTA SHORTCODES — Styles extraits de functions.php
   ================================================================ */

/* ── vesta_marquee ── */
.vesta-marquee-wrap {
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
    padding: 20px 0;
}

.vesta-marquee-inner {
    display: inline-block;
    width: max-content;
    animation: vestaScroll 30s linear infinite;
}

.vesta-marquee-inner span {
    font-size: 0.8em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #D9AA68;
    display: inline;
}

/* ── vesta_reveal ── */
.vesta-reveal {
    text-align: center;
    padding: 20px 20px;
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vesta-reveal__line {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 600;
    position: absolute;
    width: 100%;
    left: 0;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    margin: 0;
    padding: 0 20px;
}

.vesta-reveal__line.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.vesta-reveal__line.above {
    opacity: 0;
    transform: translateY(-40px);
}

/* ── vesta_flip ── */
.vesta-flip {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    height: 1.2em;
    position: relative;
    letter-spacing: normal !important;
}

.vesta-flip__inner {
    display: flex;
    flex-direction: column;
    animation: vestaFlip 6s infinite;
    position: relative;
}

.vesta-flip__inner span {
    display: block;
    height: 1.2em;
    line-height: 1.2em;
    letter-spacing: normal !important;
}

h2 {
    letter-spacing: normal !important;
}

/* ── vesta_cards ── */
.vesta-cards {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.vesta-cards__stack {
    position: relative;
    width: 280px;
    height: 350px;
    cursor: pointer;
        margin: 0 auto;
}

.vesta-cards__card {
    position: absolute;
    width: 280px;
    height: 350px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.vesta-cards__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vesta-cards__card--1 {
    transform: rotate(0deg) translateY(0px);
    z-index: 3;
}

.vesta-cards__card--2 {
    transform: rotate(-6deg) translateY(10px) translateX(-15px);
    z-index: 2;
}

.vesta-cards__card--3 {
    transform: rotate(6deg) translateY(15px) translateX(15px);
    z-index: 1;
}

.vesta-cards__stack:hover .vesta-cards__card--1 {
    transform: rotate(0deg) translateY(-30px) translateX(0px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}

.vesta-cards__stack:hover .vesta-cards__card--2 {
    transform: rotate(-12deg) translateY(20px) translateX(-80px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.vesta-cards__stack:hover .vesta-cards__card--3 {
    transform: rotate(12deg) translateY(20px) translateX(80px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
/* ── Animations ── */
@keyframes vestaScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@keyframes vestaFlip {
    0%, 28%   { transform: translateY(0); }
    33%, 61%  { transform: translateY(-1.2em); }
    66%, 94%  { transform: translateY(-2.4em); }
    100%      { transform: translateY(0); }
}


/* ================================================================
   MEDIA QUERIES
   ================================================================ */

/* ── Tablette (max 1024px) ── */
@media (max-width: 1024px) {

}

/* ── Mobile large (max 900px) ── */
@media (max-width: 900px) {
.vesta-process {
        padding: 60px 24px 80px;
    }
.media-livrables .vp-portfolio__item-wrap {
        width: 50% !important;
    }
.vesta-process__layout {
        grid-template-columns: 36px 1fr;
        gap: 0 20px;
    }
.vesta-process__visual {
        display: none;
    }
.vesta-process__layout::before {
        left: 17px;
    }
.vesta-process__num {
        width: 36px;
    }
.vesta-process__dot {
        width: 9px;
        height: 9px;
    }
.vesta-process__title {
        font-size: 1.6rem;
    }
.vesta-process__step.active .vesta-process__body {
        max-height: 800px;
    }
.affichage-portfolio [data-block-id="7c2cb5f"]{
        position: relative !important;
        top: auto !important;
        align-self: auto !important;
    }
.vs-stage {
width: 100% !important;
height: 55vh !important;
max-height: 420px !important;
overflow: hidden !important;
margin: 0 auto !important;
}
    .slider-mask .vs-col {
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%) !important;
        mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%) !important;
    }
    .header-accueil .stk-column-wrapper {
        min-height: unset !important;
        height: auto !important;
    }

    .vesta-cards {
        justify-content: center !important;
    }
    .vesta-cards {
        justify-content: center;
    }
    .vesta-cards__stack {
        margin: 0 auto;
    }
    .vesta-cards {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 60px 20px;
        width: 100%;
        position: relative;
        margin: 0 auto !important;
        left: 10%;
    }
.vesta-cards__stack {
    position: static;
    width: 280px;
    height: 350px;
    cursor: pointer;
    flex-shrink: 0;
}
.vf-wrap {
    padding-top: 0px !important;
}
    h3.vf-text__title{
        font-size: 0.9em !important;
    }
  body {
    padding-top: 0 !important;
  }
  
  .ct-main-content-container,
  #content,
  .site-content {
    padding-top: 108px !important;
  }
  .entry-content .wp-block-stackable-columns.alignfull:first-child {
    margin-top: 108px !important;
  }
    .slider-mask::before{
        display:none !important;
    }
}

@media (max-width: 768px) {
    .vf-wrap {
        grid-template-columns: 1fr;
        gap: 40px 0;
    }

    .vf-funnel {
    position: sticky;
    top: 120px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    }

    .vf-step {
        filter: brightness(1);
        transform: scale(1);
    }

    .vf-text {
        min-height: auto;
        opacity: 1;
        transform: none;
        padding: 20px 0;
    }
.vs-stage {
width: 100% !important;
height: 50vh !important;
max-height: 380px !important;
overflow: hidden !important;
margin: 0 auto !important;
}
    /* Fix Safari iOS — overflow hidden sur le parent */
.slider-mask {
overflow: hidden !important;
border-radius: 1px; /* force le repaint Safari */
}

.slider-mask .vs-col {
-webkit-mask-image: linear-gradient(
to bottom,
transparent 0%,
black 10%,
black 90%,
transparent 100%
) !important;
mask-image: linear-gradient(
to bottom,
transparent 0%,
black 10%,
black 90%,
transparent 100%
) !important;
}
  .vesta-cards {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    left: 0 !important;
    padding: 40px 0 !important;
    margin: 0 auto !important;
  }

  .vesta-cards__stack {
    position: relative !important;
    width: 160px !important;
    height: 200px !important;
    margin: 0 auto !important;
  }

  .vesta-cards__card {
    width: 160px !important;
    height: 200px !important;
  }

  .vesta-cards__card--1 {
    left: 0px !important;
    top: 0px !important;
  }

  .vesta-cards__card--2 {
    left: -50px !important;
    top: 10px !important;
  }

  .vesta-cards__card--3 {
    left: 50px !important;
    top: 10px !important;
  }
.slider-mask::after {
    background: linear-gradient(to top, #2A1F2E 0%, transparent 100%) !important;
}
}

/* ── Mobile (max 600px) ── */
@media (max-width: 600px) {
    .vs-stage {
        min-height: 60vh;
    }
.vesta-process__livrable {
        max-width: 100%;
    }
.vesta-process__text {
        max-width: 100%;
    }
.media-livrables .vp-portfolio__item-wrap {
        width: 100% !important;
    }
}
