/* ═══════════════════════════════════════════════════════
   deferred.css — CSS différé (below-the-fold)
   Contient : portfolio, marquee, glass-card, bento,
   FAQ, CTA, contact, testimonials, timeline, processus,
   footer, features, pricing, stack, metrics/ecosystem
   Chargé de façon asynchrone après le rendu initial.
   Mis à jour le 2026-03-26
   ═══════════════════════════════════════════════════════ */

/* ── Gradient mesh (désactivé) ── */
.gradient-mesh {
  display: none;
}

/* ── Glassmorphism ── */
.glass {
  background: rgba(20, 20, 30, 0.2);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.glass-card {
  background: linear-gradient(
    135deg,
    rgba(30, 30, 40, 0.2) 0%,
    rgba(20, 20, 30, 0.1) 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s,
    border-color 0.4s;
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    800px circle at var(--mouse-x, -500px) var(--mouse-y, -500px),
    rgba(var(--accent-rgb, 255, 62, 0), 0.15),
    transparent 40%
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
}
.glass-card:hover::before {
  opacity: 1;
}
.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--accent-rgb, 255, 62, 0), 0.4);
  box-shadow:
    0 20px 40px -15px rgba(var(--accent-rgb, 255, 62, 0), 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: linear-gradient(
    135deg,
    rgba(40, 40, 55, 0.25) 0%,
    rgba(25, 25, 35, 0.15) 100%
  );
}

