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

:root {
  --bg: #F4EFEA;
  --bg2: #E7DED5;
  --title: #2F2622;
  --text: #5C4A42;
  --accent: #4A5A6A;
  --accent-hover: #3F4E5C;
  --white: #FAF7F4;
  --max: 1180px;
  --px: 120px;
  --py: 100px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--px);
}

section {
  padding: var(--py) 0;
}

.divider {
  height: 1px;
  background: var(--bg2);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--title);
  line-height: 1.15;
  margin-bottom: 32px;
}

h1 em {
  font-style: normal;
  color: var(--accent);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 600;
  color: var(--title);
  line-height: 1.2;
  margin-bottom: 24px;
}

h3 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--title);
  margin-bottom: 12px;
}

.label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 16px 28px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--title);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 15px 28px;
  border-radius: 4px;
  border: 1.5px solid var(--title);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
  letter-spacing: 0.02em;
}

.btn-ghost:hover {
  background: var(--bg2);
}

/* ============================================
   NAV
   ============================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--bg2);
  padding: 20px 0;
  transition:
    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s ease,
    background 0.3s ease;
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--title);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--title);
}

.nav-cta {
  padding: 10px 20px !important;
  font-size: 13px !important;
  border-color: var(--bg2) !important;
  color: var(--title) !important;
}

/* ============================================
   HERO
   ============================================ */
#hero {
  padding: 0;
}

.hero-top {
  padding: 72px 0 64px;
}

.hero-intro-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 64px;
}

.hero-identity {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.04em;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6A8F6A;
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-byline {
  font-size: 17px;
  color: var(--text);
  max-width: 420px;
  line-height: 1.6;
}

.hero-byline strong {
  color: var(--title);
  font-weight: 600;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
  border: 1px solid rgba(47,38,34,0.15);
  padding: 6px 14px;
  border-radius: 2px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  flex-shrink: 0;
  padding-top: 4px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text);
  max-width: 580px;
  line-height: 1.7;
}

/* Stats bar */
.hero-stats-bar {
  background: var(--bg2);
  border-top: 1px solid rgba(47,38,34,0.08);
  padding: 40px 0;
}

.hero-stats-grid {
  display: flex;
  align-items: center;
}

.hero-stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 40px;
}

.hero-stat-item:first-child {
  padding-left: 0;
}

.hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(47,38,34,0.12);
  flex-shrink: 0;
}

/* ============================================
   PROJETS
   ============================================ */
#projets {
  padding: var(--py) 0;
}

.projets-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
  gap: 40px;
}

.projets-header .label {
  display: block;
  margin-bottom: 16px;
}

.projets-header h2 {
  margin-bottom: 0;
}

.projets-intro {
  font-size: 16px;
  color: var(--text);
  max-width: 260px;
  text-align: right;
  line-height: 1.6;
  flex-shrink: 0;
}

.projet-item {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}

.projet-item--reverse {
  grid-template-columns: 1fr 1.1fr;
}

.projet-item--reverse .projet-visuals {
  order: 2;
}

.projet-item--reverse .projet-content {
  order: 1;
}

.projet-visuals {
  position: relative;
}

.projet-mockup-main {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg2);
}

.projet-mockup-main img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.projet-item:hover .projet-mockup-main img {
  transform: scale(1.02);
}

.projet-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.projet-gallery img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.projet-gallery img:hover {
  transform: scale(1.03);
}

.projet-content {
  padding-bottom: 24px;
}

.projet-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.projet-type {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.projet-year {
  font-size: 12px;
  color: var(--text);
  opacity: 0.5;
}

.projet-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--title);
  margin-bottom: 16px;
  line-height: 1.2;
}

.projet-desc {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 460px;
}

.projet-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.projet-details li {
  font-size: 14px;
  color: var(--text);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.projet-details li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 500;
}

.projet-result {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 20px 24px;
  background: var(--bg2);
  border-radius: 4px;
  border-left: 3px solid var(--accent);
}

.projet-result-number {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  line-height: 1;
}

.projet-result-label {
  font-size: 14px;
  color: var(--text);
  line-height: 1.4;
}

.projets-separator {
  height: 1px;
  background: var(--bg2);
  margin: 80px 0;
}

/* ============================================
   PROBLEM
   ============================================ */
#problem {
  background: var(--bg2);
}

#problem .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.problem-left .section-label {
  display: block;
  margin-bottom: 24px;
}

.problem-left h2 {
  margin-bottom: 0;
}

.problem-right {
  padding-top: 48px;
}

.problem-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.problem-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.problem-list .icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--accent);
}

.problem-list p {
  font-size: 16px;
  color: var(--text);
}

.problem-truth {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg);
  border-radius: 4px;
  border-left: 3px solid var(--accent);
}

.problem-truth p {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--title);
  font-style: normal;
  line-height: 1.5;
}

/* ============================================
   PROCESS
   ============================================ */
.process-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}

.process-header h2 {
  margin-bottom: 0;
}

.process-header p {
  font-size: 16px;
  color: var(--text);
  max-width: 320px;
  text-align: right;
}

