:root {
  /* Palette */
  --color-cream: #f7f6f3;
  --color-charcoal: #141413;
  --color-terra: #d4715a;
  --color-sage: #93aa91;
  --color-jaune: #d99b6a;
  --color-sand: #e3dacc;
  --color-white: #ffffff;
  --color-rougef: #ad624d;
  --color-bleugris: #96a8aa;
  --color-peche: #e4b489;


  /* Typography */
  --font-serif: 'Fraunces', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --container-width: 1200px;
  --section-padding: 6rem;
  --section-padding-mobile: 4rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--color-cream);
  color: var(--color-charcoal);
  font-family: var(--font-sans);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  margin: 0 0 1rem 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: rgba(20, 20, 19, 0.85);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

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

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem;
  }
}

/* Utilities */
.text-terra {
  color: var(--color-terra);
}

.bg-charcoal {
  background-color: var(--color-charcoal);
  color: var(--color-cream);
}

/* Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background-color: var(--color-charcoal);
  color: var(--color-cream);
}

.btn-primary:hover {
  background-color: var(--color-terra);
  box-shadow: 0 4px 12px rgba(212, 113, 90, 0.3);
}

.btn-secondary {
  background-color: var(--color-terra);
  color: white;
}

.btn-secondary:hover {
  background-color: #c06345;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid currentColor;
  color: inherit;
}

.btn-outline:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  background-color: transparent;
  transition: transform 0.35s ease-in-out, background-color 0.3s, padding 0.3s, border-bottom 0.3s;
}

.navbar.scrolled {
  background-color: rgba(240, 238, 230, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(20, 20, 19, 0.05);
}

.navbar.scrolled .logo {
  height: 50px;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-login {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-charcoal);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: background-color 0.2s, color 0.2s;
}

.nav-login:hover {
  background-color: rgba(20, 20, 19, 0.05);
  color: var(--color-terra);
}

.nav-login svg {
  flex-shrink: 0;
}

/* Desktop Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--color-charcoal);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-terra);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--color-terra);
}

.nav-link:hover::after {
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  height: 60px;
  transition: height 0.3s ease;
}

.logo-img {
  height: 100%;
  width: auto;
  display: block;
}

@media (max-width: 768px) {
  .nav-actions {
    gap: 0.75rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }

  .nav-login span {
    display: none;
  }

  .nav-login {
    padding: 0.5rem;
  }
}

@media (max-width: 600px) {
  .logo {
    height: 45px;
  }

  /* Cacher le bouton démo et connexion sur mobile */
  .nav-actions .btn-secondary,
  .nav-login {
    display: none;
  }

  /* Garder seulement le bouton principal */
  .nav-actions {
    gap: 0;
  }
}

/* ============================================
   Hamburger Menu (Mobile)
   ============================================ */

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-charcoal);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger animation when open */
.nav-hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-cream);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mobile-menu__link {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--color-charcoal);
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

.mobile-menu__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-terra);
  transition: width 0.3s ease;
}

.mobile-menu__link:hover,
.mobile-menu__link:focus {
  color: var(--color-terra);
}

.mobile-menu__link:hover::after,
.mobile-menu__link:focus::after {
  width: 100%;
}

.mobile-menu__footer {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mobile-menu__login {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-charcoal);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.mobile-menu__login:hover {
  color: var(--color-terra);
}

/* Show hamburger only on mobile */
@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    display: none;
  }
}

/* Hero */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 8rem;
  overflow: hidden;
}

/* Grain texture overlay for organic warmth */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
}

/* Hero Initial States (hidden) */
.hero-section .hero-content h1 {
  opacity: 0;
  transform: translateX(-100px);
}

.hero-section .hero-content .hero-subhead {
  opacity: 0;
  transform: translateX(-100px);
}

.hero-section .hero-content .hero-actions {
  opacity: 0;
  transform: translateX(-100px);
}

.hero-section .blob-1 {
  opacity: 0;
  transform: translateX(-100px);
}

.hero-section .blob-2 {
  opacity: 0;
  transform: translateX(-100px);
}

.hero-section .hero-visual {
  opacity: 0;
  transform: translateX(-100px);
}

.hero-section .hero-head-wrapper {
  opacity: 1;
  transform: translateY(-50%) translateX(100%);
}

/* Hero Animations - Cinematic Staggered Entrance */
.hero-section.loaded .hero-content h1 {
  animation: slideInFromLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.6s;
}

.hero-section.loaded .hero-content .hero-subhead {
  animation: slideInFromLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.1s;
}

.hero-section.loaded .hero-content .hero-actions {
  animation: slideInFromLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.5s;
}

