/* ------------------------------------------
   RESET & BASE
------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #020202;
  --card: #0A0909;
  --white: #FBF4EA;
  --accent: #FF4545;
  --white-80: rgba(255,255,255,0.8);
  --white-20: rgba(255,255,255,0.2);
  --white-10: rgba(255,255,255,0.1);
  --f-display: 'Bakbak One', sans-serif;
  --f-body: 'Roboto', sans-serif;
  --f-label: 'Poppins', sans-serif;
  --f-small: 'Inter', sans-serif;
  --max: 430px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--f-body);
  max-width: var(--max);
  margin: 0 auto;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { display: block; }
p { color: #FAFAFA; }

/* ------------------------------------------
   UTILITIES
------------------------------------------ */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }

/* ------------------------------------------
   BUTTONS
------------------------------------------ */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  border-radius: 4px;
  border: 1.05px solid var(--white);
  font-family: var(--f-body);
  font-weight: 900;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.btn-fill {
  background: var(--white-20);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
}

.desktop-cta { display: none; }

.btn-outline-thin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  border-radius: 2px;
  border: 1.05px solid var(--white);
  font-family: var(--f-body);
  font-weight: 900;
  font-size: 12.5px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  position: relative;
}

.btn-icon {
  width: 24px;
  height: 24px;
  position: absolute;
  right: 16px;
}

.btn:hover, .btn-outline-thin:hover {
  background: var(--white-10);
}

/* ------------------------------------------
   NAVIGATION
------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max);
  z-index: 100;
  background: transparent;
  transition: background 0.5s ease, backdrop-filter 0.5s ease;
}

.navbar.scrolled {
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.1), 0 4px 24px rgba(0,0,0,0.6);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: 68px;
}

.logo {
  font-family: var(--f-display);
  font-size: 16px;
  color: var(--accent);
}

.burger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4.5px;
  padding: 4px;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 700px;
  transition: all 0.3s;
}

/* Burger anim� */
.burger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* -- DRAWER MENU -- */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 998;
}
.drawer-overlay.open { display: block; }

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #0a0909;
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  clip-path: inset(0 0 100% 0 round 0px);
  transition: clip-path 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  transform: none;
}
.drawer.open { clip-path: inset(0 0 0% 0 round 0px); }

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
}

.drawer-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.drawer-link {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--white);
  text-align: center;
  transition: opacity 0.2s;
}
.drawer-link:hover { opacity: 0.7; }

.drawer-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
}

.drawer-footer-line-small {
  width: 120px;
  height: 3px;
  background: var(--white);
  border-radius: 999px;
}

.drawer-footer-line {
  width: 300px;
  height: 3px;
  background: var(--white);
  opacity: 1;
  border-radius: 999px;
  margin-top: 8px;
}

/* ------------------------------------------
   HERO
------------------------------------------ */
.hero {
  padding: 68px 16px 0;
  min-height: 360px;
  display: flex;
  align-items: center;
  background-image: url('IMAGE/BACKGROUND/backgroud.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 24px 0;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-text h1 {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 400 !important;
  line-height: 1.2;
}

.hero-text p {
  font-size: 14px;
  line-height: 1.5;
  color: #FAFAFA;
  border-left: 3px solid var(--accent);
  padding-left: 14px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ------------------------------------------
   INTRO BLOCK � CAROUSEL
------------------------------------------ */
.intro-block {
  background: var(--card);
  padding: 24px 16px 20px;
  position: relative;
  cursor: pointer;
}

/* Zone texte glissante */
.intro-text-wrap {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  margin: 16px 0 4px;
}

.intro-text {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(40px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.intro-text.active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.intro-text.leaving {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-40px);
}

.intro-btn {
  display: inline-flex;
}

.intro-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.intro-tag {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--white);
}

.divider-bar {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 1px;
  position: relative;
}

.divider-accent {
  position: absolute;
  top: 0;
  height: 100%;
  background: var(--white);
  border-radius: 1px;
  width: 0%;
  transition: width 7s linear;
}

.intro-title {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 400 !important;
  line-height: 1.2;
  margin-bottom: 8px;
}

.intro-sub {
  font-family: var(--f-body);
  font-size: 16px;
  color: #FAFAFA;
}

/* ------------------------------------------
   LOGOS BAND
------------------------------------------ */
.logos-band {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 16px;
  overflow: hidden;
}

.logos-band img {
  max-height: 30px;
  max-width: 90px;
  object-fit: contain;
  filter: brightness(1);
}

/* ------------------------------------------
   SECTIONS G�N�RIQUES
------------------------------------------ */
.section {
  padding: 16px 16px;
}

#portfolio {
  padding-top: 0;
}

#processus {
  background: var(--bg);
}

