body {
  overflow-x: clip;
}

.crn-abt {
  color: #f0f0f0;
  background: #0d0d0d;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  overflow-x: clip;
}
.entry-content > .crn-abt,
.site-content .crn-abt {
  margin-bottom: 0 !important;
}

.site-content,
.site-main,
.content-area,
.entry-content,
.page-content,
.wp-block-post-content,
.singular .entry-content,
.hentry,
.type-page {
  border-bottom: none !important;
  box-shadow: none !important;
}
.site-content::after,
.site-main::after,
.entry-content::after,
.content-area::after,
.hentry::after,
.type-page::after {
  display: none !important;
  content: none !important;
  border: none !important;
}
#colophon,
.site-footer,
.site-footer-wrap {
  border-top: none !important;
  box-shadow: none !important;
}
.kadence-inner-column-inner,
.wp-site-blocks > footer {
  border-top: none !important;
}

.crn-abt-hero {
  height: 100vh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 80px 64px 25vh;
  position: relative;
  overflow: hidden;
}

.crn-abt-hero-inner {
  max-width: 1100px;
  will-change: transform, opacity;
  position: relative;
  z-index: 2;
}

.crn-abt-headline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.crn-abt-hl-line {
  display: block;
  font-size: clamp(2.6rem, 5.8vw, 5rem);
  font-weight: 100;          /* même graisse que le hero de l'accueil */
  letter-spacing: -0.02em;   /* moins resserré : à graisse fine, -0.03em colle les lettres */
  line-height: 1.15;
  color: #f0f0f0;
  opacity: 0;
}

.crn-abt-hl-line.crn-abt-split-done {
  opacity: 1;
}

.crn-abt-hl-sub {
  display: block;
  font-size: clamp(1rem, 2.1vw, 1.75rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: rgba(255,255,255,0.32);
  margin-top: 8px;
  opacity: 0;
}

.crn-abt-hl-sub.crn-abt-split-done {
  opacity: 1;
}

.crn-abt-word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: inherit;
}

.crn-abt-word {
  display: inline-block;
  animation: wordIn 0.85s cubic-bezier(.22,1,.36,1) both;
  animation-delay: calc(0.055s * var(--wi, 0) + var(--line-base, 0.15s));
}

.crn-abt-word--sub {
  display: inline-block;
  animation: wordIn 0.75s cubic-bezier(.22,1,.36,1) both;
  animation-delay: calc(0.045s * var(--wi, 0) + 0.85s);
}

@keyframes wordIn {
  from { transform: translateY(105%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

@keyframes abtFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.crn-abt-ticker {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 12px 0;
  animation: abtFadeIn 1s ease 1.4s both;
  z-index: 1;
}

.crn-abt-ticker-inner {
  display: flex;
  gap: 20px;
  white-space: nowrap;
  width: max-content;
  animation: tickerMove 28s linear infinite;
}

.crn-abt-ticker-inner span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.16);
}

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

.crn-abt-scroll-hint {
  position: fixed;
  bottom: 44px;
  left: 64px;
  background: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 10px;
  cursor: pointer;
  z-index: 999;
  color: rgba(255,255,255,0.75) !important;  /* même opacité que les autres chevrons */
  animation: abtFadeIn 1s ease 1.5s both, chevronBounce 2.2s ease-in-out 2.2s infinite;
}
.crn-abt-scroll-hint:hover,
.crn-abt-scroll-hint:focus,
.crn-abt-scroll-hint:active {
  background: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: rgba(255,255,255,0.75) !important;  /* même opacité que les autres chevrons */
}
/* Chevron : même dessin que le reste du site (trait fin, extrémités arrondies).
   Le SVG d'origine garde la place et le clic, mais devient invisible ;
   le dessin est tracé par ::after avec un masque, couleur = currentColor. */
.crn-abt-chevron-svg {
  display: block;
  width: 44px;
  height: 26px;
  opacity: 0;
}
.crn-abt-scroll-hint::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;               /* même taille que les autres chevrons */
  height: 26px;
  transform: translate(-50%, -50%);
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 45'%3E%3Cpolyline points='6,10 40,36 74,10' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 45'%3E%3Cpolyline points='6,10 40,36 74,10' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}