/* ── Section dynamic icons ── */
.section-icon {
  color: var(--section-color, var(--accent, #ff3e00));
  display: block;
  transition: color 1.2s ease;
}
.section-icon-text {
  color: var(--section-color, var(--accent, #ff3e00));
  transition: color 1.2s ease;
}

/* ── Parallax images ── */
.parallax-img {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ── Bento Grid (mobile-first) ── */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 641px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1025px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── Marquee infini ── */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
}
.marquee-track {
  display: inline-flex;
  animation: marquee-scroll 30s linear infinite;
}
.marquee-track .marquee-item {
  display: inline-flex;
  align-items: center;
  padding: 0 2rem;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
}
.marquee-track .marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--section-color, var(--accent, #ff3e00));
  margin: 0 2rem;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ── Portfolio Carousel ── */
.portfolio-carousel {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 4rem 0 0;
  overflow: hidden;
}
.portfolio-carousel-header {
  padding: 0 3vw;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 0.75rem;
  flex-shrink: 0;
}
.portfolio-carousel-viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.portfolio-carousel-track {
  display: flex;
  height: 100%;
}
.portfolio-carousel-slide {
  min-width: 100%;
  height: 100%;
  padding: 0 3vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-carousel-img-wrap {
  position: relative;
  width: 100%;
  height: 92%;
  border-radius: 0.75rem;
  overflow: hidden;
}
.portfolio-carousel-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.25, 0, 0, 1);
  transform: scale(1.12);
}
.portfolio-carousel-slide.active .portfolio-carousel-img-wrap img {
  transform: scale(1);
}
.portfolio-carousel-info {
  position: absolute;
  bottom: 0;
  left: 3vw;
  right: 3vw;
  padding: 1rem 1.25rem;
  border-radius: 0 0 0.75rem 0.75rem;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(30px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 0.75rem;
}
.portfolio-carousel-counter {
  position: absolute;
  top: 4.5rem;
  right: 3vw;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.portfolio-carousel-counter-num {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.portfolio-carousel-progress {
  display: flex;
  gap: 4px;
}
.portfolio-carousel-progress-seg {
  width: 1.5rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}
.portfolio-carousel-progress-seg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--section-color, var(--accent, #ff3e00));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}
.portfolio-carousel-progress-seg.active::after {
  transform: scaleX(1);
}
.portfolio-carousel-arrows {
  position: absolute;
  bottom: 0.75rem;
  right: 3vw;
  z-index: 10;
  display: flex;
  gap: 0.6rem;
}
.portfolio-carousel-arrow {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  color: #fff;
  font-size: 0.9rem;
}
.portfolio-carousel-arrow:hover {
  background: var(--section-color, var(--accent, #ff3e00));
  border-color: var(--section-color, var(--accent, #ff3e00));
  transform: scale(1.1);
}
.portfolio-carousel-tag {
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Portfolio carousel — desktop overrides */
@media (min-width: 768px) {
  .portfolio-carousel {
    padding-top: 5rem;
  }
  .portfolio-carousel-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    gap: 0;
    padding: 0 4vw;
  }
  .portfolio-carousel-slide {
    padding: 0 4vw;
  }
  .portfolio-carousel-img-wrap {
    height: 88%;
    border-radius: 1.25rem;
  }
  .portfolio-carousel-info {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    gap: 0;
    padding: 2rem 2.5rem;
    left: 4vw;
    right: 4vw;
    border-radius: 0 0 1.25rem 1.25rem;
  }
  .portfolio-carousel-counter {
    top: 5.5rem;
    right: 4vw;
    gap: 1.25rem;
  }
  .portfolio-carousel-counter-num {
    font-size: 0.9rem;
  }
  .portfolio-carousel-progress-seg {
    width: 2.5rem;
  }
  .portfolio-carousel-arrows {
    bottom: 1.5rem;
    right: 4vw;
  }
  .portfolio-carousel-arrow {
    width: 3rem;
    height: 3rem;
    font-size: 1.1rem;
  }
  .portfolio-carousel-tag {
    padding: 0.35rem 0.9rem;
    font-size: 0.7rem;
  }
}

/* ── Portfolio section (desktop 100vh) ── */
@media (min-width: 1024px) {
  #portfolio {
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
  }
}

/* ── Image reveal ── */
.img-reveal {
  position: relative;
  overflow: hidden;
}
.img-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--section-color, var(--accent, #ff3e00));
  transform-origin: left;
  z-index: 1;
}
.img-reveal.revealed::after {
  animation: img-reveal-wipe 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
@keyframes img-reveal-wipe {
  0% {
    transform: scaleX(1);
    transform-origin: left;
  }
  50% {
    transform: scaleX(1);
    transform-origin: right;
  }
  100% {
    transform: scaleX(0);
    transform-origin: right;
  }
}

/* ── Decode text ── */
.decode-text .char {
  display: inline-block;
  opacity: 0;
}

/* ── 3D Tilt Cards ── */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.1s ease;
}
.tilt-card .tilt-inner {
  transform: translateZ(20px);
}
.tilt-card .tilt-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--shine-x, 50%) var(--shine-y, 50%),
    rgba(255, 255, 255, 0.08) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s;
}
.tilt-card:hover .tilt-shine {
  opacity: 1;
}

/* ── Tags ── */
.ix-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Testimonials ── */
.ix-testi-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0;
}
.ix-testi-active {
  opacity: 1;
  pointer-events: auto;
}
.ix-testi-inactive {
  opacity: 0;
  pointer-events: none;
}
.ix-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}
@media (min-width: 768px) {
  .ix-avatar {
    width: 4rem;
    height: 4rem;
  }
}
.ix-testi-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.ix-testi-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .ix-testi-btn {
    width: 3.5rem;
    height: 3.5rem;
  }
}

/* ── Contact section ── */
.ix-contact {
  padding-top: clamp(6rem, 10vw, 8rem);
  padding-bottom: clamp(8rem, 12vw, 12rem);
  padding-inline: clamp(1rem, 4vw, 1.5rem);
  position: relative;
  color: #fff;
  z-index: 20;
  overflow: hidden;
  margin-bottom: -4rem;
}
.ix-contact-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background: radial-gradient(circle at 50% 120%, #8b5cf6 0%, transparent 60%);
}
.ix-contact-title {
  font-size: clamp(2.25rem, 8vw, 7rem);
  font-family: "Playfair Display", Georgia, serif;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
}
.ix-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  padding: clamp(1rem, 2vw, 1.5rem) clamp(2rem, 4vw, 4rem);
  border: 2px solid #8b5cf6;
  background: #8b5cf6;
  color: #fff;
  transition: all 0.3s;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}
.ix-contact-cta:hover {
  background: transparent;
}

/* ── Timeline (Processus) ── */
.ix-timeline-dot {
  position: absolute;
  left: 1rem;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #0a0a0a;
  border: 2px solid var(--section-color, var(--accent, #ff3e00));
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 640px) {
  .ix-timeline-dot {
    width: 2rem;
    height: 2rem;
  }
}
@media (min-width: 768px) {
  .ix-timeline-dot {
    left: 50%;
  }
}
.ix-timeline-line {
  position: absolute;
  left: 1rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .ix-timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* ── Grid utils (sections below fold) ── */
.ix-grid-12 {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
}
@media (min-width: 1024px) {
  .ix-grid-12 {
    grid-template-columns: repeat(12, 1fr);
  }
}
.ix-col-5 {
  grid-column: span 5;
}
.ix-col-7 {
  grid-column: span 7;
}
.ix-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (min-width: 640px) {
  .ix-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ix-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (min-width: 768px) {
  .ix-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Typo sections (below fold) ── */
.ix-h2-lg {
  font-size: clamp(1.875rem, 5vw, 4.5rem);
  font-family: "Playfair Display", Georgia, serif;
}
.ix-section-sm {
  padding: clamp(3rem, 5vw, 5rem) clamp(1rem, 4vw, 1.5rem);
  position: relative;
}
.ix-section-overflow {
  overflow: hidden;
}

/* ── Responsive utils (sections below fold) ── */
@media (min-width: 768px) {
  .ix-md-block {
    display: block;
  }
  .ix-md-hidden {
    display: none;
  }
  .ix-md-flex {
    display: flex;
  }
  .ix-md-flex-row {
    flex-direction: row;
  }
  .ix-md-w-5-12 {
    width: 41.666% !important;
  }
  .ix-md-text-right {
    text-align: right;
  }
  .ix-md-text-left {
    text-align: left;
  }
  .ix-md-pl-6 {
    padding-left: 1.5rem !important;
  }
  .ix-md-pr-6 {
    padding-right: 1.5rem !important;
  }
  .ix-md-pl-0 {
    padding-left: 0 !important;
  }
  .ix-md-items-end {
    align-items: flex-end;
  }
  .ix-md-justify-end {
    justify-content: flex-end;
  }
}
@media (min-width: 1024px) {
  .ix-lg-block {
    display: block;
  }
  .ix-lg-sticky {
    position: sticky;
    top: 8rem;
  }
  .ix-lg-flex {
    display: flex;
  }
  .ix-lg-flex-row {
    flex-direction: row;
  }
  .ix-lg-w-1-3 {
    width: 33.333%;
  }
  .ix-lg-w-2-3 {
    width: 66.666%;
  }
}

/* ── Misc below-fold ── */
.ix-rounded-2xl {
  border-radius: 1rem;
}
.ix-rounded-xl {
  border-radius: 0.75rem;
}

/* ── FAQ — Cinematic Accordion (home) ── */
#faq {
  position: relative;
  overflow: hidden;
  padding: 8rem 1.5rem;
}
.faq-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.faq-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 4rem;
  opacity: 0;
  translate: 0 40px;
}
.faq-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--section-color, var(--accent, #ff3e00));
  margin: 0 0 0.75rem;
}
.faq-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1rem;
}
.faq-title em {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.faq-subtitle {
  display: block;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.6;
  margin: 0;
  max-width: 440px;
}
.faq-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq-item {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  position: relative;
  opacity: 0;
  translate: 0 30px;
}
.faq-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--section-color, var(--accent, #ff3e00));
  border-radius: 2px;
  transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px rgba(var(--accent-rgb, 255, 62, 0), 0.4);
}
.faq-item.is-open::before {
  height: 100%;
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 0;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  position: relative;
}
.faq-trigger:focus-visible {
  outline: 2px solid var(--section-color, var(--accent, #ff3e00));
  outline-offset: 4px;
  border-radius: 4px;
}
.faq-num {
  display: none;
}
.faq-question {
  flex: 1;
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s;
}
.faq-trigger:hover .faq-question {
  color: rgba(255, 255, 255, 0.8);
}
.faq-item.is-open .faq-question {
  color: #fff;
}
.faq-icon-wrap {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition:
    border-color 0.4s,
    background 0.4s;
}
.faq-item.is-open .faq-icon-wrap {
  border-color: var(--section-color, var(--accent, #ff3e00));
  background: rgba(var(--accent-rgb, 255, 62, 0), 0.1);
}
.faq-icon-bar {
  position: absolute;
  top: 50%;
  left: 50%;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 1px;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s;
}
.faq-bar-h {
  width: 12px;
  height: 1.5px;
  translate: -50% -50%;
}
.faq-bar-v {
  width: 1.5px;
  height: 12px;
  translate: -50% -50%;
}
.faq-item.is-open .faq-bar-v {
  transform: rotate(90deg);
}
.faq-item.is-open .faq-icon-bar {
  background: var(--section-color, var(--accent, #ff3e00));
}
.faq-answer-wrap {
  height: 0;
  overflow: hidden;
}
.faq-answer {
  padding: 0 0 1.75rem 3.05rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  font-size: 0.92rem;
  max-width: 600px;
}
.faq-answer strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}
@media (min-width: 641px) {
  #faq {
    padding: 8rem 1.5rem;
  }
  .faq-header {
    flex-direction: row;
    gap: 2rem;
  }
  .faq-trigger {
    padding: 1.5rem 0;
    gap: 1.25rem;
  }
  .faq-answer {
    padding-left: 3.05rem;
  }
}

/* ── FAQ <details> (sous-pages) ── */
:where(details) {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.875rem;
  overflow: hidden;
}
:where(details[open]) {
  border-color: rgba(var(--accent-rgb, 255, 62, 0), 0.25);
}
:where(summary) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.25s;
}
:where(summary):hover {
  background: rgba(255, 255, 255, 0.03);
}
:where(summary) .faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.4);
  transition:
    transform 0.3s,
    border-color 0.3s,
    color 0.3s;
}
:where(details[open]) :where(summary) .faq-icon {
  transform: rotate(45deg);
  border-color: var(--section-color, var(--accent, #ff3e00));
  color: var(--section-color, var(--accent, #ff3e00));
}
.faq-body {
  overflow: hidden;
  padding: 0.25rem 1.5rem 1.4rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
  font-size: 0.9rem;
}

/* FAQ inline (index.php) */
#faq details > summary::-webkit-details-marker {
  display: none;
}
#faq details[open] summary ~ div {
  animation: faqFadeIn 0.4s ease-out forwards;
}
@keyframes faqFadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
#faq details[open] summary .faq-plus {
  transform: rotate(90deg);
}
#faq details:hover h3 {
  color: var(--section-color, var(--accent, #ff3e00));
  transition: color 0.3s;
}
#faq details:hover {
  border-color: var(--section-color, var(--accent, #ff3e00));
}

/* ── Related services (maillage) ── */
#related {
  padding: 1.5rem 1.5rem 0 !important;
}
#related .section-inner {
  padding: 0;
  text-align: center;
}

/* ── CTA section ── */
#cta {
  text-align: center;
  padding: 8rem 1.5rem;
}
.cta-title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
}
.cta-title em {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--section-color, var(--accent));
}
.cta-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-link-back {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2px;
  transition:
    color 0.25s,
    border-color 0.25s;
}
.cta-link-back:hover {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ── Pricing cards ── */
.pricing-card .btn-primary,
.pricing-card .btn-ghost {
  width: 100%;
  justify-content: center;
}

/* ── Bounce animation ── */
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-25%);
  }
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
#footer-rj6 {
  position: relative;
  z-index: 10;
  background: #050506;
  color: #fff;
  overflow: hidden;
  border-radius: 3rem 3rem 0 0;
  isolation: isolate;
}
#footer-noise-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}
#footer-rj6 > *:not(#footer-noise-canvas) {
  position: relative;
  z-index: 1;
}
.ftr-separator,
.ftr-divider-svg {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.ftr-separator svg,
.ftr-divider-svg svg {
  display: block;
  width: 100%;
  height: 1px;
}
.ftr-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 6rem);
}
.ftr-hero {
  padding: clamp(5rem, 10vh, 9rem) 0 clamp(4rem, 8vh, 7rem);
}
.ftr-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 clamp(2rem, 4vh, 3.5rem);
  opacity: 0;
  transform: translateY(12px);
}
.ftr-pulse-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: ftr-pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes ftr-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}
.ftr-headline-wrap {
  margin: 0 0 clamp(2.5rem, 5vh, 4rem);
  overflow: hidden;
}
.ftr-headline-row {
  display: block;
  overflow: hidden;
  line-height: 1;
}
.ftr-word {
  display: block;
  font-size: clamp(3.2rem, 11vw, 10.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: #fff;
  transform: translateY(110%);
  font-family: "Inter", sans-serif;
}
.ftr-word-serif {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.ftr-word-accent {
  color: var(--section-color, var(--accent));
}
.ftr-headline-dot {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--section-color, var(--accent));
  transform: scale(0);
  transform-origin: left center;
  display: inline-block;
  margin-left: 0.6em;
}
.ftr-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  opacity: 0;
  transform: translateY(20px);
}
.ftr-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.3s;
}
.ftr-tel-icon {
  display: flex;
  align-items: center;
  color: var(--section-color, var(--accent));
}
.ftr-tel:hover {
  color: #fff;
}
.ftr-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 0.7rem 1rem;
  margin-top: 1.75rem;
  opacity: 0;
  transform: translateY(20px);
}
.ftr-badge-score {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.ftr-badge-stars {
  color: #fbbf24;
  font-size: 0.8rem;
  line-height: 1;
}
.ftr-badge-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}
.ftr-grid-zone {
  padding: clamp(3rem, 5vh, 4.5rem) 0 clamp(3.5rem, 6vh, 5rem);
}
.ftr-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.ftr-col {
  opacity: 0;
  transform: translateY(24px);
}
.ftr-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  margin: 0 0 1.6rem;
}
.ftr-logo {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}
.ftr-logo-rj6 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}
.ftr-logo-sub {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--section-color, var(--accent));
}
.ftr-brand-desc {
  font-size: 0.82rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.32);
  margin: 0 0 1.75rem;
  max-width: 28ch;
}
.ftr-socials {
  display: flex;
  gap: 0.6rem;
}
.ftr-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition:
    color 0.3s,
    border-color 0.3s;
}
.ftr-social-link:hover {
  color: var(--section-color, var(--accent));
  border-color: var(--section-color, var(--accent));
}
.ftr-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ftr-nav-link {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.25s;
}
.ftr-nav-link::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--section-color, var(--accent));
  transition: width 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}
