/* Variables */
:root {
  --primaire: #0A0A0A;
  --texte: #0A0A0A;
  --texte-doux: #6B6B6B;
  --fond: #FFFFFF;
  --fond-secondaire: #F5F5F3;
  --bordure: rgba(0, 0, 0, 0.10);
  --font-titre: 'Syne', sans-serif;
  --font-corps: 'Lato', sans-serif;
  --section-padding: 100px 48px;
  --max-width: 1200px;
  --radius: 8px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-corps);
  font-weight: 400;
  color: var(--texte);
  background-color: var(--fond);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

/* Layout */
nav,
section,
footer {
  width: 100%;
}

main {
  width: 100%;
}

/* Nav */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 64px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bordure);
  z-index: 100;
  transition: background 0.3s ease;
}

#nav.opaque {
  background: rgba(255, 255, 255, 0.98);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 64px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-mark {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.nav-logo-text {
  height: 18px;
  width: auto;
}

[data-theme="dark"] .nav-logo-mark,
[data-theme="dark"] .nav-logo-text {
  filter: invert(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-family: var(--font-corps);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--texte-doux);
  transition: color 0.2s ease;
}

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

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--texte);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

#nav.nav-open .nav-hamburger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

#nav.nav-open .nav-hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#nav.nav-open .nav-hamburger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav panel */
.nav-mobile {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease;
  border-top: 1px solid transparent;
}

#nav.nav-open .nav-mobile {
  max-height: 280px;
  border-top-color: var(--bordure);
}

.nav-mobile ul {
  padding: 8px 20px 20px;
  display: flex;
  flex-direction: column;
}

.nav-mobile ul li a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-family: var(--font-corps);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--texte);
  border-bottom: 1px solid var(--bordure);
  transition: color 0.2s ease;
}

.nav-mobile ul li:last-child a {
  border-bottom: none;
}

.nav-mobile ul li a:hover {
  color: var(--texte-doux);
}

/* Hero */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--fond);
  padding-top: 64px;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-padding);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--texte-doux);
  border: 1px solid var(--bordure);
  padding: 6px 14px;
  border-radius: 100px;
  width: fit-content;
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.1s;
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
}

.hero-titre {
  font-family: var(--font-titre);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.25s;
}

.hero-underline {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
}

.tw-cursor {
  display: inline;
  font-weight: 300;
  animation: tw-blink 0.7s step-end infinite;
}

.tw-cursor.hidden {
  animation: none;
  opacity: 0;
}

@keyframes tw-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-sous-titre {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--texte-doux);
  line-height: 1.7;
  max-width: 520px;
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.4s;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.55s;
}

.btn-plein {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--primaire);
  color: #FFFFFF;
  font-size: 0.9375rem;
  font-weight: 400;
  border-radius: var(--radius);
  transition: opacity 0.2s ease;
}

.btn-plein:hover { opacity: 0.85; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border: 1px solid var(--bordure);
  font-size: 0.9375rem;
  font-weight: 400;
  border-radius: var(--radius);
  transition: border-color 0.2s ease;
}

.btn-outline:hover { border-color: var(--texte); }

/* Sections communes */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-padding);
}

.section-titre {
  font-family: var(--font-titre);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-sous-titre {
  font-size: 1rem;
  color: var(--texte-doux);
  margin-bottom: 56px;
}

/* À Propos */
#apropos {
  background: var(--fond);
}

.apropos-bloc {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
}

.apropos-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--bordure);
}

.apropos-contenu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.125rem;
  color: var(--texte-doux);
  max-width: 800px;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .apropos-bloc { flex-direction: column; gap: 24px; align-items: center; text-align: center; }
  .apropos-photo { width: 140px; height: 140px; }
}

.apropos-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--bordure);
  padding-top: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-chiffre {
  font-family: var(--font-titre);
  font-size: 2rem;
  font-weight: 700;
  color: var(--texte);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--texte-doux);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Réalisations */
#realisations {
  background: var(--fond-secondaire);
}

.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--fond);
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

.card-visual {
  height: 160px;
  margin: -32px -32px 20px -32px;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-titre);
  font-size: 1.25rem;
  font-weight: 700;
}

