/*
Theme Name: NEXST
Theme URI: https://nexst.fr
Author: NEXST
Description: Thème NEXST — Visuels Intelligents & Augmentés
Version: 1.1.0
Text Domain: nexst
*/

  :root {
    --blue: #1E3DC8;
    --blue-dark: #0A1628;
    --blue-mid: #1630A0;
    --teal: #00C2A8;
    --white: #FFFFFF;
    --off-white: #F4F5F9;
    --grey: #8B92A9;
    --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  html { overflow-x: hidden; }
  body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--blue-dark);
    color: var(--white);
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px max(48px, calc((100% - 1320px) / 2));
    background: #0A1628;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
  }
  nav.scrolled {
    border-bottom-color: rgba(0,194,168,0.15);
  }
  .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }
  .nav-logo .mono { height: 30px; width: auto; display: block; }
  .nav-logo .word { height: 18px; width: auto; display: block; }
  .nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
  }
  .nav-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--white); }
  .nav-cta {
    background: var(--blue);
    color: var(--white);
    text-decoration: none;
    padding: 12px 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.2s;
  }
  .nav-cta:hover { background: var(--teal); color: var(--blue-dark); transform: translateY(-1px); }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto;
    align-items: center;
    padding: 120px max(48px, calc((100% - 1320px) / 2)) 80px;
    position: relative;
    overflow: hidden;
    background: var(--blue);
    gap: 0 60px;
  }
  .hero-left {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-column: 1;
    grid-row: 1 / 3;
  }
  .hero-visual {
    position: relative;
    z-index: 2;
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }
  #hero-canvas {
    width: 130%;
    max-width: 820px;
    height: auto;
    display: block;
    animation: floatImg 5s ease-in-out infinite;
    position: relative;
    right: 0;
  }
  @media (max-width: 900px) {
    #hero-canvas { width: 100%; max-width: 100%; }
  }
  @keyframes floatImg {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }
  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0,194,168,0.12) 0%, transparent 60%),
      radial-gradient(ellipse 60% 80% at 20% 80%, rgba(10,22,40,0.8) 0%, transparent 70%),
      linear-gradient(135deg, #0A1628 0%, #1E3DC8 50%, #1630A0 100%);
  }
  .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 70%, transparent 100%);
  }
  .hero-label {
    position: relative;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 28px;
  }
  .hero-title {
    position: relative;
    font-family: 'DM Serif Display', serif;
    font-size: clamp(52px, 7vw, 96px);
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: -1px;
    max-width: 800px;
    margin-bottom: 40px;
  }
  .hero-title em {
    font-style: italic;
    color: var(--teal);
  }
  .hero-bottom {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }
  .hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    max-width: 360px;
    font-weight: 300;
  }
  .hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-shrink: 0;
  }
  .btn-primary {
    background: var(--white);
    color: var(--blue-dark);
    text-decoration: none;
    padding: 16px 36px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
  }
  .btn-primary:hover { background: var(--teal); transform: translateY(-2px); }
  .btn-ghost {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
  }
  .btn-ghost:hover { color: var(--white); }
  .btn-ghost::after { content: '→'; }

  /* scroll indicator */
  .scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    animation: bounce 2s infinite;
  }
  .scroll-indicator span {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
  }
  .scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: var(--white);
  }
  @keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
  }

  /* ── BASELINE STRIP ── */
  .strip {
    background: var(--teal);
    color: var(--blue-dark);
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
  }
  .strip-track {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: marquee 22s linear infinite;
    flex-shrink: 0;
    padding-right: 60px;
  }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }
  .strip:hover .strip-track { animation-play-state: paused; }
  .strip-item {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    flex-shrink: 0;
  }
  .strip-item--white { color: var(--white); }
  .strip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--blue-dark);
    flex-shrink: 0;
    opacity: 0.4;
  }

  /* ── SECTION BASE ── */
  section { padding: 120px max(48px, calc((100% - 1320px) / 2)); }
  .section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 20px;
  }
  .section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 24px;
  }

  /* ── PITCH ── */
  .pitch {
    background: var(--off-white);
    color: var(--blue-dark);
  }
  .pitch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .pitch-text .section-label { color: var(--blue); }
  .pitch-text .section-title { color: var(--blue-dark); }
  .pitch-text p {
    font-size: 17px;
    line-height: 1.75;
    color: #3A4560;
    margin-bottom: 40px;
    font-weight: 300;
  }
  .pitch-text strong { color: var(--blue-dark); font-weight: 600; }
  .pitch-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }
  .pitch-stat {
    background: var(--blue);
    color: var(--white);
    padding: 40px 36px;
  }
  .pitch-stat:nth-child(2) { background: var(--blue-dark); }
  .pitch-stat:nth-child(3) { background: var(--blue-dark); }
  .pitch-stat:nth-child(4) { background: var(--blue); }
  .pitch-stat-number {
    font-family: 'DM Serif Display', serif;
    font-size: 52px;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--teal);
  }
  .pitch-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    line-height: 1.5;
  }

  /* ── OFFRES ── */
  .offres {
    background: var(--blue-dark);
  }
  .offres-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
  }
  .offres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
  }
  .offre-card {
    background: #0F1E38;
    padding: 52px 40px;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
  }
  .offre-card:hover { background: var(--blue); }
  .offre-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--teal);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--transition);
  }
  .offre-card:hover::before { transform: scaleX(1); }
  .offre-num {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--teal);
    margin-bottom: 32px;
    opacity: 0.7;
  }
  .offre-name {
    font-family: 'DM Serif Display', serif;
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--white);
  }
  .offre-sub {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px;
  }
  .offre-desc {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    margin-bottom: 40px;
    font-weight: 300;
  }
  .offre-price {
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    color: var(--white);
  }
  .offre-price span {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    margin-left: 4px;
  }
  .offre-list {
    list-style: none;
    margin-top: 28px;
  }
  .offre-list li {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .offre-list li::before {
    content: '';
    width: 16px;
    height: 1px;
    background: var(--teal);
    flex-shrink: 0;
  }

  /* ── PROCESS ── */
  .process {
    background: var(--blue);
  }
  .process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2px;
    margin-top: 64px;
  }
  .process-step {
    background: rgba(255,255,255,0.06);
    padding: 48px 36px;
    position: relative;
  }
  .process-step:hover { background: rgba(255,255,255,0.1); }
  .process-n {
    font-family: 'DM Serif Display', serif;
    font-size: 72px;
    color: rgba(255,255,255,0.08);
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -2px;
  }
  .process-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
  }
  .process-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    font-weight: 300;
  }

  /* ── PROMESSE ── */
  .promesse {
    background: var(--off-white);
    color: var(--blue-dark);
  }
  .promesse-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .promesse-quote {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 3.5vw, 52px);
    line-height: 1.15;
    color: var(--blue-dark);
  }
  .promesse-quote em {
    font-style: italic;
    color: var(--blue);
  }
  .promesse-right .section-label { color: var(--blue); }
  .promesse-right p {
    font-size: 16px;
    line-height: 1.75;
    color: #3A4560;
    font-weight: 300;
    margin-bottom: 32px;
  }
  .btn-dark {
    background: var(--blue-dark);
    color: var(--white);
    text-decoration: none;
    padding: 16px 36px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    transition: background 0.2s, transform 0.2s;
  }
  .btn-dark:hover { background: var(--blue); transform: translateY(-2px); }

  /* ── CTA FINAL ── */
  .cta-final {
    background: var(--blue);
    padding: 100px max(48px, calc((100% - 1320px) / 2));
    position: relative;
    overflow: hidden;
  }
  .cta-final::before {
    content: 'nexst';
    position: absolute;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 280px;
    letter-spacing: -8px;
    color: rgba(255,255,255,0.035);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
  }
  .cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    position: relative;
    z-index: 2;
  }
  .cta-left .section-label { display: block; }
  .cta-left .section-title { color: var(--white); margin-bottom: 20px; }
  .cta-left p {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    font-weight: 300;
    line-height: 1.75;
    margin-bottom: 28px;
  }
  .cta-contact { display: flex; flex-direction: column; gap: 6px; }
  .cta-contact a { color: var(--teal); text-decoration: none; font-size: 14px; font-weight: 500; transition: opacity .2s; }
  .cta-contact a:hover { opacity: .7; }

  /* Form */
  .form { display: flex; flex-direction: column; gap: 18px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .form-group { display: flex; flex-direction: column; gap: 7px; }
  .form-group label {
    font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; color: rgba(255,255,255,0.4);
  }
  .form-group input,
  .form-group textarea,
  .form-group select {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--white);
    padding: 13px 16px;
    font-size: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
    transition: border-color 0.2s;
    resize: none;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
  }
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus { border-color: var(--teal); }
  .form-group input::placeholder,
  .form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
  .form-group select option { background: var(--blue-dark); color: var(--white); }
  .form-group textarea { min-height: 110px; }
  .btn-submit {
    background: var(--white); color: var(--blue-dark);
    border: none; padding: 15px 36px;
    font-size: 12px; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: background 0.2s, transform 0.2s;
    align-self: flex-start;
  }
  .btn-submit:hover { background: var(--teal); transform: translateY(-2px); }

  /* ── FOOTER ── */
  footer {
    background: #060F1E;
    padding: 24px max(48px, calc((100% - 1320px) / 2));
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.04);
  }
  .footer-logo { font-size: 18px; font-weight: 800; color: var(--white); }
  .footer-logo span { color: var(--teal); }
  .footer-baseline { font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 1px; text-transform: uppercase; }
  .footer-trust { font-size: 11px; color: rgba(0,194,168,0.5); letter-spacing: 0.5px; margin-top: 6px; }
  .footer-links { display: flex; gap: 24px; list-style: none; }
  .footer-links a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 11px; letter-spacing: .5px; transition: color 0.2s; }
  .footer-links a:hover { color: var(--white); }

  /* ── ANIMATIONS ── */
  .fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
  }
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .fade-up:nth-child(2) { transition-delay: 0.1s; }
  .fade-up:nth-child(3) { transition-delay: 0.2s; }
  .fade-up:nth-child(4) { transition-delay: 0.3s; }

  /* ── HAMBURGER BUTTON ── */
  .nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
  }
  .nav-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
  }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── MOBILE DRAWER ── */
  .mobile-menu {
    display: flex;
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    background: #0A1628;
    z-index: 1050;
    flex-direction: column;
    padding: 100px 36px 48px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.35s;
    box-shadow: -8px 0 40px rgba(0,0,0,0.5);
    visibility: hidden;
    pointer-events: none;
  }
  .mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
  }
  .mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
  }
  .mobile-menu-links li {
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }
  .mobile-menu-links a {
    display: block;
    padding: 18px 0;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s;
  }
  .mobile-menu-links a:hover,
  .mobile-menu-links li.current > a { color: var(--teal); }
  .mobile-menu-cta {
    display: block;
    margin-top: 36px;
    background: var(--blue);
    color: var(--white);
    text-decoration: none;
    padding: 16px 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    transition: background 0.2s;
  }
  .mobile-menu-cta:hover { background: var(--teal); color: var(--blue-dark); }
  .mobile-menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
    visibility: hidden;
    pointer-events: none;
  }
  .mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.35s ease, visibility 0s linear 0s;
  }

  @media (max-width: 900px) {
    nav { padding: 20px 24px; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-burger { display: flex; }
    /* mobile-menu et overlay toujours display:flex/block, gérés par visibility */
    section { padding: 80px 24px; }
    .hero { padding: 110px 24px 60px; grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 40px 0; overflow: hidden; }
    .hero-left { grid-column: 1; grid-row: 1; }
    .hero-visual { grid-column: 1; grid-row: 2; justify-content: center; overflow: hidden; }
    .hero-visual canvas, .hero-visual img { max-width: 100%; width: 100%; }
    .hero-title { font-size: 42px; }
    .hero-bottom { flex-direction: column; align-items: flex-start; }
    .pitch-grid, .offres-grid, .process-grid, .promesse-inner { grid-template-columns: 1fr; }
    .offres-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .strip { padding: 16px 24px; }
    .cta-final { padding: 60px 24px; }
    .cta-grid, .form-row { grid-template-columns: 1fr; gap: 20px; }
    .form { width: 100%; max-width: 100%; box-sizing: border-box; }
    .form-group input, .form-group textarea, .form-group select { width: 100%; max-width: 100%; box-sizing: border-box; }
    footer { flex-direction: column; gap: 16px; text-align: center; padding: 24px; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
  }



  /* ── PROMESSE VISUELLE ── */
  .promesse-visuelle {
    background: var(--off-white);
    padding: 120px max(48px, calc((100% - 1320px) / 2)) 80px;
    text-align: center;
  }
  .pv-quote {
    max-width: 860px;
    margin: 0 auto 60px;
    font-family: 'DM Serif Display', serif;
    font-size: clamp(22px, 2.5vw, 32px);
    line-height: 1.5;
    color: var(--blue-dark);
  }
  .pv-quote strong { color: var(--blue); font-family: inherit; }
  .pv-quote em { font-style: italic; color: var(--blue); }
  .pv-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
  }
  .pv-line {
    width: 80px;
    height: 1px;
    background: var(--blue);
    opacity: 0.3;
    display: block;
  }
  .pv-pillars {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 60px;
  }
  .pv-operator {
    font-family: 'DM Serif Display', serif;
    font-size: 36px;
    color: var(--blue);
    opacity: 0.4;
    padding: 0 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    align-self: center;
  }
  .pv-pillar {
    background: var(--white);
    border: 1px solid rgba(10,22,40,0.08);
    padding: 28px 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 12px rgba(10,22,40,0.06);
  }
  .pv-pillar--result {
    border-color: var(--teal);
    box-shadow: 0 2px 16px rgba(0,194,168,0.15);
  }
  .pv-pillar:hover { border-color: var(--teal); box-shadow: 0 4px 24px rgba(0,194,168,0.12); }
  .pv-pillar-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pv-pillar-text {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }
  .pv-pillar-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--teal);
    white-space: nowrap;
  }
  .pv-pillar-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--blue-dark);
    white-space: nowrap;
  }
  .pv-ctas {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
  }
  .pv-cta-ghost {
    color: var(--blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
    opacity: 0.7;
  }
  .pv-cta-ghost:hover { color: var(--blue-dark); opacity: 1; }
  .btn-rdv {
    background: var(--blue);
    color: var(--white);
    text-decoration: none;
    padding: 16px 40px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    border: 2px solid var(--blue);
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  }
  .btn-rdv:hover {
    background: var(--white);
    color: var(--blue-dark);
    border-color: var(--blue);
    transform: translateY(-2px);
  }

  .approche {
    background: var(--blue);
    padding: 100px max(48px, calc((100% - 1320px) / 2));
    text-align: center;
    border-top: none;
  }
  .approche .section-label { color: var(--teal); }
  .approche .section-title { color: var(--white); margin-bottom: 16px; }
  .approche-intro {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 72px;
    font-weight: 300;
  }
  .approche-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 60px;
    flex-wrap: nowrap;
  }
  .approche-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    flex: 1;
    max-width: 320px;
  }
  .approche-num {
    width: 64px; height: 64px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 28px;
    color: var(--blue-dark);
    font-weight: 400;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
  }
  .approche-connector {
    flex-shrink: 0;
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    margin-top: 32px;
  }
  .approche-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 36px 28px;
    text-align: center;
    width: 100%;
    transition: background 0.2s;
  }
  .approche-card:hover { background: rgba(255,255,255,0.14); }
  .approche-icon { margin-bottom: 20px; }
  .approche-card-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
  }
  .approche-card-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    font-weight: 300;
  }
  .approche-card-desc em { color: var(--teal); font-style: normal; }
  .approche-quote {
    font-style: italic;
    color: rgba(255,255,255,0.55);
    font-size: 16px;
    border: none;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
  }
  .approche-cta { margin-top: 8px; }

  /* ── BÉNÉFICES ── */
  .benefices {
    background: var(--off-white);
    padding: 100px max(48px, calc((100% - 1320px) / 2));
    text-align: center;
  }
  .benefices .section-label { color: var(--blue); }
  .benefices .section-title { color: var(--blue-dark); margin-bottom: 16px; }
  .benefices-intro {
    font-size: 16px;
    color: #3A4560;
    margin-bottom: 64px;
    font-weight: 300;
  }
  .nexst-inline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.5px;
  }
  .benefices-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto 40px;
    text-align: left;
  }
  .benefice-card {
    background: var(--white);
    border: 1px solid rgba(10,22,40,0.08);
    padding: 36px 32px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 12px rgba(10,22,40,0.05);
  }
  .benefice-card:hover { border-color: var(--teal); box-shadow: 0 4px 24px rgba(0,194,168,0.1); }
  .benefice-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
  }
  .benefice-icon {
    width: 52px; height: 52px;
    background: rgba(0,194,168,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .benefice-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--blue-dark);
    line-height: 1.3;
  }
  .benefice-check {
    color: var(--teal);
    font-size: 14px;
    margin-left: 4px;
  }
  .benefice-desc {
    font-size: 14px;
    color: #3A4560;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 24px;
  }
  .benefice-desc em { color: var(--blue); font-style: normal; font-weight: 500; }
  .benefice-stat {
    background: var(--off-white);
    padding: 12px 20px;
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    border-radius: 2px;
  }
  .benefice-stat-num {
    font-family: 'DM Serif Display', serif;
    font-size: 26px;
    color: var(--blue);
  }
  .benefice-stat-label {
    font-size: 13px;
    color: #8B92A9;
  }
  .benefices-footer {
    background: var(--blue-dark);
    border: none;
    padding: 20px 32px;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
  }
  .benefices-footer .nexst-inline { color: var(--teal); }
  .benefices-footer-icon { font-size: 20px; flex-shrink: 0; }

  /* ── SOURCES ── */
  .benefices-sources {
    max-width: 900px;
    margin: 28px auto 0;
    border-top: 1px solid rgba(10,22,40,0.1);
    padding-top: 20px;
    text-align: left;
  }
  .sources-title {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8B92A9;
    margin-bottom: 10px;
  }
  .sources-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .sources-list li {
    font-size: 11px;
    color: #8B92A9;
    line-height: 1.6;
    padding-left: 14px;
    position: relative;
  }
  .sources-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--teal);
    opacity: 0.5;
  }
  .sources-list em { font-style: italic; }

  @media (max-width: 768px) {
    .promesse-visuelle { padding: 80px 24px 60px; }
    .pv-pillars { flex-direction: column; align-items: center; }
    .pv-operator { padding: 8px 0; transform: rotate(90deg); }
    .pv-pillar { min-width: unset; width: 100%; max-width: 320px; }
    .approche { padding: 80px 24px; }
    .approche-steps { flex-direction: column; align-items: center; }
    .approche-connector { width: 2px; height: 24px; margin: 0; }
    .benefices { padding: 80px 24px; }
    .benefices-grid { grid-template-columns: 1fr; }
  }


  .offres-devis {
    margin-top: 48px;
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.5px;
    font-weight: 300;
  }

  /* ── TÉMOIGNAGES ── */
  .temoignages {
    background: var(--white);
    padding: 80px 48px;
    text-align: center;
    color: var(--blue-dark);
  }
  .temoignages .section-label { color: var(--blue); }
  .temoignages-track-wrapper {
    overflow: hidden;
    max-width: 860px;
    margin: 48px auto 0;
    position: relative;
  }
  .temoignages-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .temoignage-card {
    min-width: 100%;
    padding: 48px 56px;
    background: var(--off-white);
    border-left: 3px solid var(--teal);
    text-align: left;
    box-sizing: border-box;
  }
  .temoignage-quote {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.6;
    color: var(--blue-dark);
    font-style: italic;
    margin-bottom: 32px;
  }
  .temoignage-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .temoignage-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .temoignage-role {
    font-size: 13px;
    color: var(--grey);
    font-weight: 400;
  }
  .temoignages-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
  }
  .temo-btn {
    background: none;
    border: 1px solid rgba(10,22,40,0.15);
    color: var(--blue-dark);
    width: 40px; height: 40px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .temo-btn:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }
  .temo-dots {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .temo-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(10,22,40,0.15);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border: none;
    padding: 0;
  }
  .temo-dot.active {
    background: var(--blue);
    transform: scale(1.3);
  }

  /* ── FAQ ── */
  .faq {
    background: var(--off-white);
    color: var(--blue-dark);
    padding: 120px max(48px, calc((100% - 1320px) / 2));
  }
  .faq-inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 80px;
    align-items: start;
  }
  .faq .section-label { color: var(--blue); }
  .faq .section-title { color: var(--blue-dark); }
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .faq-item {
    border-top: 1px solid rgba(10,22,40,0.1);
    padding: 28px 0;
  }
  .faq-item:last-child { border-bottom: 1px solid rgba(10,22,40,0.1); }
  .faq-q {
    font-size: 16px;
    font-weight: 600;
    color: var(--blue-dark);
    margin-bottom: 10px;
    line-height: 1.4;
  }
  .faq-a {
    font-size: 15px;
    color: #3A4560;
    line-height: 1.7;
    font-weight: 300;
  }

  @media (max-width: 768px) {
    .temoignages { padding: 60px 24px; }
    .temoignage-card { padding: 32px 28px; }
    .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  }


  .hero-right {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0;
  }
  .ba-slider {
    position: relative;
    width: 100%;
    max-width: 580px;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: col-resize;
    user-select: none;
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  }
  .ba-slider img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
  }
  .ba-apres { z-index: 1; }
  .ba-avant {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0s;
  }
  .ba-divider {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 2px;
    background: #fff;
    z-index: 3;
    transform: translateX(-50%);
    pointer-events: none;
  }
  .ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    pointer-events: none;
  }
  .ba-handle svg { width: 20px; height: 20px; }
  .ba-label {
    position: absolute;
    top: 16px;
    z-index: 5;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 2px;
    pointer-events: none;
  }
  .ba-label-avant {
    left: 16px;
    background: rgba(10,22,40,0.85);
    color: rgba(255,255,255,0.8);
  }
  .ba-label-apres {
    right: 16px;
    background: var(--blue);
    color: #fff;
  }

  /* ── PROCESS VISUEL ── */
  .process-visuel {
    background: var(--blue-dark);
    padding: 100px max(48px, calc((100% - 1320px) / 2));
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .process-visuel::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(0,194,168,0.05) 0%, transparent 70%);
    pointer-events: none;
  }
  .process-visuel .section-label { color: var(--teal); }
  .process-visuel .section-title { color: var(--white); margin-bottom: 16px; }
  .process-visuel-intro {
    font-size: 16px;
    color: rgba(255,255,255,0.55);
    margin-bottom: 72px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .pv-steps {
    display: grid;
    grid-template-columns: 1fr 56px 1fr 56px 1fr;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto 64px;
    gap: 0;
  }
  .pv-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .pv-step-visual {
    width: 100%;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 24px;
  }
  .pv-step-visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
  }
  .pv-step-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--teal);
    color: var(--blue-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 10px;
    z-index: 2;
  }
  /* placeholder SVG inside visual */
  .pv-placeholder {
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255,255,255,0.2);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  .pv-placeholder svg { opacity: 0.25; }

  /* play overlay for step 3 */
  .pv-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10,22,40,0);
    z-index: 3;
    cursor: pointer;
    transition: background 0.2s;
  }
  .pv-play-overlay:hover { background: rgba(10,22,40,0.35) !important; }
  .pv-play-overlay:hover #pv-play-btn-03 { opacity: 1 !important; }
  .pv-play-overlay:hover { background: rgba(10,22,40,0.25); }
  .pv-play-btn {
    width: 56px; height: 56px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    transition: transform 0.2s, background 0.2s;
  }
  .pv-play-overlay:hover .pv-play-btn {
    transform: scale(1.08);
    background: var(--teal);
  }
  .pv-play-btn svg { margin-left: 3px; }

  .pv-step-num {
    font-family: 'DM Serif Display', serif;
    font-size: 13px;
    color: var(--teal);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
  }
  .pv-step-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.3;
  }
  .pv-step-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    font-weight: 300;
    max-width: 260px;
  }
  .pv-step-desc em { color: var(--teal); font-style: normal; }

  .pv-arrow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: calc((100% * 3/4 * 0.35) + 12px);
    color: rgba(255,255,255,0.2);
    padding-top: 80px;
  }

  .pv-baseline {
    max-width: 680px;
    margin: 0 auto 40px;
    padding: 28px 36px;
    border: 1px solid rgba(0,194,168,0.25);
    background: rgba(0,194,168,0.04);
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    font-style: italic;
    line-height: 1.7;
    font-weight: 300;
  }
  .pv-baseline strong { color: var(--white); font-style: normal; font-weight: 600; }

  @media (max-width: 900px) {
    .pv-steps {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    .pv-arrow { display: none; }
  }

  /* ── ÉTUDES DE CAS ── */
  .etudes {
    background: #060F1E;
    padding: 120px max(48px, calc((100% - 1320px) / 2));
  }
  .etudes-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 72px;
  }
  .etudes-header-left .section-title { color: var(--white); margin-bottom: 8px; }
  .etudes-header-left p {
    font-size: 15px;
    color: rgba(255,255,255,0.45);
    font-weight: 300;
    max-width: 420px;
  }
  .etudes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
  }
  @media (max-width: 1100px) {
    .etudes-grid { grid-template-columns: repeat(3, 1fr); }
  }
  @media (max-width: 700px) {
    .etudes-grid { grid-template-columns: 1fr 1fr; }
    .etudes { padding: 80px 24px; }
    .etudes-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  }

  .etude-card {
    position: relative;
    aspect-ratio: 9/14;
    overflow: hidden;
    background: #0A1628;
    cursor: pointer;
  }
  .etude-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    pointer-events: none;
  }
  /* Placeholder visible tant que la vidéo n'a pas chargé */
  .etude-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #0F1E38 0%, #0A1628 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
    z-index: 1;
  }
  /* Une fois la vidéo chargée, le placeholder disparaît */
  .etude-card.loaded .etude-placeholder {
    opacity: 0;
    pointer-events: none;
  }
  .etude-placeholder-icon {
    width: 56px;
    height: 56px;
    border: 1.5px solid rgba(0,194,168,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.3s, border-color 0.3s;
  }
  .etude-card:hover .etude-placeholder-icon {
    opacity: 0.9;
    border-color: var(--teal);
  }
  .etude-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.92) 0%, rgba(10,22,40,0.3) 50%, transparent 100%);
    transition: opacity 0.4s ease;
    pointer-events: none;
  }
  .etude-card:hover .etude-overlay {
    opacity: 0.6;
  }
  .etude-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px 20px 22px;
    z-index: 2;
    transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94);
  }
  .etude-tag {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 6px;
    opacity: 0.85;
  }
  .etude-title {
    font-family: 'DM Serif Display', serif;
    font-size: 20px;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 10px;
  }
  .etude-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    line-height: 1.55;
    font-weight: 300;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.35s ease;
  }
  .etude-card:hover .etude-desc {
    max-height: 80px;
    opacity: 1;
  }
  /* Bouton play flottant */
  .etude-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
    z-index: 3;
    pointer-events: none;
    backdrop-filter: blur(4px);
  }
  .etude-card:not(.playing):hover .etude-play-btn {
    background: rgba(0,194,168,0.75);
    border-color: rgba(0,194,168,0.9);
    transform: translate(-50%, -50%) scale(1.15);
  }
  .etude-card.playing .etude-play-btn {
    opacity: 0;
  }
  /* Badge "Survol pour lancer" */
  .etude-hint {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0,194,168,0.15);
    border: 1px solid rgba(0,194,168,0.25);
    color: rgba(0,194,168,0.8);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 10px;
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  .etude-card:hover .etude-hint {
    opacity: 1;
  }