.section-label {
  font-family: var(--f-label);
  font-size: 16px;
  color: var(--white);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 1px;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--f-display);
  font-size: 40px;
  font-weight: 400 !important;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* ------------------------------------------
   MES OFFRES
------------------------------------------ */
.offres-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offre-card {
  background: var(--card);
  border-radius: 4px;
  overflow: hidden;
}

.offre-img {
  width: 100%;
  height: 300px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.offre-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offre-footer {
  padding: 14px 16px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.offre-sep {
  width: 100%;
  height: 2px;
  background: #fff;
}

.offre-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.offre-info h3 {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 400 !important;
  line-height: 1.2;
  flex: 1;
}

.offre-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 1px solid var(--white);
  border-radius: 4px;
  background: var(--white-10);
  transition: background 0.2s;
}

.offre-arrow:hover {
  background: var(--white-20);
}

.offre-arrow svg {
  width: 24px;
  height: 24px;
}

/* ------------------------------------------
   PORTFOLIO
------------------------------------------ */
.portfolio-projects {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.portfolio-project {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.portfolio-project-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.portfolio-project-tag {
  font-family: var(--f-small);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.portfolio-project-title {
  font-family: var(--f-display);
  font-size: 26px;
  color: var(--white);
  line-height: 1.1;
}

.portfolio-project-desc {
  font-size: 14px;
  color: rgba(251,244,234,0.6);
  line-height: 1.5;
  max-width: 480px;
}

.portfolio-behance-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-family: var(--f-small);
  color: var(--white);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
  width: fit-content;
}
.portfolio-behance-link:hover { opacity: 1; }

.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.portfolio-full img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
}

.portfolio-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.portfolio-duo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
}

/* Portfolio � hover clickable */
.portfolio-link {
  display: block;
  overflow: hidden;
  position: relative;
  border-radius: 4px;
}

.portfolio-link img {
  transition: transform 0.4s ease;
  width: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-link::after {
  content: 'Voir le projet ?';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 16px 14px;
  font-size: 13px;
  font-family: var(--f-small);
  color: var(--white);
  background: linear-gradient(to top, rgba(2,2,2,0.85) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-link:hover::after { opacity: 1; }
.portfolio-link:hover img { transform: scale(1.04); }

/* -- Portfolio index page � proj cards -- */
.proj-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proj-card {
  display: block;
  background: #0E0E0E;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.proj-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.proj-card-img {
  overflow: hidden;
}

.proj-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.proj-card:hover .proj-card-img img {
  transform: scale(1.04);
}

.proj-card-body {
  padding: 16px 16px 18px;
}

.proj-card-label {
  font-family: var(--f-small);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}

.proj-card-title {
  font-family: var(--f-label);
  font-weight: 500;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.2;
}

.proj-card-desc {
  font-family: var(--f-body);
  font-size: 13px;
  color: rgba(251, 244, 234, 0.6);
  line-height: 1.55;
  margin-bottom: 12px;
}

.proj-card-link {
  font-family: var(--f-small);
  font-size: 12px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.04em;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.proj-card:hover .proj-card-link { opacity: 1; }

.proj-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.proj-duo .proj-card-img img {
  height: 160px;
}

.proj-duo .proj-card-title {
  font-size: 15px;
}

.proj-duo .proj-card-desc {
  font-size: 12px;
}

/* -- Project page -- */
.project-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 32px 16px 80px;
}

.project-desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(251,244,234,0.8);
  margin-bottom: 32px;
}

.project-gallery {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 48px;
}

.project-gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ------------------------------------------
   PROCESSUS
------------------------------------------ */
.processus-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.processus-step {
  display: flex;
  gap: 20px;
  padding-bottom: 16px;
}

.step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.step-num {
  width: 36px;
  height: 40px;
  border: 1px solid var(--white);
  background: transparent;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bakbak One', sans-serif;
  font-size: 22px;
  color: var(--white);
  flex-shrink: 0;
}

.step-line {
  width: 3px;
  flex: 1;
  min-height: 50px;
  background: var(--accent);
  border-radius: 99px;
}



.step-content {
  padding-top: 4px;
  padding-bottom: 20px;
}

.step-content h3 {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 400 !important;
  line-height: 1.2;
  margin-bottom: 20px;
}

.step-content p {
  font-size: 15px;
  line-height: 1.5;
  color: #FAFAFA;
}

.step-final {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--white);
  border-radius: 2px;
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--white);
  margin-top: 4px;
}

/* ------------------------------------------
   ABOUT
------------------------------------------ */
.about-section {
  background: var(--bg);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 8px;
}

.about-photo-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 0;
}