.card-visual-epicure {
  background-image: linear-gradient(rgba(13,13,11,0.35), rgba(13,13,11,0.35)), url('./assets/epicure/hero.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.card-visual-nature {
  background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url('./assets/nature/hero.png');
  background-size: cover;
  background-position: center;
  position: relative;
}

.card-visual-alma {
  background-image: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('https://images.unsplash.com/photo-1483985988355-763728e1935b?q=80&w=800&auto=format&fit=crop');
  background-size: cover;
  background-position: center top;
  position: relative;
}

.card-palette-labels {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  font-family: monospace;
  font-size: 0.625rem;
  letter-spacing: 0.05em;
}

.card-palette-light {
  color: rgba(255, 255, 255, 0.6);
}

.card-palette-dark {
  color: rgba(0, 0, 0, 0.38);
}

.card-lien-site {
  font-size: 0.875rem;
  color: var(--texte-doux);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.card-lien-site:hover {
  color: var(--texte);
}

.card-lien-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.card-lien-site:hover .card-lien-arrow {
  transform: translateX(4px);
}

.card-visual-projet {
  background: #F5F5F3;
  color: var(--texte-doux);
  font-size: 2rem;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.card-dashed {
  border-style: dashed;
  background: transparent;
}

.card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.card-titre {
  font-family: var(--font-titre);
  font-size: 1.25rem;
  font-weight: 700;
}

.card-desc {
  font-size: 0.9375rem;
  color: var(--texte-doux);
  line-height: 1.6;
  flex: 1;
}

.card-footer {
  margin-top: 8px;
}

.card-tech {
  font-size: 0.75rem;
  color: var(--texte-doux);
  letter-spacing: 0.04em;
}

.card-link {
  font-size: 0.9375rem;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Tarifs */
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.tarif-card {
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  background: var(--fond);
}

.tarif-populaire {
  border: 1.5px solid var(--primaire);
}

.tarif-badge-pop {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--primaire);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.tarif-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tarif-nom {
  font-family: var(--font-titre);
  font-size: 1.375rem;
  font-weight: 700;
}

.tarif-desc {
  font-size: 0.9rem;
  color: var(--texte-doux);
  line-height: 1.5;
}

.tarif-prix {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.tarif-montant {
  font-family: var(--font-titre);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tarif-detail {
  font-size: 0.875rem;
  color: var(--texte-doux);
}

.tarif-maintenance {
  font-size: 0.875rem;
  color: var(--texte-doux);
  margin-top: -8px;
}

.tarif-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tarif-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.tarif-features li::before {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}

.feat-oui {
  color: var(--texte);
}

.feat-oui::before {
  content: '✓';
  background: #DCFCE7;
  color: #16A34A;
}

.feat-non {
  color: var(--texte-doux);
}

.feat-non::before {
  content: '✕';
  background: #F5F5F3;
  color: #9CA3AF;
}

.tarif-btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

/* Contact */
#contact {
  background: var(--fond-secondaire);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-intro {
  font-size: 1rem;
  color: var(--texte-doux);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 36px;
  max-width: 360px;
}

.contact-liste {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.contact-liste li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--texte-doux);
}

.contact-liste svg {
  flex-shrink: 0;
}

.contact-liste a:hover {
  color: var(--texte);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--texte-doux);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  background: var(--fond);
  font-size: 0.9375rem;
  transition: border-color 0.2s ease;
  resize: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--texte);
}

.form-group input.erreur,
.form-group textarea.erreur {
  border-color: #EF4444;
}

/* Custom select */
.select-custom {
  position: relative;
}

.select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid var(--bordure);
  border-radius: var(--radius);
  background: var(--fond);
  font-size: 0.9375rem;
  font-family: var(--font-corps);
  color: var(--texte-doux);
  cursor: pointer;
  transition: border-color 0.2s ease;
  text-align: left;
}

.select-trigger:focus {
  border-color: var(--texte);
  outline: none;
}

.select-trigger svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--texte-doux);
}

.select-custom.open .select-trigger {
  border-color: var(--texte);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.select-custom.open .select-trigger svg {
  transform: rotate(180deg);
}

.select-trigger.has-value {
  color: var(--texte);
}

.select-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--fond);
  border: 1px solid var(--texte);
  border-top: none;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  z-index: 10;
  overflow: hidden;
}