/* ═══════════════════════════════════════════
   STYLES BLOG NEXST
   ═══════════════════════════════════════════ */
.blog-page {
  background: var(--blue-dark);
  min-height: 100vh;
  padding: 120px max(48px, calc((100% - 1320px) / 2)) 80px;
}
.blog-header { text-align: center; margin-bottom: 72px; }
.blog-header .section-label { color: var(--teal); margin-bottom: 16px; }
.blog-header .section-title { color: var(--white); }
.blog-header .blog-intro { font-size: 16px; color: rgba(255,255,255,0.55); font-weight: 300; margin-top: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
@media (max-width: 1100px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .blog-grid { grid-template-columns: 1fr; } }

.blog-card { background: #0F1E38; position: relative; overflow: hidden; transition: background 0.3s; display: flex; flex-direction: column; }
.blog-card:hover { background: var(--blue); }
.blog-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--transition); }
.blog-card:hover::before { transform: scaleX(1); }
.blog-card-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.blog-card-thumb-placeholder { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, #0A1628 0%, #1E3DC8 100%); display: flex; align-items: center; justify-content: center; }
.blog-card-body { padding: 32px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.blog-card-cat { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); background: rgba(0,194,168,0.1); padding: 4px 10px; }
.blog-card-date { font-size: 11px; color: rgba(255,255,255,0.35); }
.blog-card-title { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--white); line-height: 1.25; margin-bottom: 12px; text-decoration: none; display: block; }
.blog-card-title:hover { color: var(--teal); }
.blog-card-excerpt { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.65; font-weight: 300; flex: 1; margin-bottom: 24px; }
.blog-card-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--teal); text-decoration: none; }
.blog-card-link:hover { gap: 10px; }
.blog-card-link::after { content: '→'; }