.crn-abt-scroll-hint.crn-abt-scroll-hint--hidden {
  opacity: 0 !important;
  pointer-events: none;
  transition: opacity 0.5s ease !important;
  animation: none !important;
}

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

.crn-abt-hero-portrait {
  position: absolute;
  right: -10%;      /* décale le portrait de 10 % vers la droite (rogné par le hero) */
  top: 0;
  bottom: 0;
  width: auto;      /* la largeur suit le ratio de l'image (hauteur du hero) */
  max-width: 75%;   /* limite pour ne pas recouvrir tout le texte */
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

.crn-abt-hero-portrait.loaded {
  animation: portraitSlideIn 1.4s cubic-bezier(.22,1,.36,1) 1.5s both;
}

.crn-abt-hero-portrait-img {
  width: auto;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
}

/* Surcharge la règle globale Elementor/Kadence (img { height:auto }) qui écrasait height:100% */
.crn-abt .crn-abt-hero-portrait .crn-abt-hero-portrait-img {
  height: 100%;
  width: auto;
  max-width: none;
}

.crn-abt-hero-portrait-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, #0d0d0d 0%, transparent 30%),
    linear-gradient(to bottom, #0d0d0d 0%, transparent 14%);
}

@keyframes portraitSlideIn {
  from { transform: translateX(40px); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

@media (max-width: 768px) {
  .crn-abt-hero-portrait {
    width: 55%;
    opacity: 0;
  }
  .crn-abt-hero-portrait.loaded {
    opacity: 0.35;
  }
}

.crn-abt-visual-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.crn-abt-visual-bg {
  position: absolute;
  inset: -10% 0;
  background: linear-gradient(
    160deg,
    #0d1117 0%,
    #111827 30%,
    #0f1923 55%,
    #0a0d12 100%
  );
  will-change: transform;
}

.crn-abt-visual-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    #0d0d0d 0%,
    transparent 22%,
    transparent 60%,
    #0d0d0d 100%
  );
  z-index: 1;
  pointer-events: none;
}

.crn-abt-skills-band {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  height: 56px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: #0d0d0d;
  opacity: 0;
  pointer-events: none;
  transition: height 1.8s cubic-bezier(.22,1,.36,1),
              opacity 0.7s ease,
              background 1.4s ease;
}

.crn-abt-skills-band.crn-abt-band--visible {
  opacity: 1;
}

.crn-abt-skills-band.crn-abt-band--expanded {
  height: 40vh;
  background: rgba(13,13,13,0.92);
}

.crn-abt-skills-band.crn-abt-band--gone {
  opacity: 0;
  pointer-events: none;
}

.crn-abt-skills-inner {
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.crn-abt-skills-ticker {
  display: flex;
  gap: 20px;
  white-space: nowrap;
  width: max-content;
  animation: tickerMove 32s linear infinite;
}

.crn-abt-skills-ticker span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  transition: font-size 1.6s cubic-bezier(.22,1,.36,1) 0.1s,
              color       1.6s ease 0.1s,
              letter-spacing 1.6s ease 0.1s;
}

.crn-abt-skills-band.crn-abt-band--expanded .crn-abt-skills-ticker span {
  font-size: clamp(1.6rem, 5vw, 4rem);
  color: rgba(255,255,255,0.07);
  letter-spacing: 0.05em;
}

.crn-abt-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 64px;
  box-sizing: border-box;
}

.crn-abt-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0 80px;
  align-items: start;
  max-width: 1100px;
  width: 100%;
}

.crn-abt-row--full {
  max-width: none;
}

.crn-abt-label {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  padding-top: 6px;
  position: sticky;
  top: 40vh;
  align-self: start;
}

.crn-abt-section--exp {
  align-items: flex-start;
  min-height: auto;
  padding-top: 120px;
  padding-bottom: 120px;
}

.crn-abt-exp-blocks {
  width: 100%;
}

.crn-abt-exp-block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.crn-abt-exp-block:first-child {
  border-top: 1px solid rgba(255,255,255,0.06);
}

.crn-abt-exp-num {
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(255,255,255,0.06);
  flex-shrink: 0;
  width: 110px;
  transition: color 0.8s ease;
}