.select-custom.open .select-dropdown {
  display: block;
}

.select-dropdown li {
  padding: 12px 16px;
  font-size: 0.9375rem;
  font-family: var(--font-corps);
  color: var(--texte);
  cursor: pointer;
  transition: background 0.15s ease;
}

.select-dropdown li:hover {
  background: var(--fond-secondaire);
}

.select-dropdown li.selected {
  font-weight: 700;
}

.form-submit {
  width: 100%;
  justify-content: center;
  cursor: pointer;
}

.form-erreur {
  font-size: 0.875rem;
  color: #EF4444;
  min-height: 20px;
}

/* Footer */
#footer {
  border-top: 1px solid var(--bordure);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-nom {
  font-family: var(--font-titre);
  font-size: 0.9375rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-legales {
  font-size: 0.875rem;
  color: var(--texte-doux);
  transition: color 0.2s ease;
}

.footer-legales:hover {
  color: var(--texte);
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--texte-doux);
}

/* Curseur Caméléon */
@media (pointer: fine) {
  .card, .card * {
    cursor: none;
  }
}

#cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: var(--texte);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease, border 0.3s ease, opacity 0.2s ease;
  will-change: transform;
}

#cursor.cursor-epicure,
#cursor.cursor-nature,
#cursor.cursor-alma {
  opacity: 1;
}

#cursor.cursor-epicure {
  width: 60px;
  height: 60px;
  background-color: transparent;
  border: 1px solid #C9A96E;
}

#cursor.cursor-nature {
  width: 40px;
  height: 40px;
  background-color: #6B8F6B;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.8;
}

#cursor.cursor-alma {
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: 2px solid var(--texte);
  border-radius: 0;
}

@media (hover: none) and (pointer: coarse) {
  #cursor {
    display: none !important;
  }
}

/* Slider Avant/Après */
.ba-slider {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  user-select: none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
  margin-bottom: 40px;
}

.ba-image-before, .ba-image-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-image-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-image-after {
  --split-pos: 50%;
  clip-path: inset(0 calc(100% - var(--split-pos)) 0 0);
}

.ba-handle {
  position: absolute;
  top: 0;
  left: var(--split-pos, 50%);
  width: 4px;
  height: 100%;
  background: #0A0A0A;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: pan-y;
}

.ba-handle::before {
  content: '';
  position: absolute;
  width: 44px;
  height: 44px;
  background: #0A0A0A;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  z-index: -1;
  transition: transform 0.2s ease;
}

.ba-handle:active::before {
  transform: scale(0.9);
}

.ba-handle svg {
  color: white;
}

.ba-labels {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.ba-label {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-family: var(--font-corps);
  font-size: 0.8125rem;
  padding: 8px 16px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: auto;
  cursor: pointer;
  transition: background 0.2s ease;
}

.ba-label:hover {
  background: rgba(0, 0, 0, 0.88);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Theme toggle */
.theme-toggle {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bordure);
  border-radius: 50%;
  cursor: pointer;
  color: var(--texte-doux);
  transition: border-color 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  border-color: var(--texte);
  color: var(--texte);
}

.icon-sun { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

/* Dark mode */
[data-theme="dark"] {
  --primaire: #EFEFEF;
  --texte: #EFEFEF;
  --texte-doux: #999999;
  --fond: #111111;
  --fond-secondaire: #1A1A1A;
  --bordure: rgba(255, 255, 255, 0.10);
}

[data-theme="dark"] #nav {
  background: rgba(17, 17, 17, 0.85);
}

[data-theme="dark"] #nav.opaque {
  background: rgba(17, 17, 17, 0.98);
}

[data-theme="dark"] .btn-plein {
  color: #111111;
}

[data-theme="dark"] .tarif-badge-pop {
  color: #111111;
}

[data-theme="dark"] .card-visual-projet {
  background: #1A1A1A;
}

[data-theme="dark"] .feat-oui::before {
  background: #1A3A1A;
  color: #4ADE80;
}

[data-theme="dark"] .feat-non::before {
  background: #252525;
  color: #555555;
}

/* Processus */
#processus {
  background: var(--fond);
}

.processus-wrapper {
  position: relative;
  padding-top: 24px;
}