.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 64px; }
.blog-pagination a, .blog-pagination span { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); text-decoration: none; }
.blog-pagination a:hover, .blog-pagination .current { background: var(--teal); color: var(--blue-dark); }

.single-post-page { background: var(--blue-dark); min-height: 100vh; }
.post-hero { background: var(--blue); padding: 140px max(48px, calc((100% - 900px) / 2)) 64px; position: relative; overflow: hidden; }
.post-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(0,194,168,0.1) 0%, transparent 60%); }
.post-hero-back { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 32px; }
.post-hero-back:hover { color: var(--teal); }
.post-hero-back::before { content: '←'; }
.post-hero-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.post-hero-cat { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); }
.post-hero-date { font-size: 12px; color: rgba(255,255,255,0.4); }
.post-hero-title { position: relative; font-family: 'DM Serif Display', serif; font-size: clamp(32px, 4vw, 56px); line-height: 1.1; color: var(--white); max-width: 820px; margin-bottom: 24px; }
.post-featured-img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.post-content-wrap { padding: 72px max(48px, calc((100% - 900px) / 2)) 80px; }
.post-content { max-width: 760px; }
.post-content h2, .post-content h3, .post-content h4 { font-family: 'DM Serif Display', serif; color: var(--white); margin: 48px 0 20px; line-height: 1.2; }
.post-content h2 { font-size: clamp(24px, 2.5vw, 36px); }
.post-content h3 { font-size: clamp(20px, 2vw, 28px); }
.post-content p { font-size: 17px; line-height: 1.8; color: rgba(255,255,255,0.72); font-weight: 300; margin-bottom: 24px; }
.post-content strong { color: var(--white); font-weight: 600; }
.post-content em { font-style: italic; color: var(--teal); }
.post-content a { color: var(--teal); text-decoration: underline; }
.post-content ul, .post-content ol { margin: 0 0 24px 20px; color: rgba(255,255,255,0.72); font-size: 17px; line-height: 1.8; }
.post-content li { margin-bottom: 8px; }
.post-content blockquote { border-left: 3px solid var(--teal); padding: 16px 24px; margin: 32px 0; background: rgba(0,194,168,0.04); font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--white); line-height: 1.5; font-style: italic; }
.post-content img { width: 100%; height: auto; display: block; margin: 40px 0; }
.post-sidebar { position: sticky; top: 100px; padding-left: 48px; }
.post-sidebar-block { background: #0F1E38; padding: 28px 24px; margin-bottom: 24px; }
.post-sidebar-block h4 { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); margin-bottom: 20px; }
.related-post-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid rgba(255,255,255,0.06); text-decoration: none; }
.related-post-thumb { width: 56px; height: 56px; object-fit: cover; flex-shrink: 0; }
.related-post-title { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.4; }
.related-post-item:hover .related-post-title { color: var(--teal); }
.related-post-date { font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 4px; }
.post-cta { background: var(--blue); padding: 48px 36px; margin-top: 64px; }
.post-cta p { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.post-cta h3 { font-family: 'DM Serif Display', serif; font-size: 28px; color: var(--white); margin-bottom: 20px; }
.post-cta-link { display: inline-block; background: var(--white); color: var(--blue-dark); text-decoration: none; padding: 14px 32px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.post-cta-link:hover { background: var(--teal); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.08); }
.post-tag { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); padding: 6px 14px; text-decoration: none; }
.post-tag:hover { background: var(--teal); color: var(--blue-dark); }
@media (max-width: 900px) {
  .post-layout { flex-direction: column; }
  .post-sidebar { position: static; padding-left: 0; margin-top: 48px; }
  .blog-page { padding: 100px 24px 60px; }
  .post-hero { padding: 100px 24px 48px; }
  .post-content-wrap { padding: 48px 24px 60px; }
}


