/* ============================================
   MANIFESTE
   ============================================ */
#manifeste {
  background: var(--sand);
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.manifeste-marquee-wrap {
  overflow: hidden;
  margin-bottom: var(--space-lg);
  padding-block: 1rem;
}

.manifeste-phrase {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(5rem, 11vw, 10rem);
  white-space: nowrap;
  color: var(--moss);
  line-height: 1;
  will-change: transform;
  display: inline-block;
  padding-right: 4rem;
}

.manifeste-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  width: min(90rem, 88vw);
  margin-inline: auto;
  padding-bottom: var(--space-md);
}

.manifeste-text p {
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  line-height: 1.9;
  color: rgba(26, 26, 26, 0.75);
  max-width: 44ch;
}

.manifeste-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  border-left: 1px solid rgba(44, 74, 46, 0.2);
  padding-left: 4rem;
}

.manifeste-stat .stat-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.75rem;
}

.manifeste-stat .stat-number {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  color: var(--moss);
  line-height: 1;
}

.manifeste-stat .stat-sub {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(26, 26, 26, 0.5);
  margin-top: 0.5rem;
}

/* ============================================
   RÉALISATIONS
   ============================================ */
#realisations {
  position: relative;
}

.realisations-stack {
  position: relative;
}

.projet-card {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  will-change: transform;
  transform-origin: center top;
}

.projet-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
}

.projet-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 20, 11, 0.75) 0%,
    rgba(10, 20, 11, 0.1) 50%,
    transparent 100%
  );
}

.projet-info {
  position: absolute;
  bottom: 4rem;
  left: 5vw;
  z-index: 2;
}

.projet-cat {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 250, 248, 0.55);
  margin-bottom: 0.5rem;
}

.projet-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4.5rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.05;
}

.projet-num {
  position: absolute;
  top: 3rem;
  right: 5vw;
  font-family: var(--font-serif);
  font-size: clamp(5rem, 12vw, 11rem);
  font-weight: 700;
  color: rgba(250, 250, 248, 0.07);
  line-height: 1;
  z-index: 2;
  pointer-events: none;
}

/* ============================================
   SERVICES
   ============================================ */
#services {
  background: var(--charcoal);
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.services-header {
  width: min(90rem, 88vw);
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: baseline;
  gap: 3rem;
}

.services-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
}

.services-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--sand);
  font-weight: 700;
  font-style: italic;
}

.service-block {
  width: min(90rem, 88vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 6rem;
  align-items: stretch;
  overflow: hidden;
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-block.reverse {
  direction: rtl;
}

.service-block.reverse > * {
  direction: ltr;
}

.service-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  will-change: clip-path;
  transform: translateZ(0);
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.service-block:hover .service-img-wrap img {
  transform: scale(1.04);
}

.service-text {
  padding: 4rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.service-num {
  font-family: var(--font-serif);
  font-size: clamp(6rem, 12vw, 11rem);
  font-weight: 700;
  color: rgba(232, 224, 208, 0.04);
  position: absolute;
  top: 0;
  right: 2rem;
  line-height: 1;
  pointer-events: none;
}

.service-name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--sand);
  margin-bottom: 1rem;
  font-style: italic;
}

.service-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(232, 224, 208, 0.55);
  max-width: 38ch;
}

.service-link {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra);
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 1.25rem;
}

.service-link span {
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--terra);
  transition: width 0.3s ease;
}

.service-link:hover span {
  width: 50px;
}

/* ============================================
   PROCESSUS
   ============================================ */
#processus {
  background: var(--sand);
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.processus-inner {
  width: min(90rem, 88vw);
  margin-inline: auto;
}

.processus-header {
  margin-bottom: var(--space-lg);
}

.processus-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.75rem;
}

.processus-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-style: italic;
  color: var(--moss);
}

.timeline-wrap {
  position: relative;
  padding-top: 3rem;
}

.timeline-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
}

.timeline-track {
  fill: none;
  stroke: rgba(44, 74, 46, 0.15);
  stroke-width: 1;
}