.ftr-nav-link:hover {
  color: #fff;
}
.ftr-nav-link:hover::after {
  width: 100%;
}
.ftr-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-style: normal;
}
.ftr-contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  transition: color 0.25s;
}
.ftr-contact-link:hover {
  color: #fff;
}
.ftr-contact-icon {
  color: var(--section-color, var(--accent));
  flex-shrink: 0;
  display: flex;
}
.ftr-contact-mono {
  font-family: "Inter", monospace;
}
.ftr-contact-addr {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.38);
}
.ftr-legal-bar {
  padding: 1.25rem 0;
}
.ftr-legal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.ftr-legal-copy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}
.ftr-legal-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ftr-legal-link {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color 0.25s;
}
.ftr-legal-link:hover {
  color: rgba(255, 255, 255, 0.6);
}
.ftr-legal-sep {
  color: rgba(255, 255, 255, 0.1);
}
.ftr-back-top {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    border-color 0.3s,
    color 0.3s;
}
.ftr-back-top:hover {
  border-color: var(--section-color, var(--accent));
  color: var(--section-color, var(--accent));
}
.ftr-wordmark {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  pointer-events: none;
}
.ftr-wordmark-text {
  display: block;
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.055);
  line-height: 1;
  text-align: center;
  transform: translateY(20%);
}