/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 32px;
}
.breadcrumb a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span:not(:last-child) { opacity: 0.3; }

/* ── NAV CATÉGORIES (page blog) ── */
.blog-cats-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.blog-cats-nav a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
  padding: 8px 16px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.blog-cats-nav a:hover {
  background: var(--teal);
  color: var(--blue-dark);
}

/* ── SIDEBAR CATÉGORIES ── */
.sidebar-cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.sidebar-cat-link:first-of-type { border-top: none; padding-top: 0; }
.sidebar-cat-link:hover { color: var(--teal); }
.sidebar-cat-count {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
}

/* ── MESSAGE VIDE ── */
.blog-empty {
  text-align: center;
  padding: 80px 0;
  font-size: 18px;
  color: rgba(255,255,255,0.35);
  font-weight: 300;
}

/* ── RESPONSIVE ARTICLE ── */
@media (max-width: 1024px) {
  .post-layout { flex-direction: column !important; }
  .post-sidebar {
    position: static !important;
    padding-left: 0 !important;
    width: 100% !important;
    margin-top: 48px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   BLOG — PAGE LISTE
═══════════════════════════════════════════════════════════════ */

.blog-listing-page {
  background: var(--blue-dark);
  min-height: 100vh;
}

/* ── Hero ── */
.blog-listing-hero {
  position: relative;
  padding: 140px max(48px, calc((100% - 1320px) / 2)) 80px;
  overflow: hidden;
}
.blog-listing-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 90% 50%, rgba(0,194,168,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(30,61,200,0.15) 0%, transparent 60%);
  pointer-events: none;
}
.blog-listing-hero__content { position: relative; max-width: 680px; }
.blog-listing-hero__title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(42px, 5vw, 72px);
  color: var(--white);
  line-height: 1.05;
  margin: 12px 0 24px;
}
.blog-listing-hero__title em {
  font-style: italic;
  color: var(--teal);
}
.blog-listing-hero__intro {
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  line-height: 1.7;
  max-width: 540px;
}
.blog-listing-hero__line {
  position: absolute;
  bottom: 0; left: max(48px, calc((100% - 1320px) / 2)); right: max(48px, calc((100% - 1320px) / 2));
  height: 1px;
  background: linear-gradient(90deg, rgba(0,194,168,0.4) 0%, transparent 60%);
}