.timeline-progress {
  fill: none;
  stroke: var(--moss);
  stroke-width: 1.5;
  stroke-dasharray: var(--track-length, 2000);
  stroke-dashoffset: var(--track-length, 2000);
}

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 5rem;
}

.timeline-step {
  padding-right: 3rem;
  opacity: 0;
  transform: translateY(24px);
}

.step-icon {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--moss);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--moss);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 0.8rem;
  color: var(--terra);
  margin-bottom: 0.5rem;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--moss);
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(26, 26, 26, 0.6);
}

/* ============================================
   TÉMOIGNAGES
   ============================================ */
#temoignages {
  background: var(--moss);
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.temoignages-inner {
  width: min(70rem, 88vw);
  margin-inline: auto;
  text-align: center;
}

.temoignage-stage {
  position: relative;
  height: 18rem;
}

.temoignage-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  opacity: 0;
  pointer-events: none;
}

.temoignage-item.active {
  pointer-events: auto;
  opacity: 1;
}

.temoignage-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  color: var(--white);
  line-height: 1.6;
  max-width: 54ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.temoignage-quote::before {
  content: '"';
  font-size: 4em;
  line-height: 0;
  vertical-align: -0.35em;
  color: rgba(232, 224, 208, 0.15);
  margin-right: 0.1em;
}

.temoignage-author {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(232, 224, 208, 0.5);
}

.temoignage-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
}

.temoignage-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(232, 224, 208, 0.3);
  color: var(--sand);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.temoignage-arrow:hover {
  border-color: var(--sand);
  background: rgba(232, 224, 208, 0.08);
}

.temoignage-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.temoignage-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(232, 224, 208, 0.2);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.temoignage-dot.active {
  background: var(--sand);
  transform: scale(1.4);
}

/* ============================================
   CTA FINAL
   ============================================ */
#cta {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

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

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 51, 32, 0.78);
}

.cta-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 8rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 3rem;
  overflow: hidden;
}

.cta-title .word {
  display: inline-block;
  overflow: hidden;
}

.cta-title .line-break {
  display: block;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--sand);
  color: var(--charcoal);
  padding: 1.1rem 3rem;
  border-radius: 100px;
  transition: transform 0.25s var(--ease-spring), background 0.25s ease;
}

.btn-primary:hover {
  transform: scale(1.04);
  background: var(--white);
}

.btn-secondary {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  padding: 1.1rem 3rem;
  border-radius: 100px;
  border: 1px solid rgba(250, 250, 248, 0.4);
  transition: transform 0.25s var(--ease-spring), border-color 0.25s ease;
}

.btn-secondary:hover {
  transform: scale(1.04);
  border-color: rgba(250, 250, 248, 0.8);
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--charcoal);
  padding: 5rem 0 2rem;
}

.footer-inner {
  width: min(90rem, 88vw);
  margin-inline: auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(232, 224, 208, 0.08);
  margin-bottom: 2rem;
}

.footer-brand .footer-logo {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.8rem;
  color: var(--sand);
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(232, 224, 208, 0.4);
  max-width: 28ch;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(232, 224, 208, 0.45);
  transition: color 0.25s ease;
}

.footer-col ul li a:hover {
  color: var(--sand);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(232, 224, 208, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(232, 224, 208, 0.4);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.social-link:hover {
  border-color: rgba(232, 224, 208, 0.4);
  color: var(--sand);
}

.footer-disclaimer {
  margin-bottom: 1.5rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(232, 224, 208, 0.18);
  border-radius: 8px;
  background: rgba(232, 224, 208, 0.04);
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(232, 224, 208, 0.55);
  letter-spacing: 0.03em;
  text-align: center;
}

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

.footer-credit {
  color: rgba(232, 224, 208, 0.45);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 224, 208, 0.2);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-credit:hover {
  color: rgba(232, 224, 208, 0.8);
  border-color: rgba(232, 224, 208, 0.5);
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(232, 224, 208, 0.25);
  letter-spacing: 0.05em;
}