.about-photo {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.about-photo-line {
  position: absolute;
  bottom: -24px;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
}

/* -- Tags ticker -- */
.about-tags-ticker {
  overflow: hidden;
  padding: 12px 0;
  margin-top: 36px;
  margin-bottom: 0;
}

@keyframes tickerSlide {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

.about-tags-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: tickerSlide 18s linear infinite;
}

.about-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border: 1px solid #fff;
  border-radius: 2px;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--white);
}

/* -- Text block -- */
.about-text-wrap {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-name {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
}

.about-text {
  font-size: 15px;
  line-height: 1.6;
  color: #FAFAFA;
}

/* -- Badge NEW -- */
.blog-index-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.blog-index-top .blog-index-label {
  margin-bottom: 0;
}
.blog-new-badge {
  font-family: var(--f-small);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #020202;
  background: var(--accent);
  border-radius: 3px;
  padding: 2px 6px;
  line-height: 1.4;
  text-transform: uppercase;
}

/* -- Home Blog -- */
.home-blog-list {
  margin-top: 8px;
}
.home-blog-list .blog-index-card {
  margin-bottom: 32px;
}
.home-blog-list .blog-index-card:last-child {
  margin-bottom: 0;
}.home-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s;
}
.home-blog-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.home-blog-cover {
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
}
.home-blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.home-blog-card:hover .home-blog-cover img {
  transform: scale(1.04);
}
.home-blog-body {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-blog-tag {
  font-family: var(--f-small);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.home-blog-title {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.25;
  text-transform: uppercase;
}
.home-blog-excerpt {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(251,244,234,0.55);
}
.home-blog-link {
  font-family: var(--f-small);
  font-size: 13px;
  color: var(--white);
  margin-top: 4px;
}
.center { display: flex; justify-content: center; }
.mt-32 { margin-top: 32px; }

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 14px 16px;
}

.about-stat-number {
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--white);
  line-height: 1;
}

.about-stat-label {
  font-size: 13px;
  color: rgba(251,244,234,0.55);
  line-height: 1.4;
}