.process-label {
  display: block;
  margin-bottom: 20px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.step {
  background: var(--bg2);
  padding: 40px 32px;
}

.step:first-child {
  border-radius: 4px 0 0 4px;
}

.step:last-child {
  border-radius: 0 4px 4px 0;
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 700;
  color: var(--bg);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

.step-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.step p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

.step-delivery {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

/* ============================================
   RESULTS
   ============================================ */
#results {
  background: var(--title);
}

#results .results-label {
  color: rgba(250, 247, 244, 0.5);
  display: block;
  margin-bottom: 24px;
}

#results h2 {
  color: var(--white);
  max-width: 600px;
  margin-bottom: 64px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 64px;
}

.result-card {
  background: rgba(250, 247, 244, 0.05);
  padding: 48px 40px;
}

.result-card:first-child {
  border-radius: 4px 0 0 4px;
}

.result-card:last-child {
  border-radius: 0 4px 4px 0;
}

.result-number {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 12px;
}

.result-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}

.result-desc {
  font-size: 14px;
  color: rgba(250, 247, 244, 0.6);
  line-height: 1.5;
}

.testimonial {
  border-top: 1px solid rgba(250, 247, 244, 0.1);
  padding-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--white);
  line-height: 1.5;
}

.testimonial-source {
  font-size: 13px;
  color: rgba(250, 247, 244, 0.5);
  margin-top: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.testimonial-item-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.testimonial-item p {
  font-size: 15px;
  color: rgba(250, 247, 244, 0.7);
}

/* ============================================
   GUARANTEE
   ============================================ */
#guarantee {
  background: var(--bg2);
}

#guarantee .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.guarantee-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: var(--bg);
  border-radius: 4px;
}

.guarantee-inner {
  text-align: center;
}

.guarantee-icon {
  width: 56px;
  height: 56px;
  color: var(--accent);
  margin: 0 auto 24px;
  display: block;
}

.guarantee-big {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--title);
  line-height: 1.2;
  margin-bottom: 16px;
}

.guarantee-desc {
  font-size: 15px;
  color: var(--text);
  max-width: 280px;
  margin: 0 auto;
}

.guarantee-content .section-label {
  display: block;
  margin-bottom: 24px;
}

.guarantee-content h2 {
  margin-bottom: 20px;
}

.guarantee-content p {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 32px;
  max-width: 480px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-header {
  margin-bottom: 64px;
}

.faq-header .section-label {
  display: block;
  margin-bottom: 24px;
}

.faq-header h2 {
  margin-bottom: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 780px;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Inter', sans-serif;
}

.faq-question h3 {
  margin-bottom: 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--title);
}

.faq-toggle {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 32px 28px;
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
}

/* ============================================
   BANNIÈRE DÉFILANTE
   ============================================ */
.banner-scroll {
  background: var(--title);
  overflow: hidden;
  padding: 0;
  white-space: nowrap;
}

.banner-track {
  display: inline-flex;
  align-items: center;
  animation: banner-loop 24s linear infinite;
  padding: 20px 0;
  will-change: transform;
}

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

.banner-item {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(250,247,244,0.75);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 40px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.banner-item:hover {
  color: var(--white);
}

.banner-sep {
  color: rgba(250,247,244,0.2);
  font-size: 16px;
  flex-shrink: 0;
  pointer-events: none;
}

/* ============================================
   PROJET ACTIONS
   ============================================ */
.projet-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.projet-btn {
  padding: 11px 20px !important;
  font-size: 13px !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   PROJET LINK
   ============================================ */
.projet-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: gap 0.2s ease, color 0.2s ease;
}

.projet-link:hover {
  gap: 12px;
  color: var(--accent-hover);
}

/* ============================================
   CTA FINAL
   ============================================ */
#cta-final {
  background: var(--bg);
  text-align: center;
  padding: 120px 0;
}

#cta-final .label {
  display: block;
  margin-bottom: 24px;
}

#cta-final h2 {
  font-size: 52px;
  max-width: 680px;
  margin: 0 auto 24px;
}

#cta-final .sub {
  font-size: 17px;
  color: var(--text);
  max-width: 520px;
  margin: 0 auto 48px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text);
  opacity: 0.7;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bg2);
  padding: 40px 0;
  border-top: 1px solid rgba(47, 38, 34, 0.1);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--title);
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--title);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --px: 48px;
  }

  #hero .container,
  #problem .container,
  #guarantee .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  h1 { font-size: 48px; }

  .hero-intro-row {
    flex-direction: column;
    gap: 32px;
  }

  .hero-ctas {
    flex-direction: row;
    align-items: flex-start;
  }

  .hero-stats-grid {
    flex-wrap: wrap;
    gap: 24px;
  }

  .hero-stat-divider { display: none; }

  .hero-stat-item {
    flex: 0 0 calc(50% - 12px);
    padding: 0;
  }

  .projet-item,
  .projet-item--reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .projet-item--reverse .projet-visuals { order: 1; }
  .projet-item--reverse .projet-content { order: 2; }

  .projet-gallery img { height: 90px; }

  .projets-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .projets-intro { text-align: left; max-width: 100%; }

  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .results-grid { grid-template-columns: 1fr; }
  .testimonial { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root {
    --px: 24px;
    --py: 64px;
  }

  h1 { font-size: 36px; }
  h2 { font-size: 30px; }

  .hero-ctas { flex-direction: column; }

  .hero-stat-item { flex: 0 0 100%; }

  .process-steps { grid-template-columns: 1fr; }

  #cta-final h2 { font-size: 32px; }

  .nav-links { gap: 20px; }

  .process-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-header p { text-align: left; }

  footer .container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
}