.hero-section.loaded .blob-2 {
  animation: slideInBlob2 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

.hero-section.loaded .hero-visual {
  animation: slideInFromLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 1.3s;
}

.hero-section.loaded .blob-1 {
  animation: slideInBlob1 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
}

.hero-section.loaded .hero-head-wrapper {
  animation: slideInHeadWrapper 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0s;
}

@keyframes slideInHeadWrapper {
  from {
    transform: translateY(-50%) translateX(100%);
  }

  to {
    transform: translateY(-50%) translateX(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRightSlow {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 0.85;
    transform: translateX(0);
  }
}

@keyframes slideInBlob1 {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 0.6;
    transform: translateX(0);
  }
}

@keyframes slideInBlob2 {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 0.2;
    transform: translateX(0);
  }
}

.hero-background-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bg-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
  animation: float 20s infinite ease-in-out;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0) scale(1);
  }

  25% {
    transform: translate(40px, -30px) rotate(45deg) scale(1.1);
  }

  50% {
    transform: translate(-20px, 20px) rotate(90deg) scale(0.9);
  }

  75% {
    transform: translate(20px, -10px) rotate(45deg) scale(1.05);
  }
}

.blob-1 {
  width: 250px;
  height: 250px;
  background-color: var(--color-sand);
  top: 8%;
  left: 45%;
  filter: blur(2px);
}

.blob-2 {
  width: 180px;
  height: 180px;
  background-color: var(--color-sage);
  bottom: 5%;
  left: 1%;
  filter: blur(5px);
  opacity: .2;
  animation-duration: 18s;
  animation-direction: reverse;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.4fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  padding-right: 1rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1.05;
  margin-bottom: 2rem;
  color: var(--color-charcoal);
  letter-spacing: -0.03em;
}

.zaprene-brand {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  position: relative;
  display: inline-block;
  color: var(--color-charcoal);
}

.zaprene-brand::after {
  content: '';
  position: absolute;
  bottom: 0.15em;
  left: -0.05em;
  right: -0.05em;
  height: 0.35em;
  background: linear-gradient(135deg, rgba(212, 113, 90, 0.25) 0%, rgba(212, 113, 90, 0.15) 100%);
  z-index: -1;
  transform: rotate(-0.5deg);
  border-radius: 2px;
}

.animated-text-wrapper {
  display: block;
  width: 100%;
  max-width: 600px;
  min-height: 2.4em;
  height: 2.4em;
  position: relative;
}

.animated-keyword {
  display: block;
  font-style: normal;
  font-weight: 500;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: normal;
  width: 100%;
  max-width: 600px;
  line-height: 1.15;
}

.animated-keyword.active {
  opacity: 1;
  transform: translateY(0);
}

.animated-keyword.exit {
  opacity: 0;
  transform: translateY(-25px);
}

.hero-subhead {
  font-size: 1.2rem;
  max-width: 540px;
  margin-bottom: 2.5rem;
  color: rgba(20, 20, 19, 0.75);
  line-height: 1.7;
}

.hero-subhead em {
  font-style: normal;
  color: var(--color-terra);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-actions .btn-primary {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  box-shadow: 0 4px 14px rgba(20, 20, 19, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-actions .btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-actions .btn-primary:hover {
  box-shadow: 0 6px 20px rgba(212, 113, 90, 0.4);
}

.hero-actions .btn-primary:hover::before {
  opacity: 1;
}

.hero-link {
  color: var(--color-charcoal);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.hero-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-terra);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-link:hover {
  color: var(--color-terra);
}

.hero-link:hover::after {
  transform: scaleX(1);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}

/* Hero Head Wrapper for Blinking Effect */
.hero-head-wrapper {
  position: absolute;
  width: 40%;
  height: auto;
  right: 0px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}

.hero-head-wrapper .hero-head-bg {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.hero-head-eyes-open {
  position: relative;
  opacity: 0.85;
}

.hero-head-eyes-closed {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.hero-head-eyes-closed.blink {
  opacity: 0.85;
}

.hero-head-eyes-open.blink {
  opacity: 0;
}

.blob-svg {
  position: relative;
  z-index: 1;
  width: 23.5vw;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.05));
  transform: translate(0, 0) rotate(0deg);
  opacity: 0.9;
  /* animation: gentleFloat 8s ease-in-out infinite; */
  /* Disabled for JS stop-motion control */
}

@keyframes gentleFloat {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(4px, -3px) rotate(0.3deg);
  }

  50% {
    transform: translate(-3px, 2px) rotate(-0.3deg);
  }

  75% {
    transform: translate(2px, -2px) rotate(0.15deg);
  }
}

/* Remove smooth transitions for stop-motion effect */
.blob-svg path {
  transition: none;
}

.blob-svg .blob-texture {
  transition: opacity 0.3s ease;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--color-charcoal);
  opacity: 0;
  cursor: pointer;
  animation: scrollBounce 2.5s ease-in-out infinite, scrollFadeIn 0.6s ease forwards 2s;
  transition: opacity 0.4s ease;
  padding: 0.5rem;
  border-radius: 50%;
}

.scroll-indicator:hover {
  opacity: 0.9;
  background-color: rgba(20, 20, 19, 0.05);
}

.scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes scrollFadeIn {
  to {
    opacity: 0.5;
  }
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

@media (max-width: 968px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 0;
  }

  .hero-content {
    padding-right: 0;
    display: contents;
  }

  .hero-content h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    order: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
  }

  .hero-visual {
    height: 300px;
    width: 100%;
    order: 2;
    position: relative;
    background-image: url('../images/characters/zaprene-character-hero-mobile.png');
    background-size: 280px auto;
    background-position: center top;
    background-repeat: no-repeat;
    margin: 0.25rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 40px;
  }

  .hero-subhead {
    margin: 0.5rem auto 2rem auto;
    order: 3;
  }

  .hero-actions {
    justify-content: center;
    order: 4;
  }

  .hero-head-wrapper {
    display: none;
  }

  .blob-svg {
    width: 100%;
    max-width: 150px;
  }

  .animated-text-wrapper {
    display: block;
    min-height: 2.8em;
    height: 2.8em;
    min-width: auto;
    max-width: 100%;
    width: 100%;
    text-align: center;
    position: relative;
  }

  .animated-keyword {
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    white-space: normal;
    width: 100%;
    max-width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
  }

  .animated-keyword.active {
    transform: translateX(-50%) translateY(0);
  }

  .animated-keyword.exit {
    transform: translateX(-50%) translateY(-20px);
  }

  /* Réduire l'opacité et la taille des blobs d'arrière-plan sur mobile */
  .blob-1 {
    width: 120px;
    height: 120px;
    opacity: 0.3;
  }

  .blob-2 {
    width: 90px;
    height: 90px;
    opacity: 0.1;
  }
}