.processus-ligne {
  position: absolute;
  top: 11px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--bordure);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
  pointer-events: none;
}

.processus-wrapper.visible .processus-ligne {
  transform: scaleX(1);
}

.processus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.processus-etape {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.processus-num-bg {
  font-family: var(--font-titre);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 0, 0, 0.10);
  margin-bottom: -12px;
  user-select: none;
}

[data-theme="dark"] .processus-num-bg {
  color: rgba(255, 255, 255, 0.06);
}

.processus-titre {
  font-family: var(--font-titre);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.processus-desc {
  font-size: 0.9375rem;
  color: var(--texte-doux);
  line-height: 1.7;
}

/* FAQ */
#faq {
  background: var(--fond-secondaire);
}

.faq-liste {
  max-width: 800px;
  border-top: 1px solid var(--bordure);
}

.faq-item {
  border-bottom: 1px solid var(--bordure);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-titre);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--texte);
  line-height: 1.4;
}

.faq-question::after {
  content: '+';
  font-family: var(--font-corps);
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--texte-doux);
  flex-shrink: 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.faq-item.open .faq-question::after {
  content: '−';
  color: var(--texte);
}

.faq-reponse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

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

.faq-reponse p {
  padding-bottom: 24px;
  font-size: 0.9375rem;
  color: var(--texte-doux);
  line-height: 1.75;
}

/* Comparateur */
#comparateur {
  background: var(--fond);
}

.comparateur-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparateur-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.comparateur-table th,
.comparateur-table td {
  padding: 16px 20px;
  font-size: 0.9375rem;
  line-height: 1.5;
  text-align: left;
  vertical-align: middle;
}

.comparateur-table thead th {
  font-family: var(--font-titre);
  font-size: 1.125rem;
  font-weight: 700;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bordure);
}

.comparateur-table tbody tr:nth-child(even) td {
  background: var(--fond-secondaire);
}

.comparateur-table .comp-critere {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--texte-doux);
  width: 25%;
}

.comparateur-table thead .comp-critere {
  border-bottom: none;
}

.comparateur-table .comp-shuren {
  background: var(--primaire);
  color: var(--fond);
  font-weight: 700;
  position: relative;
}

.comparateur-table thead .comp-shuren {
  border-radius: 8px 8px 0 0;
  font-size: 1.25rem;
}

.comparateur-table tbody tr:last-child .comp-shuren {
  border-radius: 0 0 8px 8px;
}

.comparateur-table tbody tr:nth-child(even) .comp-shuren {
  background: var(--primaire);
}

[data-theme="dark"] .comparateur-table .comp-shuren {
  background: #EFEFEF;
  color: #111111;
}

.comparateur-table .comp-agence,
.comparateur-table .comp-wix {
  color: var(--texte);
}

/* Mobile — breakpoint 767px */
@media (max-width: 767px) {
  :root {
    --section-padding: 60px 20px;
  }

  /* Nav */
  .nav-inner {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-mobile {
    display: block;
  }

  /* Hero */
  .hero-inner {
    gap: 24px;
  }

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

  .btn-plein,
  .btn-outline {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* À Propos */
  .apropos-contenu {
    font-size: 1rem;
  }

  .apropos-stats {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Réalisations */
  .realisations-grid {
    grid-template-columns: 1fr;
  }

  /* Processus */
  .processus-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .processus-ligne {
    display: none;
  }

  .processus-etape {
    padding: 28px 0 28px 24px;
    border-left: 1px solid var(--bordure);
  }

  .processus-num-bg {
    font-size: 3.5rem;
    margin-bottom: -8px;
  }

  /* FAQ */
  .faq-question {
    font-size: 0.9375rem;
    padding: 20px 0;
  }

  /* Comparateur */
  .comparateur-table .comp-agence {
    display: none;
  }

  .comparateur-table .comp-critere {
    width: 40%;
  }

  .comparateur-table th,
  .comparateur-table td {
    padding: 12px 14px;
    font-size: 0.8125rem;
  }

  /* Tarifs */
  .tarifs-grid {
    grid-template-columns: 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-intro {
    max-width: 100%;
  }

  /* Footer */
  .footer-inner {
    padding: 24px 20px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }

  /* Slider */
  .ba-slider {
    aspect-ratio: 4 / 3;
  }
}