/* Footer responsive (mobile-first) — base 1fr défini dans shared */
@media (min-width: 561px) {
  .ftr-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ftr-col-brand {
    grid-column: 1 / -1;
  }
  .ftr-legal-inner {
    flex-direction: row;
    align-items: center;
  }
}
@media (min-width: 901px) {
  .ftr-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
  .ftr-col-brand {
    grid-column: auto;
  }
}

/* ══════════════════════════════════════
   PAGES INTERNES — Below-fold sections
   ══════════════════════════════════════ */

/* ── Features ── */
#features {
  background: #020205;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.25rem;
  padding: 2rem;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.feat-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.04);
}
.feat-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--section-color, var(--accent));
}
.feat-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.feat-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  margin: 0;
}

/* ── Process ── */
#process {
  background: #040408;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}
.process-step {
  position: relative;
}
.process-num {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(var(--accent-rgb), 0.12);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.process-step-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.process-step-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  margin: 0;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.5rem;
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--accent-rgb), 0.05);
}
.pricing-card.featured::before {
  content: "Recommand\00e9";
  position: absolute;
  top: -1px;
  right: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--section-color, var(--accent));
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 0 0 0.5rem 0.5rem;
}
.pricing-plan {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 0.75rem;
}
.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin: 0 0 0.25rem;
}
.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
}
.pricing-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 2rem;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}
.pricing-features li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.pricing-features li::before {
  content: "\2713";
  color: var(--section-color, var(--accent));
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Stack (web-app) ── */
#stack-section {
  background: #040408;
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.stack-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.stack-item-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--section-color, var(--accent));
}
.stack-item-role {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── Stack (e-commerce) ── */
.stack-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}
.stack-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.stack-name {
  font-size: 0.95rem;
  font-weight: 700;
}
.stack-when {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

/* ── Metrics / Ecosystem (referencement) ── */
#metrics {
  background: #040408;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.stat-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.25rem;
  padding: 2rem;
  border-left: 3px solid var(--section-color, var(--accent));
}
.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--section-color, var(--accent));
  line-height: 1;
  margin: 0 0 0.5rem;
}
.stat-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
}
#ecosystem {
  background: #020205;
}
.eco-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.eco-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  transition: background 0.3s;
}
.eco-item:hover {
  background: rgba(255, 255, 255, 0.04);
}
.eco-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  background: rgba(var(--accent-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--section-color, var(--accent));
  flex-shrink: 0;
}
.eco-text h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}
.eco-text p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.6;
}