/* Petits écrans (phones) */
@media (max-width: 600px) {
  .hero-visual {
    height: 260px;
    background-size: 240px auto;
    padding-top: 30px;
  }

  .blob-svg {
    max-width: 100px;
  }

  .hero-grid {
    gap: 0;
  }

  .hero-content h1 {
    font-size: clamp(1.5rem, 5vw, 1.85rem);
    margin-bottom: .75rem;
  }

  .animated-text-wrapper {
    min-height: 3em;
    height: 3em;
  }

  .animated-keyword {
    padding: 0 0.25rem;
    line-height: 1.2;
  }

  .hero-subhead {
    margin-top: 0.25rem;
    font-size: 1.1rem;
  }
}

/* Large screens alignment fix */
@media (min-width: 1921px) {
  .hero-visual {
    transform: translateX(calc((100vw - 1900px) / 1.5));
  }

  .hero-section.loaded .hero-visual {
    animation: slideInFromRight4K 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
  }

  @keyframes slideInFromRight4K {
    from {
      opacity: 0;
      transform: translateX(100px);
    }

    to {
      opacity: 1;
      transform: translateX(calc((100vw - 1900px) / 2.5));
    }
  }
}

/* Mission & Services Unified */
.mission-section {
  background-color: var(--color-white);
  overflow: hidden;
  padding-bottom: 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
  min-height: 500px;
  margin-bottom: 2rem;
}

.mission-visual-wrapper {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  order: 1;
}

.visual-container {
  width: 100%;
  height: 100%;
  position: relative;
  display: none;
  align-items: center;
  opacity: 0;
  justify-content: center;
}

.visual-container.active {
  display: flex;
  opacity: 1;
  animation: visualSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.visual-container.slide-out {
  display: flex;
  animation: visualSlideOut 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes visualSlideIn {
  from {
    opacity: 0;
    transform: translateX(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes visualSlideOut {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(-30px) scale(0.95);
  }
}

/* Mission Blob SVG */
.mission-blob-svg {
  width: 100%;
  height: auto;
  max-width: 320px;
  overflow: visible;
  filter: drop-shadow(0px 10px 30px rgba(0, 0, 0, 0.1));
  animation: missionBlobFloat 8s ease-in-out infinite;
}

.mission-blob-svg path {
  transition: none;
}

@keyframes missionBlobFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(5px, -8px) rotate(2deg);
  }
  50% {
    transform: translate(-3px, 5px) rotate(-1deg);
  }
  75% {
    transform: translate(4px, -3px) rotate(1deg);
  }
}

.organic-frame-wrapper {
  position: relative;
  width: 320px;
  height: 440px;
}

.frame-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ddd;
  clip-path: url(#organic-blob-clip);
  z-index: 2;
  overflow: hidden;
}

.frame-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e3dacc 0%, #dcd3c5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(20, 20, 19, 0.3);
  font-family: var(--font-serif);
  font-style: italic;
}

.photo-credit {
  position: absolute;
  bottom: -4rem;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(20, 20, 19, 0.6);
  font-style: italic;
  margin: 0;
  white-space: nowrap;
}

.frame-backdrop {
  position: absolute;
  top: 20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: 2px solid var(--color-terra);
  opacity: 0.3;
  border-radius: 45% 55% 40% 60% / 50% 60% 40% 50%;
  z-index: 1;
}

.mission-content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  order: 2;
}

