:root{--vw-bg-main:#FFFFFF;--vw-bg-card:#FFFFFF;--vw-bg-beige:#EFEFEF;--vw-text-main:#282828;--vw-text-muted:#5F5F5F;--vw-text-light:#9A9A9A;--vw-accent:#347E7C;--vw-accent-2:#FFBC42;--vw-accent-3:#73D2DE;--vw-accent-dim:rgba(52,126,124,0.12);--vw-accent-glow:rgba(52,126,124,0.3);} 

body { 
      background-color: var(--vw-bg-main, var(--vw-bg-main, #FFFFFF)); 
      color: var(--vw-text-main, var(--vw-text-main, #282828)); 
      display: flex; 
      flex-direction: column; 
      min-height: 100vh; 
      overflow-x: hidden; 
    }
    
    .view-section { 
      display: none; 
      width: 100%; 
      animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1); 
    }
    .view-section.active { display: block; }
    
    .no-scrollbar::-webkit-scrollbar { display: none; }
    
    .gradient-text {
      background: linear-gradient(135deg, var(--vw-text-main) 0%, var(--vw-accent) 55%, var(--vw-accent-3) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-grid {
      background-image: 
        linear-gradient(to right, rgba(28, 25, 23, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(28, 25, 23, 0.03) 1px, transparent 1px);
      background-size: 60px 60px;
    }

    .card-hover {
      transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .card-hover:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.05);
    }

    .nav-item.active {
      color: var(--vw-text-main, var(--vw-text-main, #282828));
      font-weight: 600;
    }

    .nav-item.active::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 50%;
      transform: translateX(-50%);
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background-color: var(--vw-accent, #347E7C);
    }
    
    .level-btn.active {
        background-color: #347E7C !important;
        border-color: #347E7C !important;
        color: #fff !important;
        font-weight: 700;
        box-shadow: 0 8px 20px rgba(52,126,124,0.22);
    }

    /* Roadmap Animations & Styles */
    .roadmap-container {
      position: relative;
    }
    .roadmap-line-bg {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 20px; /* Aligned with circle center on mobile */
      width: 2px;
      background-color: #E7E5E4;
      z-index: 0;
    }
    @media (min-width: 768px) {
      .roadmap-line-bg { left: 50%; transform: translateX(-50%); }
    }
    .roadmap-line-progress {
      position: absolute;
      top: 0;
      left: 20px;
      width: 2px;
      background-color: var(--vw-accent, #347E7C);
      height: 0%;
      z-index: 1;
      transition: height 0.1s linear;
    }
    @media (min-width: 768px) {
      .roadmap-line-progress { left: 50%; transform: translateX(-50%); }
    }
    
    .step-circle {
      transition: all 0.4s ease;
      background-color: var(--vw-bg-main, var(--vw-bg-main, #FFFFFF));
      border-color: #E7E5E4;
      color: #A8A29E;
    }
    .step-active .step-circle {
      background-color: var(--vw-accent, #347E7C);
      border-color: var(--vw-accent, #347E7C);
      color: white;
      transform: scale(1.2);
      box-shadow: 0 0 0 4px color-mix(in srgb, var(--vw-accent-3) 45%, transparent);
    }
    
    /* Animation des blocs contenus */
    .step-content {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.8s ease-out;
    }
    .step-image {
        opacity: 0;
        transform: scale(0.95);
        transition: all 0.8s ease-out;
    }
    
    .step-active .step-content {
        opacity: 1;
        transform: translateY(0);
    }
    .step-active .step-image {
        opacity: 1;
        transform: scale(1);
    }

/* --- WordPress fixes --- */
/* Admin bar offset */
body.admin-bar #navbar { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar #navbar { top: 46px; }
}

/* Pagination styling to match design */
.nav-links { display:flex; gap:10px; align-items:center; justify-content:center; }
.page-numbers {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  height:40px;
  padding:0 14px;
  border:1px solid #E7E5E4;
  border-radius:9999px;
  background:#FFFFFF;
  color:var(--vw-text-muted, #5F5F5F);
  font-weight:600;
  transition:all .25s ease;
}
.page-numbers:hover { border-color:var(--vw-accent, #347E7C); color:var(--vw-accent, #347E7C); }
.page-numbers.current { background:var(--vw-text-main, #282828); border-color:var(--vw-text-main, #282828); color:#FFFFFF; }

/* Make media behave */
img { max-width:100%; height:auto; }


/* WYSIWYG content (Réalisations) */
.wysiwyg { color:var(--vw-text-main, #282828); font-size:16px; line-height:1.75; }
.wysiwyg p { margin: 0 0 16px 0; color:var(--vw-text-muted, #5F5F5F); }
.wysiwyg h2, .wysiwyg h3, .wysiwyg h4 { color:var(--vw-text-main, #282828); font-family:'Space Grotesk', sans-serif; font-weight:700; margin: 28px 0 12px; }
.wysiwyg h2 { font-size: 26px; }
.wysiwyg h3 { font-size: 20px; }
.wysiwyg ul, .wysiwyg ol { margin: 0 0 16px 18px; color:var(--vw-text-muted, #5F5F5F); }
.wysiwyg li { margin: 6px 0; }
.wysiwyg a { color:var(--vw-accent, #347E7C); font-weight:600; text-decoration: underline; text-underline-offset: 3px; }
.wysiwyg blockquote { border-left: 3px solid #E7E5E4; padding-left: 16px; margin: 16px 0; color:var(--vw-text-muted, #5F5F5F); }

/* Journal / Posts typography (Tailwind preflight resets margins → we re-add them) */
.entry-content { color:var(--vw-text-main, #282828); font-size:18px; line-height:1.8; }
.entry-content > * { margin-top: 0; margin-bottom: 0; }

.entry-content p { margin: 0 0 18px 0; color:var(--vw-text-muted, #5F5F5F); }
.entry-content strong { color:var(--vw-text-main, #282828); font-weight:700; }
.entry-content em { font-style: italic; }

.entry-content h2, .entry-content h3, .entry-content h4 { color:var(--vw-text-main, #282828); font-family:'Space Grotesk', sans-serif; font-weight:800; letter-spacing:-0.01em; }
.entry-content h2 { font-size: 28px; line-height:1.2; margin: 34px 0 14px; }
.entry-content h3 { font-size: 22px; line-height:1.25; margin: 28px 0 12px; }
.entry-content h4 { font-size: 18px; line-height:1.3; margin: 20px 0 10px; }

.entry-content ul, .entry-content ol { margin: 0 0 18px 20px; color:var(--vw-text-muted, #5F5F5F); }
.entry-content li { margin: 8px 0; }
.entry-content li > ul, .entry-content li > ol { margin-top: 10px; }

.entry-content a { color:var(--vw-accent, #347E7C); font-weight:650; text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { opacity: .85; }

.entry-content blockquote { border-left: 3px solid #E7E5E4; padding: 6px 0 6px 18px; margin: 22px 0; color:var(--vw-text-muted, #5F5F5F); }
.entry-content blockquote p { margin: 0 0 12px 0; }

.entry-content hr { border:0; border-top:1px solid #E7E5E4; margin: 28px 0; }

.entry-content figure { margin: 24px 0; }
.entry-content figcaption { margin-top: 10px; font-size: 14px; color:#A8A29E; }

.entry-content pre { margin: 22px 0; padding: 16px 18px; background:#0B0A09; color:#F5F5F4; border-radius: 14px; overflow:auto; font-size: 14px; line-height:1.6; }
.entry-content code { font-family:'JetBrains Mono', monospace; font-size: 0.95em; background: var(--vw-accent-dim, rgba(216,17,89,.12)); padding: 0.2em 0.35em; border-radius: 8px; }
.entry-content pre code { background: transparent; padding: 0; }

.entry-content table { width:100%; border-collapse: collapse; margin: 22px 0; font-size: 16px; }
.entry-content th, .entry-content td { border:1px solid #E7E5E4; padding: 10px 12px; text-align:left; }
.entry-content th { background:#F5F5F4; color:var(--vw-text-main, #282828); font-weight:700; }

/* Gutenberg blocks helpers */
.entry-content .wp-block-image img { border-radius: 16px; border:1px solid #E7E5E4; }
.entry-content .wp-block-separator { margin: 28px 0; }
.entry-content .wp-block-columns { margin: 22px 0; gap: 18px; }
.entry-content .wp-block-cover { border-radius: 18px; overflow:hidden; }
.entry-content .wp-block-quote { border-left: 3px solid #E7E5E4; padding-left: 18px; }

@media (max-width: 768px) {
  .entry-content { font-size: 16px; line-height:1.75; }
  .entry-content h2 { font-size: 24px; }
  .entry-content h3 { font-size: 20px; }
}

/* ---------------------------------
   Offre page enhancements (v10)
----------------------------------*/
.vw-aside-sticky {
  position: sticky;
  top: 96px;
}

.vw-toc {
  position: static;
}
.vw-toc a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .75rem;
  border-radius: .75rem;
  color: var(--vw-text-muted, #5F5F5F);
  transition: all .2s ease;
}
.vw-toc a:hover {
  background: var(--vw-accent-dim, rgba(216,17,89,.12));
  color: var(--vw-text-main, var(--vw-text-main, #282828));
}
.vw-toc a.is-active {
  background: var(--vw-accent-dim, rgba(216,17,89,.12));
  color: var(--vw-text-main, var(--vw-text-main, #282828));
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.vw-offre-card {
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.vw-offre-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.05);
}
.vw-chip {
  background: color-mix(in srgb, var(--vw-accent-3) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--vw-accent-3) 18%, transparent);
  color: var(--vw-text-main, var(--vw-text-main, #282828));
}
.vw-tab-btn.is-active {
  border-color: var(--vw-accent, #347E7C) !important;
  background: color-mix(in srgb, var(--vw-accent-2) 16%, white) !important;
  color: var(--vw-accent, #347E7C) !important;
  font-weight: 800 !important;
}
.vw-details summary {
  cursor: pointer;
  list-style: none;
}
.vw-details summary::-webkit-details-marker { display: none; }
.vw-details[open] summary .vw-plus { transform: rotate(45deg); }
.vw-plus { transition: transform .2s ease; }
.vw-figure {
  border: 1px solid #E7E5E4;
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
}
.vw-figure img {
  width: 100%;
  height: auto;
  display: block;
}


/* Vestalis palette buttons (more colorful, applied across CTAs) */
.vw-btn{border-radius:999px;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;font-weight:750;transition:all .25s cubic-bezier(0.16, 1, 0.3, 1);}
.vw-btn-lg{padding:1.05rem 1.65rem;font-size:1.05rem;}
.vw-btn:active{transform:translateY(1px);}
.vw-btn-primary{
  background: var(--vw-accent);
  color:#fff;
  padding:.85rem 1.25rem;
  border:1px solid color-mix(in srgb, var(--vw-accent) 70%, #0000);
  box-shadow:0 16px 34px rgba(0,0,0,.10);
}
.vw-btn-primary:hover{
  filter:brightness(.96);
  box-shadow:0 20px 44px rgba(0,0,0,.12);
  transform:translateY(-1px);
}
.vw-btn-secondary{
  background: var(--vw-accent-2);
  color: var(--vw-text-main);
  padding:.85rem 1.25rem;
  border:1px solid color-mix(in srgb, var(--vw-accent-2) 70%, #0000);
  box-shadow:0 14px 30px rgba(0,0,0,.08);
}
.vw-btn-secondary:hover{
  filter:brightness(.98);
  box-shadow:0 18px 40px rgba(0,0,0,.10);
  transform:translateY(-1px);
}
.vw-btn-outline{
  padding:.85rem 1.25rem;
  background:rgba(255,255,255,.9);
  color:var(--vw-text-main);
  border:1px solid color-mix(in srgb, var(--vw-accent-3) 26%, #E7E5E4);
  box-shadow:0 10px 24px rgba(0,0,0,.06);
}
.vw-btn-outline:hover{background:color-mix(in srgb, var(--vw-accent-3) 6%, white);border-color:color-mix(in srgb, var(--vw-accent-3) 42%, #E7E5E4);transform:translateY(-1px);} 
.vw-btn-icon{width:44px;height:44px;border-radius:14px;display:inline-flex;align-items:center;justify-content:center;font-weight:900;}
.vw-btn-icon.vw-btn-primary{padding:0;}
.vw-badge-yellow{background:color-mix(in srgb, var(--vw-accent-2) 18%, transparent);color:var(--vw-text-main);border:1px solid color-mix(in srgb, var(--vw-accent-2) 35%, transparent);} 
.vw-badge-blue{background:color-mix(in srgb, var(--vw-accent-3) 18%, transparent);color:var(--vw-text-main);border:1px solid color-mix(in srgb, var(--vw-accent-3) 35%, transparent);} 

/* Surfaces using Vestalis palette */
.vw-surface-yellow{background:color-mix(in srgb, var(--vw-accent-2) 14%, white);border:1px solid color-mix(in srgb, var(--vw-accent-2) 34%, white);} 
.vw-surface-blue{background:color-mix(in srgb, var(--vw-accent-3) 12%, white);border:1px solid color-mix(in srgb, var(--vw-accent-3) 30%, white);} 
.vw-hover-yellow:hover{background:color-mix(in srgb, var(--vw-accent-2) 10%, white);border-color:color-mix(in srgb, var(--vw-accent-2) 28%, white);} 
.vw-tab-btn:hover{background:color-mix(in srgb, var(--vw-accent-2) 10%, white);} 

/* Offer page – more visible Vestalis palette */
.vw-offre-hero{position:relative;overflow:hidden;}
.vw-offre-hero::before{
  content:'';
  position:absolute;
  inset:-140px -140px auto -140px;
  height:320px;
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--vw-accent-3) 22%, transparent), transparent 72%),
    radial-gradient(closest-side, color-mix(in srgb, var(--vw-accent-2) 18%, transparent), transparent 74%),
    radial-gradient(closest-side, color-mix(in srgb, var(--vw-accent) 16%, transparent), transparent 76%);
  filter: blur(34px);
  opacity:.38;
  pointer-events:none;
}

.vw-offre-hero::after{
  content:'';
  position:absolute;
  inset:auto -120px -220px auto;
  width:520px;
  height:520px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--vw-accent) 14%, transparent), transparent 72%);
  filter: blur(36px);
  opacity:.28;
  pointer-events:none;
}


.vw-cta{
  background: linear-gradient(135deg, var(--vw-text-main) 0%, var(--vw-accent) 58%, var(--vw-accent-3) 100%);
}

/* Strong CTA banner (used for "Prêt à améliorer...") */
.vw-cta-banner{position:relative;overflow:hidden;}
.vw-cta-banner::before{
  content:'';
  position:absolute;
  inset:-120px -120px auto -120px;
  height:420px;
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--vw-accent-2) 55%, transparent), transparent 70%),
    radial-gradient(closest-side, color-mix(in srgb, var(--vw-accent-3) 60%, transparent), transparent 72%),
    radial-gradient(closest-side, color-mix(in srgb, var(--vw-accent) 42%, transparent), transparent 68%);
  filter: blur(24px);
  opacity:.65;
  pointer-events:none;
}
.vw-cta-banner::after{
  content:'';
  position:absolute;
  right:-160px;
  bottom:-200px;
  width:520px;
  height:520px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--vw-accent) 35%, transparent), transparent 70%);
  filter: blur(26px);
  opacity:.6;
  pointer-events:none;
}

/* Footer color mix */
.vw-footer{position:relative;background:#FFFFFF;}
.vw-footer::before{
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(closest-side at 15% 10%, color-mix(in srgb, var(--vw-accent-3) 40%, transparent), transparent 70%),
    radial-gradient(closest-side at 85% 20%, color-mix(in srgb, var(--vw-accent-2) 42%, transparent), transparent 72%),
    radial-gradient(closest-side at 55% 85%, color-mix(in srgb, var(--vw-accent) 30%, transparent), transparent 75%);
  opacity:.10;
  pointer-events:none;
}
.vw-footer a:hover{color:var(--vw-accent-2);} 
.vw-footer .vw-social:hover{background:linear-gradient(135deg, var(--vw-accent) 0%, var(--vw-accent-3) 100%); color:#fff;} 

/* Offer page: sticky pills nav for easier reading */
/* Offer page: sticky pills nav for easier reading (keeps level under fixed header) */
.vw-offer-sticky-nav{
  position:sticky;
  top: calc(var(--vw-header-h, 80px) + var(--wp-admin--admin-bar--height, 0px));
  z-index:45;
  background:rgba(255,255,255,.90);
  backdrop-filter:blur(14px);
  border-bottom:1px solid #E7E5E4;
}
.vw-toc.vw-toc--pills{
  display:flex;
  flex-wrap:nowrap;
  gap:.5rem;
  padding:.75rem 0;
  overflow-x:auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width:none;
}
.vw-toc.vw-toc--pills::-webkit-scrollbar{display:none;}
.vw-toc.vw-toc--pills a{
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  padding:.6rem .95rem;
  border-radius:999px;
  border:1px solid #E7E5E4;
  background:white;
  transition:all .2s ease;
}
.vw-toc.vw-toc--pills a:hover{
  border-color:color-mix(in srgb, var(--vw-accent-3) 45%, #E7E5E4);
  background:color-mix(in srgb, var(--vw-accent-3) 6%, white);
}
.vw-toc.vw-toc--pills a.is-active{
  border-color:color-mix(in srgb, var(--vw-accent) 45%, #E7E5E4);
  background:color-mix(in srgb, var(--vw-accent-3) 10%, white);
  font-weight:800;
}
/* Links + focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 3px solid color-mix(in srgb, var(--vw-accent-3) 60%, transparent);
  outline-offset: 2px;
}


/* Offer sections: offset anchor jumps under fixed header + sticky pills */
.vw-offer-section{scroll-margin-top: calc(var(--vw-header-h, 80px) + 90px + var(--wp-admin--admin-bar--height, 0px));}


/* Offer page readability helpers */
.vw-section-card{
  background: #fff;
  border: 1px solid #E7E5E4;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
}
@media (min-width: 768px){
  .vw-section-card{ padding: 34px; }
}
.vw-section-title{
  display:flex;
  align-items:baseline;
  gap:.75rem;
  margin-bottom:.75rem;
}
.vw-section-kicker{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.12em;
  color: var(--vw-accent);
}


.vw-step-dot{
  width:44px;
  height:44px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color:#fff;
  background: var(--vw-accent);
  box-shadow: 0 14px 26px rgba(0,0,0,.10);
  flex: 0 0 auto;
}

/* ── Marquee carousel infini ── */
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-scroll {
  animation: marquee-scroll 22s linear infinite;
  will-change: transform;
}