.crn-abt-exp-block.visible .crn-abt-exp-num {
  color: rgba(255,255,255,0.14);
}

.crn-abt-exp-body {
  flex: 1;
  padding-top: 6px;
}

.crn-abt-exp-title {
  font-size: clamp(1.2rem, 1.9vw, 1.65rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: #f0f0f0;
}

.crn-abt-exp-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.36);
  margin: 0;
}

.crn-abt-row--parcours {
  grid-template-columns: 200px 1fr 300px;
  align-items: center;
  max-width: 1200px;
}

.crn-abt-content {
  align-self: center;
}

.crn-abt-portrait {
  align-self: center;
}

.crn-abt-portrait-ph {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.crn-abt-portrait-img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(255,255,255,0.06);
}

.crn-abt-line-wrap {
  overflow: hidden;
  margin-bottom: 32px;
}
.crn-abt-line-wrap:last-child { margin-bottom: 0; }

.crn-abt-line-wrap span {
  display: block;
  font-size: clamp(1.05rem, 1.75vw, 1.3rem);
  line-height: 1.8;
  color: rgba(255,255,255,0.58);
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--delay, 0s);
}

.crn-abt-line-wrap.visible span {
  transform: translateY(0);
}

.crn-abt-line-wrap.crn-abt-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.crn-abt-section--process {
  align-items: center;
}

.crn-abt-process {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.crn-abt-step-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 36px 0 32px;
}

.crn-abt-num {
  font-size: clamp(4rem, 7.5vw, 7rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  flex-shrink: 0;
  width: 1.6em;
  font-variant-numeric: tabular-nums;
  transition: color 1.4s ease 0.5s;
}

.crn-abt-step.visible .crn-abt-num {
  color: rgba(255,255,255,0.16);
}

.crn-abt-step-body { flex: 1; }

.crn-abt-step-body h4 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 300;
  color: #f0f0f0;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}

.crn-abt-step-body p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.36);
  margin: 0;
  line-height: 1.65;
}

.crn-abt-step-line {
  height: 1px;
  background: rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}

.crn-abt-step-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2s cubic-bezier(.22,1,.36,1) 0.4s;
}

.crn-abt-step.visible .crn-abt-step-line::after {
  transform: scaleX(1);
}

.crn-abt-cta {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 64px;
}

.crn-abt-cta-text {
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  margin: 0 0 56px;
  color: #f0f0f0;
  line-height: 1.1;
}

.crn-abt-cta-btn {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.28);
  color: #f0f0f0;
  padding: 18px 60px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}
.crn-abt-cta-btn:visited {
  color: #f0f0f0 !important;
}
.crn-abt-cta-btn:hover {
  background: #f0f0f0;
  color: #0d0d0d !important;
  border-color: #f0f0f0;
}

.crn-abt-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--delay, 0s);
}
.crn-abt-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .crn-abt-hero {
    padding: 60px 40px 25vh;
  }
  .crn-abt-section {
    padding: 80px 40px;
  }
  .crn-abt-row {
    grid-template-columns: 140px 1fr;
    gap: 0 48px;
  }
  .crn-abt-row--parcours {
    grid-template-columns: 140px 1fr 220px;
  }
  .crn-abt-scroll-hint {
    left: 40px;
  }
  .crn-abt-cta {
    padding: 0 40px;
  }
}