/* Mission Tabs Header */
.mission-tabs-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.mission-tab-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  background: none;
  border: none;
  padding: 0.25rem 0;
  cursor: pointer;
  position: relative;
  color: rgba(20, 20, 19, 0.35);
  transition: color 0.3s ease;
}

.mission-tab-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-terra);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-tab-title:hover {
  color: var(--color-terra);
}

.mission-tab-title.active {
  color: var(--color-terra);
}

.mission-tab-title.active::after {
  width: 100%;
}

.tab-divider {
  color: rgba(20, 20, 19, 0.2);
  font-weight: 300;
  user-select: none;
}

.mission-text-area {
  min-height: 320px;
  position: relative;
  overflow: hidden;
  transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-slide-content {
  display: none;
  opacity: 0;
}

.mission-slide-content.active {
  display: block;
  opacity: 1;
  animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mission-slide-content.slide-out {
  display: block;
  animation: slideOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

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

.mission-slide-content h2 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 2rem;
  color: var(--color-charcoal);
}

.mission-body p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4a4a48;
  margin-bottom: 1.5rem;
}

.mission-body .stat {
  color: var(--color-terra);
  font-weight: 600;
}

.signature {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-charcoal);
  display: block;
  margin-top: 1rem;
}


@media (max-width: 968px) {
  .mission-grid {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    gap: 1rem;
  }

  .mission-content-wrapper {
    display: contents;
  }

  .mission-label-container {
    order: 1;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
  }

  .mission-text-area {
    order: 2;
    min-height: auto;
    margin-bottom: 1rem;
  }

  .mission-visual-wrapper {
    order: 3;
    height: auto;
    min-height: 0;
    margin: 1.5rem 0 3.5rem 0;
  }

  .mission-tabs-header {
    justify-content: center;
  }

  .photo-credit {
    bottom: -3rem;
  }

  .mission-slide-content h2 {
    font-size: 2rem;
  }

  .shape-1,
  .shape-2 {
    display: none;
  }

  .organic-frame-wrapper {
    width: 220px;
    height: 300px;
  }
}

.hand-drawn-divider {
  width: 180px;
  height: 24px;
  margin: 4rem auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.hand-drawn-divider svg {
  width: 100%;
  height: 100%;
}

.services-content {
  padding-top: 2rem;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  box-shadow: 2px 2px 0px rgba(20, 20, 19, 0.05);
  border: 1px solid rgba(20, 20, 19, 0.03);
  transition: transform 0.3s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 4px 4px 0px rgba(20, 20, 19, 0.1);
}

.service-icon-wrapper {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: border-radius 0.4s ease-in-out, transform 0.3s ease;
}

/* Blobs distincts pour chaque service */
.service-card:nth-child(1) .service-icon-wrapper {
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.service-card:nth-child(2) .service-icon-wrapper {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.service-card:nth-child(3) .service-icon-wrapper {
  border-radius: 45% 55% 40% 60% / 50% 60% 40% 50%;
}

/* Effet de morphing au hover */
.service-card:hover .service-icon-wrapper {
  transform: scale(1.05);
  border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.service-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  margin-bottom: 0.75rem;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--color-charcoal);
}

.service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-terra);
  font-weight: bold;
}

/* Keyframes pour animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drawLine {
  from {
    stroke-dashoffset: 200;
  }

  to {
    stroke-dashoffset: 0;
  }
}

/* Timeline Horizontale */
.services-timeline {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.timeline-step {
  flex: 1;
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  position: relative;
  border: 1px solid rgba(20, 20, 19, 0.03);
  box-shadow: 2px 2px 0px rgba(20, 20, 19, 0.05);
  transition: transform 0.3s, box-shadow 0.2s;
  opacity: 0;
}

.timeline-step:hover {
  transform: translateY(-8px);
  box-shadow: 4px 4px 0px rgba(20, 20, 19, 0.1);
}

/* Animations au scroll */
.timeline-step.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.timeline-step:nth-child(1).animate {
  animation-delay: 0.2s;
}

.timeline-step:nth-child(3).animate {
  animation-delay: 0.5s;
}

.timeline-step:nth-child(5).animate {
  animation-delay: 0.8s;
}

.step-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--color-terra);
  opacity: 0.2;
}

.step-icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem auto;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-radius 0.4s ease-in-out, transform 0.3s ease;
}

.timeline-step:hover .step-icon-wrapper {
  transform: scale(1.05);
  border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
}

.timeline-step h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.timeline-step .service-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.5rem;
}

.timeline-step .service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.timeline-step .service-list li {
  margin-bottom: 0.75rem;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--color-charcoal);
}

.timeline-step .service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-terra);
  font-weight: bold;
}

.timeline-connector {
  display: flex;
  align-items: center;
  width: 80px;
  flex-shrink: 0;
  opacity: 0;
}