/* ============================================
   LOGO
   ============================================ */
.nav-logo {
  height: 36px;
  width: auto;
  display: block;
}

a.nav-brand {
  padding: 0;
}

/* ============================================
   MICRO-INTERACTIONS
   ============================================ */

/* ── Scroll reveal base ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sections get a slightly shorter travel */
section.reveal {
  transform: translateY(10px);
  transition-duration: 0.5s;
}

/* ── Nav scrolled state ── */
nav.nav--scrolled {
  box-shadow: 0 1px 12px rgba(47, 38, 34, 0.07);
  background: rgba(244, 239, 234, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ── Buttons — refined hover ── */
.btn-primary {
  transition:
    background 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease !important;
  will-change: transform;
}

.btn-primary:hover {
  box-shadow: 0 4px 16px rgba(74, 90, 106, 0.22);
}

.btn-primary:active {
  transform: translateY(1px) !important;
  box-shadow: none !important;
}

.btn-ghost {
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease !important;
  will-change: transform;
}

.btn-ghost:hover {
  border-color: var(--title) !important;
}

.btn-ghost:active {
  transform: translateY(1px) !important;
}

/* ── Nav links — slide underline ── */
.nav-links a:not(.btn-ghost) {
  position: relative;
  display: inline-block;
}

.nav-links a:not(.btn-ghost)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--title);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:not(.btn-ghost):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── Hero tags — hover lift ── */
.hero-tag {
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-tag:hover {
  border-color: rgba(47, 38, 34, 0.35);
  color: var(--title);
  transform: translateY(-1px);
}

/* ── Projet card — hover lift + border ── */
.projet-item {
  transition: none; /* handled on children */
}

.projet-mockup-main {
  transition:
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.projet-item:hover .projet-mockup-main {
  box-shadow: 0 8px 32px rgba(47, 38, 34, 0.1);
  transform: translateY(-3px);
}

/* Gallery thumbnails */
.projet-gallery img {
  transition:
    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.32s ease;
}

.projet-gallery img:hover {
  transform: scale(1.04);
  opacity: 0.9;
}

/* ── Projet result tag — pulse accent on hover ── */
.projet-result {
  transition: border-left-color 0.2s ease, background 0.2s ease;
}

.projet-result:hover {
  background: rgba(74, 90, 106, 0.06);
}

/* ── Process steps ── */
.step {
  transition:
    background 0.25s ease,
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.step:hover {
  background: #DACECC;
  transform: translateY(-2px);
}

/* ── Result cards ── */
.result-card {
  transition:
    background 0.25s ease,
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.result-card:hover {
  background: rgba(250, 247, 244, 0.08);
  transform: translateY(-2px);
}

/* ── FAQ — smooth icon rotation ── */
.faq-icon {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

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

/* FAQ answer transition */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ── Projet link arrows ── */
.projet-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  position: relative;
  transition: gap 0.22s ease, color 0.2s ease;
}

.projet-link:hover {
  gap: 10px;
  color: var(--title);
}

/* ── Banner items ── */
.banner-item {
  transition: color 0.2s ease;
}

/* ── Case study — CS cards hover ── */
.cs-card {
  transition:
    box-shadow 0.25s ease,
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs-card:hover {
  box-shadow: 0 4px 20px rgba(47, 38, 34, 0.08);
  transform: translateY(-2px);
}

/* ── CS amelio items ── */
.cs-amelio-item {
  transition:
    box-shadow 0.25s ease,
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cs-amelio-item:hover {
  box-shadow: 0 4px 20px rgba(47, 38, 34, 0.08);
  transform: translateY(-2px);
}

/* ── CS kpi-card hover ── */
.cs-kpi-card {
  transition:
    background 0.22s ease,
    transform 0.22s ease;
}

.cs-kpi-card:hover {
  background: var(--bg2);
  transform: translateY(-2px);
}

/* ── Gallery images in case studies ── */
.cs-gallery-item img {
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s ease;
}

.cs-gallery-item img:hover {
  transform: scale(1.015);
  box-shadow: 0 6px 24px rgba(47, 38, 34, 0.1);
}

.cs-gallery-side img {
  transition:
    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.32s ease;
}

.cs-gallery-side img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(47, 38, 34, 0.1);
}

/* ── Scroll progress bar ── */
.cs-progress {
  transition: width 0.08s linear;
}

/* ── Focus ring — accessible ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Stagger utility ── */
.reveal:nth-child(1) { transition-delay: 0ms; }
.reveal:nth-child(2) { transition-delay: 70ms; }
.reveal:nth-child(3) { transition-delay: 140ms; }
.reveal:nth-child(4) { transition-delay: 210ms; }