@media (max-width: 768px) {
  .crn-abt-hero {
    padding: 60px 24px 20vh;
  }
  .crn-abt-hero-inner {
    max-width: 100%;
  }
  .crn-abt-hl-line {
    font-size: clamp(1.9rem, 7.5vw, 2.6rem);
    letter-spacing: -0.02em;
  }
  .crn-abt-hl-sub {
    font-size: clamp(0.88rem, 3.5vw, 1.1rem);
  }
  .crn-abt-scroll-hint {
    left: 24px;
    bottom: 28px;
  }
  .crn-abt-section {
    padding: 64px 24px;
    min-height: auto;
  }
  .crn-abt-section--exp {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .crn-abt-row {
    grid-template-columns: 1fr;
    gap: 20px 0;
  }
  .crn-abt-label {
    position: relative;
    top: auto;
  }
  .crn-abt-row--full {
    grid-template-columns: 1fr;
  }
  .crn-abt-row--parcours {
    grid-template-columns: 1fr;
    gap: 24px 0;
  }
  .crn-abt-portrait {
    max-width: 180px;
  }
  .crn-abt-exp-block {
    gap: 20px;
    padding: 28px 0;
  }
  .crn-abt-exp-num {
    width: 60px;
    font-size: 2.2rem;
  }
  .crn-abt-step-inner {
    gap: 20px;
    padding: 24px 0 20px;
  }
  .crn-abt-num {
    font-size: clamp(2.8rem, 10vw, 4rem);
  }
  .crn-abt-cta {
    padding: 60px 24px;
    min-height: 80vh;
  }
  .crn-abt-skills-band.crn-abt-band--expanded {
    height: 28vh;
  }
  .crn-abt-line-wrap span {
    font-size: clamp(0.95rem, 3.8vw, 1.15rem);
  }
}

/* ============================================================
   Diaporama de visuels (section 2, au-dessus du bandeau défilant)
   ============================================================ */
.crn-abt-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;           /* plein écran ; le bandeau déployé passe par-dessus, en transparence */
  padding: 0 64px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}
.crn-abt-slider-frame {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  background: #0a0a0a;
}
.crn-abt-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.crn-abt-slide.is-active { opacity: 1; }
.crn-abt .crn-abt-slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  transform: scale(1.08);
  transition: transform 6s cubic-bezier(.2,.7,.2,1);
}
.crn-abt .crn-abt-slide.is-active img { transform: scale(1); }
.crn-abt-slider-meta {
  width: 100%;
  max-width: 1280px;
  margin: 20px auto 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: rgba(255,255,255,0.5);
}
.crn-abt-slider-count {
  font-size: 2.4rem;
  font-weight: 100;
  line-height: 1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}
.crn-abt-slider-total { font-size: 0.85rem; }
.crn-abt-slider-cap {
  margin-left: 16px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.crn-abt-slider-bar {
  flex: 1 1 auto;
  height: 1px;
  margin-left: 24px;
  background: rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
  align-self: center;
}
.crn-abt-slider-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: rgba(255,255,255,0.7);
}
.crn-abt-slider-bar span.is-running {
  width: 100%;
  transition: width 4.5s linear;
}

@media (max-width: 768px) {
  /* Portrait du hero : pleine largeur et centré (la règle max-width: 75 % le coupait à droite) */
  .crn-abt .crn-abt-hero-portrait {
    left: 0 !important;
    right: 0 !important;
    max-width: 100% !important;
  }
  .crn-abt .crn-abt-hero-portrait .crn-abt-hero-portrait-img {
    width: 100% !important;
    object-position: center top !important;
  }
  .crn-abt .crn-abt-hero-portrait .crn-abt-hero-portrait-fade {
    height: 100% !important;
    background:
      linear-gradient(to bottom, rgba(13,13,13,0) 55%, #0d0d0d 100%),
      linear-gradient(to bottom, #0d0d0d 0%, rgba(13,13,13,0) 14%) !important;
  }
  /* Diaporama : le bandeau déployé occupe 28vh en mobile */
  .crn-abt-slider {
    height: 100vh;
    padding: 0 24px;
  }
  .crn-abt-slider-meta { flex-wrap: wrap; gap: 6px 10px; margin-top: 14px; }
  .crn-abt-slider-count { font-size: 1.9rem; white-space: nowrap; }
  .crn-abt-slider-total { white-space: nowrap; }
  .crn-abt-slider-cap { flex: 1 1 100%; margin-left: 0; letter-spacing: 0.14em; }
  .crn-abt-slider-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .crn-abt-slide, .crn-abt .crn-abt-slide img { transition: none; transform: none; }
}

/* Bandeau déployé au-dessus du diaporama : laisse transparaître l'image */
.crn-abt-skills-band.crn-abt-band--expanded {
  background: linear-gradient(to bottom, rgba(13,13,13,0.35) 0%, rgba(13,13,13,0.7) 100%);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.crn-abt-skills-band.crn-abt-band--expanded .crn-abt-skills-ticker span {
  color: rgba(255,255,255,0.18);
}