.timeline-connector.animate {
  animation: fadeInUp 0.4s ease forwards;
}

.timeline-connector:nth-child(2).animate {
  animation-delay: 0.6s;
}

.timeline-connector:nth-child(4).animate {
  animation-delay: 0.9s;
}

.arrow-organic {
  width: 100%;
  height: 40px;
}

.arrow-organic path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

.timeline-connector.animate .arrow-organic path {
  animation: drawLine 0.8s ease forwards;
}

.timeline-connector:nth-child(2).animate .arrow-organic path {
  animation-delay: 0.7s;
}

.timeline-connector:nth-child(4).animate .arrow-organic path {
  animation-delay: 1s;
}

/* Responsive Timeline */
@media (max-width: 968px) {
  .services-timeline {
    flex-direction: column;
    gap: 2rem;
  }

  .timeline-connector {
    transform: rotate(90deg);
    height: 60px;
    width: 40px;
    align-self: center;
  }
}

/* ============================================
   Process Flow Immersif - Option C
   ============================================ */

.services-content--immersive {
  background-color: var(--color-white);
  padding: 3rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.process-flow {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* Header */
.process-flow__header {
  text-align: center;
  margin-bottom: 5rem;
}

.process-flow__eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-terra);
  display: block;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.process-flow__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--color-charcoal);
  margin-bottom: 1rem;
}

.process-flow__subtitle {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  color: rgba(20, 20, 19, 0.7);
  max-width: 650px;
  margin: 0 auto;
}

/* Steps Container */
.process-flow__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

/* Individual Step */
.process-step {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 1rem;
  opacity: 0;
  transform: translateY(30px);
  cursor: default;
}

.process-step.animate {
  animation: processStepIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.process-step:nth-child(1).animate { animation-delay: 0.1s; }
.process-step:nth-child(3).animate { animation-delay: 0.4s; }
.process-step:nth-child(5).animate { animation-delay: 0.7s; }

@keyframes processStepIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  60% {
    opacity: 1;
    transform: translateY(-8px) scale(1.02);
  }
  80% {
    transform: translateY(3px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* État post-animation : permet les transitions hover */
.process-step.animate-complete {
  animation: none;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-step.animate-complete:hover {
  transform: translateY(-10px) scale(1.03);
}

.process-step.animate-complete:hover .process-step__visual {
  filter: drop-shadow(0 20px 40px rgba(212, 113, 90, 0.15));
}

/* Visual Container (rings + icon) */
.process-step__visual {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 2rem auto;
  transition: filter 0.4s ease;
}

/* Organic Blob Rings */
.process-step__rings {
  position: absolute;
  inset: 0;
}

.process-step__ring {
  position: absolute;
  border: 1.5px solid rgba(212, 113, 90, 0.25);
}

.process-step__ring--outer {
  inset: 0;
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  animation: blobPulse1 8s ease-in-out infinite;
}

.process-step__ring--middle {
  inset: 20px;
  border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
  animation: blobPulse2 8s ease-in-out infinite 0.8s;
}

.process-step__ring--inner {
  inset: 40px;
  border-radius: 55% 45% 50% 50% / 40% 60% 45% 55%;
  animation: blobPulse3 8s ease-in-out infinite 1.6s;
}

@keyframes blobPulse1 {
  0%, 100% {
    opacity: 0.25;
    border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.5;
    border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
    transform: scale(1.02) rotate(3deg);
  }
}

@keyframes blobPulse2 {
  0%, 100% {
    opacity: 0.2;
    border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.45;
    border-radius: 55% 45% 50% 50% / 40% 60% 45% 55%;
    transform: scale(1.03) rotate(-3deg);
  }
}

@keyframes blobPulse3 {
  0%, 100% {
    opacity: 0.15;
    border-radius: 55% 45% 50% 50% / 40% 60% 45% 55%;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.4;
    border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
    transform: scale(1.04) rotate(2deg);
  }
}

/* Icon Container */
.process-step__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 60% 40% 55% 45% / 45% 55% 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.process-step__icon--sage {
  background: var(--color-sage);
  color: var(--color-charcoal);
  box-shadow: 0 8px 30px rgba(188, 209, 202, 0.4);
}

.process-step__icon--terra {
  background: var(--color-terra);
  color: var(--color-charcoal);
  box-shadow: 0 8px 30px rgba(212, 113, 90, 0.35);
}

.process-step__icon--sand {
  background: var(--color-sand);
  color: var(--color-charcoal);
  box-shadow: 0 8px 30px rgba(227, 218, 204, 0.5);
}

.process-step:hover .process-step__icon {
  transform: translate(-50%, -50%) scale(1.03);
}

.process-step:hover .process-step__icon--sage {
  box-shadow: 0 12px 40px rgba(188, 209, 202, 0.6);
}

.process-step:hover .process-step__icon--terra {
  box-shadow: 0 12px 40px rgba(212, 113, 90, 0.5);
}

.process-step:hover .process-step__icon--sand {
  box-shadow: 0 12px 40px rgba(227, 218, 204, 0.7);
}

/* Step Number */
.process-step__number {
  position: absolute;
  bottom: -10px;
  right: 10px;
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  color: var(--color-terra);
  opacity: 0.2;
  line-height: 1;
}

/* Content */
.process-step__content {
  padding: 0 0.5rem;
}

.process-step__title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-charcoal);
  margin-bottom: 0.5rem;
}

.process-step__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--color-terra);
  margin-bottom: 1.5rem;
}