.about-stat-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.about-tool-tag {
  font-size: 12px;
  font-family: var(--f-small);
  color: rgba(251,244,234,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 5px;
  padding: 5px 12px;
}

/* ------------------------------------------
   FAQ
------------------------------------------ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border-radius: 6px;
  overflow: hidden;
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  cursor: pointer;
  gap: 12px;
}

.faq-header span {
  font-family: var(--f-small);
  font-size: 15px;
  line-height: 1.4;
  flex: 1;
  position: relative;
  padding-left: 0;
  transition: padding-left 0.35s ease;
}

.faq-header span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.35s ease;
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.faq-icon svg {
  width: 24px;
  height: 24px;
}

.faq-item.open .faq-icon {
  transform: rotate(90deg);
}

.faq-item.open .faq-icon svg path {
  stroke: var(--accent);
}

.faq-item.open .faq-header span {
  padding-left: 18px;
}

.faq-item.open .faq-header span::before {
  transform: scaleY(1);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 16px;
}

.faq-item.open .faq-body {
  max-height: 300px;
  padding-bottom: 16px;
}

.faq-sep {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 12px;
}

.faq-body p {
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.6;
  color: #FAFAFA;
}

/* ------------------------------------------
   CONTACT
------------------------------------------ */
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-title {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-title::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.contact-sub {
  font-size: 15px;
  line-height: 1.5;
  color: #FAFAFA;
}

/* ------------------------------------------
   FOOTER
------------------------------------------ */
.footer {
  background-image: linear-gradient(rgba(10,9,9,0.82), rgba(10,9,9,0.82)), url('IMAGE/BACKGROUND/backgroud.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-logo {
  font-family: var(--f-display);
  font-size: 36px;
  text-align: left;
  margin-bottom: 12px;
}

.footer-bio {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-location {
  font-family: var(--f-small);
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
}

.footer-socials {
  display: flex;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 28px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-socials img {
  width: 20px;
  height: 20px;
  transition: filter 0.25s ease;
}

.footer-socials a:hover img {
  filter: invert(30%) sepia(100%) saturate(5000%) hue-rotate(340deg) brightness(110%);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px 16px;
  margin-bottom: 24px;
}

.footer-links a {
  font-family: var(--f-small);
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.25);
}

.footer-bottom {
  border-top: 1px solid rgba(132,132,132,0.25);
  padding-top: 20px;
  text-align: left;
}

.footer-bottom p {
  font-family: var(--f-small);
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

/* ------------------------------------------
   DESKTOP NAV (masqu� par d�faut)
------------------------------------------ */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  /* Hors du flux sur mobile � invisible et non interactif */
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.burger {
  transition: opacity 0.35s ease;
}

.navbar-inner .logo {
  transition: opacity 0.35s ease;
}

/* ------------------------------------------
   TABLET � iPad 768px
------------------------------------------ */
.offre-imgs-side { display: none; }

@media (min-width: 460px) {
  :root { --max: 768px; }

  /* -- NAVBAR : logo gauche + nav centr� -- */
  .navbar-inner .logo { opacity: 1; pointer-events: auto; }
  .burger { opacity: 0; pointer-events: none; }
  .navbar-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 24px;
  }
  .navbar-inner .logo { justify-self: start; }
  .desktop-nav {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    justify-content: center;
    gap: 20px;
  }
  .desktop-link {
    font-family: var(--f-display);
    font-size: 16px;
    color: var(--white);
    position: relative;
    padding-bottom: 4px;
  }
  .desktop-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--white);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  .desktop-link.active { color: var(--accent); }
  .desktop-link.active::after { transform: scaleX(1); background: var(--accent); }
  .desktop-link:hover { opacity: 1; color: var(--accent); }
  .desktop-cta { display: none; }

  /* -- HERO -- */
  .hero { padding: 80px 82px 0; min-height: 456px; }
  .hero-content { max-width: 664px; }
  .hero-text h1 { font-size: 40px; line-height: 44px; }
  .hero-text p  { font-size: 20px; line-height: 24px; }
  .hero-buttons { flex-direction: row; gap: 20px; }
  .hero-buttons .btn { width: 230px; }

  /* -- INTRO BLOCK � card flottante -- */
  .intro-block {
    background: var(--card);
    padding: 48px 82px 44px;
    border-radius: 10px;
    margin: 28px 82px 0;
  }
  .intro-text-wrap { min-height: 150px; margin-bottom: 20px; }
  .intro-btn { width: 230px; }

  /* -- LOGOS -- */
  .logos-band { padding: 0 82px; justify-content: flex-start; gap: 48px; }

  /* -- SECTIONS -- */
  .section { padding: 32px 82px; }
  #portfolio { padding-top: 0; }
  .section-title { font-size: 40px; }
  #offres { background: var(--bg); }
  #processus { background: var(--bg); }
  #portfolio { padding-top: 40px; }
  #portfolio .btn-outline-thin { width: 100%; height: 44px; }
  #contact .btn-fill { width: 366px; height: 44px; }
  #faq { padding-bottom: 24px; background: var(--bg); }
  #contact { padding-top: 28px; padding-bottom: 56px; background: var(--bg); }

  /* -- OFFRES � layout Figma avec images lat�rales -- */
  .offres-list { display: flex; flex-direction: column; gap: 16px; }

  .offre-card {
    position: relative;
    height: 420px;
    overflow: hidden;
  }
  .offre-img {
    position: absolute;
    top: 0; left: 0;
    width: 58.6%;   /* ~354/604 */
    height: 300px;
  }
  .offre-imgs-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 0;
    left: calc(58.6% + 1.7%); /* gap ~10/604 */
    right: 0;
    height: 300px;
  }
  .offre-img-top {
    width: 100%; height: 170px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
  }
  .offre-img-bot {
    width: 100%; height: 120px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
  }
  .offre-footer {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
  }

  /* -- PORTFOLIO -- */
  .portfolio-grid { gap: 16px; }
  .portfolio-full img { height: 363px; }
  .portfolio-duo { gap: 16px; }
  .portfolio-duo img { height: 297px; }

  /* -- ABOUT -- */
  .about-text-wrap { padding: 16px 0; }
  .about-name { font-size: 22px; }

  /* -- FAQ -- */
  .faq-list { max-width: 605px; }

  /* -- � PROPOS -- */
  #apropos { background: var(--bg); }
  .about-photo-wrap { width: 100%; position: relative; transform: none; }
  .about-photo { max-height: none; width: 100%; }

  /* -- FOOTER -- */
  .footer-logo { display: block; }
  .footer { padding: 48px 82px 32px; }
  .footer-socials { justify-content: flex-start; }
  .footer-links { justify-content: flex-start; }
  .footer-bottom { text-align: left; }

  /* -- DRAWER � panneau lat�ral droit -- */
  .drawer {
    left: auto; right: 0;
    width: 320px;
    clip-path: inset(0 0 0 100% round 0px);
    transition: clip-path 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .drawer.open { clip-path: inset(0 0 0 0% round 0px); }
}

/* ------------------------------------------
   DESKTOP � 1024px+
------------------------------------------ */
@media (min-width: 1024px) {
  :root { --max: 1440px; }

  /* -- NAVBAR -- */
  .navbar { height: 80px; }
  .navbar-inner {
    height: 80px;
    padding: 0 180px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: center;
  }
  .navbar-inner .logo {
    justify-self: flex-start;
    opacity: 1;
    pointer-events: auto;
    font-size: 22px;
  }
  .burger { display: none; }
  .desktop-nav {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    gap: 36px;
  }
  .desktop-link {
    font-family: var(--f-display);
    font-size: 16px;
    color: var(--white);
    position: relative;
    padding-bottom: 4px;
  }
  .desktop-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--white);
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  .desktop-link.active { color: var(--accent); }
  .desktop-link.active::after { transform: scaleX(1); background: var(--accent); }
  .desktop-link:hover { opacity: 1; color: var(--accent); }
  .desktop-cta {
    display: flex;
    grid-column: 3;
    justify-self: end;
    width: auto;
    padding: 0 24px;
    height: 44px;
    font-size: 13px;
    letter-spacing: 0.5px;
    white-space: nowrap;
    border-radius: 4px;
  }

  /* -- HERO -- */
  .hero {
    padding: 140px 180px 80px;
    min-height: 620px;
    background-image: url('IMAGE/BACKGROUND/backgroud.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .hero-content { max-width: none; gap: 48px; }
  .hero-text { gap: 24px; }
  .hero-text h1 { font-size: 58px; line-height: 1.05; }
  .hero-text p { font-size: 22px; line-height: 1.5; max-width: 700px; color: #FAFAFA; }
  .hero-buttons { flex-direction: row; gap: 24px; }
  .hero-buttons .btn { width: 280px; height: 56px; font-size: 13px; }

  /* -- INTRO BLOCK -- */
  .intro-block {
    margin: 48px 180px 0;
    border-radius: 19px;
    padding: 60px 72px;
  }
  .intro-title { font-size: 42px; line-height: 1.1; max-width: 520px; }
  .intro-sub { font-size: 20px; line-height: 1.5; }
  .intro-text-wrap { min-height: 200px; margin-bottom: 8px; }
  .intro-btn { width: 340px; height: 60px; font-size: 14px; }

  /* -- LOGOS -- */
  .logos-band { padding: 0 180px; gap: 80px; }

  /* -- SECTIONS -- */
  .section { padding: 80px 180px; }
  .section-title { font-size: 68px; }
  .section-label { font-size: 18px; }

  /* -- BACKGROUNDS -- */
  #offres { background: var(--bg); padding-bottom: 40px; }
  #portfolio { padding-top: 28px; padding-bottom: 32px; }
  #processus { background: var(--bg); padding-top: 32px; }
  #apropos { background: var(--bg); padding-top: 40px; padding-bottom: 40px; }
  #faq { background: var(--bg); padding-top: 40px; padding-bottom: 16px; }
  #contact { background: var(--bg); padding: 80px 180px 80px; }

  /* -- OFFRES -- */
  .offres-list { gap: 48px; }
  .offre-card { height: 680px; background: transparent; }
  .offre-img {
    width: 57%;
    height: 540px;
  }
  .offre-imgs-side {
    left: calc(57% + 2%);
    height: 540px;
    gap: 16px;
  }
  .offre-img-top { height: 310px; }
  .offre-img-bot { height: 214px; }
  .offre-footer {
    height: 140px;
    padding: 28px 24px 0;
    justify-content: flex-start;
    gap: 0;
    background: var(--card);
  }
  .offre-sep { height: 3px; margin-bottom: 18px; }
  .offre-arrow { width: 64px; height: 64px; min-width: 64px; }
  .offre-info h3 { font-size: 24px; white-space: nowrap; }

  /* -- PORTFOLIO -- */
  .portfolio-grid { gap: 20px; }
  .portfolio-full img { height: 520px; object-fit: cover; }
  .portfolio-duo img { height: 400px; object-fit: cover; }
  #portfolio .btn-outline-thin { width: 100%; height: 60px; font-size: 14px; }

  /* -- PROCESSUS -- */
  #processus .section-title { margin-bottom: 56px; }
  .step-final { width: 140px; height: 44px; font-size: 18px; }
  .step-num { width: 44px; height: 44px; font-size: 20px; }
  .step-line { width: 2px; min-height: 90px; }
  .processus-step { padding-bottom: 32px; }
  .step-content { padding-bottom: 32px; }
  .step-content { max-width: 680px; }
  .step-content h3 { font-size: 34px; }
  .step-content p { font-size: 18px; line-height: 1.6; }

  /* -- � PROPOS � Option B : 2 colonnes asym�triques -- */
  .about-content {
    display: grid;
    grid-template-columns: 42% 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 40px;
    align-items: stretch;
  }
  .about-photo-wrap {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 100%;
    max-width: none;
    position: relative;
    margin-bottom: 0;
    display: flex;
  }
  .about-photo {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
  }
  .about-photo-line { display: none; }
  .about-tags-ticker {
    grid-column: 2;
    grid-row: 1;
    overflow: hidden;
    padding: 0;
    margin-bottom: 40px;
  }
  .about-tags-track {
    animation: tickerSlide 18s linear infinite;
    flex-wrap: nowrap;
    width: max-content;
    gap: 24px;
  }
  .about-tags-track .about-tag:nth-child(n+4) { display: inline-flex; }
  .about-text-wrap {
    grid-column: 2;
    grid-row: 2;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .about-name { font-size: 44px; line-height: 1.1; }
  .about-text { font-size: 18px; line-height: 1.7; }

  /* -- FAQ -- */
  .faq-list { max-width: none; gap: 16px; }
  .faq-item { border-radius: 15px; }
  .faq-header { padding: 24px 28px; }
  .faq-header span { font-size: 20px; }
  .faq-body { padding: 0 28px; }
  .faq-item.open .faq-body { padding-bottom: 24px; max-height: 400px; }
  .faq-body p { font-size: 16px; line-height: 1.7; }

  /* -- CONTACT -- */
  .contact-title { font-size: 36px; }
  .contact-sub { font-size: 18px; line-height: 1.6; max-width: 960px; }
  #contact .btn-fill { width: 443px; height: 60px; font-size: 14px; }

  /* -- FOOTER -- */
  .footer {
    padding: 48px 180px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-image: linear-gradient(rgba(10,9,9,0.82), rgba(10,9,9,0.82)), url('IMAGE/BACKGROUND/backgroud.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .footer-logo {
    font-size: 52px;
    margin-bottom: 20px;
  }
  .footer-bio {
    margin-bottom: 6px;
    max-width: 480px;
  }
  .footer-location {
    margin-bottom: 36px;
  }
  .footer-socials {
    justify-content: flex-start;
    margin-bottom: 36px;
  }
  .footer-links {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 0;
    gap: 24px;
  }
  .footer-bottom {
    margin-top: 40px;
    text-align: left;
  }
}

/* ------------------------------------------
   BLOG � PAGES ARTICLES
------------------------------------------ */
.blog-hero {
  padding: 100px 16px 32px;
  background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-label);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--white);
  margin-bottom: 24px;
  transition: opacity 0.2s;
}
.blog-back:hover { opacity: 0.75; }
.blog-back svg path { stroke: var(--accent); }

.blog-back-bottom { margin-top: 20px; margin-bottom: 0; }

.blog-title {
  font-family: var(--f-display);
  font-size: 40px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 8px 0 12px;
  color: var(--white);
}

.blog-separator {
  width: 100%;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

.blog-content {
  padding: 40px 16px 80px;
  background: var(--bg);
}

.blog-section {
  margin-bottom: 48px;
}

.blog-section-title {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--white);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 16px;
}

.blog-lead {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 12px;
}

.blog-answer {
  background: rgba(255,69,69,0.07);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--white);
}
.blog-answer strong {
  display: block;
  font-family: var(--f-small);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.blog-body {
  font-size: 15px;
  line-height: 1.75;
  color: #FAFAFA;
  margin-bottom: 12px;
}

.blog-list {
  list-style: none;
  padding-left: 0;
  margin: 12px 0 16px;
}

.blog-list li {
  font-size: 15px;
  line-height: 1.7;
  color: #FAFAFA;
  padding-left: 18px;
  position: relative;
  margin-bottom: 8px;
}

.blog-list li::before {
  content: '�';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Blog meta date */
.blog-meta {
  font-size: 13px;
  color: rgba(251,244,234,0.5);
  margin: 8px 0 16px;
}
.blog-author-link {
  color: rgba(251,244,234,0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(251,244,234,0.3);
  transition: color 0.2s;
}
.blog-author-link:hover { color: var(--white); }

/* Blog cover image */
.blog-cover {
  width: 100%;
  max-width: 680px;
  margin: 32px auto 0;
  border-radius: 12px;
  overflow: hidden;
}
.blog-cover img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Blog index page */
.blog-index-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 16px 80px;
}
.blog-index-card {
  display: block;
  text-decoration: none;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}
.blog-index-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.blog-index-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-family: var(--f-display);
  margin-bottom: 10px;
}
.blog-index-title {
  font-family: var(--f-display);
  font-size: 18px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.blog-index-excerpt {
  font-size: 14px;
  color: rgba(251,244,234,0.65);
  line-height: 1.6;
  margin-bottom: 20px;
}
.blog-index-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.blog-index-date {
  font-size: 12px;
  color: rgba(251,244,234,0.4);
}
.blog-index-read {
  font-size: 13px;
  color: var(--accent);
  font-family: var(--f-display);
}

.blog-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
}
.blog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  font-family: var(--f-small);
  min-width: 560px;
}
.blog-table thead tr {
  background: rgba(255,255,255,0.05);
}
.blog-table th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.blog-table th.col-sans {
  color: rgba(251,244,234,0.45);
}
.blog-table th.col-avec {
  color: #4CAF6E;
}
.blog-table td {
  padding: 11px 14px;
  color: rgba(251,244,234,0.75);
  vertical-align: top;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  line-height: 1.5;
}
.blog-table tbody tr:last-child td {
  border-bottom: none;
}
.blog-table tbody tr td:first-child {
  color: var(--white);
  font-weight: 500;
}
.blog-table tbody tr td:nth-child(2) {
  color: rgba(251,244,234,0.4);
}
.blog-table tbody tr td:nth-child(3) {
  color: rgba(100,210,130,0.9);
}
.blog-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

.blog-related {
  margin-top: 48px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.blog-related-title {
  font-family: var(--f-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 4px;
}
.blog-related-link {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.blog-related-link:hover { opacity: 1; }

.blog-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  gap: 16px;
}
.blog-nav .blog-back,
.blog-nav .blog-next {
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s;
}
.blog-nav .blog-back svg path,
.blog-nav .blog-next svg path { stroke: var(--accent); }
.blog-nav .blog-back:hover,
.blog-nav .blog-next:hover { opacity: 1; }
.blog-next { margin: 0; }

.blog-cta-block {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-cta-text {
  font-size: 15px;
  color: #FAFAFA;
  line-height: 1.6;
}

@media (min-width: 460px) {
  .blog-hero    { padding: 100px 82px 40px; }
  .blog-content { padding: 48px 82px 80px; }
  .blog-title   { font-size: 52px; }
  .blog-section-title { font-size: 26px; }
  .blog-lead    { font-size: 17px; }
  .blog-body    { font-size: 17px; }
  .blog-list li { font-size: 17px; }
}

@media (min-width: 1024px) {
  .blog-hero    { padding: 140px 180px 56px; }
  .blog-content { padding: 56px 180px 100px; }
  .blog-title   { font-size: 72px; }
  .blog-section-title { font-size: 32px; max-width: 820px; }
  .blog-lead    { font-size: 19px; max-width: 820px; }
  .blog-body    { font-size: 19px; max-width: 820px; line-height: 1.85; }
  .blog-list li { font-size: 19px; max-width: 820px; }
  .blog-cta-block { max-width: 820px; }
}

/* ------------------------------------------
   FOCUS VISIBLE (accessibilit� clavier)
------------------------------------------ */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ------------------------------------------
   SCROLL REVEAL (animation l�g�re)
------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------
   PAGE PORTFOLIO D�DI�E � /projets/
   Surcharge blog-hero + blog-content pour
   utiliser toute la largeur disponible.
   Hero et contenu partagent le m�me padding
   horizontal � chaque breakpoint.
------------------------------------------ */
.proj-hero {
  padding-bottom: 16px;
}

.proj-page-content {
  padding: 20px 16px 80px;
  background: var(--bg);
}

/* Boutons outline-thin � mobile first : pleine largeur, 44px */
.proj-page-content .btn-outline-thin,
#blog .btn-outline-thin,
#portfolio .btn-outline-thin {
  width: 100%;
  height: 44px;
}

/* Desktop : largeur fixe 366px, hauteur toujours 44px */
@media (min-width: 640px) {
  .proj-page-content .btn-outline-thin,
  #blog .btn-outline-thin,
  #portfolio .btn-outline-thin {
    width: 366px;
  }
}

@media (min-width: 460px) {
  /* padding horizontal unifi� : 24px hero = 24px contenu */
  .proj-hero         { padding: 100px 24px 20px; }
  .proj-page-content { padding: 28px 24px 80px; }
  /* images plus hautes en tablet */
  .proj-page-content .proj-card-img img       { height: 280px; }
  .proj-page-content .proj-duo .proj-card-img img { height: 200px; }
}

@media (min-width: 1024px) {
  /* padding horizontal unifi� : 48px hero = 48px contenu */
  .proj-hero         { padding: 140px 48px 32px; }
  .proj-page-content { padding: 40px 48px 100px; }
  /* images bien plus hautes en desktop */
  .proj-page-content .proj-card-img img       { height: 560px; }
  .proj-page-content .proj-duo .proj-card-img img { height: 400px; }
}

/* ------------------------------------------
   LIGHTBOX � zoom image projet
------------------------------------------ */
.project-gallery img {
  cursor: zoom-in;
}

.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 9998;
  align-items: center;
  justify-content: center;
  touch-action: none;
}
.lb-overlay.lb-active {
  display: flex;
}

.lb-close {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 9999;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s;
}
.lb-close:hover { background: rgba(255,255,255,0.25); }

.lb-hint {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  font-family: var(--f-body);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  pointer-events: none;
  letter-spacing: 0.05em;
}

.lb-viewport {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img {
  display: block;
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  transform-origin: center center;
  transform: scale(1) translate(0px, 0px);
  transition: transform 0.15s ease;
  user-select: none;
  -webkit-user-drag: none;
  cursor: grab;
}
.lb-img.lb-dragging { cursor: grabbing; transition: none; }