/* ── Filtres catégories ── */
.blog-filter {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 max(48px, calc((100% - 1320px) / 2));
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.blog-filter::-webkit-scrollbar { display: none; }
.blog-filter__item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}
.blog-filter__item:hover { color: var(--white); }
.blog-filter__item.active { color: var(--teal); border-bottom-color: var(--teal); }
.blog-filter__count {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  padding: 2px 7px;
  border-radius: 99px;
}
.blog-filter__item.active .blog-filter__count {
  background: rgba(0,194,168,0.15);
  color: var(--teal);
}

/* ── Corps liste ── */
.blog-listing-body {
  padding: 64px max(48px, calc((100% - 1320px) / 2)) 80px;
}

/* ── Article vedette ── */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #0F1E38;
  margin-bottom: 2px;
  min-height: 420px;
}
.blog-featured--no-img { grid-template-columns: 1fr; }
.blog-featured__img-wrap {
  position: relative;
  overflow: hidden;
  display: block;
}
.blog-featured__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--transition);
}
.blog-featured:hover .blog-featured__img { transform: scale(1.03); }
.blog-featured__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,30,56,0.6) 0%, transparent 60%);
}
.blog-featured__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 52px;
}
.blog-featured__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.blog-featured__title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 2.5vw, 38px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 16px;
}
.blog-featured__title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.blog-featured__title a:hover { color: var(--teal); }
.blog-featured__excerpt {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 28px;
}
.blog-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  transition: gap 0.2s;
}
.blog-featured__cta:hover { gap: 12px; }