.process-step__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.process-step__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  line-height: 1.5;
}

.process-step__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--color-terra);
  border-radius: 50%;
}

/* Connector */
.process-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  flex-shrink: 0;
  position: relative;
  align-self: center;
  margin-top: -60px;
  opacity: 0;
}

.process-connector.animate {
  animation: fadeIn 0.5s ease forwards;
}

.process-connector:nth-child(2).animate { animation-delay: 0.3s; }
.process-connector:nth-child(4).animate { animation-delay: 0.6s; }

@keyframes fadeIn {
  to { opacity: 1; }
}

.process-connector__path {
  width: 100%;
  height: 60px;
}

.process-connector__path path {
  stroke-dasharray: 8 6;
  animation: dashMove 10s linear infinite;
}

@keyframes dashMove {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -56;
  }
}

.process-connector__dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--color-terra);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 15px rgba(212, 113, 90, 0.6);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.7;
  }
}

/* Responsive Process Flow */
@media (max-width: 968px) {
  .services-content--immersive {
    padding: 4rem 0;
  }

  .process-flow__header {
    margin-bottom: 3rem;
  }

  .process-flow__steps {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .process-step {
    max-width: 100%;
    width: 100%;
  }

  .process-step__visual {
    width: 140px;
    height: 140px;
  }

  .process-step__icon {
    width: 70px;
    height: 70px;
  }

  .process-step__icon svg {
    width: 30px;
    height: 30px;
  }

  .process-connector {
    transform: rotate(90deg);
    width: 80px;
    margin-top: 0;
    margin: 1rem 0;
  }

  .process-step__list {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .process-flow__title {
    font-size: 2rem;
  }

  .process-step__visual {
    width: 120px;
    height: 120px;
  }

  .process-step__ring--middle {
    inset: 15px;
  }

  .process-step__ring--inner {
    inset: 30px;
  }

  .process-step__icon {
    width: 60px;
    height: 60px;
  }

  .process-step__number {
    font-size: 3rem;
  }
}

/* Values */
.values-section {
  background-color: var(--color-cream);
  position: relative;
  overflow: hidden;
}

/* Organic shape background */
.values-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(188, 209, 202, 0.15) 0%, transparent 70%);
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  top: -100px;
  right: -150px;
  pointer-events: none;
  animation: floatShape 20s ease-in-out infinite;
}

.values-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(212, 113, 90, 0.08) 0%, transparent 70%);
  border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
  bottom: -80px;
  left: -100px;
  pointer-events: none;
  animation: floatShape 25s ease-in-out infinite reverse;
}

@keyframes floatShape {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(20px, -15px) rotate(5deg);
  }
  66% {
    transform: translate(-15px, 10px) rotate(-3deg);
  }
}

.values-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  position: relative;
  z-index: 1;
}

.values-pre-title {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-terra);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.values-header h2 {
  font-size: 2.75rem;
  color: var(--color-charcoal);
}

.values-grid-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.value-card-v2 {
  background-color: white;
  padding: 3rem;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(20, 20, 19, 0.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  opacity: 0;
  transform: translateY(40px);
}

.value-card-v2.animate {
  animation: valueCardIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.value-card-v2:nth-child(1).animate { animation-delay: 0.1s; }
.value-card-v2:nth-child(2).animate { animation-delay: 0.15s; }
.value-card-v2:nth-child(3).animate { animation-delay: 0.2s; }
.value-card-v2:nth-child(4).animate { animation-delay: 0.25s; }

@keyframes valueCardIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.value-card-v2.animate-complete {
  animation: none;
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.value-card-v2.animate-complete:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.value-card-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.value-icon-v2 {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Blobs animés pour Standards */
.value-icon-blob {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-radius 0.4s ease-in-out, transform 0.3s ease, box-shadow 0.3s ease;
  animation: blobBreathing 5s ease-in-out infinite;
}

.value-icon-blob--1 { animation-delay: 0s; }
.value-icon-blob--2 { animation-delay: 1.25s; }
.value-icon-blob--3 { animation-delay: 2.5s; }
.value-icon-blob--4 { animation-delay: 3.75s; }

@keyframes blobBreathing {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.value-icon-blob--1 {
  background-color: var(--color-terra);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.value-icon-blob--2 {
  background-color: var(--color-sage);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.value-icon-blob--3 {
  background-color: var(--color-charcoal);
  border-radius: 45% 55% 40% 60% / 50% 60% 40% 50%;
}

.value-icon-blob--4 {
  background-color: var(--color-sand);
  border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%;
}

/* Morphing au hover */
.value-card-v2.animate-complete:hover .value-icon-blob {
  animation: none;
  transform: scale(1.12);
  border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
  box-shadow: 0 8px 25px rgba(212, 113, 90, 0.25);
}

.value-card-v2 h3 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--color-charcoal);
}

.value-card-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(20, 20, 19, 0.8);
  margin-bottom: 0;
}

.value-highlight {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(20, 20, 19, 0.05);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-charcoal);
}

@media (max-width: 968px) {
  .values-grid-v2 {
    grid-template-columns: 1fr;
  }

  .value-card-v2 {
    padding: 2rem;
  }
}

/* Process */
.process-section-dark {
  background: linear-gradient(135deg, #1a1918 0%, var(--color-charcoal) 50%, #1a1918 100%);
  color: var(--color-cream);
  padding: 8rem 0;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.process-intro-col {
  position: sticky;
  top: 120px;
}

.process-label {
  font-family: var(--font-serif);
  color: var(--color-terra);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: block;
}

.text-cream {
  color: var(--color-cream);
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.process-desc-main {
  font-size: 1.15rem;
  color: rgba(240, 238, 230, 0.7);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.process-desc-main strong {
  color: white;
  font-weight: 600;
}

.differentiator-box {
  border: 1px solid rgba(212, 113, 90, 0.3);
  background: rgba(212, 113, 90, 0.05);
  padding: 2rem;
  border-radius: var(--radius-md);
}

.diff-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-terra);
  margin-bottom: 0.5rem;
}

.differentiator-box p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.process-steps-col {
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem 0;
  cursor: pointer;
  transition: border-color 0.3s;
}

.accordion-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-item:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.accordion-item.open .step-title {
  color: var(--color-terra);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.2);
  width: 50px;
}

.step-title {
  flex: 1;
  font-size: 1.75rem;
  margin: 0;
  color: var(--color-cream);
  transition: color 0.3s;
}

.accordion-icon {
  color: var(--color-terra);
  display: flex;
  align-items: center;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.3s;
  opacity: 0;
}

.accordion-item.open .accordion-content {
  max-height: 500px;
  opacity: 1;
}

.accordion-body {
  padding-top: 1.5rem;
  padding-left: 50px;
  padding-right: 40px;
}

.accordion-body p {
  color: rgba(240, 238, 230, 0.8);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.step-tag {
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 968px) {
  .process-layout {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .process-intro-col {
    position: static;
  }

  .step-title {
    font-size: 1.4rem;
  }

  .accordion-body {
    padding-left: 0;
    padding-right: 0;
  }

  .step-number {
    display: none;
  }
}

/* Contact */
.contact-section {
  background-color: var(--color-sage);
  color: var(--color-charcoal);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-terra), #f5b89e);
}

/* Background head image */
.contact-head-bg {
  position: absolute;
  width: 35%;
  height: auto;
  left: 2%;
  bottom: 0;
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}

/* Wrapper du blob SVG */
.contact-blob-wrapper {
  position: absolute;
  left: 13%;
  bottom: 20%;
  width: 15%;
  height: auto;
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 1;
}

/* SVG blob with stop-motion effect */
.contact-blob-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.05));
  animation: gentleFloat 10s ease-in-out infinite;
}

/* Remove smooth transitions for stop-motion effect */
.contact-blob-svg path {
  transition: none;
}

.contact-blob-svg .contact-blob-texture {
  transition: opacity 0.3s ease;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Scroll animations for contact elements */
.contact-text {
  opacity: 0;
  transform: translateX(-30px);
}

.contact-text.animate {
  animation: contactSlideIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.contact-form-wrapper {
  opacity: 0;
  transform: translateX(30px);
}

.contact-form-wrapper.animate {
  animation: contactSlideInRight 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.15s;
}

@keyframes contactSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes contactSlideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.contact-form-wrapper.animate-complete {
  animation: none;
  opacity: 1;
  transform: translateX(0);
}

.contact-grid.fade-out {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}

.contact-text h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-charcoal);
}

.contact-text p {
  font-size: 1.25rem;
  color: rgba(20, 20, 19, 0.7);
}

.contact-form-wrapper {
  background-color: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  color: var(--color-charcoal);
  box-shadow: 0 10px 40px rgba(20, 20, 19, 0.12), 0 2px 8px rgba(20, 20, 19, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(20, 20, 19, 0.15), 0 4px 12px rgba(20, 20, 19, 0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

/* Honeypot anti-spam - invisible pour les humains */
.form-group--honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.form-group label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-charcoal);
  transition: color 0.2s ease;
}

.form-group:focus-within label {
  color: var(--color-terra);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  border: 1px solid rgba(20, 20, 19, 0.15);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  background: white;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: rgba(20, 20, 19, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-terra);
  box-shadow: 0 0 0 3px rgba(212, 113, 90, 0.1);
}

/* Submit button enhanced */
.contact-form .submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.contact-form .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 113, 90, 0.4);
}

.contact-form .submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(212, 113, 90, 0.3);
}