/* ── Séparateur ── */
.blog-listing-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 48px 0 32px;
}
.blog-listing-divider::before,
.blog-listing-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.07);
}
.blog-listing-divider span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
}

/* ── Tags & meta partagés ── */
.blog-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,194,168,0.12);
  padding: 5px 12px;
  text-decoration: none;
  transition: background 0.2s;
}
.blog-tag:hover { background: rgba(0,194,168,0.25); }
.blog-meta-date { font-size: 12px; color: rgba(255,255,255,0.35); }
.blog-meta-read { font-size: 12px; color: rgba(255,255,255,0.25); }

/* ── Grille cards ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .blog-grid { grid-template-columns: 1fr; } }

/* ── Card article ── */
.blog-card {
  background: #0F1E38;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 0.3s;
  position: relative;
}
.blog-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--transition);
}
.blog-card:hover { background: #162540; }
.blog-card:hover::after { transform: scaleX(1); }

.blog-card-thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.blog-card-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--transition);
}
.blog-card:hover .blog-card-thumb { transform: scale(1.04); }
.blog-card-thumb-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #0A1628 0%, #162540 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-body {
  padding: 28px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.blog-card-title {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 12px;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}
.blog-card-title:hover { color: var(--teal); }
.blog-card-excerpt {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  font-weight: 300;
  flex: 1;
  margin-bottom: 20px;
}
.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}
.blog-card:hover .blog-card-link { color: var(--teal); gap: 10px; }
.blog-card-link::after { content: '→'; }

/* ── Pagination ── */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 64px;
}
.blog-pagination a,
.blog-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.blog-pagination a:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.blog-pagination .current { background: var(--teal); color: var(--blue-dark); }
.blog-pagination .dots { background: transparent; }

.blog-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 0;
  font-size: 16px;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}

/* ─────────────────────────────────────────
   RESPONSIVE LISTE
───────────────────────────────────────── */
@media (max-width: 900px) {
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured__img-wrap { aspect-ratio: 16/9; }
  .blog-featured__body { padding: 32px 28px; }
  .blog-listing-body { padding: 48px 24px 60px; }
  .blog-listing-hero { padding: 100px 24px 60px; }
  .blog-filter { padding: 0 24px; }
}


/* ═══════════════════════════════════════════════════════════════
   ARTICLE — PAGE SINGLE
═══════════════════════════════════════════════════════════════ */

.single-page { background: var(--blue-dark); min-height: 100vh; }

/* ── Hero article ── */
.single-hero {
  position: relative;
  padding: 130px max(48px, calc((100% - 900px) / 2)) 64px;
  overflow: hidden;
}
.single-hero__img-wrap {
  position: absolute;
  inset: 0;
}
.single-hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.single-hero__img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(10,22,40,0.75) 0%,
    rgba(10,22,40,0.92) 60%,
    rgba(10,22,40,1) 100%);
}
.single-hero__content { position: relative; max-width: 820px; }
.single-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.single-hero__sep { color: rgba(255,255,255,0.2); font-size: 12px; }
.single-hero__title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(32px, 4.5vw, 60px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
}
.single-hero__intro {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  line-height: 1.7;
  max-width: 640px;
}

/* ── Corps ── */
.single-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2px;
  padding: 0 max(48px, calc((100% - 1320px) / 2)) 80px;
  align-items: flex-start;
}

/* ── Contenu article ── */
.single-content {
  position: relative;
  padding: 56px 48px 0 0;
}

/* Barre de progression */
.reading-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.07);
  z-index: 200;
}
.reading-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--teal);
  transition: width 0.1s linear;
}

/* Contenu rédactionnel */
.post-content { }
.post-content h2, .post-content h3, .post-content h4 {
  font-family: 'DM Serif Display', serif;
  color: var(--white);
  margin: 52px 0 18px;
  line-height: 1.2;
}
.post-content h2 { font-size: clamp(24px, 2.5vw, 34px); }
.post-content h3 { font-size: clamp(20px, 2vw, 26px); }
.post-content h4 { font-size: 19px; }
.post-content p {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255,255,255,0.68);
  font-weight: 300;
  margin-bottom: 24px;
}
.post-content strong { color: var(--white); font-weight: 600; }
.post-content em { color: var(--teal); }
.post-content a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.post-content ul, .post-content ol {
  margin: 0 0 28px 0;
  padding-left: 0;
  list-style: none;
}
.post-content ul li, .post-content ol li {
  font-size: 17px;
  color: rgba(255,255,255,0.68);
  line-height: 1.7;
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.post-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--teal);
}
.post-content ol { counter-reset: ol; }
.post-content ol li::before {
  content: counter(ol);
  counter-increment: ol;
  position: absolute;
  left: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
}
.post-content blockquote {
  margin: 40px 0;
  padding: 24px 32px;
  border-left: 3px solid var(--teal);
  background: rgba(0,194,168,0.04);
}
.post-content blockquote p {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--white);
  margin: 0;
  line-height: 1.5;
}
.post-content img {
  width: 100%; height: auto;
  display: block;
  margin: 40px 0;
}
.post-content hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 52px 0;
}
.post-content figure { margin: 40px 0; }
.post-content figcaption {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* ── Tags ── */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 48px 0 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.post-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.05);
  padding: 7px 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.post-tag:hover { background: var(--teal); color: var(--blue-dark); }

/* ── Partage ── */
.single-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
}
.single-share__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-right: 4px;
}
.single-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.single-share__btn:hover { background: var(--teal); color: var(--blue-dark); }

/* ── Navigation prev/next ── */
.single-postnav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 48px;
}
.single-postnav__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 20px;
  background: #0F1E38;
  text-decoration: none;
  transition: background 0.3s;
}
.single-postnav__item:hover { background: var(--blue); }
.single-postnav__item--next { justify-content: flex-end; text-align: right; }
.single-postnav__thumb {
  width: 64px; height: 64px;
  object-fit: cover;
  flex-shrink: 0;
}
.single-postnav__dir {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 6px;
}
.single-postnav__title {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
}
.single-postnav__item:hover .single-postnav__title { color: var(--white); }

/* ── CTA article ── */
.single-cta {
  margin-top: 56px;
  padding: 40px 44px;
  background: var(--blue);
  position: relative;
  overflow: hidden;
}
.single-cta::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border: 1px solid rgba(0,194,168,0.15);
  border-radius: 50%;
}
.single-cta__badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.single-cta__title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 2.5vw, 32px);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}
.single-cta__text {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
  margin-bottom: 24px;
}
.single-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--blue-dark);
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, gap 0.2s;
}
.single-cta__btn:hover { background: var(--teal); gap: 12px; }