.contact-form .submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-footer {
  text-align: center;
  color: #666;
  margin-top: 0.5rem;
}

.form-footer small {
  font-size: 0.85rem;
  opacity: 0.8;
}

.contact-success {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.contact-success.active {
  opacity: 1;
  visibility: visible;
}

.contact-success__card {
  background: var(--color-cream);
  padding: 3rem 4rem;
  border-radius: 1.5rem;
  max-width: 500px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-success.active .contact-success__card {
  transform: scale(1) translateY(0);
}

.contact-success h2 {
  color: var(--color-terra);
  margin-bottom: 1rem;
}

.contact-success p {
  color: var(--color-charcoal);
  margin-bottom: 2rem;
}

@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-head-bg {
    width: 50%;
    left: -10%;
    bottom: 0;
    opacity: 0.6;
  }

  .contact-blob-wrapper {
    left: 10%;
    bottom: 20%;
    width: 18%;
  }
}

@media (max-width: 768px) {
  .contact-blob-wrapper {
    left: 8%;
    bottom: 18%;
    width: 20%;
    opacity: 0.6;
  }

  .contact-head-bg {
    width: 60%;
    left: -15%;
    bottom: 0;
    opacity: 0.5;
  }
}

/* FAQ */
.faq-section {
  background-color: var(--color-cream);
  padding: var(--section-padding) 0;
}

.faq-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.faq-pre-title {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-terra);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.faq-header h2 {
  font-size: 2.75rem;
  color: var(--color-charcoal);
  margin-bottom: 1rem;
}

.faq-header p {
  font-size: 1.125rem;
  color: rgba(20, 20, 19, 0.7);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(20, 20, 19, 0.05);
  box-shadow: 2px 2px 0px rgba(20, 20, 19, 0.05);
  transition: transform 0.3s, box-shadow 0.2s;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 4px 4px 0px rgba(20, 20, 19, 0.1);
}

.faq-item-featured {
  grid-column: span 2;
}

.faq-question {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-charcoal);
  margin-bottom: 1rem;
}

.faq-answer {
  color: rgba(20, 20, 19, 0.8);
  line-height: 1.7;
}

.faq-answer p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .faq-header h2 {
    font-size: 2rem;
  }

  .faq-item {
    padding: 1.5rem;
  }

  .faq-item-featured {
    grid-column: span 1;
  }

  .faq-question {
    font-size: 1.125rem;
  }
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  background-color: var(--color-charcoal);
  color: rgba(255, 255, 255, 0.6);
  padding-top: 4rem;
}

/* Footer Grid (4 colonnes) */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Colonne Logo/Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  width: 70%;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  max-width: 280px;
}

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

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--color-terra);
  color: white;
  transform: translateY(-2px);
}

/* Colonnes de navigation */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-cream);
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

/* Coordonnées avec icônes */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--color-terra);
}

/* Bottom Bar */
.footer-bottom {
  background-color: var(--color-charcoal);
  padding: 1rem 0;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
}

.footer-bottom-content p {
  color: rgba(255, 255, 255, 0.6);
}

.footer-copyright {
  margin: 0;
}

.footer-made {
  margin: 0;
  font-size: 0.8rem;
}

.footer-made .heart {
  color: var(--color-terra);
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.footer-company {
  margin: 0;
  font-size: 0.75rem;
}

.footer-company a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-company a:hover {
  color: var(--color-terra);
}

/* Responsive */
@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    /* Logo prend toute la largeur */
  }
}

@media (max-width: 600px) {
  .footer {
    padding-top: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-logo {
    height: 40px;
  }

  .footer-bottom {
    padding: 0.75rem 0;
  }

  .footer-bottom-content {
    gap: 0.75rem;
  }
}

/* ============================================
   Page Dots Navigation (Sticky)
   ============================================ */

.page-dots {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-dots.visible {
  opacity: 1;
  visibility: visible;
}

.page-dot {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-sand);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}

.page-dot:hover {
  transform: scale(1.2);
  background-color: var(--color-terra);
}

.page-dot.active {
  background-color: var(--color-terra);
  border-color: var(--color-terra);
  box-shadow: 0 0 0 3px rgba(212, 113, 90, 0.2);
}

.page-dot__label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.page-dot:hover .page-dot__label,
.page-dot:focus .page-dot__label {
  opacity: 1;
  visibility: visible;
}

/* Hide dots on mobile */
@media (max-width: 968px) {
  .page-dots {
    display: none;
  }
}

/* ============================================
   Back to Top Button
   ============================================ */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-charcoal);
  color: var(--color-cream);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-terra);
  transform: translateY(-3px);
}

.back-to-top:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }
}