/* ── Sidebar ── */
.single-sidebar {
  padding: 56px 0 0 32px;
  position: sticky;
  top: 90px;
}
.sidebar-block {
  background: #0F1E38;
  padding: 24px 22px;
  margin-bottom: 2px;
}
.sidebar-block__title {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}
.sidebar-block--about { background: linear-gradient(135deg, #0F1E38 0%, #162540 100%); }
.sidebar-about__logo {
  width: 40px; height: 40px;
  background: var(--teal);
  color: var(--blue-dark);
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.sidebar-about__text {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin-bottom: 16px;
}
.sidebar-about__link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
}

.sidebar-recent { display: flex; flex-direction: column; }
.sidebar-recent__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
}
.sidebar-recent__item:first-child { border-top: none; padding-top: 0; }
.sidebar-recent__thumb {
  width: 56px; height: 56px;
  object-fit: cover;
  flex-shrink: 0;
}
.sidebar-recent__thumb--empty { background: #162540; width: 56px; height: 56px; flex-shrink: 0; }
.sidebar-recent__body { display: flex; flex-direction: column; gap: 3px; }
.sidebar-recent__cat {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
}
.sidebar-recent__title {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
  transition: color 0.2s;
}
.sidebar-recent__item:hover .sidebar-recent__title { color: var(--teal); }
.sidebar-recent__date { font-size: 10px; color: rgba(255,255,255,0.25); }

.sidebar-cats { display: flex; flex-direction: column; }
.sidebar-cat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
}
.sidebar-cat:first-child { border-top: none; padding-top: 0; }
.sidebar-cat__name { font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.sidebar-cat:hover .sidebar-cat__name { color: var(--teal); }
.sidebar-cat__count {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  padding: 2px 8px;
}

/* ── Articles liés ── */
.single-related {
  padding: 0 max(48px, calc((100% - 1320px) / 2)) 80px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 64px;
}
.single-related__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.single-related__title {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: var(--white);
}
.single-related__all {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  text-decoration: none;
  transition: opacity 0.2s;
}
.single-related__all:hover { opacity: 0.7; }

/* ── Fil d'Ariane ── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 24px;
  position: relative;
}
.breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb svg { opacity: 0.3; }

/* ─────────────────────────────────────────
   RESPONSIVE SINGLE
───────────────────────────────────────── */
@media (max-width: 1024px) {
  .single-body {
    grid-template-columns: 1fr;
    padding: 0 24px 60px;
  }
  .single-sidebar {
    position: static;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }
  .single-content { padding: 40px 0 0; }
  .single-hero { padding: 100px 24px 48px; }
  .single-related { padding: 48px 24px 60px; }
  .single-postnav { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .single-sidebar { grid-template-columns: 1fr; }
  .blog-featured__body { padding: 24px 20px; }
}


/* ═══════════════════════════════════════════════════════
   CORRECTIONS FINALES v1.4
   - Chevauchement nav/contenu au scroll
   - Liens ancres
   - Alignement titre
   - Mobile
═══════════════════════════════════════════════════════ */

/* ── NAV : z-index assuré ── */
#nav { z-index: 1000 !important; }

/* ── La nav a ~72px de hauteur.
   Tout ce qui suit doit commencer SOUS la nav.
   On applique un padding-top suffisant à chaque section de premier niveau ── */

/* Page blog — hero */
.blog-listing-hero {
  padding-top: 148px !important;
}

/* Page blog — filtres : sticky SOUS la nav */
.blog-filter {
  position: sticky !important;
  top: 72px !important;
  z-index: 50 !important;
  background: var(--blue-dark) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Page article — hero avec image de fond */
.single-hero {
  padding-top: 148px !important;
  padding-left: max(48px, calc((100% - 1320px) / 2)) !important;
  padding-right: max(48px, calc((100% - 1320px) / 2)) !important;
  position: relative;
  z-index: 1;
}

/* Page article — hero sans image */
.single-hero:not(.single-hero--has-img) {
  background: linear-gradient(170deg, #0F2040 0%, var(--blue-dark) 60%);
}

/* ── Contenu article : z-index neutre, jamais au-dessus de la nav ── */
.single-page,
.single-body,
.single-content,
.single-content__inner,
.single-sidebar,
.single-related,
.single-cta,
.post-content {
  position: relative;
  z-index: 1;
}

/* ── Image à la une : pas de z-index parasite ── */
.single-hero__img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.single-hero__img-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.single-hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
}

/* ── Barre de progression : fixe mais z-index < nav ── */
.reading-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 999;
  background: rgba(255,255,255,0.05);
}
.reading-progress__bar {
  height: 100%;
  width: 0;
  background: var(--teal);
  transition: width 0.1s linear;
}

/* ── Nav prev/next : jamais fixed, jamais sticky ── */
.single-postnav,
.postnav-spaced {
  position: static !important;
  margin-top: 90px !important;
}

/* ── Alignement titre article = même que le corps ── */
.single-hero__title,
.single-hero__intro,
.single-hero__meta {
  text-align: left !important;
}

/* ── Fil d'Ariane ── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 24px;
  justify-content: flex-start;
  position: relative;
  z-index: 2;
}
.breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb svg { opacity: 0.3; flex-shrink: 0; }

/* ── Logo sidebar ── */
.sidebar-about__logo-wrap { margin-bottom: 16px; }
.sidebar-about__logo-img {
  height: 24px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

/* ── Lien Blog actif ── */
.nav-links li.current > a { color: var(--teal) !important; }

/* ── Catégories ── */
.sidebar-cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.sidebar-cat-link:first-of-type { border-top: none; }
.sidebar-cat-link:hover { color: var(--teal); }
.sidebar-cat__count { font-size: 11px; color: rgba(255,255,255,0.25); }

/* ── Message vide ── */
.blog-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 0;
  font-size: 16px;
  color: rgba(255,255,255,0.3);
}

/* ─────────────────────────────────────────
   RESPONSIVE — MOBILE (≤768px)
───────────────────────────────────────── */
@media (max-width: 768px) {

  /* Blog listing */
  .blog-listing-hero {
    padding: 110px 20px 48px !important;
  }
  .blog-filter {
    padding: 0 20px !important;
    top: 64px !important;
  }
  .blog-listing-body {
    padding: 32px 20px 48px !important;
  }
  .blog-featured {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .blog-featured__body {
    padding: 24px 20px !important;
  }
  .blog-grid {
    grid-template-columns: 1fr !important;
  }

  /* Article single */
  .single-hero {
    padding: 110px 20px 40px !important;
  }
  .single-hero__title {
    font-size: clamp(26px, 7vw, 38px) !important;
  }
  .single-body {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 20px 48px !important;
    gap: 0 !important;
  }
  .single-content {
    padding: 32px 0 0 !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .single-sidebar {
    position: static !important;
    padding: 0 !important;
    width: 100% !important;
    margin-top: 40px;
  }
  .single-postnav {
    grid-template-columns: 1fr !important;
    margin-top: 40px !important;
  }
  .single-related {
    padding: 40px 20px 48px !important;
  }
  .reading-progress {
    display: none !important;
  }
  .single-cta {
    padding: 28px 24px !important;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .single-body {
    grid-template-columns: 1fr !important;
  }
  .single-sidebar {
    position: static !important;
    padding-left: 0 !important;
    width: 100% !important;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-top: 40px;
  }
}

/* ── Pagination liste ── */
.blog-pagination ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 64px;
  list-style: none;
  padding: 0;
}
.blog-pagination ul li a,
.blog-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.blog-pagination ul li a:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.blog-pagination ul li span.current { background: var(--teal); color: var(--blue-dark); }
.blog-pagination ul li span.dots { background: transparent; }
